/*
|--------------------------------------------------------------------------
| Portfolio Stories Engine
| Story Player Advanced Style
|--------------------------------------------------------------------------
*/


#pse-story-modal {

    display:none;

    position:fixed;

    inset:0;

    background:#000;

    z-index:999999;

}



#pse-story-modal.active {

    display:flex;

}



.pse-story-content {

    width:100%;

    height:100%;

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

}



.pse-story-media {

    width:100%;

    height:100%;

    object-fit:contain;

}



.pse-story-media video {

    width:100%;

    height:100%;

    object-fit:contain;

}



.pse-story-close {

    position:absolute;

    top:25px;

    right:25px;

    color:#fff;

    font-size:35px;

    z-index:20;

    cursor:pointer;

}



.pse-story-next,
.pse-story-prev {

    position:absolute;

    top:0;

    height:100%;

    width:50%;

    z-index:10;

}



.pse-story-next {

    right:0;

}



.pse-story-prev {

    left:0;

}



/*
|--------------------------------------------------------------------------
| Progress
|--------------------------------------------------------------------------
*/


.pse-progress-wrapper {

    position:absolute;

    top:10px;

    left:10px;

    right:10px;

    display:flex;

    gap:4px;

    z-index:30;

}



.pse-progress-item {

    flex:1;

    height:3px;

    background:rgba(255,255,255,.35);

    overflow:hidden;

}



.pse-progress-fill {

    height:100%;

    width:0%;

    background:#fff;

}





.pse-story-counter {

    position:absolute;

    top:25px;

    left:25px;

    color:#fff;

    z-index:20;

    font-size:14px;

}



.pse-story-pause {

    position:absolute;

    inset:0;

    z-index:15;

}