.doctor-item__cancel {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    color: #9A9794;
    text-align: center;
    font-size: 11.625px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    padding-right:15px;
}

.doctor-item__cancel-icon {
    border-radius: 29px;
    background: #FD605A;
    display: flex;
    width: 29px;
    height: 29px;
    justify-content: center;
    align-items: center;
    margin-bottom:5px;
}

.doctor-single-item {
    width:100%;
    background:#fff;
    display:flex;
    justify-content:space-between;
    padding: 6px 11px;
    border-radius: 5px;
    border: 1px solid #E4E4E4;
}

.doctors-row {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    opacity:0;
    transform:translateY(0px);
    transition:all ease-out .4s;
}

.doctors-row.showed {
    opacity:1;
    padding-bottom:60px;
    transform:translateY(-10px);
}

.doctor-single-order {
    opacity:0;
    transform:translateY(-10px);
    transition: all ease-out .4s;
}

.doctor-single-order.showed {
    padding-bottom:60px;
    opacity:1;
    transform:translateY(0px);
}

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

.doctor-item__tag {
    border-radius: 5px;
    background: #ECEFF1;
    color: #474747;
    font-size: 11.625px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding:5px 10px;
}

.doctor-item__content {
    padding-top:18px;
    width: 100%;
    padding-left:16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doctor-item__address {
    margin-top:18px;
    padding-top:11px;
    padding-bottom:5px;
    border-top: 1px solid #E4E4E4;
}    

.doctor-item__button {
    border: none;
    border-radius: 4px;
    background: linear-gradient(180deg, #FF6963 0%, #F5433B 100%);
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.15), 0px -4px 0px 0px rgba(0, 0, 0, 0.10) inset;
    color:#fff;
    min-width:186px;
    height:52px;
    font-weight: 600;
}

.doctor-item__button:hover {
    background: linear-gradient(180deg, #F5433B 0%, #F5433B 100%);
}

.doctor-item__info {
    display:flex;
    flex-direction:column;
    padding-right:15px;
    max-width:470px;
}

.doctor-item__name {
    color: #474747;
    font-size: 14.414px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-bottom:10px;
}

.doctor-item__job {
    color: #474747;
    font-size: 11.625px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.doctor-item {
    width:calc(50% - 12px);
    margin-bottom:12px;
    background:#fff;
    border-radius: 5px;
    border: 1px solid #E4E4E4;
    padding:11px;
    display:flex;
}

.doctor-item__image {
    min-width: 120px;
    max-width: 120px;
    height: 157px;
    object-fit: cover;
    display: block;
}

.mc1c-order-steps {
    display:flex;
    gap: 48px;
    margin-bottom:28px;
}

.mc1c-order-step {
    display:flex;
    align-items:center;
    gap:15px;
    color:#C8C8C8;
}

.mc1c-order-step.active {
    color: #474747;
}

.mc1c-order-step-return {
    margin-left:auto;
    display:flex;
    align-items:center;
    border-radius: 0px 5px 5px 0px;
    background: #F5F5F5;
    cursor:default;
    transition:all ease-out .4s;
}

.mc1c-order-step-return * {
    transition:all ease-out .4s;
}

.mc1c-order-step-return.active {
    cursor:pointer;
    background: #fff;
}    

.mc1c-order-step-return-title {
    padding:10px 15px;
    color:#C8C8C8;
}

.mc1c-order-step-return.active .mc1c-order-step-return-title {
    color: #2F2F33;
}

.mc1c-order-step-return.active .mc1c-order-step-return__icon {
    background: #4A8AC5;
}

.mc1c-order-step-return__icon {
    border-radius: 5px 0px 0px 5px;
    background: #C8C8C8;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0 5px;
}

.mc1c-order-step-num {
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border-radius: 24px;
    width:24px;
    height:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    color: #C8C8C8;
    border: 1px solid #C8C8C8;
    transition:all ease-out .4s;
}

.mc1c-order-step.success .mc1c-order-step-num {
    background: url(/templates/images/crumbs-success.png);
    font-size: 0px;
    background-size: cover;
    border: none;
}

.mc1c-order-step.success {
    color: #474747;
}

.mc1c-order-step.active .mc1c-order-step-num {
    border: 1px solid #4A8AC5;
    background: #4A8AC5;
    color: #FFF;
}

.order-select__title {
    width: 100%;
    background-color: white;
    padding: 13.5px 50px 13.5px 20px;
    border-radius: 4px;
    color: #2F2F33;
    position: relative;
    border: 1px solid transparent;
    cursor:pointer;
}

.doctor-single-schedule__field:after {
    content: url(/templates/images/icon/arrow-down.svg);
    position: absolute;
    right: 28px;
    transition: all ease-out .2s;
}

.doctor-single-schedule__field.active:after {
    transform:scaleY(-1);
}

.order-select__title:after {
    content: url(/templates/images/icon/arrow-down.svg);
    position: absolute;
    right: 28px;
    transition: all ease-out .2s;
}

.order-select {
    width:100%;
    position:relative;
}

.order-group {
    width:100%;
}    

.order-select.active {
    box-shadow:0px 0px 26px 10px rgba(0, 0, 0, 0.10)
}

.order-select.active .order-select__title:after {
    transform:scaleY(-1);
}

.order-select__list {
    max-height:0;
    overflow-y:hidden;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    right:0;
    background:#fff;
    z-index:2;
    opacity:0;
    transition:opacity ease-out .2s;
}

.order-select.active .order-select__list {
    max-height:350px;
    overflow-y:auto;
    opacity:1;
}

.order-select__item {
    cursor:pointer;
    transition:all ease-out .2s;
    padding:5px 20px;
}

.order-select__item:hover {
    background:#eee;
}

.order-form {
    display:flex;
    gap:25px;
    padding-bottom:60px;
}

.order-group input.is-invalid ~ .order-select:after {
    content:'Обязательное поле';
    position:absolute;
    top:4px;
    right:4px;
    color:red;
    font-size:10px;
}

.doctor-single-schedule__field {
    padding:14px 51px 14px 21px ;
    border-radius: 4px;
    border: 1px solid #E4E4E4;
    background: #FFF;
    height:fit-content;
    width:356px;
    color: #474747;
    font-size: 15.5px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    cursor:pointer;
}

.doctor-single-schedule__field.error {
    border:1px solid #FA5750;
}

.doctor-single-schedule {
    display:flex;
    align-items:center;
    margin-right:80px;
    margin-left:40px;
    position:relative;
}

@media (max-width:1200px) {
    .doctor-item {
        width:100%;
    }
    
    .doctor-item__image {
        width:130px;
    }
    
    .order-form {
        flex-direction: column;
    }
}

@media (max-width:1100px) {
    .mc1c-order-step {
        display:none;
    }
    
    .mc1c-order-step.active {
        display:flex;
    }
}

@media (max-width:800px) {
    .doctor-item__row {
        flex-direction: column;
    }
    
    .doctor-item__info {
        margin-bottom:15px;
    }
    
    .doctor-item__image {
        width: 40%;
    }
}

@media (max-width:500px) {
    .mc1c-order-step-return-title {
        display:none;
    }
    
    .mc1c-order-step-return__icon {
        width: 40px;
        height: 40px;
        border-radius: 5px;
    }
}

.mc1c-order .day {
    padding:14px;
    align-items: center;
    text-align: center;
    font-size:15px;
    border:2px solid #fff;
    border-radius: 10px;
}

.mc1c-order .day.disabled {
    color: #C3BEC5;
}

.mc1c-order .day.available-date {
    background: #EEF4FA;
    cursor:pointer;
    transition:all ease-out .2s;
}

.mc1c-order .day.available-date:hover {
    opacity:.7;
}

.mc1c-order .day.available-date.active {
    color:#fff;
    background: #FA5750;
}

.visible-datepicker-container {
    width:356px;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 17px 16px 12px;
    opacity:0;
    pointer-events:none;
    transition:opacity ease-out .2s;
}

.visible-datepicker-container.active {
    opacity:1;
    pointer-events:auto;
    box-shadow: 0px 0px 10px 9px rgba(0, 0, 0, 0.03);
}


.visible-datepicker-container .datepicker-days thead tr:nth-child(2) .prev, .visible-datepicker-container .datepicker-days thead tr:nth-child(2) .next {
    color: #FC5C55;
    text-align: center;
    font-size: 30px;
    font-style: normal;
    font-weight: 300;
    visibility: visible;
    padding: 0;
    line-height: 24px;
}

.visible-datepicker-container .datepicker-days thead tr:nth-child(2) .prev {
    text-align: right;
}

.visible-datepicker-container .datepicker-days thead tr:nth-child(3) th {
    color: rgba(60, 60, 67, 0.30);
    text-align: center;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    line-height: 18px;
    text-align: left;
}

.visible-datepicker-container .datepicker-days thead tr:nth-child(2) th {
    padding-bottom:10px !important;
}

#time-slots > div {
    display:inline;
}

.doctor-single-schedule-timetitle {
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin: 4px;
}

#time-slots {
    margin-top:38px;
}

.time-buttons .btn.btn-time {
    border-radius: 6px;
    margin: 4px;
    background: rgba(118, 118, 128, 0.12);
    transition:all ease-out .4s;
}

.time-buttons .btn.btn-time:hover {
    opacity:.8;
}

.doctor-single-form {
    padding:55px 85px;
    border-radius: 5px;
    border: 1px solid #E4E4E4;
    background: #FFF;
    margin-top:40px;
}

.doctor-single-form__title {
    color: #2F2F33;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    padding-bottom:50px;
}

.doctor-single-form__row {
    display:flex;
}

.doctor-single-form__clm {
    display:flex;
    flex-direction:column;
}

.doctor-single-form__row input {
    border-radius: 4px;
    border: 1px solid #E4E4E4;
    background: #FFF;
    padding:14px 21px;
    width:350px;
    margin-bottom:15px;
    font-size:15px;
}

.doctor-single-form__row input:first-child {
    margin-right:30px;
}

.doctor-single-form__privacy {
    color: #9A9794;
    font-size: 10.828px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    max-width:350px;
}

.doctor-single-form__privacy * {
    font-size:11px;
}

.doctor-single-form__privacy .accept-check-box {
    border: 1px solid #E4E4E4;
}

.doctor-single-form__privacy input {
    display:none;
}

.doctor-single-form__submit {
    width:250px;
}

.doctor-single-form__row .doctor-single-form__clm:last-child {
    justify-content: flex-end;
}

.doctor-single-form__privacy .accept-check-outer {
    padding-top:0;
}

.doctor-single-form__errormessage {
    color: #FA5750;
    font-size: 10.828px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    padding-bottom:12px;
}

.doctor-single-form input.error {
    border: 1px solid #FA5750;
}

.doctor-single-form input.error ~ .accept-check-box {
    border: 1px solid #FA5750;
}

.doctor-order-success {
    opacity:0;
    visiblity:hidden;
    transform:translateY(-10px);
    max-height:0;
    overflow:hidden;
    transition:all ease-out .4s;
}

.doctor-order-success.showed {
    opacity:1;
    visiblity:visible;
    max-height:fit-content;
    padding-bottom:60px;
    transform:translateY(0px);
}

@media (max-width:1200px) {
    .doctor-single-form {
        padding: 30px 20px;
    }
    
    .doctor-single-form__row {
        flex-wrap:wrap;
    }
    
    .doctor-single-form__clm {
        width:50%;
    }
    
    .doctor-single-form__row .doctor-single-form__clm:last-child {
        width:100%;
        align-items: flex-end;
    }
}

@media (max-width:991px) {
    .doctor-item__row {
        flex-direction:column;
    }
    
    .doctor-item__cancel {
        position: absolute;
        right: 15px;
        top: 20px;
    }
    
    .doctor-single-schedule {
        margin:20px 0 0;
    }
    
    .doctor-single-form__clm {
        width:100%;
    }
    
    .doctor-item__button {
        width:fit-content;
        margin-top:15px;
    }
    
    .doctor-item__info {
        max-width:80%;
    }
    
    .doctor-single-form__row input {
        width:100%;
    }
    
    .doctor-single-form__privacy {
        width:100%;
        max-width:100%;
    }
}

@media (max-width:768px) {
    .doctor-item__cancel {
        font-size:0;
    }
}

@media (max-width:550px) {
    .doctor-single-schedule__field {
        width:100%;
    }
    
    .visible-datepicker-container {
        width:auto;
        top: 52px;
        left: -0;
    }
    
    .doctor-single-item {
        flex-direction:column;
    }
    
    .doctor-item__image {
        margin:0 9px;
    }
    
    .doctor-single-schedule {
        margin: 0px 0 0;
    }
    
    .doctor-single-form__title {
        font-size:24px;
        padding-bottom: 20px;
    }
    
    .doctor-single-form__errormessage {
        padding-top:10px;
        margin-left: 0;
        margin-right: auto;
    }
    
    .doctor-item__content {
        padding-left:9px;
    }
    
    .doctor-single-form__submit {
        width:100%;
    }
}

.visible-datepicker-container .datepicker-days thead tr:nth-child(2) .prev, .visible-datepicker-container .datepicker-days thead tr:nth-child(2) .next {
    cursor:pointer;
}

.visible-datepicker-container .datepicker-days thead tr:nth-child(2) .prev, .visible-datepicker-container .datepicker-days thead tr:nth-child(2) .next {
    transition:all ease-out .4s;
}

.visible-datepicker-container .datepicker-days thead tr:nth-child(2) .prev, .visible-datepicker-container .datepicker-days thead tr:nth-child(2) .next:hover {
    opacity:.8;
}