@use "mixins/mixins-master" as *;
@use "mixins/flex" as *;
@use "variables" as *;
.thim-sc-gallery {
    .filter-controls {
        list-style: none;
        margin: 0 0 30px;
        text-align: center;
    }

    .filter-controls li {
        display: inline-block;
        vertical-align: middle;
        margin: 0 15px;
        text-transform: uppercase;
        a {
            font-size: 16px;
            position: relative;
            font-weight: 500;
            padding-bottom: 5px;
            &:after {
                position: absolute;
                height: 2px;
                width: 100%;
                left: 0;
                bottom: 0;
                content: "";
                background-color: transparent;
                transition: all 0.5s;
            }
        }
    }

    .thim-gallery-popup {
        display: block;
        position: relative;
        border-radius: $thim_border_radius;
        overflow: hidden;
        &:before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            right: 0;
            opacity: 0;
            visibility: hidden;
            z-index: 1;
            transition: all 0.3s ease 0s;
            background-color: rgba(0, 0, 0, 0.7);
            border-radius: $thim_border_radius;
        }
        &:hover:before,
        &:hover span {
            opacity: 1;
            visibility: visible;
        }

        span {
            cursor: pointer;
            left: 0;
            position: absolute;
            right: 0;
            width: 50px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            top: 50%;
            transform: translateY(-50%);
            visibility: hidden;
            opacity: 0;
            z-index: 9;
            font-size: 30px;
            margin: 0 auto;
            color: #fff;
        }
    }
}

.thim-sc-gallery .thim-gallery-popup.loading span:before {
    position: absolute;
    -webkit-animation: fa-spin 1s infinite steps(8);
    animation: fa-spin 1s infinite steps(8);
    content: "\f110";
    transition: none;
    font-size: 24px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    margin-left: -12px;
    margin-top: 12px;
    color: #fff !important;
}

.thim-sc-gallery .thim-gallery-show {
    display: none;
}
