.outer-gallery{
    padding-top: 120px;
}
.scrollable-gallery iframe{
    pointer-events:none;
    height: 200px;
}
.scrollable-gallery img{
    border-radius:20px !important;
}
.scrollable-gallery figure.wp-block-image.size-large:before {
    position: absolute;
    content: '';
    background-color: rgb(0 0 0 / 20%);
    height: 100%;
    width: 100%;
    border-radius: 20px;
}
.scrollable-gallery figure:last-child{
    margin-bottom: 0;
}
.single-event.main-gallery .scrollable-gallery{
    height: auto;
}
.main-gallery img {
    border-radius: 40px;
}
.main-gallery .main-video iframe{
    width: 750px;
    height: 450px;
    border-radius: 20px;
}
.main-gallery .scrollable-gallery{
    height: 450px;
    overflow: auto;
}

.scrollable-gallery figure{
    position: relative;
    margin-bottom:24px;
}
.scrollable-gallery figure.wp-block-image.size-large:hover:after{
    opacity: 1;
}
.scrollable-gallery figure.wp-block-image.size-large:after {
    content: url('../img/youtube-icon.png');;
    font-family: "Font Awesome 6 Brands";
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 35%;
    opacity:0.5;
    cursor:pointer;
    transition:all 0.25s ease;
}
.main-gallery .scrollable-gallery::-webkit-scrollbar{
    width: 10px;
    height: 5px;
}
.office-gallery .scrollable-images::-webkit-scrollbar{
    height:10px;
}
.main-gallery .scrollable-gallery::-webkit-scrollbar-track,.office-gallery .scrollable-images::-webkit-scrollbar-track{
    background: #fff;
    border-radius: 0 20px 20px 0;
}
.main-gallery .scrollable-gallery::-webkit-scrollbar-thumb,.office-gallery .scrollable-images::-webkit-scrollbar-thumb{
    background: #D8D8D8;
    border-radius: 20px;
}
.main-gallery .scrollable-gallery img{
    cursor: pointer;
}
.main-gallery .wp-block-video video{
    border-radius: 20px;
}
.past-events-outer h2{
    padding-bottom: 45px;
}
.past-events.owl-carousel:not(.owl-loaded){
    opacity: 0;
}
.past-events.owl-carousel{
    display: grid;
    gap:24px;
    grid-template-columns: 1fr 1fr 1fr;
}
.past-events.owl-carousel .owl-stage,.past-events.owl-carousel .owl-item{
    display: flex;
    padding-bottom: 20px;
    /*justify-content: center;*/
}
.past-events .event-box{
    border-radius: 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}
.past-events .owl-item.active.center .event-box{
    box-shadow: 0px 10px 17px 0px rgba(0, 0, 0, 0.16);
}
.past-events .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0;
    background: #cbcbcb;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity .2s ease;
    border-radius: 30px;
}
.past-events .owl-dots .owl-dot.active span {
    background: #003be5;
}
.past-events .owl-dots {
    text-align: center;
    margin-top: 15px;
}
.past-events .owl-dots .owl-dot {
    border: 0;
    padding: 0 2px;
    background-color: transparent;
}
.past-events .event-box h3{
    font-size: 18px;
    color: #000A26;
    font-weight: 700;
    margin: 0;
    text-align: center;
    padding: 20px 0 10px;
}
.past-events .owl-item .event-box{
    background: #fff;
    width: 100%;
}

.past-events .event-thumbnail{
    text-align: right;
}
.past-events .event-thumbnail img{
    width: 100% !important;
    margin-left: auto;
}
.past-events .view-more-btn{
    font-size: 14px;
    color: #003BE5;
    text-align: center;
    text-decoration: none;
    padding-bottom: 20px;
}
.past-events .owl-next {
    position: absolute;
    right: 20px;
    top: 140px;
    border-radius: 50px;
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-color: #fff;
    border-style: unset;
    font-weight: 900;
}
.past-events .owl-prev {
    display: none;
}

#gallery-lightbox{
    background-color: #fff;
    padding: 40px;
    border-radius: 40px;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}
#gallery-lightbox img{
    border-radius: 20px;
    cursor: pointer;
    max-height: 205px;
}
#galleryModal .carousel-control-prev-icon,#galleryModal .carousel-control-next-icon{
    width: 14px;
    /*background-color: #fff;*/
    color: #003BE5;
    border-radius: 50px;
    /*box-shadow: 0px 3px 6px #00000029;*/
}
#galleryModal img{
    height: 610px;
    border-radius: 20px;
}
#galleryModal{
    top:16%;
}
.carousel-control-prev, .carousel-control-next{
    background-color: #fff;
    border-radius: 50px;
    height: 40px;
    width: 40px;
    opacity: 1;
    top: 48%;
}
#galleryModal .fa-chevron-left,#galleryModal .fa-chevron-right{
    color: #003BE5;
    font-size: 14px;
    font-weight: 700;
}
.carousel-control-prev{
    left: -20px;
}
.carousel-control-next{
    right: -20px;
}
#galleryModal .modal-dialog{
    max-width: 980px;
}
#gallery-carousel .carousel-item{
    transition-property: auto;
}
.office-gallery{
    flex-wrap: wrap !important;
}
.office-gallery .wp-block-column{
    flex-basis: 100% !important;
}
.office-gallery .scrollable-images{
    overflow: auto;
    white-space: nowrap;
}
.office-gallery .scrollable-images figure{
    display: inline-block;
    margin-right: 27px;
    margin-bottom: 10px;
}
.office-gallery .scrollable-images figure:last-child{
    margin-right: 0;
}
.office-gallery .scrollable-images figure img{
    height:170px;
    width: auto;
    border-radius: 20px;
}
.office-gallery .main-office-img img{
    width: 100%;
    height: 630px;
}
.office-gallery .main-office-img img{
    border-radius: 20px;
}
@media screen and (min-width:1024px){
    .past-events.owl-carousel{
        display:block;
    }
}
.past-events .event-thumbnail img{
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

.faqs-description>p{
    font-size:0;
}
@media screen and (max-width: 576px){
    .main-gallery .main-video iframe {
        width: 100%;
        height: 180px;
    }
    .main-gallery{
        margin: 24px 10px 0 !important;
        border-radius: 20px !important;
        padding: 16px !important;
        gap: 16px !important;
    }
    .main-gallery .wp-block-video video {
        border-radius: 5px;
    }
    .scrollable-gallery figure.wp-block-image.size-large:after {
        bottom: 17%;
    }
    .scrollable-gallery figure.wp-block-image.size-large:before{
        border-radius: 10px;
    }
    #gallery-lightbox{
        border-radius: 20px;
        padding: 16px;
        gap: 7px !important;
    }
    #gallery-lightbox img{
        height: 60px;
        border-radius: 5px;
    }
    .main-gallery img {
        border-radius: 20px;
    }
    .main-gallery .scrollable-gallery .wp-block-gallery{
        display: block;
        white-space: nowrap;
        overflow: auto;
    }
    .main-gallery .scrollable-gallery figure.wp-block-image{
        margin-bottom: 8px;
    }
    .main-gallery .scrollable-gallery figure.wp-block-image img{
        height: 80px !important;
        border-radius: 10px !important;
    }
    .main-gallery .scrollable-gallery{
        height: 70px;
    }
    .main-gallery .wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image){
        width: 33.33%;
        margin-right: 16px;
    }
    .scrollable-gallery figure{
        display: inline-block;
    }
    .main-gallery .scrollable-gallery {
        height: auto;
        overflow: auto;
        white-space: nowrap;
    }
    .main-gallery .scrollable-gallery .wp-block-video video {
        height: 60px;
    }
    .past-events .owl-dots .owl-dot {
        border: 0;
        padding: 0 2px;
        background-color: transparent;
    }
    .past-events .owl-dots .owl-dot.active span {
        background: #003BE5;
    }
    .past-events .owl-dots .owl-dot span {
        width: 10px;
        height: 10px;
        margin: 0;
        background: #8F8F8F;
        display: block;
        -webkit-backface-visibility: visible;
        transition: opacity .2s ease;
        border-radius: 30px;
    }
    .past-events .owl-dots {
        text-align: center;
        position: absolute;
        left: 0;
        right: 0;
        z-index: 99;
        bottom: -5px;
    }
    .past-events.owl-carousel .owl-stage{
        display: block;
    }
    .past-events .event-box {
        border-radius: 20px;
    }
    .past-events-outer h2 {
        padding-bottom: 24px;
    }
    .past-events-outer{
        padding-bottom: 40px;
    }
    #galleryModal .modal-dialog {
        max-width: 87%;
        margin: 0 auto;
    }
    #galleryModal img {
        height: 210px;
    }
    #galleryModal .fa-chevron-left, #galleryModal .fa-chevron-right{
        font-size: 8px;
        line-height: 34px;
    }
    .carousel-control-prev, .carousel-control-next {
        height: 14px;
        width: 14px;
    }
    .carousel-control-next {
        right: -8px;
    }
    .carousel-control-prev {
        left: -8px;
    }
    .outer-main-gallery{
        padding-top: 40px !important;
    }
    .office-gallery{
        padding: 16px !important;
        border-radius: 20px !important;
    }
    .office-gallery .main-office-img img {
        height: 180px;
        border-radius: 20px;
    }
    .office-gallery .scrollable-images figure img{
        height: 63px;
        border-radius: 10px;
    }
    .office-gallery .scrollable-images figure{
        margin-right: 16px;
    }
    .office-gallery .scrollable-images::-webkit-scrollbar{
        height:7px;
    }
    .office-gallery .wp-block-column{
        gap: 16px !important;
    }
    .outer-maps{
        padding: 16px !important;
        border-radius: 20px !important;
    }
    .outer-maps h3{
        padding-bottom: 8px !important;
    }
    .store-locator_nav{
        min-height: 290px !important;
    }
    .outer-office-gallery p{
        padding-bottom: 8px !important;
    }
}
@media screen and (min-width: 577px) and (max-width: 781px){
    .scrollable-gallery figure{
        display: inline-block;
    }
    .main-gallery .scrollable-gallery, .main-gallery img{
        overflow: auto;
        white-space: nowrap;
        height: 200px !important;
    }
    .office-gallery{
        padding: 16px !important;
        border-radius: 20px !important;
    }
    .office-gallery .main-office-img img {
        height: 180px;
        border-radius: 20px;
    }
    .office-gallery .scrollable-images figure img{
        height: 63px;
        border-radius: 10px;
    }
    .office-gallery .scrollable-images figure{
        margin-right: 16px;
    }
    .office-gallery .scrollable-images::-webkit-scrollbar{
        height:7px;
    }
}
@media screen and (min-width: 577px) and (max-width: 1024px) {
    .main-gallery .main-video iframe {
        height: 300px;
    }
    .main-gallery .scrollable-gallery{
        height: 300px;
    }
    .scrollable-gallery figure.wp-block-image.size-large:after{
        font-size: 40px;
        color:rgba(255,0,0,1);
    }
    .main-gallery img{
        height: auto;
    }
    .main-gallery{
        margin: 32px 15px 0!important;
        border-radius: 20px !important;
        padding: 24px !important;
        gap: 16px !important;
    }
    .outer-gallery h2{
        font-size: 40px !important;
    }
    .main-gallery img {
        border-radius: 20px;
    }
    .past-events-outer h2{
        padding-bottom: 32px;
    }
    .past-events.owl-carousel{
        grid-template-columns: 1fr 1fr;
        opacity: 1 !important;
    }
    #gallery-lightbox{
        padding: 24px;
        border-radius: 20px;
        gap: 13px !important;
    }
    #gallery-lightbox img {
        border-radius: 10px;
        height: 126px;
    }
    #galleryModal .modal-dialog {
        max-width: 92%;
    }
    #galleryModal img {
        height: 440px;
    }
    .carousel-control-prev, .carousel-control-next {
        height: 30px;
        width: 30px;
    }
    .carousel-control-next {
        right: -14px;
    }
    .carousel-control-prev {
        left: -14px;
    }
    #galleryModal .fa-chevron-left, #galleryModal .fa-chevron-right{
        font-size: 12px;
        line-height: 34px;
    }
    .outer-main-gallery{
        padding-top: 64px !important;
    }
}