﻿/*******STD  **/

.SS_STD .ss_content .ss_popup {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(226, 245, 255, 0.57);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

    .SS_STD .ss_content .ss_popup.pop_up_active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

.SS_STD .ss_content .ss_popup_content {
    transform: translate(-50%, -50%);
    background-color: white;
    width: 48rem;
    height: 24rem;
    position: absolute;
    top: 50%;
    left: 50%;
    box-shadow: 0px 4px 40px 2px #aae2ff;
    box-sizing: border-box;
}

.SS_STD .ss_content .ss_popup_top {
    height: 7%;
    width: 91%;
    background-color: #aae2ff;
    position: absolute;
    text-align: center;
    top: 0px;
    left: 9%;
}

.SS_STD .ss_content .ss_popup_previous {
    width: 9%;
    height: 86%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 7%;
    left: 0%;
    background-color: #aae2ff;
}

    .SS_STD .ss_content .ss_popup_previous a {
        font-size: var(--font_size_32);
        color: var(--color_White);
    }

.SS_STD .ss_content .ss_popup_body {
    position: absolute;
    top: 7%;
    left: 9%;
    background-color: #e2f5ff;
    width: 82%;
    display: flex;
    flex-direction: column;
    height: 86%;
    text-align: center;
    align-items: center;
    overflow: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

    .SS_STD .ss_content .ss_popup_body p {
        width: 100%;
        text-align: center;
        margin: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .SS_STD .ss_content .ss_popup_body img {
        width: 100%;
    }

.SS_STD .ss_content .ss_popup_image {
    position: absolute;
    top: 7%;
    left: 9%;
    background-color: #e2f5ff;
    width: 82%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 86%;
    text-align: center;
    align-items: center;
    overflow: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

    .SS_STD .ss_content .ss_popup_image::-webkit-scrollbar {
        display: none;
    }

.SS_STD .ss_content .ss_popup_body a {
    width: 100%;
    text-align: center;
    display: flex;
    font-size: var(--font_size_14);
    display: inline-block;
    vertical-align: middle;
}

.SS_STD .ss_content .ss_popup_body::-webkit-scrollbar {
    display: none;
}

.SS_STD .ss_content .ss_popup_next {
    width: 9%;
    height: 86%;
    position: absolute;
    left: 91%;
    background-color: white;
    top: 7%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .SS_STD .ss_content .ss_popup_next a {
        font-size: var(--font_size_32);
            color: #aae2ff;
    }

.SS_STD .ss_content .ss_popup_bottom_left {
    height: 7%;
    position: absolute;
    left: 0%;
    top: 93%;
    width: 9%;
    background-color: #e2f5ff;
}

.SS_STD .ss_content .ss_popup_exit {
    height: 7%;
    position: absolute;
    left: 9%;
    top: 93%;
    background-color: white;
    width: 82%;
}

    .SS_STD .ss_content .ss_popup_exit a {
        width: 100%;
        display: flex;
        justify-content: center;
    }

.SS_STD .ss_content .ss_popup_bottom_right {
    background-color: #e2f5ff;
    width: 9%;
    height: 7%;
    position: absolute;
    top: 93%;
    left: 91%;
}

.SS_STD .ss_content .ss_popup_close,
.SS_STD .ss_content .ss_main_white {
    background-color: white;
}

/*****LPT   **/


.SS_LPT .sl_main_center_news_album .popup,
.SS_LPT .sl_main_center_news_news .popup {
    display: none;
}

.SS_LPT .sl_main_center_news_album .popup {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.57);
    transition-duration: 0.2s;
    transition-timing-function: all;
    visibility: hidden;
}

    .SS_LPT .sl_main_center_news_album .popup.pop_up_active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .SS_LPT .sl_main_center_news_album .popup .popup_content {
        transform: translate(-50%, -50%);
        position: absolute;
        top: 50%;
        left: 50%;
        background-color: #000000;
        /*aos-enable: false;*/
        box-shadow: 0px 4px 40px 2px #ca9d88;
        box-sizing: border-box;
    }

        .SS_LPT .sl_main_center_news_album .popup .popup_content .popup_text {
            padding-left: 0.8rem;
            padding-right: 0.8rem;
            max-width: 30rem;
            overflow: scroll;
            max-height: 30rem;
            position: relative;
            text-align: left;
        }

        .SS_LPT .sl_main_center_news_album .popup .popup_content .popup_exit {
            position: absolute !important;
            right: 0;
            top: 0;
            z-index: 6;
            position: relative;
            display: flex;
            justify-content: end;
            padding-right: var(--space_2);
            background-color: transparent;
        }

            .SS_LPT .sl_main_center_news_album .popup .popup_content .popup_exit a {
                font-size: var(--font_size_24);
                color: #ca9d88;
            }

        .SS_LPT .sl_main_center_news_album .popup .popup_content .popup_text::-webkit-scrollbar {
            display: none;
        }

/***** SS_MLJ GALERIJA *****/

.SS_MLJ .sm_popup {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(0,0,0,0.75);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: opacity .2s ease, visibility .2s ease;
}


    .SS_MLJ .sm_popup.pop_up_active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }



.SS_MLJ .sm_popup_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90vw, 1100px);
    height: min(85vh, 750px);
    background-color: white;
    box-shadow: 0 10px 50px rgba(0,0,0,.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}



    /* slika */

    .SS_MLJ .sm_popup_content img {
        max-width: 85%;
        max-height: 85%;
        object-fit: contain;
    }



/* zgornji gumb */

.SS_MLJ .sm_popup_close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: var(--font_size_40);
    color: var(--color_Red);
    z-index: 5;
}



/* leva puščica */

.SS_MLJ .sm_popup_previous {
    position: absolute;
    left: 0;
    top: 0;
    width: 10%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.15);
}


.SS_MLJ .sm_popup_previous {
    font-size: var(--font_size_48);
    color: var(--color_Red);
}



/* desna puščica */


.SS_MLJ .sm_popup_next {
    position: absolute;
    right: 0;
    top: 0;
    width: 10%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.15);
}


@media (max-width: 1024px) {
    .SS_STD .ss_content .ss_popup_content {
        width: 100%;
        aspect-ratio: 1 / 1;
    }
}