body{
    overflow-x: hidden;
}
.swiper {
    width: 100dvw;
    height: 630px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
}

.slide1 {
    background: #ff5733;
}

.slide2 {
    background: #33aaff;
}

.slide3 {
    background: #33cc33;
}

.swiper-pagination-bullet {
    width: 1.125rem;
    height: 1.125rem;
    background-color: #d6d6d6 !important;
    opacity: 1;
    border: unset;
}

.swiper-pagination-bullet-active {
    background-color: #ffffff !important;
}

.mySwiper {
    position: relative;
}

.swiper-pagination {
    position: absolute;
    bottom: 1.125rem;
}

.btn_see_all {
    color: #000;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

h1 {
    font-size: 36px;
    font-weight: 700;
    color: #010101;
}

.table-bordered {
    border-collapse: separate;
    border-spacing: 0;
    /* ป้องกันช่องว่างระหว่างเซลล์ */
}

.table-bordered tbody tr:first-child td:first-of-type {
    border-top-left-radius: 10px;
    /* โค้งมุมซ้ายบนของแถวแรก */
}

.table-bordered tbody tr:last-child td:first-of-type {
    border-bottom-left-radius: 10px;
    /* โค้งมุมซ้ายล่างของแถวสุดท้าย */
    border-right: unset;
}

.table-bordered tbody tr:first-child td:last-of-type {
    border-top-right-radius: 10px;
    /* โค้งมุมขวาบนของแถวแรก */
}

.table-bordered tbody tr:last-child td:last-of-type {
    border-bottom-right-radius: 10px;
    /* โค้งมุมขวาล่างของแถวสุดท้าย */
}

/* เอาเส้นขอบบนของแถวสุดท้าย */
.table-bordered tbody tr:last-child td {
    border-top: unset;
}

.table-bordered tbody tr:not(:first-child):not(:last-child) td {
    border-top: unset;
    border-bottom: 1px solid;
    border-color: #dee2e6;
}

/* เอาเส้นขอบซ้าย-ขวาออกจากเซลล์ที่ไม่ใช่คอลัมน์แรก/สุดท้าย */
.table-bordered tbody tr td:not(:first-child):not(:last-child) {
    border-left: unset;
    border-right: unset;
}

.table-bordered tbody td:first-child {
    border-right: unset;
}

.table-bordered tbody td:last-child {
    border-left: unset;
}

.img-table-newslaster {
    width: 72px;
    height: 56px;
    border-radius: 4px;
}

.table-bordered tbody tr td {
    text-align: left;
    /* จัดเนื้อหากลางแนวนอน */
    vertical-align: top;
    /* จัดเนื้อหากลางแนวตั้ง */
}

.text-table-newslaster {
    font-size: 1.125rem;
    font-weight: 600;
    color: #010101;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%; 
}

.date-table-newslaster {
    font-size: 1rem;
    font-weight: 600;
    color: #454545;
}

.tab-content {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 24px;
    max-width: 1680px;
    width: 100%;
    height: 725px;
}

.img-news-tab-content {
    width: 113px;
    height: 88px;
    border-radius: 4px;
}


.text-news {
    white-space: nowrap;
    /* ไม่ให้ข้อความแบ่งบรรทัด */
    overflow: hidden;
    /* ซ่อนข้อความที่เกินขอบเขต */
    text-overflow: ellipsis;
    /* แสดง ... เมื่อข้อความเกิน */
    max-width: 100%;
    /* กำหนดความกว้างสูงสุดขององค์ประกอบ */
}


/* Start About Area css
============================================================================================ */
.h_blog_item .col-lg-6 {
    vertical-align: middle;
    align-self: center;
}

.h_blog_item .h_blog_img {
    position: relative;
    z-index: 10;
    top: 50px;
}

.h_blog_item .h_blog_text {
    padding-top: 0px;
    padding-bottom: 1.125rem;
}

.h_blog_item .h_blog_text .h_blog_text_inner {
    background: #fff;
    padding: 75px 75px 75px 110px;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .h_blog_item .h_blog_text .h_blog_text_inner {
        padding: 30px 15px;
    }
}

.h_blog_item .h_blog_text .h_blog_text_inner.left {
    position: relative;
    z-index: 2;
}

.h_blog_item .h_blog_text .h_blog_text_inner.right {
    margin-left: -1.125rem;
    position: relative;
    z-index: 1;
    /* border: 0.875rem solid #ff6382; */
    background-color: transparent;
    height: 100%;
    padding: 0px;
    padding-right: 1.125rem;
}

@media (max-width: 991px) {
    .h_blog_item .h_blog_text .h_blog_text_inner.right {
        margin-left: 0px;
    }
}

.h_blog_item .h_blog_text .h_blog_text_inner h4 {
    color: #002347;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 26px;

    display: -webkit-box;
    -webkit-line-clamp: 5;
    /* จำนวนบรรทัดที่ต้องการแสดง */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.h_blog_item .h_blog_text .h_blog_text_inner p {
    margin-bottom: 30px;
}

/* End About Area css
  ============================================================================================ */
/* Start Features Area css
  ============================================================================================ */
.feature_area {
    padding-bottom: 100px;
}

@media (max-width: 991px) {
    .feature_area {
        padding-bottom: 40px;
    }
}

.desc_2 {
    text-align: center;
    padding: 1.125rem;
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 600;
}

.event-link {
    padding: 1.125rem;
    border: 2px solid #000000;
    border-radius: 50px;
}

.single_feature {
    position: relative;
    background: #f9f9ff;
    padding: 40px 36px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    border-radius: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
}

@media (max-width: 480px) {
    .single_feature {
        padding: 40px 1.125rem;
    }
}

.single_feature .icon span {
    font-size: 30px;
}

.single_feature h4 {
    font-size: 1.125rem;
    font-weight: 500;
    text-align: center;
}

.single_feature p {
    margin-bottom: 0px;
}

.single_feature:hover {
    box-shadow: 0px 10px 30px rgba(0, 35, 71, 0.1);
}

/* End Features Area css
  ============================================================================================ */

/* Start Courses Details Area css
  ============================================================================================ */
.course_details_area .title {
    font-size: 21px;
    border: none;
    cursor: pointer;
    margin-top: 40px;
    border-bottom: 1px solid #eeeeee;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 22px;
}

.course_details_area .title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 1px;
    width: 74px;
    background: #fdc632;
}

.course_details_left .course_list {
    margin-bottom: 0;
}

@media (max-width: 575px) {
    .course_details_left .course_list {
        padding-left: 0;
    }
}

.course_details_left .course_list li {
    list-style: none;
    margin-bottom: 1.125rem;
}

.course_details_left .course_list li .primary-btn {
    background: #f9f9f9;
    color: #7b838a;
    box-shadow: none;
    font-size: 0.75rem;
    border-radius: 0px;
}

.course_details_left .course_list li .primary-btn:hover {
    background: #fdc632;
    color: #ffffff;
}

@media (max-width: 575px) {
    .course_details_left .course_list li .primary-btn {
        min-width: 100px;
        font-size: 10px;
        padding: 0 10px;
    }
}

.course_details_left .course_list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .right-contents {
        margin-top: 50px;
    }
}

.right-contents ul {
    padding-left: 0;
}

.right-contents ul li {
    list-style: none;
    background: #f9f9f9;
    padding: 10px 22px;
    margin-bottom: 10px;
}

.right-contents ul li a {
    color: #7b838a;
    text-align: left;
}

.right-contents ul li a p {
    margin-bottom: 0px;
}

.right-contents ul li .or {
    color: #002347;
    font-weight: 500;
}

.right-contents .enroll {
    margin-top: 10px;
    width: 100%;
}

.right-contents .reviews span,
.right-contents .reviews .star {
    width: 31%;
    margin-bottom: 10px;
}

.right-contents .avg-review {
    background: #04091e;
    text-align: center;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 1.125rem 0px;
}

.right-contents .avg-review span {
    font-size: 1.2rem;
    color: #fdc632;
}

@media (max-width: 991px) {
    .right-contents .avg-review {
        margin-bottom: 1.125rem;
    }

    .fa_menu {
        display: none;
    }
}

@media (max-width: 1024px) {
    .right-contents .single-reviews .thumb {
        margin-right: 10px;
    }
}

.right-contents .single-reviews h5 {
    display: inline-flex;
}

@media (max-width: 1024px) {
    .right-contents .single-reviews h5 {
        display: block;
    }
}

.right-contents .single-reviews h5 .star {
    margin-left: 10px;
}

@media (max-width: 1024px) {
    .right-contents .single-reviews h5 .star {
        margin: 10px 0;
    }
}

.right-contents .feedeback {
    margin-top: 30px;
}

.right-contents .feedeback textarea {
    resize: none;
    height: 130px;
    background: #f9f9ff;
}

.right-contents .feedeback textarea:focus {
    box-shadow: none;
}

.right-contents .star .checked {
    color: #fdc632;
}

.right-contents .comments-area {
    padding: 0;
    border: 0;
    background: transparent;
}

.right-contents .comments-area .star {
    margin-left: 1.125rem;
}

/* End  Courses Details Area css

/* Main Title Area css
============================================================================================ */
.bg_pr {
    background-image: url(../images/bg/Frame44.png);
}

.main_title_Public_Relations {
    text-align: center;
    margin-bottom: 85px;
    background-image: url(../images/bg/Frame44.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: auto;
    height: 374px;
    cursor: pointer;
    margin-top: 85px;
}

.main_title_Public_Relations h2 {
    font-size: 50px;
    line-height: 30px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.4);
}

.main_title_Public_Relations h3 {
    color: #ffffff
}

.main_title_Public_Relations p {
    font-size: 1rem;
    margin-bottom: 0px;
    font-style: italic;
}

.main_title {
    text-align: center;
    margin-bottom: 85px;
}

@media (max-width: 991px) {
    .main_title {
        margin-bottom: 40px;
    }

    .main_title_Public_Relations {
        text-align: center;
        margin-bottom: 1.125rem;
        padding-top: 10%;
        padding-bottom: 10%;
        border-radius: 0px 0px 0px 0px;
    }

    .main_title_Public_Relations h2 {
        font-size: 50px;
        line-height: 30px;
        font-weight: bold;
        margin-bottom: 15px;
        line-height: 50px;
    }

    .main_title_Public_Relations p {
        font-size: 1rem;
        margin-bottom: 0px;
        font-style: italic;
    }
}

.main_title h2 {
    font-size: 36px;
    line-height: 30px;
    font-weight: bold;
    margin-bottom: 15px;
}

@media (max-width: 575px) {
    .main_title h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }
}

.main_title p {
    font-size: 1rem;
    margin-bottom: 0px;
    font-style: italic;
}

.lite_bg {
    background: #f9f9f9;
}

/* End Main Title Area css
  ============================================================================================ */


/* Start Registration Area css
============================================================================================ */
.registration_area {
    background: url(../../public/images/bg/bg_test.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: 920px;
    margin-top: 150px;
}

.clock_sec {
    color: #fff;
}

.clock_sec h1 {
    font-size: 42px;
    color: #fff;
}

@media (max-width: 575px) {
    .clock_sec h1 {
        font-size: 30px;
    }
}

.clock_sec .clockinner {
    background: #334f6c;
    padding: 35px 1.125rem;
    margin-right: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    margin-top: 65px;
}

@media (max-width: 991px) {
    .clock_sec .clockinner {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .clock_sec .clockinner {
        margin: 0 15px;
        padding: 10px;
        margin-top: 30px;
    }
}

@media (max-width: 400px) {
    .clock_sec .clockinner {
        margin-right: 0;
        padding: 10px 5px;
    }
}

.clock_sec .clockinner:last-child {
    margin-right: 0;
}

@media (max-width: 575px) {
    .clock_sec .clockinner:last-child {
        margin-right: 15px;
    }
}

.clock_sec .clockinner h1 {
    font-size: 36px;
    display: inline-block;
}

@media (max-width: 1199px) {
    .clock_sec .clockinner h1 {
        display: block;
    }
}

.register_form {
    background: #fff;
    text-align: center;
    padding: 40px;
}

@media (max-width: 991px) {
    .register_form {
        margin-top: 60px;
    }
}

.register_form h3 {
    font-size: 24px;
    margin-bottom: 0;
}

.register_form input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #eeeeee;
    padding: 12px;
}

.register_form input:focus {
    outline: none;
    box-shadow: none;
}

.register_form input.placeholder {
    color: #aaaaaa;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: "Mitr", sans-serif;
}

.register_form input:-moz-placeholder {
    color: #aaaaaa;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: "Mitr", sans-serif;
}

.register_form input::-moz-placeholder {
    color: #aaaaaa;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: "Mitr", sans-serif;
}

.register_form input::-webkit-input-placeholder {
    color: #aaaaaa;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: "Mitr", sans-serif;
}

.register_form .primary-btn {
    width: 100%;
    border-radius: 0;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 30px;
}

/* End Registration Area css
  ============================================================================================ */
/* Start Trainers Area css
============================================================================================ */
.trainer_area {
    padding-bottom: 100px;
}

@media (max-width: 991px) {
    .trainer_area {
        padding-bottom: 40px;
    }
}

.single-trainer {
    margin-bottom: 30px;
}

.single-trainer .thumb {
    position: relative;
}

.single-trainer .meta-text {
    background: #f9f9ff;
    padding: 1.125rem 25px;
    box-shadow: 0px 0px 30px rgba(153, 153, 153, 0.13);
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    background: #ffffff;
}

@media (max-width: 991px) {
    .single-trainer .meta-text {
        padding: 1.125rem 1.125rem;
    }
}

.single-trainer .meta-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0px;
}

.single-trainer .meta-text .designation {
    font-size: 0.875rem;
    margin-bottom: 30px;
}

.single-trainer .meta-text a {
    font-size: 0.875rem;
    margin: 0 10px;
    color: #cccccc;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.single-trainer .meta-text a:hover {
    color: #fdc632;
}

.single-trainer:hover .meta-text {
    box-shadow: 0px 10px 30px rgba(0, 35, 71, 0.15);
}

/* End Trainers Area css
  ============================================================================================ */
/* Start Event Area css
  ============================================================================================ */
.events_area {
    padding: 130px 0 100px;
    background: #84bffa;
}

.events_area_2 {
    background-image: linear-gradient(130deg, rgba(26, 213, 255, 1) 0%, rgba(32, 67, 150, 1) 100%);
    padding: 40px;
}

@media (max-width: 991px) {
    .events_area {
        padding: 70px 0;
    }
}

.events_area .event-link {
    color: #fdc632;
    font-size: 13px;
    text-transform: uppercase;
}

.events_area .event-link img {
    margin-left: 5px;
    display: inline-block;
}

.single_event {
    margin-bottom: 30px;
    margin-right: 1.125rem;
}

.single_event .event_thumb {
    overflow: hidden;
}

.single_event .event_thumb img {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.single_event .event_details {
    background: rgba(0, 35, 71, 0.5);
    position: absolute;
    top: 0px;
    right: 0px;
    width: 275px;
    padding: 30px 25px;
    color: #ffffff;
}

.single_event .event_details .date {
    color: #ffffff;
    padding-right: 15px;
    border-right: 2px solid #fff;
    font-family: "Mitr", sans-serif;
    font-size: 0.875rem;
}

.single_event .event_details .date span {
    display: block;
    color: #fdc632;
    font-size: 28px;
    font-weight: 500;
}

.single_event .event_details .time-location {
    padding-left: 15px;
    font-size: 0.875rem;
}

.single_event .event_details .time-location p {
    margin-bottom: 0px;
}

.single_event .event_details .time-location p span {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

.single_event:hover img {
    transform: scale(1.1);
}

.single_event:hover h4 a {
    color: #fdc632;
}

/* End Event Area css
  ============================================================================================ */
/* Start Testimonial Area css
  ============================================================================================ */
.testimonial_area .owl-carousel .owl-dots {
    display: block !important;
    text-align: center;
}

.testimonial_area .owl-carousel .owl-dots .owl-dot {
    height: 10px;
    width: 10px;
    background: #d8d8d8;
    border-radius: 17px;
    display: inline-block;
    margin-right: 10px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.testimonial_area .owl-carousel .owl-dots .owl-dot.active {
    height: 12px;
    width: 12px;
    background: #fdc632;
}

@media (max-width: 991px) {
    .testimonial_area .owl-carousel .owl-dots {
        display: none !important;
    }
}

.testi_item {
    padding: 50px 55px;
    margin-bottom: 200px;
    margin-left: 10px;
    margin: 0px 10px 80px;
    box-shadow: 0px 15px 30px 0px rgba(221, 221, 221, 0.3);
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

@media (max-width: 991px) {
    .testi_item {
        margin-bottom: 0px;
    }
}

@media (max-width: 575px) {
    .testi_item {
        padding: 30px 1.125rem;
    }
}

.testi_item img {
    border-radius: 5px;
}

.testi_item .col-lg-8 {
    vertical-align: middle;
    align-self: center;
}

@media (max-width: 991px) {
    .testi_item .testi_text {
        margin-top: 50px;
    }
}

.testi_item .testi_text h4 {
    font-size: 1.125rem;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.testi_item .testi_text p {
    margin-bottom: 0px;
}

.testi_item:hover {
    box-shadow: 0px 10px 30px 0px rgba(0, 35, 71, 0.1);
}

/* End Testimonial Area css
  ============================================================================================ */
/*---------------------------------------------------- */
/*----------------------------------------------------*/
/*================= latest_blog_area css =============*/
.latest_blog_area {
    background: #f9f9ff;
}

.single-recent-blog-post {
    margin-bottom: 30px;
}

.single-recent-blog-post .thumb {
    overflow: hidden;
}

.single-recent-blog-post .thumb img {
    transition: all 0.7s linear;
}

.single-recent-blog-post .details {
    padding-top: 30px;
}

.single-recent-blog-post .details .sec_h4 {
    line-height: 24px;
    padding: 10px 0px 13px;
    transition: all 0.3s linear;
}

.single-recent-blog-post .details .sec_h4:hover {
    color: #7b838a;
}

.single-recent-blog-post .date {
    font-size: 0.875rem;
    line-height: 24px;
    font-weight: 400;
}

.single-recent-blog-post:hover img {
    transform: scale(1.23) rotate(10deg);
}

.tags .tag_btn {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.125rem;
    border: 1px solid #eeeeee;
    display: inline-block;
    padding: 1px 1.2rem;
    text-align: center;
    color: #002347;
}

.tags .tag_btn:before {
    background: #fdc632;
}

.tags .tag_btn+.tag_btn {
    margin-left: 2px;
}

/*========= blog_categorie_area css ===========*/
.blog_categorie_area {
    padding-top: 80px;
    padding-bottom: 80px;
}

.categories_post {
    position: relative;
    text-align: center;
    cursor: pointer;
}

.categories_post img {
    max-width: 100%;
}

.categories_post .categories_details {
    position: absolute;
    top: 1.125rem;
    left: 1.125rem;
    right: 1.125rem;
    bottom: 1.125rem;
    background: rgba(34, 34, 34, 0.8);
    color: #fff;
    transition: all 0.3s linear;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories_post .categories_details h5 {
    margin-bottom: 0px;
    font-size: 1.2rem;
    line-height: 26px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
}

.categories_post .categories_details p {
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 26px;
    margin-bottom: 0px;
}

.categories_post .categories_details .border_line {
    margin: 10px 0px;
    background: #fff;
    width: 100%;
    height: 1px;
}

.categories_post:hover .categories_details {
    background: #fdc632;
    background-color: transparent;
    opacity: 0.6;
}

/*============ blog_left_sidebar css ==============*/
.blog_item {
    margin-bottom: 40px;
}

.blog_info {
    padding-top: 30px;
}

.blog_info .post_tag {
    padding-bottom: 1.125rem;
}

.blog_info .post_tag a {
    font: 300 0.875rem/21px "Mitr", sans-serif;
    color: #002347;
}

.blog_info .post_tag a:hover {
    color: #7b838a;
}

.blog_info .post_tag a.active {
    color: #fdc632;
}

.blog_info .blog_meta li a {
    font: 300 0.875rem/1.125rem "Mitr", sans-serif;
    color: #777777;
    vertical-align: middle;
    padding-bottom: 12px;
    display: inline-block;
}

.blog_info .blog_meta li a i {
    color: #002347;
    font-size: 1rem;
    font-weight: 600;
    padding-left: 15px;
    line-height: 1.125rem;
    vertical-align: middle;
}

.blog_info .blog_meta li a:hover {
    color: #fdc632;
}

.blog_post img {
    max-width: 100%;
}

.blog_details {
    padding-top: 1.125rem;
}

.blog_details h2 {
    font-size: 24px;
    line-height: 36px;
    color: #002347;
    font-weight: 600;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.blog_details h2:hover {
    color: #fdc632;
}

.blog_details p {
    margin-bottom: 26px;
}

.view_btn {
    font-size: 0.875rem;
    line-height: 36px;
    display: inline-block;
    color: #002347;
    font-weight: 500;
    padding: 0px 30px;
    background: #fff;
}

.blog_right_sidebar {
    background: #f1f9ff;
    padding: 30px;
}

@media (max-width: 991px) {
    .blog_right_sidebar {
        margin-top: 80px;
    }
}

.blog_right_sidebar .widget_title {
    font-size: 1.2rem;
    line-height: 25px;
    background: #002347;
    text-align: center;
    color: #fff;
    padding: 8px 0px;
    margin-bottom: 30px;
}

.blog_right_sidebar .search_widget .input-group .form-control {
    font-size: 0.875rem;
    line-height: 29px;
    border: 0px;
    width: 100%;
    font-weight: 300;
    color: #fff;
    padding-left: 1.125rem;
    border-radius: 45px;
    z-index: 0;
    background: #002347;
}

.blog_right_sidebar .search_widget .input-group .form-control.placeholder {
    color: #fff;
}

.blog_right_sidebar .search_widget .input-group .form-control:-moz-placeholder {
    color: #fff;
}

.blog_right_sidebar .search_widget .input-group .form-control::-moz-placeholder {
    color: #fff;
}

.blog_right_sidebar .search_widget .input-group .form-control::-webkit-input-placeholder {
    color: #fff;
}

.blog_right_sidebar .search_widget .input-group .form-control:focus {
    box-shadow: none;
}

.blog_right_sidebar .search_widget .input-group .btn-default {
    position: absolute;
    right: 1.125rem;
    background: transparent;
    border: 0px;
    box-shadow: none;
    font-size: 0.875rem;
    color: #fff;
    padding: 0px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.blog_right_sidebar .author_widget {
    text-align: center;
}

.blog_right_sidebar .author_widget h4 {
    font-size: 1.2rem;
    line-height: 1.125rem;
    color: #002347;
    margin-bottom: 5px;
    margin-top: 30px;
}

.blog_right_sidebar .author_widget p {
    margin-bottom: 0px;
}

.blog_right_sidebar .author_widget .social_icon {
    padding: 7px 0px 15px;
}

.blog_right_sidebar .author_widget .social_icon a {
    font-size: 0.875rem;
    color: #002347;
    transition: all 0.2s linear;
}

.blog_right_sidebar .author_widget .social_icon a+a {
    margin-left: 1.125rem;
}

.blog_right_sidebar .author_widget .social_icon a:hover {
    color: #fdc632;
}

.blog_right_sidebar .popular_post_widget .post_item .media-body {
    justify-content: center;
    align-self: center;
    padding-left: 1.125rem;
}

.blog_right_sidebar .popular_post_widget .post_item .media-body h3 {
    font-size: 0.875rem;
    line-height: 1.125rem;
    color: #002347;
    margin-bottom: 4px;
    transition: all 0.3s linear;
}

.blog_right_sidebar .popular_post_widget .post_item .media-body h3:hover {
    color: #fdc632;
}

.blog_right_sidebar .popular_post_widget .post_item .media-body p {
    font-size: 0.75rem;
    line-height: 21px;
    margin-bottom: 0px;
}

.blog_right_sidebar .popular_post_widget .post_item+.post_item {
    margin-top: 1.125rem;
}

.blog_right_sidebar .post_category_widget .cat-list li {
    border-bottom: 2px dotted #eee;
    transition: all 0.3s ease 0s;
    padding-bottom: 12px;
}

.blog_right_sidebar .post_category_widget .cat-list li a {
    font-size: 0.875rem;
    line-height: 1.125rem;
    color: #777;
}

.blog_right_sidebar .post_category_widget .cat-list li a p {
    margin-bottom: 0px;
}

.blog_right_sidebar .post_category_widget .cat-list li+li {
    padding-top: 15px;
}

.blog_right_sidebar .post_category_widget .cat-list li:hover {
    border-color: #fdc632;
}

.blog_right_sidebar .post_category_widget .cat-list li:hover a {
    color: #fdc632;
}

.blog_right_sidebar .newsletter_widget {
    text-align: center;
}

.blog_right_sidebar .newsletter_widget .form-group {
    margin-bottom: 8px;
}

.blog_right_sidebar .newsletter_widget .input-group-prepend {
    margin-right: -1px;
}

.blog_right_sidebar .newsletter_widget .input-group-text {
    background: #fff;
    border-radius: 0px;
    vertical-align: top;
    font-size: 0.75rem;
    line-height: 36px;
    padding: 0px 0px 0px 15px;
    border: 1px solid #eeeeee;
    border-right: 0px;
}

.blog_right_sidebar .newsletter_widget .form-control {
    font-size: 0.75rem;
    line-height: 24px;
    color: #cccccc;
    border: 1px solid #eeeeee;
    border-left: 0px;
    border-radius: 0px;
}

.blog_right_sidebar .newsletter_widget .form-control.placeholder {
    color: #cccccc;
}

.blog_right_sidebar .newsletter_widget .form-control:-moz-placeholder {
    color: #cccccc;
}

.blog_right_sidebar .newsletter_widget .form-control::-moz-placeholder {
    color: #cccccc;
}

.blog_right_sidebar .newsletter_widget .form-control::-webkit-input-placeholder {
    color: #cccccc;
}

.blog_right_sidebar .newsletter_widget .form-control:focus {
    outline: none;
    box-shadow: none;
}

.blog_right_sidebar .newsletter_widget .bbtns {
    background: #fdc632;
    color: #fff;
    font-size: 0.75rem;
    line-height: 38px;
    display: inline-block;
    font-weight: 500;
    padding: 0px 24px 0px 24px;
    border-radius: 0;
}

.blog_right_sidebar .newsletter_widget .text-bottom {
    font-size: 0.75rem;
}

.blog_right_sidebar .tag_cloud_widget ul li {
    display: inline-block;
}

.blog_right_sidebar .tag_cloud_widget ul li a {
    display: inline-block;
    border: 1px solid #eee;
    background: #fff;
    padding: 0px 13px;
    margin-bottom: 8px;
    transition: all 0.3s ease 0s;
    color: #002347;
    font-size: 0.75rem;
}

.blog_right_sidebar .tag_cloud_widget ul li a:hover {
    background: #fdc632;
    color: #fff;
}

.blog_right_sidebar .br {
    width: 100%;
    height: 1px;
    background: #eeeeee;
    margin: 30px 0px;
}

.blog-pagination {
    padding-top: 25px;
}

.blog-pagination .page-link {
    border-radius: 0;
}

.blog-pagination .page-item {
    border: none;
}

.blog-pagination .pagination {
    margin-bottom: 0px;
}

.page-link {
    background: transparent;
    font-weight: 400;
}

.blog-pagination .page-item.active .page-link {
    background: #fdc632;
    border-color: transparent;
    color: #fff;
}

.blog-pagination .page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #8a8a8a;
    border: none;
}

.blog-pagination .page-link i {
    font-weight: 600;
}

.blog-pagination .page-item:last-child .page-link,
.blog-pagination .page-item:first-child .page-link {
    border-radius: 0;
}

.blog-pagination .page-link:hover {
    color: #fff;
    text-decoration: none;
    background: #fdc632;
    border-color: #eee;
}

/*============ Start Blog Single Styles  =============*/
.single-post-area .social-links {
    padding-top: 10px;
    padding-left: 0px;
}

.single-post-area .social-links li {
    display: inline-block;
    margin-bottom: 10px;
}

.single-post-area .social-links li a {
    color: #cccccc;
    padding: 7px;
    font-size: 0.875rem;
    transition: all 0.2s linear;
}

.single-post-area .social-links li a:hover {
    color: #002347;
}

.single-post-area .blog_details {
    padding-top: 26px;
}

.single-post-area .blog_details p {
    margin-bottom: 10px;
}

.single-post-area .quotes {
    margin-top: 1.125rem;
    margin-bottom: 30px;
    padding: 24px 35px 24px 30px;
    background-color: white;
    box-shadow: -20.84px 21.58px 30px 0px rgba(176, 176, 176, 0.1);
    line-height: 24px;
    color: #777;
    font-style: italic;
}

.single-post-area .arrow {
    position: absolute;
}

.single-post-area .arrow i {
    font-size: 1.125rem;
    font-weight: 600;
}

.single-post-area .thumb .overlay-bg {
    background: rgba(0, 0, 0, 0.8);
}

.single-post-area .navigation-area {
    border-top: 1px solid #eee;
    padding-top: 30px;
    margin-top: 60px;
}

.single-post-area .navigation-area p {
    margin-bottom: 0px;
}

.single-post-area .navigation-area h4 {
    font-size: 1.2rem;
    line-height: 25px;
    color: #002347;
}

.single-post-area .navigation-area .nav-left {
    text-align: left;
}

.single-post-area .navigation-area .nav-left .thumb {
    margin-right: 1.125rem;
    background: #000;
}

.single-post-area .navigation-area .nav-left .thumb img {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.single-post-area .navigation-area .nav-left i {
    margin-left: 1.125rem;
    opacity: 0;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.single-post-area .navigation-area .nav-left:hover i {
    opacity: 1;
}

.single-post-area .navigation-area .nav-left:hover .thumb img {
    opacity: 0.5;
}

@media (max-width: 767px) {
    .single-post-area .navigation-area .nav-left {
        margin-bottom: 30px;
    }
}

.single-post-area .navigation-area .nav-right {
    text-align: right;
}

.single-post-area .navigation-area .nav-right .thumb {
    margin-left: 1.125rem;
    background: #000;
}

.single-post-area .navigation-area .nav-right .thumb img {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.single-post-area .navigation-area .nav-right i {
    margin-right: 1.125rem;
    opacity: 0;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.single-post-area .navigation-area .nav-right:hover i {
    opacity: 1;
}

.single-post-area .navigation-area .nav-right:hover .thumb img {
    opacity: 0.5;
}

@media (max-width: 991px) {
    .single-post-area .sidebar-widgets {
        padding-bottom: 0px;
    }
}

.comments-area {
    background: #f1f9ff;
    padding: 50px 30px;
    margin-top: 50px;
}

@media (max-width: 40.875rem) {
    .comments-area {
        padding: 50px 8px;
    }
}

.comments-area h4 {
    text-align: center;
    margin-bottom: 50px;
    color: #002347;
    font-size: 1.2rem;
}

.comments-area h5 {
    font-size: 1rem;
    margin-bottom: 0px;
}

.comments-area a {
    color: #002347;
}

.comments-area .comment-list {
    padding-bottom: 48px;
}

.comments-area .comment-list:last-child {
    padding-bottom: 0px;
}

.comments-area .comment-list.left-padding {
    padding-left: 25px;
}

@media (max-width: 413px) {
    .comments-area .comment-list .single-comment h5 {
        font-size: 0.75rem;
    }

    .comments-area .comment-list .single-comment .date {
        font-size: 11px;
    }

    .comments-area .comment-list .single-comment .comment {
        font-size: 10px;
    }
}

.comments-area .thumb {
    margin-right: 1.125rem;
}

.comments-area .date {
    font-size: 13px;
    color: #777777;
    margin-bottom: 13px;
}

.comments-area .comment {
    color: #777777;
    margin-bottom: 0px;
}

.comments-area .btn-reply {
    background-color: #fff;
    color: #002347;
    border: 1px solid #eee;
    padding: 2px 1.2rem;
    font-size: 0.75rem;
    display: block;
    font-weight: 600;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.comments-area .btn-reply:hover {
    background: #fdc632;
    color: #002347;
}

.comment-form {
    background: #f1f9ff;
    text-align: center;
    padding: 47px 30px 43px;
    margin-top: 50px;
    margin-bottom: 40px;
}

.comment-form h4 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.2rem;
    line-height: 22px;
    color: #002347;
}

.comment-form .name {
    padding-left: 0px;
}

@media (max-width: 767px) {
    .comment-form .name {
        padding-right: 0px;
        margin-bottom: 1rem;
    }
}

.comment-form .email {
    padding-right: 0px;
}

@media (max-width: 991px) {
    .comment-form .email {
        padding-left: 0px;
    }
}

.comment-form .form-control {
    padding: 8px 1.125rem;
    background: #fff;
    border: none;
    border-radius: 0px;
    width: 100%;
    font-size: 0.875rem;
    color: #777777;
    border: 1px solid transparent;
}

.comment-form .form-control:focus {
    box-shadow: none;
    border: 1px solid #eee;
}

.comment-form textarea.form-control {
    height: 140px;
    resize: none;
}

.comment-form ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 15px;
    color: #777;
}

.comment-form ::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 15px;
    color: #777;
}

.comment-form :-ms-input-placeholder {
    /* IE 10+ */
    font-size: 15px;
    color: #777;
}

.comment-form :-moz-placeholder {
    /* Firefox 18- */
    font-size: 15px;
    color: #777;
}

/*============ End Blog Single Styles  =============*/


/* .section_gap {
    padding: 130px 0;
}

@media (max-width: 991px) {
    .section_gap {
        padding: 10px 0;
    }
}

.section_gap_top {
    padding-top: 130px;
}

@media (max-width: 991px) {
    .section_gap_top {
        padding-top: 70px;
    }
}

.section_gap_bottom {
    padding-bottom: 130px;
}

@media (max-width: 991px) {
    .section_gap_bottom {
        padding-bottom: 70px;
    }
} */


.position-tab {
    position: absolute;
    left: 0;
    top: -48px;
}


.skyblue {
    background-color: #007bff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2) !important;
}

.purple {
    background-color: #7525BA !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2) !important;
}

.green {
    background-color: #118870 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2) !important;
}

.pink {
    background-color: #ff6382 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2) !important;
}

.red {
    background-color: #f43c39 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2) !important;
}

.blue {
    background-color: #1F0EAC !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2) !important;
}

.orange {
    background-color: #FF8202 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2) !important;
}

.nav-pills .nav-link {
    border-radius: 8px !important;
    border: unset !important;
    box-shadow: 0px 2px 6px 0px #0000000F !important;

}

.bd-example {
    padding-left: inherit;
    padding-right: inherit;
}

.fa_menu {
    width: 30px;
    height: 30px;
    font-size: 29px;
    transition: all 0.3s ease-in-out;
    /* เพิ่มการเคลื่อนไหวให้มีการเปลี่ยนแปลงนุ่มนวล */
}

.nav-link:hover .fa_menu {
    transform: scale(1.2);
    /* ขยายขนาดไอคอนให้ใหญ่ขึ้นเมื่อ hover */
    color: #fff;
    /* เปลี่ยนสีไอคอนเป็นสีส้มเมื่อ hover */
}

.registration_area .nav-link:hover {
    transform: scale(1.1) !important;
}



.btn-see-all {
    border-radius: 50px !important;
    border: unset !important;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    padding: 8px 1rem;
}

.bg-orange {
    background-color: #FF8202 !important;
}

.icon-see-all {
    width: 19px;
    height: 19px;
    font-size: 1.2rem;
}

a.btn-see-all:hover,
a.btn-see-all:focus {
    background-color: #FF8202 !important;
    /* สีส้มเข้มขึ้น */
    color: #FFF3E0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* เพิ่มเงา */
    transform: scale(1.05);
    /* ขยายขนาดเล็กน้อย */
    transition: all 0.3s ease-in-out;
}



.button-group-area .genric-btn {
    margin-right: 10px;
    margin-top: 10px;
}

.button-group-area .genric-btn:last-child {
    margin-right: 0;
}

.circle {
    border-radius: 1.125rem;
}

.genric-btn {
    display: inline-block;
    outline: none;
    line-height: 40px;
    padding: 0 30px;
    font-size: 0.8em;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.genric-btn:focus {
    outline: none;
}

.genric-btn.e-large {
    padding: 0 40px;
    line-height: 50px;
}

.genric-btn.large {
    line-height: 45px;
}

.genric-btn.medium {
    line-height: 30px;
}

.genric-btn.small {
    line-height: 25px;
}

.genric-btn.radius {
    border-radius: 3px;
}

.genric-btn.circle {
    border-radius: 1.125rem;
}

.genric-btn.arrow {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.genric-btn.arrow span {
    margin-left: 10px;
}

.genric-btn.default {
    color: #222222;
    background: #f9f9ff;
    border: 1px solid transparent;
}

.genric-btn.default:hover {
    border: 1px solid #f9f9ff;
    background: #fff;
}

.genric-btn.default-border {
    border: 1px solid #f9f9ff;
    background: #fff;
}

.genric-btn.default-border:hover {
    color: #222222;
    background: #f9f9ff;
    border: 1px solid transparent;
}

.genric-btn.primary {
    color: #fff;
    background: #f8b600;
    border: 1px solid transparent;
}

.genric-btn.primary:hover {
    color: #f8b600;
    border: 1px solid #f8b600;
    background: #fff;
}

.genric-btn.primary-border {
    color: #f8b600;
    border: 1px solid #f8b600;
    background: #fff;
}

.genric-btn.primary-border:hover {
    color: #fff;
    background: #f8b600;
    border: 1px solid transparent;
}

.genric-btn.success {
    color: #fff;
    background: #2bb673;
    border: 1px solid transparent;
}

.genric-btn.success:hover {
    color: #2bb673;
    border: 1px solid #2bb673;
    background: #fff;
}

.genric-btn.success-border {
    color: #4cd3e3;
    border: 1px solid #4cd3e3;
    background: #fff;
}

.genric-btn.success-border:hover {
    color: #fff;
    background: #4cd3e3;
    border: 1px solid transparent;
}

.genric-btn.info {
    color: #fff;
    background: #38a4ff;
    border: 1px solid transparent;
}

.genric-btn.info:hover {
    color: #38a4ff;
    border: 1px solid #38a4ff;
    background: #fff;
}

.genric-btn.info-border {
    color: #38a4ff;
    border: 1px solid #38a4ff;
    background: #fff;
}

.genric-btn.info-border:hover {
    color: #fff;
    background: #38a4ff;
    border: 1px solid transparent;
}

.genric-btn.warning {
    color: #fff;
    background: #f4e700;
    border: 1px solid transparent;
}

.genric-btn.warning:hover {
    color: #f4e700;
    border: 1px solid #f4e700;
    background: #fff;
}

.genric-btn.warning-border {
    color: #f4e700;
    border: 1px solid #f4e700;
    background: #fff;
}

.genric-btn.warning-border:hover {
    color: #fff;
    background: #f4e700;
    border: 1px solid transparent;
}

.genric-btn.danger {
    color: #fff;
    background: #f44a40;
    border: 1px solid transparent;
}

.genric-btn.danger:hover {
    color: #f44a40;
    border: 1px solid #f44a40;
    background: #fff;
}

.genric-btn.danger-border {
    color: #f44a40;
    border: 1px solid #f44a40;
    background: #fff;
}

.genric-btn.danger-border:hover {
    color: #fff;
    background: #f44a40;
    border: 1px solid transparent;
}

.genric-btn.link {
    color: #222222;
    background: #f9f9ff;
    text-decoration: underline;
    border: 1px solid transparent;
}

.genric-btn.link:hover {
    color: #222222;
    border: 1px solid #f9f9ff;
    background: #fff;
}

.genric-btn.link-border {
    color: #222222;
    border: 1px solid #f9f9ff;
    background: #fff;
    text-decoration: underline;
}

.genric-btn.link-border:hover {
    color: #222222;
    background: #f9f9ff;
    border: 1px solid transparent;
}

.genric-btn.disable {
    color: #222222, 0.3;
    background: #f9f9ff;
    border: 1px solid transparent;
    cursor: not-allowed;
}


/* Start Popular Courses Area css
============================================================================================ */
.popular_courses {
    padding-bottom: 100px;
}

@media (max-width: 991px) {
    .popular_courses {
        padding-bottom: 40px;
    }
}

.popular_courses .owl-item {
    opacity: 0;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    padding: 0px 10px;
    padding-bottom: 30px;
}

.popular_courses .owl-item.active {
    opacity: 1;
}

.popular_courses .owl-nav {
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 120%;
    transform: translateY(-50%);
    left: -11%;
}

@media (max-width: 991px) {
    .popular_courses .owl-nav {
        display: none !important;
    }
}

.popular_courses .owl-nav .owl-prev img,
.popular_courses .owl-nav .owl-next img {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.popular_courses .owl-nav .owl-prev img:hover,
.popular_courses .owl-nav .owl-next img:hover {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
}

.single_course {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    box-shadow: 0px 2px 4px 0px #00000014;
    border-radius: 1rem;
}

.single_course .course_head {
    position: relative;
    overflow: hidden;
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    width: auto;
    height: 244px;
    display: flex;
    justify-content: center;
}

.single_course .course_head img {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    width: auto !important;
    height: 100%;
}

.single_course .price {
    position: absolute;
    top: -34px;
    right: 15px;
    z-index: 2;
    color: #002347;
    display: inline-block;
    height: 65px;
    line-height: 65px;
    width: 65px;
    text-align: center;
    border-radius: 50px;
    background: #fdc632;
    font-family: "Mitr", sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.single_course .price img {
    margin-top: -8px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.single_course .course_content {
    /* padding: 30px 26px; */
    padding: 0.875rem;
    background: #f9f9ff;
    position: relative;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    box-shadow: 0px 2px 4px 0px #00000014;
    height: 275px;
}

.single_course .course_content .tag {
    padding: 2px 21px;
    font-size: 13px;
    color: #fff;
    background: #002347;
    text-transform: uppercase;
}

.single_course .course_content h4 {
    font-size: 1.125rem;
    font-weight: 500;
}

.single_course .course_content h4 a {
    color: #002347;
    font-size: 1rem;
    color: #010101;
    font-weight: 500;
    letter-spacing: 0px;
}

.single_course .course_content p {
    margin: 0;
}

.single_course .course_content .course_meta {
    margin-top: 0px;
}

.single_course .course_content .course_meta .meta_info a {
    color: #002347;
}

.single_course .authr_meta img {
    width: auto !important;
    display: inline-block !important;
}

.single_course .authr_meta span {
    color: #002347;
    font-size: 0.75rem;
}

.single_course .authr_meta i {
    color: #002347;
    font-size: 0.75rem;
}

.single_course:hover {
    box-shadow: 0px 10px 30px rgba(0, 35, 71, 0.1);
}

.single_course:hover .course_head img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
    width: 100% !important;
}

.single_course:hover .course_content {
    background: #fff;
}

.single_course:hover .price {
    background: #002347;
    color: #123ea6;
}

.single_course:hover h4 a {
    color: #123ea6;
}

/* End Popular Courses Area css
  ============================================================================================ */


.about_area {
    background-image: url(../../public/images/bg/Group22.png);
    background-position: right;
    background-size: 95% 100%;
    background-repeat: no-repeat;
    padding-top: 15px;
    padding-bottom: 15px;
}

.active_course {
    background-color: transparent;
    padding-bottom: 25px;
    padding-left: 15px;
    padding-right: 15px;
}

.owl-item {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 2px;
    padding-right: 5px;
}

.btn-read {
    font-size: 1rem;
    font-weight: 600;
    color: #7d7d7d;
}

.text-title-news-pr {
    font-size: 1rem;
    font-weight: 700;
    color: #010101;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    line-height: 21px;
    max-width: 250px;
}

.header-a-news h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1F0EAC;
}


.box-footer-home a {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 32px;
    font-weight: 700;
    color: #FF8202;
    text-shadow:
        2px 2px 0px #FFFFFF,
        /* ด้านล่างขวา */
        -2px -2px 0px #FFFFFF,
        /* ด้านบนซ้าย */
        2px -2px 0px #FFFFFF,
        /* ด้านบนขวา */
        -2px 2px 0px #FFFFFF,
        /* ด้านล่างซ้าย */
        0px 2px 0px #FFFFFF,
        /* ด้านล่าง */
        0px -2px 0px #FFFFFF,
        /* ด้านบน */
        2px 0px 0px #FFFFFF,
        /* ด้านขวา */
        -2px 0px 0px #FFFFFF;
    /* ด้านซ้าย */
    letter-spacing: 0px !important;
    transition: all 0.3s ease;
    /* เพิ่มการเปลี่ยนแปลงนุ่มนวล */
}

.box-footer-home a:hover {
    font-size: 36px;
}

.news_tabs {
    padding-top: 10px;
    padding-bottom: 10px;
}

.news_tabs:hover {
    background-color: #f8f8f8;
}

.single_course_a_news {
    background-color: #f3f3f3;
    height:  207px;
    max-height:  207px;
    position: relative;
    overflow: hidden;
}
.single_course_a_news img{
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
    width: 100% ;
    height: auto ;
    transition: all 0.3s ease-in-out;
}

/* .single_course_a_news:hover img {
    width: 100% !important;
    transform: scale(1.5);
} */

/* กล่องเนื้อหาอยู่ล่าง สูง 345px */
.course_content_a_news {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 90px;
    background: #0E0A2DBF;
    color: #fff;
    padding: 20px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* แสดงข้อความย่อ */
.text-title-news-a {
    max-height: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease-in-out;
    color: #fff;
    font-size: 1em;
    font-weight: 700;
}

/* ซ่อนปุ่มอ่านเพิ่มเติม */
.a-news-btn-read {
    display: none;
    margin-top: 10px;
    color: #FF8202;
    transition: all 0.3s ease-in-out;
}

/* เมื่อ hover ที่กล่องหลัก */
.single_course_a_news:hover .course_content_a_news {
    overflow-y: auto;
    height: 135px;
    background: #1300B1D9;
}

/* ขยายข้อความเต็ม */
.single_course_a_news:hover .text-title-news-a {
    max-height: none;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* แสดงปุ่ม */
.single_course_a_news:hover .a-news-btn-read {
    display: inline-block;
}
.course_content_a_news::-webkit-scrollbar {
    width: 6px;
}

.course_content_a_news::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}
.single_course_a_news:hover {
    background-size: 100% 100%;
}
.table-borderless td:hover{
    background-color: #f8f8f8;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .registration_area {
        background: url(../../public/images/bg/bg_test.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;
        height: 920px;
        margin-top: 150px;
    }

    .section_gap{
        margin-bottom: 50px;
    }

    .position-tab {
        position: absolute;
        left: 0;
        top: 0;
        padding-top: 15px;
    }

    .tab-content {
        height: auto;
        max-height: 550px;
        overflow: auto;
    }
}
