/* The Modal (background) */
.consent-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.consent-modal-content h2 {
    margin-top: 20px;
}

@media only screen and (max-width: 790px) {
    .consent-modal {
        padding-top: 10px;
    }

    .consent-modal-content .consent-accept-btn {
        width: 100%;
        margin-top: 0 !important;
    }

    .consent-modal-content {
        width: 90% !important;
    }
}


/* Modal Content */
.consent-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 1140px;
}

/* The Close Button */
.consent-modal-content .consent-modal-close-button {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.consent-modal-content .consent-modal-close-button:hover,
.consent-modal-content .consent-modal-close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

    .consent-modal-content .consent-accept-btn {
        cursor: pointer;
        background-color: #006ba6;
        color: white;
        border: 0;
        border-radius: 4px;
        padding: 10px 30px;
        margin-top: 30px;
        margin-bottom: 8px;
        font-size: 14px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
        transition: all 0.3s cubic-bezier(0.25, 1, 0.25, 1);
    }

.consent-modal-content .consent-accept-btn:hover {
    /*background-color: #0076b3;*/
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.22);
}

/*ACCORDION*/
.consent-accordion {
    background-color: #e1e2e3;
    color: #444;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 17px;
    font-weight: bold;
    transition: 0.4s;
    margin-bottom: 8px;
}

.consent-accordion-active, .consent-accordion:hover {
    background-color: #ccc;
}

.consent-accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.consent-accordion-active:after {
    content: "\2212";
}
.consent-accordion:before {
    display: inline-block;
    width: 20px;
    background-color: black;
    float: left;
}

.consent-modal-panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 0px;
}
.consent-modal-panel p {
    margin-top: 10px;
}

.consent-modal-panel li:before {
    content: '';
    width: 3px;
    height: 3px;
    background: #cccccc;
    display: inline-block;
    margin-top: 5px;
    padding: 5px;
    position: relative;
    left: -10px;
    margin-left: -10px;
    float: left;

}

.consent__cookie {
    list-style: none;
    margin-bottom: 5px;
}

.consent__cookie-content {
    margin-left: 10px;
}

/* The switch - the box around the slider */
.tracking-cookies-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.tracking-cookies-switch-label {
    display: inline-block;
    margin-left: 10px;
    height: 35px;
    vertical-align: bottom;
    font-weight: bold;
}

/* Hide default HTML checkbox */
.tracking-cookies-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.tracking-cookies-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.tracking-cookies-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.tracking-cookies-switch input:checked + .slider {
    background-color: #2196F3;
}

.tracking-cookies-switch input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.tracking-cookies-switch input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.consent-copyright {
    color: gray;
    font-size: 10px;
    display: block;
    text-align: right;
}

/* Rounded sliders */
.tracking-cookies-switch .slider.round {
    border-radius: 34px;
}

.tracking-cookies-switch .slider.round:before {
    border-radius: 50%;
}


#revoke-consent-btn {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-image: url('cookie-icon.svg');
    z-index: 10000;
    opacity: 0.5;
}
a#revoke-consent-btn:hover {
    opacity: 1;
}