@font-face {
    font-family: opensan-regular;
    src: url('../fonts/OpenSans-Regular.ttf') format('truetype')
}

@font-face {
    font-family: opensan-bold;
    src: url('../fonts/OpenSans-Bold.ttf') format('truetype')
}

/*====== slider post ======*/
section.banner-post {
    padding-top: 25px;
    padding-bottom: 30px;
}

    section.banner-post .item {
        position: relative;
        transition: 0.4s;
        cursor: pointer;
    }

        section.banner-post .item:hover .bg-color {
            opacity: 0.7;
            transition: 0.4s;
        }

.banner-post-slide .owl-nav {
    /* display: none; */
}

.fp-inner {
    position: absolute;
    top: 50%;
    width: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

    .fp-inner .post-title {
        font-size: 34px;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
    }

    .fp-inner .post-meta {
        position: relative;
        z-index: 2;
        margin: 0;
        color: #fff;
        opacity: 0.85;
        font-size: 13px;
    }

section.banner-post .bg-color {
    background: #000;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9;
    opacity: 0.3;
    transition: 0.4s;
}

section.banner-post .item:hover .bg-color {
    opacity: 0.8;
}

span.icon-angle {
    margin: 0 4px;
    padding: 8px 18px;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    color: #fff;
    display: inline-block;
    position: absolute;
    top: 16px;
    opacity: 0;
    transition: 0.4s;
    cursor: pointer;
}

    span.icon-angle:hover {
        background: rgba(255,255,255,0.8);
        color: #010101;
    }

    span.icon-angle i {
        font-size: 28px;
        font-weight: bold;
    }

    span.icon-angle.ag-lf {
        right: 75px;
    }

    span.icon-angle.ag-rg {
        right: 20px;
    }

.banner-post-slide:hover .icon-angle {
    opacity: 1;
    transition: 0.4s;
}

/*============== Main home wrapper ==============*/
.has-sidebar {
   
}

.posts-wrapper {
    position: relative;
}

.box-header.has-title .btn-group {
    margin: 35px 0 0;
}

.box-header {
    position: relative;
    z-index: 1;
    margin: 0 0 35px;
}

    .box-header.has-title:after {
        position: absolute;
        z-index: 0;
        top: 13px;
        left: 0;
        width: 100%;
        height: 5px;
        background-color: rgb(245,245,245);
        content: " ";
    }

    .box-header .title {
        display: inline-block;
        position: relative;
        z-index: 1;
        margin: 0;
        padding-right: 20px;
        text-transform: uppercase;
        font-size: 26px;
        font-weight: bold;
        background-color: #fff;
    }

.post-summary .post-image > a img {
    width: 100%;
    height: auto;
    opacity: 1;
    -webkit-transform: scale3d(1,1,1);
    -moz-transform: scale3d(1,1,1);
    -ms-transform: scale3d(1,1,1);
    -o-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.post-summary .post-meta.no-sep {
    padding-top: 0;
    min-height: 18px;
}

.post-summary .post-meta {
    position: relative;
    z-index: 1;
    margin: 0 0 15px;
    padding: 15px 0 0;
    min-height: 33px;
    list-style: none;
    font-size: 12px;
    color: #bdbdbd;
}

    .post-summary .post-meta li:last-child {
        margin-right: 0;
    }

    .post-summary .post-meta li {
        display: block;
        float: left;
        margin-right: 10px;
    }

    .post-summary .post-meta .fa {
        margin-right: 5px;
    }

.post-summary .post-excerpt {
    margin: 0 0 15px;
    line-height: 1.65;
    color: #919191;
    font-size: 0.95em;
}

.psum-horizontal .post-image {
    float: left;
    width: 40%;
}

.post-summary .post-image {
    display: block;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    text-align: center;
}

    .post-summary .post-image > a {
        display: block;
        position: relative;
        z-index: 1;
        overflow: hidden;
        background: #010101;
    }

.psum-horizontal .post-details {
    float: left;
    width: 60%;
    padding-left: 15px;
}

a {
    color: #000000;
}

.post-title a {
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.post-details .post-excerpt {
    font-size: 14px;
    line-height: 1.65;
    margin-top: 10px;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.box-header .btn-group {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    min-height: 32px;
    border-color: #010101;
}

.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.box-header .btn-group .btn.active {
    font-weight: bold;
    background: #000;
}

.box-header .btn-group-items-3 .btn {
    width: 33.333333%;
}

.box-header .btn-group .btn {
    margin: 0;
    padding: 4px 11px;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: -0.6px;
    font-size: 12px;
    height: 27px;
    outline: unset !important;
    background: #fff;
    box-shadow: unset;
}

    .box-header .btn-group .btn:hover {
        background: #000;
        color: #fff;
    }

.btn-group-vertical > .btn, .btn-group > .btn {
    position: relative;
    float: left;
    border: 1px solid;
}

.box-header.has-tabs .btn-group {
    overflow: hidden;
}

.post-summary {
    margin-bottom: 25px;
}

.psum-horizontal .post-image {
    float: left;
    width: 40%;
}

.post-summary .post-image {
    display: block;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    text-align: center;
}

.btn.active, .btn:hover, .nav > li:hover > a, .nav > .current-menu-item > a, .nav > .menu-item-hover > a {
    border-color: #010101;
    background-color: #010101;
    color: #fff;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

    .btn.active, .btn:hover, .nav > li:hover > a, .nav > .current-menu-item > a, .nav > .menu-item-hover > a {
        border-color: #010101;
        background-color: #010101;
        color: #fff;
    }

.box-header .btn-group .btn-toggle {
    display: none;
}

.posts-box-1 .psum-small .post-image,
.posts-box-1 .psum-small .post-title,
.posts-box-1 .psum-small .post-excerpt,
.posts-box-1 .psum-small .post-meta {
    margin-bottom: 9px;
}

.mas-post {
    position: relative;
    /* padding: 0 15px; */
}

    .mas-post .owl-nav span {
        margin: 0 3px;
        padding: 2px 9px;
        border: 1px solid #010101;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        background: #fff;
        color: #010101;
        cursor: pointer;
    }

    .mas-post .owl-nav div {
        display: inline-block;
        padding-top: 100px;
        padding-bottom: 50px;
    }

.posts-box-5 .post-summary {
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 20px;
}

.posts-box-2 .psum-horizontal .post-details {
    padding-left: 30px;
}

.update_post {
    padding-bottom: 35px;
}

.owl-nav button {
    border: unset;
    background: unset;
    padding: 0;
    outline: unset;
}

.gallery-icon.portrait img {
    width: 100%;
    object-fit: cover;
    height: 107px;
}

.gallery-icon.portrait .caption-overlay {
    /* display: none; */
    position: absolute;
    z-index: 999999;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 13px 11px;
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -ms-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
}

.ft-w {
    font-weight: 700 !important;
}

.gallery-icon.portrait:hover .caption-overlay {
    opacity: 1;
}

button.btn.btn-default:nth-child(2), button.btn.btn-default:nth-child(3) {
    border-left: unset;
}

.posts-box.posts-box-3 .post-summary .post-title {
    text-align: left;
}

/*============= Sidebar home ================*/
.sidebar-widget {
    margin-bottom: 40px;
}

.search-form .barcelona-sc-close {
    display: none;
}

div#search-3 .input-group-addon {
    display: none;
}

div#search-3 .input-group-addon {
    display: none;
}

div#search-3 input.form-control {
    height: 40px;
    border-color: #010101 !important;
    border: 1px solid !important;
}

div#search-3 .input-group-btn button {
    height: 40px;
    border: 1px solid;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
}

div#barcelona-slider-posts-2 .posts-box-carousel .item {
    position: relative;
}

    div#barcelona-slider-posts-2 .posts-box-carousel .item:hover ul.nav-dir .owl-nav .owl-prev, div#barcelona-slider-posts-2 .posts-box-carousel .item:hover ul.nav-dir .owl-nav .owl-next {
        opacity: 1 !important;
        visibility: visible;
    }

.item:hover ul.nav-dir .owl-nav .owl-prev {
}

div#barcelona-slider-posts-2 .posts-box-carousel .item .item-overlay {
    /* position: absolute; */
    /* top: 0; */
}

.owl-dots button {
    border: unset;
    background: unset;
}

    .owl-dots button span {
        margin: 0 !important;
    }

.sidebar-widget .textwidget img {
    margin: 10px 0;
    max-width: 100%;
    height: auto;
}

.inner {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 15px;
    opacity: 0;
    transition: 0.4s;
}

div#barcelona-slider-posts-2 .posts-box-carousel .item:hover .inner {
    opacity: 1;
    transition: 0.4s;
}

div#barcelona-slider-posts-2 .posts-box-carousel .item:hover.inner {
}

.posts-box-carousel .post-summary {
    float: left;
    width: 85%;
    margin-bottom: 0;
    padding: 20px 20px 15px;
    white-space: initial;
    background-color: #fff;
}

.label-default {
    padding: 5px 15px;
    border-radius: 0;
    font-size: 12px;
    background-color: #d5d5d5;
    color: #fff;
}

.posts-box-carousel .post-summary .post-cat {
    margin-bottom: 15px;
    text-transform: uppercase;
}

.item-overlay.clearfix .post-title {
    text-align: left;
}

.item-overlay.clearfix .post-cat {
    text-align: left;
}

.posts-box-carousel {
    position: relative;
}

    .posts-box-carousel:hover .owl-nav button {
        opacity: 1;
        transition: 0.4s;
    }

    .posts-box-carousel .owl-nav div {
        width: 45px;
        height: 45px;
        line-height: 42px;
        opacity: 0 !important;
        transition: 0.4s;
        /* visibility: hidden; */
    }

        .posts-box-carousel .owl-nav div i {
            font-size: 22px;
        }

    .posts-box-carousel .owl-nav .owl-next {
        right: 15px !important;
        position: absolute;
        bottom: 207px;
        background: #000;
        border-radius: unset;
        /* z-index: -1; */
        width: 45px;
        height: 45px;
        opacity: 0;
        transition: 0.4s;
    }

    .posts-box-carousel .owl-nav .owl-prev {
        right: 15px !important;
        position: absolute;
        bottom: 162px;
        background: #fff;
        border-radius: unset;
        /* z-index: -1; */
        width: 45px;
        height: 45px;
        opacity: 0;
        transition: 0.4s;
    }

        .posts-box-carousel .owl-nav .owl-prev i {
            color: #000;
        }

    .posts-box-carousel .owl-nav div {
        display: block;
    }

.barcelona-widget-social-media-icons {
    padding-top: 10px;
}

    .barcelona-widget-social-media-icons .social-icons {
        padding: 0;
        list-style: none;
        text-align: center;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

        .barcelona-widget-social-media-icons .social-icons li {
            margin: 0 4px 8px 0;
            display: inline-block;
        }

            .barcelona-widget-social-media-icons .social-icons li a {
                display: block;
                width: 36px;
                height: 36px;
                line-height: 36px;
                border: 1px solid #010101;
                text-align: center;
                font-size: 16px;
                background-color: #fff;
                color: #010101;
            }

.gallery:not(.boxer-caption) {
    margin: 40px -3px 50px;
}

.gallery-columns-3 .gallery-item {
    width: 33.33333%;
}

.gallery-item {
    float: left;
    padding: 3px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.gallery-icon a img {
    width: 100%;
    height: auto;
    opacity: 1;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

figure {
    margin: 0;
}

.sidebar-widget .widget-title {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    line-height: 33px;
}

    .sidebar-widget .widget-title .title {
        display: inline-block;
        position: relative;
        z-index: 1;
        margin: 0;
        padding-right: 15px;
        font-size: 18px;
        letter-spacing: -0.4px;
        text-transform: uppercase;
        font-weight: bold;
        background-color: #fff;
    }

    .sidebar-widget .widget-title:after {
        position: absolute;
        z-index: 0;
        top: 13px;
        left: 0;
        width: 100%;
        height: 5px;
        background-color: rgb(245,245,245);
        content: " ";
    }

#sidebar .posts-box {
    margin-bottom: 15px;
}

.psum-small .post-image, .psum-small .post-title, .psum-small .post-excerpt, .psum-small .post-meta {
    margin-bottom: 15px;
}

ul.nav-dir .owl-nav .owl-next {
    position: absolute;
    bottom: 173px;
    z-index: 999;
}

ul.nav-dir .owl-nav .owl-prev {
    position: absolute;
    bottom: 128px;
    z-index: 999;
}

a.fancybox.hv-img {
    display: block;
}

.sidebar-sticky {
    position: sticky;
    top: 70px;
}

/*=========== footer =========*/
@media only screen and (min-width: 1200px) {
    .search-form-full .search-form {
        width: 45%;
    }
}
