/* CSS Document */

@font-face {
  src: url(/fonts/thaisanslite_r1.ttf);
  font-family:'thaisanslite';
  font-style: normal;
}

@font-face {
  src: url(/fonts/DSNSIN.TTF);
  font-family:'DSN_Single';
  font-style: normal;
}
@font-face {
  src: url(/fonts/DSNLP.TTF);
  font-family:'DSN_LardPhrao';
  font-style: normal;
}



::-webkit-scrollbar-track {background: #FFFFFF;-webkit-box-shadow: inset 1px 1px 2px #E0E0E0;border: 1px solid #D8D8D8;}
::-webkit-scrollbar-thumb {background: #666666;-webkit-box-shadow: inset 1px 1px 2px rgba(155, 155, 155, 0.4);}
::-webkit-scrollbar-thumb:hover {-webkit-box-shadow: inset 1px 1px 10px rgba(0,0,0,0.3);}
::-webkit-scrollbar-thumb:active {background: #888;-webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,0.3);}
::-webkit-scrollbar {width: 8px; height:8px; }
::-moz-selection {background: #52c4d3;color: white;text-shadow: none;}
::selection {background: #52c4d3;color: white;text-shadow: none;}

body {font-family:Tahoma, Geneva, sans-serif; }
.container.bg { background:#fff; min-height:800px; }
.top-line { background-color:#272727; border:1px solid #272727; }
.footer-line { background-color:#272727; border:1px solid #272727; }
.bg1 { background-color:#CCC; }
.bg2 { background-color:#F90; }
.font13 { font-size:13px; }
.fix { clear:both; }
.error { font-size:12px; color:#F00; font-weight:normal; margin:0; padding:0; }
label { display:inline; }

.head { min-height:80px; }
.head .logo { margin:0; padding:0; text-align:center; }
.head .logo img { width:100%; }
.mMobile { margin-bottom:15px; }
.mMobile2 { margin-bottom:5px; }
.mCenter { margin:auto; text-align:center; }
.mCenter2 { margin:5px auto; text-align:center; }
.footer { background-color:#f3f3f3; padding:10px; margin:50px 0 0 0; text-align:center; color:#C60; font-size:12px; }
.mAlert { margin-bottom:30px; background:#fff2cb; padding:5px; text-align:center; }

.page-head { font-size:14px; border-bottom:1px solid #eee; padding:0 0 5px 0; margin:0 0 5px 0; }
.page-headDetail { color:#333; padding: 0 0 9px 0;margin: 0 0 10px 0; }
.page-headDetail h1 {font-family:'thaisanslite'; font-size:18px; font-weight:bold; margin:0; padding:0; }

.Detail-number { border-bottom: 1px solid #eeeeee; text-align:center; }
.Detail-price { font-family:'thaisanslite'; display: block; color: #F00;font-size: 24px;font-weight: 700;padding: 5px;line-height: 32px;margin: 0;text-align: right;margin:0 0 10px 0; }

.loading-barData { display:none;position:fixed; bottom:0; width:100px; padding:5px 10px; font-size:12px; color:#FFF; text-align:center; background-color:#000; margin:0 auto;left: 0;right: 0; border-radius: 5px 5px 0px 0px; -webkit-border-radius: 5px 5px 0px 0px; -moz-border-radius: 10px 10px 0px 0px; z-index:999; }
.moreLoad {
	padding: 10px 20px;
	display: block;
	text-align: center;
	box-shadow: inset 0px -45px 30px -40px rgba(0, 0, 0, 0.05);
	border-radius: 5px;
	margin: 20px 0;
	font-size: 13px;
	border: 1px solid #ddd;
	margin-right: 1px;
	font-weight: bold;
	cursor: pointer;
}

.moreLoad:hover {
	box-shadow: inset 0px 45px 30px -40px rgba(0, 0, 0, 0.05);
}

.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
  color:#fff;
  background-color: transparent;
}
.navbar-inverse .navbar-text {
  color: #E8E800;
}
.navbar-inverse .navbar-nav > li > a {
  color: #C60;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #fff;
  background-color: transparent;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color:#fff;
  background-color: #080808;
}
.navbar-inverse .navbar-nav > .disabled > a,
.navbar-inverse .navbar-nav > .disabled > a:hover,
.navbar-inverse .navbar-nav > .disabled > a:focus {
  color: #444;
  background-color: transparent;
}

.navbar-inverse .navbar-nav > li.dropdown a{ color:#fff; }
.navbar-inverse .navbar-nav > li.dropdown a:hover { color:#F60; }
.navbar-inverse .navbar-nav > li.dropdown a:focus { color:#F60; }
.navbar-inverse .navbar-nav > li.dropdown > ul.dropdown-menu a{ color:#444; font-size:13px; }

.breadcrumb2 {
  padding:8px 15px;
  margin-bottom: 20px;
  list-style: none;
  border-bottom:1px solid #f5f5f5;
}
.breadcrumb2 > li {
  display: inline-block;
}
.breadcrumb2 > li + li:before {
  padding: 0 5px;
  color: #ccc;
  content: "/\00a0";
}
.breadcrumb2 > .active {
  color: #999;
}

.form-control:focus {
	border-color:#66afe9;outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 0 rgba(102, 175, 233, .6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 0 rgba(102, 175, 233, .6);
}
.has-error .form-control:focus {
  border-color: #843534;
  webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 0 #ce8483;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 0 #ce8483;
}


.contact{ width:300px; margin:20px auto 20px auto; border:solid 0px #CCC; text-align:center;}
.contact a{ float:left; margin:0px 10px 0px 10px; color:#FFF;}
.contact .contact:hover{ color:#FFF; text-decoration:underline;}



/*
@media (min-width:300px) {
	.grids-list .gridsBody { width:55%; }
}
@media (min-width: 768px) and (max-width: 991px) {
	.gridsBody-r { display:none !important; }
}
*/

@media screen and (max-width: 320px), (min-device-width: 320px) and (max-device-width: 480px) and (orientation : portrait) {
	.recommend li { width:100%; float:none; }
	.recommend li .img img {margin:auto; width:auto; max-height:144px !important; }
	.recommend li .content .subject,.recommend li .content .price { text-align:center; }
	
	.listSale li { float:none;}
	.listSale li .list { width:270px; text-align:center; }
	.listSale li .img { width:270px; margin:0 auto; height:auto; }
	.listSale li .img img { width:auto; text-align:center; }
	

}

@media screen and (max-width: 414px), (min-device-width: 414px) and (max-device-width: 640px) and (orientation : portrait) {
	.recommend li { margin:0; padding:5px; width:100%; float:none; }
	.recommend li .img img {margin:auto; width:auto; max-height:144px !important; }
	.recommend li .content .subject,.recommend li .content .price { text-align:center; }
	
	.listSale li { float:none; width:100%;}
	.listSale li .list { width:270px; margin:0 auto; text-align:center; }
	.listSale li .img { width:270px; margin:0 auto; height:auto; }
	.listSale li .img img { width:auto; text-align:center; }
	
}


.grids-list { list-style: none; margin: 0; padding: 0; position: relative; }
.grids-list li { margin: 0 0 3px 0; padding: 15px 2px; border-bottom: 1px solid #eee; display: flex; flex-wrap: wrap; align-items: flex-start; }
.grids-list .gimg { margin-right: 10px; }
.grids-list .img { width: 157px; height: 106px; border: 1px solid #fff; padding: 2px; text-align: center; display: flex; align-items: center; justify-content: center; }
.grids-list .img img { max-width: 100%; max-height: 100px; object-fit: contain; }
.grids-list .gridsBody { width: 55%; height: 100px; overflow: hidden; }
.grids-list .gridsBody .subject { margin: 0; }
.grids-list .gridsBody .sub {
  font-size: 12px;
  color: #C9C9C9;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 30px;
  margin: 0 0 8px 0;
}
.grids-list .gridsBody .user-day { font-size: 11px; color: #999; }
.grids-list .gridsBody-r {
  width: 17.9%;
  height: 100px;
  text-align: center;
  border-left: 1px solid #eee;
  padding-left: 10px;
}
.grids-list .gridsBody-r .txt { font-size: 15px; color: #5c5c5c; }
.grids-list .gridsBody-r .price { margin: 5px 0; font-size: 18px; color: #da0d17; }
.grids-list .gridsBody-r .province { color: #b0b0b0; font-size: 12px; }

@media (max-width: 768px) {
  .grids-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
  }

  .grids-list .gimg {
    width: 100%;
    margin-bottom: 10px;
  }

  .grids-list .img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border: none;
  }

  .grids-list .img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 200px;
  }

  .grids-list .gridsBody {
    width: 100%;
    padding: 10px;
  }

  .grids-list .gridsBody .subject {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
  }

  .grids-list .gridsBody .sub {
    display: none; /* ซ่อนรายละเอียดบนมือถือเพื่อความกระชับ */
  }

  .grids-list .gridsBody .user-day {
    font-size: 12px;
    color: #777;
  }

  .grids-list .gridsBody-r {
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
  }

  .grids-list .gridsBody-r .txt {
    font-weight: bold;
    font-size: 14px;
    color: #000;
  }

  .grids-list .gridsBody-r .price {
    font-size: 20px;
    font-weight: bold;
    color: #da0d17;
    margin: 5px 0;
  }

  .grids-list .gridsBody-r .province {
    font-size: 13px;
    color: #666;
  }

  .grids-list .fix {
    display: none;
  }
}