﻿.title_info{
    padding: 10px;
}

    .title_info span {
        font-size: large;
        font-weight: bold;
    }

    .title_info p {
        margin-top: 5px;
        color: #666;
    }

.mandatory-cookie {
    filter: grayscale(1);
}

#cookieSettingsPopup {
    position: fixed;
    top: 20%;
    height: 60vh;
    width: 100%;
    max-width: 800px;
    background: #f5f5f5;
    z-index: 1001;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    overflow-y: auto;
}

.cookie-tabs {
    display: flex;
    justify-content: center;
}

.tabButton {
    flex: 1;
    padding: 10px;
    border: none;
    background: #fff;
    cursor: pointer;
    color: #005149;
    font-weight: bold;
}

    .tabButton.active {
        border-top: 2px solid #005149;
        background: #f5f5f5;
    }

.tabContent span {
    font-weight: bold;
}

.tabContent p {
    margin-top: 5px;
    color: #666;
}

.cookie-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #d3d3d3;
}

    .cookie-option div {
        margin-right: 20px;
    }

.cookie-buttons {
    display: flex;
    position: relative;
    justify-content: space-between;
    bottom: 0;
    margin-bottom: 20px;
}

    .cookie-buttons button {
        background: #ffffff;
        color: #444;
        border: #444 solid 1px;
        padding: 10px 15px;
        cursor: pointer;
        border-radius: 4px;
        margin-left: 10px;
        margin-bottom: 10px;
    }

#saveAndClose {
    position: fixed;
    right: 0;
    margin-right: 20px;
    background-color: #005149;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}

.cookie-switch-div {
    width: 10%;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 14px;
    top: 10px;
}

    .cookie-switch cookie-input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.cookie-input {
    opacity: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

    .cookie-slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: -4px;
        bottom: -3px;
        background-color: #6f6f6f;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 50%;
        cursor: pointer;
    }

.cookie-input:checked + .cookie-slider {
    background-color: #009688;
}

.cookie-input:focus + .cookie-slider {
    box-shadow: 0 0 1px #005149;
}

.cookie-input:checked + .cookie-slider:before {
    transform: translateX(25px);
    background-color: #005149;
}

.cookie-checkmark {
    position: absolute;
    top: 0px;
    left: 3px;
    height: 12px;
    width: 8px;
    transform: rotate(45deg);
    border-bottom: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    -webkit-transition: .4s;
    transition: .4s;
    opacity: 0;
    cursor: pointer;
}

.cookie-input:checked ~ .cookie-checkmark {
    transform: translateX(24px) rotate(45deg);
    opacity: 1;
}

.cookie-minus {
    position: absolute;
    right: 23px;
    top: -5px;
    width: 14px;
    height: 14px;
    border-right: 3px solid #ffffff;
    transform: rotate(90deg);
    -webkit-transition: .4s;
    transition: .4s;
    cursor: pointer;
}

.cookie-input:checked ~ .cookie-minus {
    transform: translateX(24px) rotate(45deg);
    opacity: 0;
}


.cookie-icon {
    display: inline-block;
    width: 100%;
    height: 100%;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21.27 10.9c-1.21-.33-2.31-1.46-2.29-2.89c.01-.56-.4-1.02-.96-1.01C15.83 7.03 14 5.22 14 3.02c0-.49-.35-.9-.84-.96C6.53 1.22 2 6.81 2 12c0 5.52 4.48 10 10 10c5.61 0 10.11-4.62 10-10.18a.97.97 0 0 0-.73-.92M8.5 15c-.83 0-1.5-.67-1.5-1.5S7.67 12 8.5 12s1.5.67 1.5 1.5S9.33 15 8.5 15m2-5C9.67 10 9 9.33 9 8.5S9.67 7 10.5 7s1.5.67 1.5 1.5s-.67 1.5-1.5 1.5m4.5 6c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.cookie-open {
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: #009688;
    left: 0;
    bottom: 0;
    position: fixed;
    z-index: 9999;
    color: white;
    margin: 10px;
    border-radius: 5px;
}

.greyed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}