.formField.codeWrapper {
    position: relative;
    display: none;
}
.formField.codeWrapper.visible {display: inline-block;}
.formField.codeWrapper.error input {
    border-color: red;
}

.formField.codeWrapper .sendAgain {
    font-size: 16px;
    position: absolute;
    top: 44px;
    left: 268px;
    width: 250px;
}

.formField.codeWrapper .sendAgain a.disabled {
    color: #868686;
    opacity: 0.5;
    cursor: default;
}

.formField.codeWrapper .sendAgain .timer {
    margin: 0 0 0 8px;
    font-weight: bold;
}

.formField.codeWrapper .trivia {
    font-size: 14px;
    width: 520px;
    margin: 14px 0 0;
}

.typesSelector .first {border-right: none;}
.typesSelector .last {border-left: none;}

@media (max-width: 1023px){
    .formField.codeWrapper .sendAgain {
        font-size: 18px;
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        text-align: center;
        display: block;
        margin: 16px 0 0 0;
    }

    .formField.codeWrapper .trivia {
        width: 100%;
    }

    .typesSelector span {width: 33.33%;}
}

@media (max-width: 640px){
    .typesSelector span {width: 100%;}

    .typesSelector .first {
        border-right: 2px solid #D2AE73;
        border-bottom: none;
    }
    .typesSelector .last {
        border-left: 2px solid #D2AE73;
        border-top: none;
    }
}

/* Согласие на получение sms-рассылки */
.formWrapper .formField.acceptsms,
.formWrapper .formField.buyhouse,
.formWrapper .formField.receipt {width: 100%;}


.formField.cardNumber,
.formField.phone{position: relative;}

.getDataFromCrystal {
    position: absolute;
    right: 0;
    top: -16px;
    display: inline-block;
    font-size: 14px;
    border: 1px solid #D2AE73;
    height: 30px;
    border-radius: 12px;
    cursor: pointer;
    line-height: 30px;
    padding: 0 8px;
}
.getDataFromCrystal:hover,
.getDataFromCrystal.disabled {
    background: #D2AE73;
    color: #fff;
}
.getDataFromCrystal.disabled {
    opacity: 0.5;
    cursor: default;
}

@media (max-width: 640px){
    .getDataFromCrystal {
        position: relative;
        right: auto;
        top: auto;
        clear: both;
        width: 100%;
        text-align: center;
        font-size: 16px;
        margin: 8px 0 0 0;
        border-width: 2px;
        border-radius: 0;
    }
}

.topBlock.private .supportMessage,
.topBlock.private .typesSelector {width: 100%;}

.topBlock.private .typesSelector span.noLeftBorder {
    border-left: none;
}

@media all and (max-width: 1023px){
    .topBlock.private .typesSelector span {width: 25%;}
}
@media all and (max-width: 778px){
    .topBlock.private .typesSelector span {width: 100%;}
    .topBlock.private .typesSelector span.noLeftBorder {
        border-left: 2px solid #D2AE73;
        border-top: none;
    }
}

.formWrapper .formField.buyhouse .radio_inner,
.formWrapper .formField.receipt .radio_inner {
    margin-top: 0;
}

/*
 * STUDENT VARIANT
 * START
 */
 .countdisRdca_student,
.formField.social_vk,
.formField.social_in,
.formField.studentNumber {display: none;}

.student .formField.cardNumber {display: none;}
.student .formField.studentNumber {
    display: inline-block;
    width: 548px;
    margin-right: 40px;
}

.student .formField.social_vk,
.student .formField.social_in {display: inline-block;}

.student .formWrapper .formField.mail {margin-right: 40px;}
.student .formWrapper .formField.social_in {margin-right: 0px;}

.student .getDataFromCrystal,
.student .formWrapper .formField.pension,
.student .formWrapper .formField.profession {display: none;}

@media all and (max-width: 1023px){
    .student .formField.studentNumber {
        width: 100%;
        margin-right: 0;
    }

    .topBlock.private .typesSelector span {
        width: 20%;
        white-space: nowrap;
    }
}

@media all and (max-width: 778px){
    .topBlock.private .typesSelector span {
        width: 100%;
    }
}
/*
 * END
 * STUDENT VARIANT
 */


/*
 * Digital receipts
 * START
 */

.subHeader {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    margin: 16px 0 0 0;
}

#digitalReceipt .nature {
    text-align: right
}

#digitalReceipt .formWrapper {
    margin: 0;
}

#digitalReceipt .formWrapper .block.submit {
    padding: 0 16px 32px 16px;
    border: none;
}

#digitalReceipt .formWrapper .block.submit p {
    text-align: center;
}

#digitalReceipt #captcha > div {margin: 0 0 16px 0;}

#digitalReceipt .success_text {display: none;}
#digitalReceipt .success_text.visible {
    color: rgb(49 191 120);
    font-size: 16px;
    display: block;
    padding: 0 0 16px 0;
}

.student .formWrapper .formField.noIlma {display: none;}
.formWrapper .formField.noIlma .radio_inner {margin-top: 16px;}
.formWrapper .formField.noIlma {margin-bottom: 0;}

.formWrapper.receipt.success .block.submit,
.formWrapper.receipt.success .formField {
    display: none;
}

#digitalReceipt .error_text.visible a {
    color: red;
    text-decoration: underline;
}
#digitalReceipt .error_text.visible a:hover {
    color: #C09862;
}

@media all and (min-width: 1024px){
    .subHeader {
        font-size: 24px;
        line-height: 32px;
        margin: 32px 0 0 0;
    }

    #digitalReceipt .nature {margin-top: -84px;}
    #digitalReceipt .nature img {width: 156px;}
    #digitalReceipt .formWrapper .formField.mail {margin: 0 0 32px 40px;}
    #digitalReceipt .formWrapper .block.fields {padding: 48px 48px 0 48px;}
    #digitalReceipt .formWrapper .block.submit {padding: 0 48px 48px 48px;}

    #digitalReceipt .formWrapper .block.submit p {
        text-align: left;
        width: auto;
        height: 56px;
        line-height: 54px;
    }

    #digitalReceipt #captcha > div {margin: 0 0 32px 0;}
    #digitalReceipt .success_text.visible {padding: 0 0 44px 0;}
}

/*
 * END
 * Digital receipts
 */

 /*
 * Privacy block
 * START
 */
.formWrapper .privacy-block {
    margin-bottom: 32px;
}

.formWrapper .privacy-block .formField {
    margin: 0;
    width: 100%;
}

.formWrapper .privacy-block .formField .radio_inner {margin: 0;}
.formWrapper .privacy-block .formField.agree-loyalty {
    margin-top: 16px;
    width: 100%;
}

.formWrapper .privacy-block .formField.agree-privacy.error label:before {border-color: red;}

/*
 * END
 * Privacy block
 */

.giftcard__sum {
    width: 130px !important;
    margin-top: 24px !important;
}

.giftcard__text {
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
    color: #B8B4AF;
}

.giftcard__container {
    align-items: center;
}

@media only screen and (min-width: 719px) {
    .giftcard__sum {
        margin-top: 0 !important;
        /*margin: 24px 0 0 25px !important;*/
    }

    .giftcard__text {
        /*margin-left: 25px;*/
    }

    .sum-form-field {
        margin: 24px 0 0 25px !important;
        width: 256px !important;
    }
}

.is-error {
    border-color: rgba(246, 110, 110, 1) !important;
}

/*@media only screen and (min-width: 1024px) {*/
/*    .srt-form__field-phone {*/
/*        flex: 0 0 calc(50% - 8px);*/
/*        width: calc(50% - 8px);*/
/*    }*/
/*}*/

@media only screen and (min-width: 719px) {
    .srt-form .srt-form__field-receiver {
        /*margin-top: 20px;*/
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        /*margin-left: 8px !important;*/
    }
}

@media only screen and (min-width: 1024px) {
    .srt-form .srt-form__field-receiver {
        /*margin-top: 20px;*/
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 256px !important;
        flex:0 0 256px !important;
        width: 256px !important;
        margin-right: 8px !important;
    }
}

@media only screen and (min-width: 719px) {
    .srt-form .srt-form__field-phone {
        margin-top: 20px;
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        margin-left: 8px !important;
    }
}

@media only screen and (min-width: 1024px) {
    .srt-form .srt-form__field-phone {
        margin-top: 20px;
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 178px !important;
        flex:0 0 178px !important;
        width: 178px !important;
        margin-right: 24px !important;
    }
}

@media only screen and (min-width: 719px) {
    .srt-form .srt-form__field-date-receiving {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        margin-left: 0 !important;
        margin-right: 8px;
    }
}

@media only screen and (min-width: 1024px) {
    .srt-form .srt-form__field-date-receiving {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 178px !important;
        flex: 0 0 178px !important;
        width: 178px !important;
        margin-right: 24px !important;
        margin-left: 0 !important;
    }
}

@media only screen and (min-width: 719px) {
    .srt-form .srt-form__field-time-receiving {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        margin-right: 0 !important;
        margin-left: 8px !important;
    }
}

@media only screen and (min-width: 1024px) {
    .srt-form .srt-form__field-time-receiving {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 130px !important;
        flex: 0 0 130px !important;
        width: 130px !important;
        margin-right: 0 !important;
    }
}

@media only screen and (min-width: 719px) {
    .srt-form .srt-form__field-sender {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        margin-left: 0 !important;
    }
}

@media only screen and (min-width: 1024px) {
    .srt-form .srt-form__field-sender {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 256px !important;
        flex: 0 0 256px !important;
        width: 256px !important;
        margin-right: 24px !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
    }
}

.validation-error {
    font-size: 12px;
    color: #F76E6E;
    margin-top: 8px;
    display: none;
}

.error-text {
    margin-top: 16px;
    color: #F76E6E;
}

.amount-radio__field {
    display: none;
}

.amount-radio__label {
    display: inline-block;
    font-family: var(--ff-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: #D2AE73;
    padding: 16px 24px;
    background: #F4EAD8;
    border-radius: 8px;
    white-space: nowrap;
    cursor: pointer;
    margin-right: 5px;
}

.amount-radio__field:checked+.amount-radio__label {
    background: #DBBC89;
    color: #FFFFFF;
}

.amount-wrapper {
    display: inline-block;
    margin-top: 24px;
}

@media only screen and (min-width: 719px) {
    .amount-radio__label:first-of-type {
        margin-left: 24px;
    }
}

.container__collapsing-card:first-of-type {
    margin-top: 54px;
}

.container__collapsing-card {
    margin-top: 16px;
}

.collapsing-card {
    background-color: #FFFFFF;
    box-shadow: 0 8px 40px rgba(97, 74, 37, 0.08);
    border-radius: 8px;
}

.collapsing-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 48px;
}

.collapsing-card__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
}

.collapsing-card__body {
    overflow: hidden;
    padding: 0 48px 32px 48px;
    display: none;
    height: 0;
}

.collapsing-card.opened .collapsing-card__body {
    display: block;
    height: auto;
}

.collapsing-card.opened .collapsing-card__header {
    color: #D2AE73;
}

.collapsing-card__arrow {
    width: 16px;
    height: 10px;
    cursor: pointer;
    background-image: url("/images/arrow-closed.svg");
}

.collapsing-card.opened .collapsing-card__arrow {
    background-image: url("/images/arrow-opened.svg");
}

.terms-of-use-list {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.terms-of-use-list__item:first-of-type {
    margin-bottom: 8px;
}

.terms-of-use-list__item {
    margin-bottom: 18px;
    text-align: justify;
}

.terms-of-use-list__item:last-of-type {
    margin: 0;
}

.terms-of-use-list__number {
    font-weight: 600;
    color: #D2AE73;
    margin-right: 8px;
}

.address-list {
    margin-left: 30px;
}

.address-list__item {
    margin-bottom: 12px;
    text-align: justify;
}

.address-list__item:before {
    content: '•';
    color: #D2AE73;
    display: inline;
    font-size: 25px;
    vertical-align: middle;
    margin-right: 10px;
}

.address-list__item:last-of-type {
    margin-bottom: 22px;
}

.title {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #32383A;
}

.paragraph {
    margin-top: 24px;
    line-height: 1.5;
    text-align: justify;
}

.ways-of-payment {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.ways-of-payment img {
    margin-top: 10px;
    margin-right: 8px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
}

footer .phone {
    margin-right: 14px;
}

.formWrapper input[type="submit"] {
    color: #272727
}
