.featureBoxWrapper {
    background-color: #2b2b2b;
    padding: 15px 0;
}

.featureBoxWrapper .featureBoxContainerFluid {
    max-width: 1145px;
}

.featureBoxWrapper .featureBoxContainer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.featureBoxRow {
    display: flex;
    flex-direction: column;
}

.featureBoxWrapper .compose-mode.vc_vc_row_inner {
    padding-top: 0px !important;
}

.featureBoxWrapper .wpb_wrapper > div {
    margin-bottom: 0px !important;
}
  

.featureBoxWrapper .featureBox {
    margin: 15px;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    width: calc(100% - 30px);
    height: 0;
    padding-bottom: 50%;
    border-radius: 4px;
    overflow: hidden;
    transition: all ease-in-out .3s;
}

.featureBoxWrapper .featureBox:hover, .featureBoxWrapper .featureBox:focus {
    box-shadow: 0 24px 32px 0 rgba(0, 0, 0, .32);
}

.featureBoxWrapper .featureBoxImage {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #2b2b2b;
}

.featureBoxWrapper .featureBoxImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: all ease-in-out .3s;
}

.featureBoxWrapper .featureBoxImage:after {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(43, 43, 43, .5);
    transition: all ease-in-out .3s;
}

.featureBoxWrapper .featureBox:hover .featureBoxImage:after, .featureBoxWrapper .featureBox:focus .featureBoxImage:after {
    background-color: rgba(43, 43, 43, .75);
}

.featureBoxWrapper .featureBoxText {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: #fff;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
    text-transform: lowercase;
}

.featureBoxWrapper .featureBoxText span {
    display: block;
}

.featureBoxWrapper .featureBoxText span.featureBoxTextBottom {
    margin-top: 15px;
}

.featureBoxWrapper .featureBoxRow.odd-row .featureBox:nth-child(2) .featureBoxTextTop, .featureBoxWrapper .featureBoxRow.even-row .featureBox:nth-child(1) .featureBoxTextTop {
    font-family: Great Sejagad, sans-serif;
    font-size: 3.52941rem;
    line-height: 1;
}

.featureBoxWrapper .featureBoxRow.odd-row .featureBox:nth-child(1) .featureBoxTextBottom, .featureBoxWrapper .featureBoxRow.even-row .featureBox:nth-child(2) .featureBoxTextBottom {
    font-family: Great Sejagad, sans-serif;
    font-size: 3.52941rem;
    line-height: 1;
}



@media (min-width: 480px) {
    .featureBoxWrapper .featureBox {
        width: calc(50% - 30px);
        height: 195px;
        padding-bottom: 0;
    }

    .featureBoxRow {
        display: flex;
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .featureBoxWrapper {
        padding: 65px 0;
    }
}

@media (min-width: 992px) {
    .featureBoxRow.row-1 .featureBox:nth-child(1),
    .featureBoxRow.row-4 .featureBox:nth-child(1),
    .featureBoxRow.row-7 .featureBox:nth-child(1),
    .featureBoxRow.row-2 .featureBox:nth-child(2),
    .featureBoxRow.row-5 .featureBox:nth-child(2),
    .featureBoxRow.row-8 .featureBox:nth-child(2) {
      width: calc(40% - 30px);
    }    

    .featureBoxRow.row-1 .featureBox:nth-child(2),
    .featureBoxRow.row-4 .featureBox:nth-child(2),
    .featureBoxRow.row-7 .featureBox:nth-child(2),     
    .featureBoxRow.row-2 .featureBox:nth-child(1),
    .featureBoxRow.row-5 .featureBox:nth-child(1),
    .featureBoxRow.row-8 .featureBox:nth-child(1) {
        width: calc(60% - 30px);
    }

    .featureBoxRow.row-3 .featureBox,
    .featureBoxRow.row-6 .featureBox,
    .featureBoxRow.row-9 .featureBox {
        box-sizing: border-box;
        width: 50%;
    }



    .featureBoxWrapper .featureBox {
        height: 295px;
        padding-bottom: 0;
    }

    .featureBoxWrapper .featureBoxText {
        font-size: 1.17647rem;
    }

    .featureBoxWrapper .featureBoxRow.odd-row .featureBox:nth-child(2) .featureBoxTextTop, .featureBoxWrapper .featureBoxRow.even-row .featureBox:nth-child(1) .featureBoxTextTop {
        font-size: 5.29412rem;
    }
      
    .featureBoxWrapper .featureBoxRow.odd-row .featureBox:nth-child(1) .featureBoxTextBottom, .featureBoxWrapper .featureBoxRow.even-row .featureBox:nth-child(2) .featureBoxTextBottom {
        font-size: 5.29412rem;
    }
      
    .featureBoxWrapper .featureBoxText span.featureBoxTextBottom {
        margin-top: 15px;
    }

}

/* SWITCHBACK SECTIONS STYLING */

.largeSwitchbackWrapper {
    background-color: #2b2b2b;
    margin-bottom: 65px;
}

.largeSwitchbackWrapper .switchbackItem {
    position: relative;
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    border-top: 5px solid white;
    height: 569.625px;
}

.switchbackItem {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.switchbackItem::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    background: rgba(34, 34, 34, .75);
}
  

a.defaultButton-Primary:first-child {
    margin-left: 0;
}

.largeSwitchbackWrapper .switchbackItem .switchbackText {
    text-align: center;
    padding: 35px 0;
    max-width: 1400px;
    width: 94%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.largeSwitchbackWrapper .switchbackItem .switchbackTextInner {
    color: #2b2b2b;
    overflow: hidden;
    width: 80%;
    padding: 0 3%;
}

.largeSwitchbackWrapper .switchbackItem .switchbackTextInner h2 {
    margin: 20px 0;
    width: 100%;
    color: #fff;
}

.largeSwitchbackWrapper .switchbackItem .switchbackTextInner p {
    width: 100%;
    color: #fff;
    margin: 0px !important;
    padding: 0px !important;
}

.largeSwitchbackWrapper .switchbackItem .switchbackTextInner a.defaultButton-Primary {
    margin: 15px 0;
    padding: 12px 32px;
}
  
.largeSwitchbackWrapper .switchbackItem.right .switchbackTextInner a.defaultButton-Primary {
    margin: 27px 0 15px;
    padding: 12px 32px;
}
  

a.defaultButton-Primary {
    background-color: #97262c;
    border-color: #97262c;
    color: #fff !important;
    display: inline-block;
    clear: both;
    padding: 8px 40px;
    font-size: 1em;
    line-height: 1.3529;
    font-weight: 600 !important;
    margin: 5px 0;
    text-align: center;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    overflow: hidden;
    transition: background-color .3s cubic-bezier(.23,1,.32,1), color .3s cubic-bezier(.23,1,.32,1);
}

a.defaultButton-Primary:hover {
    background: white;
    color: #2b2b2b !important;
    text-decoration: none;
    cursor: pointer;
}

.largeSwitchbackWrapper .switchbackItem .switchbackTextInner a.defaultButton-Primary:hover {
    background-color: rgba(43, 43, 43, .6) !important;
    color: white !important;
}

.largeSwitchbackWrapper .wpb_wrapper > div {
    margin-bottom: 0px !important;
}

@media (max-width: 991px) {
    .switchbackItem {
        max-height: 500px;
    }

    .switchbackTextInner {
        margin: 0 auto;
    }
}

  
@media (min-width: 992px) {
    .largeSwitchbackWrapper .switchbackItem {
        border: none;
    }

    .switchbackItem.left::after {
        background: linear-gradient(
          to right,
          rgba(43, 43, 43, 0.95) 0%,
          rgba(43, 43, 43, 0.6) 40%,
          rgba(43, 43, 43, 0.1) 100%
        );
      }
      
      .switchbackItem.right::after {
        background: linear-gradient(
          to left,
          rgba(43, 43, 43, 0.95) 0%,
          rgba(43, 43, 43, 0.6) 40%,
          rgba(43, 43, 43, 0.1) 100%
        );
      }
      
      
      
    .largeSwitchbackWrapper .switchbackItem .switchbackText {
        text-align: left;
        padding: 50px 0;
    }

    .switchbackItem.left .switchbackTextInner {
        text-align: left;
        margin-left: 0;
        margin-right: auto;
        max-width: 550px;
        padding: 0;
      }
    
      .switchbackItem.right .switchbackTextInner {
        margin-left: auto;
        margin-right: 0;
        max-width: 550px;
        padding: 0;
      }
}


/* STORY CAROUSEL SECTION STYLING */

.storiesContainer {
    position: relative;
    padding: 35px 0 50px;
    width: 94%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
  

.storiesContent {
    width: 80%;
    max-width: 915px;
    text-align: center;
    margin: 0 auto;
    color: #000;
}

.storiesCarouselContainer {
    width: 100%;
}

.storiesCarousel {
    width: 100%;
    position: relative;
    padding: 0 0 15px;
}

.storiesCarousel .swiper-wrapper {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    padding: 10px 0;
    transform: translate3d(0, 0, 0);
    position: relative;
    overflow: hidden;
    margin: 0;
}

.storiesCarousel .story-slide {
    display: block;
    width: 310px;
    height: auto;
    padding-left: 8px;
    padding-right: 8px;
    min-height: 1px;
    position: relative;
}

.storiesBox {
    width: 100%;
    height: 0;
    padding-bottom: 92.4138%;
    min-height: 250px;
    text-decoration: none !important;
    position: relative;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    transition: transform .3s ease-in-out;
    display: -ms-flexbox!important;
    display: flex !important;
    border-radius: 4px;
}

.storiesBox .image {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    opacity: 1;
    transition: opacity .3s ease-in-out;
    background-color: #555;
}

.storiesBox .image img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: ease transform .3s;
}

.storiesBox .image:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(34, 34, 34, 0) 0, #222 100%);
    transition: all ease-in-out .3s;
}

.storiesBox:hover .image:after, .storiesBox:focus .image:after {
    background: linear-gradient(to bottom, rgba(34, 34, 34, .5) 0, #222 100%);
}


.storiesBox .text {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 0 35px 30px;
}

.storiesBox .text p.slide-title {
    font-size: 1.70588rem;
    line-height: 1.1034;
    font-weight: 600;
    color: #fff;
    text-decoration: none !important;
    margin: 0 0 10px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
}

.storiesBox .text p.slide-content {
    font-size: .82353rem;
    line-height: 1.3571;
    font-weight: 400;
    color: #d4ccbf;
    text-decoration: none !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
}

.storiesBox .text p {
    margin: 0;
    text-decoration: none !important;
}

.storiesCarousel>button.swiper-prev {
    display: block;
    left: 0;
    background-image: url('../../images/stories-chevron-left.svg');
    background-position: 17px 15px;
}

.storiesCarousel>button.swiper-next {
    display: block;
    right: 0;
    background-image: url('../../images/stories-chevron-right.svg');
    background-position: center center;
}

.storiesCarousel>button {
    display: none;
    position: absolute;
    top: 50%;
    margin-top: -22.5px;
    border: none;
    border-radius: 2px;
    width: 48px;
    height: 48px;
    padding: 0;
    outline: none;
    background-color: #cdc9c3;
    background-size: 12px 18px;
    background-repeat: no-repeat;
    transition: all .3s ease-in-out;
    z-index: 1;
}

.storiesCarousel>button:hover, .storiesCarousel>button:focus {
    background-color: #aaa399;
}

.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}

.storiesCarousel .swiper-wrapper {
    display: flex;
    overflow: visible;
}
  

.storiesCarousel.swiper {
    overflow: hidden;
}

.swiper-slide {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
}
  
.swiper-slide.swiper-slide-visible {
    opacity: 1;
    pointer-events: auto;
}

.storiesCarousel .swiper-pagination {
    display: block;
    margin-top: 20px;
    margin-bottom: 0;
    padding-left: 0;
    line-height: 1;
    list-style: none;
    text-align: center;
  }
  
.storiesCarousel .swiper-pagination-bullet {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0 4px;
    border: none;
    background-color: #cdc9c3;
    transition: all 0.2s ease;
    border-radius: 100%;
    text-indent: -9999px;
    outline: none;
    cursor: pointer;
    opacity: 1 !important;
  }

  .storiesCarousel .swiper-pagination-bullet-active {
    background-color: #2b2b2b !important;
  }
  
  .storiesCarousel .swiper-pagination-bullet:hover,
  .storiesCarousel .swiper-pagination-bullet:focus {
    background-color: #aaa399;
    outline: none;
  }

  
  
  
  
.assistiveTech-only {
    position: absolute;
    margin: -1px 0 0 -1px;
    padding: 0;
    display: block;
    width: 1px;
    height: 1px;
    line-height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    outline: 0;
}

@media (min-width: 992px) {
    .storiesCarousel.swiper {
        padding: 0 72px 15px;
    }

    .storiesCarousel .story-slide {
        padding-left: 15px;
        padding-right: 15px;
    }
    
}


/* INSTAGRAM FEED SECTION */
.SocialMediaFeedWrapper {
    width: 100%;
    margin: 0 auto !important;
    background-color: #fff;
}

.SocialMediaTextContainer {
    max-width: 915px;
    width: 80%;
    margin: 0 auto;
    padding: 45px 0 10px;
    text-align: center;
}

.SocialMediaTextContainer h2 {
    margin: 12px 0;
    color: rgb(43,43,43);
}

.SMWrapper {
    display: flex;
}


.SMWrapper #sb_instagram {
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    padding: 5px;
    overflow: hidden;
    min-height: 125px;
}

.SMWrapper #sbi_images {
    width: 100% !important;
}

.SMWrapper #sb_instagram #sbi_images .sbi_item {
    width: 100%;
    position: relative;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: none;
}

.SMWrapper #sb_instagram #sbi_images .sbi_item:nth-child(1), .SMWrapper #sb_instagram #sbi_images .sbi_item:nth-child(2), .SMWrapper #sb_instagram #sbi_images .sbi_item:nth-child(3), .SMWrapper #sb_instagram #sbi_images .sbi_item:nth-child(4), .SMWrapper #sb_instagram #sbi_images .sbi_item:nth-child(5), .SMWrapper #sb_instagram #sbi_images .sbi_item:nth-child(6) {
    display: block;
}

.SMWrapper #sb_instagram #sbi_images .sbi_item .div:not(.sbi_expand) a {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 0px !important;
    padding-bottom: 80%;
    border-radius: 4px;
    overflow: hidden;
    transition: all .3s ease-in-out;
}

.SMWrapper #sb_instagram #sbi_images .sbi_item a:before {
    content: "";
    display: block;
    position: absolute;
    opacity: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(43, 43, 43, .5);
    z-index: 1;
    transition: all .3s ease-in-out;
}

.SMWrapper #sb_instagram #sbi_images .sbi_item a:after {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: url('../../images/instagram-icon.svg') center center no-repeat;
    background-size: 20px 20px;
    z-index: 2;
}

.SMWrapper #sb_instagram #sbi_images .sbi_item a:hover:before, .SMWrapper #sb_instagram #sbi_images .sbi_item a:focus:before {
    opacity: 1;
}

.SMWrapper #sb_instagram #sbi_images .sbi_item a img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    vertical-align: middle;
    border: 0;
}



#sbi_load {
    display: none !important;
}

#sb_instagram.sbi_col_4 #sbi_images {
    grid-template-columns: repeat(2, 1fr) !important;
  }

.vc_row .lanark-facebook-embed iframe {
    border: 1px solid #ccc;
}


@media (min-width: 480px) {
    .SMWrapper #sb_instagram #sbi_images .sbi_item {
        width: 100%;
    }

    #sb_instagram.sbi_col_4 #sbi_images {
        grid-template-columns: repeat(3, 1fr) !important;
      }
}

@media (min-width: 768px) {
    .SMWrapper #sb_instagram #sbi_images .sbi_item a:after {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        background-size: 30px 30px;
    }

    #sb_instagram.sbi_col_4 #sbi_images {
        grid-template-columns: repeat(3, 1fr) !important;
      }
}

@media (min-width: 992px) {
    .SMWrapper {
        display: -ms-flexbox;
        display: flex;
        margin: 0;
        width: 100%;
        padding: 0;
    }

    .SMWrapper #sb_instagram #sbi_images .sbi_item {
        width: 100%;
    }

    .SMWrapper #sb_instagram #sbi_images .sbi_item:nth-child(7), .SMWrapper #sb_instagram #sbi_images .sbi_item:nth-child(8) {
        display: block;
    }

    #sb_instagram.sbi_col_4 #sbi_images {
        grid-template-columns: repeat(4, 1fr) !important;
      }
}

@media (min-width: 1200px) {
    .SMWrapper #sb_instagram #sbi_images .sbi_item a:after {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background-size: 40px 40px;
    }
}

.vc_row .lanark-map-container iframe {
    border: solid 1px rgb(204, 204, 204);
}