.scarousel-container {
    /* -webkit-border-radius: 4px 0px 0px 4px; */
    /* border-radius: 4px 0px 0px 4px; */
    height: max-content;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    align-content: start;
    overflow: hidden;
    position: relative;
}
.scarousel-multi-icon-container{
    content: "";
    background: rgba(53, 53, 53, 0.6);
    border-radius: 4px;
    bottom: 6px;
    right: 6px;
    height: 32px;
    width: 32px;
    position: absolute;
    z-index: 1;
}
.scarousel-multi-icon{
    bottom: 11px;
    height: 22px !important;
    right: 11px;
    position: absolute;
    object-fit: fill;
    width: 22px !important;
    z-index: 2;
}
.scarousel-break {
    flex-basis: 100%;
    width: 0;
}
.scarousel-see-more {
    position: absolute;
    z-index: 1;
    bottom: 12px;
    right: 12px;
    background: #fff;
    border: 1px solid #0066b3;
    color: #0066b3;
    text-transform: uppercase;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    padding: 10px 15px 8px 15px;
    border-radius: 4px;
    font-weight: 900;
    letter-spacing: 1px;
    text-decoration: none;
}
.scarousel-backdrop {
    background: rgba(50, 50, 50, 0.5);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 100000;
}
.scarousel-popup-button {
    vertical-align: middle;
    font-size: 20px;
    line-height: 22px;
    padding: 10px 15px;
    background: #004074;
    color: #fff !important;
    font-weight: 900;
    border-radius: 30px;
    margin: 6px;
    text-decoration: none !important;
}
.scarousel-close {
    display: inline-block;
    font-size: 24px;
    line-height: 26px;
    text-align: right;
    right: 20px;
    position: absolute;
    color: #333;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}
.scarousel-close:hover, .scarousel-close:active {
    text-decoration: none;
    opacity: 0.9;
}
.scarousel-popup-button:hover, .scarousel-popup-button:active {
    opacity: 0.9;
    color: #eee;
    text-decoration: none;
}
.scarousel-popup {
    background: #fff;
    text-align: center;
    margin: 40px auto 0 auto;
    padding: 20px;
    width: 90%;
    max-height: 90%;
    z-index: 100001;
    position: relative;
}
.scarousel-popup img {
    width: 600px;
    height: 400px;
    max-height: 400px;
    object-fit: cover;
    /* object-fit: none; */
    background-color: #353535;
}
.scarousel-see-more:hover, .scarousel-see-more:active {
    background: #eee;
    border: 1px solid #5096f3;
    color: #3076d3;
    text-decoration: none !important;
}
.scarousel-photo-large {
    width: 100%;
    height: 100%;
    background-color: #353535;
    text-align: center;
}
.scarousel-photo-small {
    width: 187px;
    height: 126px;
}
.scarousel-photo:hover {
    opacity: 0.92;
}
.scarousel-photo {
    flex: 0 0 auto;
    margin-right: 12px;
    overflow: hidden;
    display: inline-block;
}
.scarousel-photo img {
    display: inline-block;
    max-width: 366px;
    object-fit: contain;
    max-height: 280px;
}
.scarousel-clear {
    content: "";
    display: table;
    clear: both;
    zoom: 1;
}
.scarousel-selected {
    opacity: 1.0 !important;
}
.scarousel-thumbnails {
    width: 100%;
    overflow: hidden;
    margin-top: 16px;
}
.scarousel-thumbnail:hover {
    opacity: 0.9 !important;
}
.scarousel-thumbnail {
    display: inline-block;
    margin-right: 5px;
    opacity: 0.5;
    width: 110px;
    height: 70px;
}
.scarousel-thumbnail img {
    border: 1px solid #fff;
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.scarousel-selected img {
    border: 1px solid #333;
}

/* Modal */

.modal-carousel-container{
    height: auto;
    display: flex;
}

.scarousel-modal {
    background: #333;
    border-radius: 4px;
    font-size: 0;
    height: 350px;
    line-height: 0;
    margin: auto;
    margin-bottom: 2.5%;
    margin-top: 2.5%;
    padding-top: 0;
    position: relative;
    width: 95% !important;
}
.scarousel-modal-scroll {
    border-radius: 4px;
    width: auto;
    height: 100%;
    overflow: scroll;
    display: flex;
    flex-wrap: nowrap;
    scroll-snap-type: mandatory;
    scroll-snap-points-y: repeat(100%);
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
}

.scarousel-modal-scroll::-webkit-scrollbar {
    display: none;
}
.scarousel-modal img {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    scroll-snap-align: start;
}
.scarousel-modal-controls {
    display: block;
    position: absolute;
    bottom: 10px;
    text-align: center;
    margin: 0 auto;
}
.scarousel-modal-count {
    display: block;
    position: absolute;
    z-index: 1;
    right: 10px;
    bottom: 10px;
    background: rgba(40, 40, 40, 0.6);
    color: #fff;
    font-weight: normal !important;
    padding: 4px 6px;
    border-radius: 4px;
    text-align: right;
    font-size: 15px;
    line-height: 17px;
}

.scarousel-modal-popup-button {
    position: absolute;
    vertical-align: middle;
    font-size: 14px;
    line-height: 22px;
    padding: 5px 11px;
    background: rgba(255, 255, 255, 0.9);
    color: #0066B3;
    font-weight: 900;
    border-radius: 30px;
    margin: 6px;
    text-decoration: none;
}

.scarousel-modal-popup-button:hover, .scarousel-modal-popup-button:active, .scarousel-modal-popup-button:visited, .scarousel-modal-popup-button:focus {
    text-decoration: none;
}

.scarousel-modal-popup-button-left{
    top: 45%;
    left: 0;
}

.scarousel-modal-popup-button-right{
    top: 45%;
    right: 0;
}

/* End Modal */

@media only screen and (max-width: 600px) {
    .scarousel-mobile {
        position: relative;
        background: #333;
        border-radius: 4px;
        font-size: 0;
        line-height: 0;
        width: 100% !important;
        padding: 0;
        margin: 0;
        height: calc(100vw / 1.5);
    }
    .scarousel-scroll {
        border-radius: 4px;
        width: auto;
        height: 100%;
        overflow: scroll;
        display: flex;
        flex-wrap: nowrap;
        scroll-snap-type: mandatory;
        scroll-snap-points-y: repeat(100%);
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }
    .scarousel-scroll::-webkit-scrollbar {
        display: none;
    }
    .scarousel-mobile img {
        box-sizing: border-box;
        width: 100% !important;
        min-width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        scroll-snap-align: start;
    }
    .scarousel-mobile-controls {
        display: block;
        position: absolute;
        bottom: 10px;
        text-align: center;
        margin: 0 auto;
    }
    .scarousel-mobile-count {
        display: block;
        position: absolute;
        z-index: 1;
        right: 10px;
        bottom: 10px;
        background: rgba(40, 40, 40, 0.6);
        color: #fff;
        font-weight: normal !important;
        padding: 4px 6px;
        border-radius: 4px;
        text-align: right;
        font-size: 15px;
        line-height: 17px;
    }
    .scarousel-modal-scroll {
        overflow: auto;
    }
}
