@font-face {
    font-family: Rubik;
    src: url("../font/Rubik/Rubik-Regular.ttf");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Rubik;
    src: url("../font/Rubik/Rubik-Bold.ttf");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: Rubik;
    src: url("../font/Rubik/Rubik-Italic.ttf");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Rubik;
    src: url("../font/Rubik/Rubik-Bolditalic.ttf");
    font-style: italic;
    font-weight: 700;
    font-display: swap;
}
body {
    background: url(../img/bg3.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    font-family: Rubik;
    background-repeat: repeat-y;
}
* {
    outline: none;
}
.body {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white;
}

.back-home {
    position: absolute;
    top: 0;
    left: 10%;
    background: #FF0000;
    color: #ffffff;
    padding: 5px 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 19px;
    font-weight: 700;
    font-family: Rubik;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}
.back-home:hover {
    color: #FF0000;
    background: #ffffff;
}

.header {
    width: 100%;
    background: #F7F7F7;
    border-top: 1px solid #8A8A8A;
    border-bottom: 1px solid #8A8A8A;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin-bottom: 20px;*/
    display: none;
}
.header.next-step {
}
.header__wrapper {
    width: 90%;
    height: 30px;
    max-width: 873px;
    position: relative;
    padding: 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.month {
    font-family: Rubik;
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    text-transform: lowercase;
}
.month::after {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    /*background: url(../img/month.png) no-repeat;*/
    background-position: center;
    background-size: 100% 100%;
    margin-left: 13px;
}
.month.noIcon::after {
    display: none;
}
.head-link {
    position: absolute;
    right: 0;
    top: 5px;
    font-size: 16px;
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s;
    display: none;
}
.head-link.prev {
    right: auto;
    left: 0;
}
.head-link:hover {
    text-decoration: underline;
}
.header.next-step .head-link {
    display: block;
}
.order-wrapper {
    background: rgba(0, 0, 0, 0.75);
    border: 0.2px solid #ffffff;
    border-top: 0;
    box-sizing: border-box;
    border-radius: 0 0 36px 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 30px;
    width: 100%;
    max-width: 920px;
}
.week {
    width: 90%;
    max-width: 710px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    position: relative;
    margin-bottom: 16px;
    border-radius: 5px;
    margin-top: 1px;
}
.week__days {
    display: none;
    justify-content: center;
    align-items: stretch;
}
.week__day {
    width: 125px;
    /*color: #000000;*/
    color: white;
    text-align: center;
    font-weight: 600;
}
.week__day.black {
    color: #000000;
}
.week__day.blue {
    color: #2991FC;
}
.week__day.red {
    color: red;
}
.week__dates {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 5px 5px;
}
.week__dates-mob {
    display: none;
}

.week__date {
    width: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 2px;
    position: relative;
    box-sizing: border-box;
    border: 1px solid #FF0000;
    border-radius: 5px;
    background: #000000;
    cursor: pointer;
}
/*.week__date.past {*/
/*    background: #D9D9D9;*/
/*}*/

/*.week__date.noActive {*/
/*    background: #D9D9D9;*/
/*}*/
/*.week__date:hover {*/
/*    background: #eeeeee;*/
/*}*/
/*.week__date.dostupno {*/
/*    background: #528B4D;*/
/*    color: #ffffff;*/
/*}*/
/*.week__date.busy {*/
/*    background: #FF0707;*/
/*    color: #ffffff;*/
/*}*/
/*.week__date.black {*/
/*    !*background: #000000;*!*/
/*    !*color: #ffffff;*!*/
/*    color: black;*/
/*    background: #F7F7F7;*/
/*}*/
/*.week__date.isActive {*/
/*    background: #ffffff;*/
/*}*/
/*.week__date.current,*/
/*.week__date.current.isActive{*/
/*    color: #2991FC;*/
/*}*/

.week__date-count {
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
    text-align: center;
    font-family: Rubik;
    text-transform: uppercase;
}
.week__date-count b {
    font-weight: 600;
}
.week__date.past .week__date-count {
    color: #AAAAAA;
}
.week__date.isActive {
    background: #FF0000;
}
.week__date.isActive .week__date-count {
    color: #ffffff;
}
.week__date.isActive.current .week__date-count {
    color: #2991FC;
}
.week__date-label {
    width: 70px;
    height: 14px;
    border-radius: 7px;
    background: #8A8A8A;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    line-height: 11px;
    color: #000000;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}
.week__date.past  .week__date-label {
    display: none;
}
.week__date-label.hidden {
    display: none;
}


.prev-week-btn {
    display: block;
    width: auto;
    height: auto;
    /*background: url(../img/prev2.png) no-repeat;*/
    background-position: center;
    background-color: transparent;
    background-size: 100% 100%;
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    padding: 0;
}
.prev-week-btn img {
    width: 15px;
    height: 33px;
}
.next-week-btn {
    display: block;
    width: auto;
    height: auto;
    /*background: url(../img/next2.png) no-repeat;*/
    background-position: center;
    background-color: transparent;
    background-size: 100% 100%;
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    padding: 0;
}
.next-week-btn img {
    width: 15px;
    height: 33px;
}

.label-list {
    width: max-content;
    max-width: 873px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.label-item {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    font-weight: 700;
    margin-right: 50px;
}
.label-color {
    width: 13px;
    height: 13px;
    border-radius: 7px;
    margin-left: 10px;
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
}
.label-color.green {
    background: #528B4D;
}
.label-color.orange {
    background: #FFA800;
}
.label-color.grey {
    background: #8A8A8A;
}
.label-color.black {
    background: #828282;
}
.label-color.red {
    background: #FF0707;
}

.week__date-label.dostupno {
    background: #528B4D;
}
.week__date-label.malo {
    background: #FFA800;
    color: #ffffff;
}
.week__date-label.busy {
    background: #FF0707;
}
.week__date-label.black {
    background: #000000;
}
.order-block {
    width: 90%;
    max-width: 873px;
    max-height: 60vh;
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    color: #b700ff;
    border-radius: 5px;
}

.order-block::-webkit-scrollbar {
    width: 10px;
}
.order-block::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.order-block::-webkit-scrollbar-thumb {
    background: #FF0000;
}
.order-block::-webkit-scrollbar-thumb:hover {
    background: #620202;
}

.step-title {
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #ffffff;
}
.step-title span {
    font-weight: 600;
}
.form {
    width: auto;
    max-width: 873px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

/*свитч*/
.switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 16px;
}

.switch input {display:none;}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
/*конец свич*/
.forms-block {
    width: 96%;
    max-width: 873px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.for-childs,
.for-parents{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.for-parents {
    margin: 0 50px;
}
.for-childs {
}
.child-img2,
.child-img,
.parents-img {
    margin-right: 10px;
}
.child-img2 {
    width: 20px;
}
.form-text {
    font-family: Rubik;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    display: block;
}
.clubs-enter {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.nomer-prav {
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    margin-top: 20px;
    flex-wrap: wrap;
}
/*.nomer-prav {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    justify-content: flex-end;*/
/*}*/

/*.nomer-prav form {*/
/*    justify-content: flex-end;*/
/*    align-items: center;*/
/*    !*width: 100%;*!*/
/*}*/
.nomer-prav.hidden {
    visibility: hidden;
}
#form-check_license {
    display: flex;
    justify-content: center;
    /*align-items: flex-start;*/
}
#form-check_license .field-licenseform-number {
    margin-bottom: 0 !important;
    margin-right: 5px;
}
.nomer-prav label {
    font-size: 14px;
    color: #000000;
    margin-right: 5px;
}
#form-check_license .field-licenseform-number .form-control {
    height: 30px;
    padding: 0;
    width: 177px;
}
.nomer-prav .prava {
    width: 136px;
    height: 23px;
    border: 1px solid #CED4DA;
    border-radius: 3px;
    margin-right: 24px;
}
.nomer-prav button {
    display: flex;
    justify-content: center;
    align-items: center;
    /*width: 70px;*/
    height: 30px;
    border: 0px;
    background: #000000;
    color: #ffffff;
    font-size: 12px;
    border-radius: 3px;
}
.result-table {
    width: 96%;
    max-width: 873px;
    margin-top: 5px;
    box-sizing: border-box;
    padding: 4px;
    margin-bottom: 30px;
}
.result-table__time-row {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    box-sizing: border-box;
    padding-left: 5px;
    background: #373737;
    border-radius: 25px;
    margin-bottom: 20px;
}
.result-table__time-row span {
    display: inline-flex;
    width: 117px;
    height: 40px;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    font-family: Rubik;
    font-size: 18px;
    color: #000000;
    background: #ffffff;
    margin-right: 35px;
}
.result-table__time-row .arrow-icon {
    margin-right: 20px;
    cursor: pointer;
}
.result-table__time-row .group-count {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    font-family: Rubik;
    color: #ffffff;
}
.result-table__time-row .group-count::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: #FF0000;
    border-radius: 12px;
    margin-right: 10px;
}
.hour-group {
    display: none;
}
.result-table__time-row.open + .hour-group {
    display: block;
    box-sizing: border-box;
    padding-left: 44px;
}
.result-table__time-row.open .arrow-icon {
    transform: rotate(180deg);
}

.result-table__row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 20px;
    gap: 20px;
}
.result-table__info-block {
    width: 100%;
    height: 30px;
    border-radius: 20px;
    border: 1px solid #FF0000;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding-left: 20px;
    /*margin-right: 20px;*/
    margin-right: 0px;
    position: relative;
}
.result-table__info-block::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 10px;
    background: #FF0000;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -32px;
}
.result-table__info-block.disabledAddToCart {
    border: 1px solid #FF0000;
}
.result-table__info-block.enableAddToCart {
    border: 1px solid #146C43;
}

.result-table__row:nth-child(n + 2) .result-table__info-block::after {
    content: '';
    display: block;
    width: 3px;
    height: 40px;
    background: #FF0000;
    position: absolute;
    top: -10px;
    transform: translateY(-50%);
    left: -28px;
}
.result-table__time {
    font-family: Rubik;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    border-radius: 5px 0px 0px 5px;
    margin-right: 20px;
    min-width: 85px;
}
.result-table__info {
    width: 100%;
    font-family: Rubik;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 400;
    border-radius: 0px 5px 5px 0px;
    position: relative;
    color: #ffffff;
    padding-right: 20px;
}
.result-table__info span {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.result-table__info-icon {
    display: none;
}
.result-table__info-icon.open {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 20px;
    min-width: 134px;
}
.result-table__info-icon img {
    width: 20px;
    height: auto;
    margin-right: 10px;
}
.result-table__info-icon span {
    font-size: 10px;
    line-height: 10px;
    text-align: center;

    min-width: 84px; /* @chalma - добавил чтоб иконка желтая каска с чернйо каской равнялась*/
}

.result-table__info.purple {
    background: #EFF0FF;
}
.result-table__info.yellow {
    background: #FFF3DD;
}
.result-table__info.gray {
    background: #AAAAAA;
}
.result-table__order {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    line-height: 11px;
    font-weight: 700;
    margin-right: 5px;
    display: none;
}
.result-table__order::after {
    content: '';
    display: block;
    background: url(../img/basket.png) no-repeat;
    background-size: 100% 100%;
    background-position: center;
    width: 18px;
    height: 18px;
}
.result-table__btn {
    font-family: Rubik;
    width: 133px;
    height: 37px;
    border: 0px solid #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #146C43;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
    margin-left: 0px;
}
.result-table__btn {
    height: 30px;
    border-radius: 20px;
    padding: 0 15px;
    background: #ffffff;
    color: #000000;
    font-size: 12px;
}
.result-table__btn:hover {
    cursor: pointer;
    background: #ffffff;
    color: #000000;
}
.result-table__icon {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}
.result-table__info-block.noActive .result-table__time {
    color: #AAAAAA;
}
.result-table__info-block.noActive .result-table__info {
    background: #AAAAAA;
}
.timer-block {
    width: 90%;
    max-width: 873px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.timer {
    background: #ffffff;
    padding: 10px 30px;
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
    border-radius: 20px;
    color: #000000;
    margin-bottom: 20px;
}
.order-wrapper.step-two .timer {
    display: flex;
}
.timer-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #000000;
}
.timer-time {
    height: 30px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #D60000;
    font-size: 16px;
    font-weight: 400;
    margin-left: 5px;
}
.modal-content {
    background: #0F0F0F;
    padding: 28px 33px 30px;
    position: relative;
}
.modal-header {
    justify-content: center;
    border-bottom: 0;
    padding: 0;
    margin-bottom: 29px;
}
.modal-header .modal-date {
    color: #ffffff;
    font-size: 25px;
    line-height: 26px;
    font-weight: 700;
    font-family: Rubik;
}
.modal-header .modal-time {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-right: 8px;
}
.modal-header .modal-name {
    font-family: Rubik;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}
.modal-body {
    font-family: Rubik;
    padding: 0;
    box-sizing: border-box;
    color: #ffffff;
    font-size: 14px;
    /*text-align: justify;*/
}
.modal-body h2 {
    font-size: 14px;
    text-align: justify;
}
.modal-body p {
    font-size: 14px;
    text-align: justify;
}
.modal-form_check_license {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.check_license_btn {
    align-self: flex-end;
}
#modal-nomer-prav_result {
    /*align-self: center;*/
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*text-align: center;*/
}
.modal-body input {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none !important;
    color: #ffffff;
    background: transparent;
    border: 0;
}
.modal-body input:focus {
    background: transparent;
}
.modal-body .input-group {
    margin: 15px 0;
}
.price-row {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 25px;
}
.price-row > div {
    margin-right: 20px;
    font-family: Rubik;
}
.modal-form__row {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}
.modal-form__row label {
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.modal-form__row input {
    width: calc(100% - 120px);
    height: 23px;
    border: 1px solid #CED4DA;
    border-radius: 5px;
    flex-shrink: 1;
    outline: none;
}
.modal-form__row .add-in-zakaz {
    width: 150px;
    height: 30px;
    border: 0px;
    border-radius: 35px;
    background: #ffffff;
    color: #000000;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Rubik;
    margin-right: 20px;
}
.modal-form__row .add-issue {
    width: 250px;
    height: 30px;
    border: 0px;
    border-radius: 35px;
    background: #ffffff;
    color: #000000;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Rubik;
}

#order-wrapper__slots {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding-bottom: 30px;
}
#order-wrapper__slots.hidden {
    display: none;
}
#order-wrapper__empty.hidden {
    display: none;
}
#order-wrapper__empty {
    padding: 80px 150px 100px;
    box-sizing: border-box;
}
#order-wrapper__empty .empty-title {
    font-family: Rubik;
    font-size: 30px;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}
#order-wrapper__empty .empty-text {
    font-family: Rubik;
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
    max-width: 560px;
    text-align: center;
}
#order-wrapper__empty .empty-text b {
    font-weight: 700;
}

/*Step 2*/
.head-timer {
    width: 90%;
    max-width: 873px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #D60000;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
    position: relative;
}
.head-timer .head-timer__wrapper {
    display: flex;
    /*flex-direction: column;*/
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    /*position: absolute;*/
    position: static;
    right: 0;
    top: 50%;
    /*transform: translateY(-50%);*/
    font-family: Rubik;

    color: #D60000;
    font-size: 16px;
    font-weight: 400;
}

.order-wrapper.step-two .head-timer {
    justify-content: flex-end;
}
.order-wrapper.step-two .head-timer .head-timer__wrapper {
    font-size: 13px;
    flex-direction: column;
    align-items: flex-end;
    color: #ffffff;
}

.order-wrapper.step-two .head-timer .head-timer__wrapper .timer-time {
    font-size: 20px;
    color: #D60000;
}

.head-timer__btn {
    font-family: Rubik;
    color: white;
    font-size: 14px;
    font-weight: 400;
    padding: 0;
    position: relative;
    margin-right: 20px;
    text-decoration: underline;
}
.head-timer__btn:last-child {
    margin-right: 0;
}
.head-timer__btn::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #ffffff;
    position: absolute;
    left: 0;
    bottom: -5px;
    display: none;
}

.order-table {
    width: 90%;
    max-width: 873px;
    border: 1px solid #000000;
    margin-bottom: 10px;
}
.order-table__row-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: #373737;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 10px;
}
.order-table__head,
.order-table__row {
    position: relative;
    box-sizing: border-box;
    padding: 15px 35px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    font-size: 15px;
    font-weight: 700;
    line-height: 17px;
    color: #ffffff;
    border: 1px solid #FF0000;
    border-radius: 20px;
    margin-bottom: 30px;
    width:100%;
}
.order-table__row {
    color: #000000;
    background: #ffffff;
    border: 0px;
    padding: 5px 22px;
    margin-bottom: 0;
}
.order-table__date {
    width: max-content;
    margin-right: 15px;
}
.order-table__time {
    width: max-content;
    margin-right: 15px;
}
.order-table__type {
    width: 135px;
}
.order-table__name {
    width: 125px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.order-table__col {
    width: 100px;
    position: relative;
}
.order-table__row .order-table__col::before {
    content: '';
    display: block;
    background: url(../img/person.png) no-repeat;
    background-size: 100% 100%;
    background-position: center;
    width: 19px;
    height: 13px;
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
}
.order-table__price {
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.order-table__summa {
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.order-table__delete {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    right: 0;
    cursor: pointer;
}
.order-table__row .order-table__delete::after {
    content: 'x';
    display: block;
    font-size: 12px;
    line-height: 1;
}
.order-table__close {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.order-table__close::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #000000;
    transform: rotate(45deg);
    top: 10px;
    position: absolute;
}
.order-table__close::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #000000;
    transform: rotate(-45deg);
    top: 10px;
    position: absolute;
}
.number {
    display: flex;
    justify-content: center;
    align-items: center;
}
.minus,
.plus{
    width:12px;
    height:12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
input {
    height: 34px;
    width: 35px;
    text-align: center;
    font-size: 16px;
    line-height: 18px;
    display: inline-block;
    vertical-align: middle;
    border: 0;
}
.summ-block {
    width: 90%;
    max-width: 873px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-right: 50px;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    color: #000000;
    margin-bottom: 15px;
}
.summ-block__result {
    margin-left: 5px;
}
.order-form__block {
    width: 90%;
    max-width: 873px;
    padding: 35px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
.order-form__title {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}
.order-form {
    width: 90%;
    max-width: 550px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.order-form__item {
    width: 48%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 10px;
}
.order-form__item label {
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}
.order-form__item input {
    width: 100%;
    height: 35px;
    border-radius: 5px;
    box-sizing: border-box;
    padding-left: 15px;
    text-align: left;
    position: relative;
    background: #373737;
    color: #ffffff;
    border-radius: 20px;
    outline: none;
    border: 0;
}
.order-form__item input:focus {
    background: #373737;
    color: #ffffff;
}
.order-form input.is-valid ~ .form-check-label {
    color: #ffffff;
}
.form-check-label a {
    color: #ffffff;
}

.order-form .form-check-input,
.order-form .form-check-input.is-valid:checked {
    /*background-color: transparent;*/
}

.order-wrapper.step-two .order-table__head {
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
}

.order-wrapper.step-two .order-table__row {
    font-size: 18px;
    font-weight: 400;
}

.order-wrapper.step-two .order-table__row .order-table__name {
    font-size: 14px;
    justify-content: flex-start;
}

.order-wrapper.step-two .summ-block {
    font-size: 18px;
    font-weight: 600;
}

.order-wrapper.step-two .order-form__title {
    font-size: 16px;
    font-weight: 400;
}

.order-wrapper.step-two .order-form__item label {
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
}

.order-wrapper.step-two .form-check-label {
    font-size: 12px;
    font-weight: 400;
}

.order-wrapper.step-two .timer-title {
    font-size: 12px;
    font-weight: 600;
}

.order-wrapper.step-two .timer {
    padding: 0px 35px;
}

    /*Step 3*/
.header.third-step .head-link {
    position: static;
    display: block;
}
.order-result__block {
    width: 90%;
    max-width: 873px;
    margin-bottom: 10px;
}
.order-result__text {
    font-size: 15px;
    line-height: 17px;
    margin-bottom: 15px;
    text-align: center;
}
.order-result__number {
    font-weight: 700;
    display: inline;
}
.pay-table {
    width: 90%;
    max-width: 873px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.pay-table__head {
    width: 100%;
    padding: 10px 30px;
    margin-bottom: 26px;
    display: flex;
    /*justify-content: flex-start;*/
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    box-sizing: border-box;
    border: 1px solid #FF0000;
    border-radius: 20px;

}
.pay-table__head-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;
}
.pay-table__date {
    margin-right: 20px;
    font-size: 10px;
    line-height: 11px;
}
.pay-table__time {
    margin-right: 20px;
    font-size: 10px;
    line-height: 11px;
}
.pay-table__name {
    margin-right: 20px;
    font-size: 10px;
    line-height: 11px;
}
.pay-table__price {
    font-size: 10px;
    line-height: 11px;
}
.pay-table__icon {
    display: none;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
}
.pay-table__form {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.pay-table__row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0px;
    box-sizing: border-box;
    padding: 0;
    margin-bottom: 24px;
}
.pay-table__row div {
    position: relative;
    margin-bottom: 0 !important;
    padding-right: 5px;
}
.pay-table__row .pay-table__input-block + div.mb-3 {
    position: absolute;
}
.input-group>span.input-group-text {
    display: none;
}
#modal-form .input-group {
    height: 35px;
    border: 1px solid #FF0000;
    border-radius: 20px;
    justify-content: space-between;
}
#modal-form .input-group button,
#modal-form .input-group input {
    height: 35px;
    border: 0;
}
#modal-form .input-group button:hover {
    background: transparent;
}
.pay-table__row .invalid-feedback {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    font-size: 12px;
    line-height: 100%;
}
.pay-table__row .racer-name {
    font-size: 10px;
    line-height: 10px;
    font-weight: 500;
    color: #FF0000;
    margin-right: 16px;
    border: 1px solid  #FF0000;
    border-radius: 20px;
    width: 160px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pay-table__row input {
    width: 203px;
    height: 20px;
    border: 0;
    border-radius: 30px;
    font-size: 12px;
    background: #373737;
    color: #ffffff;
}
.pay-table__row input.racer_lastname {
    width: 203px;
}
/*.pay-table__row input.racer_phone {*/
/*    width: 203px;*/
/*}*/
.pay-table__row div.pay-table__input-title {
    font-family: Rubik;
    font-weight: 500;
    font-size: 10px;
    line-height: 1;
    margin-bottom: 7px !important;
}
.pay-table__btn {
    width: 275px;
    height: 24px;
    font-size: 12px;
    line-height: 12.48px;
    color: #000000;
    font-weight: 600;
    padding: 6px 4px;
    background: #ffffff;
    border: 0;
    border-radius: 25px;
    align-self: flex-end;
    margin: 29px 0px 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.save-block {
    width: 81%;
    max-width: 873px;
    display: flex;
    justify-content: flex-end;
    align-self: center;
}
.save-block__btn {
    width: 133px;
    height: 24px;
    border: 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    font-size: 12px;
    line-height: 12.48px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 48px;
}

.timer-block.hidden {
    visibility: hidden;
}
.head-timer.hidden .head-timer__wrapper {
    visibility: hidden;
}
.order-block__basket {
    position: static;
    right: 78px;
    bottom: 3px;
    background: #FF0000;
    width: 125px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #D60000;
    border-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
    margin-left: 50px;
}
.order-block__basket a {
    text-align: center;
    color: #ffffff;
    font-family: Rubik;
    font-weight: 700;
    text-decoration: none;
}

.order-block__basket.hidden {
    display: none;
}
.order-block__basket .order-block__basket-img {
    width: 83%;
    height: auto;
}

/* Step 4*/
.header.fourth-step .head-link {
    display: block;
    position: static;
}
.order-wrapper.fourth-step .step-title {
    margin-bottom: 16px;
    font-size: 16px;
}
.order-wrapper.fourth-step .order-result__text {
    font-size: 16px;
    line-height: 1;
    font-family: Rubik;
}
.order-wrapper.fourth-step .order-result__text .order-result__number {
    font-size: 16px;
    line-height: 1;
    font-family: Rubik;
    color: #E30A13;
}
.order-result__descr {
    font-family: Rubik;
    font-size: 10px;
    line-height: 11px;
    text-align: center;

}

.order-wrapper.fourth-step .pay-table__date,
.order-wrapper.fourth-step .pay-table__time,
.order-wrapper.fourth-step .pay-table__name,
.order-wrapper.fourth-step .pay-table__price {
    font-size: 12px;
    line-height: 1;
    font-family: Rubik;
    font-weight: 400;
}

    /*календарь*/
.calendar {
    width: 330px;
    position: absolute;
    right: 50px;
    top: 70px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 15px;
    border: 0.2px solid #FFFCFC;
    overflow: hidden;
    box-sizing: border-box;
    padding: 30px;
    display: none;
}
.calendar-not {
    color: #ffffff;
}
.calendar-month {
    background: #ffffff;
    width: 135px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Rubik;
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    border-radius: 20px;
    text-transform: none;
}
.calendar-table {
    border: 0px;
}
.calendar-table td {
    font-family: Rubik;
    font-size: 10px;
    border-right: 0px solid #dcdcff;
    border-top: 0px solid #dcdcff;
    color: #ffffff;
}
.calendar-day {
    width: 28px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #2D2D2D;
    border-radius: 3px;
    font-size: 10px;
    cursor: pointer;
}
.calendar-day::after {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 4px;
    background: #0EC498;
    margin-top: 2px;
}
.calendar-day.not-available::after {
    background: #FF0000;
}
.not-current .calendar-day {
    opacity: 0.3;
}
.today .calendar-day {
    color: #ffffff;
    font-family: Rubik;
}
.calendar-note p {
    font-family: Rubik;
    font-size: 12px;
    line-height: 14px;
}
.calendar-descr {
    width: 100%;
    padding-left: 10px;
    box-sizing: border-box;
    margin: 20px 0 0 20px;
}
.calendar-descr .free-label {
    font-family: Rubik;
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.calendar-descr .free-label::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #0EC498;
    border-radius: 4px;
    margin-right: 10px;
}
.calendar-descr .booking-label {
    font-family: Rubik;
    font-size: 12px;
    line-height: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.calendar-descr .booking-label::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #C40E0E;
    border-radius: 4px;
    margin-right: 10px;
}

.step-title {
    margin-bottom: 30px;
    font-family: Rubik;
    font-size: 26px;
    line-height: 1.1;
}

.order-wrapper.step-two .step-title {
    font-size: 16px;
}

.mobile-title-block {
    display: none;
}
.modal-form_check_license input {
    width: 230px;
    height: 20px;
    border: 0;
    border-radius: 30px;
    font-size: 12px;
    background: #373737;
    color: #ffffff;
}
.modal-input__wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 5px 0;
}
.modal-input__wrapper .mb-3 {
    margin-bottom: 0 !important;
}
.modal-input__wrapper label {
    font-size: 12px;
    line-height: 10px;
    font-weight: 500;
    color: #FF0000;
    margin-right: 16px;
    border: 1px solid  #FF0000;
    border-radius: 20px;
    width: 140px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.check_license_btn {
    color: #fff;
    background: #146C43;
    height: 30px;
    border-radius: 20px;
    padding: 0 15px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 0px;
    border: 0px solid #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Rubik;
    width: 133px;
}
.check_license_btn:hover {
    cursor: pointer;
    background: #ffffff;
    color: #000000;
}
.result-table__check_license_btn {
    color: #fff;
    background: #146C43;
    height: 30px;
    border-radius: 20px;
    padding: 0 15px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 0px;
    border: 0px solid #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Rubik;
    width: 140px;
    flex-shrink: 0;
}
.result-table__check_license_btn:hover {
    cursor: pointer;
    background: #ffffff;
    color: #000000;
}

/*Правиал бронирования*/
#rulesModal .modal-dialog {
    width: 90%;
    max-width: 1200px;
}

#rulesModal .modal-dialog .modal-body h2 {
    font-size: 16px;
    margin-bottom: 15px;
    margin-top: 30px;
}
#rulesModal .modal-dialog .modal-body h2:first-child {
    margin-top: 0;
}
/*Модальное окно оферты*/
#offerModal .modal-dialog {
    width: 90%;
    max-width: 1200px;
}
#offerModal .modal-dialog .modal-body h2 {
    font-size: 16px;
    margin-bottom: 15px;
    margin-top: 30px;
}
#offerModal .modal-dialog .modal-body h2:first-child {
    margin-top: 0;
}
.rules_btn {
    background: red;
}

.btn-close {
    width: auto;
    height: auto;
    position: absolute;
    right: 20px;
    top: 20px;
    transform: rotate(45deg);
    font-size: 26px;
    cursor: pointer;
    color: #ffffff;
    opacity: 1;
}
.btn-close:hover {
    color: #ffffff;
}

.rules-block {
    margin: 14px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rules-block .head-timer__btn:hover {
    color: #ffffff;
}

.license-bottom {
    color: white;
    text-align: center;
    font-size: 13px;
    width: 90%;
    margin: 0 auto;
    font-family: Rubik;
}

@media (max-width: 1699px) {
    .calendar {
        width: 325px;
        right: 10px;
        padding: 20px;
    }
    .order-block {
        max-height: 50vh;
    }
}
@media (max-width: 1599px) {
    .calendar {
        width: 270px;
        right: 10px;
        padding: 20px 10px;
    }
    .pay-table__row {
        flex-wrap: wrap;
    }
    .pay-table__row .racer-name {
        margin-right: 50%;
        margin-bottom: 15px;
    }
}
@media (max-width: 1499px) {
    .order-wrapper {
        max-width: 830px;
    }
    .pay-table__row .racer-name {
        width: 130px;
    }
    .pay-table__row input {
        width: 300px;
    }
    .order-block__basket {
        right: 70px;
    }
    .head-timer .head-timer__wrapper {
        transform: translateY(0%);
    }
    .step-two .head-timer .head-timer__wrapper {
        top: 115%;
    }

    .order-table__head {
        font-size: 14px;
    }
    .order-table__price {
        width: 70px;
    }
}
@media (max-width: 1399px) {
    body {
        padding-bottom: 100px;
    }
    .order-wrapper {
        top: 35px;
        max-width: 730px;
    }
    .calendar {
        top: 50px;
        padding: 10px;
    }
    .calendar-descr {
        margin: 5px 0 0 0px;
    }
    .order-wrapper {
        padding-top: 20px;
    }
    .week {
        margin-bottom: 10px;
    }
    .step-title {
        margin-bottom: 15px;
    }
    .order-block {
        max-height: 35vh;
    }
    .pay-table__row .racer-name {
        width: 100px;
    }
    .pay-table__row input {
        width: 260px;
    }
    .order-block__basket {
        right: 63px;
    }

    .order-table__head {
        font-size: 13px;
    }

}
@media (max-width: 1279px) {
    .body {
        /*align-items: flex-start;*/
    }
    .order-wrapper {
        margin-left: 5px;
    }
    .body.step-two,
    .body.fourth-step{
        align-items: center;
    }

    .back-home {
        left: 1%;
    }

}
@media (max-width: 1024px) {
    body {
        background-repeat: repeat-y;
    }
    .order-wrapper {
        margin-top: 50px;
        border-radius: 36px;
        margin-bottom: 10px;
        margin-left: 24px;
    }
    .order-wrapper.step-two,
    .order-wrapper.fourth-step {
        margin-top: 0;
        border-radius: 0 0 36px 36px;
    }
    .month {
        display: none;
    }
    .calendar {
        width: 330px;
        top: 40px;
        right: auto;
        left: 24px;
        padding: 10px;
        display:none;
    }
    .calendar-descr {
        margin: 10px 0 0 10px;
    }
}

@media (max-width: 767px) {
    .header__wrapper {
        width: 100%;
        box-sizing: border-box;
        padding: 0 5px;
    }
    .label-item {
        margin-right: 30px;
    }
    .calendar {
        left: 50%;
        transform: translateX(-50%);
    }
    .order-wrapper {
        width: 90%;
        margin: 0 auto;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .mobile-title-block {
        display: block;
        margin: 0 auto;
        margin-top: 0px;
    }
    .mobile-title-block .d-flex {
        justify-content: space-around;
    }
    .order-wrapper .step-title,
    .order-wrapper .d-flex {
        /*display: none !important;*/
    }
    .order-block {
        width: 96%;
    }
    .forms-block {
        width: 100%;
    }
    .for-childs {
        margin: 0 40px;
    }
    .result-table__time-row span {
        font-size: 8px;
        width: 38px;
        height: 18px;
        margin-right: 15px;
    }
    .result-table__time-row {
        height: 22px;
    }
    .result-table__time-row .group-count {
        font-size: 8px;
    }
    .step-title {
        font-size: 14px;
        margin-top: 45px;
    }
    .back-home {
        left: 6%;
    }
    .head-timer__btn {
        font-size: 8px;
    }
    .mobile-title-block .head-timer__btn {
        display: none;
    }
    .result-table__time-row .arrow-icon {
        width: 10px;
    }
    .result-table__time-row {
        padding-left: 2px;
        padding-right: 5px;
    }
    .result-table__time-row > div {
        display: inline-flex;
    }
    .result-table__time-row .group-count::before {
        width: 7px;
        height: 7px;
    }
    .result-table__time-row.open + .hour-group {
        padding-left: 20px;
    }
    .result-table__info-block::before {
        left: -19px;
    }
    .result-table__row:nth-child(n + 2) .result-table__info-block::after {
        left: -15px;
    }
    .result-table__time {
        font-size: 8px;
        margin-right: 10px;
    }
    .result-table__info {
        font-size: 8px;
        flex-shrink: 0;
        padding-right: 3px;
    }
    .result-table__btn {
        width: 80px;
        font-size: 8px;
    }
    .head-timer .head-timer__wrapper {
        /*transform: translateY(-10%);*/
        top: 110%;
        font-size: 9px;
    }
    .timer-time {
        font-size: 9px;
    }
    .modal-form__row {
        flex-direction: column-reverse;
        justify-content: flex-start;
        align-items: center;
    }
    .modal-form__row .add-issue {
        margin-bottom: 20px;
    }
    .modal-form__row .add-in-zakaz {
        margin-right: 0;
    }
    .form-label {
        font-size: 13px;
    }
    .order-table__row {
        padding: 5px;
    }

    .order-wrapper.step-two .order-table__row {
        padding: 5px 15px;
    }

    .order-table__name {
        width: 100px;
    }
    .order-table__row .order-table__col::before {
        display: none;
    }
    .order-table__col {
        width: 80px;
        display: flex;
        align-items: center;
    }
    .order-table__summa {
        width: 75px;
    }
    .order-table__price {
        width: 80px;
    }
    .order-form {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    .order-form__item {
        width: 100%;
    }
    .order-form__item > .mb-3 {
        width: 100%;
    }
    .order-table__head > div {
        font-size: 8px;
    }
    .order-table__head .order-table__close {
        display: none;
    }
    .pay-table__row {
        flex-wrap: wrap;
    }
    .pay-table__input-block {
        width: 49%;
    }
    .pay-table__row input {
        width: 100%;
    }
    .pay-table__row input.racer_lastname {
        width: 100%;
    }
    .pay-table__row .racer-name {
        margin-right: 50%;
        margin-bottom: 15px;
    }

    .week__dates-mob {
        display: block;
    }
    .week__dates-desk {
        display: none;
    }
    .week__dates {
        justify-content: space-around;
    }
    .order-block__basket {
        width: 77px;
        height: 18px;
        top: 122px;
        right: 50%;
        /*transform: translateX(50%);*/
        margin-left: 20px;
        font-size: 9px;
    }
    #order-wrapper__empty .empty-title {
        font-size: 26px;
    }
    #order-wrapper__empty .empty-text {
        font-size: 13px;
    }
    #order-wrapper__empty {
        padding: 45px 32px 25px;
    }

    .next-week-btn {
        right: -15px;
    }
    .prev-week-btn {
        left: -15px;
    }

    .result-table__info-block {
        padding-left: 5px;
    }

    .license-bottom {
        font-size: 9px;
    }

    .result-table__info-icon span {
        font-size: 8px;
    }

    #timer-time-block {
        border-top: 1px solid #989898;
        padding-top: 10px;
    }

    .result-table__info-icon.open {
        min-width: 120px;
    }

    .summ-block {
        padding-right: 3px;
    }

    .order-wrapper.step-two .step-title {
        font-size: 13px;
    }

    .order-wrapper.step-two .head-timer {
        justify-content: center;
    }

    .order-wrapper.step-two .head-timer .head-timer__wrapper {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .order-wrapper.step-two .head-timer .head-timer__wrapper {
        font-size: 8px;
        color: #D60000;
    }

    .order-wrapper.step-two .head-timer .head-timer__wrapper .timer-time {
        font-size: 8px;
    }

    .order-wrapper.step-two .order-table__row .order-table__name {
        font-size: 8px;
    }

    .order-wrapper.step-two .summ-block {
        font-size: 8px;
    }

    .order-wrapper.step-two .order-form__title {
        font-size: 13px;
    }

    .order-wrapper.step-two .form-check-label {
        font-size: 8px;
    }
    .order-wrapper.step-two .timer-title {
        font-size: 10px;
    }



    .order-wrapper.fourth-step .pay-table__date,
    .order-wrapper.fourth-step .pay-table__time,
    .order-wrapper.fourth-step .pay-table__name,
    .order-wrapper.fourth-step .pay-table__price {
        font-size: 8px;
        line-height: 1;
        font-family: Rubik;
        font-weight: 400;
    }

    .order-wrapper.fourth-step .step-title {
        font-size: 13px;
    }

    .order-wrapper.fourth-step .order-result__text {
        font-size: 13px;
        line-height: 1;
    }

    .order-wrapper.fourth-step .order-result__text .order-result__number {
        font-size: 13px;
    }


}
@media (max-width: 577px) {
    .back-home {
        padding: 10px 10px;
        border-radius: 4px;
        font-size: 10px;
        line-height: 10px;
    }
    .header__wrapper {
        justify-content: center;
    }
    .label-color {
        margin-left: 5px;
    }
    .label-item {
        font-size: 8px;
        margin-right: 20px;
    }
    .label-color {
        width: 8px;
        height: 8px;
    }
    .week__dates {
        overflow-x: scroll;
        justify-content: space-between;
    }
    .week__date-count {
        font-size: 14px;
        line-height: 14.5px;
    }
    #week__dates {
        width: 90%;
        position: relative;
        margin: 0 auto;
    }
    .week__date {
        margin-right: 15px;
    }
    .week__date:last-child {
        margin-right: 0px;
    }
    .step-title {
        font-size: 14px;
    }
    .forms-block {
        width: 100%;
        justify-content: space-around;
    }
    .for-childs {
        margin: 0 10px;
    }
    .child-img, .parents-img {
        margin-right: 5px;
    }
    .form-text {
        font-size: 7px;
    }
    .result-table {
        padding: 0;
    }
    .result-table__time-row span {
        font-size: 8px;
        width: 38px;
        height: 18px;
    }
    .result-table__time-row .group-count::before  {
        width: 8px;
        height: 8px;
    }
    .result-table__time-row .group-count {
        font-size: 8px;
    }
    .result-table__time-row {
        height: 22px;
    }
    .result-table__info-block {
        padding-left: 0px;
    }
    .head-link {
        font-size: 8px;
    }
    .order-table__head {
        padding: 15px 22px;
    }
    .order-form__block {
        padding: 0 0;
    }
    .result-table__time {
        margin-right: 0;
    }
    .result-table__order {
        display: none;
    }

    #rulesModal .modal-dialog {
        width: 82%;
        margin: 0 auto;
    }
    #rulesModal .modal-dialog .modal-content {
        padding: 20px 10px 25px;
    }
    #rulesModal .modal-dialog .modal-body h2 {
        font-size: 14px;
        margin-top: 20px;
    }
    #rulesModal .modal-dialog .modal-body p {
        font-size: 11px;
    }
    .next-week-btn {
        padding: 0;
        right: -25px;
    }
    .prev-week-btn {
        left: -25px;
        padding: 0;
    }

    .result-table__row {
        gap: 10px;
    }

    .result-table__info {
        flex-shrink: 1;
    }
}
/*тест*/
@media (max-width: 469px) {
    .order-block::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }
    .order-block::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    .order-block::-webkit-scrollbar-thumb {
        background: #FF0000;
    }
    .order-block::-webkit-scrollbar-thumb:hover {
        background: #620202;
    }
    .result-table__info-block {
        padding-left: 5px;
        padding-right: 5px;
        margin-right: 0;
        width: 100%;
    }
    .result-table__time {
        margin-right: 10px;
    }
    .result-table__order {
        display: none;
    }
    .order-table__head {
        padding: 5px 10px;
    }
    .order-table__head .order-table__name,
    .order-table__head .order-table__col{
        display: none;
    }
    .order-table__name {
        font-size: 8px;
        width: 50px;
    }
    .step-two .order-table__name {
        width: 125px;
        line-height: 1;
    }
    .order-table__col input {
        font-size: 8px;
        height: 8px;
    }
    .order-table__price {
        font-size: 8px;
        width: 50px;
    }
    .order-table__summa {
        font-size: 8px;
        width: 50px;
    }

    .body.step-two .order-table__row {
        /*height: 17px;*/
        height: max-content;
    }
    .body.step-two .order-table__row-wrapper {
        /*height: 23px;*/
        height: max-content;
        padding: 5px;
    }
    .body.step-two .order-table__col {
        top: -2px;
    }
    .order-form__block {
        padding: 0px 0px;
    }
    .order-form__title {
        font-size: 14px;
    }
    .order-form__item label {
        /*font-size: 8px;*/
    }
    .form-check label {
        font-size: 10px;
    }
    .timer-title {
        font-size: 12px;
    }
    .result-table__btn {
        display: none;
    }
    .result-table__check_license_btn {
        display: none;
    }
    .modal-input__wrapper {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .result-table__time {
        min-width: 1px;
    }
    .modal-input__wrapper label {
        margin-bottom: 10px;
    }
    .summ-block {
        font-size: 16px;
    }
    .pay-table__price{
        flex-shrink: 0;
    }


}
@media (max-width: 399px) {
    .calendar {
        width: 98%;
        max-width: 330px;
    }
    .result-table__btn {
        /*display: none;*/
    }
    .pay-table__btn {
        width: 100%;
    }
    .save-block__btn {
        width: 100%;
    }
    .result-table__time-row.open + .hour-group {
        padding-left: 10px;
    }
    .result-table__info-block::before {
        left: -15px;
    }
    .result-table__row:nth-child(n + 2) .result-table__info-block::after {
        left: -10px;
    }
    .result-table__info-block {
        margin-right: 10px;
    }
    .result-table__info-icon.open {
        margin-left: 10px;
    }
    .week__date {
        margin-right: 10px;
    }
    .result-table__info-icon.open {
        min-width: 110px;
    }
}
@media (max-width: 349px) {
    .week__date {
        margin-right: 5px;
    }
}

