body {
    overflow-x: hidden;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
}

a {
    text-decoration: none !important;
    color: unset !important;
}

.navbar-light .navbar-toggler {
    border-color: rgba(0, 0, 0, 0) !important;
}

.title-banner {
    font-size: 35px;
    font-weight: 700;
    line-height: 50px;
    text-align: left;
}

.image-ourteam {
    width: 100%;
    height: auto;
}

.card-blog {
    padding: 0 1rem;
}

a .card-blog-content {
    text-decoration: none;
}

.title-banner-color {
    color: #c3002f;
}

.container {
    padding: 0;
}

.underline {
    margin-top: 2rem;
    border: 1px solid #fff;
}

.img-logo {
    padding: 10px;
}

.navbar-brand-top,
.navbar-brand-language {
    font-size: 10px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
}

.navbar-brand-top:hover,
.navbar-brand-language:hover {
    opacity: 0.6;
    color: #ffffff;
}

.language-en {
    color: #32cccc;
}

.topnav {
    display: flex;
    overflow: hidden;
    background: #ffffff4d;
    height: 80px;
}
body > header > div.navbar-top.d-flex > div > div.contact{
    color: #fff;
}
.navbar-top {
    background-color: #c3002f;
    opacity: 90%;
}

.navbar {
    background: transparent;
}

.button {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(180deg, #c3002f 0%, #fff204  100%);
    box-shadow: 0px 20px 24px -4px #1018281a;
    padding: 11px 20px 11px 20px;
    border-radius: 4px;
}

.button:hover {
    opacity: 0.9;
    color: #ffffff;
}

.navbar-nav a {
    float: left;
    display: flex;
    color: #266670 !important;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    align-items: center;
}

.topnav a:hover {
    color: black;
}

.nav-link.active,
.nav-link.active svg {
    text-decoration: underline;
    text-underline-offset: 5px;
    color: #c3002f !important;
}
.nav-link.active svg path {
    fill: #32cccc !important; /* เปลี่ยนสี path ของ svg */
}

.navbar-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.detail-footer-banner {
    color: #fff;
    font-size: 14px;
}

.img-banner {
    background: linear-gradient(
        89.66deg,
        #ffffff 34.94%,
        rgba(255, 255, 255, 0.1) 54.01%
    );
    height: 480px;
    width: 100%;
}

.carousel-indicators [data-bs-target] {
    border-top: unset;
    border-bottom: unset;
    border: 1px solid #b9b9b9 !important;
    width: 8px;
    height: 8px;
    border-radius: 20px;
}

.carousel-indicators .active {
    background-color: #32cccc;
}

.background-container {
    max-width: 1920px;
    margin-right: auto;
    margin-left: auto;
    background: linear-gradient(
            90deg,
            #ffffff 50%,
            rgba(255, 255, 255, 0.1) 70%
        ),
        url("./assets/images/image20.jpg");
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.carousel-banner {
    height: 480px;
}

.footer-banner {
    background-color: #6ea8ad;
    height: 100px;
}

.title-footer-banner {
    font-size: 28px;
    font-weight: bold;
    color: #fff62a;
}

.service {
    background: #f5f6f9;
    height: 560px;
}

.tel {
    margin-right: 1rem;
}

.button-CLICK-HERE {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    width: 170px;
    color: #266670;
    padding: 11px 20px 11px 20px;
    border-radius: 4px 0px 0px 0px;
    background: linear-gradient(180deg, #fff62a 0%, #c7c01a 100%);
    box-shadow: 0px 20px 24px -4px #1018281a;
}

.button-CLICK-HERE:hover {
    opacity: 0.9;
}

.text-center {
    text-align: center;
}

.blogs {
    height: 680px;
}

.video {
    background: #b1f0f0;
    height: 780px;
}

.aboutus {
    border-top: 1rem solid #b1f0f0;
    height: 680px;
}

.ourteam {
    background: #b1f0f0;
    /* height: 680px; */
}

.welcome {
    height: 380px;
    position: relative;
}

.img-ourteam img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

.welcome::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/assets/images/image19.png");
    background-size: cover;
    opacity: 0.15;
    background-repeat: no-repeat;
    z-index: -1;
}

.footer {
    color: #fff;
    background: #c3002f;
    padding: 2rem;
}

.copyrigth {
    margin-top: 2rem;
    color: #fff;
}

.title-card {
    height: 54px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.content-text-service {
    height: 144px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
}

.title-video {
    color: #266670;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
}

.sub-title-video {
    color: #266670;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}

.date-view {
    color: #266670;
}

.image-card-video {
    width: 100%;
}

.text-aboutus {
    width: 70%;
}

.navbar-brand {
    margin-right: 4rem !important;
}

.content-banner {
    width: 90%;
}

.navbar-light .navbar-toggler-icon {
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="28" viewBox="0 0 24 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3 13.6362H21" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 6.89233H21" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 20.3801H21" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.carousel-banner {
    display: flex;
    align-items: center;
}

.content-welcome {
    width: 50%;
}

.to-contact-us {
    position: fixed;
    bottom: 50px;
    right: 20px;
    display: none;
    background-color: unset;
    color: white;
    padding: 5px 5px;
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
}
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: unset;
    color: white;
    padding: 5px 5px;
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
}

.back-to-top::before {
    background-color: #fff;
}

.messageBox {
    width: fit-content;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #2d2d2d; */
    /* padding: 0 15px; */
    /* border-radius: 10px; */
    border-bottom: 1px solid #ffffff;
}

/* .messageBox:focus-within {
    border: 1px solid rgb(110, 110, 110);
} */

.fileUploadWrapper {
    width: fit-content;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
}

#file {
    display: none;
}

.fileUploadWrapper label {
    cursor: pointer;
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fileUploadWrapper label svg {
    height: 18px;
}

.fileUploadWrapper label svg path {
    transition: all 0.3s;
}

.fileUploadWrapper label svg circle {
    transition: all 0.3s;
}

.fileUploadWrapper label:hover svg path {
    stroke: #fff;
}

.fileUploadWrapper label:hover svg circle {
    stroke: #fff;
    fill: #3c3c3c;
}

.fileUploadWrapper label:hover .tooltip {
    display: block;
    opacity: 1;
}

.tooltip {
    position: absolute;
    top: -40px;
    display: none;
    opacity: 0;
    color: white;
    font-size: 10px;
    text-wrap: nowrap;
    background-color: #000;
    padding: 6px 10px;
    border: 1px solid #3c3c3c;
    border-radius: 5px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.596);
    transition: all 0.3s;
}

#messageInput {
    width: 200px;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    padding-left: 10px;
    color: white;
}

#messageInput:focus ~ #sendButton svg path,
#messageInput:valid ~ #sendButton svg path {
    fill: #3c3c3c;
    stroke: white;
}

#sendButton {
    width: fit-content;
    height: 100%;
    background-color: transparent;
    outline: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

#sendButton svg {
    height: 18px;
    transition: all 0.3s;
}

#sendButton svg path {
    transition: all 0.3s;
}

#sendButton:hover svg path {
    fill: #3c3c3c;
    stroke: white;
}

#messageInput::placeholder {
    color: white;
}
.card-ourteam {
    width: 20%;
    padding-right: 2rem;
}

.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #343a40;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.video-background {
    width: 100%;
}

.blog-content-img {
    width: 100%;
    height: 224px;
}

.card-blog-content {
    padding-top: 1rem;
    padding-bottom: 1rem;
    height: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
}
.header-promotions,
.header-service,
.header-pages {
    position: relative;
    text-align: center;
    color: white;
}

.img-header {
    width: 100%;
    height: 192px;
    object-fit: cover;
}

.text-header-page {
    font-size: 45px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.link-page {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}
.title-content {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.text-pages {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.content-order-1 {
    height: 100%;
    padding: 2rem 0 0 4rem;
}
.img-content-page-detail {
    width: 100%;
    object-fit: cover;
    height: auto;
}
.img-content-page {
    width: 100%;
    height: auto;
    margin: 1rem 0;
}
.content-page {
    margin: 1rem 0;
}
.date {
    color: #266670;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
}
.date-icon {
    margin-right: 0.25rem;
}
.related-page {
    display: none !important;
    background-color: #ccf7f7;
}
.related-page-detail {
    padding: 3rem 0;
}
.content-detail-2 {
    margin: 2rem 0;
}
.description-order-1 {
    display: -webkit-box; /* สำหรับเบราว์เซอร์ที่ใช้ WebKit เช่น Chrome และ Safari */
    display: -moz-box; /* สำหรับเบราว์เซอร์ที่ใช้ Mozilla เช่น Firefox */
    display: -ms-flexbox; /* สำหรับเบราว์เซอร์ที่ใช้ Microsoft เช่น IE */
    display: -webkit-flex; /* สำหรับเบราว์เซอร์ที่ใช้ WebKit เช่น Safari */
    display: flex; /* มาตรฐาน */
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 8;
    line-clamp: 8; /* มาตรฐาน */
    /* สำหรับเบราว์เซอร์ที่ไม่สนับสนุน -webkit-line-clamp */
    max-height: 12em; /* ปรับค่านี้ตามความสูงของบรรทัด ค่าตัวอย่าง 1.5em ต่อบรรทัด */
}
.img-content-page-2 {
    height: 224px;
    object-fit: cover;
}
.description {
    display: -webkit-box;
    display: -moz-box; /* สำหรับ Firefox */
    display: -ms-flexbox; /* สำหรับ IE */
    display: -webkit-flex; /* สำหรับ Safari */
    display: flex; /* มาตรฐาน */
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    line-clamp: 3; /* มาตรฐาน */
    /* สำหรับเบราว์เซอร์ที่ไม่สนับสนุน -webkit-line-clamp */
    max-height: 4.5em; /* ปรับค่านี้ตามความสูงของบรรทัด */
}
.content-detail-1 {
    margin: 1rem 0;
}
.order-other {
    margin-top: 1rem;
}
/* contactus */
.contactus-title {
    text-align: center;
}
.text-contactus {
    width: 30%;
}
.form-control-contactus {
    width: 461px;
}
.email-contactus,
.tel-contactus {
    font-size: 24px;
    font-weight: 700;
    color: #c3002f !important;
}
.button-contact-us {
    padding: 11px 50px 11px 50px;
}
.more-details {
    background-color: #dcffff;
    height: 200px;
    display: flex;
    align-items: center;
}
.line {
    width: 100px;
    height: 2px;
    background-color: #32cccc;
    transform: rotate(90deg); /* หมุนเส้นให้เป็นแนวนอน */
}
.details-1,
.details-2,
.details-3 {
    color: #32cccc;
}
.detail-creers {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.detail-creers.show {
    max-height: 200px; /* ปรับความสูงตามความยาวเนื้อหาของคุณ */
}

.toggle-button {
    cursor: pointer;
}
.content {
    margin: 1rem 0;
}
/* dropdown */

/* Style the dropdown submenu to appear to the right */
.dropdown-menu.show {
    top: 100%;
}
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    /* margin-top: -1px; */
}
/* Optional: Adjust the position slightly if needed */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.dropdown-slide {
    position: relative; /* เพิ่ม position: relative ให้กับ dropdown-item */
}
.dropdown-slide::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
    position: absolute; /* ใช้ absolute เพื่อจัดตำแหน่งลูกศร */
    right: 10px; /* ปรับระยะห่างจากขอบขวาตามต้องการ */
    top: 50%; /* จัดกึ่งกลางในแนวตั้ง */
    transform: translateY(-50%); /* ปรับให้ลูกศรกึ่งกลางในแนวตั้ง */
}
/*  */
.navbar-brand-language.language-en.active,
.navbar-brand-language.language-th.active {
    color: #fff204 !important;
}
.title-related {
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
/* muteButton */
.video-container {
    position: relative;
    display: inline-block;
}

#backgroundVideo {
    width: 100%;
    height: auto;
}

#muteButton {
    position: absolute;
    top: 50%;
    right: 25%; /* เปลี่ยนจาก left เป็น right */
    transform: translateY(-50%);
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#muteButton:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.more-ourteam{
    margin:1rem 2rem;
    color: #fff !important;
}
li.galleries-tab {
    background-color: #000;
    color: #fff;
    min-width: 140px;
    text-align: center;
    margin-top: 1.5rem;
}
.galleries-link.active{
    background: #c3002f;
    color: #fff204 !important;
}

.gallery-image {
    width: calc(33.33% - 10px); /* ความกว้างของภาพ 1/3 ของ container ลบระยะห่าง */
    margin-bottom: 15px; /* ระยะห่างระหว่างแถว */
    object-fit: cover; /* ทำให้รูปภาพเต็มพื้นที่และรักษาสัดส่วน */
}

