#cookie-banner {
    font-family: "Arial";
    background-color: #333;
    position: fixed;
    z-index: 9999;
    left: 0;
    right: 0;
    bottom: 0;
    color: white
}
#cookie-banner .title-banner {
    text-transform: uppercase;
    font-size: 30px;
    color: #b9b9b9;
}
#cookie-banner .intro-banner {
    width: 60%;
    line-height: 20px;
}
#cookie-banner .inner-text {margin-bottom: 10px}
#cookie-banner .text-banner {margin-bottom: 0;font-size: 13px;color: white}
#cookie-banner .block-btn {
    display: inline-block;
    margin: 10px 10px 0 0;
}
#cookie-banner .form-check {
    margin: 2px 0;
}
#cookie-banner .btn_more_info_page {
    padding: 8px 17px;
    border: 1px solid #b9b9b9;
    font-size: 13px;
    font-weight: normal;
    background-color: #efefef;
    color: black;
    margin-right: 10px;
}
#cookie-banner .cookie-banner_toggle {
    position: absolute;
    top: -37px;
    padding: 8px;
    border: none;
    font-size: 18px;
    background-color: #212121;
    color: #b9b9b9;
}
#cookie-banner .cookie-banner_toggle:focus {
    outline: none;
}
#cookie-banner .content_cookie {
    padding: 20px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between
}
#cookie-banner .content_cookie.modal_activated {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#cookie-banner .content_cookie.modal_activated p.text-banner {margin-bottom: 0}
#cookie-banner .content_cookie.modal_activated a {
    color: #00965e;
    font-family: "BNPP Sans",sans-serif;
}
#cookie-banner .content_cookie.modal_activated button.open_cookie_modal {
    background-color: transparent;
    padding: 0;
    color: #00965e;
    font-family: "BNPP Sans",sans-serif;
    border: none;
}
#cookie-banner .content_cookie.modal_activated button#gdpr_default_ok {
    line-height: 0;
    padding: 12px 22px;
    background-color: #00965e;
    border: 1px solid #00965e;
    border-radius: 5px;
    color: #fff;
    font-family: "BNPP Sans",sans-serif;
    text-transform: uppercase;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

/*
#epp-cookie-banner {
    background-color: #edf2f3;
    padding: 20px 70px;
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}*/
#cookie-banner .title-banner {
    text-transform: uppercase;
    color: #b9b9b9;
    margin-bottom: 10px;
    font-family: Arial;
    font-size: 25px;
}
.epp-message-iframe {
    width: 100%;
    height: 100%;
    background-color: #444;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: center;
    display: flex;
    align-items: center;
    color: #b9b9b9;
    text-align: center;
    font-size: 20px;
}
#cookie-banner .btn_more_info {color: #b9b9b9}
.cookie_functional {display: none}
.cookie_functional.activated {display: block}

#cookie-banner .formgroup {display: flex;align-items: center}
#cookie-banner .form-check-label {font-weight: 600;font-size: 13px;color: white}
#cookie-banner .form-check span {font-size: 13px;color: #b9b9b9;font-weight: 100;}
#cookie-banner input,
#cookie-banner button {
    font-size: 13px;
    font-weight: normal;
}
#cookie-banner button {margin: 0 10px 0 0}
#cookie-banner input {margin: 0 4px 0 0;}
#cookie-banner button {padding: 8px 17px;border: 1px solid #b9b9b9}
#cookie-banner .pull-right {float: right}

@media screen and (max-width: 768px) {

    #cookie-banner .content_cookie {
        overflow: auto;
        max-height: calc(100vh - 313px);
    }
    #cookie-banner .cookie-banner_toggle {top: -33px}
}
@media screen and (max-width: 600px) {
    #cookie-banner .content_cookie {
        padding: 25px;
    }
    #cookie-banner .cookie-banner_toggle {font-size: 17px;top: -32px}
    #cookie-banner button:not(.cookie-banner_toggle) {margin: 5px 0}
}


/* MODAL */
.cookie-modal .modal-body {
    padding: 30px;
}
.cookie-modal .modal-footer,
.cookie-modal .modal-header  {
    padding: 20px 30px;
}
.cookie-modal .modal-header  button {
    margin: 0;
    float: none;
}
.cookie-modal .modal-header {
    display: flex;
    justify-content: space-between;
}
.cookie-modal .modal-header::before,
.cookie-modal .modal-header::after {
    display: none;
}
.cookie-modal .modal-footer button {
    background-color: #00965e;
    border: 1px solid #00965e;
    border-radius: 3px;
    color: #fff;
    font-family: "BNPP Sans",sans-serif;
}
.cookie-modal .modal-title {
    color: #00965e;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 0;
}
.cookie-modal .cookie_choice h5 {
    font-weight: 600;
    font-size: 15px;
}
.cookie-modal .cookie_choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.cookie-modal .content_switch p {
    text-align: justify;
}
.cookie-modal .modal-lg {
    width: 62%;
}
/* SWITCH BTN FOR MODAL */
.onoffswitch {
    position: relative; width: 75px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;

}
.onoffswitch-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border-radius: 5px;
    margin-bottom: 0;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "On";
    padding-left: 9px;
    background-color: #00965E; color: #FFFFFF;
    font-weight: normal;
}
.onoffswitch-inner:after {
    content: "Off";
    padding-right: 13px;
    background-color: #EEEEEE; color: #CCCCCC;
    text-align: right;
    font-weight: normal;
}
.onoffswitch-switch {
    display: block; width: 50%; margin: 0;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 45px;
    border-radius: 0 5px 5px 0;
    transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}
.default_cookie_label {
    cursor: not-allowed;
}
.content_switch_cookies {
    display: flex;margin: 20px -20px 30px -20px;flex-wrap: wrap;
}
.content_switch_cookies .content_switch {
    width: calc(100% / 4 - 40px);margin: 0 20px
}
/* Page template cookie */
.page-template-tpl-cookies-manager .cookie_page {
    font-size: 15px;
    font-family: "Arial";
    padding: 50px 0;
}
.page-template-tpl-cookies-manager .content_switch_cookies .content_switch .cookie_choice .onoffswitch-inner.defaultCookieContent:before {
    background-color: #EEEEEE
}
.page-template-tpl-cookies-manager .cookie_page h1 {
    font-size: 30px;
    margin: 30px 0;
}
.page-template-tpl-cookies-manager .container {
    max-width: 1400px;
    margin: auto;
}
.page-template-tpl-cookies-manager #cookie-banner {
    display: none!important;
}
.page-template-tpl-cookies-manager .content_switch_cookies {
    max-width: 830px;
    margin: 30px 0;
}
.page-template-tpl-cookies-manager .content_switch_cookies .content_switch {
    width: 100%;
    margin: 10px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #f7f7f7;
}
.page-template-tpl-cookies-manager .content_switch_cookies .content_switch p {
    max-width: 85%;
    font-size: 15px;
}
.page-template-tpl-cookies-manager .content_switch_cookies .content_switch .cookie_choice {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.page-template-tpl-cookies-manager .content_switch_cookies .content_switch .cookie_choice .onoffswitch-switch {
    right: 37px;
 }
.page-template-tpl-cookies-manager .content_switch_cookies .content_switch .cookie_choice .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0;
}
.page-template-tpl-cookies-manager .content_switch_cookies .content_switch .cookie_choice .onoffswitch-inner:after {
    content: "\f011";
    padding-right: 13px;
    background-color: #EEEEEE;
    color: #CCCCCC;
    text-align: right;
    font-weight: normal;
    font-family: 'Font Awesome 5 Pro';
}
.page-template-tpl-cookies-manager .content_switch_cookies .content_switch .cookie_choice .onoffswitch-inner:before {
    content: "\f00c";
    padding-left: 12px;
    background-color: #00965E;
    color: #FFFFFF;
    font-weight: normal;
    font-family: 'Font Awesome 5 Pro';
}
.page-template-tpl-cookies-manager .btn_action_cookies {
    margin-top: 10px;
    display: flex;
    cursor: pointer;
}
.page-template-tpl-cookies-manager #gdpr_selected {
    padding: 10px 15px;
    margin-right: 10px;
    cursor: pointer;
    transition: .2s all ease-in-out;
}
.page-template-tpl-cookies-manager #gdpr_selected:hover {
    background-color: rgb(232, 232, 232);
}
.page-template-tpl-cookies-manager #gdpr_ok {
    padding: 10px 15px;
    background-color: #00965d;
    color: white;
    margin-right: 5px;
    cursor: pointer;
    transition: .2s all ease-in-out;
}
.page-template-tpl-cookies-manager #gdpr_ok:hover {
    background-color: #038c58;
}
.page-template-tpl-cookies-manager #gdpr_nok {
    padding: 10px 15px;
    background-color: #bb0a30;
    color: white;
    cursor: pointer;
    transition: .2s all ease-in-out;
}
.page-template-tpl-cookies-manager #gdpr_nok:hover {
    background-color: #a9092b;
}
.manage_cookies {
    font-family: "Arial";
}
@media screen and (max-width: 1600px) {
    .cookie-modal .modal-lg {
        width: 75%;
    }
}
@media screen and (max-width: 1330px) {
    .cookie-modal .modal-lg {
        width: 80%;
    }
}
@media screen and (max-width: 1270px) {
    .cookie-modal .modal-lg {
        width: 85%;
    }
}
@media screen and (max-width: 1150px) {
    .cookie-modal .modal-lg {
        width: 90%;
    }
}
@media screen and (max-width: 992px) {
    .cookie-modal .modal-lg {
        width: 90%;
    }
    .content_switch_cookies .content_switch {
        width: calc(100% / 2 - 40px);
    }
}
@media screen and (max-width: 600px) {
    .content_switch_cookies .content_switch {
        width: 100%;
        margin: 20px 0;
    }
    .content_switch_cookies {
        margin: 20px 0;
    }
    .cookie-modal .modal-dialog {
        top: 2%;
        margin: auto;
    }
}
