/* PULSANTE APRI MODAL (SOLITAMENTE POTREBBE VENIRE MODIFICATO) */
#gdpr_open_modal {
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: white;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.6) 2px 2px 4px -2px;
    border-radius: 50%;
    cursor: pointer;
}

#gdpr_open_modal:hover {
    opacity: 0.9;
}

#gdpr_open_modal i {
    line-height: 50px;
    font-size: 28px;
}

#gdpr_open_modal span {
    display: none;
}

/* =========================== A PARTIRE DA QUI NON CONVIENE EFFETTUARE MODIFICHE =========================== */

/* BARRA DEI COOKIE */
#gdpr_cookie_bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding:  15px;
    border-top: 1px solid white;
    z-index: 9999;
}

#gdpr_cookie_bar p {
    float: left;
    line-height: 23px;
    margin: 0;
}

#gdpr_cookie_bar p a {
    font-weight: 900;
    text-decoration: underline;
}

#gdpr_cookie_bar p a:hover {
    opacity: 0.7;
}

#gdpr_cookie_bar .cookie_bar_accept {
    float: right;
    padding: 0 15px;
    border-radius: 3px;
    line-height: 45px;
}

#gdpr_cookie_bar .cookie_bar_accept:hover {
    opacity: 0.7;
}

/* BLACK SCREEN */
#gdpr_black_screen {
    position: fixed;
    left: 0px;
    top: 0;
    bottom: 0;
    right: 0;
    background: #000000;
    z-index: 99998;
    opacity: 0.9;
    display: none;
}
#gdpr_modal.show + #gdpr_black_screen {
    display: block;
}

/* MODAL */
#gdpr_modal {
    position: fixed;
    left: 0px;
    top: 0;
    bottom: 0;
    right: 0;
    width: 890px;
    height: 600px;
    max-width: 90%;
    background: white;
    margin: auto;
    z-index: 99999;
    border-radius: 10px;
    display: none;
}

#gdpr_modal .gdpr_modal_close  {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid;
    line-height: 36px;
    text-align: center;
    font-size: 20px;
    padding: 0;
    background: white;
    cursor: pointer;
}

#gdpr_modal .gdpr_modal_close:hover {
    background: #eaeaea;
}

#gdpr_modal .gdpr_modal_header {
    padding: 15px;
    float: left;
    width: 240px;
}

#gdpr_modal .gdpr_modal_header_logo {
    width: 100px;
    margin-bottom: 30px;
}

#gdpr_modal .gdpr_modal_navigation {
    padding: 0;
    height: 130px;
}

#gdpr_modal .gdpr_modal_navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

#gdpr_modal .gdpr_modal_navigation ul li {
    display: block;
    padding: 5px 15px;
    border: 1px solid #f1f1f1;
    border-radius: 3px;
    background: #f1f1f1;
    margin: 0 0 10px;
    text-align: left;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
}

#gdpr_modal .gdpr_modal_navigation ul li span {
    /* display: none; */
    margin-left: 10px;
}

#gdpr_modal .gdpr_modal_navigation ul li.active {
    background: white;
}

#gdpr_modal .gdpr_modal_navigation ul li.active span {
    display: inline;
}

#gdpr_modal .gdpr_modal_navigation ul li i {

}

#gdpr_modal .gdpr_modal_content {
    background: #f1f1f1;
    border-top: 1px solid #eaeaea;
    padding: 50px;
    padding-bottom: 100px;
    overflow: auto;
    height: 100%;
}

#gdpr_modal .gdpr_modal_content h1,
#gdpr_modal .gdpr_modal_content h2,
#gdpr_modal .gdpr_modal_content h3,
#gdpr_modal .gdpr_modal_content h4 {
    color: #222222;
    line-height: 1;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: left;
    margin-top: 30px;
    text-transform: inherit;
}

#gdpr_modal .gdpr_modal_content h1 {
    font-size: 28px;
    margin-top: 10px;
}
#gdpr_modal .gdpr_modal_content h2 {
    font-size: 19px;
}
#gdpr_modal .gdpr_modal_content h3 {
    font-size: 18px;
}
#gdpr_modal .gdpr_modal_content h4 {
    font-size: 16px;
}

#gdpr_modal .gdpr_modal_content p {
    color: #252525;
    line-height: 1.6;
    margin-bottom: 20px;
}
#gdpr_modal .gdpr_modal_content p:last-child {
    margin-bottom: 0;
}

#gdpr_modal .gdpr_modal_content .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 30px 0 20px 0;
}
#gdpr_modal .gdpr_modal_content .switch .status_message {
    display: block;
    margin-left: 70px;
    line-height: 35px;
    width: 150px;
}

#gdpr_modal .gdpr_modal_content .switch .status_message .enabled {
    color: #8BC34A;
}

#gdpr_modal .gdpr_modal_content .switch .status_message .disabled {
    color: #F44336;
}

#gdpr_modal .gdpr_modal_content .switch input {
    display:none;
}

#gdpr_modal .gdpr_modal_content .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F44336;
    -webkit-transition: .4s;
    transition: .4s;
    height: 35px;
    min-height: 0px;
}

#gdpr_modal .gdpr_modal_content .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

#gdpr_modal .gdpr_modal_content input:checked + .slider {
    background-color: #8BC34A;
}

#gdpr_modal .gdpr_modal_content input:focus + .slider {
    box-shadow: 0 0 1px #8BC34A;
}

#gdpr_modal .gdpr_modal_content input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

#gdpr_modal .gdpr_modal_content .status_message .enabled {
    display: none;
}

#gdpr_modal .gdpr_modal_content input:checked + .slider + .status_message .enabled {
    display: block;
}

#gdpr_modal .gdpr_modal_content input:checked + .slider + .status_message .disabled {
    display: none;
}

#gdpr_modal .gdpr_modal_content .gdpr_warning_message {
    display: none;
    color: #f44335;
}

#gdpr_modal .gdpr_modal_content .disabled .gdpr_unchecked_message {
    display: block;
}


#gdpr_modal .gdpr_modal_footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    padding: 10px 15px;
    text-align: right;
    background: white;
    border-top: 1px solid #ececec;
}

#gdpr_modal .gdpr_modal_footer .gdpr_footer_button {
    padding: 10px 15px;
    display: inline-block;
    color: white;
    border-radius: 5px;
    display: block;
}

#gdpr_modal .gdpr_modal_footer .gdpr_footer_button:hover {
    opacity: 0.7;
}

#gdpr_modal .gdpr_modal_footer .gdpr_footer_button {
    display: none;
}

#gdpr_modal:not(.with_changes) .gdpr_modal_footer .gdpr_footer_button.gdpr_enable_all {
    display: inline-block;
}

#gdpr_modal.with_changes .gdpr_modal_footer .gdpr_footer_button.gdpr_update {
    display: inline-block;
}

/* MEDIA */
@media (max-width: 676px) {
    #gdpr_modal {
        height: 100%;
        border-radius: 0;
        max-width: 100%;
    }
    #gdpr_modal .gdpr_modal_close {
        right: 0;
        top: 0;
        border-radius: 0;
        border: 0;
    }
    #gdpr_modal .gdpr_modal_header {
        float: none;
        width: 100%;
        text-align: center;
    }
    #gdpr_modal .gdpr_modal_navigation {
        float: none;
        height: auto;
    }

    #gdpr_modal .gdpr_modal_navigation ul {
        text-align: center;
    }
    #gdpr_modal .gdpr_modal_navigation ul li {
        display: inline-block;
    }
    #gdpr_modal .gdpr_modal_navigation ul li span {
        display: none;
    }
}