#cc-cookie-overlay {
    display: block;
    height: 100%;
    width: 100%;
    position: fixed;
    background: $overlay_color|hex2rgba;
    z-index: $overlay_z_index;
    left: 0px;
    top: 0px;
    overflow-x: hidden;
    transition: all 0.5s ease 0s;
}

#cc-cookie-message h4 {
    color: $headline_color;
    font-size: $headline_font_size|px;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 0px;
}

#cc-cookie-message ul {
    margin: 0;
}

#cc-cookie-message li {
    width: 100% !important;
    display: block !important;
}

#cc-cookie-message h5 {
    color: $headline_color;
    font-size: calc($headline_font_size|px - 50%);
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 0px;
}

#cc-cookie-message p, #cc-cookie-message ul {
    color: $description_color;
    font-size: $description_font_size|px;
    line-height: 1.5em;
    margin: 1rem 0;
    padding-left: 0;
}

#cc-cookie-message li {
    width: 49%;
    display: inline-block;
}

#cc-cookie-message a,
#cc-cookie-message button.cc-is-style-link{
    border: none;
    color: $legal_links_color;
    text-decoration: none;
    font-size: $description_font_size|px;
    padding-bottom: 2px;
    cursor: pointer;
    transition: all 0.3s ease-in;
}

#cc-cookie-message button.cc-is-style-link {
    text-transform: none;
    background-color: initial;
    padding: initial;
    margin: initial;
    font-weight: initial;
    line-height: inherit;
}

#cc-cookie-message button#cc-cookie-necessary:not(.cc-is-style-link) {
    color: $necessary_button_color;
    background: $necessary_button_background_color;
}

#cc-cookie-message button#cc-cookie-necessary:not(.cc-is-style-link):hover,
#cc-cookie-message button#cc-cookie-necessary:not(.cc-is-style-link):focus {
    color: $necessary_button_background_color;
    background: $necessary_button_color;
    border: 2px solid $necessary_button_background_color;
}

#cc-cookie-message #cc-cookie-necessary {
    color: $necessary_button_color;
}

#cc-cookie-message .cc-cookie-links, #cc-cookie-message .cc-cookie-links a {
    color: $legal_links_color;
    text-decoration: none;
    font-size: $description_font_size|px;
    padding-bottom: 2px;
    cursor: pointer;
    transition: all 0.3s ease-in;
}

#cc-cookie-message a:hover,
#cc-cookie-message .cc-cookie-links a:hover,
#cc-cookie-message button.cc-is-style-link:hover,
#cc-cookie-message a:focus,
#cc-cookie-message .cc-cookie-links a:focus,
#cc-cookie-message button.cc-is-style-link:focus {
    color: $legal_links_color;
    text-decoration: underline;
    transition: all 0.3s ease-in;
}

#cc-cookie-message button.cc-is-style-link:hover,
#cc-cookie-message button.cc-is-style-link:focus {
    border: none;
}

#cc-cookie-message label {
cursor: pointer;
}

#cc-cookie-description {
    margin: 0;
}

#cc-cookie-message button {
    border: 2px solid transparent;
    background: $accept_button_background_color;
    color: $accept_button_color;
    font-size: $buttons_font_size|px;
    padding: 1rem 1.5rem;
    text-transform: uppercase;
    border-radius: 0;
    margin-right: 15px;
    margin-bottom: .5rem;
    cursor: pointer;
    transition: all 0.3s ease-in;
}

#cc-cookie-message button:hover,
#cc-cookie-message button:focus {
    border: 2px solid $accept_button_background_color;
    background: $accept_button_color;
    color: $accept_button_background_color;
}

#cc-cookie-message button:last-child {
    margin-right: 0;
}

#cc-cookie-message button:hover {
    transition: all 0.3s ease-in;
}

button#cc-cookie-advanced {
    background: $customize_button_background_color;
    color: $customize_button_color;
    font-size: $buttons_font_size|px;
}

button#cc-cookie-advanced:hover,
button#cc-cookie-advanced:focus {
    background: $customize_button_color;
    color: $customize_button_background_color;
    border: 2px solid $customize_button_background_color;
    transition: all 0.3s ease-in;
}

#cc-cookie-message button:disabled {
    opacity: 0.3;
}

button#cc-cookie-necessary.cc-is-style-link {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#cc-cookie-types {
    padding-top: 20px;
}

.is-advanced #cc-cookie-accept-selection {
    display: none !important;
}

.is-advanced .cc-group-headline {
    font-weight: bold;
}

.cc-cookie-section > p {
    margin-bottom: 0;
}

#cc-cookie-message input[type="checkbox"] {
    float: none;
    margin-top: 0;
    margin-right: 5px;
}

.cc-row.cc-row-accept .cc-value {
    align-content: center;
    display: flex;
}

#cc-cookie-message .cc-status {
    display: inline-block;
}

#cc-cookie-message .cc-status .cc-status-checked,
#cc-cookie-message input.cc_cookie[type=checkbox]:checked + .cc-status .cc-status-unchecked {
    display: none;
}

#cc-cookie-message input.cc_cookie[type=checkbox]:checked + .cc-status .cc-status-checked {
    display: inline-block;
}

.cc-cookie-details .cc-row {
    display: flex;
    overflow-wrap: anywhere;
}

.cc-cookie-details .cc-prop {
    flex: 0 0 40%;
    max-width: 40%;
    font-weight: bold;
}

.cc-cookie-details .cc-value a {
    font-size: 100% !important;
}

#cc-all-marketing-cookies, #cc-all-statistics-cookies, #cc-all-external-media-cookies {
    margin-right: 5px;
}

.cc-cookie-detailed {
    display: none;
    margin-top: 15px;
}

.cc-cookie-detailed li {
    padding-left: 1.5rem;
}

.theme-wordpress-theme-atomion input.cc_checkbox {
    opacity: 0;
    display: inline-block;
}

.theme-wordpress-theme-atomion #cc-cookie-message input[type="checkbox"].cc_checkbox {
    margin-right: 0;
}

@media screen and (max-width: 480px) {
    .cc-cookie-details .cc-row {
        flex-direction: column;
    }

    .cc-cookie-details .cc-prop {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #cc-cookie-message button {
        width: 100%;
        margin-right: 0;
    }
}

/* Content Blocker */
p.cc_accept_box {
    background: #EFEFEF;
    padding: 3rem;
    display: flex;
    flex-wrap: wrap;
    flex-flow: column;
    align-items: center;
}

/* Print Version */
@media print {  
    #cc-cookie-message, 
    #cc-cookie-overlay { 
        display: none !important; 
    } 
}