/* @media only screen and (min-width: 1436px) {
    .action-carousel-row .fl-row-content-wrap {
        padding-left: calc(50vw - 623px);
    }
} */

/************/
/*  DESKTOP  */
/************/

@media screen and (min-width: 1366px) {
    /* works for any columns set to 50%, needs to be adjusted for other percentages */
    body:not(.fl-builder-edit) .left_margin > .fl-col-content{
        max-width: 683px;
        margin-left: auto;
    }
    /* testimonial text column is only 40%, so max-width needs to be adjusted */
    body:not(.fl-builder-edit) .testimonial-carousel-row .left_margin > .fl-col-content {
        max-width: 490px;
    }
    body:not(.fl-builder-edit) .right_margin > .fl-col-content{
        max-width: 683px;
        margin-right: auto;
    }

    .action-carousel-row .fl-row-content-wrap {
        /* padding-left: calc(50vw - 623px); */
        padding-left: calc(50vw - 612px);
    }

}

/*************************************************/
/*  BB "LARGE" DESKTOP ONLY (NOT "EXTRA LARGE")  */
/*************************************************/

@media only screen and (min-width: 993px) and (max-width: 1365px) {

    .number-carousel-row .slider-header {
        padding-right: 60px;
    }

    /****************************/
    /*  CAROUSEL – ACTION  */
    /****************************/
    .action-carousel-row .fl-row-content-wrap {
        padding-left: 60px;
    }
    
}




/************/
/*  TABLET  */
/************/

@media only screen and (max-width: 992px) {
 
    .number-carousel-col .slick-arrow img {
        width: 68px;
        height: 68px;
    }
    .testimonial-carousel-box .carousel-card .fl-callout-text p {
        /* padding-bottom:16px!important; */
    }
    .testimonial-carousel-box .carousel-card {
        width: 384px !important;
        max-width: 384px;
        /* padding: 26px 26px 36px; */
        /* border-radius: 30px; */
    }
    .testimonial-carousel-box .carousel-card > div {
        padding: 36px 26px;
    }
    .testimonial-carousel-box .carousel-card .testinomial{
        font-weight: 500;
        font-size: 16px;
        font-size: 0.84rem;
        line-height: 24px;
        line-height: 1.26rem;
    }
    .testimonial-carousel-row .slider-header{
        margin-left:0;
    }
    .testimonial-carousel-box .slick-track {
        gap: 26px;
    }
    body:not(.fl-builder-edit) .testimonial-carousel-left-col .testimonial-carousel-left-col-box-img{
        position: absolute;
        bottom: 0;
        right: unset;
        left:0;
        max-width: 160px;
    }
    .testimonial-carousel-box .carousel-card .fl-photo{
        margin-bottom: 36px;
    }
    .testimonial-carousel-box .carousel-card img {
        height: 140px;
        width: 140px;
    }
    .testimonial-carousel-left-col .fl-col-content {
        position: static;
        z-index: 1;
    }
    body:not(.fl-builder-edit) .testimonial-carousel-row{
        position: relative;
    }
    body:not(.fl-builder-edit) .number-carousel-left-col-box-img{
        position: static;
        bottom: 0;
        margin-top: 16px;
        width: 100%;
    }
    body:not(.fl-builder-edit) .number-carousel-left-col-box-img .fl-photo-content{
        max-width: 175px;
        float: right;
    }
    .number-carousel-row{
        overflow: hidden;
    }
    .fl-post .largeheight img{
        height:424px;
    }
    .fl-post .number-carousel-img-box .largeheight img{
        min-height: 300px!important;
        max-height: 300px!important;
        height:100%;
    }
    #featured-events .fl-row-content-wrap::after {
        /* content: "";
        height: 100%;
        width: 40px;
        position: absolute;
        right: -14px;
        background-image: linear-gradient(180deg, var(--patch-reef-blue) 0%, var(--sky-blue) 100%);
        filter: blur(5px); */
    }
    .carousel-card{
        padding: 26px;
        margin-left:0;
        margin-right:26px;
        border-radius:30px;
    }
    .slider-header{
        padding-right:36px;
        margin-right:0;
        max-width: unset;
    }

    .number-carousel-row .slider-header {
        padding-right: 36px;
    }

    .slider-dot,
    .slider-ctl{
        margin-bottom:26px;
        margin-top:0;
    }
    .testimonial-carousel-row .slider-dot,
    .testimonial-carousel-row .slider-ctl {
        margin-bottom: 0;
    }
    .number-carousel-row .slider-dot,
    .number-carousel-row .slider-ctl{
        margin-bottom: 26px;
    }

    /* .posts.list .infoBox h3,
    .post-wedge .post .post-col.title-col h3{
        font-size: 22px;
        font-size: 1.16rem;
        line-height: 24px;
        line-height: 1.26rem;
        font-weight: 700;
    } */
    .number-carousel-img-box .slick-list, 
    .number-carousel-img-box .slick-list div, 
    .number-carousel-img-box .slick-list div img{
        max-width: 100%;
    }
    .number-carousel-box .slick-slide {
        max-width: 409px;
    }
    /****************************/
    /*  CAROUSEL – ACTION  */
    /****************************/
    .action-carousel-row .fl-row-content-wrap {
        padding-left: 36px;
    }
    .action-carousel-row .slider-header {
        justify-content: flex-end;
        padding-right: 0;
    }
    .action-carousel-row .slick-track {
        justify-content: right;
        gap: 20px;
    }
    .action-carousel-row .slick-initialized .slick-slide {
        max-width: 394px;
    }
}
/************/
/*  MOBILE  */
/************/
@media only screen and (max-width: 768px) {
    
    /* sets margin default for html modules in carousels, can be overridden individually in BB */
    /* html modules = where the slider arrows are injected */
    .testimonial-carousel-row .fl-module-html > div,
    .number-carousel-row .fl-module-html > div {
        margin-top: 16px;
    }

    /****************************/
    /*  CAROUSEL – TESTIMONIAL  */
    /****************************/
    .testimonial-carousel-box .carousel-card > div {
        border-radius: 8px;
        padding: 26px 16px;
        max-width: calc(100vw - 36px);
    }
    .testimonial-carousel-box .slick-slide {
        max-width: calc(100vw - 36px);
    }
    .testimonial-carousel-box .carousel-card img {
        height: 100px;
        width: 100px;
    }
    .testimonial-carousel-box .carousel-card blockquote + p {
        margin-top: 16px !important;
    }

    /***********************/
    /*  CAROUSEL – NUMBER  */
    /***********************/
    .number-carousel-box .carousel-card {
        border-radius: 8px;
        min-height: 370px;
        padding: 16px 16px 26px;
        width: calc(100vw - 36px) !important;
    }
    .number-carousel-box .carousel-card > div {
        max-width: calc(100vw - 36px);
    }
    .number-carousel-box .slick-slide {
        max-width: 100vw;
    }
    .number-carousel-col .slick-arrow img {
        width: 48px;
        height: 48px;
    }
    .number-carousel-row .slider-header {
        padding-right: 0;
    }
    .fl-post .number-carousel-img-box .largeheight img{
        border-radius: 8px;
        min-height: 280px!important;
        max-height: 280px!important;
    }
    .number-carousel-row .slider-dot,
    .number-carousel-row .slider-ctl{
        margin-bottom: 16px;
    }

    /****************************/
    /*  CAROUSEL – ACTION  */
    /****************************/
    .action-carousel-row .fl-row-content-wrap {
        padding-left: 18px;
    }
    .action-carousel-row .slick-slide img{
        height:240px;
    }
    body:not(.fl-builder-edit) .action-carousel-slider > .fl-col-content .fl-col{
        /* height: auto;
        width:280px; */
    }
    body:not(.fl-builder-edit) .action-carousel-row .slick-initialized .slick-slide {
        max-width: calc(100vw - 36px);
    }
    .action-carousel-slider > .fl-col-content .fl-module-box,
    .action-carousel-slider > .fl-col-content .fl-col-content {
        width: auto;
    }
    /* these together: removes weird spacing at top of slide */
    .action-carousel-row .slick-slide > div {
        display: flex; 
        /* height: auto; */
    }
    /* these together: removes weird spacing at top of slide */
    .action-carousel-row .slick-slide .fl-col {
        align-self: flex-start; 
    }
    /* In this case, limit the width of the cards only in BB editor so they're easier to edit in BB editor's responsive small */
    body.fl-builder-edit .action-carousel-slider > .fl-col-content .fl-col.column--action-carousel {
        display: inline-block;
        max-width: 394px;
    }
}