@font-face {
    font-family: 'FiraSansRegular';
    src: url('../fonts/Firasansregular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FiraSansLight';
    src: url('../fonts/Firasanslight.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 16px;
}

* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h2 {
    font-weight: normal;
    font-family: FiraSansRegular;
    font-size: 2.25rem;
    color: #424242;
    line-height: 3rem;
    letter-spacing: -.05rem;
}

a {
    font-family: FiraSansLight;
    color: #448aff;
    font-size: 0.8125rem;
    text-decoration: none;
}

p {
    font-family: FiraSansLight;
    font-size: 15px;
    color: #424242;
    line-height: 1.33;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f5f5f5;
}

.container {
    flex: 1;
    width: 1264px;
    margin: 0 auto;
}

.header {
    margin-top: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;

}

.header__item {
    margin-right: 2.375rem;
}

.header__logo {
    height: 5.5rem;
}

.main {
    margin: 3rem 0;
    -webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
            box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 6rem 13.4375rem;
    display: block;
}

.main__title {
    margin-bottom: 2.75rem;
}

.main__button {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.main__description {
    margin-bottom: 1.5rem;
}

.form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    width: 100%;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.form__item {
    width: 49%;
}

.form-item__label {
    font-weight: normal;
    font-family: FiraSansLight;
    font-size: 0.9375rem;
    color: #424242;
    display: block;
    line-height: 2.09;
}

.form-item__input {
    width: 100%;
    font-weight: normal;
    font-family: FiraSansRegular;
    font-size: 1.125rem;
    color: #424242;
    padding: 0.75rem 1rem;
    display: block;
    height: 3rem;
    border-radius: 2px;
    border: solid 1px #e0e0e0;
    -webkit-transition: border-color .3s;
    -o-transition: border-color .3s;
    transition: border-color .3s;
}

.form-item__input::-webkit-input-placeholder {
    color: #9e9e9e;
 }
 .form-item__input::-moz-placeholder {
    color: #9e9e9e;
 }
 .form-item__input:-ms-input-placeholder {
    color: #9e9e9e;
 }
 .form-item__input::-ms-input-placeholder {
    color: #9e9e9e;
 }
 .form-item__input::placeholder {
    color: #9e9e9e;
 }

.form-input__error {
    font-family: FiraSansLight;
    font-size: 0.9375rem;
    color: #ff1744;
}

.form-item__input:focus {
    border-color: #448aff;
    outline: none;
}

.form-item--error .form-item__input {
    border-color: #ff1744;
    outline: none;
}

.form-item--error .form-item__input:focus {
    border-color: #ff1744;
    outline: none;
}

.form-item__checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.form-item__checkbox+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
    cursor: pointer;
    pointer-events: none;
}

.form-item__checkbox+label::before {
    content: '';
    display: inline-block;
    width: calc(20 / 16 * 1rem);
    height: calc(20 / 16 * 1rem);
    margin-right: calc(10 / 16 * 1rem);
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #979797;
    border-radius: calc(4 / 16 * 1rem);
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    pointer-events: auto;
}

.form-item__checkbox:checked+label::before {
    border-color: #448AFF;
    background-color: #448AFF;
    background-image: url('../img/checkmark.svg');
}

.form-item__checkbox:not(:disabled):not(:checked)+label:hover::before {
    border-color: #696969;
}

.form-item__checkbox:not(:disabled):checked+label:hover::before {
    background-color: #0085f2;
    border-color: #0085f2;
}

.agreement-policy__block {
    display: flex;
    align-items: center;
    margin-top: calc(8 / 16 * 1rem);
    margin-bottom: calc(20 / 16 * 1rem);
}

.agreement-policy__label,
.agreement-policy__link {
    font-family: FiraSansRegular;
    font-size: calc(13 / 16 * 1rem);
    font-weight: 300;
    line-height: calc(18 / 16 * 1rem);
    color: #424242;
}

.agreement-policy__link {
    text-decoration: underline;
    pointer-events: auto;
}

.links-wrapper {
    line-height: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}

.button-wrapper {
    width: 36%;
    margin-top: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    flex-direction: column;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

.submit-button {
    width: 100%;
    font-family: FiraSansRegular;
    text-align: center;
    padding-top: 0.65em;
    padding-bottom: 0.65em;
    border-radius: 33px;
    cursor: pointer;
    /* color: white; */
    /* background-color: #448aff; */
    border: none;
    font-size: 1.375rem;
    outline: none;
    background-color: #448aff;
    color: white;
}
.submit-button:not([disabled]):hover  {
    background-color: #82b1ff;
}

.submit-button[disabled] {
    background-color: #f5f5f5;
    color: rgba(0,0,0,.4);;
}


.error {
    font-family: FiraSansLight;
    font-size: 0.8125rem;
    margin-top: 1.5rem;
    text-align: center;
    color: #ff1744;
}

.footer-blocks__title {
    color: #9e9e9e;
    white-space: nowrap;
    padding-bottom: 1rem;
    height: 1.875rem;
}

.footer-blocks__list {
    padding-bottom: 1.75rem;
    height: auto;
    overflow: hidden;
}

.footer-blocks__link {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-blocks__link:hover {
    text-decoration: underline;
}

.footer-blocks__link_inline {
    display: inline-block;
    float: none;
    margin-right: 0.6875rem;
    vertical-align: top;
}

.footer-blocks__search-link {
    color: #fff;
}

.footer-blocks__search-icon {
    position: relative;
    stroke: #fff;
    width: 1.25rem;
    top: 0.375rem;
    height: 1.25rem;
    margin-right: 0.25rem;
}

.footer-blocks__social {
    position: relative;
    top: -0.3125rem;
    white-space: nowrap;
    padding-bottom: 1rem;
}

.footer-blocks__list-half {
    display: inline-block;
    width: auto;
    vertical-align: top;
}

.footer-blocks__cabinet {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 0.5rem;
}

.footer-blocks__cabinet .footer-blocks__link {
    margin-bottom: 0;
}

.footer-blocks__cabinet-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

.footer-contacts {
    background: #eeeeee;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
}

.footer-contacts__container {
    align-items: center;
}

.footer-contacts__contact {
    white-space: nowrap;
}

.footer-contacts__button {
    font-size: 1.5rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contacts__button-title {
    padding-left: 0.5rem;
}

.copyright__item,
.footer-legal__politics,
.footer-legal__politics-link {
    color: #9e9e9e;
    font-size: 0.6875rem;
    line-height: 1rem;
}

.footer-legal__politics-link {
    text-decoration: underline;
}

.copyright__item_hover-line {
    cursor: pointer;
}

.footer-legal__blocks {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.footer-legal__copyright {
    padding-left: 1rem;
}

.copyright__item_hover-line:hover {
    text-decoration: underline;
}

.footer__legal {
    color: #9e9e9e;
    font-size: 0.5625rem;
    line-height: 0.75rem;
    padding-top: 1rem;
}

.footer-logos {
    white-space: nowrap;
    text-align: left;
}

.footer-logos__logo-box {
    display: inline-block;
}

.footer-logos__logo {
    height: 2rem;
    width: 100%;
    cursor: pointer;
    opacity: .496;
    transition: opacity .2s;
    display: inline-block;
}

.footer-logos__logo:hover {
    opacity: 1;
}

.footer-logos__logo-box_crown {
    width: 4rem;
}

.footer__main {
    background: #424242;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
    font-family: 'FiraSans', sans-serif;
}

.grid {
    width: 80.25rem; /*10 + 1264 + 10*/
    margin: 0 auto;
}

.row {
    width: 100%;
    max-width: 100%;
}

.row:before, .row:after {
    content: "";
    display: block;
    clear: both;
}

.row_flex {
    display: flex;
    flex-wrap: wrap;
}

.row_flex:before, .row_flex:after {
    display: none;
}

.col {
    padding-left: 0.625rem;
    padding-right: .625rem;
    min-height: .0625rem;
    float: left;
}

.col-0 {
    display: none;
}

.col-1 {
    width: 8.33333%;
}

.col-2 {
    width: 16.66666%;
}

.col-3 {
    width: 24.99999%;
}

.col-4 {
    width: 33.33332%;
}

.col-5 {
    width: 41.66665%;
}

.col-6 {
    width: 49.99998%;
}

.col-7 {
    width: 58.33331%;
}

.col-8 {
    width: 66.66664%;
}

.col-9 {
    width: 74.99997%;
}

.col-10 {
    width: 83.33330%;
}

.col-11 {
    width: 91.66663%;
}

.col-12 {
    width: 100%;
}


.col_order_1 {
    order: 1;
}

.col_order_2 {
    order: 2;
}

.col_order_3 {
    order: 3;
}

.col_order_4 {
    order: 4;
}

.col_order_5 {
    order: 5;
}

.col_order_6 {
    order: 6;
}

.col_order_7 {
    order: 7;
}

.col_order_8 {
    order: 8;
}

.col_order_9 {
    order: 9;
}

.col_order_10 {
    order: 10;
}

.contact {
    line-height: 1.5rem;
}

.contact__desc {
    color: #9e9e9e;
    line-height: 1rem;
    margin-bottom: 0.5rem;
}

.contact__desc:last-child {
    margin-bottom: 0;
}

.contact__phone {
    display: inline-block;
    margin-bottom: 0.5rem;
    line-height: 1rem;
    color: #424242;
}

.p-xs {
    font-weight: 400;
    font-size: 0.8125rem;
    line-height: 1rem;
    letter-spacing: 0;
}

.p-xs_light {
    font-weight: 300;
}

.p-small {
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.25rem;
    letter-spacing: 0;
}

.p-small_light {
    font-weight: 300;
}

.footer-legal__text {
    margin-bottom: 2.5rem;
    color: #9E9E9E;
    font-size: 0.625rem;
    line-height: 0.75rem;
    opacity: 0.7;
}

.h3 {
    font-size: 1.5rem;
    line-height: 2rem;
    letter-spacing: -0.025rem;
}

.cookies-agreement-popup {
    position: fixed;
    bottom: calc(24 / 16 * 1rem);
    width: 100%;
    display: none;
}

.cookies-agreement-popup.visible {
    display: block;
}

.cookies-agreement-body {
    display: flex;
    max-width: calc(1200 / 16 * 1rem);
    margin: 0 auto;
    padding: calc(24 / 16 * 1rem);
    padding-left: calc(32 / 16 * 1rem);
    background-color: #fff;
    opacity: 0.95;
}

.cookies-agreement__text,
.cookies-agreement__link {
    color: #424242;
    font-size: calc(15 / 16 * 1rem);
    font-family: FiraSans, sans-serif;
    font-weight: 300;
    line-height: calc(20 / 16 * 1rem);
}

.cookies-agreement__link {
    color: #448AFF;
    text-decoration: underline;
}


.cookies-agreement__button {
    align-self: flex-start;
    margin-left: calc(30 / 16 * 1rem);
    padding: calc(12 / 16 * 1rem) calc(24 / 16 * 1rem);
    background-color: transparent;
    color: #448AFF;
    font-weight: 400;
    font-size: calc(18 / 16 * 1rem);
    font-family: FiraSans, sans-serif;
    line-height: calc(24 / 16 * 1rem);
    border: 1px solid #448AFF;
    border-radius: 32px;
    cursor: pointer;
}

.cookies-agreement__button:hover {
    border-color: #156DFF;
    color: #156DFF;
}

@media screen and (max-width: 1366px) {
    .container {
        width: 960px;
        margin: 0 auto;
    }

    h2 {
        font-size: 1.625rem;
        line-height: 2rem;
        letter-spacing: -.0375rem;
    }

    a {
        font-size: 0.6875rem;
    }


    .main {
        margin: 2rem 0;
        padding: 4rem 10.125rem;
        display: block;
    }

    .header__logo {
        height:  4.5rem;
    }

    .header__item {
        margin-right: 1.125rem;
    }

    .form-item__label {
        font-size: 0.8125rem;
    }

    .form-input__error {
        font-size: 0.8125rem;
    }

    .form-item__input {
        font-size: 0.9375rem;
    }

    .submit-button {
        font-size: 1.125rem;
    }

    .footer-blocs__title {
        height: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .footer-blocks__list {
        padding-bottom: 1.5rem;
    }

    .footer-blocks__social {
        padding-bottom: 1.2rem;
    }

    .footer-blocks__links {
        margin-bottom: 0.4rem;
    }

    .footer-blocks__search-icon {
        width: 1rem;
        height: 1rem;
        margin-right: 0.125rem;
        top: 0.25rem;
    }

    .footer-blocks__cabinet-icon {
        width: 1rem;
        height: 1rem;
        margin-right: 0.5rem;
    }

    .footer-contacts {
        padding-top: 1.875rem;
        padding-bottom: 2rem;
    }

    .contact__inline {
        display: inline-block;
    }

    .footer-contacts__button {
        font-size: 1.125rem;
    }

    .footer__main {
        padding-top: 2.0625rem;
    }

    .grid {
        width: 60.75rem;
    }

    .col {
        padding-right: .375rem;
        padding-left: .375rem;
    }

    .col-t-0 {
        display: none;
    }

    .col-t-1 {
        width: 8.33333%;
    }

    .col-t-2 {
        width: 16.66666%;
    }

    .col-t-3 {
        width: 24.99999%;
    }

    .col-t-4 {
        width: 33.33332%;
    }

    .col-t-5 {
        width: 41.66665%;
    }

    .col-t-6 {
        width: 49.99998%;
    }

    .col-t-7 {
        width: 58.33331%;
    }

    .col-t-8 {
        width: 66.66664%;
    }

    .col-t-9 {
        width: 74.99997%;
    }

    .col-t-10 {
        width: 83.33330%;
    }

    .col-t-11 {
        width: 91.66663%;
    }

    .col-t-12 {
        width: 100%;
    }

    .p-xs {
        font-size: 0.6875rem;
        line-height: 0.875rem;
        letter-spacing: 0;
    }

    .p-small {
        font-size: 0.8125rem;
        line-height: 1rem;
        letter-spacing: 0;
    }

    .h3 {
        font-size: 1.125rem;
        line-height: 1.5rem;
        letter-spacing: -0.0125rem;
    }

    .agreement-policy__label,
    .agreement-policy__link {
        font-size: calc(10 / 16 * 1rem);
        line-height: normal;
    }

    .cookies-agreement-body {
        max-width: calc(900 / 16 * 1rem);
    }
}

@media screen and (max-width: 1024px) {

    html {
        font-size: 1.5625vw;
    }

    p {
        font-size: 0.9375rem;
    }

    .main {
        margin: 2rem 0;
        padding: 4rem 10rem 3rem 10rem;
        display: block;
    }

    .container {
        width: 100%;
        padding: 0 2% 0 2%;
    }

    .footer-blocks__link:hover {
        text-decoration: none;
    }
}

@media screen and (max-width: 420px) {
    html {
        font-size: calc((680vw + 704px)/180);
    }

    h2 {
        font-size: 1.375rem;
        line-height: 1.625rem;
        letter-spacing: -.0313rem;
    }

    p {
        font-size: .8125rem;
    }

    .header__logo {
        width: 6rem;
        height: 3rem;
    }

    .form__item {
        width: 100%;
    }

    .container {
        width: 19rem;
        padding: 0 2% 0 2%;
    }

    .main {
        margin: 1.25rem auto;
        padding: 2rem 1rem;
        display: block;
    }

    .main__title {
        margin-bottom: 1.5rem;
    }

    .form-item__label {
        font-size: .8125rem;
        line-height: 1.25rem;
        letter-spacing: 0;
        padding-bottom: .25rem;
    }

    .form-input__error {
        font-size: 0.8125rem;
    }

    .button-wrapper {
        width: 100%;
    }

    .footer-blocks {
        padding-top: 2rem;
    }

    .footer-blocks__cabinet {
        padding-bottom: 1.75rem;
    }

    .footer-blocks__link {
        margin-bottom: 0.3rem;
    }

    .footer-contacts {
        padding-bottom: 0;
    }

    .footer-contacts__contact {
        padding-bottom: 1.85rem;
    }

    .contact__mobile-row {
        display: block;
    }

    .footer-contacts__button {
        font-size: 1.5rem;
    }

    .footer-legal__blocks {
        flex-direction: column;
    }

    .footer-legal__copyright {
        padding-left: 0;
    }

    .copyright__item {
        font-size: 0.5625rem;
        line-height: 0.75rem;
    }

    .copyright__item:first-child {
        padding-top: .5rem;
    }

    .footer__legal {
        padding-top: .5rem;
    }

    .footer-logos {
        height: 1.875rem;
    }

    .footer-logos__logo-box {
        margin-right: -.125rem;
    }

    .footer-logos__logo {
        width: 100%;
    }

    .footer-logos__logo-box_crown {
        width: 3.75rem;
    }

    .footer__main {
        padding-top: 0;
    }

    .grid {
        width: 19rem;
    }

    .grid_w_100 {
        width: 100%;
    }

    .row-m_flex {
        display: flex;
        flex-wrap: wrap;
    }

    .col {
        padding-right: .5rem;
        padding-left: .5rem;
    }

    .col-1 {
        width: 25%;
    }

    .col-2 {
        width: 50%;
    }

    .col-3 {
        width: 75%;
    }

    .col-4 {
        width: 100%;
    }

    .col-t-1 {
        width: 25%;
    }

    .col-t-2 {
        width: 50%;
    }

    .col-t-3 {
        width: 75%;
    }

    .col-t-4 {
        width: 100%;
    }

    .col-m_no-padding {
        padding: 0;
    }

    .col-m-0 {
        display: none;
    }

    .col-m-1 {
        width: 25%;
    }

    .col-m-2 {
        width: 50%;
    }

    .col-m-3 {
        width: 75%;
    }

    .col-m-4 {
        width: 100%;
    }

    .col-m-38 {
        width: 37.5%;
    }

    .col-m-58 {
        width: 62.5%;
    }

    .col-m_order_1 {
        order: 1;
    }

    .col-m_order_2 {
        order: 2;
    }

    .col-m_order_3 {
        order: 3;
    }

    .col-m_order_4 {
        order: 4;
    }

    .col-m_order_5 {
        order: 5;
    }

    .col-m_order_6 {
        order: 6;
    }

    .col-m_order_7 {
        order: 7;
    }

    .col-m_order_8 {
        order: 8;
    }

    .col-m_order_9 {
        order: 9;
    }

    .col-m_order_10 {
        order: 10;
    }

    .contacs__desc {
        margin-bottom: .5rem;
    }

    .p-xs {
        font-size: 0.6875rem;
        line-height: 0.875rem;
        letter-spacing: 0;
    }

    .p-small {
        font-size: 0.8125rem;
        line-height: 1rem;
        letter-spacing: 0;
    }

    .h3 {
        font-size: 1.125rem;
        line-height: 1.5rem;
        letter-spacing: -0.0125rem;
    }

    .cookies-agreement-body {
        flex-direction: column;
        max-width: calc(288 / 16 * 1rem);
        padding: calc(16 / 16 * 1rem) calc(12 / 16 * 1rem);
    }

    .cookies-agreement__text,
    .cookies-agreement__link {
        font-size: calc(10 / 16 * 1rem);
        line-height: calc(12 / 16 * 1rem);
    }
    .cookies-agreement__button {
        align-self: center;
        margin-top: calc(12 / 16 * 1rem);
        margin-left: 0;
        padding: calc(12 / 16 * 1rem) calc(39 / 16 * 1rem);
        font-size: calc(14 / 16 * 1rem);
        line-height: calc(16 / 16 * 1rem);
        letter-spacing: calc(-0.2 / 16 * 1rem);
    }
}

.hidden {
    visibility: hidden;
}

.password-hint {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 0.9375rem;
    height: 0.9375rem;
    margin-left: 0.3125rem;
    vertical-align: text-top;
}

.password-hint img {
    position: absolute;
    width: 0.9375rem;
    height: 0.9375rem;
}

.password-hint .tooltip {
    visibility: hidden;
    width: 19.06rem;
    background-color: #424242;
    color: #fff;
    border-radius: 0.375rem;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    margin-left: -9.0625rem;
    padding: 1.25rem;
}

.password-hint .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -0.3125rem;
    border-width: 0.3125rem;
    border-style: solid;
    border-color: #424242 transparent transparent transparent;
}

.password-hint:hover .tooltip {
    visibility: visible;
}

.password-hint .tooltip ul {
    list-style: none;
    font-size: 0.85rem;
    color: #e0e0e0;
}

.password-hint .tooltip ul li {
    line-height: 1.25rem;
}

@media screen and (max-width: 420px) {
    .password-hint .tooltip {
        padding: 1rem;
        margin-left: -4.8rem;
    }

    .password-hint .tooltip::after {
        left: 28%;
    }

    .password-hint .tooltip ul {
        font-size: 0.8rem;
    }
}

.alert-message {
	display: none;
    width: 100%;
	font-weight: normal;
    font-family: FiraSansLight;
    font-size: 0.9375rem;
	padding: 0.625rem;
	border: 1px solid #ff1744;
	border-radius: 0.375rem;
	background-color: #fdeded;
	margin-bottom: 1.25rem;
    color: #424242;
    line-height: 1.5;
}

.form-invalid .alert-message, .has-info .alert-message {
	display: block;
}

.has-info .alert-message {
    border-color: #f0d111;
    background-color: #f0d11124;
}

@media screen and (max-width: 420px) {
    .alert-message {
        font-size: .8125rem;
    }
}