@font-face {
    font-family: 'Kanit';
    src: url('font/Kanit-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'simi';
    src: url('font/psl150_0-webfont.woff2') format('woff2'), url('font/psl150_0-webfont.woff') format('woff'), url('font/psl150_0-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: fallback;
    font-display: swap;
}

body {
    padding: 0px !important;
    background-color: #fff;
	    font-family: kanit;
}

.nopad {
    padding: 0px !important;
}

.bg-menu {
    background-color: #fff;
}

.banner,
.banner-page {
    background-image: url(img/bg-banner-new2.gif?v=2);
    background-position: top center;
    background-size: cover;
}

.box-sh {
    box-shadow: 1px 1px 8px 4px #000000eb;
}

.box-sh2 {
    box-shadow: 1px -3px 9px 4px #00000073;
}

.nav-top {
    padding: 0px !important;
    margin: 0px;
}

.navbar {
    padding: 5px;
}

.custom-navbar {
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-nav {
    background-color: rgb(11, 71, 85);
    position: relative;
    text-align: left;
    float: left;
    width: 100% !important;
}


/* ลิงก์เมนู */

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    font-size: 16px;
    padding-left: 15px;
    padding-right: 15px;
}

.logo-img {
    width: 220px;
}


/* Divider | */

.nav-divider {
    color: #fff;
    font-size: 18px;
    padding: 0 10px;
    user-select: none;
}


/* ปรับสี toggle บน mobile ให้ดูเข้ากับพื้นหลัง */

.navbar-toggler {
    border-color: #607D8B;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23165867' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

section {
    padding: 50px 20px
}

#aboutus,
#work {
    text-align: center;
    font-family: 'Kanit';
}

#work {
    background-color: #c8d7e6;
}

h2 {
    color: #154e5b;
    font-size: 22px;
    font-weight: bold;
}

.row1 {
    width: 85%;
    margin: 0 auto;
}

.row2 {
    width: 85%;
    margin: 0 auto;
}

#banner-foot {
    padding: 60px 30px 80px 30px;
    background-image: url(img/banner-footer.png);
    background-position: center;
    background-size: cover;
    text-align: center;
    font-size: 35px;
    font-family: 'Kanit';
    color: #fff;
    text-shadow: 1px 2px 3px #000, 2px 3px 7px #484646, 2px 3px 7px #212121;
}

footer {
    padding-top: 20px;
    background: linear-gradient(to bottom, #4a98a2, #0b4e5b, #0b4e5b);
    color: #fff;
}

#product{
	   background-color: #c8d7e6;
	text-align:center;
	    padding-top: 30px;
	
}

#product .container{
	   padding: 0px;
	max-width: 1100px;
}
.box{
	  background-color: #dfecf6;
border-radius:30px;
	box-shadow: 0px 5px 9px 4px #00000073;
	margin-top:30px;
	margin-bottom:30px  !important;
	padding-top:30px !important;
}
.box-pro{
  background-color: #dfecf6;
    background-image: url(img/bg-boxpro.png);
    background-position: right;
    background-repeat: repeat-y;
    background-position: 350px;
	text-align:left;

}
.my-product {
    box-shadow: -1px 1px 10px 5px #84a7b4;
}
.box-pro2{
    background-image: url(img/bg-boxpro2.png);
    background-position: left;
    background-repeat: repeat-y;
    background-position: -800px;
		text-align:right;

}

.box-pro2 .detail-pro h3 {

    text-align: right;
	font-family: 'simi';
	    text-shadow: 1px 3px 1px #5a7e8b, -1px -2px 7px #6e96a2, 1px 7px 7px #6b919e;
	    line-height: 0.6;
	    padding-top: 40px;
}
    .box-pro2 .detail-pro {
        padding-right: 30px;
		text-align:right;
    }
.box-pro .detail-pro h3 {

	font-family: 'simi';
	    text-shadow: 1px 3px 1px #5a7e8b, -1px -2px 7px #6e96a2, 1px 7px 7px #6b919e;
	    line-height: 0.6;
	padding-top: 50px;
}
.box-pro img, .box-pro2 img{
	width:90%;
}
.detail-pro {
  display: flex;
  flex-direction: column;      /* เรียงแนวตั้ง */
  justify-content: center;     /* จัดกลางแนวตั้ง */
  height: 100%;                /* ต้องให้สูงเต็ม parent ด้วย */
	padding-top:60px;
}


.category-list li {
margin: 5px 0;
    list-style-type: none;
    padding-left: 20px;
    padding-right: 20px;
    color: #fff !important;
	font-weight: bold;
}
.category-list li a {
  text-decoration: none;
  color: #f7fafa;
}
.category-list li a:hover {
  text-decoration: underline;
}

.product-title,
.product-desc {
  display: block;
}

.product-desc {
      font-family: kanit;
    color: #141313;
    text-shadow: 6px 4px 6px #ffffff, 0px -8px 7px #ffffff, -6px 4px 7px #ffffff;
}
#product .row{}

.detail-pro h3 { font-size: 65px;
    color: #055161;
    text-align: left;}
.cat{
	    font-family: kanit;
    color: #000000;
    text-shadow: 1px 2px 3px #ffffff, -1px -5px 7px #ffffff, -4px -2px 7px #ffffff;
	margin-bottom: 20px;
}
.cat-topic{
	font-family: 'simi';
    font-size: 40px;
    color: #16525f;
    text-shadow: 1px 3px 1px #5ea0ae, -1px -2px 7px #84adb9, 0px 3px 3px #4e99b3;
}	
.category-list {
    flex-direction: column;
    align-items: stretch;
	list-style: none;
    padding: 0;
    color: #fff;
    background-color: #5a8390;
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 10px;
  }
html {
  scroll-behavior: smooth;
}
footer p{
	font-size: 25px;
    border-bottom: 1px dotted;
}
.dt-f{
	font-size: 16px;
     border-bottom: 0px;
}
.topic{
	        color: #2d6f7d;
        font-weight: bold;
}
footer a{
	color: #fff;
}
@media (min-width:576px) {}

@media (min-width:768px) {

}

@media (min-width:810px) {
	
	.category-list {

    display: flex;
 flex-direction: row;
  }
}

@media (min-width: 992px) {

	.box-pro .detail-pro{
	padding-right: 30px;
	}
		.box-pro2 .detail-pro{
	padding-left: 30px;
	}
    .navbar {
        padding: 0px !important;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 35px;
        padding-left: 35px;
    }
    .navbar-brand {
        padding-left: 20px;
        padding-top: 0;
        padding-bottom: 0;
    }
    .logo-img {
        width: 280px;
    }

	    .navbar-nav {
        background-color: rgb(11, 71, 85);
        position: relative;
        bottom: -18px;
        clip-path: polygon(20px 0px, 100% 0px, 100% 100%, 0% 100%);
        text-align: left;
        float: left;
        width: 80% !important;
        padding-left: 8%;
    }
    .row2 {
        width: 65%;
        margin: 0 auto;
    }
	
	.box-pro.animate-in {
  animation: slideInRightBG 1.2s ease-out forwards;
}
.box-pro2.animate-in {
  animation: slideInLeftBG 1.2s ease-out forwards;
}

@keyframes slideInRightBG {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 450px 0;
  }
}

@keyframes slideInLeftBG {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: -800px 0;
  }
	}
	
	.box-pro {
  background-color: #dfecf6;
  background-image: url(img/bg-boxpro.png);
  background-repeat: repeat-y;
  background-position: 100% 0; 
  background-size: auto 100%;
  text-align: left;
}

@keyframes slideInRightBG {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 450px 0;
  }
}
	
	.box-pro2 {
  background-color: #dfecf6;
  background-image: url(img/bg-boxpro2.png);
  background-repeat: repeat-y;
  background-position: -100% 0; 
  background-size: auto 100%;
  text-align: left;
}

@keyframes slideInLeftBG {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position:-250px 0;
  }
}
	
	
	
}

@media (min-width: 1200px) {
    .navbar-brand {
        padding-left: 30px;
    }
}

@media (min-width: 1400px) {
    .navbar-brand {
        padding-left: 320px;
    }
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {}
}

@media (min-width: 1600px) {}