/*
    =================================================
                    LARGE SCREENS
    =================================================
*/
@media screen and (min-width: 4000px) {}


/*
    =================================================
                        DESKTOP
    =================================================
*/

@media screen and (min-width: 993px) {
    body:not(.fl-builder-edit) .anchorlink-row,
    body:not(.fl-builder-edit) .anchorlink-row .fl-row-content-wrap {
        max-height: 67px;
    }
}

@media only screen and (max-width: 1200px) {
    #main-menu, .top-bar-nav {
        padding-left: 26px;
        padding-right: 26px;
    }
}

/*
    =================================================
                SMALL DESKTOP SCREEN
    =================================================
*/

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

    h1, .h1, .h1 p, .h1 .fl-heading {
        font-size: 50px;
        font-size: 2.6316rem;
        line-height: 50px;
        line-height: 2.6316rem;
    }

    .large, p.large, p .large, .large p,
    .large ol, ol.large, .large ul, ul.large {
        font-size: 20px;
        font-size: 1.0526rem;
        line-height: 29px;
        line-height: 1.5263rem;
    }

}



/*
    =================================================
                        TABLET
    =================================================
*/
@media only screen and (max-width: 992px) {


    /*
        ========================
                SPACING
        ========================
    */

    .fl-row:not(.nopadding) .fl-row-content-wrap {
        padding-left: 26px;
        padding-right: 26px;
    }

    .fl-row[data-node] .fl-row-content-wrap {
       padding-left: 26px;
        padding-right: 26px;
    }


    /**************/
    /* TYPOGRAPHY */
    /**************/

    h1, .h1, .h1 p, .h1 .fl-heading {
        font-size: 32px;
        font-size: 1.68rem;
        line-height: 40px;
        line-height: 2.11rem;
    }

    h2, .h2, .h2 p, .h2 .fl-heading {
        font-size: 30px;
        font-size: 1.5789rem;
        line-height: 38px;
        line-height: 2rem;
    }

    h3, .h3, .h3 p, .h3 .fl-heading {
        font-size: 26px;
        font-size: 1.3684rem;
        line-height: 34px;
        line-height: 1.7895rem;
    }

    h4, .h4, .h4 p, .h4 .fl-heading {
        font-size: 22px;
        font-size: 1.1579rem;
        line-height: 29px;
        line-height: 1.5263rem;
    }

    .large, p.large, p .large, .large p,
    .large ol, ol.large, .large ul, ul.large {
        font-size: 19px;
        font-size: 1rem;
        line-height: 28px;
        line-height: 1.4737rem;
    }

    blockquote p {
        font-size: 24px;
        font-size: 1.2632rem;
        line-height: 34px;
        line-height: 1.7895rem;
    }

    .maxwidth500 h2 {
        max-width: 300px;
    }

    .fl-accordion-content p,
    .fl-accordion-item table,
    .fl-accordion-item li {
        font-size: 16px;
        font-size: 0.8421rem;
        line-height: 23px;
        line-height: 1.2105rem;
    }

    .fl-module-numbers .fl-number .fl-number-text .fl-number-string,
    .fl-module-numbers .fl-number .fl-number-text .fl-number-string span {
        font-size: 46px;
        font-size: 2.4211rem;
        line-height: 54px;
        line-height: 2.8421rem;
    }

    .h1-small .fl-heading {
        font-size: 19px;
        font-size: 1rem;
        line-height: 28px;
        line-height: 1.4737rem;
    }




    /*
        =================================================
                          ITEM STYLING
        =================================================
    */

    /*
        ========================
                  HERO
        ========================
    */
    .hero1 .menu_circles {
        margin: 0 0 0 51px;
    }

    .btn-scroll {
        /* display: none; */
    }


    /*****************/
    /******video******/
    /*****************/
    .full-width .uabb-video .uabb-video__outer-wrap {
        padding-bottom: 360px;
        border-radius: 6px;
    }
    .uabb-video__play-icon{
        width:50px!important;
        height:50px!important;
    }
    .uabb-video__play-icon:before {
        font-size: 21px!important;
        line-height: 54px!important;
    }
    .conner .uabb-video__play-icon {
        left: 36px;
        bottom: -12px;
        top: unset!important;
        position: absolute;
    }
    .half-width .uabb-video .uabb-video__outer-wrap {
        padding-bottom: 360px;
    }
    .immersive-row.fl-row:not(.nopadding) .fl-row-content-wrap{
        padding-left:0;
        padding-right:0;
    }
    .immersive-row .uabb-video__outer-wrap{
        padding-bottom:480px;
    }
    .fl-builder-content .video-row .fl-accordion-content{
        padding-left: 34px;
    }
    .video-row .fl-accordion-item{
        margin-bottom:0;
    }
    .immersive-text{
        padding-left: 35px;
        padding-right: 35px;
    }
    /*****dual image*****/
    .fl-post .sub-image img[class*="wp-image-"] {
        height: 360px!important;
        width: auto;
        object-fit: cover;
        border-radius: 6px;
    }
    .sub-image{
        position:absolute;
        bottom:-60px;
    }


    .photo-overlap {
        width: calc(100% - 100px);
    }
    
    .stats .fl-number .fl-number-text .fl-number-string,
    .stats .fl-number .fl-number-text .fl-number-string span {
        font-size: 2.2222rem;
    }

    .background-shape-resp .fl-builder-bottom-edge-layer > * {
        height: 70%;
    }

    .background-shape-resp .fl-row-content-wrap {
        background-position: center top;
        background-size: 100%;
    }

    .fl-module-photo-gallery.partners .uabb-photo-gallery-content {
        height: 17vw;
    }

    .fl-builder-content .centered .fl-accordion-button .fl-accordion-button-icon {
        padding-right: 62px;
    }

    .stats, p.stats, p .stats, .stats p {
        font-size: 2rem;
    }




    /*
        =================================================
                          SHORTCODES
        =================================================
    */
    .tablet-columnreverse .fl-col-group {display: flex;flex-direction: column-reverse;}




    .nav-collapsible {
        display: flex;
        justify-content: center;
    }
    
    .nav-collapsible button {
        padding: 0;
        background: none;
        border: 0;
        position: relative;
    }
    
    .nav-collapsible button p {
        color: var(--black);
        font-weight: 700;
        margin: 0;
    }

    body:not(.fl-builder-edit) .anchorlinks.text-collapsible.collapsed {
        height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
    }

    .nav-collapsible button:before {
        content: "\f078";
        display: inline-block;
        font-family: "Font Awesome 5 Pro";
        position: absolute;
        right: -26px;
        transition: all .25s ease;
        padding-bottom: 0px;
        transform: rotate(180deg);
        margin-top: 7px;
        font-weight: 600;
        color: var(--black);
    }
    body:not(.fl-builder-edit) .anchorlink-row {
        /* box-shadow:0px 0px 10px rgba(0,0,0,0.2) */
    }

    .nav-collapsible button[aria-expanded="true"] {
        z-index:2;
    }
    
    .nav-collapsible button[aria-expanded="false"]:before {
        transform:rotate(0deg);
    }

}



/*
    =================================================
                        MOBILE
    =================================================
*/
@media only screen and (max-width: 768px) {

    /*
        ========================
                SPACING
        ========================
    */

    .fl-row:not(.nopadding) .fl-row-content-wrap {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* body:not(.admin-bar) main {margin-top:62px} */

    p {
        margin: 0 0 14px;
    }

    /*
        ========================
                 ASSETS
        ========================
    */

    /*============
        BUTTONS
    =============*/

    .fl-module-button:not(.arrowlink, .btn-scroll, .btn-nav) a.fl-button,
    div.wpforms-container-full button.wpforms-submit.btn-round {
        padding: 13px 45px 13px 25px;
    }

    .fl-module-button a.fl-button,
    .fl-module-button-group a.fl-button,
    a.arrowlink,
    div.wpforms-container-full button.wpforms-submit.btn-round {
        font-size: 16px;
    }

    .fl-module-button-group.arrowlink .fl-button-group-buttons {
        flex-direction: column;
        justify-content: flex-start;
    }

    .fl-builder-content .arrowlink .fl-button-group .fl-button-group-buttons .fl-button-group-button:not(:last-of-type) {
        padding-bottom: 16px;
    }

    .fl-module-button-group.arrowlink .fl-button-group-button:not(:first-of-type) {
        transform: translateX(0px);
    }

    /* secondary nav */
    .fl-module-button-group.anchorlinks .fl-button-group-buttons {
        flex-direction: column;
        align-items: center;
                padding: 20px;
    }

    .fl-module-button-group.anchorlinks .fl-button-group-buttons .fl-button-wrap {
        /* margin-bottom: 16px; */
    }

    .fl-module-button.btn-nav a.fl-button {
        padding: 8px 20px 8px 66px;
        text-align: left;
    }

    .fl-module-button.btn-nav a.fl-button:hover::after,
    .fl-module-button-group.btn-nav a.fl-button:hover::after {
        transform: translate(18px, -3.6px);
    }




    /*============
        IMAGES
    =============*/
    .fl-post .mediumheight img {
        height: auto;
        max-height: 64vw;
        object-fit: cover;
        object-position: center bottom;
    }




    /*
        =================================================
                          ITEM STYLING
        =================================================
    */


    /*
        ========================
                  HERO
        ========================
    */
    /* .hero1 .menu_circles { position:absolute;} */

    body:not(.fl-builder-edit) .hero_illustration {
        max-height: 200px;
        height:100%;
    }


    body:not(.fl-builder-edit) .hero1 .img-frame {
        width: 150vw;
        bottom: 10%;
        top: auto;
    }
    
    .hero1 .menu_circles {
        bottom: 33.6%;
        left: -31px;
        width: 66.7vw;
        height: 66.7vw;
    }

    .hero1 .menu_circles {
        margin: 0;
        clip-path: polygon(53% 52%, 100% 52%, 100% 100%, 53% 100%);
    }




    .hero-icon img {
        margin-right: 16px;
        width: 50px;
        height: 50px;
    }




    /*
        ========================
              COLLAPSIBLE
        ========================
    */
    .btn-collapsible .fl-html {
        right: 19px;
    }

    .fl-col-group:first-child .btn-collapsible .fl-html {
        top: 78px;
    }

    .btn-collapsible .fl-html button {
        width: 17px;
        height: 17px;
    }




    /*
        ========================
                  QUOTES
        ========================
    */
    .yellow blockquote p::before {
        width: 29.37px;
        height: 21.09px;
        left: -44px;
    }


    

    /*
        ========================
                COUNTER
        ========================
    */

    .counter-row .fl-col-group:last-of-type {
        flex-direction: column;
        max-width: fit-content;
    }

    .stats, p.stats, p .stats, .stats p {
        font-size: 2.2222rem;
    }




    /*
        ========================
                  FAQ
        ========================
    */

    .fl-builder-content .fl-accordion-button .fl-accordion-button-label {
        font-size: 18px;
        line-height: 24px;
    }

    .fl-builder-content .fl-accordion-button .fl-accordion-button-icon {
        padding-right: 34px;
    }

    .fl-builder-content .fl-module:not(.centered) .fl-accordion-content {
        /* padding-left: 47px; */
    }

    .fl-builder-content .fl-accordion-button .fl-accordion-button-icon::before {
        width: 14px;
        height: 14px;
        top: 26px;
    }




    /*
        ========================
                  TABS
        ========================
    */

    .fl-tabs .fl-tabs-panel-content-wrapper {
        display: block;
    }
    .fl-tabs .fl-tabs-panel-content-col1,
    .fl-tabs .fl-tabs-panel-content-col2 {
        width: 100%;
    }
    .fl-tabs .fl-tabs-panel-content-col2 {
        padding: 26px 18px;
    }

    .fl-tabs .fl-tabs-panel-content-col2 p {
        margin-top: 8px;
    }
    .fl-tabs-panel {border-bottom: 1px solid rgba(0,0,0,0.2);}




    /*
        ========================
                  FORM
        ========================
    */

    div.wpforms-container-full .wpforms-form .wpforms-field-label {
        font-size: 1rem;
        line-height: 1.6667rem;
    }

    div.wpforms-container-full .wpforms-form input[type=text],
    div.wpforms-container-full .wpforms-form input[type=email],
    div.wpforms-container-full .wpforms-form textarea {
        padding: 14px 18px;
        font-size: 0.8889rem;
        line-height: 1.5556rem;
    }

    div.wpforms-container-full .wpforms-form .wpforms-field:not(:last-of-type, :nth-last-of-type(2)) {
        margin-bottom: 16px;
    }

    div.wpforms-container-full .wpforms-form .wpforms-field:last-of-type {
        margin-bottom: 36px;
    }

    div.wpforms-container-full .wpforms-form .wpforms-field-label-inline,
    div.wpforms-container-full .wpforms-form input::placeholder,
    div.wpforms-container-full .wpforms-form textarea::placeholder {
        font-size: 0.8889rem;
        line-height: 1.5556rem;
    }




    /*
        =================================================
                          SHORTCODES
        =================================================
    */
    .flexreversecolumn .fl-col-group {display: flex;flex-direction: column-reverse;}
    .resp-flexcenter {justify-content: center;}
    .resp-flexstart {justify-content: flex-start;}






.fl-builder-content .video-row .fl-module:not(.centered) .fl-accordion-content {
    padding-left: 35px;
}
.fl-builder-content .alignleftsmall .fl-button-wrap{
    text-align: left!important;
}

/*******image********/
.fl-post .sub-image img[class*="wp-image-"] {
    height: 240px!important;
    width: auto;
    object-fit: cover;
    border-radius: 6px;
}
.sub-image{
    position: absolute;
    bottom: unset;
    top: 0px;
    left: 18px;
}
.sub-image-row .fl-row-content-wrap{
    background-position: left 75px;
}
    /*****************/
    /***Three Image***/
    /*****************/

    .threeImgRow .uabb-masonary{
        position: relative;
        height:unset!important;
    }
    .threeImgRow .uabb-masonary-content{
    position: static!important;
    height: auto!important;
    display: block!important;
    width: 100%!important;
    }
    .threeImgRow .uabb-masonary-item:nth-child(3){
    position: absolute!important;
    left: 0px!important;
    top: 84px!important;
    height: 165px;
    width: auto;
    transform: translate(0, 0);
    transition: transform .5s ease-in-out!important;
    }
    .threeImgRow .uabb-masonary-item:nth-child(3) .uabb-photo-gallery-content,
    .threeImgRow .uabb-masonary-item:nth-child(3) .uabb-gallery-img{
    height:165px;
    max-width: 120px;
    margin: auto;
    object-fit: cover;
    border-radius: 6px;
    }
    .threeImgRow .uabb-masonary-content .uabb-gallery-img{
    display: block;
    border-radius: 6px;
    }
    .threeImgRow .uabb-masonary-item:nth-child(2){
    position: relative!important;
    left:unset!important;
    top:unset!important;
    margin: 0 0 0 auto;
    display: block;
    margin-top: 188px;
    height: 240px;
    margin-bottom: 0px;
    }
    .threeImgRow .uabb-masonary-item:nth-child(2) .uabb-photo-gallery-content,
    .threeImgRow .uabb-masonary-item:nth-child(2) .uabb-gallery-img{
    height:240px;
    max-width: 321px;
    margin: 0 0 0 auto;
    object-fit: cover;
    border-radius: 6px;
    }
    .threeImgRow .uabb-masonary-item:nth-child(4){
    position: absolute!important;
    left: unset!important;
    top: 0!important;
    right: 0px;
    bottom: unset;
    width: auto;
    height: 140px;
    border-radius:6px;
    transform: translate(0, 0);
    transition: transform .5s ease-in-out!important;
    }
    .threeImgRow .uabb-masonary-item:nth-child(4) .uabb-photo-gallery-content,
    .threeImgRow .uabb-masonary-item:nth-child(4) .uabb-gallery-img{
    height:140px;
    max-width: 200px;
    margin: auto;
    object-fit: cover;
    border-radius: 6px;
    }
    .fl-module-accordion .fl-accordion-button {
        /* padding-top: 13px; */
        /* padding-right: 0px; */
        /* padding-bottom: 13px; */
        /* padding-left: 0px; */
    }
    .immersive-text{
        padding-left: 18px;
        padding-right: 18px;
    }

    .smallLeft a.fl-button, .smallLeft .fl-button-wrap {
        text-align: left;
    }

    .quote-col .fl-node-content {
        background-size: 177px;
    }

    .photo-overlap {
        bottom: -44px;
        width: calc(100% - 36px);
    }

    .photo-overlap.top {
        top: 0;
    }

    .fl-post .floating-img img {
        height: 91vw;
        width: calc(100vw - 36px);
    }

    .floating-txt {
        top: calc(100% - 250px);
    }

    .fl-builder-content .centered .fl-accordion-button .fl-accordion-button-icon {
        padding-right: 42px;
        padding-left: 16px;
    }

    .img_credit p {font-size:14px}


    #main-menu .menu-mobile .menu-mobile-hamb  {width:40px;}
    #main-menu .menu-mobile .mobile_menu_toggle  {left:0}





}




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

    

    .uabb-masonary-item:nth-child(3) .uabb-photo-gallery-content,
    .uabb-masonary-item:nth-child(3) .uabb-gallery-img{
    height:165px;
    max-width: 120px;
    margin: auto;
    object-fit: cover;
    border-radius: 6px;
    }
    .uabb-masonary-content .uabb-gallery-img{
    display: block;
    border-radius: 6px;
    }
    .uabb-masonary-item:nth-child(2){
    position: relative!important;
    left:unset!important;
    top:unset!important;
    margin: 0 0 0 auto;
    display: block;
    margin-top: 210px;
    height: 240px;
    margin-bottom: 0px;
    }
    .uabb-masonary-item:nth-child(2) .uabb-photo-gallery-content,
    .uabb-masonary-item:nth-child(2) .uabb-gallery-img{
    height:240px;
    max-width: 320px;
    margin: 0 0 0 auto;
    object-fit: cover;
    border-radius: 6px;
    }
    .uabb-masonary-item:nth-child(4){
    position: absolute!important;
    left: unset!important;
    top: 0!important;
    right: 0px;
    bottom: unset;
    width: auto;
    height: 140px;
    border-radius:6px;
    transform: translate(0, 0);
    transition: transform .5s ease-in-out!important;
    }
    .uabb-masonary-item:nth-child(4) .uabb-photo-gallery-content,
    .uabb-masonary-item:nth-child(4) .uabb-gallery-img{
    height:140px;
    max-width: 200px;
    margin: auto;
    object-fit: cover;
    border-radius: 6px;
    }
    .full-width .uabb-video .uabb-video__outer-wrap {
        padding-bottom: 200px;
    }
    .half-width .uabb-video .uabb-video__outer-wrap {
        padding-bottom: 200px;
    }
    .immersive-row .uabb-video__outer-wrap{
        padding-bottom:300px;
    }



    .floating-txt {
        top: calc(100% - 250px);
    }
    
}




/*
    =================================================
                        SMALL MOBILE
    =================================================
*/
@media only screen and (max-width: 480px) {}



/*
    =================================================
                        MOBILE SMALL
    =================================================
*/
@media only screen and (max-width: 400px) {

    .stats.small .fl-number .fl-number-text .fl-number-string span {
        font-size: 2rem;
    }
    
}