
.close:before {
    transform: rotate(45deg);
}
.close:after {
    transform: rotate(-45deg);
}

.counter {
    display: flex;
    align-items: center;
}
.counter__btn {
    /* Если меньше контейнера */
    width: 30px;
    /* Если меньше контейнера */
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #222;
    text-align: center;
    white-space: nowrap;
    /* Если меньше контейнера */
    font-size: 26px;
    color: #fff;
}
@media (max-width: 1200px) {
    .form  .form__doctors, .form  .form__time{    flex: 40%;}.form .form__fields{flex: 100%;}
    .form__fields{ display: flex;    column-gap: 20px;     flex-wrap: wrap;}
    .form__fields .user-box{    flex: 49%;       }
}
@media (max-width: 600px) {
.form  .form__doctors, .form  .form__time{    flex: 100%;}

}
@media (max-width: 1500px) {
    .counter__btn {
        width: calc(25px + 5 * ((100vw - 320px) / 1180));
    }
}
@media (max-width: 1500px) {
    .counter__btn {
        height: calc(25px + 5 * ((100vw - 320px) / 1180));
    }
}
@media (max-width: 1500px) {
    .counter__btn {
        font-size: calc(20px + 6 * ((100vw - 320px) / 1180));
    }
}
@media (any-hover: hover) {
    .counter__btn {
        transition: background-color 0.2s ease 0s;
    }
    .counter__btn:hover {
        background-color: rgb(48, 48, 48);
    }
}
.counter__btn_disabled {
    opacity: 0.7;
    pointer-events: none;
}
.counter__input {
    /* Если меньше контейнера */
    width: 30px;
    /* Если меньше контейнера */
    height: 30px;
    text-align: center;
}
@media (max-width: 1500px) {
    .counter__input {
        width: calc(25px + 5 * ((100vw - 320px) / 1180));
    }
}
@media (max-width: 1500px) {
    .counter__input {
        height: calc(25px + 5 * ((100vw - 320px) / 1180));
    }
}

.field__form {
    flex: 1 1 100%;
}
.field__item {
    display: flex;
    align-items: center;
    flex: 1 1 100%;
}
.field__input {
    padding: 0px 15px;
    flex: 1 1 100%;
    /* Если меньше контейнера */
    min-height: 50px;
}
@media (max-width: 1500px) {
    .field__input {
        min-height: calc(40px + 10 * ((100vw - 320px) / 1180));
    }
}
.field__btn {
    /* Если меньше контейнера */
    min-width: 50px;
    /* Если меньше контейнера */
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}
@media (max-width: 1500px) {
    .field__btn {
        min-width: calc(40px + 10 * ((100vw - 320px) / 1180));
    }
}
@media (max-width: 1500px) {
    .field__btn {
        min-height: calc(40px + 10 * ((100vw - 320px) / 1180));
    }
}

.online-order{    width: 100%!important;}
.popup-wrapper__item {
    width: 100%;
    height: 100%;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    overflow: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease 0s;
    background-color: rgba(0, 0, 0, 0.5);
}
@media (any-hover: hover) {
    .popup-wrapper__item::-webkit-scrollbar {
        width: 6px;
        box-shadow: inset 0px 0px 1px rgb(134, 134, 134);
        background-color: #e9e9e9;
    }
    .popup-wrapper__item::-webkit-scrollbar-thumb {
        background-color: #82878F;
    }
    .popup-wrapper__item::-webkit-scrollbar-thumb:hover {
        background-color: #6d7177;
    }
}
.popup-wrapper__item._active {
    opacity: 1;
    pointer-events: auto;
}
.popup-wrapper__item._active .popup-item__body {
    opacity: 1;
    transform: scale(1);
}

.popup-item__body {
    margin: auto;
    max-width: 320px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0px 0px 40px rgba(165, 178, 192, 0.9);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
}
@media (max-width: 425.2px) {
    .popup-item__body {
        max-width: none;
    }
}
.popup-item__top {
    padding-top: 10px;
    /* Если меньше контейнера */
    padding-right: 20px;
    /* Если меньше контейнера */
    padding-left: 20px;
    padding-bottom: 10px;
    /* Если меньше контейнера */
    min-height: 68px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid #E7EAEE;
    background-color: #fff;
}
@media (max-width: 1500px) {
    .popup-item__top {
        padding-right: calc(15px + 5 * ((100vw - 320px) / 1180));
    }
}
@media (max-width: 1500px) {
    .popup-item__top {
        padding-left: calc(15px + 5 * ((100vw - 320px) / 1180));
    }
}
@media (max-width: 1500px) {
    .popup-item__top {
        min-height: calc(58px + 10 * ((100vw - 320px) / 1180));
    }
}
.popup-item__title {
    margin-right: 15px;
    text-transform: uppercase;
    /* Если меньше контейнера */
    font-size: 18px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-align: left;
    color: #222;
}
@media (max-width: 1500px) {
    .popup-item__title {
        font-size: calc(16px + 2 * ((100vw - 320px) / 1180));
    }
}
.popup-item__close {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}
.popup-item__close span {
    width: 12px;
    height: 2px;
    display: flex;
    position: relative;
    background-color: transparent;
}
.popup-item__close span:before, .popup-item__close span:after {
    content: "";
    width: 12px;
    height: 2px;
    position: absolute;
    background-color: #222;
}
.popup-item__close span:before {
    top: -8px;
    transform: rotate(45deg) translate(5px, 6px);
}
.popup-item__close span:after {
    top: 8px;
    transform: rotate(-45deg) translate(5px, -6px);
}
.popup-item__content {
    /* Если меньше контейнера */
    padding: 20px;
    max-height: 540px;
    overflow: auto;
    background-color: #fff;
}
@media (max-width: 1500px) {
    .popup-item__content {
        padding: calc(15px + 5 * ((100vw - 320px) / 1180));
    }
}
@media (any-hover: hover) {
    .popup-item__content::-webkit-scrollbar {
        width: 6px;
        box-shadow: inset 0px 0px 1px rgb(134, 134, 134);
        background-color: #e9e9e9;
    }
    .popup-item__content::-webkit-scrollbar-thumb {
        background-color: #82878F;
    }
    .popup-item__content::-webkit-scrollbar-thumb:hover {
        background-color: #6d7177;
    }
}

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    position:relative;
    z-index:1;
}
.form ._container {
    width: 100%;
}
.form__body {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
@media (max-width: 1062px) {
    .form__body {
        justify-content: center;
    }
}
.form__title {
    font-size: 30px;
    padding-bottom: 37px;
    position: relative;
    margin-bottom: 40px;
}
.form__title::after {
    content: "";
    width: 90px;
    height: 2px;
    background: #006cff;
    position: absolute;
    left: 0;
    bottom: 0;
}
.form__doctors {
    display: flex;
    flex-direction: column;
    row-gap: 13px;    min-width: 30%;
   flex:1;padding: 30px;
    border: 1px solid #d5e0ec;
    border-radius: 15px;
    background-color: #ffffff;
    height: 530px; overflow-y: scroll;
}
.form__doctor {
    position: relative;
    transition: all 0.3s ease 0s;
    width: 100%;
    border-radius: 15px;
    border: 1px solid #d5e0ec;
}
.form__doctor-body{
    display: flex;
    column-gap: 10px;
    align-items: center;
    width: 100%;

}
.form__doctor .form__img, .form__doctor .form__doctor-info{
    padding: 11px 0;
}
.form__doctor .form__doctor-info{
    padding-right: 16px;
}
.form__doctor .form__img{
    padding-left: 16px;     
    width: 100%;
    max-width: 80px;
}
.form__doctor .form__img img{
    width: 100%;
    max-width: 55px;
    max-height:  55px;
    object-fit: contain; border-radius: 15px;

}

@media (max-width: 1500px) {
    .form__doctor-body {
        -moz-column-gap: calc(10px + 48 * ((100vw - 320px) / 1180));
        column-gap: calc(10px + 48 * ((100vw - 320px) / 1180));
    }
}
@media (max-width: 1500px) {
    .form__doctor .form__doctor-info {
        padding-right: calc(10px + 6 * ((100vw - 320px) / 1180));
    }
}
@media (max-width: 1500px) {
    .form__doctor .form__img {
        padding-left: calc(10px + 6 * ((100vw - 320px) / 1180));
    }
}
@media (any-hover: hover) {
    .form__doctor {
        cursor: pointer;
        transition: all 0.3s ease 0s;
    }
    .form__doctor:hover {
        background: rgba(0, 108, 255, 0.1);
    }
}
.form__doctor.active {
    border-color: #0C54A0;
}
.form__doctor-fullname {
    color: #3A4E66;    font-weight: 500;
    margin-bottom: 10px;        line-height: 120%;
    
}

.form__doctor-position {
    font-size: 14px;
    color: #575859;
}
.form .form__time {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
   flex: 1;padding: 30px;
    border: 1px solid #d5e0ec;
    border-radius: 15px;
      background: #fff url(../images/logo_bg.svg) no-repeat 90% 20px;
    background-size: 30%;
}
.form .form__time .swiper {
    margin-right: 0;
    margin-left: 0;
}
.form .form__time .swiper-button-next:after, .form .form__time .swiper-button-prev:after {
    font-size: 15px;
}
.swiper-button-next, .swiper-button-prev{ border-radius: 100%;border: 1px solid #90b8e1;padding: 10px;width: 40px;
    height: 40px;
    line-height: 90%; text-align: center;}
.form .form__time .form__time-month-slider-body {
    width: 100%;

    position: relative;
    margin-bottom: 32px;
}
.form .form__time .form__time-month-slider-body .swiper-button-next, .form .form__time .form__time-month-slider-body .swiper-button-prev {
    color: #90b8e1;
}
.form .form__time .form__time-month-slider-body .swiper-button-next {
    right: 0;
}
.form .form__time .form__time-month-slider-body .swiper-button-prev {
    left: 0;
}
.form .form__time .form__time-month-slider {
    min-height: 28px;
    width: 100%;
    display: flex;
    align-items: center;
    max-width: 180px;margin-left: 90px;
}.swiper-wrapper{ margin-left: 0px;}
.form .form__time .form__time-month-slider .swiper-slide {
       font-size: 20px;
    color: #0c54a0;
    font-weight: 500;
    display: flex;
    justify-content: center; width: auto;   
}
.form .form__time .form__time-day-slider-body {
    width: 100%;
    position: relative;
    padding: 0px 42px;
    margin-bottom: 60px;
}
.form .form__time .form__time-day-slider-body .swiper-button-next, .form .form__time .form__time-day-slider-body .swiper-button-prev {
    color: #1e1e1e;
}
.form .form__time .form__time-day-slider-body .swiper-button-next {
    right: 0px;
}
.form .form__time .form__time-day-slider-body .swiper-button-prev {
    left: 0px;
}
.form .form__time .form__time-day-slider {
    width: 100%;
    display: flex;
    align-items: center;
}
.form .form__time .form__time-day-slider .form__time-day-number {
    font-size: 20px;
    color: #000;
}
.form .form__time .form__time-day-slider .form__time-day-name {
    font-size: 10px;
    color: #000;
}
.form .form__time .form__time-day-slider .swiper-slide {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: rgba(0,0,0,0);
    border-radius: 10px;    max-width: 60px;
}
.form__time-day.disable{
    color: #8c8c8c;
    background: #eee !important; cursor: default;
}
.form .form__time .form__time-day-slider .swiper-slide .form__time-day-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 50px;
    text-align: center;
    border: 2px solid rgb(12 84 160);
    border-radius: 10px;
    max-height: 50px;
    justify-content: center;
    font-weight: 500;
}
.form__time-day.disable .form__time-day-body{
    border-color: #eee !important;
}
@media (any-hover: hover) {
    .form .form__time .form__time-day-slider .swiper-slide {
        cursor: pointer;
        transition: all 0.3s ease 0s;
    }
    .form .form__time .form__time-day-slider .swiper-slide .form__time-day-number, .form .form__time .form__time-day-slider .swiper-slide .form__time-day-name {
        transition: all 0.3s ease 0s;
    }
    .form .form__time .form__time-day-slider .swiper-slide:hover {
        background: #fff;
    }
    .form .form__time .form__time-day-slider .swiper-slide:hover .form__time-day-number, .form .form__time .form__time-day-slider .swiper-slide:hover .form__time-day-name {
        color: #000;
    }
    .form .form__time .form__time-day-slider .swiper-slide:hover .form__time-day-body {
        border-color: #0C54A0;
    }
}
.form .form__time .form__time-day-slider .swiper-slide.active {
    background: #0C54A0;
}
.form .form__time .form__time-day-slider .swiper-slide.active .form__time-day-number, .form .form__time .form__time-day-slider .swiper-slide.active .form__time-day-name {
    color: #fff;
}
.form .form__time .form__time-day-slider .swiper-slide.active .form__time-day-body {
    border-color: #0C54A0;
}
.form .form__time-select-title {
      font-size: 20px;
    color: #0c54a0;
    font-weight: 500;
    margin-bottom: 17px;
}
.form .form__time-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.form .form__time-grid-item {
    position: relative;
      border-radius: 10px;
    font-size: 16px;    text-align: center;
    border: 1px solid #0C54A0;
    background: rgba(13, 120, 242, 0);
    color: #1e1e1e;max-width: 15%;
    flex: 1;    padding: 10px 5px;
}

@media (any-hover: hover) {
    .form .form__time-grid-item {
        cursor: pointer;
        transition: all 0.3s ease 0s;
    }
    .form .form__time-grid-item.open:hover {
        border-color: #0C54A0;
        background: #0C54A0;
        color: #fff;
    }
}
.form .form__time-grid-item.active {
    border-color: #0C54A0;
    background: #0C54A0;
    color: #fff;
}
.form__time-grid-item.disable{
    color: #8c8c8c; cursor: default;
    background: #eef1f3;
    border: 1px solid rgba(255, 255, 255, 0);
}
.form__fields {
  flex:1;    padding: 30px;
    border: 1px solid #d5e0ec;
    border-radius: 15px;
    background-color: #Fff;
}
.form__fields .user-box {
    position: relative;    
    margin-bottom: 15px;
}
 
.form__fields .user-box input {
  background: #fff !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 35px !important;
    color: #2C3846 !important;
    font-size: 14px;
    height: 65px;
    font-weight: 300;
    box-sizing: border-box;
    padding: 10px 25px !important;
    margin: auto !important;
    width: 100%;
}
.form__fields .user-box input:focus{ border: 2px solid #0C54A0!important;}
.form__fields .user-box label {
       position: absolute;
    top: 10px;
    left: 20px;
    padding: 10px 0;
    font-size: 15px;
    color: #7989b2;
    pointer-events: none;
    transition: 0.5s;
    bottom: 0px;
    margin: auto;
    font-weight: 300;
    font-style: italic;
}

.form__fields .user-box input:focus ~ label, .form__fields .user-box input:valid ~ label {
 top: -7px;
    left: 26px;
    font-size: 12px;
}

.form .form__submit:disabled{
    background: #607a91!important; cursor: default;box-shadow:0 0 0 #000!important;
}
.form .form__submit{
  box-shadow: 2px 6px 12px #7DA6D2;
  background: #036BBF;
  background: linear-gradient(135deg, #036BBF, #035CB7) !important;
  color: #fff !important;
  border: none !important;
  display: block;  
    width: 100%;
    height: 66px;
    padding: 20px;
    border-radius: 35px !important;
    font-weight: 500;
    text-align: center;
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
    column-gap: 20px;
    overflow: hidden !important;
    position: relative;
    font-size: 18px;
}

.form .form__submit:before {
  content: '';
  display: block;
  position: absolute;
  width: 60%;
  height: 500%;
  margin-top: -50%;
  background: rgba(255, 255, 255, 0.1) !important;
  top: 0;
  filter: blur(5px);
  transform: rotate(45deg) translate(-150%, 0);
  transition: all 0.5;
}

.form .form__submit:hover:before {
  transform: rotate(45deg) translate(450%, 0);
  margin-top: -20%;
  transition: all 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.form .form__submit:hover {
  box-shadow: 0px 0px 0px #7DA6D2;
}

@media (any-hover: hover) {
    .form .form__submit {
        cursor: pointer;
        transition: all 0.3s ease 0s;
    }

}

.page {
    flex: 1 1 auto;
}
.hidden-napravlenie{
    display: none;
}

.form-popup{
    font-size: 20px;
    color: #000;
    box-shadow: 0 0px 10px 1px rgba(13, 121, 242, 0.1);
    border-radius: 5px;
    background: #fff;
    position: fixed;
    top: -100%;
    transition: all 1s ease 0s;
    padding: 10px 20px;
    z-index: 3;
}
.form-popup.active{
    top:150px;
}
.modal-dialog{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
    color:#262a3b;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease 0s;
}
.modal-dialog.show{
    z-index: 151;
    opacity: 1
}
.modal-backdrop{
    position:fixed;
    width: 100vw;
    height: 100vw;
    left: 0;
    top: 0;
    background: #000;
    opacity: 0;
    z-index: -1;
    transition: all 0.3s ease 0s;
}
.modal-backdrop.show{
    opacity: 0.5;
    z-index: 150;
}
.modal-content{
    position: relative;
    display: flex;
    background: #fff;
    flex-direction:column;
    border-radius: 0.5rem;
}
.modal-header{
    display:flex;
    padding: 1rem;
    justify-content: space-between;
    align-items:center;
    border-bottom: 1px solid #dee2e6;
}
.modal-header button{
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    border: 0;
    border-radius: 0.375rem;
    opacity: .5;
    position: relative;
}
.modal-header button:after, .modal-header button:before{
    content:'';
    width: 20px;
    height: 1px;
    display:block;
    background: #000;
    position: absolute;
    top: 50%;
    left: 0px;
    transition: all 0.3s ease 0s
}

.modal-header button:after{
    transform: rotate(45deg);
}
.modal-header button:before{
    transform: rotate(-45deg);
}
@media(any-hover:hover){
    .modal-header button{
        transition: all 0.3s ease 0s;
        cursor: pointer;
    }
    .modal-header button:hover{
        opacity: 1;
    }
}
.modal-title{
    margin-bottom: 30px !important;
    margin-top: 20px !important;
    padding-left: 0px !important;
    font-weight: 400 !important;
    font-size: 23px !important;
    line-height: 1.5;
}
.modal-body{
    padding: 1rem;
    font-size: 16px;
    line-height: 1.5;
}
.doctors__title{
    font-weight: 500;
    font-size: 20px;
}
.doctors__empty{
    max-width: 100%;
}
@media (max-width: 480px) {
    .form .form__time-grid-item{
        max-width: 24%!important;
    }
}