/*------------------------------------------
    #MARK: AJAX
------------------------------------------*/
/* #region */

.tax-buttons ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* #endregion */

/* --------------------------------------------------------
    MARK: A::AXF
-------------------------------------------------------- */

/* #region */

.axf { 
    width: 100%; 
}

.axf-btn { 
    text-align: center;
    flex: 0 0 100%;
    max-width: 100%;    
    margin-top: 40px; 
}

.axf .post-count {
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.axf .post-count.n-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    padding: 0 15px;
}

.axf .post-count.n-item::after {
    content: '';
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

/* #endregion */

/* --------------------------------------------------------
    MARK: A::AXF SELECTS
-------------------------------------------------------- */

/* #region */

.axf .filter-row .flex-1,
.axf .custom-select__trigger {
    height: 100%;
}

.axf .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.in-form60 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    height: 100;
    line-height: 60px;
    border: 2px solid #394a6d;
    width: 100%;
    font-size: 15px;
    font-weight: 300;
}


@media only screen and (max-width : 992px) {
   
    .axf .filter-row .flex-1 { 
        flex: 0 0 100% 
    }

    .tax-select .custom-select__trigger,
    .tax-links .custom-select__trigger,
    .filter-row .custom-select__trigger {
        line-height: unset;
        height: unset;
        padding: 10px;
    }

    .in-form60 {
        padding: 10px;
        line-height: unset;
    }

}
/* #endregion */

/* --------------------------------------------------------
    MARK: A::FILTER
-------------------------------------------------------- */

.axf .filter-results {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
}

.axf .filter-results div {
    display: block;
    position: relative;
}

.axf .filter-results div {
    padding: 7px 15px;
    padding-right: 30px;
    background-color: rgba(0,0,0,0.3);
    font-size: 14px;
    border-radius: 5px;
    color: white;
}

.axf .filter-results div::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 7px;
    content: "\d7";
    color: white;
    font-size: 22px;
    cursor: pointer;
}

/* #region */


/* #endregion */

/* --------------------------------------------------------
    MARK: A::PAGINATION
-------------------------------------------------------- */

/* #region */

.axf-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;    
}

.axf-pagination {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 30px;
    padding-top: 20px;
}

.axf-pagination a, 
.axf-pagination .moreof {
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.axf-pagination a, 
.axf-pagination .moreof {
    min-width: 32px !important;
    height: 34px !important;  
    padding: 0 10px;
    background: #FFF;
    line-height: 120%;
    border: 1px solid #E7E7E7;
    color: #333;
    font-size: 14px;
}

.axf-pagination .moreof {
    padding: 0;
    letter-spacing: 1px;
    color: #ccc;
    margin-top: 1px;
}

.axf-pagination a.selected,
.axf-pagination a:hover {
    background-color: rgba(0,0,0,0.8);
    color: white;
}

.axf-pagination a[data-f] {
    padding: 0;
}

.axf-pagination a img {
    object-fit: cover;
    width: 70%;
    height: 70%;
}

.axf-pagination a:hover img {
    filter: brightness(0) invert(1);
}

.axf-pagination a[data-ff] img {
    transform: rotate(180deg);
}

/* #endregion */


/* --------------------------------------------------------
    MARK: A::ISOTOPE
-------------------------------------------------------- */

/* #region */

#portfolio-container {
    width: 100%;
}

.iso-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    position: relative;
}

.iso-select { 
    display: none; 
    max-width: calc(100% - 30px); 
    margin: 0 auto 30px;
}

.tax-loading {
    position: absolute;
    left: 0;
}

.portfolio-loading {
    text-align: center;
    margin: 20px 0;
}


@media only screen and (max-width : 992px) {
    .iso-select { display: block; }
    .iso-buttons { display: none; }
}

/* #endregion */

/*------------------------------------------
    #MARK: ACCORDION 
------------------------------------------*/
/* #region */

.d-accordion { 
    margin-top: 20px; 
    display: flex;
    flex-direction: column;
    gap: 20px;    
}

.d-accordion .ihead {
    gap: 20px;
    transition: 0.3s;
    cursor: pointer;
}

.d-accordion .itext {
    margin-top: 0;
}

.d-accordion .ihead .off { display: none; }
.d-accordion .ihead.collapsed .off {  display: block; }

.d-accordion .ihead .on { display: block; }
.d-accordion .ihead.collapsed .on {  display: none; }


/* #endregion */



/*------------------------------------------
    #MARK: CARDS CC
------------------------------------------*/
/* #region */

.card-cc {
    min-height: 300px;
}

.card-cc .overlay, 
.card-cc .dfront, 
.card-cc .dback, 
.card-cc .dinfo,
.card-cc .dmedia {
    transition: 0.5s;
}

.card-cc .dinfo {
    opacity: 0;
    width: 100%;
}

.card-cc .dfront {
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    position: absolute;
}

.card-cc .d-link .dmedia { 
    height: 100%; 
    position: absolute;
}

.card-cc .d-link .dinfo {
    opacity: 0;
}

.card-cc .d-link:not(.active):hover .dinfo {
    opacity: 1;
}

.card-cc .d-link:not(.active):hover .d-media,
.card-cc .d-link:not(.active):hover .color {
    opacity: 0;
} 

.card-cc .active .d-media,
.card-cc .active .overlay.color {
    opacity: 0;
}

.card-cc .active .dinfo {
    opacity: 1;
}

.card-cc .active:hover .d-media,
.card-cc .active:hover .color {
    opacity: 1 !important;
}

.card-cc .active:hover .dinfo {
    opacity: 0 !important;
}

.card-cc .d-link { 
    height: 100%; 
    position: relative; 
    overflow: hidden; 
}

.card-cc .d-link { 
    display: flex;
    align-items: center;
}

/* #endregion */



/* --------------------------------------------------------
    MARK: LAZY LOAD
-------------------------------------------------------- */

/* #region */

.page img.lazy { opacity: 0; }
.page img.loaded { opacity: 1; }

/* #endregion */

/*------------------------------------------
    #MARK: OWL
------------------------------------------*/
/* #region */

.slider-bg {
    position: relative;
}

.slider-bga {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
}

.slider-bga .owl-carousel .owl-stage-outer,
.slider-bga .owl-carousel .owl-stage,
.slider-bga .owl-carousel .owl-item {
    height: 100%;
}

.slide-info .item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.slider-bga .owl-carousel {
    height: 100%;
}

.slider-bg .dmedia {
    margin-bottom: 20px;
}

.owl-glyph .item {
    text-align: center;
}

.is-thumb {
    height: 80px;
}

.is-thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.owl-carousel.owl-rtl .dinfo {
    direction: ltr;
}


@media only screen and (max-width : 992px) {

    .slider-bg { 
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

}
/* #endregion */

/*------------------------------------------
    #MARK: ::O.LOADER
------------------------------------------*/
/* #region */  

.owl-carousel:not(.owl-loaded) > :not(:first-child) {
    display: none;
}

.owl-carousel {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.owl-carousel.owl-loaded {
    opacity: 1;
}

/* #endregion */

/*------------------------------------------
    #MARK: ::O.BUTTONS
------------------------------------------*/
/* #region */

.owl-nav, .owlbtn { 
    background-color: transparent; 
    border: none; 
    padding: 0; 
    top: 50%; 
    position: absolute; 
    z-index: 2;
}

.owlbtn {
    width: 40px;
    height: 40px;
    background-color: transparent;
}

.owlbtn { 
    transform: translateY(-50%); 
}

.owlbtn.btn-round {
    border: 1px solid rgba(210, 210, 210, 0.2);
    border-radius: 100%;
    overflow: hidden;
}

.owlbtn img {
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.owlbtn img {
    filter: brightness(0) saturate(100%) invert(70%) sepia(16%) saturate(1321%) hue-rotate(179deg) brightness(91%) contrast(97%);
}

.owlnext img { 
    transform: translateX(-50%) translateY(-50%) rotate(180deg); 
}

.owlprev { left: 20px; }
.owlnext { right: 20px; }

.nav--out .owlprev { left: -60px; }
.nav--out .owlnext { right: -60px; }

@media only screen and (max-width : 1260px) {
    .nav--out .owlprev { left: 0px; }
    .nav--out .owlnext { right: 0px; }
}

[data-width="max"] .owlprev {
    left: 0;
}

[data-width="max"] .owlnext {
    right: 0;
}

/* #endregion */

/*------------------------------------------
    #MARK: ::O.DOTS
------------------------------------------*/
/* #region */

.custom-dots,
.owl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 3;
    margin-top: 30px;
}

.owl-carousel button.owl-dot {
    height: 10px;
    width: 10px;
    display: inline-block;
    border-radius: 100%;
    background-color: var(--dots);
}

.owl-carousel button.owl-dot {
    opacity: 0.5;
}

.owl-carousel button.owl-dot.active {
    opacity: 1;
}

.slider-bga .custom-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.custom-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #77AAE4;
    cursor: pointer;
    opacity: 0.5;
}

.custom-dots .dot.active {
    opacity: 1;
}

/* #endregion */

/*------------------------------------------
    #MARK: ::O.THUMB
------------------------------------------*/
/* #region */

.owl-thumb {
    width: 100%;
    z-index: 1;
    bottom: 0px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.1);
    position: relative;
}

.owl-thumb .current.active .item-thumb {
   opacity: 1;
}

.owl-thumb .div-glyph img {
    object-fit: cover;
}

.is-activated .current.active .overlay.color {
    background-color: #77AAE4;
    opacity: 0.5;
}

/* #endregion */

/*------------------------------------------
    #MARK: ::O.MOBILE
------------------------------------------*/
/* #region */

@media only screen and (max-width : 767px) {

    .slider-bga .owlbtn { 
        top: unset;
        bottom: 0; 
    }

    .slider-bga .owlprev {
        left: unset;
        right: calc(60px + 10px);
    }

    .slider-bga .custom-dots {
        left: 20px;
        transform: none;
    }

    .tpl-owlmedia .custom-dots {
        justify-content: flex-start;
    }

    .tpl-owlmedia .owlbtn {
        top: unset;
        bottom: -30px;
        z-index: 3;         
    }

    .tpl-owlmedia .owlprev {
        left: unset;
        right: calc(40px + 10px);
    }


}  

/* #endregion */

/*------------------------------------------
    #MARK: POPUP TEAM
------------------------------------------*/
/* #region */

.team-popup .container {
    max-width: 900px;
}

.team-popup .pad {
    padding: 20px 0;
}

.team-popup .flexic {
    gap: 40px;
}

.team-popup .flex-col1 {
    flex: 0 0 35%;
}

.team-popup .flex-col2 {
    flex: 1;
}

/* #endregion */

/* --------------------------------------------------------
    MARK: SELECT
-------------------------------------------------------- */

/* #region */

.custom-select-wrapper {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: relative;
    z-index: 3;
}

.custom-select-wrapper.activated {
    opacity: 1;
    visibility: visible;
}

.custom-select-wrapper .custom-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

@media only screen and (max-width : 992px) {

    .custom-select-wrapper.mini .custom-select__trigger {
        height: unset;
        line-height: unset;
        padding: 10px;
    }

}

/* #endregion */


/* --------------------------------------------------------
    MARK: SIMPLE MAP
-------------------------------------------------------- */

/* #region */
.pop-map {
    padding: 5px;
}
.pop-map .d-img {
    width: auto;
    height: 30px;
    margin-bottom: 10px;
}
.pop-map .maptitle {
    display: block;
}

.map-popup .container-md {
    max-width: 740px;
}

.map-popup .logo {
    margin-bottom: 20px;
}
.map-popup .logo img {
    height: 40px;
    width: auto;
}

@media only screen and (max-width : 992px) {
    .map-popup { 
        min-width: unset !important; 
        width: 100%;
    }
}


/* #endregion */


