/* Consent boxes of the forms, the cookie notice and the legal pages of domikigr.ru (152-FZ; steps 520-529,
   projects/domikigr.ru/docs/legal/152fz.md). Linked by the chunk head after main_global.css. The consent box
   keeps the look of the consent line of production (.sogl_block of main_global.css: the box of the modals). */

.consent_field .consent_box {
    vertical-align: middle;
}
.consent_field .consent_label {
    display: inline;
    cursor: pointer;
}
.consent_field .consent_note {
    display: block;
    margin: 3px 0 0;
    font-size: 0.9em;
    opacity: 0.85;
}
.consent_field .consent_error,
.consent_field label.error {
    display: block;
    margin: 3px 0 0;
    color: #770000;
}
.modal_box .consent_field .consent_error,
.modal_box .consent_field label.error {
    color: #fff;
    font-weight: bold;
}
.consent_field .consent_error:empty {
    display: none;
}
.publish_field {
    margin-top: 6px;
}
/* the review form of the product cards (no modal): links of the consent in the colour of the page links
   (main_global.css makes .sogl_block a white for the modals and blue for the cart and the contacts) */
#comment-form .sogl_block a {
    color: #0066a4;
}
/* the modals: black text as the consent line of production (p of .form_hold) */
.modal_box .consent_field .consent_label,
.modal_box .consent_field .consent_note {
    color: #000;
    opacity: 1;
}

/* cookie notice */
.cookie_notice {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    padding: 14px 20px;
    background: rgba(33, 33, 33, 0.95);
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
}
.cookie_notice[hidden] {
    display: none;
}
.cookie_notice_in {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: 1170px;
    margin: 0 auto;
}
.cookie_notice_text {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    margin: 0 20px 0 0;
}
.cookie_notice_text a {
    color: #fff;
    text-decoration: underline;
}
.cookie_notice_btns {
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}
.cookie_notice_btn {
    margin: 3px 0 3px 8px;
    padding: 8px 16px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
.cookie_notice_accept {
    background: #f9d20a;
    border-color: #f9d20a;
    color: #212121;
}
@media screen and (max-width: 767px) {
    .cookie_notice_in {
        display: block;
    }
    .cookie_notice_text {
        margin: 0 0 10px;
    }
    .cookie_notice_btn {
        margin: 3px 8px 3px 0;
    }
}

/* legal pages: the draft mark and the tables */
.legal_draft {
    margin: 0 0 20px;
    padding: 12px 16px;
    border: 2px dashed #CF4A09;
    color: #CF4A09;
    font-weight: bold;
}
.legal_doc table {
    width: 100%;
    margin: 10px 0 20px;
    border-collapse: collapse;
}
.legal_doc th,
.legal_doc td {
    padding: 6px 8px;
    border: 1px solid #ccc;
    vertical-align: top;
    text-align: left;
}
