/****************************************
saenkhamterrace by CMNice Solutions. *
****************************************/

/******** Fonts ********/
@import url("/_external/https/fonts.googleapis.com/css2~q-8045abb59fbc6a4e.css");

/* Mobile */
@media screen and (max-width: 992px) {
    .header-contain {
        position: relative !important;
    }

    .header-mb {
        background: #fff;
    }

    .header-mb p {
        font: 14px/1.4 'Kanit', sans-serif;
        color: #fff;
        font-weight: 200;
    }

    .mobile-logo {
        height: 88px !important;
    }

    .navbar-expand-lg {
        background-color: #fff !important;
    }

    .nav-item {
        border-bottom: 2px solid #EF4322;
    }

    .nav-item .nav-link {
        font: 18px/1.6 'Kanit', sans-serif !important;
        color: #fff !important;
        font-weight: 300 !important;
    }

    .navbar-nav .show {
        background-color: #fff !important;
        color: #fff !important;
    }

    .navbar-nav .dropdown-menu {
        /* background-color: #5F800C !important; */
        color: #fff !important;
    }

    .nav-item .dropdown-menu .dropdown-item {
        color: #fff !important;
        font-size: 18px !important;
        line-height: 1.6 !important;
    }

    .nav-item .dropdown-menu .mb-dropdown-item {
        font-size: 12px !important;
    }

    /**/
    .team-item-text {
        min-height: 7rem !important;
    }

    /**/
    .slide-text-contain {
        min-height: 200px !important;
    }

    /**/
    .service-block {
        height: 310px !important;
    }

    .service-block .mask {
        background: rgba(0, 85, 167, 0.75) !important;

    }

    .service-block .mask h3,
    .service-block .mask p {
        color: #fff !important;
    }

    .service-detail-contain-bg {
        background-size: auto 100% !important;
    }
}

/* Desktop */
body {
    background: #fff;
}

/* Page Container */
.container {
    max-width: 1300px;
}

/* Content Container */
.content_container {
    position: relative;
}

/* Content Wrapper Container */
.logo {
    position: relative;
}

.top-contact {
    /* position: absolute; */
    font-family: 'Kanit', sans-serif;
    background: #fff;
}

.top-contact p {
    font: 14px/1.4 'Kanit', sans-serif;
    color: #000;
    font-weight: 200;
}

.vertical.carousel .carousel-item {
    overflow: hidden;
}

.vertical.carousel .carousel-item-next:not(.carousel-item-start),
.vertical.carousel .active.carousel-item-end {
    transform: translateY(100%);
}

.vertical.carousel .carousel-item-prev:not(.carousel-item-end),
.vertical.carousel .active.carousel-item-start {
    transform: translateY(-100%);
}

.vertical.carousel .carousel-indicators {
    top: 0;
    left: unset;

    margin-left: unset !important;
    margin-right: 1rem;

    flex-direction: column;
}

.vertical.carousel .carousel-indicators [data-bs-target] {
    height: 30px;
    width: 3px;
}

.vertical.carousel .carousel-control-prev,
.vertical.carousel .carousel-control-next {
    width: 100%;
    height: 60px;
}

.vertical.carousel .carousel-control-prev-icon,
.vertical.carousel .carousel-control-next-icon {
    transform: rotateZ(90deg);
}

.vertical.carousel .carousel-control-next {
    top: unset;
    bottom: 0;
}

.fa-stack[data-count] {
    cursor: pointer;
}

.fa-stack[data-count]:after {
    position: absolute;
    right: 0%;
    top: -5px;
    width: 15px;
    height: 15px;
    content: attr(data-count);
    font: 11px/14px 'Noto Sans SC', sans-serif !important;
    border-radius: 50%;
    text-align: center;
    font-weight: 700 !important;
    background: #fff;
    color: #fff;
}


/* Partner */
.swiper-slide {
    font-size: 14px;
    font: 14px/1 'Kanit', sans-serif;
}

/* Swiper*/
.swiper-arrow-contain {
    width: 50px !important;
    height: 20px;
    display: block;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.swiper-arrow-contain .swiper-button-prev,
.swiper-arrow-contain .swiper-button-next {
    width: 20px;
    height: 20px;
    border: 1px solid #2d75fd;
    background-color: #001c37;
    text-align: center;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.swiper-arrow-contain .swiper-button-prev {
    left: 0;
}

.swiper-arrow-contain .swiper-button-next {
    right: 0;
}

:root {
    --swiper-navigation-size: 10px !important;
}


/* Header */
/* .header-contain {
    position: absolute;
    top: 0;
    z-index: 99;
    background-color: rgba(255, 255, 255, 0.75);
}  ทำให้อยู่ชิดบนสุด*/
.header-contain {
    position: relative;
    z-index: 99;
    background-color: #fff;
}

.header_container {
    position: relative;
    font-family: 'Kanit', sans-serif;
}

.header_container p {
    font: 18px/1 'Kanit', sans-serif;
    /* color: #624827; */
    font-weight: 300;
}

.header_menu {
    position: relative;
    background-color: #f8f8f8;
    font-family: 'Kanit', sans-serif;
}

.header_container .btn-sm {
    font: 14px/1 'Kanit', sans-serif;
}

.header-nav {
    background: #fff;
    /* position: absolute; */

}

.rslides {
    box-sizing: border-box;
    padding: 0px !important;
}

.rslides li {
    text-align: center;
}

.rslides img {
    display: block;
    float: none;
    width: auto;
    max-width: 100%;
    border: 0;
    text-align: center;
    margin: 0 auto;
}
.line-top {
    border-top: 2px solid #fff;
    width: 80px;
}
.fixed-top {
    background: #fff;
    /*background: linear-gradient(90deg, rgba(31,87,34,1) 0%, rgba(33,105,43,1) 35%, rgba(33,118,50,1) 100%);*/
}

/* Owl */
.owl-carousel .owl-nav button span{
	padding:0.2em 1em !important;
}

#carouselCaptions {
    border: 0px solid #fff;
    overflow: hidden;
}

/* Lang */

.bg-boxlang {
    background-color: #fff !important;
    border: 1px solid #000;
    border-radius: 5px !important;
}

.bg-boxlang:hover {
    background-color: #fff !important;
    border: 1px solid #000;
    border-radius: 5px !important;

}

.main_menu {
    width: 100%;
    text-align: right;
    list-style: none;
    display: block;
}

.main_menu li {
    display: inline-block;
    /* border: 1px solid #eb2031; */
    vertical-align: top;
    margin: 0 10px;
}

.main_menu li a {
    font: 20.64px/32px 'supermarket';
    color: #fff;
    padding: 0 5px;
}

.main_menu li:hover {
    background-color: #fde7e8;
    border: 1px solid #000;
}

.main_menu li:hover a {
    color: #5F800C;
}

#menu_active {
    background-color: #fde7e8;
    border: 1px solid #000;
}

#menu_active a {
    color: #5F800C;
}

.submenu {
    width: 792px;
    position: absolute;
    top: 91px;
    right: 0;
    background-color: #000;
    z-index: 9;
    list-style: none;
    display: block;
    box-sizing: border-box;
    padding-left: 20px;
    text-align: center;

}

.submenu li {
    display: inline-block;
    border: 0;
    margin: 0 5px;
    position: relative;
}

.submenu li a {
    font: 14.55px/34px 'supermarket';
    color: #fff;
}

.submenu li #submenu {
    width: 120px;
    position: absolute;
    top: 34px;
    left: -10px;
    opacity: 0;
    transition: visibility 0s, opacity 0.2s linear;
}

.submenu li:hover #submenu {
    opacity: 1;
}

.submenu li #submenu li {
    width: 100%;
    /* background-color: #ff3333; */
    margin: 0;
    padding: 0 10px;
    text-align: left;

}

.submenu li #submenu li a {
    color: #fff;
}

.nav-item .nav-link {
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    line-height: 1;
    color: #6a5641;
    font-weight: 300;
    transition: all 0.5s;
  /* margin: 1px auto; */
}

.nav-item .nav-lang {
    font-size: 14px;
    line-height: 1;
}

.nav-item .nav-link i {
    font-size: 22px;
}

.nav-item .nav-link:hover {
    color: #6a5641;
}

.nav-item .active {
    color: #6a5641 !important;
    /* background-color: #EF4322; */
    /* border-bottom: 2px solid#000; */
    /* line-height: 3em; */

}

.nav-item :hover {
    color: #6a5641 !important;
    /* background-color: #EF4322; */
    /* border-bottom: 2px solid#000; */
    /* line-height: 3em; */
}

.nav-item .dropdown-menu {
    width: 100%;
    color: #6a5641;
    /* background-color: #EF4322; */
    top: 100%;
}

.nav-item .dropdown-menu ul {
    list-style: none;
}

.nav-item .dropdown-menu .dropdown-item {
    font: 16px/1 'Kanit', sans-serif;
    font-weight: 400;
    color: #fff;

}

.nav-item .dropdown-menu .dropdown-item:hover {
    color: #fff;
    /* background-color: #EF4322; */
    --mdb-image-hover-transition: all 0.3s ease-in-out;
    transition: var(--mdb-image-hover-transition);
}

.navbar-toggler {
    /* background-color: #fff; */
}

.dropdown-toggle::after {
    vertical-align: 0.1em !important;
}

.nav-mb-button {
    font-size: 30px;
}

/**/
.navbar,
.navbar-nav .dropdown {
    position: inherit !important;
}

.dropdown-menu-detail {
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
}

.dropdown-menu-detail h3 {
    font-size: 18px;
}

.dropdown-menu-detail p {
    font-size: 14px;
}

.black-nav {
    z-index: 5;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    font-family: 'Kanit', sans-serif;
}

.black-nav .nav-link {
    font: 14px/1 'Kanit', sans-serif;
    color: #000;
    font-weight: 300;
}

/* position dots in carousel */
.flickity-page-dots {
    bottom: 10px !important;
}

/* white circles */
.flickity-page-dots .dot {
    width: 12px !important;
    height: 12px !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 2px solid white !important;
}

/* fill-in selected dot */
.flickity-page-dots .dot.is-selected {
    background: white !important;
}

.carousel-cell {
    width: 100%;
    margin-right: 10px;
}

/* Services */
.s-box {
    position: relative;
}

.s-box .img {
    /* position: relative; */
    /* width: 100px;
    height: 100px; */
    background-color: white;
    border-radius: 50%;
    border: 5px solid #ccc;
}

/* Circle list */
.circle-list {
    position: relative;
}

.circle-list h1 {
    font: 29px/1 'Kanit', sans-serif;
    font-weight: 500;
    color: #3b1413;
}

.circle-list h2 {
    font: 14.96px/1.3 'Kanit', sans-serif;
    font-weight: 500;
    color: #d0a051;
    text-transform: uppercase;
}

.circle-list h3 {
    font: 15.55px/1 'Kanit', sans-serif;
    font-weight: 700;
    color: #3b1413;
}

.circle-list p {
    font: 15.03px/1.2 'Kanit', sans-serif;
    font-weight: 400;
    color: #3b1413;
}

.circle-list a {
    font: 13.89px/1 'Kanit', sans-serif;
    font-weight: 400;
    color: #e8645a;
    text-decoration: none;
}

/* Pager */
.paging {
    font: 13.89px/1 'Kanit', sans-serif;
    display: block;
    text-align: center;
}

.paging a {
    font: 13.89px/1 'Kanit', sans-serif;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    margin: 0 0.2em;
    -webkit-border-radius: 04px;
    -moz-border-radius: 04px;
    border-radius: 04px;
    padding: 0.3em 0.5em;
    min-width: 1.5em;
    border: 1px solid #ccc;
    font-weight: 300;

}

.paging span {
    margin: 0 0.2em;
    -webkit-border-radius: 04px;
    -moz-border-radius: 04px;
    border-radius: 04px;
    padding: 0.3em 0.5em;
    min-width: 1.5em;
}

.paging span.current {
    background-color: #C48A39;
    border: 1px solid #C48A39;
    padding: 0.3em 0.5em;
    color: #fff;
}

/* .paging :hover {
    background-color: #ccc;
    padding: 0.3em 1em;
    color: #ccc;
} */

.paging span.disabled {
    /* background-color: #ccc; */
    color: #ccc;
    font-weight: 200;

}

/**/
/* Product */
.product-content,
.product-content button {
    position: relative;
    z-index: 2;
    font: 16px/1.4 'Kanit', sans-serif;
    text-decoration: none;

}

.product-content li {
    font: 16px/1.4 'Kanit', sans-serif;
    font-size: 14px;
    color: #C48A39;
    text-decoration: none !important;


}
.product-content p{
    font-size: 14px;
    font-family: 'Kanit', sans-serif;
}
.product-img {
    /* width: 100%; */
    height: 100%;
}

.product-description {
    font-size: 14px;
    font-family: 'Kanit', sans-serif;
}

.product-description {
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
}

.product-description h1 {
    font: 36px/1.4 'Kanit', sans-serif;
    color: #0b3f0e;
    text-decoration: none;
    font-weight: 200;
}

.product-description h2 {
    font: 14px/1.4 'Kanit', sans-serif;
    color: #000;
    font-weight: 300;
    text-decoration: none;

}

.product-description h3,
.product-description h4 {
    font: 16px/1.4 'Kanit', sans-serif;
    font-size: 18px;
    color: #000;
    text-decoration: none !important;

}

.product-description-color {
    width: 1.5em;
    height: 1.5em;
}

/* Product menu*/
.product-menu-img {
    width: 100%;
    height: 10em;
}

.product-menu-description h3 {
    font-size: 16px;
    font-family: 'kanitregular';
    color: #686868;
}

.product-description-button button {
    font-size: 11px !important;
}

/* gallery */
.gallery-container {
    /* position: relative; */
    background: url("/images/bg-gallery.jpg") center no-repeat;
    background-size: cover;
    background-attachment: fixed;

    z-index: 2;
    font-family: 'Kanit', sans-serif;
}

.gallery-container h1 {
    font: 24px/1 'Kanit', sans-serif;
    font-weight: 300;
    line-height: 1.5em;
}
.gallery-container h2 {
    font-family: 'Kanit', sans-serif;
    font-size: 24px;
    font-weight: 300;
}

.gallery-container h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 300;
}

.gallery-container h3 i {
    color: #fff;
}

.gallery-container p {
    font: 14.03px/1.2 'Kanit', sans-serif;
    font-weight: 300;
    line-height: 2em;
}

.gallery-container a {
   
    text-decoration: none;
    color: #fff;
}


/* NEWS Container */
.news-container {
    position: relative;
    background-size: cover;
    z-index: 2;
    font-family: 'Kanit', sans-serif;
}

.news-container h1 {
    font: 24px/1 'Kanit', sans-serif;
    font-weight: 300;
    line-height: 1.5em;
}
.news-container h2 {
    font: 16px/1 'Kanit', sans-serif;
    font-weight: 200;
    line-height: 1.5em;
    color: #000;
}

.news-container h3 {
    font: 12px/1 'Kanit', sans-serif;
    font-weight: 200;
    color: #C48A3A;
}

.news-container h3 i {
    color: #fff;
}

.news-container p {
    font: 12.03px/1.2 'Kanit', sans-serif;
    font-weight: 300;
    color: #555;
    line-height: 1.5em;

}

.news-container a {
    font: 13.89px/1 'Kanit', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #fff;
}




.news-item h2 {
    font: 24px/1 'Kanit', sans-serif;
    font-weight: 300;
}

.news-item h3 {
    font: 18px/1 'Kanit', sans-serif;
    font-weight: 300;
}

.news-item h4 {
    font: 15px/1 'Kanit', sans-serif;
    font-weight: 300;
}

.news-item h5 {
    font: 12px/1 'Kanit', sans-serif;
    font-weight: 300;
}

.all-link1 {
    font: 14px/1 'Kanit', sans-serif;
    font-weight: 400;
    color: #000;
    text-decoration: none;
}

.all-link2 {
    font: 14px/1 'Kanit', sans-serif;
    font-weight: 400;
    color: #e8645a;
    text-decoration: none;
}

.all-link1:hover,
.all-link2:hover {
    color: inherit;
}



/* Lang */
.dd {
    width: 130px !important;
    position: absolute !important;
    top: 5px !important;
    right: 0 !important;
}

.ddlabel {
    font: 20px/20px 'kittithada_roman_55regular';
}

/* Slide */


/* the slides */
.slick-slide {
    margin: 0 15px;
}

/* Flex */

.flex-direction-nav a {
    line-height: normal;
}

/* the parent */
.slick-list {
    margin: 0 -15px !important;
    overflow: visible !important;
}

.slick-slider {
    overflow: hidden !important;
}

.slider {
    width: 100%;
    /* height: 500px; */
    position: relative;
    overflow: hidden;
}

.slide-text-contain {
    min-height: 564px;
    font-family: 'Kanit', sans-serif;
}

.slide-text-contain p {
    font-weight: 300;
    line-height: 1.4;
    font-size: 18px;
}

.slide-text-contain h1 {
    line-height: 1.5em;
    font-weight: 200;
    font-size: 24px;
    color: #F5ED6E;
}

.slide-text-contain h3 {
    font-size: 26px;
}

.slide-text-contain h4 {
    font-size: 20px;
}

/* social_container*/
.social_container .content_container {
    padding: 15px 0;
    border-top: 1px solid #f5f5f7;
}

.facebook_fanpage {
    width: 430px;
    height: 340px;
    float: left;
    vertical-align: top;
    background: url("/images/facebook.png") center no-repeat;
}

.youtube_block {
    width: 585px;
    height: 338px;
    float: right;
    display: inline-block;
    background: url("/images/video.png") center no-repeat;
    vertical-align: top;
}

/* position dots in carousel */
.flickity-page-dots {
    bottom: 10px !important;
}

/* white circles */
.flickity-page-dots .dot {
    width: 12px !important;
    height: 12px !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 2px solid white !important;
}

/* fill-in selected dot */
.flickity-page-dots .dot.is-selected {
    background: white !important;
}
.header-style {
    background: url("/images/Layer-2.png") top center no-repeat; 
    background-size: cover;
    width:391px; 
    height:226px;
}
.header-style2 {
    background: url("/images/Layer.png") top center no-repeat; 
    background-size: cover;
    width:897px; 
    height:518px;
}

.header-style1 h1 {
    font: 19px/1 'Kanit', sans-serif;
    font-weight: 500;
    color: #66cccc;
    margin: 0;
}

.header-style1 h1 span {
    color: #eb2031;
}

.header-style2 {
    font: 23px/1 'Kanit', sans-serif !important;
    font-weight: 500 !important;
    color: #3b1413 !important;
    text-align: center;
    position: relative;
}

.btn-viewmore {
    position: absolute;
    top: 7px;
    right: 67px;
    display: block;
    text-decoration: none;
    font: 12px/1 'Kanit', sans-serif;
    font-weight: 300;
    color: #eb2031;
}

/* Content */
.page-topic {
    font: 24px/38px 'supermarket';
    color: #fff;
    padding: 0 60px;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(to right, #eb2031 24px, #eb2031 24px, #000000 24px, #000 88%, #000 100%);
    /* W3C */
}

/* About */
.about_container {
    font: 16px/1.5 'Kanit', sans-serif;
    font-weight: 300;
    background-color: #fff;
}

.about_container h1 {
    font: 30px 'Kanit', sans-serif;
    color: #381d02;
    margin-bottom: 1em;
    font-weight: 300;
}


.about_container p {
    font: 16px 'Kanit', sans-serif;
    color: #381d02;
    margin-bottom: 1em;
    font-weight: 300;
}

.about_container h3 {
    font: 18px 'Kanit', sans-serif;
    /* color: #ff3333; */
    margin-bottom: 1em;
}

.about_container img {
    max-width: 100%;
    height: auto !important;
}

.about_container a {
    font: 13.89px/1 'Kanit', sans-serif;
    font-weight: 400;
    text-decoration: none;
    /* color: #F7904C; */
}

.sharebutton {
    float: right;
    vertical-align: top;

}

/* Team */
.team-block {
    font-family: 'Kanit', sans-serif;
}

.team-item-text {
    font: 14px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    min-height: 6rem;
}

.team-block h3,
.team-item-text h3 {
    font: 18px/1 'Kanit', sans-serif;
    font-weight: 300;
}

/* Contact*/
.contact_container {
    position: relative;
    font: 16px/1.5 'Kanit', sans-serif;
    color: #fff;
}

.contact_container_box {
    position: relative;
    font: 16px/1.5 'Kanit', sans-serif;
    color: #fff;
    background: url("/images/bg-contact.jpg") center no-repeat;
    background-size: cover;
}


.contact_container h1 {
    font: 24px 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
    line-height: 1.5em;
}

.contact_container h2 {
    font: 18px 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
    line-height: 1.5em;
}

.contact_container p {
    font: 14px 'Kanit', sans-serif;
    color: #fff;
    margin-bottom: 0 !important;
}

.contact_container hr {
    border-bottom: #fff solid 5px;
    height: 10px;
    width: 10px;
}

/* Article */
.page-title {}

.page-title h1 {
    font: 24px/1 'Kanit', sans-serif !important;
    font-weight: 300 !important;
}

.article-contain {
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    /* background: #F3F3F3; */

}

.article-contain hr {
    color: #b0b8b9a0 !important;
    border-top-width: 1px;
    opacity: 1;
}

.article-contain label {
    font-weight: 400;
}

.article-contain h1 {
    font: 35px/1.4 'Kanit', sans-serif;
    font-weight: 400;
}

.article-contain h2 {
    font-size: 24px;
    color: #100000;
    line-height: 1.5em;
}

.article-contain h3 {
    font: 16px/1.4 'Kanit', sans-serif;
    font-weight: 500;
    color: #555 !important;
}

.article-contain h4 {
    font-size: 18px;
    font-weight: 500;
}

.article-contain h5 {
    font-size: 17px;
    font-weight: 200;
}

.article-contain h6 {
    font: 35px/1 '2005_iannnnnGMO';
}

.article-contain p,
.article-contain li {
    font: 14.24px/1.6 'Kanit', sans-serif;
    font-weight: 300;
    color: #555;
    line-height: 1.5em;
}

.p-contain {
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    /* background: #F3F3F3; */

}

.p-contain p {
    font-size: 14px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    /* background: #F3F3F3; */

}


.p-contain hr {
    background: #0071bd;
}

.p-contain h1 {
    font: 35px/1.4 'Kanit', sans-serif;
    font-weight: 400;

}

.p-contain h2 {
    font-size: 14px;
    color: #73ae3f;
    line-height: 1 em;
}


.p-contain a {
    font-size: 14px;
}

/* Welcome */
.welcome-contain {
    background: #fff;
}


/* Service */
.service-contain-box {
    background-color: #ffffffbc;
}

.service-contain img {
    max-width: 100%;
    height: auto !important;
}

.service-contain {
    position: relative;
    /* background: url('../images/bg-about02.jpg') center no-repeat; */
    background-size: cover;
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px; */
    z-index: 2;
    /* height: 400px; */
    font-family: 'Kanit', sans-serif;
}

.service-contain h1 {
    font: 30px/1.4 'Kanit', sans-serif;
    font-weight: 400;
    color: #000;
}

.service-contain h2 {
    font: 16px/1.4 'Kanit', sans-serif;
    font-weight: 400;
    color: #000;
}

.service-contain a {
    font: 13.89px/1 'Kanit', sans-serif;
    font-weight: 400;
    text-decoration: none;
}

.service-contain p {
    font: 16.89px/1 'Kanit', sans-serif;
    font-weight: 300;
    line-height: 2em;
    color: #666;
    text-decoration: none;

}

.service-contain h3 {
    font: 14px/1.4 'Kanit', sans-serif;
    font-weight: 400;
}

.service-container {
    /* position: relative; */
    z-index: 2;
    font-family: 'Kanit', sans-serif;
    font: 16px/1.4 'Kanit', sans-serif;
    background-color: #001c37;
}

.service-container p {
    font: 13.89px/1 'Kanit', sans-serif;
    font-weight: 200;
    color: #000;
    text-decoration: none;
}


.service-container h1 {
    font: 30px/1.4 'Kanit', sans-serif;
    font-weight: 400;
    color: #000;
}

.service-container h2 {
    font: 16px/1.4 'Kanit', sans-serif;
    font-weight: 400;
    color: #000;
}

.service-container a {
    font: 13.89px/1 'Kanit', sans-serif;
    font-weight: 400;
    color: #000;
    text-decoration: none;
}


.material-container {
    /* position: relative; */
    z-index: 2;
    font-family: 'Kanit', sans-serif;
    font: 16px/1.4 'Kanit', sans-serif;
}

.material-container p {
    font: 13.89px/1 'Kanit', sans-serif;
    font-weight: 200;
    color: #000;
    text-decoration: none;
}


.material-container h1 {
    font: 30px/1.4 'Kanit', sans-serif;
    font-weight: 400;
    color: #000;
}

.material-container h2 {
    font: 16px/1.4 'Kanit', sans-serif;
    font-weight: 400;
    color: #000;
}

.material-container a {
    font: 13.89px/1 'Kanit', sans-serif;
    font-weight: 400;
    color: #000;
    text-decoration: none;
}




.imgtransparent {
    opacity: 0.5;
    /* ค่าความจาง */
    filter: alpha(opacity=100);
    /* สำหรับ IE8 ขึ้นไป */
}

.imgtransparent:hover {
    opacity: 1;

    /* ค่าความจาง */
    filter: alpha(opacity=40);
    /* สำหรับ IE8 ขึ้นไป */
}

.service-box {
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    font-weight: 200;
    background-color: #001c37;
    height: 300px;

}

.service-box:hover {
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    font-weight: 200;
    background-color: #2d75fd;
    height: 300px;

}

.service-box2 {
    font-size: 24px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    font-weight: 200;
    background-color: #001c37;

}

.service-box2:hover {
    font-size: 24px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    font-weight: 200;
    background-color: #2d75fd;

}

.service-box hr {
    color: #CACACA !important;
    /* border-top-width: 2px; */
    border-top: 3px dotted #8c8b8b97;
    opacity: 1;
}

.service-box label {
    font-weight: 400;
}

.service-box h1 {
    font: 30px/1.4 'Kanit', sans-serif;
    font-weight: 400;
}

.service-box h2 {
    font-size: 24px;
}

.service-box p {
    font: 14px/1.4 'Kanit', sans-serif;
    font-weight: 300;
}

.service-box-text-1 {
    font: 18px/1.4 'Kanit', sans-serif;
    font-weight: 500;
    background-color: #EEEFF3;
    height: 380px;
}

.service-box-text-2 {
    font: 18px/1.4 'Kanit', sans-serif;
    font-weight: 500;
    background-color: #679A01;
    height: 400px;

}

/* .service-block {
    height: 410px;
    position: relative;
}

.service-block .mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-attachment: fixed;

}

.service-block .mask p {
    color: #000;
}

.service-block:hover .mask {
    background-color: rgba(0, 85, 167, 1) !important;
    --mdb-image-hover-transition: all 0.3s ease-in-out;
    transition: var(--mdb-image-hover-transition);
}

.service-block:hover .mask p {
    color: #fff !important;
    --mdb-image-hover-transition: all 0.3s ease-in-out;
    transition: var(--mdb-image-hover-transition);
}

.service-block:hover .mask h3 {
    color: #fff !important;
}

.service-detail-contain-bg {
    background-size: 100% auto;
} */

/* News */
.news-item {}

/* Social Link */
.social-link {
    position: relative;
}

.social-link h1 {
    font: 19px/1 'Kanit', sans-serif;
    font-weight: 500;
    color: #333;
}

.social-link h1 span {
    color: #eb2031;
}

/* Footer */
/* .footer_bar {
    height: 28px;
    font: 19.5px/28px 'kittithada_roman_55regular';
    text-align: center;
}

.footer_bar p {
    margin: 0;
    padding: 0;
} */

.footer_container {
    /* position: relative; */
    z-index: 2;
    font-family: 'Kanit', sans-serif;
    color: #000;


}

.footer_container p {
    font: 16px 'Kanit', sans-serif !important;
    font-weight: 100 !important;
    color: #000;

}

.footer_container h1 {
    font: 12px 'Kanit', sans-serif !important;
    font-weight: 200 !important;
    color: #351E00;

}

.footer_container h2 {
    font: 36px 'Kanit', sans-serif !important;
    font-weight: 100 !important;
    color: #000;
}

.footer_container a {
    font: 14px 'Kanit', sans-serif !important;
    font-weight: 200 !important;
    color: #000;

}
.footer_container a:hover {
    font: 14px 'Kanit', sans-serif !important;
    font-weight: 200 !important;
    color:#00c9e0;

}

/* Websetting */
.bg-blue-1 {
    background-color: #0071bd;
}

.bg-blue-2 {
    background-color: #0071bd;
}

.bg-soft-gray-1 {
    background-color: #f8f8f8;
}

.bg-soft-gray-2 {
    background-color: #ccc;
}

.font-color-orange {
    color: #ff9900;
}

.font-color-blue {
    color: #0071bd;
}

.font-color-gray-1 {
    color: #797979;
}

/* Simple Pager Nav */
ul.simplePagerNav {
    position: relative;
    z-index: 2;
    margin-top: 5px;
    text-align: center;
}

ul.simplePagerNav li {
    display: inline-block;
    padding: 3px;
    margin-bottom: 10px;
    font-family: georgia;
    width: 15px;
    text-align: center;
    border: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #e7e7e7;
    margin: 0 2px;
    box-sizing: content-box;
}

ul.simplePagerNav li a {
    color: #00c9e0;
    text-decoration: none;
}

ul.simplePagerNav li.currentPage {
    background: #00c9e0;
}

ul.simplePagerNav li.currentPage a {
    color: #fff;
}

#scrollUp {
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background: #555;
    color: #fff;
    text-decoration: none;
}

.modal-content {
    font-family: 'Kanit', sans-serif;
}

/* Clearfix */
.clearfix {
    clear: both;
}

.social-logo {
    width: 40px;
    height: auto;
    position: fixed;
    right: 0;
    top: 30%;
    z-index: 99;
}

.social-logo a img {
    transition: all 0.5s;
}

.social-logo a:hover img {
    transform: scale(1.2);
}

/* zoom image */
.wrapper {
    /* padding: 50px 50px; */
    max-width: 1200px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    /* margin-top: 80px; */
}
.parent {
    width: 100%;
    /* margin: 20px; */
    /* height: 300px; */
    /* border: 1px solid blue; */
    overflow: hidden;
    position: relative;
    /* float: left; */
    display: inline-block;
    cursor: pointer;
}

.child {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}


.parent:hover .child, .parent:focus .child {
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.parent:hover .child:before, .parent:focus .child:before {
    display: block;
}

.parent:hover a, .parent:focus a {
    display: block;
}

.child:before {
    content: "";
    display: none;
    /* height: 100%; */
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(52,73,94,0.75);
}