/* Style RGPD 2019 */

@import url("https://fonts.googleapis.com/css?family=Roboto&Montserrat&display=swap");

/* LOGO*/

.mxw_rgpd_logo {
    max-width: 64px;
    float: right;
}


/* HEADBAND */

#mxw_rgpd_cookie {
    position: fixed;
    /* width: 90%; */
    bottom: 0;
    left: 0;
    background: white;
    font-family: "Montserrat", 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;
}

#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: 16px;
}

#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: "Montserrat", 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: "Montserrat", 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: "Montserrat", sans-serif;
}


/* POPUP SELECT  */

#mxw_rgpd_cookie_popup a {
    text-decoration: none;
    color: inherit;
    font-family: "Montserrat", sans-serif;
}

#mxw_rgpd_cookie_popup.mxw_modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0;
    z-index: 99999;
    display: none;
}

#mxw_rgpd_cookie_popup .modal_frame {
    position: relative;
    background: #f3f5f7f7;
    color: #2b2b2b;
    width: 90%;
    max-width: 500px;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 25px 15px;
    /* box-shadow: 0 0 17px rgba(0, 0, 0, 0.45); */
    border-radius: 5px;
    /* padding: 20px; */
}

#mxw_rgpd_cookie_popup hr {
    border: none;
}

#mxw_rgpd_cookie_popup .modal_frame h4 {
    font-family: "Montserrat", 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: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.1;
}

#mxw_rgpd_cookie_popup .modal_frame b {
    font-size: 1.2em;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    color: #0d4a76ba;
    /* text-shadow: 0 0 10px #1a71b7, 0 0 40px #1b72b7, 0 0 80px #0f5994; */
}

#mxw_rgpd_cookie_popup .modal_frame p {
    height: 0px;
    transition: 0.5s;
    overflow: hidden;
}

#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: 300px;
}

#mxw_rgpd_cookie_popup .tab_header {
    border-radius: 5px;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease-out 0.3s, color 0.2s ease-out 0s;
    background-color: #f2f2f2;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    border: 1px solid black;
    /* box-shadow: 0 0 10px #1a71b7, 0 0 40px #1b72b7, 0 0 80px #0f5994; */
}

.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: #165e99;
}

.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: "Montserrat", 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;
}

#mxw_rgpd_admin_contents_box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding-top: 40px;
    justify-content: space-between;
}

#mxw_rgpd_admin_contents .sidebar_left {
    max-width: 75%;
    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 {
    padding: 10px;
    resize: none;
}

#cookie_selected select {
    padding: 10px;
    height: auto;
}

#cookie_selected {
    width: 100%;
}

#cookie_selected td {
    vertical-align: top;
}

#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;
}

@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
    }
}