:root {
    --gallery-light-gray: #747D94;
    --gallery-light-gray-2: #E1E7EF;
    --gallery-blue: #061346;
    --gallery-black-blue: #160776;
}

/*START VIDEO MODAL*/

.video_gallery_placeholder {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    backdrop-filter: blur(1px);
}

.video_gallery_placeholder__content {
    max-width: calc(100% - 32px);
    position: relative;
    box-shadow: 0 3px 10px 4px rgb(0,0,0,.3);
}

.video_gallery_placeholder__close {
    position: absolute;
    right: -8px;
    top: -8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: white;
    transform: translateX(100%) translateY(-100%);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-shadow: 0 3px 6px 2px rgb(0,0,0,.2);
}

.video_gallery_placeholder__close span {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='x'%3E%3Cpath id='Vector' d='M12 4L4 12' stroke='%231C2642' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath id='Vector_2' d='M4 4L12 12' stroke='%231C2642' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    width: 16px;
    height: 16px;
}

.video_gallery_placeholder__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    max-width: 100%;
    width: 820px;
}

.video_gallery_placeholder__wrapper iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*END VIDEO MODAL*/


.video_gallery__wrapper .slick-arrow {
    z-index: 1;
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: black;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    color: transparent;
    overflow: hidden;
    border: none;
}

.video_gallery__wrapper .slick-prev, .video_gallery__wrapper .slick-prev:hover, .video_gallery__wrapper .slick-prev:focus {
    left: initial;
    right: 2px;
    top: 47%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M15 18L9 12L15 6" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-color: black!important;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.video_gallery__wrapper .slick-prev.slick-disabled {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g opacity="0.5"><path d="M15 18L9 12L15 6" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g></svg>');
    background-color: black;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.video_gallery__wrapper .slick-next, .video_gallery__wrapper .slick-next:hover, .video_gallery__wrapper .slick-next:focus {
    top: 47%;
    right: -38px;
    z-index: 1;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9 18L15 12L9 6" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-color: black!important;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.video_gallery__wrapper .slick-next:before,  .video_gallery__wrapper .slick-prev:before {
    content: none;
}

.video_gallery__wrapper .slick-next:hover,  .video_gallery__wrapper.slick-prev:hover {
}

.video_gallery__wrapper .slick-next.slick-disabled:before,  .video_gallery__wrapper.slick-prev.slick-disabled:before {
    opacity: initial;
    content: none;
}

.video_gallery__wrapper .slick-next.slick-disabled:hover,  .video_gallery__wrapper.slick-prev.slick-disabled:hover {
    opacity: initial;
    background-color: black!important;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.video_gallery__wrapper .slick-next.slick-disabled {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g opacity="0.5"><path d="M9 18L15 12L9 6" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g></svg>');
    background-color: black;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.video_gallery__wrapper .slick-track {
    display: flex;
    gap: 24px;
    max-height: initial;
    margin: 0;
}


.video_gallery__wrapper {
    position: relative;
}

.video_gallery__image:after {
    display: block;
    content: '';
    width: 46px;
    height: 46px;
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: no-repeat 50% 50% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="47" height="47" viewBox="0 0 47 47" fill="none"><rect x="0.599609" y="0.772949" width="46" height="46" rx="23" fill="white"/><path d="M19.7656 16.1063L31.2656 23.773L19.7656 31.4397V16.1063Z" fill="%23F13240"/></svg>');
}

.video_gallery__item.hovered .video_gallery__image:after {
    background: no-repeat 50% 50% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="47" height="47" viewBox="0 0 47 47" fill="none"><rect x="0.599609" y="0.772949" width="46" height="46" rx="23" fill="%23F13240"/><path d="M19.7656 16.1063L31.2656 23.773L19.7656 31.4397V16.1063Z" fill="white"/></svg>');
}

.video_gallery__item.hovered h3, .video_gallery__item.hovered .video_gallery__item-category {
    text-decoration: underline;
}

.video_gallery__title {
}

.video_gallery__carousel {
    overflow-x: hidden;
    position: initial!important;
    display: flex;
    gap: 24px;
}

.video_gallery__carousel * {
    text-wrap: balance;
    position: relative;
}


.video_gallery__item {
    width: 269px;
    min-width: 268.5px;
    border-radius: 4px;
    border-style: solid;
    border-color: var(--greys-grey-300-divider, #e0e0e0);
    border-width: 1px;
    display: inline-block;
    cursor: pointer;
}

.video_gallery__wrapper .slick-initialized.slick-slider {
    display: block;
}

.video_gallery__item-content .video_gallery__item-duration, .video_gallery__space {
    display: none;
}

.video_gallery__item-duration {
    font-family: Barlow, sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    color: white;
    padding: 3px 6px 4px 6px;
    width: 40px;
    height: 17px;
    position: absolute;
    background: black;
    opacity: .6;
    bottom: 14px;
    right: 12px;
}

.video_gallery__image {
    width: 100%;
    height: 148px;
    position: relative;
}

.video_gallery__image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.video_gallery__item-content {
    height: 129px;
    padding: 12px 16px;
    flex-direction: column;
    display: flex;
    position: relative;
}

.video_gallery__item-category {
    display: inline;
    font-family: Barlow, sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #f13240;
    padding: 0 0 0 12px;
    margin: 0 0 6px;
    background: no-repeat left center url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg fill="none" viewBox="0 0 5 11" xmlns="http://www.w3.org/2000/svg"><path d="m1.7846 0.98593c0.01825-0.15924 0.15616-0.27748 0.31632-0.27121l2.3604 0.092396c0.17857 0.00699 0.31327 0.16472 0.29222 0.34218l-1.0779 9.0857c-0.01883 0.1587-0.15649 0.2763-0.31618 0.27l-2.3242-0.0909c-0.17809-7e-3 -0.31265-0.164-0.29236-0.341l1.0416-9.0872z" fill="%23F13240"/></svg>');
    background-size: 7px;
    line-height: 11px;
}

.video_gallery__item-title {
    font: 600 16px/130% "Barlow", sans-serif!important;
    max-height: 74px;
    overflow-y: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.video_gallery__item-title:hover, .video_gallery__item-category:hover {
    text-decoration: underline;
}

.video_gallery__item-date {
    font: 600 10px/100% "Barlow", sans-serif;
    text-transform: uppercase;
    color: #757575;
    position: absolute;
    bottom: 16px;
}

/*START PROGRESS*/
.video_gallery__sr-only {
    clip: rect(0,0,0,0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.video_gallery__progress {
    display: block;
    width: 100px;
    height: 4px;
    border-radius: 10px;
    overflow: hidden;
    margin: 16px auto;

    background-color: #E0E0E0;
    background-image: linear-gradient(to right, #010000, #010000);
    background-repeat: no-repeat;
    background-size: 0 100%;

    transition: background-size .4s ease-in-out;
}
/*END PROGRESS*/

/*START DARK THEME*/
.video_gallery__wrapper.dark {
    background-color: #090040;
}

.video_gallery__wrapper.dark .video_gallery__title{
    color: white;
}

.video_gallery__wrapper.dark .video_gallery__item {
    background-color: var(--gallery-black-blue);
}

.video_gallery__wrapper.dark .video_gallery__item-title,
.video_gallery__wrapper.dark .video_gallery__item-category,
.video_gallery__wrapper.dark .video_gallery__item-date {
    color: white;
}
/*END DARK THEME*/


@media only screen and (max-width: 992px) {
    .video_gallery__item {
        margin-right: -8px;
    }

    .video_gallery_placeholder__close {
        right: 32px;
        top: -20px;
    }

    @media (orientation: landscape) {
        .video_gallery_placeholder__close {
            z-index: 2;
            top: 32px;
        }
    }

}