.cookies.visible,
.cookies-settings.visible { 
    display: flex; 
    box-shadow: 0px 21px 80px rgba(0, 0, 0, 0.12), 0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198);
}

.cookies,
.cookies-settings {
    background: linear-gradient(59deg, #2f4e72 0%, #4a719f 100%);
    color: #fff;
    backdrop-filter: blur(4px);
    border-radius: 30px;
    padding: 20px 70px;
    max-width: 1200px;
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    z-index: 999999;
    margin: 0 auto;
    display: none;
}

button.close-cookies {
    position: absolute;
    right: -5px;
    top: -5px;
}
.cookies__meta a {
    text-decoration: underline;
    font-size: 16px;
}
.cookies__title {
    font-weight: 600;
    font-size: 24px;
    margin: 0 0 5px;

}
.cookies__desc {
    font-weight: 600;
    font-size: 14px;
}
.cookies__btns button, .cookies-setting__bnt button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 40px;
    border-radius: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    padding: 0 20px;
    color: #000;
    border: 0;
    background: #78aae4;
    border: 1px solid #78aae4;
}

.cookies a {
    color: #fff;
}
button.save {
    background: #6999d1;
}
.cookies__btns button:hover, .cookies-setting__bnt button:hover {
    border: 1px solid #6999d1;
    background: transparent;
    color: #6999d1;
}

.cookies__btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookies {
   
    align-items: flex-end;
    gap: 40px;
}

.cookies__meta {
    flex: 1 ;
}
button.accept-all:hover {

}
button.close-cookies:focus,
button.close-cookies,
button.close-settings,
button.close-settings:focus {
    width: 32px;
    height: 32px;
    background: #fff;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    outline: none;
}

button.close-settings,
button.close-cookies  {
    background: #f5f5f5;
}
button.close-settings img,
button.close-cookies img {
    width: 12px;

}
button.save {
   
}
button.accept-all {
    color: #000;
    background: #fff;
    border-color: #fff;
}



.cookies-settings {
    flex-direction: column;
    gap: 24px;
}

.cookies-settings button.close-settings {
    position: absolute;
    top: -5px;
    right: -5px;
}

.cookies__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-header {
    font-weight: 700;
    font-size: 18px;
}

.cookie-description {
    font-size: 16px;
}

.cookie-header label span {
    position: relative;
    padding-right: 38px;
    display: block;
}

.cookie-header label span:before, 
.cookie-header label span:after {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 4px;
}


.cookie-header label span:after {
    opacity: 0;
    background-image: url(/wp-content/themes/realife/img/check-w.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.cookie-header label span:before {
    border: 1px solid #fff;
}



.cookie-item .cookie-description {
    padding-right: 38px;
}

.cookie-header label input:checked ~ span:after {
    opacity: 1;
}

.cookie-item.check-disable label input:checked ~ span:after {
    background-image: url(/wp-content/themes/realife/img/check-w.svg);
}

.cookie-header span input {
    display: none;
}
.cookie-header span {
    cursor: pointer;
}

.cookies-settings {
    max-width: 800px;
}

.cookies-setting__bnt {
    justify-content: flex-end;
    display: flex;
    gap: 10px;
}
.cookie-header input {
    display: none;
}
@media screen and (max-width: 1199px) {
    .cookie-description {
        font-size: 14px;
    }
    .cookies {
        flex-direction: column;
        gap: 16px;
    }

    .cookies__title {
        font-weight: 600;
        font-size: 20px;
        margin: 0 0 5px;
    }

    .cookies, .cookies-settings {
        padding: 16px 24px;
        border-radius: 20px;
    }

    

}


@media screen and (max-width: 460px) {
    .cookies__btns button {
        width: 100%;
    }
    .cookies__btns {
        flex-direction: column;
        width: 100%;
    }

    .cookies-setting__bnt {
        flex-direction: column;
    }
}


span.wpcf7-acceptance label span:before, span.wpcf7-acceptance label span:after {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    position: absolute;
    right: 0;
    top: -3px;
}

span.wpcf7-acceptance label span:before {
    border-radius: 4px;
    border: 1px solid #fff;
}

span.wpcf7-acceptance label span {
    position: relative;
    padding-right: 40px;
    display: block;
}

span.wpcf7-acceptance span, span.wpcf7-acceptance span a {
    margin: 0;
    color: #fff;
}

span.wpcf7-form-control.wpcf7-acceptance input {
    display: none;
}

span.wpcf7-acceptance a {
    text-decoration: underline;
}

span.wpcf7-acceptance label input:checked ~ span:after {
    background: url(/wp-content/themes/wp-bootstrap-starter/img/check-white.svg) no-repeat center;
    border-radius: 4px;
    background-size: 18px;
}



.field-policy, .field-captch {
    margin-top: 20px;
}


.ru-block span.wpcf7-acceptance label span:before, .ru-block span.wpcf7-acceptance label span:after {
    left: 0;
    right: auto;
}

.ru-block span.wpcf7-acceptance label span {
    padding-right: 0px;
    padding-left: 40px;
}

.footer__link {
    display: flex;
    align-items: center;
    gap: 35px;
    margin: 20px 0 0 0;
    justify-content: center;
}

.footer__link a {
    
}

.footer__link a:hover {
    text-decoration: underline;
}

.footer__link a:first-child {
    position: relative;
}

.footer__link a:first-child:before {
    position: absolute;
    top: 50%;
    left: -18px;
    width: 1px;
    height: 20px;
    transform: translate(0, -50%);
    background: var(--white);
    content: "";
    opacity: 0.2;
}
@media screen and (max-width: 1024px) {

    .footer__link {
        flex-direction: column;
        gap: 5px;
    }

}