@font-face{
 font-family:"worasait";
 src:url("front/worasait.ttf") format("ttf");
}
html body {
	font-family: 'Noto Sans', 'Kanit', sans-serif !important;
 font-weight: 100 !important;
 font-size: 16px !important;
 word-break: break-word;
 background-color: #fff8f1;
}
body .aiz-main-wrapper {
    background-color: #fff8f1;
}
* {
 outline: 0px;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
 letter-spacing: 1px;
 font-weight: bold;
}
body button:focus {
	outline: 0px;
 box-shadow: none !important;
}
input:focus::-webkit-input-placeholder { /* Edge */
 color: #e5e6e6;
}
input:focus:-ms-input-placeholder { /* Internet Explorer 10-11 */
 color: #e5e6e6;
}
input:focus::placeholder {
 color: #e5e6e6;
}
a {
 text-decoration: none !important;
}
a[href="javascript:void(0)"] {
 cursor: default;
}
.form-inline .form-check-input {
 filter: hue-rotate(250deg);
}
body .form-control:focus {
 border-color: #957E67;
 box-shadow: 0 0 0 .2rem rgba(170,144,119,.25);
}
body .btn {
 border-radius: 0px;
 padding: 0.7rem 1rem;
 box-shadow: none !important;
}
body .btn-primary {
 color: #fff;
 background-color: #957E67;
 border-color: #a18972;
}
body .btn-primary:hover {
 background-color: #695847;
 border-color: #695847;
}
body .show>.btn-primary.dropdown-toggle ,
body .btn-primary:hover ,
body .btn-primary:focus ,
body .btn-primary:active ,
body .btn-primary.disabled ,
body .btn-primary:disabled ,
body .btn-primary:not(:disabled):not(.disabled).active ,
body .btn-primary:not(:disabled):not(.disabled):active ,
body .btn-outline-primary:not(:disabled):not(.disabled).active ,
body .btn-outline-primary:not(:disabled):not(.disabled):active ,
body .show>.btn-outline-primary.dropdown-toggle {
 background-color: #26413B;
 border-color: #26413B;
}
body .btn-warning {
 color: #fff;
 background-color: #fb6e36;
 border-color: #fb6e36;
}
body .btn-warning:hover {
 color: #fff;
 background-color: #bc5025;
 border-color: #bc5025;
}
body .btn-info {
 color: #fff;
 background-color: #26413B;
 border-color: #26413B;
}
body .btn-info:hover {
 color: #fff;
 background-color: #3f6e65;
 border-color: #3f6e65;
}
body .btn-secondary {
 color: #fff;
 background-color: #b3b4b4;
 border-color: #b3b4b4;
}
.btn-danger {
 color: #fff;
 background-color: #ff3f26;
 border-color: #ff3f26;
}
body .text-primary {
 color: #957E67 !important;
}
body .bg-light {
 background-color: #fbfbfb!important;
}
body .btn-light {
 background-color: #fbfbfb;
 border-color: #fbfbfb;
}
.text-line1 {
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}
.text-line2 ,
.text-line3 ,
.text-line4 ,
.text-line5 {
 display: -webkit-box;
 -webkit-box-orient: vertical;
 overflow: hidden;
 text-overflow: ellipsis;
}
.text-line2 {
 -webkit-line-clamp: 2;
}
.text-line3 {
 -webkit-line-clamp: 3;
}
.text-line4 {
 -webkit-line-clamp: 4;
}
.text-line5 {
 -webkit-line-clamp: 5;
}
.material-icons {
 vertical-align: middle;
}
body .alert-success {
    color: #fff !important;
}
html[lang="th"] a.dropdown-item[data-flag="th"], html[lang="en"] a.dropdown-item[data-flag="en"] {
    color: #957E67 !important;
}
body .dropdown-item:focus, body .dropdown-item:hover {
    color: black !important;
}
/* select {
 padding-right: 30px !important;
 background: #fff url('../images/icon-select.png') no-repeat calc(100% - 10px) center;
 -webkit-appearance: none;
 -webkit-border-radius: 2px;
 -webkit-padding-end: 30px;
 -webkit-padding-start: 9px;
 -webkit-user-select: none;
 -moz-appearance: none;
 -moz-padding-end: 30px;
 -moz-padding-start: 9px;
 -moz-user-select: none;
} */
.order-img .img {
 width: 80px;
 margin-right: 10px;
 float: left;
}
.order-img .img+* {
 width: calc(100% - 80px);
}
 .order-img .img img {
  aspect-ratio: 1;
 }

 a[href="javascript:void(0)"][data-toggle="dropdown"], a[href="javascript:void(0)"].dropdown-item {
    cursor: pointer;
}
.page-item.disabled .page-link {
 background-color: transparent !important;
}

ul.pagination {
    flex-flow: wrap;
    justify-content: center;
}
.pagination .page-item{
    margin-top: 2px;
    margin-bottom: 2px;
}
body ul.pagination .page-link, body ul.pagination .disabled .page-link{
  color: #957E67;
  background-color: #f3f3f3 !important;
  border-radius: 0px !important;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
 }
 .pagination .page-link:hover {
    background-color: #c7af97 !important;
    color: #fff !important;
}
 ul.pagination .page-item.active .page-link {
  background-color: #957E67 !important;
  border-color: #957E67;
 }

body ul.list-icon {
 list-style-type: none;
 position: relative;
}
 body ul.list-icon li {
  margin-bottom: 11px;
 }
  body ul.list-icon li .material-icons {
   position: absolute;
   left: 2px;
  }

.btn-group.quantity {
 width: 120px;
 margin: auto;
}
 .btn-group.quantity button.btn.btn-delete ,
 .btn-group.quantity button.btn.btn-plus {
  border-radius: 0px !important;
 }
 .btn-group.quantity button.btn {
  width: 35px;
  background-color: #aa9172;
	}
	.btn-group.quantity .btn.btn-plus:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 1px;
  height: 9px;
  border-left: 2px solid #ffffff;
	}
	.btn-group.quantity .btn.btn-plus:before ,
	.btn-group.quantity .btn.btn-delete:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 9px;
  height: 1px;
  border-top: 2px solid #ffffff;
	}
	.btn-group.quantity .btn.disabled {
  opacity: 0.4;
  background-color: #bbbbbb;
 }
	.btn-group.quantity input.btn {
		text-align: center;
	}
	.btn-group.quantity>.btn:first-child:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
	}
	.btn-group.quantity>.btn:not(:first-child):not(:last-child) {
  border-radius: 0;
	}
	.btn-group.quantity>.btn:last-child:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
	}
	.btn-group.quantity input.btn {
  padding: 6px 3px;
  width: calc(100% - 68px);
  height: 30px;
  background-color: #f6f6f6;
	}
	.btn-group.quantity button.btn.btn-delete {
 	border-top-left-radius: 5px !important;
  border-bottom-left-radius: 5px !important;
	}
	.btn-group.quantity button.btn.btn-plus {
 	border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
	}

.modal .modal-dialog.modal-lg {
 max-width: 600px;
 padding: 43px 13px 0px 13px;
}
.modal .modal-body {
 padding: 25px;
}
 .modal button.close {
  color: #fff;
  position: fixed;
  top: 0px;
  right: 0px;
  text-shadow: none !important;
  padding: 10px;
  opacity: 1;
 }
  .modal button.close span.material-icons {
   color: #fff;
   font-size: 35px;
  }

body .form-control {
	font-weight: 100;
 border: 0px;
 background-color: #f6f6f6;
 resize: none;
 padding: 0.7rem 0.75rem;
}
.form-control::-webkit-input-placeholder { /* Edge */
	color: #bebebe;
}
.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #bebebe;
}
.form-control::placeholder {
	color: #bebebe;
}
.container {
 width: 100%;
 max-width: 1200px;
 padding-right: 15px;
 padding-left: 15px;
 margin-right: auto;
 margin-left: auto;
 display: block;
 box-sizing: border-box;
 position: relative;
}
h2.head {
 font-size: 2em;
 text-align: center;
 margin: 0px;
 padding: 30px 10px;
 text-transform: uppercase;
 color: #6e6e6e;
}
h2.head::after {
 content: "";
 border-bottom: 2px solid #b3b3b3;
 display: block;
 width: 90px;
 margin: auto;
 margin-top: 10px;
}
img {
 object-fit: cover;
 max-width: 100%;
}
.img {
	overflow: hidden;
	position: relative;
}
	.img img {
		display: block;
		width: 100%;
		transition: transform .5s ease;
	}
	.img:hover img {
		transform: scale(1.1);
	}
	.img .src-img {
	 background:rgba(59, 120, 132, 0.08) no-repeat center;
	 background-size: cover;
		transition: transform .8s ease;
	}
	.img:hover .src-img {
		transform: scale(1.1);
	}

.table-responsive-stylejohn thead th {
 min-width: 90px;
}
 .table-responsive-stylejohn .dj-block.dj-sm-none {
  display: none;
 }

@media only screen and (max-width: 767px) {
.table-responsive-stylejohn {

}
        .table-responsive-stylejohn thead {
        display: none;
    }
        .table-responsive-stylejohn tbody tr {
        display: block;
        margin-bottom: 15px;
        background-color: #f5f5f5;
    }
        .table-responsive-stylejohn tbody tr:last-child {
        margin-bottom: 0px;
    }
        .table-responsive-stylejohn tbody td {
        display: flex;
    }
        .table-responsive-stylejohn tbody td:nth-child(1) {
        border: 0px;
        align-items: flex-start !important;
    }
        .table-responsive-stylejohn tbody td:nth-child(2) {
        border-top: 0px;
        padding-top: 0px;
    }
        .table-responsive-stylejohn .stylejohn-head {
        padding-right: 10px;
    }
}
table tr+tr.no-product-list {
 display: none;
}

.b-sticky {
 position: sticky;
 position: -o-sticky;
 position: -moz-sticky;
 position: -webkit-sticky;
 top: 100px;
 transition: top .5s;
}
.b-sticky.supplier {
 top: 85px;
}

 .box-filter a[data-toggle="collapse"]::after {
  content: "\f106";
  float: right;
  font: normal normal normal 21px/1 FontAwesome;
  transition: .5s;
  transform: rotate(180deg);
  margin-top: 3px;
 }
 .box-filter a[data-toggle="collapse"]:not(.collapsed):not([aria-expanded="false"])::after {
  transform: rotate(0deg);
 }
 .box-filter ul ul {
  list-style-type: none;
  padding-left: 23px;
 }
 .box-filter ul ul a {
  color: #a18972;
  width: 100%;
  padding: 3px;
  display: block;
 }
 .box-filter ul ul a.active {
    font-weight: bold;
}
 .box-filter ul ul a:hover {
  color: #424242;
 }

input[type=checkbox] ,
input[type=radio] {
 width: 17px;
 height: 17px;
 vertical-align: sub;
 margin-right: 7px;
 filter: hue-rotate(198deg);
}

body .tooltip-inner {
 background-color: #26413B;
 border-radius: 25px;
}
body .bs-tooltip-auto[x-placement^=left] .arrow::before ,
body .bs-tooltip-left .arrow::before {
 border-width: 0.2rem 0 0.2rem 0.4rem;
 border-left-color: #26413B;
 left: -1px;
 top: 50%;
 transform: translateY(-50%);
}

header .container {
 max-width: 1400px
}
header {
 background-color: #1f3530;
 position: fixed;
 top: 0px;
 left: 0px;
 right: 0px;
 z-index: 1030;
 box-shadow: 0 0 8px 0px rgb(109 84 61 / 66%);
}
 header .navbar-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0px;
  height: 100%;
  margin: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
 }
 header .navbar-brand img.img-logo {
  height: 62px;
  object-fit: contain;
 }
	header nav.navbar {
  height: 80px;
 }
.card .card-body div[class*="text-line"] img {
 display: none;
}
div#content {
 padding-top: 80px;
}
	div#navbarCollapse {
  background-color: #1f3530;
  outline: 12px solid #1f3530;
	}
 	div#navbarCollapse .box-btn-header {

 	}
  	div#navbarCollapse .box-btn-header .btn-link {
    color: #414141;
    font-size: 24px;
    padding: 8px;
   }
   div#navbarCollapse .box-btn-header .btn-link img {
    width: 23px;
   }
   div#navbarCollapse .box-btn-header .btn-link.btn-invoice {
    position: relative;
   }
	 	div#navbarCollapse .box-btn-header .badge-pill {
    aspect-ratio: 1;
    display: flex;
    position: absolute !important;
    top: 4px !important;
    right: 0px;
    border: 2px solid #fff;
    padding: 0px;
    background-color: #fb6e36;
    width: 21px;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    height: auto;
    line-height: 1;
   }
   div#navbarCollapse .box-btn-header .badge-pill:empty {
    display: none;
   }

  div#navbarCollapse .form-search {
   position: absolute;
   right: 0px;
   background-color: rgb(32 55 49 / 60%);
   backdrop-filter: blur(4px) brightness(100%);
   top: 9px;
   z-index: -1;
   padding: 8px;
  }
 	div#navbarCollapse .form-search.open {
   top: 80px;
   z-index: 9;
   transition: top .3s,z-index .3s .3s;
  }
  div#navbarCollapse .form-search.open+.box-shadow {
   position: fixed;
   left: 0px;
   top: 80px;
   width: 100vw;
   height: calc(100vh - 80px);
   z-index: -2;
  }
  #navbarCollapse .input-group {
   background-color: #fff;
  }
  #navbarCollapse input {
   box-shadow: none;
   background-color: #fff;
   border: 1px solid #ced4da;
   border-radius: 0px;
  }

div#search-content {
 transition: .5s;
 padding: 45px 30px;
 max-height: calc(100vh - 80px);
 overflow: auto;
}
 div#navbarCollapse .form-search.open+.box-shadow+.typed-search-box div#search-content {
  padding-top: 90px;
 }
 .typed-search-box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0px;
  background-color: #f5f5f5;
  height: 100%;
  width: 100vw;
  transform: translateX(-50%);
 }

	header .nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
	}
		header .navbar-nav .nav-link {
		 padding: 5px 15px;
		 color: #ffffff;
		 font-weight: 400;
		}
		header .navbar-nav .active .nav-link ,
		header .navbar-nav .nav-link:hover {
 		color: #aa9077;
		}

	header .navbar-toggler-icon {
	 background: none;
	 position: relative;
	 width: 32px;
	}
		header .navbar-toggler-icon:before {
		 height: 3px;
		 width: 32px;
		 position: absolute;
		 top: 0;
		 right: 0;
		 bottom: 0;
		 left: 0;
		 background: #957E67;
		 transition: transform ease .5s;
		 content: '';
		 display: block;
		 margin: auto;
		}
		header button[aria-expanded="true"] .navbar-toggler-icon:before {
		 transition: transform .5s ease .5s;
		 opacity: 1;
		 transform: rotate(-40deg);
		}
		header .navbar-toggler-icon:after {
		 height: 3px;
		 width: 32px;
		 position: absolute;
		 top: 0;
		 right: 0;
		 bottom: 0;
		 left: 0;
		 background: #957E67;
		 box-shadow: 0 8px 0 #957E67, 0 -8px 0 #957E67;
		 transition: transform ease .5s,box-shadow .5s ease .5s;
		 content: '';
		 display: block;
		 margin: auto;
		}
		header button[aria-expanded="true"] .navbar-toggler-icon:after {
		 transition: transform .5s ease .5s,box-shadow ease .5s;
		 box-shadow: 0 0 0;
		 transform: rotate(40deg);
		}

		header form.form-inline.form-search .input-group button.btn {
   border: 1px solid #ced4da;
		}

.box-banner {
 background: #000000;
 overflow: hidden;
}
	.box-banner .item {
	 overflow: hidden;
	}

	.owl-dots {
		margin: 5px auto;
		position: absolute;
		bottom: 3%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
		.owl-dot {
   width: 8px;
   height: 8px;
   display: block;
   background: #68865c;
   float: left;
   margin: 2px 4px;
   border-radius: 50%;
		}
			.owl-dot.active {
				background: #b5dca2;
			}

	.owl-nav {
		position: absolute;
		top: 50%;
		left: 0px;
		width: 100%;
		height: 0px;
		transform: translateY(-50%);
	}
		.owl-nav > div {
   display: flex;
   align-items: center;
   justify-content: center;
   min-width: 5%;
   aspect-ratio: 1;
   transform: translateY(-50%);
   position: absolute;
   transition: opacity .5s;
   opacity: 0;
		}
		.owl-nav > div:hover {
			opacity: 1;
		}
			.owl-prev {
				float: left;
				left: 10px
			}
			.owl-next {
				float: right;
				right: 10px;
			}
			.owl-nav .b-arrow {
			 width: 40px;
			 height: 40px;
			 background: #957E67;
			 color: #ffffff;
			 display: flex;
			 justify-content: center;
			 align-items: center;
			 border-radius: 50%;
			}

	.owl-carousel .img-banner {
	 width: 100%;
  background: no-repeat center;
	 background-size: cover;
	}
	.this-none {
	 width: 100%;
	 height: 100%;
	 position: absolute;
	 z-index: 1;
	 left: 0px;
	 top: 0px;
	}
 .img-banner.banner-portrait ,
	img.banner-portrait {
		display: none !important;
	}

@-webkit-keyframes fadeInUp{
 0%{
  opacity:0;
  -webkit-transform:translateY(50px);
  transform:translateY(50px);
 }
 100%{
  opacity:1;
  -webkit-transform:translateY(0);
  transform:translateY(0);
 }
}
@keyframes fadeInUp{
 0%{
  opacity:0;
  -webkit-transform:translateY(50px);
  -ms-transform:translateY(50px);
  transform:translateY(50px);
 }
 100%{
  opacity:1;
  -webkit-transform:translateY(0);
  -ms-transform:translateY(0);
  transform:translateY(0);
 }
}

@media only screen and (min-width: 1300px) {
 body .container {
  max-width: 1260px;
 }
 header .container {
  max-width: 1400px;
 }
}
@media only screen and (min-width: 1550px) {
 body .container {
  max-width: 1400px;
 }
}

.box-breadcrumb {
 background-color: #fff8f1;
 font-size: 13px;
}
 .box-breadcrumb .breadcrumb {
  background-color: transparent;
  margin-bottom: 0px;
 }
  .box-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
   content: ">";
  }
  .box-breadcrumb .breadcrumb-item a {
   color: #000;
  }

.box-head {
 background: #1d312d url('../../public/images/bg-head.jpg') no-repeat center;
 background-size: cover;
 height: 14vw;
 max-height: 200px;
 min-height: 120px;
 display: flex;
 align-items: center;
}

.img-left-portfolio {
 padding: 2%;
 aspect-ratio: 1;
 display: flex;
 align-items: center;
 justify-content: center;
 background-color: #f8f8f8;
 margin-right: 40px;
 width: 220px;
}
 .img-left-portfolio img {
  width: 300px;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: darken;
 }

 body .card {
    box-shadow: none;
    margin: 0px;
    background-color: transparent;
   }
   body .card .card-body {
    padding: 1.25rem;
   }
   body .card-footer {
    padding: 0.75rem 1.25rem;
   }

   .box-products-list {

   }
    .box-products-list .card-body {
     padding: 8px !important;
    }
    .box-products-list .card-footer {
     padding-left: 8px !important;
     padding-right: 8px !important;
     background-color: transparent;
    }
  .box-products-list h6 {
   letter-spacing: normal;
  }
  .box-products-list .img:before ,
  .box-products-list .img:after {
   display: none;
  }
  .box-products-list .card img {
   aspect-ratio: 365/388;
  }
  .box-products-list .card:hover img {
   transform: scale(1.1);
  }

section.box-detail {

}
 section.box-detail .container > * {
  margin: 15px 0px;
 }
 section.box-detail .container > *:nth-child(1) {
  margin-top: 0px;
 }

section.box-detail .box-gallery {

}
 section.box-detail .box-gallery .item {
  padding: 11px;
  width: calc(100% / 5);
 }
  section.box-detail .box-gallery .item img {
   aspect-ratio: 1;
  }

.box-news {
 background-color: #fafafa;
}
 .box-news .card ,
 .box-news .card-footer {
  background-color: transparent;
 }
  .box-news h6 {
   letter-spacing: normal;
  }
  .box-news .img:before ,
  .box-news .img:after {
   display: none;
  }
  .box-news .card img {
   aspect-ratio: 600/440;
  }
  .box-news .card:hover img {
   transform: scale(1.1);
  }
  .box-news .card .card-footer a {
   color: #757575;
   text-decoration: #757575 underline !important;
  }

.box-portfolio {

}
 .box-portfolio .card ,
 .box-portfolio .card-footer {
  background-color: transparent;
 }
  .box-portfolio h6 {
   letter-spacing: normal;
  }
  .box-portfolio .img:before ,
  .box-portfolio .img:after {
   display: none;
  }
  .box-portfolio .card img {
   aspect-ratio: 600/440;
  }
  .box-portfolio .card:hover img {
   transform: scale(1.1);
  }
  .box-portfolio .card .card-footer a {
   color: #757575;
   text-decoration: #757575 underline !important;
  }

.box-viewmore-about {
 background: #1e3430 url(../../public/images/bg-viewmore-about.jpg) no-repeat center;
 background-size: cover;
}

footer {
 position: relative;
 color: #5c5c5c;
 background-color: #fff8f1;
}
 footer .text-Copyright {
  color: #ffffff;
  background-color: #26413B;
  padding: 18px;
  margin: 0px;
  font-size: 13px;
 }

 @media only screen and (min-width: 320px) and (max-width: 1000px) {
  header .container {
		 padding: 0px;
		 margin: 0px;
		 width: 100% !important;
		}
		.navbar-collapse {
		 background: #fff;
		}
		.navbar-nav .nav-link {
		 color: #717171;
		}
		header .nav-item {
			padding: 7px 20px;
		 position: relative;
		 height: 100%;
		 display: flex;
		 flex-direction: column;
		 width: 100%;
		 justify-content: center;
		}
		header .nav-item:last-child {
		 border-bottom: 0px;
		}
		header ul.navbar-nav span.Icon {
		 position: absolute;
		 left: 20px;
		 top: 50%;
		 transform: translateY(-50%);
		}
		header .navbar-nav .dropdown-item {
 		color: #fff;
		}
		header .navbar-nav .nav-link {
		 border-bottom: 0px;
		 width: 100%;
		}
		navbar-brand {
		 padding: 2px 8px 2px 25px;
		 margin: 0px;
		}
		.navbar-brand .img-logo {
		 /* width: 50px !important; */
		 height: 40px !important;
		}
		.navbar-toggler {
		 padding-right: 25px;
		 border: 0px;
		}
		header nav.navbar {
   height: 60px;
  }
  div#content {
   padding-top: 60px;
  }
		header form.form-inline.form-search {
		 margin: 7px !important;
		 width: calc(100% - 60px);
		 position: initial !important;
		 background-color: transparent !important;
		}
		#navbarCollapse .input-group {
 		opacity: 1;
		}
	header nav.navbar button.navbar-toggler {
	margin-left: auto;
	height: 60px;
	}
		div#navbarCollapse {
   border-top: 1px solid #e3e3e3;
   position: relative;
   outline: none;
  }
		header ul.navbar-nav {
		 height: calc(100vh - 138px);
		 overflow: hidden auto;
		}
  div#navbarCollapse .box-btn-header .btn-link.btn-invoice {
   position: absolute !important;
   right: 12px;
   top: 10px;
  }
 }

 /* ---------------------------------------------------**** Mobile and Tablet ****--------------------------------------------------- */
 @media only screen and (min-width: 320px) and (max-width: 1024px) {
  .container {
	  width: 95% !important;
  }
		a .img::after {
		 font-size: 12px;
	 }
	 a .img[data-text]::after {
		 font-size: 18px;
	 }
 }

 /* ---------------------------------------------------**** Tablet ****--------------------------------------------------- */
 @media only screen and (min-width: 768px) and (max-width: 1024px) {

  /* แนวตั้ง */
  @media only screen and (orientation:portrait){
   header ul.navbar-nav {
    height: 50vh;
   }
   .aspect-ratio-mobile-1 {
    aspect-ratio: 2/1;
   }
   div#search-content {
    max-height: calc(100vh - 140px);
   }
   .typed-search-box {
    z-index: 9;
    background-color: rgb(245 245 245 / 93%);
    top: auto !important;
    min-height: auto !important;
    height: calc(100vh - 139px);
   }
   .typed-search-box::before {
    display: none;
   }
  }
  /* แนวนอน */
  @media only screen and (orientation:landscape){
   header .container {
    max-width: none;
    margin: 0px;
    width: 100% !important;
   }
   div#navbarCollapse .box-btn-header {
    position: fixed;
    top: 80px;
    background-color: #1f3630;
    right: -9px;
    border: 1px solid #6d6d6d;
    border-bottom-left-radius: 26px;
    padding: 1px 4px;
    z-index: 9;
   }
   div#navbarCollapse .form-search {
    padding-right: 37px;
    right: 107px;
   }
  }
 }

 /* ---------------------------------------------------**** Mobile ****--------------------------------------------------- */
 @media only screen and (min-width: 320px) and (max-width: 767px) {
  .box-banner img.img-banner {
   height: calc(100vh - 60px);
   object-fit: cover;
   object-position: top;
/*    filter: blur(2px); */
  }
  body h1 {
   font-size: 28px;
  }
  section.box-breadcrumb .container {
   width: 100% !important;
   max-width: none;
   padding: 0px;
  }
  .box-breadcrumb .breadcrumb {
   font-size: 10px;
  }
  .img-left-portfolio {
   width: 163px;
  }
  .table-responsive-stylejohn .dj-block.dj-sm-none {
   display: block;
  }
  div#search-content {
   max-height: calc(100vh - 140px);
  }
  .typed-search-box {
   z-index: 9;
   background-color: rgb(245 245 245 / 93%);
   top: auto !important;
   min-height: auto !important;
   height: calc(100vh - 139px);
  }
  .typed-search-box::before {
   display: none;
  }

  /* แนวตั้ง */
  @media only screen and (orientation:portrait){
   .img-banner.banner-portrait+.img-banner ,
   img.banner-portrait+img {
    display: none !important;
   }
   .img-banner.banner-portrait ,
   img.banner-portrait {
    display: block !important;
   }
   .box-banner .box-text {
    top: auto !important;
    bottom: 60px;
    transform: none !important;
   }
   .box-banner .b-text {
    width: 100% !important;
   }
   .aspect-ratio-mobile-1 {
    aspect-ratio: 1;
   }
   .img-left-portfolio {
    margin-bottom: 20px;
   }
   section.box-detail .box-gallery .item {
    padding: 4px;
    width: calc(100% / 3);
   }
   section.box-detail .container > img {
    aspect-ratio: 10/8;
   }
  }
  /* แนวนอน */
  @media only screen and (orientation:landscape){
   .box-banner .b-text {
    width: 90% !important;
   }
   section.box-detail .box-gallery .item {
    padding: 4px;
    width: calc(100% / 4);
   }
  }
 }

 @media only screen and (min-width: 1000px) and (max-width:1200px) {
  header .navbar-brand img.img-logo {
    height: 4vw;
  }
}
