:root{
    --accent-color: #78c24a ;
    --accent-hover: #114f33;
}

.cookie-popup-container{
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    display: none;
}

.cookie-popup-container *{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.cookie-popup-container .cookie-popup{
    max-width: min(500px, 90%);
    border: 1px solid #EEE;
    border-radius: 12px;
    box-sizing: border-box;
    padding: 15px;
    box-shadow: 0px 5px 10px -3px rgba(0,0,0,0.1);
    color: #171717;
    overflow: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    background-color: #e0f6d3b3;
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    position: fixed;
    z-index: 99999;
    left: calc(50% - min(250px, 45%));
    top: calc(50% - min(47.5vh, 340px));
}

.cookie-popup-container .cookie-popup .cookie-image{
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    display: none;
}

.cookie-popup-container .cookie-popup::-webkit-scrollbar {
    display: none !important;
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.cookie-popup .cookie-panel ul{
    list-style-type: none;
    display: flex;
    padding-left: 0 !important;
    margin: 0 !important;

}

.cookie-popup .cookie-panel ul li{
    width: 50%;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    font-size: 12px;
    line-height: 18px;
}

.cookie-popup .cookie-panel ul li.active{
    text-shadow: #1a1b1e 1px 1px 2px;
    padding-bottom: 10px;
    border-bottom: 4px solid var(--accent-hover);
    color: var(--accent-color);
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid{
    height: 100%;
    padding: 15px 0;
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid p{
    font-size: 12px;
    line-height: 18px;
    margin-top: 0px;
    margin-bottom: 10px;
    color: black;
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid b{
    font-size: 12px;
    line-height: 18px;
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid .cookie-consent,
.cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid .cookie-cookies-display{
    display: none;
}

.cookie-cookies-display .cookie-category{
    margin-bottom: 15px;
}

.cookie-cookies-display .cookie-category .choose{
    font-size: 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #CCC;
    margin-right: 10px;
    cursor: pointer;
}

.cookie-cookies-display .cookie-category .choose.active{
    border-color: var(--accent-hover);
    background-color: var(--accent-color);
}

.cookie-cookies-display .cookie-category .choose.active + .cookie-cat-name{
    color: var(--accent-color);
    text-shadow: #1a1b1e 1px 1px 2px;
}

.cookie-cookies-display .cookie-category .choose.always-on{
    border-color: #CCC;
    background-color: #EEE;
    cursor: auto;
}

.cookie-cookies-display .cookie-category .data .data-resume .cat-main,
.cookie-cookies-display .cookie-category .data .data-resume .cat-main>div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-cookies-display .cookie-category .data .data-resume .cat-main{
    margin-bottom: 10px;
}


.data-resume .cookie-cat-name{
    font-weight: bold;
    cursor: pointer;
    transition: 300ms;
    font-size: 12px;
    line-height: 18px;
}

.cookie-cookies-display .cookie-category .data .data-resume .cat-describe{
    font-size: 12px;
    line-height: 18px;
}

.cookie-decide ul{
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    padding-left: 0 !important;
    margin: 0 !important;
    padding-top: 15px;
}

.cookie-decide ul li{
    width: 45%;
    text-align: center;
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    padding: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 300ms;
    font-size: 12px;
    line-height: 18px;
}

.cookie-decide ul li:hover{
    background-color: var(--accent-color);
    color: #FFF;
}

.cookie-decide ul li.allow{
    background-color: var(--accent-color);
    color: #FFF;
}

.cookie-decide ul li.allow:hover{
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.cookie-decide ul li.allow-selection{
    /* display: none; */
}

a.privacy-policy-href{
    text-decoration: none;
    color: var(--accent-color) !important;
    font-size: 12px !important;
    line-height: 18px;
    font-weight: 600 !important;
    text-shadow: #1a1b1e 1px 1px 2px;
}

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

    .cookie-popup-container .cookie-popup{
        width: 100%;
        max-height: min(450px, 90vh);
        top: calc(50% - min(225px, 45vh));
    }

    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-decide ul{
        display: flex;
        flex-direction: column;
    }

    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-decide ul li{
        width: auto;
    }

    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid{
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 8px;
    }

    .cookie-decide ul li{
        padding: 8px;
        font-size: 12px;
        margin: 3px;
    }

    .cookie-popup-container .cookie-popup{
        padding-left: 10px;
        padding-right: 10px;
    }

    .cookie-popup .cookie-panel ul li{
        font-size: 12px;
        padding-bottom: 10px !important;
        
    }

    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid p,
    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid b,
    .data-resume .cookie-cat-name,
    a.privacy-policy-href{
        font-size: 12px;
        line-height: 18px;
    }

    .cookie-cookies-display .cookie-category .data .data-describe ul li{
        font-size: 10px;
        line-height: 12px;
        padding: 8px;
    }
}