

/* Start:/local/templates/main/partials/auth-consents.css?17951446991497*/
/*
 * Галочки согласий на формах входа и регистрации (partials/auth-consents.php).
 * Ссылка на PDF стоит вне label, поэтому наведение и нажатие на неё не подсвечивают квадратик.
 * Квадратик (label::before) стоит слева по центру текста, текст со ссылкой переносится под текст —
 * размеры и отступы как у обычной галочки: квадратик 24px с рамкой 1px, после него 0.5em.
 */
.auth-consents {
    margin: 16px 0 24px;
}

.auth-consents_item {
    align-items: center;
    display: flex;
    /* строка в одну линию прежде занимала 31px + 10px отступа, теперь 26px + 15px — галочки стоят на тех же местах */
    margin-bottom: 15px;
    min-height: 26px;
    padding-left: calc(26px + 0.5em);
    position: relative;
}

/* подсказка браузера «отметьте флажок» показывается у квадратика */
.auth-consents_item [type='checkbox'] {
    left: 0;
}

.auth-consents_item [type='checkbox'] + label {
    display: inline;
}

.auth-consents_item [type='checkbox'] + label::before {
    left: 0;
    margin-right: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.auth-consents_item .policy-link {
    padding-left: 5px;
}

/* End */
/* /local/templates/main/partials/auth-consents.css?17951446991497 */
