/**
Theme Name: BBX Capital
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra Child Theme for BBX Capital website
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bbx-capital
Template: astra
*/

#content .ast-container {
    padding-left: 0;
    padding-right: 0;
}

#ast-desktop-header .site-above-header-wrap, #ast-desktop-header .site-primary-header-wrap {
    max-width: 1440px;
}

#colophon .ast-builder-grid-row-4-lheavy .ast-builder-grid-row {
    grid-template-columns: 50% 0.1fr 20% 120px;
}

.bio-top {
    padding-left: 20px;
    border-left: 1px solid #999;
}
.uael-modal .uael-modal-text h2 {
    text-transform: uppercase;
    font-family: "Gotham";
    font-weight: 900;
    font-style: italic;
    color: #3B4982;
    margin-bottom: 10px;
}
.uael-modal .uael-modal-text h6 {
    text-transform: uppercase;
    font-family: "Gotham";
    font-weight: 900;
    font-size: 15px;
    margin-bottom: -9px;
}

.elementor-kit-1954 #content h2 a {
    font-family: "Gotham";
    font-weight: 900;
    font-style: italic;
}
.elementor-kit-1954 #content .current-news-loop h3 a {
    font-family: "Gotham";
    font-weight: 300;
}
@media (max-width: 921px) {

    #colophon .ast-builder-grid-row-4-lheavy .ast-builder-grid-row {
        grid-template-columns: repeat( 2,1fr );
    }
}

@media (max-width: 544px) {

    #colophon .ast-builder-grid-row-4-lheavy .ast-builder-grid-row {
        grid-template-columns: 1fr;
    }
}

#property-photos .swiper {
    opacity: 0;
}
#property-photos .swiper.swiper-initialized {
    opacity: 1;
}
#property_gallery .swiper-wrapper {
    max-height: 27vw;
}
@media (max-width: 1024px) {
    #property_gallery .swiper-wrapper {
        max-height: 40vw;
    }
}
@media (max-width: 500px) {
    #property_gallery .swiper-wrapper {
        max-height: 85vw;
    }
}

.popupSection_triggerPopup {
    cursor: pointer;
}

.popupSection.popupSection.popupSection.popupSection {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99144;
    opacity: 0;
    transition: opacity 0.3s linear;
}

.popupSection > .e-con-inner > .e-con {
    max-height: 84vh;
    overflow-y: auto;
    /* enable scrolling if content doesn't fit in 84vh */
}

.popupSection_arrowNav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 4%;
    cursor: pointer;
    z-index: 99999;
    display: none;
    animation: fadeElemIn 0.6s forwards ease 0.3s;
    opacity: 0;
}

.popupSection_arrowNav.popupSection_rightArrow {
    left: initial;
    right: 4%;
}

.popupSection_arrowNav svg {
    z-index: 99999;
    width: 46px;
    /* width of the navigation arrows */
    fill: #BEBEBE;
    /* color of the arrows */
}

/* hide the navigation arows for viewports below 1230px */
@media (max-width: 1230px) {
    .popupSection_arrowNav svg {
        display: none;
    }
}

.popupSectionWrapper .swiper, .popupSectionWrapper .swiper-container, .popupSectionWrapper .swiper-wrapper {
    z-index: initial;
}

/* styles for the close popup button, adjust as you wish */
.popupSection_closePopup {
    position: fixed;
    left: 50%;
    top: 32px;
    width: 52px;
    height: 52px;
    z-index: 99999;
    cursor: pointer;
    display: none;
    animation: fadeElemIn 0.6s forwards ease 0.3s;
    opacity: 0;
    transform: translateX(490px);
    background-image: url('../../uploads/2023/09/modal-close.png');
    background-size: cover;
}

.popupSection_closePopup:hover {
    opacity: 1;
}
@media (max-width: 1085px) {
    .popupSection_closePopup {
        left: 100%;
        transform: translateX(-52px);
    }
}
@media (max-width: 768px) {
.popupSection .elementor-element-1a23977 {
    --flex-direction: row!important;
}
}

/* styles for the X in the close popup button, adjust as you wish 
.popupSection_closePopup:before, .popupSection_closePopup:after {
    position: absolute;
    left: 15px;
    top: 7px;
    content: ' ';
    height: 18px;
    width: 2px;
    background-color: #444;
}

.popupSection_closePopup:before {
    transform: rotate(45deg);
}

.popupSection_closePopup:after {
    transform: rotate(-45deg);
}*/

/* keyframes to fade in the arrows and close popup button */
@keyframes fadeElemIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}