#gallery-ads {
    position: relative;
    top: 100px;
    opacity: 0;
    z-index: -1;
    transition: .5s ease-out;
}

#gallery-ads.show {
    opacity: 1;
    z-index: 0;
}

#gallery-ads li a {
    padding-block: 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gallery-ads li {
    transition: none;
    width: 50%;
}

#gallery-ads li a:not(.active) {
    color: rgb(117, 117, 117);
}

#gallery-ads .switch-platform {
    box-shadow: none;
    display: flex;
    column-gap: 20px;
}

#gallery-ads .switch-platform .btn-check:checked+.btn {
    box-shadow: none;
    background-color: #204496;
    color: white;
}

#gallery-ads .switch-platform .btn-check:checked+.btn img {
    filter: invert(1);
}

#gallery-ads .switch-platform label {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 10px;
    width: 100%;
    height: 40px;
    font-size: 12px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px !important;
    background-color: white;
}

#gallery-ads .switch-platform label img {
    width: 20px;
}

#gallery-ads .choose-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 16px;
    align-items: center;
}

#gallery-ads .select2 {
    border-radius: 10px;
    border: none;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    height: 40px !important;
    width: 100% !important;
    background-color: #eeeeee;
}

#gallery-ads .select2-selection {
    border: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 8px;
}

#gallery-ads .select2-selection__arrow {
    top: 8px;
    right: 8px;
}

#performance-form .switch-platform .select2-selection {
    height: auto;
}

#performance-form .switch-platform .select2-selection__rendered {
    font-size: 12px;
    line-height: 14px !important;
}

#performance-form .switch-platform .select2-selection__arrow {
    height: 12px !important;
}

.galleries {
    opacity: 0;
    display: none;
    transition: .3s ease-out;
}

.galleries.show {
    opacity: 1;
    display: block;
}

.galleries .thumbnail {
    padding: 12px;
    display: flex;
    justify-content: center;
}

.galleries .thumbnail img {
    object-fit: cover;
}

.galleries .nav-link.active {
    background-color: #204496;
    color: white;
    border-bottom: 1px solid #204496;
}

.galleries .nav-link.active img {
    filter: invert(1) !important;
}

/* Search */

#search-modal .tab-pane {
    transition: .1s ease-out;
}

#search-container {
    width: auto;
    background: linear-gradient(135deg, rgba(90, 72, 161, 1) 0%, rgba(36, 58, 138, 1) 100%);
}

/* Select2 */

.select2-selection {
    border: 0 !important;
}

.select2-container .select2-dropdown {
    border: none !important;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 0 0 7px 7px;
    overflow: hidden;
}

.select2-results__option--selectable,
.select2-container .select2-selection__rendered {
    font-size: 14px;
}

.select2-container--disabled .select2-selection__rendered,
.select2-container--disabled .select2-selection,
#performance-form .btn-check:disabled+.btn {
    background-color: #f3f3f3 !important;
    color: #8d8d8d !important;
    opacity: 1;
}

.btn-check:disabled+.btn img {
    filter: invert(.6);
}

/* Swiper */
#bundle-swiper .swiper img {
    height: 200px;
    max-width: 250px;
    object-fit: contain;
}

#bundle-swiper .swiper small {
    font-size: 12px;
}

#bundle-swiper .swiper .swiper-button-next:after,
#bundle-swiper .swiper .swiper-button-prev:after {
    font-size: 18px;
    color: black;
}

#bundle-swiper .swiper .swiper-button-next,
#bundle-swiper .swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/* Media Queries */

@media only screen and (max-width: 992px) {
    #gallery-ads .switch-platform {
        column-gap: 10px;
    }

    #gallery-ads .switch-platform label {
        font-size: 10px;
    }

    #gallery-ads .switch-platform label img {
        width: 16px;
    }
}

@media only screen and (max-width: 768px) {
}

@media only screen and (max-width: 576px) {

    #gallery-ads li {
        width: 100%;
    }

    #gallery-ads .switch-platform {
        column-gap: 10px;
    }

    #gallery-ads .switch-platform label {
        display: block;
        padding-block: 4px;
        font-size: 8px;
    }

    #gallery-ads .switch-platform label span {
        display: block;
    }

    #gallery-ads .choose-group {
        flex-direction: column;
    }
}