@import "mobile_menu.css";
@import "card.css";
@import "custom-bg.css";

.ug-thumb-ratio-set{background-color:rgba(240, 240, 240, 0) !important;}

body {
	background-color: #FFF;
	color: #606060;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 17px;
	line-height: 25px;
	margin: 0;
}

.btn-primary {
  border: 2px solid #FFF !important;
}

p {
	color: #1a1a1a;
	line-height: 25px !important;
	margin: 0px !important;
}

.mb-4, .my-4 {
  margin-bottom: 2.0rem !important;
}

.font-1 {
	font-family: 'Noto Sans Thai', sans-serif;
}

.font-2, .btn {
	font-family: 'Noto Sans Thai', sans-serif;
}

.img200 {
	width: 100%;
	max-width: 200px;
	height: auto;
	margin-bottom: 5px;
}

.img300 {
	width: 100%;
	max-width: 300px;
	height: auto;
	margin-bottom: 5px;
}

.img400 {
	width: 100%;
	max-width: 400px;
	height: auto;
	margin-bottom: 5px;
}

.img500 {
	width: 100%;
	max-width: 500px;
	height: auto;
	margin-bottom: 5px;
}

.img600 {
	width: 100%;
	max-width: 600px;
	height: auto;
	margin-bottom: 5px;
}

.img700 {
	width: 100%;
	max-width: 700px;
	height: auto;
	margin-bottom: 5px;
}

h1 {
  font-size: 34px;
  font-weight: 400;
  line-height: 41px;
}

h2 {
	font-size: 22px;
	font-weight: 400;
	line-height: 28px;
}

h3 {
	font-size: 20px;
	font-weight: 400;
	line-height: 31px;
}

h4 {
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
}

h5 {
	font-size: 20px;
	font-weight: 400;
	line-height: 32px;
}

h6 {
	font-size: 20px;
	font-weight: 400;
	line-height: 32px;
}


.btn {
    border-radius: 40px !important;
}

.header-btn-collapse-nav{
	font-size: 22px;
}

#header .header-nav.header-nav-links nav > ul > li > a.active, #header .header-nav.header-nav-line nav > ul > li > a.active {
    background: #f0f0f0 !important;
    color: #0594EE !important;
}

#header.header-effect-shrink .header-container {
    min-height: 80px;
}

.text-size-1 {
	font-size: 30px;
	font-weight: 400;
	line-height: 40px;
}

.text-primary {
	color: #089bef !important;
}

.text-grey {
	color: #999 !important;
}

.text-black {
	color: #333 !important;
}

.text-purple {
	color: #B213C8 !important;
}

.text-white {
	color: #FFF !important;
}

.text-green {
	color: #1DC60F !important;
}

.text-pink {
	color: #FF1756 !important;
}

.text-red {
	color: #D7000B !important;
}

.text-black {
	color: #333 !important;
}

.text-orange {
	color: #e8ae3e !important;
}

.text-gold {
	color:#E5B737 !important;
}

.text-blue {
	color: #47aef1 !important;
}

.text-brown {
	color: #CC7E47 !important;
}

.text-sky {
	color: #06C7F0 !important;
}

.text-yellow {
	color: #FFA700 !important;
}

.text-footer {
	color: #1edfff !important;
}

.btn-success:hover, .btn-success.hover, .btn-danger:hover, .btn-danger.hover {
	box-shadow: 0px 2px 15px #999;
}

.btn {
    padding: 9px 24px !important;
}

.category img {
	width: 100%;
	border: 0px solid #F4F4F4;
	border-radius: 10px;
	transition: ease all 0.3s;
}

.category img:hover {
	transition: ease all 0.3s;
	box-shadow: 0px 2px 15px #00000059;
}

.thumb-info:hover {
	transition: ease all 0.3s;
	/*box-shadow: 0px 9px 20px #0000000a;*/
    margin-top: -10px !important;
   /* background: #FFF;*/
}

.thumb-info {
	display: block;
	position: relative;
	text-decoration: none;
	max-width: 100%;
	/*background-color: #FFFFFF;*/
	border-radius: 8px;
	padding: 10px;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	transition: ease all 0.3s;
}

.thumb-info .thumb-info-inner {
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	display: block;
	font-size: 18px;
	line-height: 26px;
	max-height: 51px;
	overflow: hidden;
}

.thumb-info .thumb-info-type, .thumb-info .thumb-info-action-icon, .thumb-info-social-icons a, .thumbnail .zoom, .img-thumbnail .zoom, .thumb-info-ribbon {
	background-color: #cc040e;
	color: #666;
}

.input-lg {
	font-size: 18px !important;
	line-height: 25px !important;
	height: 50px !important;
	padding: 0px 15px !important;
}

.badge {
	font-weight: 500 !important;
}

.page-header {
	background-color: #212529;
	padding: 16px 0;
	position: relative;
	text-align: left;
	z-index: 1;
}

html .badge-primary {
  background-image:linear-gradient(120deg, #007dcc 0%, #14BDF2 100%);
  color: #FFFFFF !important;
  font-size: 14px;
}

html .badge-primary:hover {
	background-color: #D9D9D9 !important;
	color: #000 !important;
}

html .bg-color-primary, html .bg-primary {
	background: #73BD42 !important;
	border-top: 0px solid #e8b86066;
	border-bottom: 0px solid #E10000;
	box-shadow: 0px 5px 20px #00000063;
}

#header .header-nav-top .nav > li > a, #header .header-nav-top .nav > li > span {
    color: #FFFFFF !important;
}

.btn-primary {
  background-image: linear-gradient(120deg, #008ee8 0%, #14bdf2 100%);
  color: #FFFFFF !important;
  border: 0px solid #f08e2f !important;
}

.btn-primary:hover {
  border: 0px !important;
  box-shadow: 0px 2px 15px #fff9;
  transition: ease all 0.3s;
}

.btn-success {
  border: 0px solid #FFF !important;
}

.btn-lg {
	font-size: 18px !important;
}

/* DESKTOP */

.page-header {
	background-color: #1a1a1a !important;
}

.page-header a {
	text-decoration: none;
	font-size: 14px;
}

.page-header .breadcrumb > li {
	display: inline-block;
	text-transform: uppercase;
	text-shadow: none;
	color: #c1c1c1;
	font-size: 14px;
}

.page-header .breadcrumb > li + li:before {
	color: inherit;
	opacity: 0.8;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: "\f105";
	padding: 0 7px 0 5px;
}

html #header .header-nav:not(.header-nav-line):not(.header-nav-links) .header-nav-main nav > ul:not(:hover) > li.dropdown-full-color.dropdown-light > a.active {
	background: #626262;
}

#header .header-nav-main nav > ul > li.open > a, #header .header-nav-main nav > ul > li:hover > a {
	background: #0b71e100;
}

#header .header-body {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	background: #000000;
	-webkit-transition: min-height 0.3s ease;
	transition: min-height 0.3s ease;
	width: 100%;
	border-top: 3px solid #EDEDED;
	border-bottom: 1px solid transparent;
	z-index: 1001;
	/*box-shadow: 0px 3px 13px #d2d2d2;*/
}

#header .header-top.header-top-default {
	background:#25C0E3;
}

#header .header-nav-main nav > ul > li > a {
	color: #FFFFFF !important;
}

#header .header-nav-main nav > ul > li > a:hover {
	color: #00DBFF !important;
}

#header .header-nav.header-nav-stripe nav > ul > li:hover > a, #header .header-nav.header-nav-stripe nav > ul > li.open > a {
	background-color: #B24B10;
	color: #FFF !important;
}

#header .header-nav.header-nav-stripe nav > ul:not(:hover) > li > a.active {
	background-color: #B24B10;
}

#header .header-nav.header-nav-line nav > ul:not(:hover) li > a.active {
	color: #B24B10;
}

#header .header-nav.header-nav-line nav > ul li:hover > a::before {
	background: #B24B10;
}

#header .header-nav.header-nav-line nav > ul:not(:hover) li > a.active::before {
	background: #B24B10;
}

#header .header-nav.header-nav-line nav > ul li:hover > a {
	color: #F70003;
}

#header .header-nav.header-nav-force-light-text .header-nav-main nav > ul > li > a, #header .header-nav.header-nav-force-light-text .header-nav-main nav > ul > li .wrapper-items-cloned > a {
	color: #FFFFFF !important;
}

#header .header-nav.header-nav-force-light-text:not(.header-nav-force-light-text-active-skin-color) .header-nav-main nav > ul:not(:hover) > li > a.active, #header .header-nav.header-nav-force-light-text:not(.header-nav-force-light-text-active-skin-color) .header-nav-main nav > ul:not(:hover) > li .wrapper-items-cloned > a.active {
	color: #FFFFFF !important;
	font-weight: 400;
}

#header .header-top {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	box-shadow: 0px 2px 15px #66666645;
	min-height: 47px;
	background-color: #169ef2;
}

#header .header-column .header-extra-info li .header-extra-info-text label {
	display: block;
	margin: 0;
	font-size: 17px;
	line-height: 1.2;
}

#header .header-nav.header-nav-force-light-text:not(.header-nav-force-light-text-active-skin-color) .header-nav-main nav > ul > li:hover > a, #header .header-nav.header-nav-force-light-text:not(.header-nav-force-light-text-active-skin-color) .header-nav-main nav > ul > li .wrapper-items-cloned:hover > a {
	color: #8e8e8e !important;
}

#header .header-nav-main nav > ul > li > a {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	border-radius: 30px;
	color: #CCC;
	font-size: 16px;
	font-style: normal;
	padding: 8px 23px;
	text-transform: uppercase;
}

section.page-header .page-header-title-border {
	background-color: #00AEEF !important;
}

.page-header .breadcrumb a {
	color: #1edfff !important;
}

.page-header.page-header-classic:after {
	content: '';
	width: 100%;
	height: 1px;
	/*background: #a1e3ff;*/
	position: absolute;
	bottom: 0;
	left: 0;
}

.page-header h1 {
	color: #1edfff !important;
	display: inline-block;
	font-size: 27px;
	line-height: 36px;
	margin: 0;
	padding: 0;
	font-weight: 400;
	position: relative;
	top: 1px;
}

.page-header.page-header-classic .page-header-title-border {
    width: 0;
    height: 5px;
    position: absolute;
    bottom: 0;
    background: #c1c1c1 !important;
    z-index: 1;
}

.text-underline{
	text-decoration: underline;
}

/* MOBILE */
@media (max-width: 991px) {

#header .header-nav.header-nav-force-light-text:not(.header-nav-force-light-text-active-skin-color) .header-nav-main nav > ul:not(:hover) > li > a.active, #header .header-nav.header-nav-force-light-text:not(.header-nav-force-light-text-active-skin-color) .header-nav-main nav > ul:not(:hover) > li .wrapper-items-cloned > a.active {
	color: #FFF !important;
	font-weight: 400;
}

#header .header-nav-main nav > ul li {
  border-bottom: 0px solid #e8e8e8;
}
    
#header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a.active {
  background:linear-gradient(120deg, #0697ee 0%, #000 95%) !important;
  color:#fff !important;
}
	
#header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a {
	color: #FFFFFF !important;
	font-size: 17px;
}
    
#header .header-btn-collapse-nav {
    background: #fff !important;
    color: #13bcf2;
    border: 5px solid #13bcf2;
    padding: 12px 15px;
    border-radius: 40px;
    margin-top: 0px;
}
    
#header .header-nav.header-nav-force-light-text .header-nav-main nav > ul > li > a, #header .header-nav.header-nav-force-light-text .header-nav-main nav > ul > li .wrapper-items-cloned > a {
	color: #3079D8 !important;
}

.dropdown-item {
	background-color: transparent;
}
}
 @media (min-width: 900px) {

	.mobile-menu, .hide-desktop {
		display: none;
	}
}

#footer {
	background: #202020;
	box-shadow: 0px -5px 20px #0009;
}

#footer .footer-copyright.footer-copyright-style-2 {
	background: #D9D9D9;
	color: #FFF;
	padding: 20px 10px;
	text-align: center;
	font-size: 15px;
}

#footer .footer-copyright.footer-copyright-style-2 {
  background: linear-gradient(120deg, #0594EE 0%, #14BDF2 100%);
  border-top: 2px solid #13b8ed;
}

.thumb-info.thumb-info-no-borders, .thumb-info.thumb-info-no-borders img {
	border: 0;
	padding: 0px;
	margin: 0;
	border-radius: 0;
}

.thumb-info.thumb-info-no-borders.thumb-info-no-borders-rounded, .thumb-info.thumb-info-no-borders.thumb-info-no-borders-rounded img, .thumb-info.thumb-info-no-borders.thumb-info-no-borders-rounded .thumb-info-wrapper, .thumb-info.thumb-info-no-borders.thumb-info-no-borders-rounded .thumb-info-wrapper::after {
    border-radius: 6px !important;
}

.social-icons li a {
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
	border-radius: 100%;
	display: block;
	height: 28px;
	line-height: 28px;
	width: 28px;
	text-align: center;
	color: #FFFFFF !important;
	text-decoration: none;
	font-size: 13px;
}

.social-icons li:hover a {
	background: #979797;
	color: #FFF !important;
}

.social-icons li {
	display: inline-block;
	margin: -1px 1px 0 0;
	padding: 0;
	border-radius: 100%;
	overflow: visible;
	border: 2px solid #FFFFFF;
}

.thumb-info .thumb-info-wrapper:after {
	content: "";
	/*background: rgba(0, 0, 0, 0.34);*/
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	border-radius: 4px;
	bottom: -4px;
	color: #FFF;
	left: -4px;
	position: absolute;
	right: -4px;
	top: -4px;
	display: block;
	opacity: 0;
	z-index: 1;
}

.mobile-menu {
	padding: 7px 0px;
	border-radius: 10px;
	font-size: 17px;
	text-align: center;
	display: block;
	color:#f9f9f9 !important;
}

a .mobile-menu{
	color: #f9f9f9 !important;	
}

.mobile-menu-active {
    background: #3D67AF;
    border: 3px solid #7bd440;
    padding: 7px 0px;
    border-radius: 50px;
    font-size: 17px;
    text-align: center;
    display: block;
    color: #fff;
}

.card-img-top .head {
    border-radius: 10px 10px 0px 0px;
}

.card-img-top .body .title {
    font-size: 22px;
    margin-bottom: 5px;
}

.card-img-top {
    box-shadow: 0px 2px 15px #ececec;
    border-radius: 10px;
}

.card-img-top .body {
    padding: 20px 10px;
    border-radius: 0px 0px 10px 10px;
    /*border-bottom: 3px solid #0468bf;*/
	background-color: #FFF;
}

.thumb-info.thumb-info-bottom-info-dark .thumb-info-title {
    background: #000c !important;
    color: #FFF;
}
/* ===== zoom gallery + lightbox (replaces unitegallery) ===== */
.zoom-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;}
.zoom-gallery .zoom-item{display:block;position:relative;overflow:hidden;border-radius:10px;cursor:zoom-in;box-shadow:0 4px 14px rgba(0,0,0,.10);}
.zoom-gallery .zoom-item img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;transition:transform .35s ease;}
.zoom-gallery .zoom-item::after{content:"\f00e";font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;color:#fff;background:rgba(0,0,0,.35);opacity:0;transition:opacity .3s;font-size:1.6rem;}
.zoom-gallery .zoom-item:hover img{transform:scale(1.08);}
.zoom-gallery .zoom-item:hover::after{opacity:1;}

/* ===== modern contact buttons ===== */
.contact-btns{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;align-items:stretch;margin:6px 0;}
.btn-contact{display:inline-flex;align-items:center;gap:12px;justify-content:center;min-width:240px;padding:13px 30px;border-radius:50px;font-family:'Noto Sans Thai',sans-serif;font-weight:700;font-size:1.15rem;color:#fff !important;text-decoration:none !important;line-height:1.15;box-shadow:0 8px 20px rgba(0,0,0,.18);transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;}
.btn-contact i{font-size:1.35em;}
.btn-contact .bc-txt{display:flex;flex-direction:column;align-items:flex-start;}
.btn-contact .bc-txt small{font-weight:400;font-size:.66em;opacity:.92;}
.btn-contact:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(0,0,0,.26);filter:brightness(1.06);color:#fff !important;}
.btn-contact:active{transform:translateY(-1px);}
.btn-contact-tel{background:linear-gradient(135deg,#13a4ff 0%,#0568df 100%);}
.btn-contact-line{background:linear-gradient(135deg,#28d44d 0%,#06b32f 100%);}
@media(max-width:480px){.btn-contact{min-width:100%;}}
/* ===== SEO content section (modern) ===== */
.seo-head{text-align:center;margin-bottom:28px;}
.seo-h1{display:inline-block;position:relative;padding-bottom:14px;margin-bottom:0;}
.seo-h1::after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:0;width:72px;height:4px;border-radius:3px;background:linear-gradient(135deg,#13a4ff,#0568df);}
.seo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px;align-items:start;}
.seo-card{background:#fff;border:1px solid #eef1f6;border-radius:16px;padding:24px 22px;box-shadow:0 6px 18px rgba(13,40,80,.05);transition:transform .25s ease,box-shadow .25s ease;}
.seo-card:hover{transform:translateY(-5px);box-shadow:0 16px 30px rgba(13,40,80,.12);}
.seo-icon{width:54px;height:54px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;background:linear-gradient(135deg,#13a4ff,#0568df);box-shadow:0 8px 16px rgba(5,104,223,.28);margin-bottom:16px;}
.seo-card-title{font-size:19px !important;line-height:1.5 !important;color:#0b3d73 !important;margin:0 0 10px !important;font-weight:500;}
.seo-card-text{color:#465a70 !important;line-height:1.8 !important;margin:0 !important;}
.seo-check{list-style:none;padding:0;margin:0;}
.seo-check li{display:flex;align-items:flex-start;gap:10px;margin-bottom:9px;color:#465a70;line-height:1.6;}
.seo-check li i{color:#1DC60F;font-size:18px;margin-top:3px;flex:none;}
.seo-faq-title{text-align:center;margin:40px 0 18px !important;}
.seo-faq{/*max-width:880px;*/margin:0 auto;}
.seo-faq-item{background:#fff;border:1px solid #e9edf3;border-radius:14px;margin-bottom:12px;overflow:hidden;transition:box-shadow .25s ease,border-color .25s ease;}
.seo-faq-item.open{border-color:#bfe0ff;box-shadow:0 10px 24px rgba(13,40,80,.08);}
.seo-faq-q{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;cursor:pointer;}
.seo-faq-q h3{margin:0 !important;font-size:17px !important;line-height:1.5 !important;color:#0b3d73 !important;font-weight:500;}
.seo-faq-q .chev{color:#0a8cf0;font-size:16px;transition:transform .3s ease;flex:none;}
.seo-faq-item.open .seo-faq-q .chev{transform:rotate(180deg);}
.seo-faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;}
.seo-faq-item.open .seo-faq-a{max-height:680px;}
.seo-faq-a p{padding:0 20px 18px;margin:0 !important;color:#465a70 !important;line-height:1.8 !important;}
@media(max-width:600px){.seo-card{padding:20px 18px;}}
/* ===== Quill page content (frontend rendering) ===== */

.page-content img{max-width:100%;height:auto;border-radius:8px;}
.page-content ul,.page-content ol{padding-left:1.6em;margin:0 0 1em;}
.page-content .ql-align-center{text-align:center;}
.page-content .ql-align-right{text-align:right;}
.page-content .ql-align-justify{text-align:justify;}
.page-content .ql-indent-1{padding-left:3em;}.page-content .ql-indent-2{padding-left:6em;}.page-content .ql-indent-3{padding-left:9em;}.page-content .ql-indent-4{padding-left:12em;}
.page-content .ql-indent-5{padding-left:15em;}.page-content .ql-indent-6{padding-left:18em;}.page-content .ql-indent-7{padding-left:21em;}.page-content .ql-indent-8{padding-left:24em;}
.page-content blockquote{border-left:4px solid #ccc;padding-left:16px;margin:1em 0;color:#555;}
.page-content pre,.page-content .ql-code-block{background:#f4f4f4;border-radius:6px;padding:12px;overflow:auto;font-family:monospace;}
.page-content iframe{max-width:100%;}

/* ===== areas extra content (Quill on blue bg) ===== */
.areas-content{color:#fff;}
.areas-content h1,.areas-content h2,.areas-content h3,.areas-content h4,.areas-content h5,.areas-content h6,.areas-content p,.areas-content li,.areas-content strong,.areas-content em,.areas-content span,.areas-content blockquote{color:#fff;}
.areas-content h1{font-size:32px;font-weight:500;line-height:1.5;margin:8px 0;}
.areas-content h2{font-size:26px;font-weight:500;line-height:1.6;margin:6px 0;}
.areas-content h3{font-size:22px;font-weight:500;}
.areas-content a{color:#ffe08a;text-decoration:underline;}
.areas-content img{max-width:100%;height:auto;border-radius:8px;}
.areas-content .ql-align-center{text-align:center;}.areas-content .ql-align-right{text-align:right;}.areas-content .ql-align-justify{text-align:justify;}

/* ===== global font -> Prompt (icons keep their own font) ===== */
body, .font-1, .font-2, .btn, h1, h2, h3, h4, h5, h6, p, a, li, td, th, label, summary, input, textarea, select, button, .nh, #header, #header a, #footer, #footer a { font-family:'Prompt','Noto Sans Thai',sans-serif !important; }
