/* Style RGPD 2019 */

@import url("https://fonts.googleapis.com/css?family=Roboto&Poppins&display=swap");

/* LOGO*/

:root {
    --rgpd-bg: rgb(73 173 78 / 83%);
    --rgpd-bg-color: #ffffff;
    --rgpd-selection-hover: #ff7e29;
    --rgpd-selection-hover-color: black;
    --rgpd-button-bg: #49ad4e;
    --rgpd-button-color: #ffffff;
    --rgpd-button-hover-color: #ffffff;
    --rgpd-tb-bg: #ffffff;
    --rgpd-tb-color: black;
}

.mxw_rgpd_logo {
    max-width: 64px;
    float: right;
}


/* HEADBAND */

#mxw_rgpd_cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    background: white;
    font-family: "Poppins", sans-serif;
    opacity: 1;
    transition: 0.5s;
    z-index: 9999999;
    color: black;
}

.mxw_rgpd_cookie_close {
    position: absolute;
    top: 0;
    left: auto;
    font-size: 15px;
    margin: 5px 10px;
    right: 0px;
    font-weight: bolder;
    cursor: pointer;
    font-size: 24px!important;
}

#mxw_rgpd_cookie_flag {
    font-size: 10pt;
    color: rgb(0, 0, 0);
    font-family: 'Roboto';
    width: auto;
    opacity: 1;
    transition: 0.5s;
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    bottom: 15px;
    left: 15px;
    z-index: 99999;
    /* background: #f7f7f7; */
    padding: 5px 10px;
    border-radius: 50px;
    cursor: pointer;
}

#mxw_rgpd_cookie_flag img {
    width: 64px;
    opacity: 0.3;
    transition: 0.3s;
}

#mxw_rgpd_cookie_flag img:hover {
    opacity: 1;
    transition: 0.3s;
}

#mxw_rgpd_cookie_flag span {
    padding-left: 10px;
}

@media (max-width: 600px) {
    #mxw_rgpd_cookie_flag {
        background: rgba(255, 255, 255, 0.8);
        border-radius: 0px 10px 10px 0px;
        left: 0px;
    }
    #mxw_rgpd_cookie_flag span {
        display: none;
    }
    #mxw_rgpd_cookie_flag img {
        width: 32px;
    }
}

.MxwFadeIn {
    opacity: 1 !important;
    transition: 0.5s;
    z-index: 9999999 !important;
    display: block !important;
}

.MxwFadeOut {
    opacity: 0 !important;
    transition: 0.5s;
    z-index: -1;
    display: block !important;
}


/*  BAR */

#mxw_rgpd_cookie.bar {
    position: fixed;
    display: none;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    left: 0px !important;
    right: 0px !important;
    padding: 20px 15px;
    width: 100%;
    box-sizing: border-box;
}

#mxw_rgpd_cookie.bar .gestion_link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 460px) {
    #mxw_rgpd_cookie.bar {
        flex-direction: column;
    }
}


/*  POPUP */

#mxw_rgpd_cookie.popup .gestion_link {
    position: relative !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    /* bottom: 20px; */
    width: 90%;
}

#mxw_rgpd_cookie .phrase_accepted_cookie {
    position: relative;
    font-family: "Poppins", sans-serif;
}

#mxw_rgpd_cookie.popup {
    position: fixed;
    width: 90%;
    max-width: 500px;
    max-height: 250px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 25px 15px;
    /* margin: 20px 20px; */
    box-shadow: 0 0 17px rgba(0, 0, 0, 0.25);
}


/* WIDGET*/

#mxw_rgpd_cookie.widget .gestion_link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#mxw_rgpd_cookie.widget {
    position: fixed;
    width: 100%;
    max-width: 300px;
    /* height: 100%; */
    max-height: 250px;
    padding: 25px 15px;
    margin: 20px 20px;
    box-shadow: 0 0 17px rgba(0, 0, 0, 0.25);
    flex-direction: column;
}

#mxw_rgpd_cookie .gestion_cookie_link {
    margin: 5px 20px;
    color: rgb(98, 163, 41);
    cursor: pointer;
    text-align: center;
    font-family: "Poppins", sans-serif;
}

#mxw_rgpd_cookie .accepted {
    display: inline-block;
    margin: 5px;
    color: rgb(255, 255, 255)!important;
    background-color: rgb(0, 0, 0);
    padding: 5px 20px;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
}


/* POPUP SELECT  */

#mxw_rgpd_cookie_popup a {
    text-decoration: none;
    color: inherit;
    font-family: "Poppins", sans-serif;
}

#mxw_rgpd_cookie_popup.mxw_modal {
    position: fixed;
    width: 100%;
    max-width: 420px;
    height: auto;
    bottom: 50px;
    left: 50px;
    z-index: 99999;
    opacity: 0;
    transition: .3s;
    transform: translateX(-500px);
    background: var(--rgpd-bg) none repeat scroll 0 0;
    color: var(--rgpd-bg-color);
    box-shadow: rgb(0 0 0 / 15%) 0 4px 24px, rgb(0 0 0 / 5%) 0 2px 6px;
    border-radius: 5px;
    box-shadow: 0 8px 32px 0 rgb(0 150 136 / 62%);
    backdrop-filter: blur( 6px);
    border-radius: 10px;
    overflow: hidden;
}

#mxw_rgpd_cookie_popup.mxw_modal.active {
    transition: 0.3s;
    transform: translateX(20px);
    opacity: 1;
}

#mxw_rgpd_cookie_popup.mxw_modal.mobile.active {
    transition: 0.3s;
    transform: translateX(0px);
    left: 0;
    opacity: 1;
}

#mxw_rgpd_cookie_popup .modal_frame {
    position: relative;
    display: grid;
    color: white;
    width: 100%;
    height: auto;
    border-radius: 10px
}

.ccc-title {
    text-align: center;
}

.ccc-warp-content {
    display: grid;
    padding: 15px;
    color: white;
    border-radius: 6px 6px 0px 0px;
}

.illustration-cop {
    width: 100%;
    height: 100%;
    max-width: 150px;
    max-height: 150px;
    justify-self: center;
}

.ccc-grid-button {
    display: flex;
    align-content: center;
    border-top: 1px solid var(--rgpd-button-bg);
    background: var(--rgpd-button-bg);
}

.ccc-grid-button * {
    justify-self: center;
    align-self: center;
    cursor: pointer;
    height: 100%;
    padding: 12px 0px !important;
    width: 100%;
    text-align: center;
}

.ccc-grid-button div:hover {
    background: var(--rgpd-selection-hover);
    color: var(--rgpd-button-color)!important;
    transition: 0.3s;
}

.ccc-privacy-text {
    font-size: clamp(12px, 14px, 16px);
    text-align: justify;
    padding: 10px 0px 20px;
    line-height: 20px;
}

.ccc-grid-button div:nth-child(2) {
    border-left: 1px solid #5a5a5a38;
    border-right: 1px solid #5a5a5a38;
}

.ccc-grid-button div:nth-child(3) {
    color: #ffffff;
}

#mxw_rgpd_cookie_popup hr {
    border: none;
}

#mxw_rgpd_cookie_popup .modal_frame h4 {
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.1;
}

#mxw_rgpd_cookie_popup .modal_frame span {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.1;
}

#mxw_rgpd_cookie_popup .modal_frame b {
    font-size: 0.9em;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    color: rgb(0 0 0);
}

#mxw_rgpd_cookie_popup .modal_frame p {
    transition: 0.5s;
    padding: 5px 5px 20px;
    scroll-behavior: smooth;
}

#mxw_rgpd_cookie_popup .modal_frame p.active {
    height: 100%;
    transition: 0.5s;
}

#mxw_rgpd_cookie_popup .warp_tab_header {
    /* overflow-y: auto; */
    max-height: max-content;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    display: none;
}

#mxw_rgpd_cookie_popup .warp_tab_header summary::marker {
    content: "";
    scroll-behavior: smooth;
}

#mxw_rgpd_cookie_popup .warp_tab_header details {
    background: transparent;
}

#mxw_rgpd_cookie_popup .warp_tab_header details[open] {
    display: block;
    scroll-behavior: smooth;
    background: white;
    border-radius: 6px;
    color: black;
}

#mxw_rgpd_cookie_popup .warp_tab_header.active {
    display: block;
    opacity: 1;
    pointer-events: visible;
    transition: 0.3s;
    max-height: 40vh;
    overflow-y: auto;
}

#mxw_rgpd_cookie_popup .tab_header {
    display: grid;
    grid-template-columns: 6% auto 10%;
    transition: background-color 0.2s ease-out 0.3s, color 0.2s ease-out 0s;
    background-color: var(--rgpd-tb-bg);
    margin-bottom: 10px;
    box-shadow: rgb(0 0 0 / 15%) 1px 4px 14px, rgb(0 0 0 / 5%) 0px 2px 6px;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px 10px;
    border: 1px solid var(--rgpd-tb-bg);
    color: var(--rgpd-tb-color);
}

#mxw_rgpd_cookie_popup .tab_header a,
#mxw_rgpd_cookie_popup .tab_header img {
    align-self: center;
    pointer-events: none;
}

.mxw_rgpd_label_checkbox .mxw_rgpd_slider {
    border-radius: 34px;
    background-color: #e3e1e8;
    height: 20px;
    width: 38px;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.4s;
}

.mxw_rgpd_label_checkbox input:checked+.mxw_rgpd_slider:before {
    transform: translateX(18px);
}

.mxw_rgpd_label_checkbox input:checked+.mxw_rgpd_slider:before {
    transform: translateX(17px);
}

.mxw_rgpd_label_checkbox input:checked+.mxw_rgpd_slider {
    background-color: var(--rgpd-bg);
}

.mxw_rgpd_label_checkbox input[type="checkbox"] {
    display: none;
}

.cmxw_rgpd_label_checkbox input:checked+.mxw_rgpd_slider:after {
    content: attr(data-cli-enable);
}

.mxw_rgpd_label_checkbox .mxw_rgpd_slider:after {
    content: attr(data-cli-disable);
    position: absolute;
    right: 50px;
    color: #000;
    font-size: 12px;
    text-align: right;
}

#mxw_rgpd_cookie_popup .mxw_rgpd_slider:before {
    background-color: #fff;
    bottom: 2px;
    content: "";
    height: 15px;
    left: 3px;
    position: absolute;
    transition: 0.4s;
    width: 15px;
    border-radius: 50%;
}

.mxw_rgpd_label_checkbox {
    display: inline-block;
    position: relative;
    min-height: 1px;
    padding-left: 38px;
    font-size: 14px;
}

.modal_frame button {
    max-width: 300px;
    padding: 15px;
    border-radius: 3px;
    border: none;
    background: #0071bc91;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    padding: 10px 40px;
    border: none;
    font-family: "Poppins", sans-serif;
    border: 1px solid white;
    /* box-shadow: 0 0 10px #1a71b7, 0 0 40px #1b72b7, 0 0 80px #0f5994; */
}

.modal_frame button:hover {
    border: none !important;
    background: #0071bc !important;
    color: white;
}


/* PARAMETRES*/

#mxw_rgpd_admin_param {
    padding: 40px;
}

#mxw_rgpd_admin_param textarea,
#mxw_rgpd_admin_param input {
    width: 100%;
    min-height: 40px;
    margin-bottom: 20px;
}

#mxw_rgpd_admin_param input[type="radio"] {
    width: 20px;
    height: 20px;
    min-height: auto;
    margin: 0;
    margin-right: 10px;
    margin-left: 10px;
}

#mxw_rgpd_admin_param input[type="radio"]:checked:before {
    content: "\2022";
    text-indent: -9999px;
    border-radius: 50px;
    font-size: 24px;
    width: 16px;
    height: 16px;
    margin: 1px;
    line-height: 16px;
    background-color: #1e8cbe;
}


/* Style the tab */

#mxw_rgpd_admin_param .tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

#mxw_rgpd_admin_param textarea {
    resize: none;
}


/* Style the buttons inside the tab */

#mxw_rgpd_admin_param button,
#mxw_rgpd_admin_param .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

.mxw_rgpd_frame_btn_save {
    display: flex;
    justify-content: flex-end;
}

#mxw_rgpd_admin_param button.mxw_rgpd_frame_btn_save_setting {
    background: #0071bc;
    color: white;
    padding: 5px 40px;
    float: right;
}


/* Change background color of buttons on hover */

#mxw_rgpd_admin_param .tab button:hover {
    background-color: #ddd;
}


/* Create an active/current tablink class */

#mxw_rgpd_admin_param .tab button.active {
    background-color: white;
}

#mxw_rgpd_admin_param .tabcontent,
#mxw_rgpd_admin_param .tab {
    width: 75%;
}

#mxw_rgpd_admin_param .tabcontent table {
    width: 100%;
}

#mxw_rgpd_admin_param .tabcontent td {
    vertical-align: top;
    padding: 7.5px 0px;
}

#mxw_rgpd_admin_param .tabcontent td:first-child {
    width: 25%;
}


/* Style the tab content */

#mxw_rgpd_admin_param .tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    background: white;
}

#mxw_rgpd_admin_param .tabcontent.active {
    display: block;
}

.mxw_rgpd_display_widget {
    display: none;
}


/* ADMIN PAGE */

#mxw_rgpd_admin_contents {
    position: relative;
    padding: 40px 20px;
}

#mxw_rgpd_admin_contents .wrap-title-plugin {
    display: grid;
    grid-template-columns: 80% 20%;
}

#mxw_rgpd_admin_contents .wrap-title-plugin h1 {
    align-self: center;
}

#mxw_rgpd_admin_contents h1 {
    font-size: 23px;
    font-weight: 400;
    margin: 0;
    padding: 9px 0 4px 0;
    line-height: 1.3;
}

#mxw_rgpd_admin_contents_box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding-top: 40px;
    justify-content: space-between;
}

#mxw_rgpd_admin_contents_box h4 {
    font-size: clamp(12px, 15px, 18px);
}

#mxw_rgpd_admin_contents .sidebar_left {
    width: 100%;
}

#mxw_rgpd_admin_contents .sidebar_right {
    max-width: 22%;
    background: white;
    width: 100%;
}

#dashboard_rgpd td {
    vertical-align: middle !important;
}

#cookie_selected input[type="text"],
#cookie_selected textarea {
    resize: none;
}

#cookie_selected select {
    height: auto;
}

#cookie_selected {
    width: 100%;
}

#cookie_selected td {
    vertical-align: top;
}

#cookie_selected td:first-child {
    width: 10%;
}

#cookie_selected td * {
    width: 100%;
}

#mxw_rgpd_admin_contents button,
#cookie_selected button {
    max-width: 300px;
    padding: 15px;
    border-radius: 3px;
    border: none;
    background: #0071bc;
    color: white;
    font-size: 1.3em;
    float: right;
    cursor: pointer;
}

#mxw_rgpd_admin_contents button {
    float: none;
    margin-top: 20px;
}

#mxw_rgpd_admin_contents .col5 {
    width: 5%;
}

#mxw_rgpd_admin_contents .col10 {
    width: 10%;
}

#mxw_rgpd_admin_contents .col25 {
    width: 25%;
}

#mxw_rgpd_admin_contents .col50 {
    width: 50%;
}

#mxw_rgpd_admin_contents .col75 {
    width: 75%;
}


/*  List cookies Acoordeon  */

#menu_list_cookies {
    float: left;
    width: 100%;
    padding: 5px;
}

#menu_list_cookies li a {
    display: block;
    padding: 10px 15px;
    background: #0071bc;
    text-decoration: none;
    color: white;
    cursor: pointer;
    box-shadow: none;
}

#menu_list_cookies li a:hover,
#nav li a.active {
    background: #43b4ff;
    color: #fff;
    box-shadow: none;
}

#menu_list_cookies li ul {
    display: none;
}

#menu_list_cookies li ul li a {
    padding: 10px 25px;
    background: #ececec;
    border-bottom: 1px dotted #ccc;
}

#menu_list_cookies .btn_add_list_cookie {
    width: 100%;
    max-width: none;
    font-size: 1vw;
    line-height: 161.8%;
    padding: 0px 0.5vw;
}

#menu_list_cookies .label {
    font-size: 1.2em;
    padding: 10px 0px 0px;
    width: 100%;
}

#menu_list_cookies input {
    width: 100%;
}

#mxw_rgpd_admin_contents_box .sidebar_right h1 {
    font-size: 1.5vw;
    line-height: 161.8%;
    padding: 0px 0.5vw;
}

.modal_response {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0071bc;
    color: white;
    z-index: 999;
    padding: 40px;
    font-size: 1.3em;
    display: block;
    border-radius: 6px;
}

@media (max-width: 1024px) {
    #mxw_rgpd_admin_contents_box .sidebar_right h1,
    #menu_list_cookies .btn_add_list_cookie {
        /* Minimum font size */
        font-size: 14px
    }
}