/* Css file for Success Story Boxes */

.vs-ssb-filter-cont {
    display: flex;
    flex-direction: row;
    justify-content: end;
}

.vs-ssb-filter {
    margin-left: 20px;
}

.vs-ssb-clearFilter {
    border-color: transparent !important;
}

.vs-ssb-read-story {
    margin-top: 18px !important;
}

.vs-ssb-company-logo {
    min-height: 70px;
    max-height: 70px;
    object-fit: contain;
    margin-bottom: 0;
    width: auto;
}

.vs-ssb-post:nth-child(4n+3),
.vs-ssb-post:nth-child(4n+2),
.vs-ssb-post:nth-child(4n+1) {
    margin-right: var(--spc-2xl) !important;
}

.vs-ssb-post:nth-child(4n) {
    margin-right: 0px !important;
}

.vs-ssb-post:nth-child(4n+1) {
    width: 100%;
    margin-right: 0px !important;
}

.vs-ssb-post:nth-child(8n+1) .vs-ssb-post-inner {
    display: flex;
    height: 540px;
    flex-direction: row-reverse;
}
.vs-ssb-post:nth-child(8n+1) .vs-ssb-company-logo {
    height: 50px;
    object-fit: contain;
    
}
.vs-ssb-post:nth-child(8n+5) .vs-ssb-company-logo {
    height: 50px;
    object-fit: contain;
}

.vs-ssb-post:nth-child(8n+5) .vs-ssb-post-inner {
    display: flex;
    height: 540px;
    flex-direction: row;
}

.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-img.b-cover-img-wrapper {
    width: 50%;
    height: 100%;
}

.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-content {
    width: 50%;
    padding: var(--spc-3xl);
    height: 100%;
}

.vs-ssb-no-post{
    width: 100%; 
    display: flex; 
    justify-content: center; 
    margin: 200px 0px;
}

.dont-highlight-first-box-thumb.vs-ssb-post{
    width: calc((100% / 3) - ((var(--spc-2xl)* 2) / 3)) ;
    margin-right: var(--spc-2xl) !important;
    display: block;
    height: 500px;
}
.vs-ssb-thumb-n1:nth-child(4n+1):not(:first-child){
    width: calc((100% / 3) - ((var(--spc-2xl)* 2) / 3)) ;
    margin-right: var(--spc-2xl) !important;
    display: block;
    height: 500px;
}

.vs-ssb-thumb-n1:nth-child(4n+1):not(:first-child) .vs-ssb-post-inner .bnb-l-img.b-cover-img-wrapper{
    width: 100%;
}


.vs-ssb-thumb-n1:nth-child(4n+1):not(:first-child) .vs-ssb-post-inner .bnb-l-content{
    width: 100%;
    padding: var(--spc-xl);
}


.vs-ssb-thumb-grid.vs-ssb-post{
    margin-right: var(--spc-2xl) !important;
}
.vs-ssb-thumb-grid.vs-ssb-post:nth-child(3n){
    margin-right: 0px !important;
}
.vs-ssb-thumb-img-wrp .img-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    /* backdrop-filter: blur(3px); */
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}
.vs-ssb-thumb-n1:nth-child(7),
.vs-ssb-thumb-n1:nth-child(10),
.vs-ssb-thumb-n1:nth-child(13),
.vs-ssb-thumb-n1:nth-child(16),
.vs-ssb-thumb-n1:nth-child(19){
    margin-right: 0px !important;
}

.vs-ssb-thumb-grid:nth-child(7),
.vs-ssb-thumb-grid:nth-child(10),
.vs-ssb-thumb-grid:nth-child(13),
.vs-ssb-thumb-grid:nth-child(16),
.vs-ssb-thumb-grid:nth-child(19){
    margin-right: var(--spc-2xl) !important;
}

.vs-ssb-thumb-grid:last-child{
    margin-right: 0px !important;
}
.vs-ssb-thumb-n1:nth-child(8){
    margin-right: var(--spc-2xl) !important;
}
.dont-highlight-first-box-thumb.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-img.b-cover-img-wrapper{
    width: 100%;
}

.dont-highlight-first-box-thumb.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-content{
    width: 100%;
    padding: var(--spc-xl);
}

.vs-ssb-post:nth-child(1) .vs-ssb-thumb-img-wrp .img-overlay {
    
    /* backdrop-filter: blur(0px); */
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}
.owl-item .vs-ssb-post:nth-child(1) .vs-ssb-thumb-img-wrp .img-overlay {
    
    /* backdrop-filter: blur(3px); */
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}
.vs-ssb-post:nth-child(1).dont-highlight-first-box-thumb .vs-ssb-thumb-img-wrp .img-overlay {
    
    /* backdrop-filter: blur(3px); */
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}



.bnb-l-img.vs-ssb-thumb-img-wrp{
    height: 500px;
 
}


.bnb-l-content.vs-ssb-thumb-cont-wrp{
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 2;
}
.vs-ssb-post:nth-child(8n+5) .bnb-l-content.vs-ssb-thumb-cont-wrp{
    inset: auto;
    right: 0;
    left: auto;
}



@media (max-width: 1439px) {
    .vs-ssb-thumb-n1:nth-child(4n+1):not(:first-child) .vs-ssb-post-inner .bnb-l-content{

        padding: 18px 20px;
    }
}

@media (max-width: 1365px) {
    .vs-ssb-post:nth-child(4n+3),
    .vs-ssb-post:nth-child(4n+2),
    .vs-ssb-post:nth-child(4n+1) {
        margin-right: var(--spc-2xl) !important;
    }
    
    .fce-success-post-thumb-boxes .bagels-news-box {
        width: calc((100% / 3) - ((var(--spc-2xl)* 2) / 3));
        margin-bottom: var(--spc-2xl);
    }
    .vs-ssb-post:not(.vs-ssb-thumb-n1):nth-child(4n+1) {

        width: 100%;
        margin-right: 0px !important;
    }
    .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child {

        width: 100%;
        margin-right: 0px !important;
    }
    .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+2){
        margin-right: var(--spc-2xl) !important;
    }
    .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(3n+4){
        margin-right: 0px !important;
    }
}

@media (min-width: 1200px) {
    .vs-ssb-post.ls-highlight-first-box-thumb:nth-child(8n+1) .vs-ssb-post-inner .bagels-heading .fs-xl,
    .vs-ssb-post.ls-highlight-first-box-thumb:nth-child(8n+5) .vs-ssb-post-inner .bagels-heading .fs-xl{
        font-size: var(--fs-3xl);
        line-height: var(--lh-3xl);
    }
}

@media (min-width: 1200px) and (max-width: 1365px) {
    .vs-ssb-post{
        width: calc( ( 100% / 3 ) - ( ( var( --spc-2xl ) * 2 ) / 3 ) );
    }
}

@media (max-width: 1199px) {

    .vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-content{
        padding: 23px 33px 24px;
    }
    
    .fce-success-post-thumb-boxes .bagels-news-box {
        width: calc((100% / 3) - ((var(--spc-lg)* 2) / 3));
    }
    .vs-ssb-thumb-n1:nth-child(4n+1):not(:first-child), .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-grid{
        
        height: 400px;
       
    }
    .vs-ssb-post:nth-child(4n+3),
    .vs-ssb-post:nth-child(4n+2)
    {
        margin-right: var(--spc-lg) !important;
    }

    .vs-ssb-post:nth-child(4n+1){
        margin-right: 0px !important;
    }

    /* Thumbnail CSS */
    .dont-highlight-first-box-thumb.vs-ssb-thumb-grid.vs-ssb-post:nth-child(4n+1){
        margin-right: 20px !important;
    }
    
    .vs-ssb-thumb-n1:nth-child(4n+1):not(:first-child), .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-grid {
        width: calc((100% / 3) - ((20px* 2) / 3));
        margin-right: 20px !important;
        margin-bottom: var(--spc-xl);
    }
    .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-n1:not(.vs-ssb-thumb-grid){
        width: calc((100% / 3) - ((20px* 2) / 3));
        /* margin-right: 20px !important; */
        margin-bottom: 24px;
    }
    .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-grid:nth-child(3n) {
        margin-right: 0px !important;
    }
    .vs-ssb-thumb-grid.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-img.b-cover-img-wrapper{

        width: 100%;
    }
    .vs-ssb-thumb-grid.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-content{
        width: 100%;
        padding: 23px 33px 28px;
    }
    
    .vs-ssb-thumb-n1:not(.vs-ssb-thumb-grid):nth-child(8){
        margin-right: 20px !important ;
    }
    .vs-ssb-thumb-grid.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-content{
        padding: 20px;
    }
    .vs-ssb-thumb-n1 .bnb-l-img.vs-ssb-thumb-img-wrp{
        height: 400px;
     
    }
    .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+2){
        margin-right: 20px !important;
    }
    .vs-ssb-thumb-n1:not(.vs-ssb-thumb-grid):nth-child(7), .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(10), .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(13), .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(16){
        margin-right: 0px !important;
    }

    .vs-ssb-post:nth-child(8n+1) .vs-ssb-post-inner.ls-highlight-first-box-thumb,
    .vs-ssb-post:nth-child(8n+5) .vs-ssb-post-inner.ls-highlight-first-box-thumb{
        height: 390px;
    }

    .vs-ssb-thumb-n1.vs-ssb-post:nth-child(8n+1):not(:first-child) .vs-ssb-post-inner, .vs-ssb-thumb-n1.vs-ssb-post:nth-child(8n+5) .vs-ssb-post-inner{
        height: 540px;
    }


    .fce-success-post-thumb-boxes.fce-ssb-common .fce-nb-1.owl-carousel .bagels-news-box.vs-ssb-thumb-n1:not(.vs-ssb-thumb-grid){
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .fce-ssb-common .fce-nb-1.desktop-slider{
        margin-bottom: 0;
    }
    
    .fce-ssb-common .fce-nb-1.desktop-slider .bagels-news-box{
        margin-bottom: 0;
    }

    .fce-ssb-common .fce-nb-1.desktop-slider.slides-more-than-2 .owl-stage-outer{
        padding-bottom: 35px;
        padding-top: 0;
    }

    .fce-ssb-common .fce-nb-1.desktop-slider.owl-carousel .owl-dots{
        text-align: center;
    }

    .fce-ssb-common .fce-nb-1.desktop-slider .vs-ssb-post:nth-child(8n+1) .vs-ssb-post-inner{
        display: block;
        height: 100%;
    }
    
    .fce-ssb-common.fce-success-story-boxes .fce-nb-1.desktop-slider .vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-img.b-cover-img-wrapper{
        height: 100%;
        height: 250px;
    }

    .fce-ssb-common .fce-nb-1.desktop-slider .vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-img.b-cover-img-wrapper{
        width: auto;
    }

    .fce-ssb-common .fce-nb-1.desktop-slider .vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-content{
        width: auto;
        padding: var( --spc-xl );
        height: auto;
    }
    
    .fce-ssb-common .fce-nb-1.desktop-slider .vs-ssb-post:nth-child(8n+1) .vs-ssb-company-logo{
        height: 40px;
        width: auto;
    }

    .fce-ssb-common .fce-nb-1 .owl-nav button{
        bottom: calc( 100% + 30px );
        top: unset;
    }
}

@media (max-width: 991px) {
    /* Thumbnail CSS */
    .vs-ssb-thumb-n1:nth-child(4n+1):not(:first-child), .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-grid, .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-n1:not(.vs-ssb-thumb-grid){
        width: calc((100% / 2) - ((var(--spc-xl)) / 2));
        height: 400px;
        margin-right: var(--spc-xl) !important;
    }
    .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(3n+4){
        margin-right: var(--spc-xl) !important;
    }
    .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(2n){
        margin-right: 0px !important;
    }
    
    .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child {
       
        margin-right: var(--spc-xl) !important;
    }
    .owl-item .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child {
       
        margin-right: 0px !important;
    }
    .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child .vs-ssb-thumb-img-wrp .img-overlay{
        /* backdrop-filter: blur(3px); */
        background: rgba(0, 0, 0, 0.35);
        z-index: 1;
    }
    .vs-ssb-thumb-n1.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-img.b-cover-img-wrapper{
        width: 100%;
    }
    .vs-ssb-thumb-n1.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-content{
        width: 100%;
    }
    .dont-highlight-first-box-thumb.vs-ssb-thumb-grid.vs-ssb-post:nth-child(4n+1){
        margin-right: var(--spc-xl) !important;
    }
    .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-grid:nth-child(3n){
        margin-right: var(--spc-xl) !important;
    }
    .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-grid:nth-child(2n){
       margin-right: 0px !important;
    }
    .vs-ssb-thumb-grid.vs-ssb-post:nth-child(8n+5) .bnb-l-content.vs-ssb-thumb-cont-wrp, .vs-ssb-thumb-n1.vs-ssb-post:nth-child(8n+5) .bnb-l-content.vs-ssb-thumb-cont-wrp{
        inset: 0;
    }
    
    .vs-ssb-thumb-grid.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-img.b-cover-img-wrapper, .vs-ssb-thumb-n1.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-img.b-cover-img-wrapper{
        height: 400px;
    }
    .vs-ssb-thumb-grid.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-content, .vs-ssb-thumb-n1.vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-content{
        height: 100%;
    }
    .vs-ssb-post:nth-child(8n+5) .vs-ssb-company-logo, .vs-ssb-post:nth-child(8n+1) .vs-ssb-company-logo{
        height: 40px;
    }
    .owl-item img.vs-ssb-company-logo{
        width: fit-content;
    }
   
    /* Thumbmails with owl caro */
    .owl-item .dont-highlight-first-box-thumb.vs-ssb-thumb-grid.vs-ssb-post:nth-child(4n+1){
        margin-right: 0px !important;
    }
    .owl-item .vs-ssb-thumb-n1:nth-child(4n+1):not(:first-child), .fce-success-post-thumb-boxes .owl-item .bagels-news-box.vs-ssb-thumb-grid{
        width: calc((100% / 2) - ((16px / 2)));
        height: 400px;
        margin-right: var(--spc-xl) !important;
    }
    .fce-success-post-thumb-boxes .fce-nb-1.ipad-slider .owl-stage-outer{
        padding: 7px 0px 7px 0px;
    }
    .fce-success-post-thumb-boxes .fce-nb-1.ipad-slider .owl-stage-outer{
        padding: 7px 0px 7px 0px;
    }

    .vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-img.b-cover-img-wrapper{
        height: 180px;
       
    }
    .vs-ssb-post:not(.vs-ssb-thumb-n1) .vs-ssb-post-inner .bnb-l-img.b-cover-img-wrapper{
        height: 210px;
        
    }
    .vs-ssb-post:not(.vs-ssb-thumb-n1):nth-child(4n+1) .vs-ssb-post-inner .bnb-l-img.b-cover-img-wrapper{
        height: 210px;
        width: 100%;
    }
    .vs-ssb-post:nth-child(4n+1) .vs-ssb-post-inner .bnb-l-content{
        padding: 20px;
        height: 270px;
    }
    .vs-ssb-post:not(.vs-ssb-thumb-n1):nth-child(4n+1) .vs-ssb-post-inner .bnb-l-content{
        width: 100%;
    }
    .fce-success-post-thumb-boxes .bagels-news-box{
        width: calc((100% / 2) - ((var(--spc-xl)) / 2)); ;
    }

    .bagels-drop-filter-parent.bdfp-success-stories-1 .bfp-sf-menu {
        /* right: 0 ; */
        /* left: auto; */
    }

    .vs-ssb-company-logo {
        height: 40px;
    }
    
    .vs-ssb-post:nth-child(8n+1) .vs-ssb-post-inner {
        display: block;
        height: auto;

    }

    .vs-ssb-post:nth-child(8n+5) .vs-ssb-post-inner {
        display: block;
        height: auto;

    }

    .fce-success-post-thumb-boxes .ipad-slider .owl-nav,
    .fce-success-story-boxes .ipad-slider .owl-nav {
        position: relative;
        
    }
    .fce-success-post-thumb-boxes .ipad-slider .owl-prev,
    .fce-success-story-boxes .ipad-slider .owl-prev{
        position: absolute;
        left: 50%;
        transform: translateX(-100%);  /* Move button left by its full width */
        margin-right: 10px;
    }
    .fce-success-post-thumb-boxes .ipad-slider .owl-next,
    .fce-success-story-boxes .ipad-slider .owl-next{
        position: absolute;
        left: 50%;
        margin-left: 10px; 
    }
    .fce-success-post-thumb-boxes .fce-nb-filters{
        align-self: flex-end;
    }

  
    .vs-ssb-post:not(.vs-ssb-thumb-n1):nth-child(4n+1){
        width: calc((100% / 2) - ((var(--spc-xl)) / 2));
    }
    .vs-ssb-post:not(.vs-ssb-thumb-n1), .vs-ssb-post:not(.vs-ssb-thumb-n1):nth-child(4n+1){
        margin-right: var(--spc-xl) !important;
    }
    .vs-ssb-post:nth-child(2n){
        margin-right: 0px !important;
    }
    
    .owl-item .vs-ssb-post:nth-child(4n+1){
        width: 100%;
    } 

   
    .owl-item .vs-ssb-post, .owl-item .vs-ssb-post:nth-child(4n+1){
        margin-right: 0px !important;
    }
    .owl-item .vs-ssb-post:nth-child(2n){
        margin-right: 0px !important;
    }

    .vs-ssb-thumb-n1.bagels-news-box .bnb-l-c-title .bagels-heading .bh-1{
        line-clamp: 5;
        -webkit-line-clamp: 5;
    }



    .fce-news-boxes.fce-ssb-common .fce-nb-1.slides-more-than-2.ipad-slider .owl-stage-outer{
        padding-bottom: 35px;
    }

    .fce-news-boxes.fce-ssb-common .fce-nb-1 .owl-nav{
        position: absolute;
        top: -70px;
        right: 0;
    }

    .fce-news-boxes.fce-ssb-common .fce-nb-1 .owl-nav > button{
        position: static;
        transform: none;
        margin: 0;
    }

    .fce-news-boxes.fce-ssb-common .fce-nb-1 .owl-nav > button.owl-next{
        margin-left: 5px;
    }

    .fce-news-boxes.fce-ssb-common .fce-nb-1 .owl-dots{
        text-align: center;
    }

    .fce-success-post-thumb-boxes .fce-nb-1.owl-carousel .owl-dots{
        display: none;
    }
}

@media (min-width:992px) and (max-width:1199px){
    .vs-ssb-post:nth-child(4n+3),
    .vs-ssb-post:nth-child(4n+2)
    {
        margin-right: 20px !important;
    }
}

@media (max-width:991px) and (min-width:745px){
    .fce-success-post-thumb-boxes .fce-nb-1.ipad-slider .bagels-news-box {
        width: 354px;
    }
    .owl-item .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child{
        width: 354px;
    }
    .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child{
        width: calc((100% / 2) - ((var(--spc-xl)) / 2));
    }
}

@media (max-width:744px) and (min-width:500px){
    .fce-success-post-thumb-boxes .fce-nb-1.ipad-slider .bagels-news-box {
        width: 336px;
    }
    .owl-item .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child{
        width: 336px;
    }
    .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child{
        width: calc((100% / 2) - ((var(--spc-xl)) / 2));
    }
}

@media (max-width: 499px){
    .vs-ssb-company-logo {
        min-height: 55px;
        max-height: 55px;
    }

    .fce-success-story-boxes .ipad-slider .owl-stage-outer,
    .fce-success-post-thumb-boxes .ipad-slider .owl-stage-outer{
        margin-left: auto;
        margin-right: auto;
    }
     /* Thumbnail CSS */
     
     .vs-ssb-thumb-n1:nth-child(4n+1),
     .bagels-news-box.vs-ssb-thumb-grid,
     .bagels-news-box.vs-ssb-thumb-n1:not(.vs-ssb-thumb-grid){
        width: 100%;
        height: 400px;
        margin-right: 0px !important;
    }

    .vs-ssb-thumb-n1:nth-child(4n+1):not(:first-child),
    .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-grid,
    .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-n1:not(.vs-ssb-thumb-grid){
        width: 100%;
    }
    
    .vs-ssb-thumb-n1:nth-child(4n+1):not(:first-child),
    .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-grid,
    .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-n1:not(.vs-ssb-thumb-grid),
    .fce-success-post-thumb-boxes .bagels-news-box.vs-ssb-thumb-grid:nth-child(3n){
        margin-right: 0 !important;
    }

    .vs-ssb-thumb-n1:nth-child(4n+1):not(:first-child),
    .bagels-news-box.vs-ssb-thumb-grid{
        width: 100%;
        height: 400px;
        margin-right: 0px !important;
    }

    .dont-highlight-first-box-thumb.vs-ssb-thumb-grid.vs-ssb-post:nth-child(4n+1),
    .bagels-news-box.vs-ssb-thumb-grid:nth-child(3n),
    .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(3n+4),
    .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child{
        margin-right: 0px !important;
    }
    
    .vs-ssb-post:not(.vs-ssb-thumb-n1):nth-child(4n+1), .vs-ssb-post:not(.vs-ssb-thumb-n1){
        width: 100%;
    }
    
    .vs-ssb-post:not(.vs-ssb-thumb-n1):nth-child(4n+1), .vs-ssb-post:not(.vs-ssb-thumb-n1){
        width: 100%;
    }
    .vs-ssb-post:not(.vs-ssb-thumb-n1):nth-child(4n+1){
        margin-right: 0px !important;
    }
    .fce-success-post-thumb-boxes .ipad-slider .owl-stage,
    .fce-success-story-boxes .ipad-slider .owl-stage{
        display: flex;
        flex-wrap: nowrap;
    }
    /* .fce-success-post-thumb-boxes .ipad-slider .owl-item,
    .fce-success-story-boxes .ipad-slider .owl-item{
        margin-left: 8px !important;
        margin-right: 8px !important;
    } */

    .fce-success-post-thumb-boxes .fce-nb-1.ipad-slider .bagels-news-box {
        width: 371px;
    }
    .owl-item .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child{
        width: 371px;
        
    }
    
    .vs-ssb-post:nth-child(4n+1){
        width: 100%;
    }
    .vs-ssb-post, .vs-ssb-post:nth-child(4n+1), .vs-ssb-post:nth-child(4n+3){
        margin-right: 0px !important;
    }
    .fce-success-post-thumb-boxes .fce-nb-1.ipad-slider .owl-stage-outer{
        margin-left: auto;
    }


    .fce-news-boxes.fce-ssb-common .fce-nb-1.slides-more-than-2.ipad-slider .owl-stage-outer {
        padding-bottom: 25px;
    }

    /* .fce-news-boxes.fce-ssb-common .fce-nb-1 .owl-stage-outer .owl-item{
        margin-left: 8px !important;
        margin-right: 8px !important;
    } */

    /* .fce-news-boxes.fce-ssb-common .fce-nb-1 .owl-stage-outer .owl-item:first-child{
        margin-left: 0 !important;
    }

    .fce-news-boxes.fce-ssb-common .fce-nb-1 .owl-stage-outer .owl-item:last-child{
        margin-right: 0 !important;
    } */



    .fce-success-post-thumb-boxes .fce-nb-1.owl-carousel .owl-dots{
        display: block;
        text-align: center;
    }

    .fce-success-post-thumb-boxes .fce-nb-1.owl-carousel.slides-more-than-2.ipad-slider .owl-stage-outer{
        padding-bottom: 5px;
    }
}

@media (max-width:499px) and (min-width:394px){
    .fce-success-story-boxes .ipad-slider .owl-stage-outer,
    .fce-success-post-thumb-boxes .ipad-slider .owl-stage-outer{
        width: 387px;
    }
}

@media (max-width: 393px){
    /* .fce-success-post-thumb-boxes .ipad-slider .owl-item,
    .fce-success-story-boxes .ipad-slider .owl-item{
        margin-left: 8px !important;
        margin-right: 8px !important;
    } */
    .fce-success-post-thumb-boxes .fce-nb-1.ipad-slider .bagels-news-box {
        width: 349px;
    }
    .owl-item .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child{
        width: 349px;
    }
}

@media (max-width: 375px){
    /* .fce-success-story-boxes .ipad-slider .owl-item,
    .fce-success-post-thumb-boxes .ipad-slider .owl-item{
        margin-left: 8px !important;
        margin-right: 8px !important;
    } */
    .fce-success-post-thumb-boxes .fce-nb-1.ipad-slider .bagels-news-box {
        width: 334px;
    }
    .owl-item .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child{
        width: 334px;
    }   
}

@media (max-width: 360px){
    /* .fce-success-post-thumb-boxes .ipad-slider .owl-item,
    .fce-success-story-boxes .ipad-slider .owl-item{
        margin-left: 8px !important;
        margin-right: 8px !important;
    } */
    .fce-success-post-thumb-boxes .fce-nb-1.ipad-slider .bagels-news-box {
        width: 314px;
    }
    .owl-item .vs-ssb-thumb-n1.vs-ssb-post:not(.vs-ssb-thumb-grid):nth-child(4n+1):first-child{
        width: 314px;
    }   
}