#modal-show-work.loading-overlay,
#preview-modal.loading-overlay {
    height: 90vh;
    width: 100%;
}

#modal-show-work .spinner,
#preview-modal .spinner {
    display: none;
    border: 6px solid rgba(0, 0, 0, 0.1);
    border-left-color: #333;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 54%;
    margin-left: -50px;
    margin-top: -50px;
    text-align: center;
    z-index: 1234;
    overflow: auto;
}

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

    #modal-show-work .spinner,
    #preview-modal .spinner {
        border: 4px solid rgba(0, 0, 0, 0.1);
        border-left-color: #333;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        left: 58%;
    }
}

#modal-show-work.loading-overlay .spinner,
#preview-modal.loading-overlay .spinner {
    display: block;
}

#modal-show-work.loading-overlay .product-content,
#preview-modal.loading-overlay .product-content {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#modal-show-work .carousel-control-next,
#modal-show-work .carousel-control-prev {
    width: 20px;
}

#modal-show-work .carousel-control-prev-icon,
#modal-show-work .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

#modal-show-work .carousel-item {
    height: 100%;
    transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out !important;
}

#modal-show-work.remodal .product-content .title>.name {
    width: 92%;
}

#modal-show-work .carousel-inner {
    height: 100%;
}

#modal-show-work .carousel-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-show-work .carousel-image img {
    width: 100%;
    height: 100%;
}

#modal-show-work .artist .show_more2 {
    background: linear-gradient(180deg, rgb(255, 255, 255, 0) 0%, rgb(255 255 255) 65%) !important
}

.remodal-work-image {
    position: relative;
}

#modal-show-work .carousel-control-prev-icon,
#modal-show-work .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

#modal-show-work .carousel-control-prev-icon {
    background-image: url(/images/img-renew2022/icon/arrow-btn.svg) !important;
    transform: scale(-1, 1);
}

#modal-show-work .carousel-control-next-icon {
    background-image: url(/images/img-renew2022/icon/arrow-btn.svg) !important;
}

#modal-show-work .carousel-control-prev {
    left: -4rem !important;
}

#modal-show-work .carousel-control-next {
    right: -4rem !important;
}

#modal-show-work .artist .show_more2 {
    background: linear-gradient(180deg, rgb(255, 255, 255, 0) 0%, rgb(255 255 255) 65%) !important;
}

#modal-show-work .show_more2 {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 24px;
    padding-top: 24px;
    text-align: center;
    line-height: 24px;
    background: linear-gradient(180deg, rgb(255, 255, 255, 0) 0%, rgb(255 255 255) 65%);
    cursor: pointer;
    transition: bottom 0.2s;
    font-size: 0.7rem;
    padding-left: 6px;
}

#modal-show-work .show_more2:before {
    position: absolute;
    content: "";
    width: 100px;
    height: 24px;
    border: 1px solid #cbcbcb;
    left: calc(50% - 50px);
    border-radius: 12px;
    z-index: -1;
}

#modal-show-work .show_more:after,
#modal-show-work .show_more2:after {
    position: absolute;
    content: url(/images/img/icon-img/arrow_readmore.png);
    left: calc(50% - 40px);
}

.swal2-container {
    z-index: 10001 !important;
}

#modal-show-work {
    .border-x {
        border-left: 1px solid #dadcdf !important;
        border-right: 1px solid #dadcdf !important;
    }

    .marks {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 20px 0 30px;
        flex-wrap: wrap;
    }

    .product-data .price {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

    .product-data .price .price_head {
        color: #877012;
        display: inline-block;
        margin-right: 1rem;
    }

    .product-data .price .include_tax {
        font-size: 0.875rem;
    }

    .product-data .add_cart {
        background: #494949;
        color: #FFF;
        padding: 0.4rem 3.5rem;
        border-radius: 4px;
        -webkit-transition: all 0.4s ease-in-out;
        -o-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
    }

    .marks .icons {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .marks .icons>div {
        min-width: 80px;
        text-align: center;
        font-size: 0.8rem;
        font-weight: 600;
        color: #666666;
    }

    .marks .icons.icons-yellow .guarantee {
        background-image: url(/images/img-main2023/icon/guarantee_ylw.png);
    }

    .marks .icons .guarantee {
        padding-top: 55px;
        background: url(/images/img-main2023/icon/guarantee.png);
        background-repeat: no-repeat;
        width: 54px;
        height: 44px;
        background-position: center top;
    }

    .marks .icons.icons-yellow .certificate {
        background-image: url(/images/img-main2023/icon/certificate_ylw.png);
    }

    .marks .icons .certificate {
        padding-top: 55px;
        background: url(/images/img-main2023/icon/certificate.png);
        background-repeat: no-repeat;
        width: 36px;
        height: 50px;
        background-position: center top;
    }

    .marks .icons .gallery {
        padding-top: 55px;
        background: url(/images/img-main2023/icon/gallery.png);
        background-repeat: no-repeat;
        width: 55px;
        height: 36px;
        background-position: center top;
    }

    .marks .buttons {
        margin-top: 0.5rem;
    }

    .btn_guarantee {
        border: 2px solid #c3c3c3;
        font-size: 0.78rem;
        padding: 5px 10px;
        color: #5f656c !important;
    }

    .product-data .nav-tabs .nav-link.active {
        background-color: #f9f9f9;
    }

    @media only screen and (max-width: 575px) {
        .remodal .artist .bio .text_wrapper {
            width: 100%;
        }

        .remodal .artist .bio .pic {
            position: absolute;
            width: 50px;
            right: 10px;
            top: -54px;
        }

        .remodal .artist .bio .pic img {
            width: 50px;
            height: 50px;
        }

        .marks .icons .certificate {
            padding-top: 55px;
            background: url(../img/icons/certificate.png);
            background-repeat: no-repeat;
            width: 20px;
            height: 50px;
            background-position: center top;
        }

        .marks .icons .certificate {
            padding-top: 30px;
            background-size: 20px;
            background-repeat: no-repeat;
            width: auto;
            height: auto;
        }

        .marks .icons .guarantee {
            padding-top: 30px;
            background-repeat: no-repeat;
            width: auto;
            height: auto;
            background-size: 34px;
        }

        .marks .icons .gallery {
            padding-top: 30px;
            background-repeat: no-repeat;
            width: auto;
            height: auto;
            background-size: 34px;
        }
    }
}

#modal-show-work .tab-content ul li {
    display: flex;
}

#modal-show-work .tab-content ul li>div {
    flex: 1;
}

.remodal-work-image .btn-back {
    top: 28px;
    left: 20px;
    position: absolute;
    background: #2a292b !important;
    color: #FFF !important;
    padding: 0.175rem 1.8rem !important;
    font-size: 0.875rem !important;
    border-radius: 2px !important;
}

.remodal-work-image .zoom-pic {
    margin-top: 1rem !important;
}

@media screen and (max-width: 767px) {
    .remodal-work-image .zoom-pic {
        margin-top: 1.75rem !important;
    }
}

#modal-show-work .tab-content .gap-info ul li {
    gap: 25px;
}