/* ------ default ------ */
* {
    margin: 0px;
    padding: 0px;
    outline: none !important;
}

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

body {
    width: 100%;
    background: #fff;
    position: relative;
    display: inline-block;
    color: #000;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0px;
    font-weight: 400;
    font-family: 'Alexandria', 'IBM Plex Sans Thai', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-primary {
    color: #40888E;
}
.font-white {
    color: #ffffff;
}
.font-black {
    color: #000000;
}
.font-blue {
    color: #005EFF;
}

h1, h2 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0px;
    font-weight: 700;
}
h3 {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
    font-weight: 700;
}
h4 {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0px;
    font-weight: 700;
}

.btn{
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    font-family: 'Alexandria', 'IBM Plex Sans Thai', sans-serif;
    padding: 9px 20px;
    border-radius: 5px;
    border-color: #40888E !important;
    background: #fff !important;
    color: #40888E !important;
}
.btn-primary {
    background: #40888E !important;
    border-color: #40888E !important;
    background: #40888E !important;
    color: #fff !important
}
.btn-lg{
    font-size: 16px;
    line-height: 24px;
    padding: 18px 20px;
}

.no-padding {
    padding: 0px;
}
.no-padding-top {
    padding-top: 0px;
}
.no-padding-bottom {
    padding-bottom: 0px;
}
.no-padding-left {
    padding-left: 0px;
}
.no-padding-right {
    padding-right: 0px;
}

.no-margin {
    margin: 0px;
}
.no-margin-top {
    margin-top: 0px;
}
.no-margin-bottom {
    margin-bottom: 0px;
}
.no-margin-left {
    margin-left: 0px;
}
.no-margin-right {
    margin-right: 0px;
}

.bg {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden !important;
}

/* ------ loading ------ */
#loading {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.8);
    display: none;
}
#loading .inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}   
.loader {
  width: 65px;
  aspect-ratio: 1;
  display: grid;
}
.loader::before,
.loader::after {    
  content:"";
  grid-area: 1/1;
  --c:no-repeat radial-gradient(farthest-side,#25b09b 92%,#0000);
  background: 
    var(--c) 50%  0, 
    var(--c) 50%  100%, 
    var(--c) 100% 50%, 
    var(--c) 0    50%;
  background-size: 12px 12px;
  animation: l12 1s infinite;
}
.loader::before {
  margin: 4px;
  filter: hue-rotate(45deg);
  background-size: 8px 8px;
  animation-timing-function: linear
}

@keyframes l12 { 
  100%{transform: rotate(.5turn)}
}

/* ------ custom ------ */
#wrapper{
    position: relative;
    min-height: 300px;
}
section {
    position: relative;
    padding: 80px 0px;
}
header {
    position: sticky;
    top: 0px;
    z-index: 1000;
}
header .navbar {
    background: #40888E;
    color: #fff;
    border-radius: 0px;
    border: 0px;
    margin-bottom: 0px;
}
header .navbar-default .navbar-nav>li>a {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: #fff;
}
header .nav-lang {
    display: flex;
    gap: 0px;
    align-items: center;
}
header .nav-lang a {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300 !important;
    padding: 15px 5px;
    color: #fff !important;
}
header .nav-lang a.active {
    font-weight: 700 !important;
}
header .form-search {
    display: inline-block;
    position: relative;
    margin: 10px 10px 10px 20px;
}
header .form-search input {
    position: relative;
    width: 200px;
    background: #306a6e;
    border: 0px;
}
header .form-search:not(.open) input {
    background: transparent;
    width: 0px;
}
header .form-search img {
    position: absolute;
    right: 10px;
    top: 5px;
}
header .navbar-brand {
    height: 75px;
    padding: 20px 15px;
}
header .navbar-brand img {
    height: 100%;
}
header .navbar-right {
    position: absolute;
    right: 0px;
    top: 10px;
}
header .container {
    position: relative;
}
header #menu {
    text-align: center;
}
header .nav-menu {
    float: initial;
    display: inline-block;
    margin: 10px 0px 4px;
}
header .navbar-header {
    position: absolute;
    left: 0px;
    top: 0px;
}
footer {
    background: #40888E;
    padding-top: 45px;
    font-size: 16px;
    line-height: 26px;
    color: #fff;
}
footer h4 {
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
}
footer ul {
    list-style: none;
}
footer ul li a {
    padding: 3px 0px;
    display: block;
}
footer .copyright {
    padding: 20px 0px;
    font-size: 14px;
    line-height: 24px;
    margin-top: 30px;
}
footer .social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.banner {
    width: 100%;
    position: relative;
}
.banner img {
    width: 100%;
}
.ul-check {
    list-style: none;
}
.ul-check li {
    padding: 10px 0px;
    padding-left: 60px;
    background: url('../images/check.png') no-repeat center left;
    background-size: 42px;
    font-size: 16px;
    margin-bottom: 10px;
}
img {
    max-width: 100%;
}
.img-responsive {
    width: 100%;
}
.btn-service {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bg-primary {
    background: #7DBCC1;
    color: #fff;
}
.font-16 {
    font-size: 16px;
    line-height: 26px;
}
.percent {
    width: 750px;
    max-width: 100%;
    margin: 30px auto;
    display: inline-flex;
    margin-top: -60px;
    flex-wrap: wrap;
}
.percent .item {
    flex: 1;
    padding: 15px 60px;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    border-right: 1px solid rgba(255,255,255,0.4);
}
.percent .item:last-child {
    border: 0px;
}
.percent .item .no {
    font-weight: 700;
    font-size: 64px;
    line-height: 50px;
    color: #1F6D73;
    margin-bottom: 25px;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.product-box {
    background: #FFFFFF;
    box-shadow: 0px 8px 17.3px 1px rgba(8, 61, 65, 0.09);
    border-radius: 10px;
    padding: 15px 15px 30px;
    flex: 1;
    max-width: 250px;
    min-width: 220px;
}
.product-box .img {
    width: 100%;
}
.btn-line {
    border-color: #2CB931 !important;
    background: #2CB931 !important;
    border-radius: 22.5px;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.btn-minwidth {
    min-width: 180px;
}
.bg-middle {
    position: relative;
}
.bg-middle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0px;
    width: 100%;
    height: 300px;
    background: #DBF2F4;
    margin-top: -150px;
}
.row.is-middle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.row.is-reverse {
    flex-direction: row-reverse;
}
.product-img {
    background: #FFFFFF;
    border: 1px solid #DADADA;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}
.product-img .item img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    object-position: center;
}
.owl-stage-outer {
    position: relative;
}
.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: 15px;
    margin-top: -20px;
}
.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    right: 15px;
    margin-top: -20px;
}
.owl-carousel .owl-dots {
    width: 100%;
    bottom: 20px;
    text-align: center;
    display: flex;
    gap: 8px;
    left: 0px;
    justify-content: center;
    position: absolute;
}
.owl-carousel .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9d9d9;
}
.owl-carousel .owl-dot.active {
    background: #40888E;
}
.bg-green {
    background: #E2EFF0;
}
.tab .nav-tabs{ 
    display: flex;
    justify-content: center;
    gap: 50px;
}
.tab .nav-tabs>li>a{
    font-weight: 400;
    font-size: 20px;
    line-height: 20px;
    color: #000000;
    padding: 20px 0px;
    background: transparent !important;
    border: 0px !important;
}
.tab .nav-tabs>li.active>a, .tab .nav-tabs>li.active>a:focus {
    color: #40888E;
    position: relative;
}
.tab .nav-tabs>li.active>a:after {
    content: '';
    position: absolute;
    left: 0px;
    bottom: 0px;
    background: #40888E;
    border-radius: 5px;
    width: 100%;
    height: 5px;
}
.tab .tab-content {
    padding: 25px 0px;
}
.cover {
    width: 100%;
    height: 220px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 0px;
    background: #7DBCC1;
    color: #fff;
    justify-content: center;
}
.text-img{
    display: inline-flex;
    gap: 10px;
    align-items: center;
}
.contact-fb {
    margin-top: 10px;
}
.contact-content {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}
.w-form {
    width: 950px;
    max-width: 100%;
    background: #E8EDEE;
    border-radius: 10px;
    padding: 35px 50px 40px;
    margin: 0 auto;
}
.w-form h4 {
    margin-bottom: 20px;
}
.required {
    color: red;
    display: none;
    font-size: 12px;
}
.form-control {
    background: #FFFFFF;
    border-radius: 5px;
    box-shadow: none !important;
    border: 0px !important;
    outline: none !important;
    height: 45px;
}
.input-date {
    position: relative;
    background: #fff;
}
.input-date > input {
    padding-right: 40px;
    position: relative;
    z-index: 1;
    background: transparent !important;
}
.input-date > span {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 20px;
}