:root {
    --yellow-color: #ffa400;
    --font-family: 'SVNGilroyMedium';
    --font-size: 1rem;
    --main-color: #cf2128;
    --sub-color: #f5d432;
}

body {
    font-family: var(--font-family)
}

.band_target {
    width: 100% !important;
}

.text-bold-active, .btn-register span {
    font-family: 'SVNGilroyBold';
}

.t-foot {
    display: none;
}

.text-convert {
    font-size: 38px;
}

.title-form {
    font-family: 'SVNGilroyBold' !important;
}

.schedule-table .text-center-right {
    text-align: right;
    font-style: italic;
}

@font-face {
    font-family: 'SVNGilroyItalic';
    src: url(../../../../fonts/SVN-Gilroy-Italic.otf) format("opentype");
    font-display: swap;
}

@font-face {
    font-family: 'SVNGilroyRegular';
    src: url(../../../../fonts/SVN-Gilroy-Regular.otf) format("opentype");
    font-display: swap;
}

@font-face {
    font-family: 'SVNGilroySemiBold';
    src: url(../../../../fonts/SVN-Gilroy-SemiBold.otf) format("opentype");
    font-display: swap;
}

@font-face {
    font-family: 'SVNComicSansMSNew';
    src: url(../../../../fonts/SVNComicSansMSNew.otf);
    font-display: swap;
}

img {
    max-width: 100%;
    height: auto;
}

.visibility {
    visibility: hidden;
}

.navbar-nav .nav-item .subnav a,
.navbar-nav .nav-item .subnav span {
    font-family: 'SVNGilroySemiBold';
}

.item_text span {
    font-size: 27px;
}

a {
    color: var(--white);
    text-decoration: none;
}

a:hover {
    color: #fff;
}

.footer .info-course ul > li {
    padding-left: 0;
}

footer .info-course .icon {
    height: 14px;
    margin-right: 20px;
    font-family: 'SVNGilroyItalic';
}

.text_center {
    text-align: center;
    font-size: 20px;
}

.text_left {
    font-size: 20px;
}

.btn_link {
    width: 30%;
    text-align: center;
    background-color: #c0242e;
    /* For browsers that do not support gradients */
    background-image: linear-gradient(red, #c0242e);
    margin: 0 auto 40px auto;
    padding: 16px 0;
    font-size: 18px;
    text-decoration: none;
    color: #fdf5f6;
    display: block;
    border-radius: 34px;
    box-shadow: inset 0 0 3px 1px yellow, inset 0 0 3px 2px white;
}

.test_english {
    font-size: 27px;
    padding-left: 30px;
    padding-right: 30px;
    text-transform: uppercase;
    width: 520px;
}

.title_center {
    display: flex;
    justify-content: center;
    padding: 0 15px;
    text-align: center;
    color: #d72229;
    font-size: 30px;
    font-weight: bold;
    line-height: 49px;
}

.title_size {
    font-size: 40px;
}


.slick-prev:before,
.slick-next:before {
    /*background: url("../../images/icon/slick_prev.png") no-repeat;*/
    font-family: "slick";
    font-size: 40px;
    line-height: 1;
    opacity: 0.75;
    color: red;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev {
    left: -40px;
    z-index: 9999;
}

.form-register {
    background-color: #ffffff;
    border: 1px solid #b7686e;
    border-radius: 20px;
}

.form-register input,
.form-register select {
    height: 48px;
    border: #cdcccc 2px solid;
    border-radius: 30px;
    padding-left: 23px;
}

.form-register .btn_link {
    padding-left: 73px;
    padding-right: 73px;
}

.calender {
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 6px;
}

.bg-main {
    background-color: var(--main-color) !important;
}

.text-sub-color {
    color: var(--sub-color) !important;
}

.section-contact-sales .btn-register button {
    border: none;
    width: 100%;
    background-color: #c0242e;
    background-image: linear-gradient(red, #c0242e);
    padding-top: 16px;
    padding-bottom: 16px;
    text-decoration: none;
    color: #fdf5f6;
    display: block;
    box-shadow: inset 0 0 3px 1px yellow, inset 0 0 3px 2px white;
    text-transform: uppercase;
    font-size: 27px;
    border-radius: 36px;
    margin-top: 10px;
}

.student_feelings_info {
    max-height: calc(6 * 75px); /* Chiều cao tối đa cho 6 item (tùy chỉnh 100px theo chiều cao item thực tế) */
    overflow-y: auto; /* Thêm thanh cuộn dọc nếu có nhiều hơn 6 item */
    padding-right: 10px; /* Để tránh che khuất nội dung khi có thanh cuộn */
}

.student_feelings_info ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.student_feelings_info li {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 15px; /* Khoảng cách giữa các item */
    padding: 10px;
    background-color: #f8f9fa; /* Màu nền cho item */
    border-radius: 8px; /* Bo góc item */
}

.student_feelings_info_play {
    width: 30px;
    height: 30px;
    left: 15px;
    cursor: pointer;
}

.student_feelings_info_img {
    width: 100px;
    height: auto;
    margin-right: 15px;
    border-radius: 8px;
}

.student_feelings_info span {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: left;
}

.student_feelings_info::-webkit-scrollbar {
    width: 6px;
}

.student_feelings_info::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 3px;
}

.student_feelings_info::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.info-course ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-course ul > li {
    font-size: 18px;
    font-weight: 400;
    padding-left: 1em;
    width: 75%;
}

.btn-tab {
    background-color: #c8c8c8;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: 11.875rem;
    height: 60px;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 16px;
    border: none;
}

header .navbar-nav .nav-item > a {
    font-family: var(--font-family);
    font-size: var(--font-size);
    color: var(--white);
    padding: 5px 9px;
    border-radius: 20px;
    text-decoration: none;
}

header .navbar-nav .nav-item:last-child a {
    background-color: #fff;
    color: var(--black) !important;
    border-radius: 20px;
}

/* banner */
.section-banner {
    min-height: 43.75rem;
    font-family: var(--font-family);
    background: url("../../images/lichkhaigiang/lich-khai-giang-background.png") top center / cover no-repeat;
}

.section-banner .banner-right img {
    margin-top: 5.625rem;
    margin-left: 7.5rem;
}

.section-banner .container > div {
    width: 50%;
}

.section-banner .banner-img-big img {
    max-width: 100%;
    margin-left: -3.438rem;
    margin-top: 3.125rem;
}

.section-banner .banner-text {
    display: flex;
    margin-left: 2.5rem;
}

.section-banner .banner-text img {
    margin-top: 1.875rem
}

.section-banner .banner-text .banner-text-content {
    margin-top: -1.25rem;
    margin-left: -4rem;
}

.section-banner .banner-text .banner-text-content .btn-apply {
    font-family: var(--font-family);
    margin-top: 3.125rem;
    margin-left: 6.25rem;
    text-align: center;
    height: auto;
    background-image: linear-gradient(red, #c0242e);
    box-sizing: border-box;
    padding: 16px 26px;
    font-size: 27px;
    display: flex;
    justify-content: center;
    border-radius: 2.125rem;
    align-items: center;
}

.btn-apply .txt-container {
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.125rem;
    margin: 0;
    text-transform: uppercase;
}

.btn-apply .btn-txt {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    border-right: 0.188rem solid #fff;
    animation: widthText 2s ease-out infinite forwards;
}

.section-banner .banner-text .feature_desc {
    font-size: 2rem;
    font-family: "SVNComicSansMSNew";
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0.315rem;
}

/* end banner */

/* student */
#student-testimonial {
    background-image: url("../../images/Clip.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    font-family: var(--font-family);
}

#student-testimonial h2 {
    margin-bottom: 50px;
    font-size: 45px;
    color: #ffffff;
    max-width: 100%;
}

#student-testimonial i {
    position: absolute;
    top: calc(100% - 50% - 16px);
    left: calc(100% - 50% - 16px);
    font-size: 32pt;
    color: #f2f2f2;
    cursor: pointer;
}

#student-testimonial img {
    margin-left: 1rem;
    width: 9.375rem;
}

#student-testimonial .title_center {
    padding: 0 10rem 0 1rem;
    font-size: 40px;
    line-height: 3rem;
}

/* end student */

/* contact sale */
.section-contact-sales {
    padding: 100px 0;
    position: relative;
    min-height: 770px;
    background: url("../../images/register_section.png") top center / cover no-repeat;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.7);
}

.section-contact-sales h2 {
    color: #fff;
    text-transform: uppercase;
    font-family: "SVNGilroyBold";
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.section-contact-sales .our-classrooms .item-classroom,
.section-contact-sales .our-classrooms-homepage .item-classroom {
    width: 560px;
    height: 380px;
    border-radius: 30px;
}

.section-contact-sales .contact-form {
    padding-top: 48px;
    padding-bottom: 58px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 30px;
    background-color: #fff;
}

.section-contact-sales .contact-form h2 {
    font-family: "SVNGilroyBold";
    font-size: 32px;
    color: #d32128;
    margin-bottom: 35px;
}

.section-contact-sales .contact-form form {
    padding: 0 24px;
}

.section-contact-sales .contact-form input,
.section-contact-sales .contact-form select {
    height: 45px;
    width: 100%;
    padding: 6px 14px;
    font-family: "SVNGilroyMedium";
    font-size: 16px;
    color: #000;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 22px;
}

.section-contact-sales .contact-form button {
    display: block;
    outline: none;
    border: none;
    margin-top: 42px;
}

.section-contact-sales .terminal-text {
    font-size: 48px;
}

/* end contact sale */

/* student feedback */

.student-feedback {
    padding: 50px 0;
    background: url("../../images/student_review.png") top center / cover no-repeat;
}


.student-feedback form {
    max-width: 1400px;
}


.student-review .icon-student {
    width: 25px;
    height: 25px;
}

.student-review .student-info {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 2px solid #818181;
}

.student-review .student-comment {
    font-size: 13px;
    height: 59px;
    overflow: hidden;
}

.student-review .facebook {
    position: absolute;
    right: 0;
    top: 25px;
}

.student-review {
    border-radius: 12px;
    background-color: #ffffff;
    width: 369px;
    overflow: hidden;
}

.student-review-form {
    border-radius: 26px;
    min-height: 550px;
    padding: 0 40px;
    background: url("../../images/inclass.png") top center / cover no-repeat;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.7);
}

.student-review-form form {
    max-width: 100%;
}

.student-review-form input {
    height: 48px;
    border: #cdcccc 2px solid;
    border-radius: 30px;
}

.student-review-form select {
    height: 48px;
    border: #cdcccc 2px solid;
    border-radius: 30px;
}

/*
end student feedback */

/* teacher  */
.teacher-section p {
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
}

.teacher-section .teacher-description p {
    width: 80%;
    text-align: left;
    margin-left: 15%;
}

.teacher-section .teacher-description {
    background: url("../../images/Layer%2085.png");
    background-repeat: no-repeat;
    background-size: 100%;
    width: 100%;
    padding: 1rem 0 1.75rem;
    text-align: center;
}

.teacher-carousel .slick-prev {
    left: 30px;
    z-index: 9999;
}

.teacher-carousel .slick-next {
    right: 45px;
    z-index: 9999;
}

.avatar-teacher {
    height: 162px;
    width: auto;
    border-radius: 50%;
}

.teacher-info {
    top: 9%;
}

.img-beauty {
    position: relative;
    width: 100%;
    /*height: 220px;*/
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
}

/* end teacher */

/* route course */
.route-section {
    padding: 60px 0;
}

.route-section h2 {
    margin-bottom: 3rem;
}

.route-section button.active,
.btn-tab:hover {
    color: #ffffff;
    background-color: var(--main-color);
    border: none;
}

.route-section .info-course ul > li {
    padding-right: 2em;
    width: 100%;
}

.route-section li {
    margin: 0px 12px;
}

.section-info .info-course ul > li::before,
.route-section .info-course ul > li::before {
    content: "• ";
    color: red;
    /* or whatever color you prefer */
}

.route-section .nav {
    justify-content: center;
}

#pills-tab:before {
    content: "";
    margin: 0px 27px;
    background-color: #969696;
    height: 6px;
    width: 90%;
    position: relative;
    top: -16px;
}

#pills-tab .circle-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: grey;
    top: -30px;
}

#pills-tab .arrow_down {
    bottom: -53px;
}

.course_item {
    border: 2px solid #c8c8c8;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.course-item-tag {
    width: fit-content;
}

.course_item .course-icon {
    top: 10px;
    position: absolute;
    left: 35px;
}

.course_item .course-tag {
    position: absolute;
    font-weight: bold;
    color: #ffffff;
}

.route-course-collapse .arrow_down {
    bottom: -60px;
    left: 80px;
}

/* end course */
/* schedule-table */
.schedule-table {
    padding: 60px 0;
    min-height: 1000px;
    background: url("../../images/lichkhaigiang/sect3_bg.png") top center / cover no-repeat;
}

.display-pc {
    display: none;
}

.table-content {
    border: 2px solid #c8c8c8;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding: 20px;
    border-spacing: 0;
    margin-top: 20px;
    background-color: white;
}

.fixed_header {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.table > :not(:first-child) {
    border-top: 0;
}

.fixed_header tbody {
    display: block;
    width: 100%;
    overflow: auto;
    height: 660px;
}

.fixed_header thead tr {
    display: block;
}

.fixed_header thead {
    color: #fff;
    text-align: center;
    font-size: 30px;
    text-transform: uppercase;
    border-style: none;
}

.btn_link_register {
    text-align: center;
    background-image: linear-gradient(red, #c0242e);
    color: white !important;
    border-radius: 40px;
    padding: 5px 30px;
    font-size: 20px;
    cursor: pointer;
}

.fixed_header th,
.fixed_header td {
    text-align: left;
    width: 20%;
}

.fixed_header tbody td:not(:first-child) {
    text-align: center;
    position: relative;
}

.fixed_header tbody td:not(:first-child) span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-45%, -50%);
    width: max-content;
}

.mobile-none {
    min-width: 250px;
}

.fixed_header th {
    border-radius: 30px 30px 0 0;
    background-color: var(--main-color);
    text-align: center;
}

.fixed_header th:not(:first-child) {
    border-left: 3px solid #fff;
    border-right: 3px solid #fff;
}

.fixed_header tbody::-webkit-scrollbar {
    width: 20px;
}

.fixed_header tbody::-webkit-scrollbar-track {
    background-color: #e4e4e4;
    border-radius: 100px;
}

.fixed_header tbody::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    border-radius: 100px;
    width: 30px;
}

/*end schedule-table */
/* reponsive */
@media (min-width: 1024px) and (max-width: 1400px) {
    .section-banner .banner-img-big img {
        margin-left: 0;
    }

    .section-banner .banner-right img {
        margin-left: 3.7rem;
    }
}

@media screen and (max-width: 1024px) {
    .section-banner .banner-right img {
        margin-left: 0;
        margin-top: 0;
    }

    .table-responsive::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    .table-responsive th,
    td {
        min-width: 150px;
    }

    .course_item .course-tag {
        padding-left: 20px;
    }

    .course_item .course-icon {
        top: 5px;
        left: 30px;
    }

    .route-section .ps-4 {
        padding-right: 1.5rem;
    }

    .section-banner {
        min-height: 200px;
        background: url("../../images/lichkhaigiang/background-banner-mobile.png") top center / cover no-repeat;
    }

    .section-banner .container > div {
        width: 100%;
    }

    .section-banner-reponsive {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .section-banner .banner-img-big {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section-banner .banner-img-big img {
        max-width: 80%;
        margin-left: 0;
        margin-top: 2.125rem;
    }

    .section-banner .banner-text {
        display: flex;
        flex-direction: column;
        margin-left: 0;
        justify-content: center;
        align-items: center;
    }

    .section-banner .banner-text .feature_desc {
        font-size: 50px;
        line-height: 1.2;
        text-align: center;
    }

    .section-banner .banner-text img {
        max-width: 15%;
        margin-left: -630px;
        margin-top: -130px;
    }

    .section-banner .banner-text .banner-text-content {
        margin-top: 20px;
        margin-left: 0;
    }

    .section-banner .banner-text .banner-text-content .btn-apply {
        font-size: 30px;
        padding: 20px 20px;
        margin: 20px 0 0 90px;
        width: 75%;
    }

    .blockA {
        order: 2;
    }

    .blockB {
        order: 1;
    }

    .section-banner .banner-right {
        margin: 50px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #student-testimonial .title_center {
        padding: 0 15px;
        font-size: 35px;
    }

    .section-contact-sales .terminal-text {
        font-size: 25px;
    }

    .student-review .icon-student {
        width: 25px;
        height: 25px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .teacher-section .teacher-description {
        height: 55px !important;
        margin-bottom: 20px;
    }

    .teacher-section .teacher-description p {
        margin-bottom: 0;
        font-size: 14px;
    }
}

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

    .fixed_header tbody td:not(:first-child) span {
        width: auto;
        position: relative;
        left: 0%;
    }

    .text_center, .text_left {
        font-size: 12px;
    }

    .text-center-right {
        text-align: center;
        font-size: 13px;
    }

    #student-testimonial .text_center {
        font-size: 14px;
    }

    .schedule-table {
        padding: 1rem 0;
    }

    .btn_link {
        margin-bottom: 0;
    }

    .teacher-section .teacher-description {
        padding: 10px 0;
    }

    .teacher-section .teacher-description p {
        font-size: 15px;
        padding-bottom: 4px;
    }

    .title_center {
        margin-top: 10px;
        font-size: 35px;
    }

    .section-banner {
        min-height: 200px;
        background: url("../../images/lichkhaigiang/background-banner-mobile.png") top center / cover no-repeat;
    }

    .section-banner .container > div {
        width: 100%;
    }

    .section-banner-reponsive {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .section-banner .banner-img-big {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .section-banner .banner-img-big img {
        max-width: 80%;
        margin-left: 0;
        margin-top: 2.125rem;
    }

    .section-banner .banner-text {
        display: flex;
        flex-direction: column;
        margin-left: 0;
        justify-content: center;
        align-items: center;
    }

    .section-banner .banner-text .feature_desc {
        font-size: 35px;
        line-height: 1;
        text-align: center;
    }

    .section-banner .banner-text img {
        max-width: 13%;
        margin-left: -425px;
        margin-top: -100px;
    }

    .section-banner .banner-text .banner-text-content {
        margin-top: 50px;
        margin-left: 0;
    }

    .section-banner .banner-text .banner-text-content .btn-apply {
        font-size: 20px;
        padding: 15px 20px;
        margin: 20px 0 0 65px;
        width: 70%;
    }

    .blockA {
        order: 2;
    }

    .blockB {
        order: 1;
    }

    .section-banner .banner-right {
        margin: 50px 0;
    }

    .student-review-form {
        margin-top: 50px !important;
    }

    .text-convert {
        width: 281px;
        margin: auto;
    }

    .btn-tab {
        width: 95% !important;
        margin: auto;
    }

    .route-course-collapse .arrow_down {
        display: none !important;
    }

    #support, #support2, #support3, #support4, #support5, #support6 {
        padding: 0 !important;
    }
}

@media screen and (max-width: 550px) {
    .fixed_header tbody::-webkit-scrollbar {
        width: 10px;
    }

    .visibility {
        visibility: none;
    }

    .fixed_header thead {
        font-size: 12px;
    }

    .display-pc {
        display: flex;
        text-transform: uppercase;
        text-align: center;
        justify-content: center;
        align-items: center;
        background-color: var(--main-color);
        border-radius: 20px;
        width: 80%;
        margin: 25px auto 0;
        padding: 5px 10px;
        color: white;
    }

    .table-responsive th,
    td {
        min-width: 0;
    }

    .table-responsive .uptocase {
        font-size: 14px;
    }

    .table-content {
        font-size: 12px;
    }

    .mobile-none {
        display: none;
        min-width: 228px;
    }

    .teacher-section .teacher-description p {
        font-size: 15px;
        padding-bottom: 0;
        padding-top: 5px;
    }

    .pb-5 {
        padding-bottom: 0 !important;
    }

    .btn_link {
        font-size: 16px;
        text-align: center;
        width: 90%;
    }

    .section-banner {
        min-height: 200px;
        background: url("../../images/lichkhaigiang/background-banner-mobile.png") top center / cover no-repeat;
    }

    .section-banner .container > div {
        width: 100%;
    }

    .section-banner-reponsive {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .section-banner .banner-img-big {
        display: flex;
        align-items: center;
        justify-content: center;

    }

    .section-banner .banner-img-big img {
        max-width: 80%;
        margin-left: 0;
        margin-top: 2.125rem;
    }

    .section-banner .banner-text {
        display: flex;
        flex-direction: column;
        margin-left: 0;
        justify-content: center;
        align-items: center;
    }

    .section-banner .banner-text .feature_desc {
        font-size: 20px;
        line-height: 1;
        text-align: center;
    }

    .section-banner .banner-text img {
        max-width: 16%;
        margin-left: -250px;
        margin-top: -65px;
    }

    .section-banner .banner-text .banner-text-content {
        margin-top: 15px;
        margin-left: 0;
    }

    .section-banner .banner-text .banner-text-content .btn-apply {
        font-size: 12px;
        padding: 5px 0px;
        margin: 20px 0 0 50px;
        width: 60%;
    }

    .blockA {
        order: 2;
    }

    .blockB {
        order: 1;
    }

    .section-banner .banner-right {
        margin: 25px 0;
    }

    .section-contact-sales {
        padding: 60px 0;
    }

    .section-contact-sales .terminal-text {
        font-size: 18px;
    }

    .text-convert {
        font-size: 1.3rem;
        padding-bottom: 20px !important;
    }


}

@media screen and (min-width: 320px) and (max-width: 480px) {
    .teacher-section .teacher-description {
        height: 50px !important;
        padding-top: 12px;
    }

    .teacher-section .teacher-description p {
        font-size: 14px;
        line-height: 1.3;
    }

    .btn-apply .txt-container {
        height: 1.5rem;
        font-size: 11px;
    }
}

@media screen and (max-width: 320px) {
    .teacher-section .teacher-description {
        height: 28px !important;
        margin-bottom: 10px;
        overflow: hidden;
    }

    .teacher-section .align-items-center {
        align-items: unset !important;
    }

    .teacher-section .teacher-description p {
        font-size: 12px;
        margin-bottom: 0;
    }

    .teacher-section .teacher-description {
        padding: 0;
    }
}

/* end responsive */
@keyframes widthText {
    0% {
        width: 100%;
        color: #fff;
    }

    50% {
        width: 0;
        color: #fff;
    }

    65% {
        width: 100%;
        color: #fff;
    }

    100% {
        width: 100%;
        color: #fff;
    }
}

.top-bar {
    min-height: 42px;
    padding: 9px 0;
    width: 100%;
    font-family: SVNGilroyRegular, sans-serif;
    position: relative;
    z-index: 100;
    background: #fff;
}

.top-bar span {
    font-size: 14px;
    color: var(--black);
    white-space: nowrap;
}

.top-bar .icon {
    width: 18px;
}

.top-bar .top-bar-first a:not(.top-bar-phone) {
    padding: 5px 12px;
    border-radius: 15px;
    background-color: var(--color-primary);
    font-size: 13px;
    color: var(--white);
    line-height: 1.15;
}

.top-bar .top-bar-second {
    gap: 15px;
}

.top-bar .top-bar-second .search input {
    width: 218px;
    height: 25px;
    outline: 0;
    border: 1px solid var(--black);
    border-radius: 15px;
    padding: 4px 30px 4px 10px;
    font-size: 14px;
    font-family: SVNGilroyBold, sans-serif;
}

.top-bar .top-bar-second .search img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    height: 18px;
    cursor: pointer;
}

.top-bar .top-bar-second .social .icon {
    height: 18px;
    width: auto;
}

.top-bar .top-bar-second .recruit a {
    padding: 7px 14px;
    border-radius: 15px;
    background-color: var(--color-primary);
    font-size: 14px;
    color: var(--white);
    line-height: 10px;
    font-family: SVNGilroyBold, sans-serif;
}

.mobile_menu_nav ul {
    margin: 0;
    padding: 0;
}

@media (max-width: 575px) {
    .top-bar .top-bar-second .search input {
        width: 100%;
    }
}

/* Teacher section */
.teacher-container__list .teacher-container__item {
    background: #e2e2e4;
    position: relative;
    padding: .5rem .5rem .5rem 6rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 4px solid #fff;
    min-height: 4.75rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0 3px 7px -3px;
    text-align: left;
    font-size: 1.25rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-family: "Gilroy-Regular", sans-serif;
    color: rgb(0, 0, 0);
    line-height: 1.3;
}

.teacher-container__list .teacher-container__item + .teacher-container__item {
    margin-top: 1rem;
}

.teacher-container__list .teacher-container__item .teacher-container__icon {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4.5rem;
    background: linear-gradient(-90deg, #de3c29 10%, #f68c25 75%);
}

.teacher-container__list .teacher-container__item .teacher-container__icon::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(.5rem, -50%);
    width: 0;
    height: 0;
    border-left: .5rem solid #df3e29;
    border-top: .5rem solid transparent;
    border-bottom: .5rem solid transparent;
}

.teacher-container__list .teacher-container__item .teacher-container__icon::before {
    content: "";
    position: absolute;
    background: blue;
    width: calc(4.5rem - 10px);
    height: calc(100% - 10px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
    background: linear-gradient(90deg, #f9c182 10%, rgba(29,27,120,0) 75%);
}

.teacher-container__list .teacher-container__item .teacher-container__icon .teacher-container__icon_checked {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(4.5rem - 30px);
    height: calc(4.5rem - 30px);
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" image-rendering="optimizeQuality" fill-rule="evenodd" clip-rule="evenodd" viewBox="0 0 512 472.37"><path fill="white" fill-rule="nonzero" d="M145.33 172.6l57.21-.75c2.76-.04 5.33.74 7.51 2.1 11.85 6.86 23.04 14.67 33.45 23.48 5.86 4.97 11.53 10.28 16.99 15.96 19.67-30.56 43.04-61.58 67.52-90.78 31.9-38.04 65.91-73.2 96.22-100.37 2.65-2.37 5.97-3.53 9.26-3.53l44.22-.07c7.7 0 13.95 6.25 13.95 13.95 0 3.86-1.56 7.34-4.09 9.87-40.58 45.12-82.2 96.78-119.92 149.72-34.92 49.02-66.55 99.17-90.93 146.26-3.52 6.83-11.92 9.51-18.75 5.99a13.796 13.796 0 01-6.23-6.5c-13.36-28.57-29.28-54.8-48.23-78.2-18.93-23.37-41-44.09-66.69-61.72-6.35-4.33-7.98-13-3.65-19.35 2.82-4.14 7.49-6.27 12.16-6.06zM62.55 0h270.16c-19.14 19.72-35.72 38.96-49.97 57.45H62.55c-1.42 0-2.71.57-3.64 1.46a5.27 5.27 0 00-1.46 3.64v347.26c0 1.34.6 2.6 1.54 3.55.96.95 2.23 1.56 3.56 1.56h386.89c1.29 0 2.55-.62 3.52-1.58.97-.97 1.59-2.24 1.59-3.53V213.59c20.82-8.61 40.4-17.48 57.45-25.81v222.03c0 17.14-7.11 32.82-18.43 44.14-11.33 11.33-26.99 18.42-44.13 18.42H62.55c-17.13 0-32.83-7.06-44.17-18.4C7.08 442.67 0 427.03 0 409.81V62.55C0 45.4 7.04 29.78 18.35 18.46l.11-.11C29.78 7.04 45.4 0 62.55 0z"/></svg>') no-repeat center center;
    background-size: contain;
}
/* End teacher section */
