html {
  font-size: 16px;
  scroll-behavior: smooth;
}
@font-face {
  font-family: "IBMPlexSansThai-Regular";
  src: url("fonts/IBMPlexSansThai-Regular.eot");
  src:
    url("fonts/IBMPlexSansThai-Regular.eot?#iefix") format("embedded-opentype"),
    url("fonts/IBMPlexSansThai-Regular.woff") format("woff"),
    url("fonts/IBMPlexSansThai-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "IBMPlexSansThai-Bold";
  src: url("fonts/IBMPlexSansThai-Bold.eot");
  src:
    url("fonts/IBMPlexSansThai-Bold.eot?#iefix") format("embedded-opentype"),
    url("fonts/IBMPlexSansThai-Bold.woff") format("woff"),
    url("fonts/IBMPlexSansThai-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "IBMPlexSansThai-SemiBold";
  src: url("fonts/IBMPlexSansThai-SemiBold.eot");
  src:
    url("fonts/IBMPlexSansThai-SemiBold.eot?#iefix") format("embedded-opentype"),
    url("fonts/IBMPlexSansThai-SemiBold.woff") format("woff"),
    url("fonts/IBMPlexSansThai-SemiBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "IBMPlexSansThai-Medium";
  src: url("fonts/IBMPlexSansThai-Medium.eot");
  src:
    url("fonts/IBMPlexSansThai-Medium.eot?#iefix") format("embedded-opentype"),
    url("fonts/IBMPlexSansThai-Medium.woff") format("woff"),
    url("fonts/IBMPlexSansThai-Medium.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "IBMPlexSansThai-Regular";
  cursor: default;
  position: relative;
  line-height: 1.5;
  font-size: 1rem;
  overflow-x: hidden;
  color: #00000f;
}
ul {
  /*padding: 0;*/
  margin: 0;
}
a {
  text-decoration: none;
  /*cursor: pointer;*/
  color: inherit;
}

#nav-icon3 {
  z-index: 56;
  width: 35px;
  height: 25px;
  position: absolute;
  top: 1rem;
  right: 0;
  left: auto;
  margin: 0px 0;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  box-shadow: none;
  background: none;
  border: none;
}
#nav-icon3 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 60%;
  background: #b22222;
  border-radius: 6px;
  opacity: 1;
  right: 0%;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}
#nav-icon3 span:nth-child(1) {
  top: 0;
}
#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
  top: 10px;
  width: 100%;
}
#nav-icon3 span:nth-child(4) {
  top: 20px;
}
#nav-icon3.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}
#nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 80%;
}
#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  width: 80%;
}
#nav-icon3.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}
#nav-icon3.open {
  top: -2rem;
}
/*///////////Start-Header///////////////*/
.headerbar {
  padding: 8px 0;
  background: #b22222;
  color: #fff;
}
.headerbar .row {
  justify-content: space-between;
}
.cart-tools {
  text-align: center;
}
.cart-tools span {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: -0.3rem;
  z-index: 1;
  color: #b22222;
}
.cart-tools a {
  position: relative;
}
.cart-tools img {
  width: 33px;
}
.language-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 30px;
  overflow: hidden;
  background: #2b2b2b;
}
.language-box a {
  display: block;
  padding: 3px 15px;
  text-align: center;
  color: #fff;
  transition: all 0.6s;
}
.language-box a:hover,
.language-box a.active {
  background: #fff;
  color: #b22222;
  border-radius: 30px;
}
.imgiso {
  text-align: center;
  margin: 0 auto 2rem;
}
.imgiso img {
  width: auto;
  max-width: 45%;
}
.searchbox {
  background: #fff;
  border-radius: 30px;
  padding: 5px;
  position: relative;
}
.searchbox .form-control {
  border: none;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #000;
  margin: 0 0 0 4px;
  width: 80%;
  font-size: 0.9rem;
}
.searchbox .form-control:focus {
  border: none;
  outline: none;
  box-shadow: none;
}
.searchbox .form-control::placeholder {
  color: #7f7f7f;
  font-size: 0.8rem;
}
.searchbtn {
  border: none;
  padding: 0;
  box-shadow: none;
  background: none;
  position: absolute;
  right: 5%;
  top: 50%;
  z-index: 2;
  transform: translate(0, -50%);
}
.searchbtn img {
  width: 22px;
}

.headbar-main {
  padding: 0;
  transition: all 0.6s;
  background-color: #fff;
  display: block;
  box-shadow: 1px -1px 8px rgba(0, 0, 0, 0.15);
}
.hamburgers-box {
  width: 100%;
  height: 100%;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.headbar-main .row {
  margin: auto;
}
.navbar-brand {
  width: auto;
  text-align: left;
  margin: 1rem 0;
  padding: 0;
}
.navbar-brand p {
  margin: 0.3rem 0;
  line-height: 1;
  font-size: 1.1rem;
  font-family: "IBMPlexSansThai-Medium";
}
.navbar-brand img {
  width: 130px;
  transition: all 0.5s;
  margin: 0;
}

.navbar-collapse .navbar-brand {
  padding: 2rem 1rem;
  margin: 0 auto;
  text-align: center;
  display: block;
  width: 100%;
  background-color: #fff;
}
.navbar-collapse .navbar-brand img {
  width: auto;
  max-width: 50%;
}

.navbar-nav li {
  padding: 0 15px;
  position: relative;
  transition: all 0.5s;
  margin-bottom: 0.75rem;
  font-family: "IBMPlexSansThai-Medium";
}
.navbar-nav li a {
  padding: 8px 15px;
  display: block;
  text-align: center;
  text-decoration: none;
  transition: all 0.8s;
  position: relative;
}
.navbar-nav li.dropdown .dropdown-menu {
  padding: 0;
  background: #f5f5f5;
  border-radius: 0;
  margin: 0 -1rem;
  border: none;
}
.navbar-nav li.dropdown .dropdown-menu a {
  display: flex;
  padding: 10px;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.navbar-nav li.dropdown .dropdown-menu a.active img,
.navbar-nav li.dropdown .dropdown-menu a:hover img {
  filter: brightness(0) invert(1);
  transform: scale(0.95);
}
.navbar-nav li.dropdown .dropdown-menu a.active,
.navbar-nav li.dropdown .dropdown-menu a:hover {
  color: #fff;
  background: #b22222;
  transform: none;
}
.navbar-nav li.active .dropdown-menu a {
  color: #000;
}
.navbar-nav li.active a,
.navbar-nav a:hover {
  color: #b22222;
}
.dropdown-menu a img {
  width: 40px;
  margin-right: 10px;
  transition: all 0.6s;
}

.social-header {
  margin: 2rem auto;
  text-align: center;
}
.social-header ul img {
  width: 22px;
  margin-right: 5px;
}
.social-header ul {
  list-style: none;
  margin-bottom: 2rem;
  padding: 0;
}
.social-header ul li a {
  display: inline-block;
  padding: 0;
}
.social-header a:hover {
  color: #f00;
}
.social-header img {
  width: 40px;
  transition: all 0.6s;
  filter: invert(17%) sepia(66%) saturate(3356%) hue-rotate(350deg)
    brightness(98%) contrast(87%);
}
.social-header img:hover {
  transform: scale(1.05);
}
.social-header ul li {
  margin-bottom: 1rem;
  padding: 0;
  text-align: left;
}

/*///////////End-Header///////////////*/

/********************/

.box-loading #overlay {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #000; /*rgba(0,0,0,0.9);*/
  transition: 1s 0.4s;
}

.box-loading #progstat {
  font-size: 0.7em;
  letter-spacing: 3px;
  position: absolute;
  top: 50%;
  margin-top: -40px;
  width: 100%;
  text-align: center;
  color: #fff;
}

/*banner*/
.banner-captions {
  position: absolute;
  width: 100%;
  color: #fff;
  /*text-transform: uppercase;*/
  text-shadow: 0px 1px 0.98px rgba(0, 0, 0, 0.49);
}
/*
caption1  == บนซ้าย
caption2  == บนกลาง
caption3  == บนขวา
caption4  == กลางซ้าย
caption5  == กลาง
caption6  == กลางขวา
caption7  == ล่างซ้าย
caption8  == ล่างกลาง
caption9  == ล่างขวา
*/
/*.caption1{left: 2rem; bottom: 2rem;}
.caption2{bottom: 2rem;text-align: center;}
.caption3{top: 1rem;left: 2rem;}
.caption4{right: 2rem;top: 4rem;text-align: right;}
.caption5{right: 2rem;bottom: 2rem;text-align: right;}
.caption7{
    text-align: center;
    top: 50%;
    transform: translate(0,-50%);
}*/
.caption1 {
  left: 2rem;
  top: 2rem;
}
.caption2 {
  top: 2rem;
  text-align: center;
}
.caption3 {
  top: 2rem;
  text-align: right;
  right: 2rem;
}
.caption4 {
  left: 2rem;
  top: 35%;
}
.caption5 {
  text-align: center;
  top: 35%;
  transform: translate(0, -50%);
}
.caption6 {
  right: 2rem;
  top: 35%;
  text-align: right;
}
.caption7 {
  left: 2rem;
  bottom: 2rem;
}
.caption8 {
  bottom: 2rem;
  text-align: center;
}
.caption9 {
  bottom: 2rem;
  text-align: right;
  right: 2rem;
}

/*///////////Start-mainSlide///////////////*/
#carouselmainSlide {
  position: relative;
}
.carousel-item img {
  transition: all 12s;
  width: 100%;
  object-fit: cover;
  height: 100%;
}
#carouselmainSlide .carousel-indicators {
  align-items: center;
  margin-bottom: 0;
  justify-content: center;
  bottom: 0.75rem;
  z-index: 1019;
}
#carouselmainSlide .carousel-indicators button {
  width: 11px;
  height: 11px;
  margin: 0 3px;
  opacity: 1;
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid #fff;
}
#carouselmainSlide .carousel-indicators button.active {
  background: #fff;
}

/*///////////End-mainSlide///////////////*/

/*///////////Start-Content///////////////*/

.content-box {
  padding: 10% 0;
  color: #000;
  position: relative;
}
.title-box {
  text-align: center;
  margin-bottom: 2rem;
}
.title-box h1 {
  font-size: 28px;
  margin: 0;
  color: #b22222;
  font-family: "IBMPlexSansThai-Medium";
}
.title-box h2 {
  font-size: 1.4rem;
  margin: 0;
  color: #000;
  font-family: "IBMPlexSansThai-Medium";
}
.title-box h3 {
  font-size: 22px;
  margin: 1rem 0;
  color: #670001;
  text-transform: uppercase;
  font-family: "IBMPlexSansThai-Medium";
}
.title-box ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.title-box p {
  margin: 1rem 0;
  color: #5b5e63;
  font-family: "IBMPlexSansThai-Medium";
}
.title-box.titlewhychose p,
.title-box.titlenetwork p {
  font-family: "IBMPlexSansThai-Regular";
}
.title-box.subtitle ul {
  justify-content: flex-start; padding:0;
}
.title-box ul li {
  font-size: 0.85rem;
  margin-right: 5px;
  opacity: 0.7;
}
.title-box ul li.active {
  opacity: 1;
}
.title-box ul li a {
  padding-right: 5px;
}

.img-box {
  text-align: center;
  overflow: hidden;
}
.img-box img {
  width: 100%;
  transition: all 0.6s;
}
.textpolicy {
  margin-bottom: 1rem;
}
.textpolicy h1 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-family: "IBMPlexSansThai-SemiBold";
}
.textpolicy h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-family: "IBMPlexSansThai-Medium";
}
.textpolicy .fa-angle-right {
  font-size: 0.9rem;
  margin-right: 10px;
}
.textpolicy .fa-circle {
  font-size: 14px;
  margin-right: 10px;
}
.textpolicy p {
  margin-bottom: 1rem;
  text-indent: 3%;
}
.textpolicy a:hover {
  color: #b22222;
}
.textpolicy ul {
  list-style: none;
  padding-left: 3%;
  margin: 0.5rem auto;
}
.textpolicy span {
  font-family: "IBMPlexSansThai-Medium";
}
.textpolicy ul li {
  margin-bottom: 0.75rem;
}

.content-box.abouthome {
  padding-bottom: 20%;
  background: url("../images/bg-about.png") right bottom no-repeat #f2f2f2;
  background-size: 100% !important;
}
.textabout-home h1 {
  font-size: 26px;
  margin-bottom: 1rem;
  color: #282828;
  font-family: "IBMPlexSansThai-Medium";
}
.textabout-home p {
  margin-bottom: 1rem;
  color: #282828;
}

.readmore-btn {
  padding: 8px;
  min-width: 165px;
  margin: 1rem 0 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.15) 1px 1px 2px;
  display: inline-block;
}

.readmore-btn.backbtn {
  color: #000;
  margin: 1rem auto;
  width: 100%;
}
.readmore-btn.quatationbtn {
  margin: 1rem auto;
  /*width: 100%;*/
}
.readmore-btn.backbtn.hvr-shutter-in-vertical {
  background: #fff;
}
.readmore-btn.backbtn.hvr-shutter-in-vertical:before {
  background: #d0d0d0;
}
.addcart-btn {
	min-width:inherit;
}
/* Shutter In Vertical */
.hvr-shutter-in-vertical {
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  position: relative;
  background: #fff;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-shutter-in-vertical:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #b22222;
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-shutter-in-vertical:hover,
.hvr-shutter-in-vertical:focus,
.hvr-shutter-in-vertical:active {
  color: #b22222;
}
.hvr-shutter-in-vertical:hover:before,
.hvr-shutter-in-vertical:focus:before,
.hvr-shutter-in-vertical:active:before {
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
}

.icon-box {
  padding: 2rem 1rem 1rem;
  text-align: center;
  border-radius: 14px;
  border: 1px solid #b22222;
  margin-bottom: 1rem;
  background: #fff;
  transition: all 0.6s;
}
.icon-box img {
  width: auto;
  max-width: 70%;
  margin: auto;
  transition: all 0.6s;
}
.icon-box:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.icon-box:hover img {
  transform: scale(0.95);
}
.icon-box h1 {
  font-size: 1rem;
  margin: 0.5rem auto;
  font-family: "IBMPlexSansThai-Medium";

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  height: calc(1rem * 1.4 * 4);
}

.imgbrands {
  text-align: center;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4/2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.imgbrands img {
  width: auto;
  transition: all 0.6s;
  max-width: 100%;
  object-fit: scale-down;
}
.imgbrands:hover img {
  transform: scale(0.97);
}
.slidebrands {
  margin: 2rem auto;
}
.slidebrands .row {
  align-items: center;
}
.slidebrands .slick-list {
  padding: 1rem 2rem;
}
.slidebrands .slick-slide {
  opacity: 0;
  transition: all 0.6s;
}
.slidebrands .slick-slide.slick-current.slick-active {
  opacity: 1;
}
.slidebrands .slick-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  bottom: -5px;
}
.slidebrands .slick-dots li {
  width: auto;
  margin: 0 3px;
  height: auto;
  display: block;
}
.slidebrands .slick-dots li button {
  width: 20px;
  height: 2px;
  opacity: 0.5;
  margin: 0 3px;
  padding: 0;
  background: #5b5e63;
}
.slidebrands .slick-dots li.slick-active button {
  opacity: 1;
}
.slidebrands .slick-dots li button:before {
  display: none;
}
.slidebrands .slick-prev:before,
.slidebrands .slick-next:before {
  display: none;
}
.slidebrands .slick-prev,
.slidebrands .slick-next {
  width: 35px;
  height: 35px;
  background-size: 100% !important;
  z-index: 1;
  filter: invert(17%) sepia(66%) saturate(3356%) hue-rotate(350deg)
    brightness(98%) contrast(87%);
}
.slidebrands .slick-prev:hover,
.slidebrands .slick-next:hover {
  filter: none;
}
.slidebrands .slick-prev {
  left: 0;
  background: url("../images/prev.png") left center no-repeat;
}
.slidebrands .slick-next {
  right: 0;
  background: url("../images/next.png") left center no-repeat;
}

.content-otherpage.articlenewshome {
  background: #f2f2f2;
}
.slidenews {
  margin-bottom: 2rem !important;
}
.slidenews .slick-list {
  padding: 0.5rem;
}
.slidenews .slick-slide {
  margin: 0.5rem;
}
.slidenews .slick-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  bottom: -5px;
}
.slidenews .slick-dots li {
  width: auto;
  margin: 0 3px;
  height: auto;
  display: block;
}
.slidenews .slick-dots li button {
  width: 20px;
  height: 2px;
  opacity: 0.5;
  margin: 0 3px;
  padding: 0;
  background: #5b5e63;
}
.slidenews .slick-dots li.slick-active button {
  opacity: 1;
}
.slidenews .slick-dots li button:before {
  display: none;
}
.newsbox .img-box {
  aspect-ratio: 4/3;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.newsbox:hover img {
  transform: scale(1.05);
}
.newsbox .img-box img {
  height: 100%;
  object-fit: cover;
}
.newsbox p {
  margin: 0;
  color: #a1a1a1;
}
.newsbox h1 {
  font-size: 1rem;
  margin: 0.5rem auto;
  font-family: "IBMPlexSansThai-Medium";

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  height: calc(1rem * 1.2 * 2);
}
.newsbox .readmore-btn.hvr-shutter-in-vertical {
  background-color: #b22222;
}
.newsbox .readmore-btn.hvr-shutter-in-vertical:before {
  background: #fff;
}
.newsbox .readmore-btn {
  border-color: #fff;
  color: #000;
}
.newsbox .readmore-btn:hover {
  color: #fff;
  border-color: #b22222;
}

.address-box ul {
  list-style: none;
  margin-bottom: 1rem;
}
.address-box ul li {
  margin-bottom: 0.3rem;
}
.social-box h1,
.address-box h1 {
  font-size: 18px;
  margin-bottom: 0.5rem;
  font-family: "IBMPlexSansThai-SemiBold";
}
.address-box p {
  margin-bottom: 1rem;
}
.social-box img {
  width: 35px;
  transition: all 0.6s;
}
.social-box img:hover {
  transform: scale(1.03);
}
.mapbox {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3/2;
  margin: 2rem auto;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.mapbox iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contactform h1 {
  font-size: 20px;
  margin-bottom: 1rem;
  font-family: "IBMPlexSansThai-Medium";
}
.detail-form span {
  color: #f00;
}
.detail-form {
  margin-bottom: 1rem;
}
.detail-form p {
  margin-bottom: 0.5rem;
  font-family: "IBMPlexSansThai-Medium";
}
.detail-form #captcha-refresh {
  cursor: pointer;
  color: #000;
  font-size: 26px;
  vertical-align: middle;
}
.detail-form span,
.detail-form p.red-text {
  color: #f00;
  display: initial;
}
.detail-form .custom-file-input,
.detail-form .custom-file {
  height: auto;
}
.form-text,
.custom-file-label {
  padding: 8px 15px;
  background-color: transparent;
  border: 1px solid #797979;
  width: 100%;
  color: #000;
  border-radius: 5px;
  height: auto;
  margin: 0;
  line-height: normal;
}
.form-text:focus {
  outline: none;
  box-shadow: none;
  border-color: #b22222;
}
.form-text::placeholder {
  color: #d2d2d2;
}
.detail-form ul {
  list-style: none;
}
.detail-form.bankdetail p {
  margin: 0;
  color: #ff0000;
  font-family: "IBMPlexSansThai-Regular";
}
.detail-form.bankdetail ul img {
  width: 100%;
}
.detail-form.bankdetail ul span {
  color: #000;
  font-family: "IBMPlexSansThai-Medium";
}
.detail-form ul li {
  padding-bottom: 5px;
}
.sendus-btn {
  width: 100%;
  padding: 10px 20px;
  color: #fff;
  margin: 0.5rem auto 1rem;
  cursor: pointer;
  transition: all 0.5s;
  border-radius: 3px;
  border: 1px solid #b22222;
  box-shadow: none;
  background: #b22222;
  display: block;
  text-transform: uppercase;
  font-family: "IBMPlexSansThai-Medium";
}
.sendus-btn.clearbtn {
  background: #e4e4e4;
  color: #000;
  border-color: #e4e4e4;
}

.sendus-btn.clearbtn:hover,
.sendus-btn:hover {
  transform: scale(0.97);
  background: #fff;
  color: #b22222;
  border-color: #b22222;
}

.containerradio {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 1rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.containerradio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #ffffff;
  border-radius: 50%;
  border: 1px solid #b22222;
}

/* When the radio button is checked, add a blue background */
.containerradio input:checked ~ .checkmark {
  background-color: #fff;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.containerradio input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.containerradio .checkmark:after {
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #b22222;
  transform: translate(-50%, -50%);
}
.detail-form p.instock {
  color: #b22222;
}

#accordionacontact .accordion-body {
  padding: 1rem 0;
}
#accordionacontact .accordion-item,
#accordionacontact .accordion-button {
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  background: none;
  color: #000;
}
#accordionacontact .accordion-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #d7d7d7;
  padding-bottom: 1rem;
}
#accordionacontact .accordion-button {
  font-size: 22px;
  font-family: "IBMPlexSansThai-SemiBold";
}

.newsbox.newsbox2 {
  margin-bottom: 2rem;
}
.content-otherpage.newspage {
  padding-top: 20%;
}
.content-otherpage.howtobuydetailspage,
.content-otherpage.newsdetailpage {
  padding-top: 25%;
}
.tabdsnewsandblog ul.nav {
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 2.5rem;
}
.tabdsnewsandblog ul li {
  width: auto;
  margin: 0 10px;
  align-content: end;
}
.tabdsnewsandblog ul li a {
  display: block;
  padding: 5px 8px;
}
.tabdsnewsandblog ul li a:hover,
.tabdsnewsandblog ul li a.active {
  color: #b22222;
}
.tabdsnewsandblog ul li a img{
	margin:1rem ;
	height:60px;
}
.tabdsnewsandblog ul li a:hover img,
.tabdsnewsandblog ul li a.active img {
	  transition: all 0.3s;
	filter: brightness(0) saturate(100%) invert(15%) sepia(73%) saturate(3601%) hue-rotate(356deg) brightness(102%) contrast(79%);
}
/* Underline From Left */
.hvr-underline-from-left {
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}
.hvr-underline-from-left:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: #b22222;
  height: 2px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-underline-from-left:hover:before,
.hvr-underline-from-left:focus:before,
.tabdsnewsandblog ul li a.active.hvr-underline-from-left:before {
  right: 0;
}

.pageclick .page-link {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  color: #b22222;
  border: none !important;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  transition: all 0.6s;
  font-size: 0.9rem;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.13) 0px 1px 3px;
}
.pageclick .page-link.active,
.page-item.active .page-link,
.pageclick .page-link:hover {
  color: #fff;
  background: #b22222;
}
.pageclick ul {
  justify-content: center;
}

.pdf-load a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px 0 10px;
}
.pdf-load img {
  width: 35px;
  margin: 0 10px 0 0;
}
.pdf-load {
  border-radius: 6px;
  text-align: center;
  margin: 1rem 0;
  width: 200px;
  padding: 6px 0;
  background: #f5f5f5;
  font-size: 0.9rem;
  transition: all 0.6s;
  box-shadow: 1px 1px 2px #c7c7c7;
}
.pdf-load:hover {
  transform: scale(0.97);
}
.pdf-load.loadright {
  width: 60%;
}

.img-box.imgnews {
  width: 90%;
  margin: 2rem auto;
  aspect-ratio: 3/2;
}
.img-box.imgnews img {
  height: 100%;
  object-fit: cover;
}
.slidedetailnews {
  width: 90%;
  margin: 2rem auto 3rem !important;
}
.slidedetailnews .img-box.imgnews {
  margin: 0;
}
/*.slidedetailnews .slider-for{margin-bottom: 1rem;}
.slidedetailnews .slider-nav{padding: 0 1rem;}
.slidedetailnews .slider-nav .slick-list{padding: 0 1rem;}
.slidedetailnews .slider-nav .img-box{
	height: 100%;
	object-fit: cover;
	opacity: .5;
	aspect-ratio:3/2;
}
.slidedetailnews .slider-nav .img-box img{height: 100%;object-fit: scale-down;}
.slidedetailnews .slider-nav .slick-slide{
	margin: 0 5px;
	background: #FFF;
	aspect-ratio:3/2;
}
.slidedetailnews .slick-prev:before, .slidedetailnews .slick-next:before{display: none;}
.slidedetailnews .slick-prev,
.slidedetailnews .slick-next{
	width: 30px;
	height: 30px;
	background-size: 100% !important;
	z-index: 1;
}
.slidedetailnews .slick-prev:hover,
.slidedetailnews .slick-next:hover{filter: none;}
.slidedetailnews .slick-prev{
	left: 0;
	background: url("../newsandblog/images/left.png") center center no-repeat;
}
.slidedetailnews .slick-next{
	right: 0;
	background: url("../newsandblog/images/right.png") center center no-repeat;
}
.slidedetailnews .slider-nav .slick-slide.slick-current.slick-active .img-box{ opacity: 1; }*/

.slidedetailnews .slick-dots li {
  width: auto;
  margin: auto;
  height: auto;
}
.slidedetailnews .slick-dots li button {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background: #000;
  opacity: 0.4;
}
.slidedetailnews .slick-dots li.slick-active button {
  opacity: 1;
}
.slidedetailnews .slick-dots li button:before {
  display: none;
}
.texttitlenews {
  margin-bottom: 2rem;
}
.texttitlenews h1 {
  font-size: 1.4rem;
  margin-bottom: 0rem;
  font-family: "IBMPlexSansThai-SemiBold";
}
.texttitlenews p {
  margin: 0;
}
.textdetail-news {
  margin: 1rem auto;
}
.textdetail-news h1 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-family: "IBMPlexSansThai-SemiBold";
}
.textdetail-news p {
  margin-bottom: 0.7rem;
  text-indent: 3%;
}
.content-box.relatedcontent {
  background: #f5f5f5;
}

.content-otherpage.maipointcontent {
  background: url("../images/bg-about.png") center right no-repeat;
  background-size: cover !important;
}
.textlist-abouts h1 {
  font-size: 24px;
  margin-bottom: 0.5rem;
  font-family: "IBMPlexSansThai-SemiBold";
}
.servicabout h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-family: "IBMPlexSansThai-SemiBold";
}
.servicabout .fa-circle {
  font-size: 10px;
  margin-right: 8px;
}
.servicabout h2 {
  font-size: 20px;
  margin-bottom: 0.5rem;
  font-family: "IBMPlexSansThai-Medium";
}
.servicabout img {
  width: auto;
  margin: auto;
  max-width: 100%;
}
.servicabout {
  margin-bottom: 2rem;
}
.servicabout p {
  margin: 0;
}
.servicabout ul {
  list-style: none;
  margin: 1rem auto;
  padding-left: 3%;
  font-size: 0.95rem;
}
.servicabout.servicabout2 ul {
  list-style: auto;
  padding-left: 0;
}
.servicabout.servicabout3 ul {
  list-style: auto;
}
.textlist-abouts ul {
  margin: 1rem auto;
  padding-left: 1.5rem;
}
.servicabout ul li,
.textlist-abouts ul li {
  margin-bottom: 0.65rem;
}
.imgservices {
  text-align: center;
  overflow: hidden;
  aspect-ratio: 3/2;
  margin: 2rem auto;
}
.imgservices img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.imgservices-height {
  width: 100%;
  height: 235px;
  background: url("../aboutus/images/img2-2.jpg") center center no-repeat;
  background-size: cover !important;
  background-attachment: fixed !important;
}
.textvision {
  margin-bottom: 2rem;
}
.textvision p {
  margin: 0;
}
.textaboutpage h1 {
  font-size: 26px;
  margin-bottom: 0.5rem;
  font-family: "IBMPlexSansThai-SemiBold";
}
.textaboutpage p {
  margin-bottom: 1rem;
}
.textaboutpage h2 {
  font-size: 22px;
  margin: 0;
  font-family: "IBMPlexSansThai-Medium";
}
.textaboutpage hr {
  border-width: 5px;
  opacity: 1;
  border-color: #b22222;
  margin: 0.5rem 0 1rem;
  width: 7rem;
}
.textaboutpage span {
  font-style: italic;
  color: #b22222;
  font-family: "IBMPlexSansThai-Medium";
}
.imgabout {
  text-align: center;
  overflow: hidden;
  border-radius: 20px;
  margin: 1rem auto;
  /*aspect-ratio:3/2;*/
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.imgabout img {
  width: 100%;
  /*height: 100%;
	object-fit: cover;*/
}
.content-otherpage.visionpage {
  padding-bottom: 35%;
  background: url("../aboutus/images/bg-aboutvision.png") right bottom no-repeat;
  background-size: 100% !important;
}

.icon-buy {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
.icon-buy span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  position: absolute;
  top: -0.5rem;
  z-index: 1;
  left: 0rem;
  color: #fff;
  background: #000;
}
.icon-buy img {
  width: 70px;
  margin-bottom: 1rem;
  transition: all 0.5s;
}
.icon-buy:hover span {
  background: #b22222;
}
.icon-buy:hover img {
  transform: scale(0.95);
  filter: invert(18%) sepia(100%) saturate(2310%) hue-rotate(354deg)
    brightness(90%) contrast(81%);
}
.icon-buy a {
  color: #000;
  text-decoration: none;
}
.icon-buy p {
  margin: 0;
}

.products-box {
  margin-bottom: 2rem;
  padding: 0.5rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.products-box:hover img {
  transform: scale(1.03);
}
.products-box .readmore-btn {
  margin: 1rem auto 0;
  width: 100%;
  border-radius: 5px;
}
.products-box .img-box {
  aspect-ratio: 3/2;
}
.products-box .img-box img {
  height: 100%;
  object-fit: scale-down;
}
.text-products {
  padding: 1rem 0.3rem 0;
}
.text-products h1 {
  font-size: 1rem;
  margin-bottom: 0rem;
  font-family: "IBMPlexSansThai-SemiBold";
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  height: calc(1rem * 1.2 * 1);
}
.text-products p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  height: calc(1rem * 1.2 * 2);
  font-size: 0.9rem;
}
.text-products h2 {
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
  height: calc(1rem * 1.2 * 2);
  margin-bottom: 0.5rem;
}
.products-box.boxonline .text-products h2 {
  margin: 0;
}
.toolproducts ul {
  list-style: none;
}
.toolproducts img {
  width: 30px;
  margin: 0;
  filter: invert(68%) sepia(37%) saturate(4%) hue-rotate(339deg)
    brightness(101%) contrast(94%);
}
.toolproducts ul img:hover {
  filter: invert(20%) sepia(60%) saturate(3644%) hue-rotate(348deg)
    brightness(83%) contrast(90%);
}
.toolproducts ul li {
  width: auto;
  margin: 0 0 0.5rem;
}
.toolproducts ul li:hover {
  color: #b22222;
}

.category-products {
  margin-bottom: 2rem;
}
.category-products h1 {
  font-size: 22px;
  margin-bottom: 1rem;
  font-family: "IBMPlexSansThai-SemiBold";

  position: relative;
}
.category-products .fa-angle-up {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  z-index: 1;
}
.category-products h1[aria-expanded="true"] .fa-angle-up {
  transform: translate(0, -50%) rotate(0deg);
}
.category-products h1[aria-expanded="false"] .fa-angle-up {
  transform: translate(0, -50%) rotate(-180deg);
}
.category-products .accordion-body {
  padding: 0;
}
.category-products ul {
  list-style: none;
  flex-wrap: wrap;
}
.category-products ul li a {
  display: block;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  transition: all 0.6s;
  background: #f5f5f5;
}
.category-products ul li {
  margin-bottom: 0.3rem;
  width: 100%;
}
.category-products ul img {
  width: 33px;
  margin: 0 5px 0 0;
}
.category-products ul li a:hover,
.category-products ul li a.active {
  padding-left: 22px;
  background: #b22222;
  color: #fff;
}
.category-products ul li a:hover img,
.category-products ul li a.active img {
  filter: brightness(0) invert(1);
}

.tabscategory {
  display: none;
}
.tabscategory ul.nav {
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.tabscategory ul.nav li {
  width: auto;
  margin: auto;
}
.tabscategory ul.nav li a {
  display: block;
  text-align: center;
}
.tabscategory ul.nav li img {
  width: 65px;
  transition: all 0.6s;
}
.tabscategory ul.nav li p {
  margin: 0.5rem auto;
}
.tabscategory ul.nav li a:hover img {
  transform: scale(1.03);
}
.tabscategory ul.nav li a:hover img,
.tabscategory ul.nav li a.active img {
  filter: invert(19%) sepia(41%) saturate(4689%) hue-rotate(346deg)
    brightness(96%) contrast(94%);
}
.tabscategory ul.nav li a:hover,
.tabscategory ul.nav li a.active {
  color: #b22222;
}

.textdetail-products .readmore-btn {
  margin-bottom: 1rem;
}
.textdetail-products .boxprice h1 {
  font-size: 22px;
}
.textdetail-products h1 {
  font-size: 1.4rem;
  margin: 0;
  font-family: "IBMPlexSansThai-SemiBold";
}
.textdetail-products h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-family: "IBMPlexSansThai-Medium";
}
.textdetail-products hr {
  margin: 0.5rem 0;
}
.textdetail-products p {
  margin: 0;
  opacity: 0.7;
}
.textdetail-products ul {
  list-style: none;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.slideproducts {
  margin: 2rem auto;
}
.slideproducts .slider-for {
  margin-bottom: 1rem;
}
.slideproducts .slick-slide {
  margin: 0 5px;
  background: #fff;
  aspect-ratio: 3/2;
}
.slideproducts .slick-slide .img-box {
  aspect-ratio: 3/2;
}
.slideproducts .slick-slide .img-box img {
  object-fit: scale-down;
}
.slideproducts .slider-nav {
  padding: 0 1rem;
}
.slideproducts .slider-nav .slick-list {
  padding: 0 1rem;
}
.slideproducts .slider-nav .img-box {
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  aspect-ratio: 3/2;
}
.slideproducts .slider-nav .img-box img {
  height: 100%;
  object-fit: scale-down;
}
.slideproducts .slick-prev:before,
.slideproducts .slick-next:before {
  display: none;
}
.slideproducts .slick-prev,
.slideproducts .slick-next {
  width: 30px;
  height: 30px;
  background-size: 100% !important;
  z-index: 1;
}
.slideproducts .slick-prev:hover,
.slideproducts .slick-next:hover {
  filter: none;
}
.slideproducts .slick-prev {
  left: 0;
  background: url("../newsandblog/images/left.png") center center no-repeat;
}
.slideproducts .slick-next {
  right: 0;
  background: url("../newsandblog/images/right.png") center center no-repeat;
}
.slideproducts .slider-nav .slick-slide.slick-current.slick-active .img-box {
  opacity: 1;
}

.number-input {
  display: flex;
  overflow: hidden;
  color: #000;
  border-radius: 4px;
  margin: auto;
  justify-content: center;
  align-items: center;
  border: 1px solid #000;
  padding: 2px;
}
.number-input .minus-bt {
  color: #000;
  background-color: transparent;
}
.number-input .plus-bt {
  color: #000;
  background-color: transparent;
}

.number-input button {
  outline: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin: 0;
  position: relative;
}
.number-input input[type="number"] {
  max-width: 80px;
  padding: 5px;
  border-width: 0 2px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  color: #000;
  margin: 0 5px;
  border-radius: 8px;
  border: none;
  background-color: transparent;
}
.quantity[type="number"]::-webkit-inner-spin-button,
.quantity[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity[type="number"]:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.products-box.boxonline .toolproducts {
  margin: 0.5rem auto;
}
.products-box.boxonline .number-input input[type="number"] {
  max-width: 50px;
}
.products-box.boxonline .readmore-btn {
  margin: auto;
}
.boxprice p {
  margin: 0;
  text-decoration: line-through;
  opacity: 0.6;
  display: -webkit-box;
  -webkit-line-clamp: none;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: normal;
  height: auto;
  font-size: 0.85rem;
}
.boxprice h1 {
  font-size: 18px;
  margin: 0;
  font-family: "IBMPlexSansThai-Medium";
}

.content-otherpage.cartpage {
  position: relative;
}
.cartlist-details {
  border-radius: 10px;
  margin-bottom: 1rem;
  background: #fff;
  padding: 1rem;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.cartlist-details .products-box {
  box-shadow: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.cartlist-details .fa-trash {
  color: #565656;
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1;
}
.cartlist-details .fa-trash:hover {
  color: #f00;
}
.checkout-price {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1023;
  background: #fff;
  width: 100%;
  padding: 1rem 0;
  box-shadow: -10px 0 7px rgba(0, 0, 0, 0.15);
}
.textlist-pro h1 {
  font-size: 1.2rem;
  margin: 0;
  font-family: "IBMPlexSansThai-Medium";
}
/* The container */
.checkpro {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkpro input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkpro .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #ececec;
  z-index: 1;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkpro .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkpro input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkpro .checkmark:after {
  left: 25%;
  top: 50%;
  width: 7px;
  z-index: 2;
  height: 13px;
  border: solid #ff8c00;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg) translate(-50%, -50%);
  -ms-transform: rotate(45deg) translate(-50%, -50%);
  transform: rotate(45deg) translate(-50%, -50%);
}

.totalprice {
  margin-right: 10px;
}
.totalprice p {
  opacity: 0.6;
  margin: 0;
  font-size: 0.9rem;
}
.totalprice p span {
  text-decoration: line-through;
}
.totalprice h1 {
  font-size: 1rem;
  margin: 0;
  font-family: "IBMPlexSansThai-Medium";
}
.totalprice h1 span {
  font-size: 1.2rem;
  color: #b22222;
}
.address-choose {
  padding: 1rem 1rem;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 2rem;
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}
.address-choose h1 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: "IBMPlexSansThai-Medium";
}
.address-choose p {
  margin-bottom: 0.5rem;
}
.address-choose span {
  font-size: 1.1rem;
  margin-right: 5px;
  font-family: "IBMPlexSansThai-Medium";
}
.address-choose a.editaddress {
  padding: 5px;
  border: 1px solid #b22222;
  color: #b22222;
  display: block;
  margin: 0;
  width: 100%;
  text-align: center;
}
.choosedelivery {
  padding: 1rem;
  border-radius: 10px;
  background: rgb(173 173 173 / 10%);
}
.choosedelivery h1 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: "IBMPlexSansThai-Medium";
}
.choosedelivery p {
  margin: 0;
}
.choosedelivery a.changedelivery {
  padding: 5px;
  border: 1px solid #b22222;
  color: #b22222;
  display: block;
  margin: 1rem 0 0;
  width: 100%;
  text-align: center;
}
#changedeliveryModal .btn-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1;
}
#changedeliveryModal .modal-content {
  position: relative;
  max-height: 667px;
  margin: auto;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(233, 225, 216, 0.8) rgba(233, 225, 216, 0.1);
}
#changedeliveryModal .modal-dialog {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  padding: 0 1rem;
}
.banktransfer.deliverychange img {
  width: 60px;
}
.banktransfer.deliverychange label {
  align-items: center;
}

#changebankModal .btn-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1;
}
#changebankModal .modal-content {
  position: relative;
}
#changebankModal .modal-dialog {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  padding: 0 1rem;
}

#changeaddressModal .btn-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1;
}
#changeaddressModal .modal-content {
  position: relative;
  max-height: 667px;
  margin: auto;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(233, 225, 216, 0.8) rgba(233, 225, 216, 0.1);
}
#changeaddressModal .modal-dialog {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  padding: 0 1rem;
}
.modal .modal-footer {
  border: none;
}
.add-address h1 {
  font-size: 24px;
  line-height: 1;
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-family: "IBMPlexSansThai-Medium";
}
.detail-address {
  margin-bottom: 15px;
}
.detail-address p {
  margin-bottom: 10px;
}
.form-address {
  width: 100%;
  padding: 7px 15px;
  border-radius: 5px;
  border: 1px solid #eee;
  background-color: #fff;
}
.form-address:focus {
  outline: none;
}
.form-address::placeholder {
  color: #b2b2b2;
}

.add-address.addvat .checkmark {
  top: -5px;
}

/* The container */
.radiochoose {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.radiochoose input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid #797979;
}

/* When the radio button is checked, add a blue background */
.radiochoose input:checked ~ .checkmark {
  background-color: #fff;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radiochoose input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radiochoose .checkmark:after {
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #797979;
  transform: translate(-50%, -50%);
}

/*===========paysuccess============*/

.carttext-success {
  text-align: center;
  margin: 2rem auto;
}
.carttext-success img {
  width: 35%;
}
.carttext-success ul {
  justify-content: space-between;
  align-items: center;
  display: flex;
  color: #7d7d7d;
  margin-top: 3rem;
  list-style: none;
}
.carttext-success h1 {
  font-size: 2rem;
  color: #b22222;
  margin: 2rem auto 1rem;
  font-family: "IBMPlexSansThai-Medium";
}
.carttext-success h2 {
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 0;
  font-family: "IBMPlexSansThai-Medium";
}
.carttext-success span {
  font-size: 1.3rem;
  color: #b22222;
  font-family: "IBMPlexSansThai-Medium";
}
.carttext-success p {
  margin: 0;
}

.tabsorders ul.nav-pills {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #b22222;
  margin-bottom: 0.5rem;
}
.tabsorders ul.nav-pills li {
  width: auto;
  margin: auto;
}
.tabsorders ul.nav-pills li a {
  display: block;
  padding: 5px 10px;
  text-align: center;
}
.tabsorders ul.nav-pills li a:hover,
.tabsorders ul.nav-pills li a.active {
  color: #b22222;
}

.banktransfer {
  margin-bottom: 1rem;
}
.banktransfer label {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.banktransfer img {
  width: 95px;
  margin-right: 10px;
}
.taxtbkank h1 {
  font-size: 1rem;
  margin: 0;
  font-family: "Kanit-Regular";
}
.taxtbkank p {
  margin: 0;
}

.textbank img {
  max-width: 100%;
}
.textbank h1 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-family: "Kanit-Regular";
}

.content-otherpage {
  padding: 17% 0 10%;
  position: relative;
}
.fixedhistory {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 9rem;
  z-index: 10;
  padding: 7% 0 3%;
  background: #fff;
}

.iconservices {
  padding: 1rem;
  border: 1px solid transparent;
  border-radius: 15px;
  margin-bottom: 2rem;
  text-align: center;
  transition: all 0.6s;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.iconservices:hover {
  color: #b22222;
  border-color: #b22222;
  transform: scale(1.03);
}
.iconservices h1 {
  font-size: 18px;
  margin: 0.5rem auto 0;
  font-family: "IBMPlexSansThai-SemiBold";
}
.iconservices h2 {
  font-size: 16px;
  margin-bottom: 0.5rem;
  font-family: "IBMPlexSansThai-Medium";
}
.iconservices img {
  width: 100px;
  transition: all 0.6s;
}
.iconservices:hover img {
  transform: scale(1.03);
}

.backarrow {
  width: 75px;
  height: 35px;
  margin: auto;
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  z-index: 1;
  background: #fff;
  text-align: center;
  font-size: 30px;
  border-radius: 35px 35px 0 0;
  box-shadow: rgba(0, 0, 0, 0.15) -1.95px -1.95px 2.6px;
}
/*///////////Start-Policy///////////////*/
.policy-box {
  position: fixed;
  bottom: 0%;
  right: 0%;
  width: 100%;
  text-align: left;
  padding: 1rem;
  color: #000;
  z-index: 1234;
  display: block;
  font-size: 1rem;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.policy-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.policy-box ul li {
  padding: 0 10px;
}
.policy-box p {
  font-size: 1.1rem !important;
  margin-bottom: 0;
  font-family: "IBMPlexSansThai-Medium";
}
.policy-box a {
  text-decoration: underline;
}
.policy-box a:hover {
  text-decoration: none;
  color: #b22222;
}
.policy-box .btn-policy {
  width: 210px;
  padding: 8px;
  transition: all 0.5s;
  cursor: pointer;
  text-align: center;
  color: #fff;
  margin: 0.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  border: 1px solid #b22222;
  background: #b22222;
  border-radius: 5px;
}
.btn-policy:hover {
  color: #b22222;
  background: #fff;
}

/*///////////End-Policy///////////////*/

/*///////////Start-Footer///////////////*/
.footer {
  color: #fff;
  padding: 10% 0 5%;
  background: #b22222;
}
.footer ul {
  list-style: none;padding:0;
}
.footer ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.3rem;
}
.footer h1 {
  font-size: 18px;
  margin-bottom: 0.75rem;
  font-family: "IBMPlexSansThai-Medium";
}
.footer img {
  width: 20px;
  margin-right: 8px;
  filter: brightness(0) invert(1);
}
.footer hr {
  width: 2em;
  margin: 0.5rem 0 0.75rem;
  opacity: 1;
  border-color: #fff;
}
.footer a {
  display: inline-block;
}
.footer p {
  margin-bottom: 0rem;
}
.footer a:hover {
  color: #000;
  text-decoration: underline;
}
.contact-footer {
  margin: 1rem auto;
}
.social-footer {
  text-align: center;
}
.social-footer img {
  width: 40px;
  margin: 0;
  transition: all 0.6s;
}
.social-footer img:hover {
  transform: scale(0.95);
  filter: none;
}
.copyright-box {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  border-top: 1px solid #fff;
  padding-top: 1rem;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}

/*///////////End-Footer///////////////*/
@media (max-width: 920px) {
  body {
    max-width: 100% !important;
  }
  .navbar-collapse {
    position: fixed;
    width: 100%;
    background: #fff;
    height: 100% !important;
    max-height: none !important;
    top: 0%;
    display: block;
    right: -20%;
    opacity: 0;
    margin: 0 !important;
    z-index: 55;
    transition: all 0.5s;
    overflow-y: scroll;
    box-shadow: 5px 0px 5px 0px rgba(0, 0, 0, 0.1);
  }
  .navbar-collapse::-webkit-scrollbar {
    width: 0;
  }
  .navbar-collapse.in {
    right: 0;
    opacity: 1;
    transition: all 0.5s;
  }
  .navbar-collapse.show {
    right: 0;
    opacity: 1;
    transition: all 0.5s;
  }
  .all-container {
    width: 100%;
  }
  .all-container.-collapse {
    transition: all 0.5s;
  }
  .navbar-expand-lg,
  .navbar-collapse,
  .navbar-collapse.collapsing,
  .all-container.all-container.all-container {
    transition: all 0.5s !important;
  }
  .navbar-expand-lg.-collapse {
    width: 100%;
    transition: all 0.5s;
  }
}
