.page-banner{
    background: #F4F4F4;
    max-height: 450px;
}

.d-flex-row{
    align-items: center;
    gap: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.page-banner_info{
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.page-banner__container{
    display: grid;
    grid-template-columns: 6fr 6fr;
}

.page-banner__image{
    background: url(/local/templates/uprav_new_ui/css/img/banner/teachers-banner.webp) center center no-repeat;
    background-size: cover;
    min-height: 450px;
}
.teachers-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 50px 10px;
}
.theme-btn {
    background: #ff672d;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
}

.input--search {
    padding: 11px 15px 11px 50px;
    border-radius: 5px;
    background-size: 22px;
    border: 1px solid #d3d7e1;
    background-image: url(./img/search.svg);
    background-repeat: no-repeat;
    background-position: 15px;
    font-size: 14px
}

.teachers_resume {
    padding: 30px;
}
.block-teachers__name {
    font-family: Wix Madefor Display;
    font-weight: 500;
    font-size: 22px;
    line-height: 100%;
    text-align: center;
}
.swiper-container-teach .block-teachers__info-teacher {
    font-family: TT Norms;
    font-size: 14px;
    font-weight: 400;
    line-height: 18.88px;
    max-height: max-content;
    max-height: -webkit-fill-available;
    height: 130px;
    max-width: 250px;
    text-align: center;
    color: black;
}
.course-teacher-top-teach img {
    object-fit: contain;
}
.col-mr {
    padding: 20px 0px 0px !important;
    text-align: center;
    width: 310px !important;
    height: 310px !important;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}
.block-teachers__info-teacher {
    font-family: Wix Madefor Display;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;  
    max-height: max-content;
    text-transform: none;
    max-height: -webkit-fill-available;
    height: 130px;
    max-width: 310px;
    text-align: center;
    color: black;
}
.teachers_resume.d-flex {
    flex-wrap: nowrap;
    row-gap: 20px;
    column-gap: 20px;
}
.teachers_resume-image {
    max-width: 457px;
}
.teachers_resume-image img {
    display: block;
    max-width: 100%;
}
.form__fileds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}
.teachers_possibility-text {
    font-size: 22px;
    line-height: 1.2;
    color: #3079D2;
}
.teachers_possibility.d-flex {
    flex-wrap: nowrap;
    row-gap: 20px;
    column-gap: 20px;
}
.teachers_possibility-text strong {
    font-weight: 700;
}
.teachers_possibility-image {

}
.teachers_possibility-image img{
    display: block;
}

.teachers_possibility-1 img {
    width: 126px;
    height: 119px;
}
.teachers_possibility-2 img {
    width: 132px;
    height: 118px;
}
.teachers_possibility-3 img {
    width: 119px;
    height: 137px;
}
.teachers_possibility-4 img {
    width: 113px;
    height: 139px;
}
.teachers_possibility-5 img {
    width: 133px;
    height: 133px;
}
.teachers_possibility-6 img {
    width: 123px;
    height: 124px;
}

.container-footer-mailing{
    background: #F4F4F4;
}

@media (max-width: 1753px) {

    .img-payment-container{
        display: block;
    }
}
.form__teacher{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px;
}
.form-teacher-block{
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 0px 20px;
}
#matchingList{
    position: absolute;
    z-index: 2;
    background: #f5f5f5;
    overflow: scroll;
    max-height: 450px;
    height: max-content;
}
.btn-form-teacher{
    height: 53px;
}

.teacher-comment{
    grid-column: span 2;
}

.teachers_resume {
    padding: 30px 0px;
}

.teacher-search{
    max-width: 527px;
    width: 100%;
    border-radius: 15px;
    height: -webkit-fill-available;
    border: 1px solid  #979797;
}
.teacher__search-form{
    max-width: 527px;
    width: 100%;
    height: 64px;
}
.page-banner__title {
    font-family: Wix Madefor Display;
    font-weight: 500;
    font-size: 44px;
    line-height: 100%;
}
.page-banner_btn{
    font-family: Wix Madefor Display;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
    text-transform: none;
    width: 390px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn--custom {
    background-color: #ff672d;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    justify-self: start;
    font-weight: 500;
    font-family: TT Norms;
    font-size: 16px;
    font-weight: 500;
    min-height: 53px;
    line-height: 16px;
    text-align: center;
    padding: 11px 22px;
    transition-duration: .3s;
    border-radius: 15px;
}

.advantages-title-new{
    font-size: 16px;
    font-weight: 400;
    line-height: 20.16px;
}
 .advantages-title-new strong{
    color: #093EB4;
    font-weight: 400;
}

.teachers-list_container .block-teachers__btn {
    border-radius: 15px;
    height: 53px;
}
.teachers-list_container .btn-teach {
    background: white;
    color: #093EB4;
    font-family: TT Norms;
    font-size: 14px;
    font-weight: 500;
    line-height: 10px;
    border: 1px solid #093EB4;
    margin-top: 20px;
    max-width: 100%;
}

.btn-teach:hover {
    background-color: white;
}

.course-teacher-top-teach img {
    height: 310px;
    display: block;
    margin: 0 auto;
    max-width: 100%;
}
.teacher-container-img{
    width: 310px !important;
    height: 310px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: inline-block !important;
    padding: 0px !important;
}
.teacher-container-img img{
    width: 100%;
    height: 100%;
    object-fit: fill;
}
.block-teach-normal-text{
    font-family: Wix Madefor Display;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
}
.block-about-text{
    font-family: Wix Madefor Display;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
}
.become_teacher .process-steps__description{
    font-family: Wix Madefor Display;
    font-size: 22px;
    font-weight: 400;
    line-height: 25.16px;
    text-align: left;
}

@media (max-width: 980px) {
    .page-banner_info{
        gap: 30px;
    }
    .page-banner__image {
        display: none;
    }
    .page-banner__container {
        display: grid;
        grid-template-columns: 1fr;
        padding: 25px 0px;
    }
    .page-banner__container .fix-container{
        margin: inherit;
    }
    .block-teachers__info-teacher {
        font-size: 10px;
        line-height: 12.88px;
        height: 80px;
    }
    .block-about-text{
        font-size: 14px !important;
        line-height: 16px !important;
        margin-top: 20px !important;
    }
    .img-payment{
        display: none;
    }
    .swiper-container-teach .block-teachers__info-teacher {
        font-size: 10px;
        line-height: 12.88px;
        height: 80px;
    }
    .block-teachers__name {
        font-size: 12px;
        line-height: 10.24px;
    }
    .page-banner__title{
        font-size: 24px !important;
        line-height: 30px !important;
    }
    .teacher-search {
        max-width: 100% !important;
        width: 100%  !important;
        border-radius: 15px  !important;
        height: -webkit-fill-available  !important;
        border: 1px solid  #979797  !important;
        border-bottom: 1px solid  #979797 !important;
        background-image: url(./img/search.svg);
        background-size: 22px;
        background-repeat: no-repeat;
        background-position: 15px;
        padding: 11px 15px 11px 50px;
    }
    .teacher__search-form {
        max-width: 80%;
        width: -webkit-fill-available;
        height: 64px;
    }

    .course-teacher-top-teach img {
        height: -webkit-fill-available !important;
        width: max-content !important;
        max-width: 234px;
    }
    .form__teacher{
        display: flex;
        flex-direction: column;
    }
    .col-mr, .teacher-container-img {
        width: 234px !important;
        height: 234px !important;
    }
}
@media (max-width: 639px) {
    .form__fileds {
        grid-template-columns: 1fr;
    }
}

.circle-teach-new{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #F4F4F4;
    border-radius: 20px;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0);
    z-index: -1;
    overflow: hidden;
}

 .pagination__item-gray a{
    background: #F4F4F4;
    border-radius: 5px;
}
@media (max-width: 979px) {
    .teachers_resume-form-container {
        width: 100%;
    }
    .teachers_resume-image {
        display: none;
    }
    .teachers_possibility-text {
        font-size: 16px;
    }

    .teachers_possibility-1 img {
        width: 92px;
        height: 87px;
    }
    .teachers_possibility-2 img {
        width: 95px;
        height: 84px;
    }
    .teachers_possibility-3 img {
        width: 81px;
        height: 94px;
    }
    .teachers_possibility-4 img {
        width: 75px;
        height: 93px;
    }
    .teachers_possibility-5 img {
        width: 91px;
        height: 90px;
    }
    .teachers_possibility-6 img {
        width: 93px;
        height: 94px;
    }
}
@media (max-width: 639px) {
    .form__fileds {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1450px) {
    .teachers-list {
        grid-template-columns: 1fr 1fr 1fr !important;
    }
}
@media (max-width: 1100px) {
    .teachers-list {
        grid-template-columns: 1fr 1fr !important;
    }
}
@media (max-width: 767px) {
    .teacher-name {
        font-size: 20px;
    }
    .teachers-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 670px) {
    .col-mr, .teacher-container-img {
        width: 134px !important;
        height: 134px !important;
    }
    .course-teacher-top-teach img {
        height: -webkit-fill-available !important;
        width: max-content !important;
        max-width: 134px;
    }
    .block-teach-normal-text{
        font-family: Wix Madefor Display;
        font-weight: 500;
        font-size: 14px;
        line-height: 120%;
    }
    .page-banner_btn{
        max-width: 100% !important;
    }
}