/* The Modal (background) */
.modal-cookie {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    /*overflow-y: auto; !* Enable scroll if needed *!*/
    overflow-x: hidden;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    font-size: 14px;
    color: #333;
}

/* Modal Content */
.content-modal-cookie {
    background-color: #fff;
    margin: auto;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.noScroll-modal-open {
    overflow-y: hidden;
}

.btn_color_modal {
    font-family: "os-bold", "Open Sans", "Arial", sans-serif;
    font-size: 14px;
    padding: 0 20px;
    height: 46px;
    /*width: 100%;*/
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 0 0 0.1px #fff;
    background: #09c;
    border: 1px solid #09c;
    color: #fff;
    text-shadow: 0 0 0.1px #fff;
    border: 1px solid #09c;
    text-transform: uppercase;
}
@media screen and (min-width: 768px) {
    .content-modal-cookie {
        max-width: calc(100% - 60px);
        height: 60vh;
        max-height: 530px;
        margin-top: 20vh;
    }
}
@media screen and (min-width: 1024px) {
    .content-modal-cookie {
        max-width: 796px;
    }
}

/* The Close Button */
.close-modal-cookie {
    position: absolute;
    z-index: 99999;
    top: 0;
    right: 0;
    background: none;
    border: 0;
    padding: 10px;
    height: 42px;
    width: 42px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    color: #000;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .close-modal-cookie {
        top: 9px;
    }

    .modal_body {
        padding: 20px;
        min-height: calc(100vh - 140px);

    }
}

.close-modal-cookie:hover,
.close-modal-cookie:focus {
    color: #09c;
    cursor: pointer;
}

.modal_header {
    position: relative;
    border-bottom: 1px solid #ccc;
    padding: 20px;
}
.modal_header_title {
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
}
.modal_body {
    padding: 20px;
    height: calc(100vh - 180px);
    overflow-y: auto;
    overflow-x: hidden;
}
@media screen and (min-width: 768px) {
    .modal_body {
        height: calc(60vh - 180px);
        max-height: calc(530px - 180px);
    }
}
.modal-cookie_body_title {
    margin-bottom: 10px;
    font-family: "os-bold", "Open sans", "Arial", sans-serif;
    font-size: 16px;
}
p + .modal-cookie_body_title {
    margin-top: 30px;
}
.modal-cookie_label {
    text-transform: uppercase;
}
.modal-cookie_label-descr {
    padding: 5px 0 0 42px;
}
.modal-cookie_checkbox + .modal-cookie_checkbox {
    margin-top: 15px;
}
.modal_footer {
    display: flex;
    position: fixed;
    right: 0;
    left: 0;
    padding:10px 20px 20px 20px;
    bottom: 0;
    z-index: 20;
    background-color: white;
}

@media screen and (min-width: 768px) {
    .modal_footer {
        position: absolute;
        margin-top: 25px;
    }
}
.modal_footer_btn--uniq {
    flex: 1;
}
@media screen and (min-width: 768px) {
    .modal_footer_btn--uniq {
        flex: inherit;
        margin-left: auto;
    }
}

.checkbox--green-left {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    padding: 5px 0 5px;
    line-height: 1.3;
}
.checkbox--green-left input {
    position: absolute;
    opacity: 0;
}
.modal-cookie_checkbox input {
    z-index: 1;
    width: 100%;
    height: 100%;
}
.checkbox--green-left label {
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    padding-left: 42px;
}
.checkbox--green-left label:before, .checkbox--green-left label:after {
    display: block;
    position: absolute;
}
.checkbox--green-left label:before {
    left: 0;
    top: 50%;
    margin-top: -14px;
    width: 30px;
    height: 30px;
    content: "";
    border-width: 1px;
    border-style: solid;
    border-color: #999;
    border-radius: 4px;
    transition: all .2s ease;
}
.checkbox--green-left label:after {
    left: 4px;
    top: 50%;
    margin-top: -14px;
    font-family: bzc-glyphes !important;
    font-size: 23px;
    content: "\e919";
    color: #6C4DFF;
    transition: all .1s linear;
    transform: scale(3);
    opacity: 0;
}
.checkbox--green-left input:checked + label:before {
    border-color: #6C4DFF;
}
.checkbox--green-left input:checked + label:after {
    transform: scale(1);
    opacity: 1;
    background: none;
    border: none;
    text-shadow: none;
    margin: -14px 0 0 0;
    font-weight: 400;
    color: #6C4DFF;
}