

/* Start:/local/templates/optika/styles.css?17842732392919*/
.story-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    display: none;
    z-index: 9999;
}

.story-modal.active {
    display: block;
}

/* Ñ†ÐµÐ½Ñ‚Ñ€ */
.story-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* GROUP */
.story-group {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 640px;
    transform: translate(-50%, -50%) scale(.8);
    opacity: 0;
    transition: .4s ease;
}

/* Ð°ÐºÑ‚Ð¸Ð²Ð½Ð°Ñ */
.story-group.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 5;
}

/* ÑÐ»ÐµÐ´ÑƒÑŽÑ‰Ð°Ñ (ÑÐ¿Ñ€Ð°Ð²Ð°) */
.story-group.next {
    transform: translate(85%, -50%) scale(.75);
    opacity: .35;
    z-index: 3;
}

/* Ð¿Ñ€ÐµÐ´Ñ‹Ð´ÑƒÑ‰Ð°Ñ (ÑÐ»ÐµÐ²Ð°) */
.story-group.prev {
    transform: translate(-185%, -50%) scale(.75);
    opacity: .35;
    z-index: 3;
}

/* ÑÐºÑ€Ñ‹Ñ‚Ñ‹Ðµ */
.story-group.hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6);
}

/* SLIDES */
.story-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: .3s;
    z-index: 1;
}

.story-slide.active {
    opacity: 1;
    z-index: 2;
}

.story-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    text-align: center;
    z-index: 9999 !important; /* Ð’ÐÐ–ÐÐž */
    color: #fff;
    background: rgba(0,0,0,0.4);
    padding: 10px;
}

.story-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /*position: relative;*/
    z-index: 1;
}
.story-text a {
    color: #fff;
    font-weight: 500;
    font-family: sans-serif;
    text-align: center;
    z-index: 9999 !important;
    opacity: 10;
}

.story-slide.active {
    opacity: 1;
}



/* PROGRESS */
.story-progress {
    position: absolute;
    top: 12px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.story-progress div {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,.25);
    overflow: hidden;
    border-radius: 10px;
}

.story-progress span {
    display: block;
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: #fff;
}

/* NAV */
#storyModal > .left {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70%;
    z-index: 1;
}
#storyModal > .right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60%;
    z-index: 1;
}

.nav.left { left: 0; }
.nav.right { right: 0; }

/* CLOSE */
.story-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: #fff;
    z-index: 20;
    cursor: pointer;
}

/* End */
/* /local/templates/optika/styles.css?17842732392919 */
