.teacher-directory-containre {
    display: flex;
    flex-direction: column;
}


.header {
    background-color: white;

}

.header-main-content-container {
    width: 1140px;
    margin: auto;
}


.orange-stripe {
    background-color: #ff6d00;
    height: 0.6rem;
}


/* ============================================
              nav bar
   ============================================ */


.nav-bar {
    background-color: white;
    padding-top: 23px;
    padding-bottom: 29px;
    display: flex;
}

.logo {
    width: 72px;
    height: 45px;
    margin-left: 6rem;
}

.nav-bar-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-grow: 2;
    padding-right: 40px;
}

.nav-bar-links-list>li {
    padding-left: 30px;

}

.mobile-logo {
    display: none;
}

.mobile-nav-bar {
    display: none;
}

.push {
    margin-left: auto;
}

.nav-bar-links {
    font-family: var(--main-font);
    font-size: 16px;
    color: #ff6d00;
}

.nav-bar-links:hover {
    color: #ff6d00;
}

.login {
    color: #ff6d00;
    font-family: var(--main-font);
    font-size: 16px;
    position: absolute;
    right: 63px;
    top: 42px;
}

.mobil-start-trial {
    display: none;
}

a:hover{
    color: unset;
}

/* ============================================
              header
   ============================================ */

.heading {
    margin-top: 100px;
}

.heading>h1 {
    font-size: 50px;
    color: #322558;
    font-family: var(--main-font);
    font-weight: var(--bold);
    line-height: 60px;
    letter-spacing: -0.5px;
}

.secondary-heading-container {
    margin-top: 20px;
}

.secondary-heading {
    color: #322558;
    font-size: 18px;
    font-family: var(--main-font);
    font-weight: var(--bold);
}

.small-orange-line {
    background-color: #ff6d00;
    height: 3px;
    width: 10rem;

    margin-top: 2.5%;
}

.description>p {
    font-size: 16px;
    line-height: 26px;
    color: #322558;
    font-family: var(--main-font);
    width: 80%;
    margin-top: 1.5%;
}

.free-learning-tool {
    text-decoration: none;
    color: #322558;
    font-family: var(--main-font);
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 16px;
}

.free-learning-tools-links {
    color: #ff6d00;
    font-family: var(--main-font);
    font-weight: bold;
}

.free-learning-tools-links:hover {
    cursor: pointer;
}

/* .check-out-lingo:hover {
    text-decoration: none;
    color: #B93C04;
} */

.share-bar {

    margin-top: 20px;
    margin-bottom: 40px;
}

.main {
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    padding-top: 45px;
    padding-bottom: 90px;
}

.back-to-teacher-list {
    text-decoration: none;
    color: #322558;
    font-family: var(--main-font);
    width: 1140px;
    margin: auto;
    font-size: 14px;
    margin-bottom: 10px;
}

.back-to-teacher-list:hover {
    text-decoration: none;
    color: #4e3e7e;

}

.back-arrow {
    vertical-align: text-top;
    margin-right: 10px;
}

.teacher {
    display: flex;
    background-color: white;
    width: 1140px;
    /* height: 470px; */
    height: auto;
    margin: auto;
    margin-bottom: 23px;
    border-radius: 6px;
    padding: 29px 33px 27px 34px;
    position: relative;
}

.bookSessionBtn {
    position: absolute;
    right: 33px;
    top: 29px;
    width: 217px;
    height: 60px;
    border-radius: 4px;
    border: none !important;
    background-color: #3aa2e2 !important;
    font-family: var(--main-font);
    font-weight: var(--bold);
    font-size: 20px !important;
    transition: background 0.5s ease-in-out !important;
}

.sessions-booked {
    position: absolute;
    left: 78%;
    top: 100px;
    font-family: var(--main-font);
    font-size: 14px;
    color: #3aa2e2;
}

.bookSessionBtn:hover {
    background-color: rgb(20, 121, 184) !important;
}

.bookSessionBtn:focus {
    box-shadow: none !important;

}

.teacher__left-side-info {
    width: 20%;
    padding-right: 20px;
}

.teacher__right-side-info {
    width: 80%;
}

.teacher-info-title {
    font-size: 14px;
    color: #7c7c7c;
    font-family: var(--main-font);
    display: block;
}

.teacher-info-data,
.teacher-info-data-mobile {
    color: #322558;
    font-size: 16px;
    font-family: var(--main-font);
}

.teacher-image-container {
    width: 157px;
    height: 157px;
    margin-top: 19px;
    margin-bottom: 41px;
}

.teacher-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.teacher-data-container {
    margin-bottom: 14px;
}

.teacher__right-side-info {
    display: flex;
    flex-direction: column;
}

.teacher-name-container {
    padding-top: 7px;
    margin-bottom: 50px;
}

.teacher-name {
    color: #322558;
    font-size: 40px;
    font-family: var(--main-font);
    display: block;
}

.profile-page-link {
    color: #ff6d00 !important;
    font-size: 14px;
    font-family: var(--main-font);
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
}

.profile-page-link:hover {
    text-decoration: none;
}

.teacher__right-side-info-top {
    display: flex;
}

.teacher__right-side-info-top-1 {
    margin-right: 55px;
}

.teacher__right-side-info-top-2 {
    margin-right: 90px;
}

.teacher__right-side-info-top-3 {
    margin-right: 44px;
}

.clock-icon {
    margin-right: 5px;
}

.about-teacher {
    margin-top: 31px;
    width: 728px;
}

.teacher-description {
    width: 720px;
    height: 85px;
    margin: 0;

}

.teacher-recomendation {
    margin-top: 25px;
}


.teacher-recomendation-txt {
    width: 720px;
    /* height: 78px; */
    margin: 0;
}

.expand-about-teacher {
    color: #ff6d00;
    font-size: 16px;
    font-family: var(--main-font);
    display: none;
    cursor: pointer;
}

.extendet-about-teacher {
    display: none;
    /* height: 150px; */
    margin: 0;

}

.minimize-about-teacher {
    color: #ff6d00;
    font-size: 16px;
    font-family: var(--main-font);
    cursor: pointer;
}

.modal-dialog {
    max-width: 546px !important;
}

.book-lesson-modal {

    height: 635px !important;
}

.book-lesson-header {
    position: relative;
    padding-top: 45px;
    padding-left: 33px;
    display: flex;
}

.book-lesson-header__container {
    padding-left: 29px;

    margin-bottom: 30px;
}

.book-lesson-header__img {
    width: 114px;
    height: 114px;
    border-radius: 50%;
    object-fit: cover;
}

.book-lesson-header_heading {
    display: block;
    font-family: var(--main-font);
    font-size: 28px;
    width: 271px;
    font-weight: 500;
    line-height: 1.25;
    color: #20114a;
}

.book-lesson-header_description {
    color: #20114a;
    font-family: var(--main-font);
    font-size: 16px;
    margin-top: 14px;
    width: 310px;
}

.close-book-session-modal {
    position: absolute;
    top: 10px;
    right: 21px;
    color: #ff6d00 !important;
    font-size: 40px !important;
    font-weight: normal !important;
}

.modal-body {
    padding-top: 0 !important;
    padding-left: 37px !important;
    padding-right: 37px !important;
    padding-bottom: 33px !important;
}

.book-lesson-form {
    width: 472px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.book-lesson-label {
    display: block;
    color: #7c7c7c;
    font-family: var(--main-font);
    font-size: 16px;
}

.book-lesson-form-group {
    width: 233px;
}

.book-lesson-input {
    width: inherit;
    height: 50px;
    background-color: #f2f2f2;
    border: none;
    border-radius: 2px;
    padding-top: 12px;
    padding-left: 12px;
    padding-bottom: 13px;
    color: #20114a;
    font-size: 16px;
    font-family: var(--main-font);
}

.book-lesson-input:focus {
    outline-color: #ff6d00;
    outline-width: thin;

}

.book-lesson-form-group-email {
    width: 470px;
    margin-top: 21px;
}

.book-lesson-btn,
.check-out-lingopie-btn,
.sending-submision {
    width: 193px;
    height: 52px;
    background-color: #ff6d00;
    border: none;
    border-radius: 2px;
    color: white;
    margin-left: auto;
    margin-top: 30px;
    transition: background 0.5s ease-in-out !important;

}

.sending-submision {
    background-image: url('../../img/popups/white-loader.gif');
    background-position: center;
    background-repeat: no-repeat;
    display: none;

}


.book-lesson-btn:hover {
    background-color: #B93C04 !important;
    cursor: pointer !important;
}

.book-lesson-btn:active {
    outline: none !important;
}

.modal-footer {
    padding: 40px 18px 39px 30px !important;
    background-color: #3aa2e2;
    font-family: var(--main-font);
    color: white;
    font-size: 16px;
}

.thanks-modal-header {
    border-bottom: none !important;
}

.thanks-modal-heading {
    margin: auto;
    display: block;
    text-align: center;
    margin-top: 41px;
}

.check-out-lingopie-btn {
    display: block;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 50px;
}

.check-out-lingopie-btn>a,
.check-out-lingopie-btn>a:hover {
    text-decoration: none;
    color: white;
}

.thanks-modal-message {
    font-family: var(--main-font);
    color: #20114a;
    font-size: 16px;
    width: 399px;
    margin: auto;
}

.thanks-modal-message>span {
    padding-left: 20px;
    padding-right: 20px;
    display: block;
    text-align: center;
}

.teacher-info-title-mobile {
    display: none;
}

.teacher-info-data-mobile {
    display: none;
}

.row {
    margin-right: 0 !important;
}


@media screen and (max-width: 1030px) {
    .become-teacher {
        display: none;
    }
}

@media screen and (max-width: 1280px) {


    .header-main-content-container {
        width: 880px;
    }

    .logo {
        margin-left: 40px;
    }

    .getStarted-btn {
        right: 40px;
    }

    .teacher,
    .back-to-teacher-list {
        width: 880px;
    }

    .sessions-booked {
        left: 72%;
    }

    .teacher__right-side-info {
        margin-left: 51px;
    }

    .teacher-description {
        width: auto;
    }

    .about-teacher {
        width: 528px;
    }

    .teacher-recomendation-txt {
        width: 575px;
    }
}

@media screen and (max-width: 900px) {

    .header-main-content-container {
        width: 768px;
    }

    .logo {
        margin-left: 12px;
    }

    .login {
        right: 40px;
    }

    .teacher,
    .back-to-teacher-list {
        width: 768px;
    }

    .sessions-booked {
        left: 68%;
    }

    .teacher__right-side-info {
        margin-left: 40px;
    }

    .teacher-recomendation-txt {
        width: 521px;
    }
}

@media screen and (max-width: 768px) {
    .header-main-content-container {
        width: 345px;
    }

    .heading>h1 {
        line-height: 36px;
    }

    .small-orange-line {
        display: none;
    }


    .nav-bar-mobile {
        display: flex;
        justify-content: space-between;
        padding-top: 23px;
    }


    .mobile-logo {
        display: block;
        margin-left: 17px;
    }

    .nav-bar {
        display: none;
    }

    .mobil-start-trial {
        display: block;
        color: #ff6d00;
        text-decoration: none;
        font-family: var(--main-font);
        font-size: 17px;
        text-align: right;
        margin-right: 17px;
        padding-top: 10px;
    }

    .mobil-start-trial:hover {
        color: #ff6d00;
        text-decoration: none;
    }

    .sessions-booked {
        display: none;
    }

    .description {
        margin-top: 35px;
    }

    .description>p {
        width: unset;
    }

    .heading>h1 {
        font-size: 34px;
    }

    .teacher {
        flex-direction: column;
        width: 345px;
        height: auto;
        padding: 0;
    }

    .back-to-teacher-list {
        width: 345px;
    }

    .teacher-data-container {
        display: none;
    }

    .teacher__left-side-info {
        width: 100%;
        padding-top: 18px;
    }

    .teacher-image-container {
        margin: auto;
        width: 88px;
        height: 88px;
    }

    .teacher__right-side-info-top {
        padding-left: 21px;
        padding-right: 26px;
    }

    .teacher-name {
        font-size: 17px;

    }

    .lessons {
        display: none;
    }

    .teacher__right-side-info {
        width: 100%;
        margin-left: 0;
    }

    .teacher-name-container {
        text-align: center;
        margin-bottom: 15px;
    }

    .teacher__right-side-info-top-1 {
        margin-right: 17px;
    }

    .teacher__right-side-info-top-2 {
        margin-right: 24px;
        /* width: 40px; */
        text-align: center;
    }

    .teacher-info-title,
    .teacher-info-data {
        font-size: 14px;
        text-align: center;
    }

    .teacher-info-title-mobile {
        display: block;
        font-size: 14px;
        color: #7c7c7c;
        font-family: var(--main-font);
        text-align: center;

    }

    #mobile-rate {
        text-align: center;
    }

    #since,
    #rate {
        display: none;
    }

    .bookSessionBtn {
        bottom: 17px;
        right: 17px;
        left: 17px;
        top: unset;
        width: 311px;
    }

    .teacher__right-side-info-top-3 {
        margin-right: 0px;
    }

    .teacher-right-side-info-rate {
        margin-left: 25px;
    }

    .teacher-info-data-mobile {
        display: block;
        font-size: 14px;
        margin-top: 3px;
    }

    #rate-data {
        display: none;
    }

    #desktop-date {
        display: none;
    }

    .about-teacher {
        border-top: 0.5px solid#cbcbcb;
        padding-top: 15px;
    }

    .about-teacher>.teacher-info-title,
    .teacher-recomendation>.teacher-info-title {
        text-align: left;
        margin-bottom: 5px;
    }

    .about-teacher {
        margin-bottom: 30px;
        margin-top: 35px;
    }

    .about-teacher,
    .teacher-recomendation {
        padding-right: 6px;
        padding-left: 15px;

        width: auto;
    }

    .teacher-recomendation {
        padding-bottom: 110px;
        margin-top: 30px;
    }

    .about-teacher>p,
    .teacher-recomendation>p {
        width: unset;
        /* height: 105px; */
        text-align: left;
    }

    .expand-about-teacher,
    .minimize-about-teacher {
        font-size: 14px;
    }

    /* .expand-about-teacher {
        margin-bottom: 10px;
    } */

    /* .about-teacher>.extendet-about-teacher {
        height: 170px;
    } */

    .row {
        margin-left: unset !important;
        margin-right: unset !important;
    }



    .thanks-modal-message {
        width: unset;
        text-align: center;
    }

}


@media screen and (max-width: 580px) {


    .book-lesson-modal {
        height: auto !important;
    }

    .book-lesson-header {
        flex-direction: column;
        padding: 20px;
    }

    .book-lesson-header-img-container {
        margin: auto;
    }

    .book-lesson-header__container {
        text-align: left;
        margin: auto;
        margin-top: 20px;
        padding-left: 0;
    }

    .book-lesson-header_heading {
        font-size: 24px;
    }


    .book-lesson-form {
        flex-direction: column;
        width: auto;
    }

    .book-lesson-form>div {
        width: auto;
    }

    #last-name-container {
        margin-top: 20px;
    }

    .book-lesson-input {
        width: 100%;
    }


    .book-lesson-btn {
        width: auto;
        margin-left: 0;
    }

    .sending-submision {
        width: 100%;
    }

}