@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;700&display=swap');

:root {
  --color-dark: #575757;
  --color-primary: #11532B;
  --color-secondary: #FADE5B;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
span,
div,
input,
textarea,
button,
.font-default {
  font-family: 'Noto Sans Thai', sans-serif;
}

body,
p,
.top-link>ul.link>li a i,
textarea,
input {
  font-size: 18px !important;
}

a {
  text-decoration: none !important;
}

a:hover,
a:focus {
  color: #FFF;
}

.h4,
h4 {
  font-size: 22px !important;
}

.tx-dark {
  color: var(--color-dark);
}

.logo {
  padding: 25px 0;
}

.logo img {
  width: 80px;
}

.contact-icon {
  border-radius: 50%;
  box-shadow: 0 0 4px rgb(0 0 0 / 10%);
  color: #FFF;
  font-size: 40px;
  height: 70px;
  line-height: 70px;
  margin-bottom: 30px;
  text-align: center;
  width: 70px;
  transition: all 0.3s ease 0s;
  padding: 15px;
  display: inline-block;
}

.contact-icon svg {
  display: block;
}

.contact-address .contact-icon {
  background: #11532B;
}

.contact-address:hover .contact-icon {
  background: #ff7f00 none repeat scroll 0 0;
  color: #fff;
}

.slider-brief p {
  font-size: 20px;
}

.contact-address i {
  width: 70px;
  height: 70px;
  line-height: 70px;
  font-size: 40px;
  color: #FFF;
  background-color: #11532B;
}

.sticky .logo {
  padding: 10px 0;
}

.sticky .logo img {
  width: 55px;
}

.main-menu {
  margin-bottom: 0;
}

/* Slide BS */
.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 5rem;
  height: 5rem;
}

.carousel-caption p {
  font-size: 28px !important;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 30px;
}

/* footer */
.footer-logo {
  margin-bottom: 25px;
}

.footer-logo img {
  width: 80px;
}

.footer-brief p {
  line-height: 1.4;
}

.footer-bottom {
  background-color: #11532B;
}

.footer-bottom p {
  color: #FFF;
}

.footer-title {
  border-left: 0px !important;
}

.footer-top-inner {
  padding: 60px 0px;
}

/* Navbar */
.nav-login {
  color: #CCC;
  line-height: 40px;
  text-align: right;
}

.nav-login a {
  color: #FFF;
  font-weight: bold;
}

.header-top-bar {
  background-color: #11532B;
}

.header-top-bar a {
  color: #FFF;
}

/* Home Content */
.up-comming-pro-info>p {
  margin-bottom: 20px !important;
  line-height: 1.3;
}

.service-item img {
  width: 160px;
}

.service-item h3 {
  color: var(--color-primary);
}

.btn-service {
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 16px;
  background-color: var(--color-primary);
  color: #FFF;
  padding: 5px 20px;
  border-radius: 25px;
  font-weight: bold;
}

.home-category .category-item {
  padding-bottom: 56.25%;
  background-color: #EEE;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 4px;
  position: relative;
  margin-bottom: 30px;
  transition: visibility 0s, opacity 0.2s linear;
}

.home-category:last-child .category-item {
  padding-bottom: 30%;
}

.category-item h3 {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin-bottom: 15px !important;
  padding: 0px 25px;
  font-weight: bold;
  letter-spacing: 1 !important;
  text-transform: uppercase;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
  font-size: 22px;
  color: var(--color-secondary);
}

.category-item .category-info {
  visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(250, 127, 0, 0.6);
  opacity: 0;
  transition: visibility 0s, opacity 0.2s linear;
}

.category-item:hover>h3 {
  visibility: hidden;
}

.category-item:hover .category-info {
  visibility: visible;
  opacity: 1;
}

.product-bg {
  padding-bottom: 56.25%;
  background-color: #EEE;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.form-custom[type=file] {
  background: #fff none repeat scroll 0 0;
  border: 1px solid transparent;
  box-shadow: 0 0 4px rgb(0 0 0 / 10%);
  color: #999999;
  font-size: 13px;
  padding-left: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  width: 100%;
}

.img-lists {
  padding: 0;
  margin: 0 -5px;
  width: 100%;
}

.img-lists li {
  max-width: 80px;
  display: inline-block;
  padding: 0px 5px 10px 5px;
  cursor: pointer;
}

.custom-select {
  padding-left: 20px;
}

.payment-details .widget-title {
  font-size: 2rem;
  border-left: 0 !important;
}

.payment-details table td {
  font-family: var(--font-default);
}

.payment-details table thead tr td {
  text-align: right;
}

.payment-details table thead tr td:first-child {
  text-align: left;
}

.payment-details table thead tr td:nth-child(2),
.payment-details table thead tr td:nth-child(3),
.payment-details table thead tr td:nth-child(4) {
  min-width: 160px;
  width: 160px;
}

/* padding-bottom ratio */
.ratio-1x1 {
  padding-bottom: 100%;
}

.ratio-4x3 {
  padding-bottom: 75%;
}

.ratio-16x9 {
  padding-bottom: 56.25%;
}

.ratio-21x9 {
  padding-bottom: 42.85%;
}

/* background */
.bg-img {
  background-color: var(--color-lighter);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.option-list li {
  cursor: pointer;
}

.option-list li.active {
  border: 1px solid var(--color-primary) !important;
  font-weight: bold;
}

.mobile-menu-area {
  z-index: 9999;
  position: relative;
  background-color: #FFF !important;
}

.mobile-menu-area li {
  color: var(--color-primary);
  padding-top: 10px;
  padding-bottom: 10px;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="time"] {
  background: #fff none repeat scroll 0 0;
  border: 1px solid transparent;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  color: #999999;
  font-size: 13px;
  height: 40px;
  margin-bottom: 20px;
  padding-left: 20px;
  width: 100%;
}

.product-title {
  /* margin-bottom: 0; */
}

input.form-control, 
input[type="text"].form-control,
input[type="password"].form-control,
input[type="date"].form-control,
input[type="time"].form-control {
  background: #fff none repeat scroll 0 0;
  border: 1px solid transparent;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  color: #999999;
  font-size: 13px;
  height: 40px;
  padding-left: 20px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group .input-group-text {
  border-radius: 0;
  background-color: #EEE;
  border: 1px solid #DDD;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.cursor-pointer {
  cursor: pointer;
}