/*start stores widget style*/
.story {
    overflow: hidden;
    height: max-content;
}

.story img {
    width: 80% !important;
    height: 80% !important;
    border-radius: 50% !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    padding: 5px;
}

.story svg {
    fill: none;
    stroke: #8a3ab8;
    stroke-width: 3px;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    stroke-linecap: round;
}

.story .text-story {
    word-spacing: -5px;
    font-size: 13px;
    font-weight: 500;
}

.comma-story-modal .comma-story-modal-overlay {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.comma-story-modal .comma-story-modal-overlay {
    background-color: rgb(0 0 0 / 64%) !important;
    backdrop-filter: blur(2em);
}

.overlay-story {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .3s;
    background-color: rgb(0 0 0 / 64%) !important;
    backdrop-filter: blur(2em);
    z-index: 9998;
    display: none;
}

.story-popup-screen-slider .swiper-slide {
    opacity: .5;
}

.story-popup-screen-slider .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.modal-story .popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 20px;
    transition: .3s;
    z-index: 9999;
}

.modal-story .close-story {
    position: absolute;
    right: 4%;
    top: 0;
    z-index: 9999;
    color: #766f6f;
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.modal-story .close-story:hover {
    transition: .3s;
    color: #9b1515;
}

.modal-story .story-screen-slider {
    position: relative;
}

.modal-story .story-screen-slider .swiper-slide {
    height: 80vh;
}

.modal-story .story-screen-slider img {
    width: 90%;
    left: 50%;
    height: 100%;
    position: absolute;
    top: 50%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.gallery-image {
    height: 150px;
    width: 100%;
    margin-bottom: 10px;
}

.story-popup-screen-slider .box {
    height: 100%;
    position: relative;
    border-radius: 10px;
    /*background: #5b5b5b30;*/
    text-align: center;
}

.story-popup-screen-slider .swiper-button-prev {
    right:30% !important;
    color: black;
    background: #FFFFFF;
    border-radius: 50%;
    height: 40px;
    width: 40px;
}

@media (max-width: 768px) {
    .story-popup-screen-slider .swiper-button-prev {
        right: 6% !important; 
    }
}

.story-popup-screen-slider .swiper-button-next {
    left: 30% !important;
    color: black;
    background: #FFFFFF;
    border-radius: 50%;
    height: 40px;
    width: 40px;
}

@media (max-width: 768px) {
    .story-popup-screen-slider .swiper-button-next {
        left: 6% !important; 
    }
}

.story-popup-screen-slider .swiper-button-next:after,
.story-popup-screen-slider .swiper-button-prev:after {
    font-size: 14px;
}

.story-popup-screen-slider .box .image {
    height: 480px;
    text-align: center;
}


.story-popup-screen-slider .content {
    display: flex;
    position: absolute;
    top: 25px;
    align-items: center;
    right: 18px;
    z-index: 10000;
    margin-inline: 15px;
    justify-content: start;
}

.modal-story .story-btn {
    display: flex;
    position: absolute;
    bottom: 25px;
    align-items: center;
    width: 100%;
    z-index: 10000;
    margin-inline: 15px;
    justify-content: center;
}

.modal-story .story-btn a {
    background: #FFFFFF;
    color: black;
    padding: 10px 30px;
    border-radius: 12px;
    transition: .3s;
}

.modal-story .story-btn a:hover {
    transition: .3s;
    color: #0A246A;
    padding: 10px 40px;
}

.modal-story .content img {
    height: 50px;
    width: 50px;
    border-radius: 50px;
    object-fit: cover;
    border: 1px solid white;
    padding: 1px;
}

.modal-story .content .title {
    font-size: 18px;
    margin-inline: 15px;
    color: #fff;
    font-weight: 400;
}

.story-popup-screen-slider .box .image img {
    border-radius: 10px 10px 10px 10px;
}

.story-popup-screen-slider .swiper-slide {
    transform: scale(.8) !important;
    transition: .4s;
}

.story-popup-screen-slider .swiper-slide-active {
    transform: scale(1) !important;
    transition: .4s;
}

.modal-story .swiper {

}
.progress-wrapper {
    position: absolute;
    top: 10px;
    left: 10%;
    right: 10%;
    z-index: 10;
    display: flex;
    gap: 4px;
}

.progress-bar-animated {
    flex: 1;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background-color: #ffffff;
    border-radius: 2px;
    transition: width 0.05s linear;
}

.remove-image {
    color: darkred;
}

#gallery-metabox-list li {
    float: left;
    width: 150px;
    text-align: center;
    margin: 10px 10px 10px 0;
    cursor: move;
}

.autoplay-progresss {
    position: absolute;
    top: 7px;
    right: 25px;
    z-index: 111;
    justify-content: space-around;
    display: flex;
    width: 98%;
}

.autoplay-progresss span {
    width: 100px;
    height: 2px;
    display: block;
    background: #0A246A;
}

img.image-preview {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

@keyframes loading {
    100% {
        stroke: #cd476b;
        stroke-dasharray: 10;
        transform: rotate(200deg);
    }
}

/*end stores style widget*/