/**
 * WEBSITE: https://themefisher.com
 * TWITTER: https://twitter.com/themefisher
 * FACEBOOK: https://www.facebook.com/themefisher
 * GITHUB: https://github.com/themefisher/
 */

/*=== MEDIA QUERY ===*/
@import url("https://fonts.googleapis.com/css2?family=Athiti:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");
html {
    overflow-x: hidden;
}

body {
    line-height: 1.6;
    font-family: "Sarabun", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    color: #6f8ba4;
    font-weight: 400;
    overflow-x: hidden;
}
.bg-head {
    /*  background: url("../images/web/headweb.jpg"); */
    background: url("../images/web/headweb2.jpg");
    background-size: cover;
    position: relative;
    background-position: top;
    background-repeat: no-repeat;
}
.bg-contant {
    /* background-image: url("../images/web/bodyweb.jpg"); */
    background-size: cover;
    position: relative;
    background-position: top;

    background-repeat: no-repeat;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: "Sarabun", sans-serif;
    font-weight: 700;
    color: #000000;
}

h1,
.h1 {
    font-size: 2.5rem;
}

h2,
.h2 {
    font-size: 44px;
}

h3,
.h3 {
    font-size: 1.5rem;
}

h4,
.h4 {
    font-size: 1.3rem;
    line-height: 30px;
}

h5,
.h5 {
    font-size: 1.25rem;
}

h6,
.h6 {
    font-size: 1rem;
}

p {
    line-height: 30px;
}

/* add style  */

.pad-cont {
    padding-right: 5rem;
    padding-left: 5rem;
}
.navbar-toggle .icon-bar {
    background: #223a66;
}
/* add style icon eff */
.shrink img {
    transition: 1s ease;
}

.shrink img:hover {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
    transition: 1s ease;
}

.circle img {
    transition: 1s ease;
}

.circle img:hover {
    border-radius: 20%;
    transition: 1s ease;
}

.fadein img {
    opacity: 1;
}

.fadein img:hover {
    opacity: 0.5;
    transition: 1s ease;
}

.fadeout img {
    transition: transform 0.5s, filter 1.5s ease-in-out;
}

.fadeout img:hover {
    transform: scale(1.05);
}

.card-header {
    padding: 0px !important;
}

.bg-navmenu {
    /*    border-bottom-style: solid;
    border-color: #97c407;   
	padding: 10px !important;*/
    background-color: #0a587e !important;
}
.report_statit {
    display: block;
    color: #eff0f3b5;
    font-size: 25px;
}
/**---- -carousel-inner2 -----**/

/**---- ------**/

.container-fluid {
    padding-left: 0px !important;
    padding-right: 0px !important;
    font-family: "Sarabun", sans-serif;
}
.bg-fff {
    background-color: #fff;
}
.bg-box {
    background-color: #fe8007;
}
.bg-boxhr {
    background-color: #ff6804;
}
.bg-showdata {
    background-color: #fff;
}
.font_tel {
    color: #f8f9faad;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="tel"] {
    box-shadow: none;
    height: 45px;
    outline: none;
    font-size: 14px;
}
input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus {
    box-shadow: none;
    border: 1px solid #223a66;
}

.form-control {
    box-shadow: none;
    border-radius: 0;
}
.form-control:focus {
    box-shadow: none;
    border: 1px solid #223a66;
}

.py-7 {
    padding: 7rem 0px;
}

.btn {
    display: inline-block;
    font-size: 14px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.75rem 2rem;
    font-family: "Sarabun", sans-serif;
    text-transform: uppercase;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: all 0.35s ease;
}
.btn.btn-icon i {
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    padding-left: 15px;
}
.btn:focus {
    outline: 0px;
    box-shadow: none;
}

.btn-main {
    background: #28a745;
    color: #fff;
    border-color: #019f25;
}
.btn-main:hover {
    background: #02673c;
    color: #fff;
    border-color: #48b435;
}

.btn-main-2 {
    background: #e12454;
    color: #fff;
    border-color: #e12454;
}
.btn-main-2:hover {
    background: #223a66;
    color: #fff;
    border-color: #223a66;
}

.btn-solid-border {
    border: 2px solid #223a66;
    background: transparent;
    color: #223a66;
}
.btn-solid-border:hover {
    border: 2px solid #223a66;
    color: #fff;
    background: #223a66;
}
.btn-solid-border:hover.btn-icon i {
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.btn-solid-border.btn-icon i {
    border-left: 1px solid rgba(0, 0, 0, 0.09);
}

.btn-transparent {
    background: transparent;
    color: #222;
    border-color: #6f8ba4;
}
.btn-transparent:hover {
    background: #6f8ba4;
    color: #fff;
}

.btn-white {
    background: #fff;
    border-color: #fff;
    color: #222;
}
.btn-white:hover {
    background: #223a66;
    color: #fff;
    border-color: #223a66;
}

.btn-solid-white {
    border-color: #fff;
    color: #fff;
}
.btn-solid-white:hover {
    background: #fff;
    color: #222;
}

.btn-round {
    border-radius: 4px;
}

.btn-round-full {
    border-radius: 50px;
}

.btn.active:focus,
.btn:active:focus,
.btn:focus {
    outline: 0;
}

.bg-gray {
    background: #eff0f3;
}

.bg-primary {
    background: #223a66;
}

.bg-primary-dark {
    background: #152440;
}

.bg-primary-darker {
    background: #090f1a;
}

.bg-dark {
    background: #222;
}

.bg-gradient {
    background-image: linear-gradient(
        145deg,
        rgba(19, 177, 205, 0.95) 0%,
        rgba(152, 119, 234, 0.95) 100%
    );
    background-repeat: repeat-x;
}

.section {
    padding: 10px 0;
}

.section-sm {
    padding: 70px 0;
}

.section-bottom {
    padding-bottom: 100px;
}

.subtitle {
    color: #223a66;
    font-size: 14px;
    letter-spacing: 1px;
}

.overlay:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    background: #132138d6;
}

.overly-2 {
    position: relative;
}
.overly-2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.text-sm {
    font-size: 14px;
}

.text-md {
    font-size: 2.25rem;
}

.text-lg {
    font-size: 4.75rem;
    color: #f8b279;
}

.no-spacing {
    letter-spacing: 0px;
}

/* Links */
a {
    color: #222;
    text-decoration: none;
    transition: all 0.35s ease;
}

a:focus,
a:hover {
    color: #222;
    text-decoration: none;
}

a:focus {
    outline: none;
}

.content-title {
    font-size: 40px;
    line-height: 50px;
}

.page-title {
    padding: 10px 0px 7px 0px;
    position: relative;
}
.page-title .block h1 {
    color: #fff;
}
.page-title .block p {
    color: #fff;
}
.page-title .breadcumb-nav {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.slick-slide:focus,
.slick-slide a {
    outline: none;
}

@media (max-width: 480px) {
    h2,
    .h2 {
        font-size: 1.3rem;
        line-height: 36px;
    }
}
.title-color {
    color: #223a66;
}

.secondary-bg {
    background: #223a66;
}

.section-title {
    margin-top: 20px;
    margin-bottom: 20px;
    border-bottom-style: ridge;
    border-color: #0a587e;
}
.section-title h2 {
    color: #223a66;
}

/* .text-lg {
  font-size: 50px;
} */

.gray-bg {
    background: #c98f30;
}

.bg-topNews1 {
    background-color: #e0f055;
}
.bg-topNews2 {
    background-color: #48b435;
}
.bg-topNews3 {
    background-color: #129845;
}

@media (max-width: 480px) {
    .text-lg {
        font-size: 28px;
    }
}
@media (max-width: 400px) {
    .text-lg {
        font-size: 28px;
    }
}
#navbarmain .nav-link {
    padding: 5px 10px;
    color: #ffffff;
    font-family: "Athiti", sans-serif;
    text-transform: capitalize;
    font-size: 19px;
    transition: all 0.25s ease;
}
#navbarmain .nav-link:hover,
#navbarmain .active .nav-link {
    color: #b7caff;
}

.dropdown-toggle::after {
    display: none;
}

.navbar-brand {
    margin-top: 10px;
}

.header-top-bar {
    /*background: #223a66;*/
    font-size: 14px;
    padding: 0px 0px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #fff;
}

.top-bar-info li a {
    color: #fff;
    margin-right: 20px;
}

.top-right-bar a span {
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    vertical-align: middle;
}
.top-right-bar a i {
    color: #fff;
    margin-right: 10px;
}

@media (max-width: 992px) {
    .navigation {
        text-align: center;
    }
}
.navigation .dropdown-menu {
    padding: 0px;
    border: 0px;
    /*border-top: 5px solid #00318b;*/
    background: #fff;
    border-radius: 0px;
}
@media (max-width: 992px) {
    .navigation .dropdown-menu {
        text-align: center;
        float: left !important;
        width: 100%;
        margin: 0;
    }
}
.navigation .dropdown-toggle::after {
    display: none;
}
.navigation .dropleft .dropdown-menu,
.navigation .dropright .dropdown-menu {
    margin: 0;
}
.navigation .dropleft .dropdown-toggle::before,
.navigation .dropright .dropdown-toggle::after {
    font-weight: bold;
    font-size: 14px;
    border: 0;
    display: inline-block;
    font-family: IcoFont !important;
    vertical-align: 1px;
}
.navigation .dropleft .dropdown-toggle::before {
    content: "\eac9";
    margin-right: 5px;
}
.navigation .dropright .dropdown-toggle::after {
    content: "\eaca";
    margin-left: 5px;
}
.navigation .dropdown-item {
    padding: 13px 20px;
    background: transparent;
    font-weight: 400;
    color: #555;
    border-bottom: 1px solid #eee;
}
.navigation li:last-child .dropdown-item {
    border-bottom: 0;
}
.navigation .dropdown-submenu.active > .dropdown-toggle,
.navigation .dropdown-submenu:hover > .dropdown-item,
.navigation .dropdown-item.active,
.navigation .dropdown-item:hover {
    background: #ffa600;
    color: #ffffff;
}
.navigation button:focus {
    outline: 0;
}
@media (min-width: 992px) {
    .navigation .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease-in, visibility 0s linear 0.2s,
            transform 0.2s linear;
        display: block;
        visibility: hidden;
        opacity: 0;
        min-width: 200px;
        transform: translateY(10px);
    }
    .navigation .dropleft .dropdown-menu,
    .navigation .dropright .dropdown-menu {
        margin-top: -5px;
    }
    .navigation .dropdown:hover > .dropdown-menu {
        visibility: visible;
        transition: all 0.3s ease 0s;
        opacity: 1;
        transform: translateY(0);
    }
}

.bg-1 {
    background: url("../images/web/head-pages.png") no-repeat 50% 50%;
    background-size: cover;
    position: relative;
}

.banner {
    position: relative;
    overflow: hidden;
    background: #fff;
    /* background: url("../images/bg/slider-bg-1.jpg") no-repeat; */
    background-size: cover;
    /* min-height: 250px;
  max-height: 270px;*/
}
.banner .block {
    padding: 80px 0px 160px;
}
.banner .block h1 {
    font-size: 60px;
    line-height: 1.2;
    letter-spacing: -1.2px;
    text-transform: capitalize;
    color: #223a66;
}

.letter-spacing {
    letter-spacing: 2px;
}

.text-color {
    color: #223a66;
}

.text-color-2 {
    color: #223a66;
}

.divider {
    height: 3px;
    background: #7e00ff;
}

@media (max-width: 480px) {
    .banner .block h1 {
        font-size: 38px;
        line-height: 50px;
    }
    .banner {
        min-height: 150px;
        background: #fff !important;
    }
    .service-block img {
        /* width: 100%; */
        height: 100px;
        margin-top: -60px;
        border: 2px solid #fff;
    }
}
@media (max-width: 400px) {
    .banner .block h1 {
        font-size: 28px;
        line-height: 40px;
    }
    .banner {
        min-height: 150px;
        background: #fff !important;
    }
    .service-block img {
        /* width: 100%; */
        height: 100px;
        margin-top: -60px;
        border: 2px solid #fff;
    }
}
@media (max-width: 768px) {
    .banner .block h1 {
        font-size: 56px;
        line-height: 70px;
    }
    .banner {
        background: #fff !important;
    }
    .service-block img {
        /* width: 100%; */
        height: 150px;
        margin-top: -60px;
        border: 2px solid #fff;
    }
}
@media (max-width: 992px) {
    .banner {
        background: #fff !important;
    }
    .service-block img {
        /* width: 100%; */
        height: 200px;
        margin-top: -60px;
        border: 2px solid #fff;
    }
}
.about-img img {
    border-radius: 5px;
    box-shadow: 0px 0px 30px 0px rgba(0, 42, 106, 0.1);
}

.award-img {
    height: 120px;
    margin-bottom: 10px;
    align-items: center;
    display: flex;
    justify-content: center;
    background: #eff0f3;
}

.appoinment-content {
    position: relative;
}
.appoinment-content img {
    width: 85%;
}
.appoinment-content .emergency {
    position: absolute;
    content: "";
    right: 10px;
    bottom: 20px;
    background: #223a66;
    padding: 48px;
}
.appoinment-content .emergency h2 {
    color: #fff;
}
.appoinment-content .emergency i {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.appoinment-form {
    margin-top: 40px;
}
.appoinment-form .form-control {
    background: #f4f9fc;
    height: 55px;
    border-color: rgba(0, 0, 0, 0.05);
}
.appoinment-form textarea.form-control {
    height: auto;
}

.client-thumb {
    text-align: center;
}

.features {
    margin-top: -70px;
}

.feature-item {
    flex-basis: 33.33%;
    margin: 0px 10px;
    padding: 10px 10px;
    background-color: #fff;
    border-radius: 15px 15px 15px 15px;
    box-shadow: 0px 0px 30px 0px rgba(0, 42, 106, 0.1);
}
.feature-item .feature-icon i {
    font-size: 50px;
    color: #223a66;
}
.feature-item h4 {
    color: #223a66;
}
.feature-item p {
    font-size: 14px;
}

.feature-section.border-top {
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.w-hours li {
    padding: 6px 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.counter-stat {
    text-align: center;
    padding: 55px 0px 40px 0px;
    position: relative;
}
.counter-stat i {
    display: block;
    color: rgb(66 31 31 / 6%);
    font-size: 70px;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    transform: translateY(25px);
}
.counter-stat span {
    font-size: 70px;
    color: #fff;
}
.counter-stat p {
    margin-bottom: 0px;
    color: rgb(141 128 199);
}

.mb--80 {
    margin-bottom: -80px;
}

.service {
    padding-top: 80px;
}
.service .service-item {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
}
.service .icon {
    float: left;
    margin-bottom: 10px;
}
.service i {
    color: #e12454;
}
.service h4 {
    padding-left: 20px;
}
.service .content {
    clear: both;
}

.service-block {
    padding: 20px;
    margin-top: 40px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 0 38px rgba(21, 40, 82, 0.07);
    background: #ffffff8c;
}
.service-block img {
    /* width: 100%; */
    height: 200px;
    margin-top: -60px;
    border: 2px solid #fff;
}

.department-service {
    margin-bottom: 40px;
}
.department-service li {
    margin-bottom: 10px;
}
.department-service li i {
    color: #e12454;
}

.doctors .btn-group .btn {
    border-radius: 0px;
    margin: 0px 2px;
    text-transform: capitalize;
    font-size: 16px;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
}
.doctors .btn-group .btn.active {
    box-shadow: none !important;
    border-color: transparent;
    background: #e12454;
    color: #fff;
}
.doctors .btn-group .btn.focus {
    box-shadow: none !important;
    border-color: transparent;
}
.doctors .btn-group .btn:focus {
    box-shadow: none !important;
    border-color: transparent;
    background: #e12454;
    color: #fff;
}
.doctors .btn-group .btn:hover {
    box-shadow: none !important;
    border-color: transparent;
    background: #e12454;
    color: #fff;
}
.doctors .btn-group > .btn-group:not(:last-child) > .btn,
.doctors .btn-group > .btn:not(:last-child):not(.dropdown-toggle),
.doctors .btn-group > .btn:not(:first-child) {
    border-radius: 3px;
}

.doctor-inner-box {
    overflow: hidden;
}
.doctor-inner-box .doctor-profile {
    overflow: hidden;
    position: relative;
    box-shadow: 0px 8px 16px 0px rgba(200, 183, 255, 0.2);
}
.doctor-inner-box .doctor-profile .doctor-img {
    transition: all 0.35s ease;
}
.doctor-inner-box .doctor-profile .doctor-img:hover {
    transform: scale(1.1);
}

.lh-35 {
    line-height: 35px;
}

.doctor-info li {
    margin-bottom: 10px;
    color: #222;
}
.doctor-info li i {
    margin-right: 20px;
    color: #e12454;
}

.read-more {
    color: #223a66;
}

@media (max-width: 480px) {
    .doctors .btn-group {
        display: block;
    }
    .doctors .btn-group .btn {
        margin: 8px 3px;
    }
}
@media (max-width: 400px) {
    .doctors .btn-group {
        display: block;
    }
    .doctors .btn-group .btn {
        margin: 8px 3px;
    }
}
@media (max-width: 768px) {
    .doctors .btn-group {
        display: block;
    }
    .doctors .btn-group .btn {
        margin: 8px 3px;
    }
}
.cta {
    background: url("../images/bg/bg-4.jpg") no-repeat 50% 50%;
    background-size: cover;
    position: relative;
}
.cta:before {
    position: absolute;
    content: "";
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: #bfb5ef;
}

.mb-30 {
    margin-bottom: 30px;
}

.text-color-primary {
    color: #223a66;
}

.cta-section {
    margin-bottom: -80px;
}

.cta-2 {
    /*background: url("../images/bg/cta-bg.png") no-repeat;*/
    background-position: center center;
}

.cta-page {
    /* background: url("../images/bg/banner.jpg") no-repeat;*/
    background-size: cover;
    position: relative;
}

.testimonial {
    position: relative;
}
.testimonial:before {
    width: 48%;
    height: 100%;
    top: 0;
    left: 0px;
    position: absolute;
    content: "";
    background: url("../images/bg/bg-2.jpg") no-repeat 50% 50%;
}
.testimonial .slick-dots {
    text-align: left;
}

.testimonial-block {
    position: relative;
    margin-bottom: 20px;
}
.testimonial-block p {
    background: #fff;
    font-size: 18px;
}
.testimonial-block .client-info {
    margin-bottom: 20px;
}
.testimonial-block .client-info h4 {
    margin-bottom: 0px;
}
.testimonial-block i {
    font-size: 60px;
    position: absolute;
    right: 46px;
    bottom: 89px;
    opacity: 0.08;
}
.testimonial-block .slick-dots {
    text-align: left;
}

.testimonial-wrap-2 .slick-dots {
    margin-left: -10px;
}

.testimonial-block.style-2 {
    background: #fff;
    padding: 30px;
    margin: 0px 4px;
    margin-bottom: 30px;
}
.testimonial-block.style-2 .testimonial-thumb {
    float: left;
}
.testimonial-block.style-2 .testimonial-thumb img {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    margin-right: 20px;
    margin-bottom: 30px;
    border: 5px solid #eff0f3;
    margin-top: -5px;
}
.testimonial-block.style-2 .client-info p {
    clear: both;
    background: transparent;
}
.testimonial-block.style-2 i {
    bottom: -20px;
    color: #e12454;
    opacity: 0.3;
}

@media (max-width: 480px) {
    .testimonial-wrap {
        margin-left: 0px;
    }
    .testimonial::before {
        display: none;
    }
    .contact-block i {
        font-size: 20px;
        margin-bottom: 5px;
        display: inline-block;
        color: #00318b;
    }
}
@media (max-width: 400px) {
    .testimonial-wrap {
        margin-left: 0px;
    }
    .testimonial::before {
        display: none;
    }
    .contact-block i {
        font-size: 20px;
        margin-bottom: 5px;
        display: inline-block;
        color: #00318b;
    }
}
@media (max-width: 768px) {
    .testimonial-wrap {
        margin-left: 0px;
    }
    .testimonial::before {
        display: none;
    }
    .contact-block i {
        font-size: 30px;
        margin-bottom: 5px;
        display: inline-block;
        color: #00318b;
    }
}
@media (max-width: 992px) {
    .testimonial-wrap {
        margin-left: 0px;
    }
    .testimonial::before {
        display: none;
    }
    .contact-block i {
        font-size: 50px;
        margin-bottom: 5px;
        display: inline-block;
        color: #00318b;
    }
}
.contact-form-wrap .form-group {
    margin-bottom: 20px;
}
.contact-form-wrap .form-group .form-control {
    height: 60px;
    border: 1px solid #eef2f6;
    box-shadow: none;
    width: 100%;
    background: #f4f9fc;
}
.contact-form-wrap .form-group-2 {
    margin-bottom: 13px;
}
.contact-form-wrap .form-group-2 textarea {
    height: auto;
    border: 1px solid #eef2f6;
    box-shadow: none;
    background: #f4f9fc;
    width: 100%;
}

.social-icons li {
    margin: 0 6px;
}
.social-icons a {
    margin-right: 10px;
    font-size: 18px;
}

.google-map {
    position: relative;
}

.google-map #map {
    width: 100%;
    height: 500px;
}

.mt-90 {
    margin-top: 90px;
}

.contact-block {
    text-align: center;
    border: 1px solid #72a0cf;
    padding: 10px 5px;
    border-radius: 5px;
}
.contact-block1 {
    text-align: center;
    border: 1px solid #fff;
    padding: 10px;
    border-radius: 10px;
    background: #44addf;
}
.contact-block2 {
    text-align: center;
    border: 1px solid #fff;
    padding: 10px 5px;
    border-radius: 10px;
    background: #0c80d3;
}
.contact-block3 {
    text-align: center;
    border: 1px solid #fff;
    padding: 10px 5px;
    border-radius: 9px;
    background: #042a93;
}
.contact-block i {
    font-size: 50px;
    margin-bottom: 5px;
    display: inline-block;
    color: #00318b;
}

.contact-block1 i,
.contact-block2 i,
.contact-block3 i {
    display: inline-block;
    color: #f0f1f3;
}

.blog-item-content h2 {
    font-weight: 600;
    font-size: 38px;
}

/*=================================================================
  Single Blog Page
==================================================================*/
.nav-links .page-numbers {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: #eee;
    text-align: center;
    padding-top: 13px;
    font-weight: 600;
    margin-right: 10px;
}
.nav-links .page-numbers:hover {
    background: #223a66;
    color: #fff;
}
.nav-links .page-numbers.current {
    background: #223a66;
    color: #fff;
}

.comment-area .comment-thumb {
    margin-right: 20px;
    margin-bottom: 30px;
}
.comment-area h5 {
    font-size: 18px;
    font-weight: 500;
}
.comment-area span {
    font-size: 14px;
}

.posts-nav h6 {
    font-weight: 500;
}

.quote {
    font-size: 22px;
    color: #223a66;
    padding: 40px;
    font-style: italic;
    border-left: 5px solid #e12454;
    margin: 25px 0px;
}

.tag-option a {
    border: 1px solid #eff0f3;
    padding: 6px 12px;
    color: #6f8ba4;
    font-size: 14px;
}

.comment-form .form-control {
    background: #f7f8fb;
    border-radius: 5px;
    border-color: #f7f8fb;
    height: 50px;
}
.comment-form textarea.form-control {
    height: auto;
}

.post.post-single {
    border: none;
}
.post.post-single .post-thumb {
    margin-top: 30px;
}

.post-sub-heading {
    border-bottom: 1px solid #dedede;
    padding-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 20px;
}

.post-social-share {
    margin-bottom: 50px;
}

.post-comments {
    margin: 30px 0;
}
.post-comments .media {
    margin-top: 20px;
}
.post-comments .media > .pull-left {
    padding-right: 20px;
}
.post-comments .comment-author {
    margin-top: 0;
    margin-bottom: 0px;
    font-weight: 500;
}
.post-comments .comment-author a {
    color: #223a66;
    font-size: 14px;
    text-transform: uppercase;
}
.post-comments time {
    margin: 0 0 5px;
    display: inline-block;
    color: #808080;
    font-size: 12px;
}
.post-comments .comment-button {
    color: #223a66;
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
}
.post-comments .comment-button i {
    margin-right: 5px;
    display: inline-block;
}
.post-comments .comment-button:hover {
    color: #223a66;
}

.post-excerpt {
    margin-bottom: 60px;
}
.post-excerpt h3 a {
    color: #000;
}
.post-excerpt p {
    margin: 0 0 30px;
}
.post-excerpt blockquote.quote-post {
    margin: 20px 0;
}
.post-excerpt blockquote.quote-post p {
    line-height: 30px;
    font-size: 20px;
    color: #223a66;
}

.comments-section {
    margin-top: 35px;
}

.author-about {
    margin-top: 40px;
}

.post-author {
    margin-right: 20px;
}

.post-author > img {
    border: 1px solid #dedede;
    max-width: 120px;
    padding: 5px;
    width: 100%;
}

.comment-list ul {
    margin-top: 20px;
}
.comment-list ul li {
    margin-bottom: 20px;
}

.comment-wrap {
    border: 1px solid #dedede;
    border-radius: 1px;
    margin-left: 20px;
    padding: 10px;
    position: relative;
}
.comment-wrap .author-avatar {
    margin-right: 10px;
}
.comment-wrap .media .media-heading {
    font-size: 14px;
    margin-bottom: 8px;
}
.comment-wrap .media .media-heading a {
    color: #223a66;
    font-size: 13px;
}
.comment-wrap .media .comment-meta {
    font-size: 12px;
    color: #888;
}
.comment-wrap .media p {
    margin-top: 15px;
}

.comment-reply-form {
    margin-top: 80px;
}
.comment-reply-form input,
.comment-reply-form textarea {
    height: 35px;
    border-radius: 0;
    box-shadow: none;
}
.comment-reply-form input:focus,
.comment-reply-form textarea:focus {
    box-shadow: none;
    border: 1px solid #223a66;
}
.comment-reply-form textarea,
.comment-reply-form .btn-main {
    height: auto;
}

.sidebar-widget {
    margin-bottom: 30px;
    padding-bottom: 35px;
}
.sidebar-widget h5 {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}
.sidebar-widget h5:before {
    position: absolute;
    content: "";
    left: 0px;
    bottom: 0px;
    width: 35px;
    height: 3px;
    background: #042a93;
}
.sidebar-widget.latest-post .media img {
    border-radius: 7px;
}
.sidebar-widget.latest-post .media h6 {
    font-weight: 500;
    line-height: 1.4;
}
.sidebar-widget.latest-post .media p {
    font-size: 12px;
}
.sidebar-widget.category ul li {
    margin-bottom: 10px;
}
.sidebar-widget.category ul li a {
    color: #222;
    transition: all 0.3s ease;
}
.sidebar-widget.category ul li a:hover {
    color: #223a66;
    padding-left: 5px;
}
.sidebar-widget.category ul li span {
    margin-left: 10px;
}
.sidebar-widget.tags a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    line-height: 41px;
    height: 41px;
    font-weight: 500;
    border-radius: 20px;
    color: #666;
    display: inline-block;
    background-color: #eff0f3;
    margin: 0 7px 10px 0;
    padding: 0 25px;
    transition: all 0.2s ease;
}
.sidebar-widget.tags a:hover {
    color: #fff;
    background: #223a66;
}
.sidebar-widget.schedule-widget {
    background: #f4f9fc;
    padding: 20px;
}
.sidebar-widget.schedule-widget ul li {
    padding: 10px 0px;
    border-bottom: 1px solid #eee;
}

.search-form {
    position: relative;
}
.search-form i {
    position: absolute;
    right: 15px;
    top: 35%;
}

.footer {
    background: linear-gradient(116deg, #0a587e 0%, #0a587e 59%, #0a587e 96%);
}
.footer .copyright a {
    font-weight: 600;
}

.lh-35 {
    line-height: 35px;
}

.logo {
    font-weight: 600;
    letter-spacing: 1px;
}
.logo h3 {
    color: #223a66;
}
.logo span {
    color: #223a66;
}

.widget .divider {
    height: 3px;
}
.widget h4 {
    color: #223a66;
}
.widget .footer-menu a {
    color: #6f8ba4;
}
.widget .footer-menu a:hover {
    color: #e12454;
}

.footer-contact-block span {
    font-weight: 400;
    color: #6f8ba4;
}
.footer-contact-block i {
    font-size: 20px;
}

.footer-btm {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-socials li a {
    width: 48px;
    height: 48px;
    background: #e6ebef2e;
    color: #fff;
    display: inline-block;
    text-align: center;
    border-radius: 100%;
    padding-top: 12px;
}
.footer-socials li a:hover {
    width: 50px;
    height: 50px;
}

.widget-contact h6 {
    font-weight: 500;
    margin-bottom: 18px;
}
.widget-contact h6 i {
    color: #e12454;
}

.subscribe {
    position: relative;
}
.subscribe .form-control {
    border-radius: 50px;
    height: 60px;
    padding-left: 25px;
    border-color: #eee;
}
.subscribe .btn {
    position: absolute;
    right: 6px;
    top: 6px;
}

.backtop {
    position: fixed;
    background: #3898c7;
    z-index: 9999;
    display: inline-block;
    right: 55px;
    width: 50px;
    height: 50px;
    bottom: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    border-radius: 50px;
    transition: 0.3s;
}
@media (max-width: 992px) {
    .backtop {
        bottom: 40px;
        right: 15px;
    }
}
@media (max-width: 991.98px) {
    .backtop {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .backtop {
        width: 45px;
        height: 45px;
    }
}
.backtop:hover {
    background-color: #f5e5e1;
}
.backtop i {
    color: #fff;
    font-size: 20px;
}

.reveal {
    transition: all 0.3s;
    cursor: pointer;
    opacity: 1;
}
/*# sourceMappingURL=style.css.map */

.custom-carousel-img {
    height: 600px;
    /* กำหนดความสูงที่คุณต้องการคงไว้ */
    object-fit: cover;
    /* ทำให้รูปเต็มกรอบโดยไม่เสียสัดส่วน (ส่วนเกินจะถูก crop) */
    object-position: center;
    /* จัดให้กลางรูปอยู่ตรงกลางกรอบ */
}

@media (max-width: 768px) {
    .custom-carousel-img {
        height: 200px;
        /* ปรับความสูงสำหรับมือถือ */
    }
}

/* Mobile Navigation Bar */
.mobile-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #5c3184 0%, #7e00ff 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 8px 0;
}

.mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transform: translateY(-2px);
}

.mobile-nav-item i {
    font-size: 28px;
    margin-bottom: 4px;
}

.mobile-nav-item span {
    font-size: 13px;
    font-weight: 500;
    font-family: "Sarabun", sans-serif;
}

/* Mobile Popup */
.mobile-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-popup.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mobile-popup-content {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-popup.active .mobile-popup-content {
    transform: scale(1);
}

.mobile-popup-header {
    background: linear-gradient(135deg, #5c3184 0%, #7e00ff 100%);
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.mobile-popup-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.mobile-popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-popup-close i {
    font-size: 20px;
}

.mobile-popup-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Mobile Nav List */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list > li {
    margin-bottom: 8px;
}

.mobile-nav-list > li > a {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.mobile-nav-list > li > a:hover {
    background: linear-gradient(135deg, #5c3184 0%, #7e00ff 100%);
    color: #fff;
    transform: translateX(5px);
}

.mobile-nav-list > li > a i {
    margin-right: 12px;
    font-size: 20px;
}

/* Mobile Dropdown */
.mobile-menu-dropdown .mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu-dropdown.active .mobile-submenu {
    max-height: 500px;
}

.mobile-submenu li {
    margin-bottom: 5px;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 15px 12px 40px;
    background: #e9ecef;
    border-radius: 10px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.mobile-submenu li a:hover {
    background: #5c3184;
    color: #fff;
    transform: translateX(5px);
}

/* Add padding to body for mobile nav */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 80px;
    }
}

/* Hide desktop navigation on mobile */
@media (max-width: 991.98px) {
    .navigation {
        display: none !important;
    }
}
/* 1. ปรับแต่งช่องกรอกข้อความ (Input) */
.search-pill .form-control {
    border: 2px solid #ffffff;
    border-right: none;
    border-radius: 30px 0 0 30px;
    background: white;

    /* --- ส่วนสำคัญที่ปรับเพิ่ม --- */
    height: 38px; /* ความสูงกล่อง */
    line-height: 38px; /* จัดกึ่งกลางแนวตั้ง (ต้องเท่ากับ height) */
    padding-top: 0; /* ลบช่องว่างส่วนเกินด้านบน */
    padding-bottom: 0; /* ลบช่องว่างส่วนเกินด้านล่าง */
    /* ----------------------- */

    text-align: center; /* จัดกึ่งกลางแนวนอน */
}

.search-pill .form-control:focus {
    box-shadow: none;
    border-color: #ffffff;
}

/* 2. ปรับแต่งปุ่มค้นหา (Button) */
.search-pill .btn {
    background-color: #ffffff;
    border: 2px solid #ffffff;
    border-left: none;
    border-radius: 0 30px 30px 0;
    color: rgb(0, 0, 0);
    height: 38px;

    /* เพิ่มเพื่อให้ไอคอนแว่นขยายอยู่ตรงกลางเป๊ะๆ ด้วย */
    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s;
}

.search-pill .btn:hover {
    background-color: #cc1f00;
    border-color: #cc1f00;
    color: rgb(255, 255, 255);
}