.cookies_panel_wrp {
    position: fixed;
    z-index: 1000;
    left: 0;
    bottom: 0;
    background: #fff;
    padding: 15px 15px;
    width: 100%;
    border-top: 1px solid #f0f0f0;
    display: none;
    font-family: 'Arial';
}

.cookies_panel_container {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    align-items: flex-start;
}

.cookies_controls {
    flex: none;
    text-align: center;
    margin-left: 40px;
    margin-top: 20px;
    width: 190px;
}

.cookies_controls .cookies_allow_all {
    background-color: #e4124d;
    color: #ffffff;
    border: none;
    width: 100%;
    height: 40px;
    font-size: 15px;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 5px;
}

.cookies_allow_all:hover {
    background-color: #000000;
    color: #fff;
}

.cookies_description h3 {
    margin: 0;
    font-size: 20px;
    margin-bottom: 11px;
    line-height: 1.2;
}

.cookies_description p {
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
    text-align: justify;
}

.cookies_description p a {
    color: #000000;
}

.cookies_description p a:hover {
    text-decoration: underline;
}

.cookies_settings_link {
    margin: 0;
    margin-top: 10px;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    text-decoration: underline;
    font-size: 12px;
    color: gray;
}

.cookies_settings_link:hover {
    text-decoration: none;
}

.cookies_panel_wrp, .cookies_panel_wrp * {
    box-sizing: border-box;
}
.cookies_modal_wrp {
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    max-height: 100vh;
    pointer-events: none;
    display: none;
}

.cookies_modal_wrp::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background: black;
    z-index: 100;
    width: 100%;
    height: 100%;
    opacity: .4;
}

.cookies_modal_wrp, .cookies_modal_wrp * {box-sizing: border-box;}

.cookies_modal {
    background: #fff;
    z-index: 100;
    max-width: 690px;
    position: relative;
    margin: 0 auto;
    padding: 0;
    max-height: 50vh;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: all;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    font-family: 'Arial';
}
.cookies_top {
   border-bottom: 1px solid #f0f0f0;
   width: 100%;
   padding: 20px;
   padding-top: 10px;
   padding-bottom: 10px;
}

.cookies_top .user_hash {
   font-size: 11px;
   color: gray;
   padding-top: 12px;
   display: block;
   width: 250px;
   float: left;
}

.cookies_top .logo_cookies {
   width: 500px;
   float: left;
}

.cookies_top .close_cookies {
   width: 30px;
   float: right;
}

.cookies_top .close_cookies svg {
    width: 30px;
    height: 30px;
}

.cookies_top .close_cookies svg:hover {
    cursor: pointer;  
}           

.cookies_header {
    padding: 30px;
    padding-bottom: 10px;
    flex: none;
    padding-top: 10px;
}

.cookies_content {
    overflow: auto;
    padding: 20px;
    text-align: justify
}

.cookies_content .modal_ttle {
    font-weight: bold;
    font-size: 24px;
    margin: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}

.cookies_content .modal_text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

.cookie_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.cookie_header > p {
    margin: 0;
    font-weight: bold;
    font-size: 16px;
    position: relative;
    width: 100%;
}

.cookes_list {
    padding-top: 24px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 24px;
    flex: 1;
    overflow: auto;
}
.cookie_header > p::before {
    content: '+';
    width: 15px;
    display: inline-block;
}
.cookies_item.show_description > p {
    display: block;
}

.cookies_item.show_description > div > p::before {
    content: '-';
}
.cookies_item {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cookies_item > p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    display: none;
    padding-top: 14px;
}

.cookie_header {
    padding-bottom: 0;
}

.cookies_item:last-child {
    padding: 0;
    margin: 0;
    border: none;
}
.cookie_header > div {
    position: relative;
    width: 48px;
    height: 28px;
    border-radius: 14px;
    background: #f2f1f1;
    border: 1px solid #dddddd; 
}

.cookie_header > div > span {
    position: absolute;
    width: 19px;
    height: 19px;
    border-radius: 100px;
    background: #7d7d7d;
    margin: 4px;

    left: 0;
}

.active .cookie_header > div > span {
    left: calc(100% - 26px);
    pointer-events: none;
    background: #ffffff;
}

.active .cookie_header > div {
    background-color: #6DB131;
    border: 1px solid #6DB131; 
}
.active .cookie_header > div {
    background-color: #6DB131;
}    

.cookies_item.required > div > div {
    pointer-events: none;
}
.cookies_item.required .cookie_header > div {
    opacity: .6;
}
.cookies_modal_wrp {
    display: none;
}
.cookis_modal_buttons {
    bottom: 0;
    display: flex;    
    justify-content: flex-end;
    flex: none;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.cookis_modal_buttons > button {
    width: auto;
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 10px;
    margin-right: 10px;
    width: 100%;
    height: 40px;
    font-size: 15px;
    cursor: pointer;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
}

.cookis_modal_buttons > button:hover {
    border: 1px solid #cbcbcb;
    color: #000000;
    background: #ffffff;
}

.cookis_modal_buttons > button.allow_all {
    width: auto;
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 10px;
    margin-right: 10px;
    width: 100%;
    height: 40px;
    font-size: 15px;
    cursor: pointer;
    background-color: #6DB131;
    color: #ffffff;
    border: 1px solid #6DB131;
    font-weight: bold;
}

.cookis_modal_buttons > button.allow_all:hover {
    border: 1px solid #000000;
    color: #ffffff;
    background: #000000;
}


@media screen and (max-width: 1200px) {
    .cookies_description h3 {
        font-size: 24px;
    }
    
    .cookies_description p {
        font-size: 16px;
    }
    
    .cookies_controls {
        margin-left: 30px;
    }
}
@media screen and (max-width: 780px) {

    .cookies_panel_container {
        display: block;
    }
    
    .cookies_panel_wrp {
        padding: 10px 15px;
    }
    
    .cookies_description h3 {
        font-size: 20px;
    }
    
    .cookies_description p {
        font-size: 14px;
    }
    
    .cookies_controls {
        margin: 0;
        display: flex;
        align-items: center;
        width: 100%;
        margin-top: 14px;
    }
    
    .cookies_settings_link {
        flex: none;
        margin: 0;
        margin-left: 15px;
    }
    
    .cookies_allow_all {
        height: 38px;
    }
    .cookies_header {
        padding: 20px;
    }
    
    .cookies_modal {
        max-height: 100%;
        height: auto;
    }
    
    div#cookies_list {
        padding: 0px;
    }
    
    .cookis_modal_buttons {
       flex-direction:column-reverse;
     }
    
    .cookis_modal_buttons > button {
       width: calc(100% - 20px);
       margin-bottom: 10px;
    }

    .cookis_modal_buttons > button.allow_all {
       width: calc(100% - 20px);
    }

}