.gallery_module ul {
    padding: 0;
    list-style: none;
}

ul.gallery_tab_items li {
    display: inline-block;
    margin: 0px 2.4rem;
    font-size: 1.6rem;
    text-transform: uppercase;
}
.gallery_tabs {
    overflow: hidden;
    overflow-x: scroll;
    position: relative;
    margin-bottom: 3.2rem;
}
.gallery_tabs::-webkit-scrollbar {
    display: none;
}
.gallery-top-content {
    margin-bottom: 2.5rem;
}
ul.gallery_tab_items {
    white-space: nowrap;
    padding-right: 100%;
    box-sizing: content-box;
    margin: 0;
}
ul.gallery_tab_items li a {
    line-height: 6.5rem;
    text-decoration: none;
    position: relative;
    font-weight: bold;
}
ul.gallery_tab_items li a:after {
    opacity: 0;
    content: '';
    width: 0%;
    height: 0.2rem;
    position: absolute;
    background: white;
    bottom: -0.3rem;
    left: 0;
}
ul.gallery_tab_items li.active a:after {
    width: 100%;
    opacity: 1;
}
ul.gallery_tab_items li a:hover:after {
    width: 100%;
    opacity: 1;
}
.gallery_tab_content {
    display: none;
}
.gallery_tab_content.active {
    display: block;
}
.gallery_tab.active a {
    cursor: default;
}
.gallery_tab:first-child {
    margin-left: 0;
}
.tabcontent_subtitle,
.tabcontent_title {
    text-transform: uppercase;
    margin-top: 0.5rem;
}
.gallery_text {
    margin-top: 6rem;
}
.gallery_module .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}
.gallery_item .media,
.gallery_item .cdm_vid {
    height: 100%;
}

.gallery_item video {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
}

.custom-cursor {
    position: absolute;
    height: 12.8rem;
    width: 12.8rem;
    border-radius: 50%;
    background-color: #ff590fc9;
    pointer-events: none;
    z-index: 999;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: var(--font_family_sec);
    padding: 1.2rem;
    display: none;
}

[data-cursor-title] {
    cursor: none;
}

@media screen and (max-width: 1000px) {
    .gallery-top-content {
        margin-bottom: 0rem;
    }

    .gallery-top-content h3 {
        font-size: var(--fontsize_s);
    }

    section.gallery_module {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .gallery_text {
        margin-top: 3.2rem;
    }
}
@media screen and (max-width: 1200px) {
    .gallery_tab_content .gallery {
        padding-left: 1.6rem;
    }
}

@media screen and (min-width: 769px) {
    ul.gallery_tab_items li a:after {
        transition: 0.3s ease-in-out;
    }
}
