@import url("/css/grotesk.css");

.fw-extra-bold {
    font-weight: 800 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.color-grey-dark {
    color: #4F4F4F;
}

.color-bordo {
    color: #8C2F6A;
}

.bg-theme {
    background: #f4f6f9;
}

.pm-btn {
    border-radius: 0;
    background: #DCB76A;
    font-weight: bold;
    border: none;
    padding: .5rem .8rem;
}

@media (max-width: 1400px) and (min-width: 768px) {
    .container-fluid-center > div:last-child {
        text-align: end;
    }
}

@media (max-width: 768px) {
    .footer-logo {
        display: none;
    }

    .container-fluid-center {
        text-align: center !important;
    }

    .container-fluid-center > div {
        width: 100%;
    }

    .box {
        padding: 30px;
    }

    .d-no-md {
        display: none !important;
    }

    .btn-answer-width {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .box {
        padding: 50px;
    }

    .answer-container {
        padding-left: 50px;
        padding-right: 50px;
    }

    .btn-answer-width {
        min-width: 200px;
    }
}

.footer-nav {
    line-height: 22px;
    color: #4f4f4f;
}

.footer-nav a {
    text-decoration: none;
    color: #4f4f4f !important;
}

.question-header {
    max-width: 700px;
}

.question-header__title {
    font-size: 50px;
    line-height: 75%;
    color: #4F4F4F;
    z-index: 1;
    position: relative;
}

.half-bg:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20%;
    height: 25px;
    width: 140%;
    background: #dcb76a;
    z-index: -1;
}

.question-header__desc {
    color: #8C2F6A;
    font-size: 30px;
    line-height: 120%;
}

.question-header__footer {
    color: #4F4F4F;
    font-size: 26px;
    line-height: 120%;
}

.box {
    margin-bottom: 30px;
}

.attention-box {
    background: #FDF3F9;
    padding: 1rem;
}

.bg-attention {
    background: #8C2F6A;
}

.bg-gold {
    background: #DCB76A;
}

.text-medium {
    font-size: 22px;
}

.text-normal {
    font-size: 20px;
}

.line-height-120 {
    line-height: 120%;
}

.line-height-140 {
    line-height: 140%;
}

.box-square-40 {
    line-height: 40px;
    width: 40px;
    min-width: 40px;
    max-height: 40px;
}

.btn-answer {
    padding: 12px 0;
    text-transform: uppercase;
    font-size: 16px;
    /*line-height: 120%;*/
    /*letter-spacing: 0.02em;*/
}

.btn-answer > span {
    position: relative;
}

.btn-outline-answer {
    --bs-btn-font-weight: 700;
    --bs-btn-color: #005450;
    --bs-btn-bg: white;
    --bs-btn-border-color: #005450;
    --bs-btn-border-radius: .5rem;
    --bs-btn-hover-color: white;
    --bs-btn-hover-bg: #005450;
    --bs-btn-hover-border-color: #005450;
    --bs-btn-focus-shadow-rgb: white;
    --bs-btn-active-color: white;
    --bs-btn-active-bg: #005450;
    --bs-btn-active-border-color: #005450;
}

.btn-accept {
    --bs-btn-font-weight: 700;
    --bs-btn-color: black;
    --bs-btn-bg: #DCB76A;
    --bs-btn-border-color: #DCB76A;
    --bs-btn-border-radius: .5rem;
    --bs-btn-hover-color: black;
    --bs-btn-hover-bg: rgba(220, 183, 106, 0.6);
    --bs-btn-hover-border-color: rgba(220, 183, 106, 0.6);
    --bs-btn-focus-shadow-rgb: white;
    --bs-btn-active-color: white;
    --bs-btn-active-bg: #DCB76A;
    --bs-btn-active-border-color: #DCB76A;
}

.btn-question-form {
    text-transform: uppercase;
    padding: 12px;
}

.btn-accept-info {
    --bs-btn-font-weight: 700;
    --bs-btn-color: white;
    --bs-btn-bg: #005450;
    --bs-btn-border-color: #005450;
    --bs-btn-border-radius: .5rem;
    --bs-btn-hover-color: white;
    --bs-btn-hover-bg: #005460;
    --bs-btn-hover-border-color: #005460;
    --bs-btn-focus-shadow-rgb: white;
    --bs-btn-active-color: white;
    --bs-btn-active-bg: #005450;
    --bs-btn-active-border-color: #005450;
}

.btn-answer > span::after {
    position: absolute;
    /*bottom: calc(50% - 10px);*/
    /*left: calc(50% - 45px);*/
    top: calc(50% - 9px);
    left: -22px;
    content: '';
    width: 18px;
    height: 18px;
    background: url("/assets/icons/med_checked.svg") no-repeat;
    visibility: hidden;
}

.btn-answer-check:checked + .btn-answer > span::after {
    visibility: visible;
}

.auth-form > div > input {
    padding: 12px;
}

.invalid-description {
    display: none !important;
}

.is-invalid > .invalid-description {
    display: flex !important;
}

.is-invalid > .form-control {
    border-color: #dc3545;
}