/*!
 * ISALEPAGE (https://www.isalepage.com/)
 * Copyright 2019 Merces Solution Limited Company
 */

/* @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600); */

@import url('https://fonts.googleapis.com/css2?family=Sarabun:200,300i,700,700i&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:200,300i,700,700i&display=swap');
html {}

/* @font-face {
  font-family: sarabun;
  src: url('../fonts/THSarabunNew.ttf');
} */

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Sarabun', sans-serif !important;
  background: #fff !important;
}

.font-kanit {
  font-family: 'Kanit', sans-serif !important;
}

p {
  font-size: 18px !important;
}

#story1 p {
  font-size: 18px !important;
  margin: 0 !important;
}

.klc-line1 {
  color: rgb(255, 255, 255);
  font-weight: bolder;
  background-color: rgb(255, 0, 0);
  font-size: 24px;
  padding: 0 5px;
}

.klc-line2 {
  margin-bottom: 1em;
  color: rgb(83, 83, 95);
  font-size: 24px;
  background-color: rgb(255, 255, 0);
  font-weight: bolder;
  padding: 0 5px;
}

.klc-line3 {
  margin-bottom: 1em;
  color: rgb(83, 83, 95);
  font-size: 18px;
  background-color: rgb(206, 222, 231);
  padding: 0 5px;
}

.klc-line4 {
  margin-bottom: 1em;
  color: rgb(83, 83, 95);
  font-weight: bolder;
  font-size: 24px;
  background-color: rgb(0, 255, 255);
  padding: 0 5px;
}

.klc-line5 {
  margin-bottom: 1em;
  color: #ff0000;
  font-size: 20px !important;
  font-weight: bolder;
}

.klc-line6 {
  margin-bottom: 1em;
  color: #000000;
  font-size: 20px !important;
  font-weight: bolder;
}

.klc-line7 {
  margin-bottom: 1em;
  color: #53535f;
  font-size: 20px !important;
  font-weight: bolder;
}

.klc-line8 {
  font-family: 'Kanit', sans-serif;
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  font-weight: 500;
  font-size: 1.75rem !important;
  margin-top: 0px;
  line-height: 1.2;
  color: #fe0808;
}

.buy-now {
  font-size: 2rem !important;
  margin-bottom: 0.5rem;
  font-family: "Kanit", sans-serif !important;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

.divider-custom {
  width: 50px;
  border: 2px solid #000000;
  margin-left: auto;
  margin-right: auto;
}

.card-form {
  background-color: #ffffff !important;
  border-radius: 0.5rem !important;
  border: unset;
  -webkit-box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
  box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
  margin-bottom: 1.25rem;
}

.form-check {
  margin-bottom: 15px;
}

.from-buy-now {
  font-size: 16px !important;
}

label {
  font-size: 16px !important;
  display: block;
}

.form-group {
  margin-bottom: 1rem !important;
}

.font-weight-bold {
  font-weight: 600;
}

.btn-contact {
  width: 85%;
}

.btn-event-pixel {
  background: #ee4d2d !important;
  border: none !important;
  font-size: 20px;
}

.box-payment {
  padding: 15px;
  border: 2px solid #eaeaea;
  border-radius: 5px;
  cursor: pointer;
}

.text-orange {
  color: #ee4d2d !important;
  border: 2px solid #ee4d2d;
}

.custom-control {
  position: relative;
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5rem;
}

.custom-control-inline {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-right: 1rem;
}

.icon-payment {
  position: absolute;
  right: 30px;
  top: 15px;
}

.thbanks-kbank {
  background-color: #138f2d;
}

.thbanks {
  display: inline-block;
  border-radius: 3px;
}

.btn-copy {
  font-size: 12px !important;
  padding: 3px 5px !important;
  border: 1px solid #cccccc !important;
  background: #e7eaec !important;
}

.btn-primary {
  background-color: #ee4d2d !important;
  border-color: #ee4d2d !important;
}

.btn-to-top {
  font-size: 20px;
  position: fixed;
  bottom: 70px;
  right: 20px;
  border-radius: 50% !important;
  width: 50px;
  height: 50px;
  /* box-shadow: 0px 2px 3px #444444; */
  border: 1px solid white;
}

.btn-to-top i {
  padding-top: 10px;
  color: #fff;
}

input[name="customRadioPay"] {
  border-color: ee4d2d;
}

/* .custom-radio .custom-control-input:checked~.custom-control-label::after {
  background-color: #ee4d2d !important;
  border-radius: 50% !important;
  border-color: #ee4d2d;
} */

.text-white {
  color: #fff !important;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px) !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #495057 !important;
  background-color: #fff !important;
  background-clip: padding-box !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem !important;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.box-line {
  width: auto;
  height: 60px;
}

.bg-line {
  background-color: #39b90b !important;
}

#toTopBtn {
  font-size: 20px;
  position: fixed;
  bottom: 70px;
  right: 20px;
  border-radius: 50% !important;
  width: 50px;
  height: 50px;
  /* box-shadow: 0px 2px 3px #444444; */
  border: 1px solid white;
}

/* .js .cd-top--fade-out {
  opacity: .5;
}

.js .cd-top--is-visible {
  visibility: visible;
  opacity: 1;
}

.js .cd-top {
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s, visibility .3s, background-color .3s;
} */


body {}

ul {
  color: #212529;
}

.hidden {
  display: none !important;
}

.clear {
  clear: both;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0px !important;
  background: #ffffff;
}

@media (max-width: 1366px) {
  .container {
    max-width: 768px !important;
  }
}

@media (min-width: 1367px) {
  .container {
    max-width: 768px !important;
  }
}

/*Images Section*/

.full-img {
  width: 100%;
}

.max-img {
  max-width: 100%;
}

/*End Images Section*/

/*Slide Section*/

.carousel-inner img {
  width: 100%;
  height: 100%;
}

.carousel-indicators {
  margin-bottom: 5px !important;
}

.carousel-indicators li {
  width: 15px !important;
}

/*End Slide Section*/

/*Youtube Section*/

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 30px;
  /* size of chrome */
  height: 0;
  overflow: hidden;
}

.video-container iframe, .video-container object, .video-container #overlay, .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#overlay {
  background: #000;
  opacity: 0.5;
  /*background:rgba(255,255,255,0.8); or just this*/
  z-index: 50;
  color: #fff;
}

/*End Youtube Section*/

/*Google Map Section*/

.map {
  /*  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden; */
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/*End Google Map Section*/

/*Reviews Section*/

@media (max-width: 800px) {
  .review-list {
    width: 50%;
    float: left;
  }
}

@media (min-width: 801px) {
  .review-list {
    width: 33.3333333%;
    float: left;
  }
}

.reviews img {
  width: 100%;
}

.clear {
  clear: both;
}

/*End Reviews Section*/

/*Text Section*/

.text {
  padding: 10px;
}

/*End Text Section*/

/*Button Section*/

.button {
  text-align: center;
}

/*End Button Section*/

/*PRICE SECTION*/

.bg-white h2 {
  margin-bottom: 0px !important;
  color: #0266a7;
}

.bg-color h5 {
  margin-bottom: 0px !important;
  font-size: 18px;
}

.timer {
  font-size: 15px;
}

.ordered {
  font-weight: lighter;
}

.ordered-number {
  font-weight: bold;
}

.price-type-1>.bg-color {
  background-color: #015c9e;
  color: #fff;
  padding: 1rem;
}

.price-type-1>.bg-color>.left {
  width: 50%;
  float: left;
}

.price-type-1>.bg-color>.right {
  width: 50%;
  float: right;
  text-align: right;
}

.price-type-1>.bg-white {
  background-color: #fff;
  color: #000;
  padding: 1rem;
}

.price-type-1>.bg-white>.left {
  width: 70%;
  float: left;
}

.price-type-1>.bg-white>.right {
  width: 30%;
  float: right;
  text-align: right;
}

.discount-price {
  text-decoration: line-through !important;
  color: #b3b3b3 !important;
  font-weight: lighter;
}

small.discount-percent {
  background-color: #cfe9fb;
  color: #0266a7;
  border-radius: 5px;
  padding: 2px;
  font-size: 10px;
  margin-top: 10px;
}

.product-name {
  margin-top: 10px;
}

.product-name h1 {
  font-size: 20px;
}

/*rating*/

.rating-static {
  width: 60px;
  height: 16px;
  display: block;
  background: url('../img/star-rating.png') 0 0 no-repeat;
}

.rating-50 {
  background-position: 0 0;
}

.rating-40 {
  background-position: -12px 0;
}

.rating-30 {
  background-position: -24px 0;
}

.rating-20 {
  background-position: -36px 0;
}

.rating-10 {
  background-position: -48px 0;
}

.rating-0 {
  background-position: -60px 0;
}

.rating-5 {
  background-position: -48px -16px;
}

.rating-15 {
  background-position: -36px -16px;
}

.rating-25 {
  background-position: -24px -16px;
}

.rating-35 {
  background-position: -12px -16px;
}

.rating-45 {
  background-position: 0 -16px;
}

/*end rating*/

#score {
  font-size: 12px;
  top: -6px;
  position: relative;
  color: #8c8c8c;
}

.rating-star {
  float: left;
  width: 70px;
}

.score {
  width: 80px;
  float: left;
}

.heart {
  width: 20px;
}

.heart-text {
  font-size: 12px;
}

/*END PRICE SECTION*/

/*Review Section*/

.review-profile {
  float: left;
  width: 70px;
}

.review-content {
  float: left;
  max-width: 60%;
  text-align: left;
}

.review-inner {
  padding: 20px;
}

.add-img-review img {
  height: 80px;
}

.review-content h6 {
  margin: 0px;
}

.review-content a {
  font-size: 14px;
  color: #808080 !important;
}

.review-date {
  font-size: 70%;
  color: #808080 !important;
}

.review-box {
  border-bottom: 1px solid rgba(0, 0, 0, .09);
  padding-bottom: 14px;
  padding-top: 14px;
}

.review-head {
  background-color: #f1f1f1;
  padding: 10px;
}

.review-head h1 {
  font-size: 20px;
  margin: 0px
}

/*End Review Section*/

/*FIX BOTTOM*/

.fix-footer {
  width: 100%;
  position: fixed;
  bottom: 0px;
  z-index: 25;
}

.fix-footer-type-1 {
  height: 50px;
  font-size: 22px;
}

.fix-footer-type-2 {
  height: 50px;
  font-size: 22px;
}

.line-50 {
  background-color: #00cb00;
  width: 50%;
  color: #fff;
  float: left;
  height: 100%;
  text-align: center;
  padding-top: 8px;
}

.cart-50 {
  background-color: #0266AB;
  width: 50%;
  color: #fff;
  float: left;
  height: 100%;
  text-align: center;
  padding-top: 8px;
}

.line-30 {
  background-color: #00cb00;
  width: 30%;
  color: #fff;
  float: left;
  height: 100%;
  text-align: center;
  padding-top: 8px;
}

.cart-40 {
  background-color: #0266AB;
  width: 40%;
  color: #fff;
  float: left;
  height: 100%;
  text-align: center;
  padding-top: 8px;
}

.contact-30 {
  background-color: #0266AB;
  width: 30%;
  color: #fff;
  float: left;
  height: 100%;
  text-align: center;
  padding-top: 8px;
}

/*END FIX BOTTOM*/

/*เริ่มจากตรงนี้ครับ ปุ่มด้านล่าง*/

/*NEW FIX BUTTON*/

.fix-footer-type-a {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  /*  -webkit-box-shadow: 0px -5px 20px -10px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px -5px 20px -10px rgba(0,0,0,0.6);
    box-shadow: 0px -5px 30px -5px rgba(0, 0, 0, 0.4); */
}

.fix-footer-type-a img {
  max-width: 100%;
  vertical-align: middle;
}

.fix-footer-type-a div {
  text-align: center;
}

.call {
  background: #ececec;
  background: -moz-linear-gradient(-45deg, #ffffff, #ececec);
  background: -webkit-linear-gradient(-45deg, #ffffff, #ececec);
  background: linear-gradient(135deg, #ffffff, #ececec);
  padding: 5px 0px;
}

.inbox {
  background: #ececec;
  background: -moz-linear-gradient(-45deg, #0083FB, #0083FB);
  background: -webkit-linear-gradient(-45deg, #0083FB, #0083FB);
  background: linear-gradient(135deg, #0083FB, #0083FB);
  padding: 5px 0px;
}

.line {
  background: #83d600;
  background: -moz-linear-gradient(-45deg, #3fb133, #3fb133);
  background: -webkit-linear-gradient(-45deg, #3fb133, #3fb133);
  background: linear-gradient(135deg, #3fb133, #3fb133);
  padding: 5px 0px;
}

.abuy {
  background: #de3b25;
  background: -moz-linear-gradient(-45deg, #ec6b3b, #de3b25);
  background: -webkit-linear-gradient(-45deg, #ec6b3b, #de3b25);
  background: linear-gradient(135deg, #ec6b3b, #de3b25);
}

.regisbt {
  background: #bd0d00;
  background: -moz-linear-gradient(-45deg, #f51100, #bd0d00);
  background: -webkit-linear-gradient(-45deg, #f51100, #bd0d00);
  background: linear-gradient(135deg, #f51100, #bd0d00);
}

.w15 {
  width: 15%;
  flex: 0 0 15%;
}

.w30 {
  width: 30%;
  flex: 0 0 30%;
}

.w35 {
  width: 35%;
  flex: 0 0 35%;
}

.w40 {
  width: 40%;
  flex: 0 0 40%;
}

.w50 {
  width: 50%;
  flex: 0 0 50%;
}

.w60 {
  width: 60%;
  flex: 0 0 60%;
}

.w70 {
  width: 70%;
  flex: 0 0 70%;
}

.w85 {
  width: 85%;
  flex: 0 0 85%;
}

.w100 {
  width: 100%;
  flex: 0 0 100%;
}

.helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

/*END NEW FIX BUTTON*/

iframe.fb_customer_chat_bounce_in_v2 {
  background: none !important;
}

.fb_dialog_content iframe {
  background: none !important;
}

iframe {
  display: block;
  /* iframes are inline by default */
  background: #000;
  border: none;
  /* Reset default border */
  width: 100%;
}

.embed-responsive iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.register-desc {
  padding: 0.5rem 1rem 0.5rem 1rem;
}

.form-input {
  width: 70%;
  float: left;
}

.form-label {
  width: 30%;
  float: left;
  margin-top: 10px;
  font-size: 1rem;
}

.form-input input[type="text"] {
  font-size: 1rem;
  width: 100%;
  height: 40px;
  padding: 10px;
  color: #666666;
  border-radius: 2px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  border: 1px solid #cccccc;
}

.form-input input[type="tel"] {
  font-size: 1rem;
  width: 100%;
  height: 40px;
  padding: 10px;
  color: #666666;
  border-radius: 2px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  border: 1px solid #cccccc;
}

.form-input input[type="email"] {
  font-size: 1rem;
  width: 100%;
  height: 40px;
  padding: 10px;
  color: #666666;
  border-radius: 2px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  border: 1px solid #cccccc;
}

.content-section {
  position: relative;
}

.content-section>.title {
  padding: 0px 5px;
  ;
  background-color: rgba(0, 0, 0, 0.2);
  color: #ffffffff;
  position: absolute;
  display: inline;
  z-index: 10;
}

.content-section .content {
  border-top: 1px solid #eeeeee;
}

.gallery {
  margin: 0px !important;
}

.gallery>.col-6.col-md-4 {
  padding: 0px !important;
}

@media (max-width: 575px) {
  .gallery>.row>.col-6 {
    padding: 0px;
  }
}