@font-face {
    font-family: "cs-prajad";
    src: url("../webfonts/CSPraJad-bold v2.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: fallback;
}
@font-face {
    font-family: "cs-prajad";
    src: url("../webfonts/CSPraJad v2.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: fallback;
}

html {
    scroll-behavior: smooth;
}
body {
	font-family: 'cs-prajad', sans-serif;
	color: #4B6C66;
}

a {
	transition: 0.3s;
	text-decoration: none;
}

a:hover {
	transition: 0.3s;
	text-decoration: none;
}

button:focus {
	outline: none;
}

img {
	max-width: 100%;
}

header {
	position: fixed;
	width: 100%;
	z-index: 100;
	background-color: transparent;
	color: #4B6C66;
	transition: .2s ease-in;
}

::-webkit-scrollbar {
  width: 0;  /* Remove scrollbar space */
  background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
  background: transparent;
}

header .show_logo_1 {
	display: block;
}
header .show_logo_2 {
	display: none;
}

header.bg {
	background-color: #4A6B65;
}
header.bg .main-menu ul li a {
	color:#fff;
}
header.bg .show_logo_1 {
	display: none;
}
header.bg .show_logo_2 {
	display: block;
}

.logo {
	width: 150px;
	display: block;
}

.top-menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.main-menu ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

.main-menu ul li {
	display: inline-block;
}

.main-menu ul li a {
	color: #4A6B65;
	padding: 0 8px;
	font-size: 1.25rem;
}
.main-menu ul li:hover a {
	color: #0b0b0b;
}
section {
	background-color: #fff;
}
.section-page {
	padding: 80px 0;
	position: relative;
}
/*.section-page .toppic-bg, .section-page .toppic-bg-mobile {*/
/*	background-size: cover;*/
/*	background-repeat: no-repeat;*/
/*	width: 100%;*/
/*	height: 100%;*/
/*}*/
/*.section-page .toppic-bg-mobile{*/
/*	!*position: absolute;*!*/
/*  !*width: 120px;*!*/
/*  height: 60px;*/
/*  bottom: -20px;*/
/*  z-index: 10;*/
/*  !*background-position: center;*!*/
/*  left: 15px;*/
/*  margin-left: auto;*/
/*  margin-right: auto;*/
/*  -webkit-box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.1);*/
/*  box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.1);*/
/*    color: #0b0b0b;*/
/* }*/
/*----------------- box-menu-row mainpage ----------------- */

.box-menu-row {
	display: flex;
	flex-wrap: wrap;
}

.box-main.box-menu-row .sq-main-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	color: #fff;
    height: 100%;
	/*background-color: #D6AF80;*/
}

.box-main.box-menu-row .sq-main-menu .inner-sq {
	width: 100%;
	padding: 16px 16px 0 16px;
}

.box-main.box-menu-row .sq-main-menu .inner-sq .sq-text {
	font-size: 28px;
	border-bottom: 2px solid #fff;
	margin-bottom: 6px;
	padding-bottom: 6px;
}

.box-main.box-menu-row .sq-main-menu .inner-sq .sq-text p {
	margin: 0;
	font-family: 'Sarabun', sans-serif;
	font-size: 18px;
}

.box-main.box-menu-row .sq-main-menu:hover .inner-sq,
.box-main.box-menu-row .sq-main-menu.active .inner-sq {
	/*transition: 0.4s;*/
	/*border: 8px solid #fff;*/
}

/*----------------- box-menu-row mainpage ----------------- */

/*----------------- box-menu-row subpage ----------------- */

.box-menu-row .sq-menu {
	width: 20%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 180px;
	padding: 16px;
	color: #fff;
	margin-right: 16px;
}

.box-menu-row .sq-menu .inner-sq {
	transition: 0.4s;
	width: 100%;
	height: 100%;
	border: 0px solid transparent;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.box-menu-row .sq-menu .inner-sq .sq-text {
	width: 100%;
}

.box-menu-row .sq-menu .inner-sq .sq-text h3 {
	font-size: 14px;
	border-bottom: 2px solid #fff;
	margin-bottom: 6px;
	padding-bottom: 6px;
}

.box-menu-row .sq-menu .inner-sq .sq-text p {
	margin: 0;
	/*font-family: 'Sarabun', sans-serif;*/
	font-size: 1.25rem;
}

.box-menu-row .sq-menu:hover .inner-sq,
.box-menu-row .sq-menu.active .inner-sq {
	transition: 0.4s;
	border: 6px solid #fff;
}

.sq1 {
	background-color: #4B6C66;
}
.sq1:hover {
    background-color: #4B6C66!important;
}
.sq2 {
	background-color: #B6424C;
}
.sq2:hover {
    background-color: #B6424C!important;
}

.sq3 {
	background-color: #ACA695;
}
.sq3:hover {
    background-color: #ACA695!important;
}
.sq4 {
	background-color: #E5BE80;
}
.sq4:hover {
    background-color: #E5BE80!important;
}

.sq-menu.inactive {
    background-color: #d0d0d0;
}

.sq5 {
    background-color: #b3a68f;
}
.sq5:hover {
    background-color: #b3a68f!important;
}

.sq1-text {
    color: #4B6C66;
}
.sq2-text {
    color: #B6424C;
}
.sq3-text {
    color: #ACA695;
}
.sq4-text {
    color: #E5BE80;
}
.sq5-text {
    color: #b3a68f;
}
/*----------------- box-menu-row subpage ----------------- */
.main-title {
	font-size: 28px;
	font-weight: bold;
	font-style: italic;
	margin-bottom: 16px;
}

.the-content {
	font-size: 1.25rem;
	font-weight: 300;
}

.section-image {
	padding: 60px 0;
}

.container-full-width {
	max-width: 1440px;
	padding: 0 30px;
	margin: auto;
}

.control-box {
	background-color: #f2f2f2;
	padding: 16px;
/*	min-height: 100vh;
	max-height: 100vh;*/
	overflow: auto;
}

.content-box {

}

.image-frame {
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: #ccc;
	display: block;

	position: relative;
}

.canvas-img {
	width: 100%;
	height: 100%;
	opacity: 0.3;
	background-color: #eee;

	background-size: cover;
	background-repeat: no-repeat;

	position: absolute;
	left: 0;
	top: 0;
}

.frame-content {
	margin-top: 32px;
}

.frame-content p {
	font-size: 18px;
	font-weight: bold;
	/*font-style: italic;*/
}
.frame-content span {
    font-size: 16px;
    font-weight: normal;
    /*font-style: italic;*/
}

.read-more-button {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 24px;
	border: 2px solid #4B6C66;
	color: #4B6C66;
	font-weight: bold;
	font-style: italic;
	margin: 30px 0;
}

.read-more-button i {
	transition: 0.4s;
	margin-left: 6px;
}

.read-more-button:hover {
	background-color: #4B6C66;
	color: #fff;
}

.read-more-button:hover i {
	transition: 0.2s;
	margin-left: 12px;
}

.control-item {
	display: flex;
	justify-content: space-between;
	flex: 1;
	padding: 16px 0;
	border-bottom: 2px solid #4B6C66;
}

.control-box .control-item:last-child {
	border: none;
}

.control-item .control-img {
	background-color: #fff;
	width: 148px;
	height: 100px;
	border: 2px solid #fff;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.control-item .control-content {
	padding-left: 16px;
	width: 100%;
}

.control-item .control-content .control-content-top {
	display: flex;
	justify-content: space-between;
}

.control-item .control-content .control-content-top h4 {
	font-size: 18px;
	font-weight: bold;
	/*font-style: italic;*/
	margin-bottom: 4px;
}

.control-item .control-content .control-content-top p {
	font-size: 14px;
}

.control-item .control-content .control-content-top .control-content-title {
	padding-right: 6px;
}
.control-item .opacity-percent {
    font-size: 0.825rem;
}
/*Toggle switch*/
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 37px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #E4E6E5;
  -webkit-transition: .4s;
  transition: .4s;

  border: 2px solid #ccc;
  border-radius: 32px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #4B6C66;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #72BF44;
  border: 2px solid #72BF44;
}

input:focus + .slider {
  box-shadow: 0 0 1px #72BF44;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
  background-color: #fff;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Range slider */

/* === range commons === */
.range-slider {
	font-size: 1.5rem;
	width: 100%;
	--thumb-height: 25px;
	--track-height: 0.0825em;
	--track-color: rgba(0, 0, 0, 0.2);
	--brightness-hover: 180%;
	--brightness-down: 80%;
	--clip-edges: 0.125em;
}

.range-slider {
	position: relative;
	background: #fff0;
	overflow: hidden;
}

.range-slider:active {
	cursor: grabbing;
}

.range-slider:disabled {
	filter: grayscale(1);
	opacity: 0.3;
	cursor: not-allowed;
}

/* === WebKit specific styles === */
.range-slider,
.range-slider::-webkit-slider-runnable-track,
.range-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	transition: all ease 100ms;
	height: var(--thumb-height);
}

.range-slider::-webkit-slider-runnable-track,
.range-slider::-webkit-slider-thumb {
	position: relative;
}

.range-slider::-webkit-slider-thumb {
	--thumb-radius: calc((var(--thumb-height) * 0.5) - 1px);
	--clip-top: calc((var(--thumb-height) - var(--track-height)) * 0.5 - 0.5px);
	--clip-bottom: calc(var(--thumb-height) - var(--clip-top));
	--clip-further: calc(100% + 1px);
	--box-fill: calc(-100vmax - var(--thumb-width, var(--thumb-height))) 0 0
		100vmax #72BF44;

	width: var(--thumb-width, var(--thumb-height));

	background-color: #fff;
	box-shadow: var(--box-fill);
	border-radius: var(--thumb-width, var(--thumb-height));

	filter: brightness(100%);
	clip-path: polygon(
		100% -1px,
		var(--clip-edges) -1px,
		0 var(--clip-top),
		-100vmax var(--clip-top),
		-100vmax var(--clip-bottom),
		0 var(--clip-bottom),
		var(--clip-edges) 100%,
		var(--clip-further) var(--clip-further)
	);

	border: 3px solid #4B6C66;
}

.range-slider:hover::-webkit-slider-thumb {
	cursor: grab;
}

.range-slider:active::-webkit-slider-thumb {
	cursor: grabbing;
}

.range-slider::-webkit-slider-runnable-track {
	background: linear-gradient(var(--track-color) 0 0) scroll no-repeat center /
		100% calc(var(--track-height) + 1px);
}

.range-slider:disabled::-webkit-slider-thumb {
	cursor: not-allowed;
}

@media only screen and (max-width: 991px) {

	header .container {
		max-width: 100%;
	}

	.m-order-1 {
		order: 1;
	}

	.m-order-2 {
		order: 2;
	}

	.control-item .control-img {
		width: 33%;
	}

	.control-item .control-content {
		width: 66%;
	}

	.box-menu-row .sq-menu {
		width: 23%;
		margin: 0 1%;
	}

}
@media only screen and (max-width: 991px) {
	.section-page {
		padding: 30px 0;
	}
	.section-page.section-04 {
		padding: 30px 0 80px 0;
	}
}

@media only screen and (max-width: 767px) {

	.section-page .container {
		max-width: 100%;
	}

	.box-menu-row .sq-menu {
		padding: 6px;
	}

	.box-menu-row .sq-menu .inner-sq {
		padding: 2px;
	}

	.box-menu-row .sq-menu:hover .inner-sq,
	.box-menu-row .sq-menu.active .inner-sq{
		border: 2px solid #fff;
	}

	.box-menu-row .sq-menu .inner-sq .sq-text h3 {
		font-size: 16px;
		margin-bottom: 2px;
		padding-bottom: 2px;
	}

	.box-menu-row .sq-menu .inner-sq .sq-text p {
		font-size: 12px;
	}

	.main-title {
		font-size: 22px;
	}

	.the-content {
		font-size: 16px;
	}

	.the-content br {
		display: none;
	}

	.container-full-width {
		padding: 0 15px;
	}

	.logo {
		width: 180px;
	}

	.top-banner-header {
		font-size: 12px;
		padding: 2px 0;
	}

	.frame-content {
		margin-top: 16px;
	}

}

.swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parallax-container {
  height: 100vh;
  width: 100%;
}
.parallax-container-text {
	background-image: url('../img/top-banner-text-mobile.png');
	background-size: contain;
	background-position: center -1%;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	position: fixed;
  z-index: -1;
}

/*----------------------offcanvas----------------------*/
.offcanvas-active{
	overflow:hidden;
}

.offcanvas{
	width:350px;
	visibility: hidden;
	transform:translateX(-100%);
	transition:all .2s;
  border-radius:0;
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.1);
	display:block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 1200;
  background-color: #fff;
  overflow-y: scroll;
  overflow-x: hidden;
}

.offcanvas.offcanvas-right {
   right: 0;
   left: auto;
   transform: translateX(100%);
 }

.offcanvas.show{
	visibility: visible;
    transform: translateX(0);
    transition: transform .2s;
}

.offcanvas .btn-close{ font-size: 1.25rem}

.list-group-flush .list-group-item:first-child {
	height: 62px;
	padding: 1rem 15px 1rem 1rem;
}
.list-group-flush .list-group-item {
	background: transparent;
	padding: 0.75rem 1rem 0.75rem 0.75rem;
	color: #4A6B65;
	font-size: 0.825rem;
}
.list-group-flush .list-group-item:hover {
		color: #0b0b0b;
}
/*----------------------offcanvas----------------------*/
/*.main-box {*/
/*	position: relative;*/
/*  z-index: 9;*/
/*  -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.1);*/
/*  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.1);*/
/*  background: #fff;*/
/*}*/
/*.main-box .img {*/
/*    -webkit-box-flex: 0;*/
/*    -ms-flex: 0 0 250px;*/
/*    flex: 0 0 250px;*/
/*    background-color: #fafafa;*/
/*}*/
/*.main-box .text {*/
/*    padding: 30px;*/
/*}*/
footer {
	background-color: #fff;
}
footer p {
	color: #9D9685;
}
footer .border {
	width: 100%;
	height: 2px;
	background-color: #4A6B65;
}
footer .detail{
	padding: 80px 0;
	position: relative;
	z-index: 99;
}
footer .bg-left {
	background-image: url('../img/footer-left.png');
	background-repeat: no-repeat;
	background-size: auto;
      width: 500px;
      height: 355px;
      position: absolute;
      left: 0;
      display: none;
}
@media only screen and (min-width: 500px) {
    footer .bg-left {
        display: block;
    }
}
footer .bg-right {
	background-image: url('../img/footer-right.png');
	background-repeat: no-repeat;
	background-size: auto;
  width: 500px;
  height: 355px;
  position: absolute;
  right: 0;
}

.swiper-pagination-bullet-active {
  background: #D6AF80;
}
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
}
.section-01 .swiper{
  /*border: 4px solid #496b64;*/
}
.section-02 .swiper{
  /*border: 4px solid #a6424b;*/
}
.section-03 .swiper{
  /*border: 4px solid #9d9585;*/
}
.section-04 .swiper{
  /*border: 4px solid #d5ae80;*/
}

.swiper-button-prev-custom, .swiper-button-next-custom {
    position: absolute;
    top: 50%;
    width: 27px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    background-size: 27px 44px;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    opacity: .75;
}
.swiper-button-prev-custom.swiper-button-disabled {
    opacity: 0.6;
}
.swiper-button-next-custom.swiper-button-disabled {
    opacity: 0.6;
}
.swiper-button-next-custom {
    right: 15px;
    left: auto;
    font-size: 2rem;
}
.swiper-button-prev-custom {
    right: auto;
    left: 15px;
    font-size: 2rem;
}
.swiper-pagination-fraction {
    color: #fff;
    font-size: 0.825rem;
}
.swiper-pagination-current {

}
@media only screen and (min-width: 577px) {
	.swiper-button-next-custom {
    /*right: 2px;*/
    }
    .swiper-button-prev-custom {
        /*left: -2px;*/
    }
}
.swiper-slide {
	position: relative;
}
.swiper-slide .date {
    position: absolute;
    top: 0;
    right: 0px;
    padding: 10px 10px 8px 10px;
    color: #fff;
    font-size: 0.825rem;
}
.section-01 .swiper .date{
  background: #496b64;
}
.section-02 .swiper .date{
  background: #a6424b;
}
.section-03 .swiper .date{
  background: #9d9585;
}
.section-04 .swiper .date{
  background: #d5ae80;
}
/*.toppic-bg-mobile {*/
/*   color: #fff;*/
/*}*/
/*.section-01 .toppic-bg-mobile{*/
/*	border: 4px solid #496b64;*/
/*}*/
/*.section-02 .toppic-bg-mobile{*/
/*	border: 4px solid #a6424b;*/
/*}*/
/*.section-03 .toppic-bg-mobile{*/
/*	border: 4px solid #9d9585;*/
/*}*/
/*.section-04 .toppic-bg-mobile{*/
/*	border: 4px solid #d5ae80;*/
/*}*/
.vh-80 {
    height: 80vh !important;
}
.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0rem;
    font-size: 1rem;
}
.breadcrumb .breadcrumb-item a {
    color: #4A6B65;
}
.breadcrumb .breadcrumb-item.active {
    color: #beb19b;
}
.text-extra-dark-gray {
    color: #232323;
}
.text-gray {
    color: #6f6f6f;
}
.text-light-gray {
    color: #b5b5b5;
}
.font-size-special {
    font-size: 2rem;
}
.font-size-16px {
    font-size: 1.375rem;
}
.font-size-14px {
    font-size: 1.25rem;
}
.custom-alink {
    color: #6f6f6f;
    font-size: 1rem;
}
.custom-alink:hover, .custom-alink:active {
    color: #232323;
}

.custom-alink.light {
    color: #fff;
}
.custom-alink.light:hover, .custom-alink.light:active {
    color: #232323;
}
.btn {
    font-size: 1rem;
}
.btn-outline-01 {
    color: #ffffff;
    border-color: #ffffff;
}
.btn-outline-01:hover {
    color: #4b6c66;
    background-color: #ffffff;
    border-color: #ffffff;
}

.btn-outline-02 {
    color: #B6424C;
    border-color: #B6424C;
}
.btn-outline-02:hover {
    color: #ffffff;
    background-color: #B6424C;
    border-color: #B6424C;
}

.btn-outline-03 {
    color: #496b64;
    border-color: #496b64;
}
.btn-outline-03:hover {
    color: #ffffff;
    background-color: #496b64;
    border-color: #496b64;
}

.btn-outline-04 {
    color: #a6424b;
    border-color: #a6424b;
}
.btn-outline-04:hover {
    color: #ffffff;
    background-color: #a6424b;
    border-color: #a6424b;
}

.btn-outline-05 {
    color: #9d9585;
    border-color: #9d9585;
}
.btn-outline-05:hover {
    color: #ffffff;
    background-color: #9d9585;
    border-color: #9d9585;
}

.btn-outline-06 {
    color: #d5ae80;
    border-color: #d5ae80;
}
.btn-outline-06:hover {
    color: #ffffff;
    background-color: #d5ae80;
    border-color: #d5ae80;
}

.opacity-50 {
    opacity: 0.5;
}

i {
    font-size: 0.825rem;
}
