.footer {
    background: #4B322B;
    position: relative;
    z-index: 2;
    min-height: 400px;
    width: 100%;
}

@font-face {
    font-family: "myriadpro";
    font-display: swap;
    src: url(/webform/fonts/bold_myriadpro.woff) format("woff"), url(/webform/fonts/bold_myriadpro.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: myriadpro;
    font-display: swap;
    src: url(/webform/fonts/MyriadPro-Light.woff) format("woff"), url(/webform/fonts/MyriadPro-Light.woff2) format("woff2");
    font-weight: 300;
    font-style: normal;
}

p {
    margin-block-start: 0;
    margin-block-end: 0;
}

.header {
    width: 100%;
    height: 120px;
    background-color: grey;
}

.webform_full {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

body {
    margin: 0;
    /*font-family: "Cormorant", serif;*/
    font-family: "myriadpro", serif;
}

.webform {
    padding-left: 20px;
    margin-bottom: 100px;
    margin-top: 40px !important;
    min-height: 600px;
}

.dot {
    width: 4px;
    height: 4px;
    background-color: #D7B56D;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 2px;
}


.head_step {
    color: #151515;
    font-size: 40px;
    font-weight: 700;
    margin-top: 16px;
    text-transform: uppercase;
    margin-bottom: 24px;
    font-family: "Cormorant", serif;
}

.step_block {
    box-shadow: 0px 2.75px 15px 0px #0000000D;
    /*width: max-content;*/
    padding: 20px;
}

.client_type {
    display: flex;
    margin-bottom: 20px;
    gap: 26px;
}

/*.client_type label{
    color: #000;
    font-size: 23px;
    font-weight: 700;

    width: 290px;
    height: 150px;
    display: block;
    border: 1px solid;
    border-radius: 12px;
    cursor: pointer;
}*/

.client_type label {
    color: #000;
    font-size: 23px;
    font-weight: 700;

    width: 290px;
    height: 150px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
}

.client_type label:hover {
    border: 1px solid red;
}

.client_radio:checked + label {
    border: 1px solid red;
}

.client_radio {
    display: none;
}

/*.client_type label p {
    padding: 40% 0 0 20px;
}*/

.client_type label p {
    margin: 0;
    padding: 0;
}

.step_button1 {
    font-size: 16px;
    background: #4B322B;
    color: #fff;
    width: 160px;
    height: 50px;
    font-weight: 700;
    border-radius: 8px;
}

.step_button {
    order: 2;
    font-size: 16px;
    background: #4B322B;
    color: #fff;
    width: 160px;
    height: 50px;
    font-weight: 700;
    border-radius: 8px;
}

.button_cansel {
    order: 1;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #4B322B;
    width: 160px;
    height: 50px;
    background: #fff;
    cursor: pointer;
}

input[type=submit] {
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.webform_steps {
    display: flex;
    gap: 25px;
}

/*order*/

.order {
    box-shadow: 0px 2.75px 15px 0px #0000000D;
    min-width: 280px;
    max-width: 280px;
    padding: 18px;
    height: fit-content;
    margin: 0 20px 0 20px;
}

.dop_elem {
    display: flex;
}

.order p {
    font-size: 22px;
    font-weight: 600;
    padding-bottom: 10px;
}


.order_option {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}

.order_option p {
    font-size: 16px;
    font-weight: 400;
}

.orderOptionHr {
    margin: 20px 0;
}

.orderOptionHr {
    margin: 20px 0;
}

.full_price_text {
    font-weight: 700 !important;
}


/*step2*/

.head_step2 {
    font-weight: 600;
    font-size: 22px;
}

.step2_a {
    color: red;
}


/*step3*/

.step3_field, .step3_field_small, .step3_field_small_2 {
    padding: 8px;
    font-size: 17px;
    margin-bottom: 10px;
    margin-top: 5px;
    border: 1px solid #E2E2E2;
    border-radius: 8px;
}

.step3_field {
    width: 100%;
}

.step3_field_small {
    width: 100%;
}

.step3_field_small_2 {
    width: 150px;
}

.st3_flex {
    display: flex;
    flex-direction: column;
}

.step3_field_group {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.info_step2 {
    font-size: 16px;
}

.step3_fields label {
    font-weight: 700;
    font-size: 16px;
}

.step3_fields {
    margin-top: 20px;
}


.order_radio:checked + .button_order_ok {
    border: 1px solid red;
    font-size: 0;


}

.order_radio:checked + .button_order_ok::after {
    content: 'Выбрано';
    font-size: 14px;
}


.popular_p {
    position: absolute;
    background: red;
    color: #fff;
    padding: 5px;
    border-radius: 60px;
    font-size: 14px;
    top: 20px;
    right: 20px;
}

/*step4*/

.step_buttons_bottom {
    margin-top: 20px;
    gap: 20px;
    display: flex;
}


.product {
    height: 330px;
    background: #F6F6F6;
    padding: 20px;
    position: relative;
}

.orderlist {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.product {
    border-radius: 10px;
    flex-basis: 40%;
}

.button_order_ok {
    position: absolute;
    bottom: 20px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #4B322B;
    width: 160px;
    height: 50px;
    background: #fff;
    cursor: pointer;
}

.produce_popular {
    border: 1px solid red;
}


.product_title {
    font-size: 14px;
}

.product_price {
    font-size: 24px;
    font-weight: 600;
}

.product_price span {
    font-size: 16px;
    color: #15151580;
}

.product_option {
    font-size: 16px;
    margin-top: 15px;
}

.button_order_ok {
    text-align: center;
    align-content: center;
    color: #54271F;
    font-weight: 700;
    font-size: 14px;
}


/*step5*/
.count_number {
    width: 55px;
    height: 40px;
    border: 1px solid #151515;
    border-left: 0;
    border-right: 0;
    background: #ffffff;
    text-align: center;
}

.count_sm {
    display: flex;
    justify-content: space-between;
    height: 50px;
    align-items: center;
}

.counts {
    margin-top: 10px;
}

.count_sm p {
    font-size: 18px;
    font-weight: 600;
}

.info_count {
    margin-top: -15px;
    font-size: 15px;
}

.option_check {
    width: 20px;
    accent-color: red;
}

.count_sm2 {
    display: flex;
    gap: 20px;
    min-height: 50px;
    margin-bottom: 20px;
}

.count_sm2 p {
    font-size: 18px;
    align-content: center;
    font-weight: 600;
}

.button_minus {
    background: #fff;

    width: 40px;
    border: 1px solid #151515;
    border-right: 0;
    font-size: 30px;
    color: #E31E24;
}

.button_plus {
    background: #fff;

    width: 40px;
    border: 1px solid #151515;
    border-left: 0;
    font-size: 30px;
    color: #E31E24;
}

.button_plus:disabled,
.button_minus:disabled {
    color: #E31E2480;
}

.count_elem {
    display: flex;
    gap: 0;
    max-height: 40px;
}

.count_number::-webkit-outer-spin-button,
.count_number::-webkit-inner-spin-button {

    -webkit-appearance: none;
    margin: 0;
}

.variable {
    display: flex;
    margin-left: 45px;
    gap: 15px;
    justify-content: space-between;
    align-items: anchor-center;
}

.option_content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.option_title {
    font-weight: 600;
    font-size: 16px;
}

.option_text {
    font-weight: 400;
    font-size: 14px;
    color: #595959;

}

.option_price {
    font-size: 16px;

}

.option_price_all {
    font-size: 18px;
    font-weight: 700;
    min-width: 100px;
}

.option_dop {
    margin-bottom: 20px;
}

.variable > div {
    max-width: 50%;
}

.slider {
    background: none;
    border: 0;
    width: 40px;
    height: 50px;
    z-index: 500;
    position: relative;
}


.tableB > tr > td {
    padding: 10px;
    text-align: center;
    font-size: 15px;
}


.date_table {
    border: 1px solid #B9B9B9;
    border-radius: 10px;
}

.trhead {
    color: #B9B9B9;
}

.calendar {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.dateInfo {
    background: #64190C26;
    height: fit-content;
    padding: 20px;
    border-radius: 8px;
    font-size: 16px;
}

.selectTime > label {
    padding: 10px 20px;
    background: #F6F6F6;
    border-radius: 11px;
    font-size: 16px;
}

.selectTimeSelect {


}

.selectblock {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.order_radio:checked + label {
    background: red !important;
    color: #fff;
}

.date_sel {
    color: red;
}


.user_info > p {
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 10px;
}

.user_info > p > span {
    color: red;
}

.disabled_td {
    color: #B9B9B9;
    cursor: context-menu;
}

.container_calendar,
.calendar_info {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.calendar_info {
    margin-top: 0;
}

.calendar_buttons {
    background: none;
    border: 0;
    cursor: pointer;
}

.calendar_active {
    cursor: pointer;
}

.orderPriceFullHr {
    margin: 20px 0;
}

.error {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 300px;
    border: 1px solid red;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    padding: 10px;
}

.error_text {
    margin: 20px;
    font-size: 16px;
}

.dop_option {
    display: block;
}

.about-ms__img picture {
    padding-bottom: 0;
}



@media screen and (max-width: 990px) {
    .about-ms__img picture {
        padding-bottom: 0 !important;
    }
}


#step7_form{
    width: 100%;
    max-width: 800px;
}


@media (max-width: 1220px) {
    .step3_field_small {
        width: 100%;
    }
}

@media (max-width: 1024px) {

    .webform {
        padding-left: 0;
    }

    .webform_steps, #step1_form {
        width: 100%;
    }

    .client_type label {
        width: 100%;
    }

    .orderlist {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .product {
        height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .product .product_option {

        padding-bottom: 20px;
    }

    .product .button_order_ok {
        margin-top: auto;
        position: static;
        display: block;
    }

    #step5_form .step_block {
        min-width: 0 !important;
    }

    .info_count {
        margin-top: 0;
    }
}


@media (max-width: 900px) {
    .webform_full {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {

    .order {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .container_calendar {
        flex-direction: column-reverse;
    }

    .orderlist {
        grid-template-columns: repeat(1, 1fr);
    }

    .button_cansel, .step_button {
        width: 100%;
    }

    #step6_form .option_dop .variable {
        flex-wrap: wrap;
    }

    #step6_form .option_dop .variable > div {
        width: 100%;
        max-width: 100%;
    }

    #step6_form .option_dop .variable > div ol {
        padding: 0;
    }

    .step3_field_group{
        flex-direction: column;
    }
}