@font-face {
  font-family: 'goodfont';
  src: url('/fonts/webfont-goodfont-reg.eot');src: url('/fonts/webfont-goodfont-reg.eot?#iefix') format('embedded-opentype'),url('/fonts/webfont-goodfont-reg.woff') format('woff'),url('/fonts/webfont-goodfont-reg.ttf') format('truetype'),url('/fonts/webfont-goodfont-reg.svg#thaisans_neue_ultltregular') format('svg');font-weight: normal;font-style: normal;
}

#back-top {
  position: fixed;
  bottom: 10px;
  right:10px
}

#back-top a {
  width: 70px;
  display: block;
  text-align: center;
  font: 9px/100% Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  color: #bbb;
  opacity:0.7;

  /* transition */
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
#back-top a:hover {
  color: #000;
}

/* arrow icon (span tag) */
#back-top span {
  width: 70px;
  height: 70px;
  display: block;
  margin-bottom: 7px;
  background: #ddd url(/img/up-arrow.png) no-repeat center center;

  /* rounded corners */
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;

  /* transition */
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
#back-top a:hover span {
  background-color: #777;
}

/* Bootstrap fix */
.navbar {
  padding: .0rem 1rem;
}
.navbar-dark .navbar-nav .active {
    background-color: #2A2A2A;
}
.navbar-light .navbar-nav .nav-link {
    color: #000;
}
.navbar-light .navbar-nav .nav-link:hover {
    background-color: #eee;
}
.navbar-light .navbar-nav .active {
    background-color: #ccc;
}
.container {
  padding-right:0px;
  padding-left:0px;
}
.container-fluid {
  padding-right:0px;
  padding-left:0px;
}
hr {
  margin-top: .1rem;
  margin-bottom: .1rem;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
  padding-right: 0px;
  padding-left: 0px;
}
.row {
  margin-right: 0px;
  margin-left: 0px;
}

.breadcrumb {
  padding: .4rem 1rem;
  font-size: 14px;
}

.card-body {
    padding: 0.8rem;
}

.btn-xs {
  padding: .1rem .5rem;
  font-size: .875rem;
  line-height: 1.3;
  border-radius: .2rem;
}

/* */
body {
  font-family: 'goodfont',Tahoma,'Sarabun',Segoe UI,Arial,Verdana,sans-serif;
}
h1 {
  font-size:1.6em;
}
h2 {
  font-size:1.4em;
}
h3 {
  font-size:1.2em;
}
td {
  padding:0.5em;
  padding-left:0.8em;
}
img {
  max-width: 100%;
  height: auto;
}
iframe {
  max-width: 100%!important;;
}

/* */
.img-polaroid {
  margin:4px;
  width:160px;
  height:242px;
  float:left;
  position:relative;
  background-color: #fff;
  border: 1px solid #EEE;
  border: 1px solid rgba(50,50,50,0.1);
  -webkit-box-shadow: 0 1px 2px rgba(50,50,50,0.1);
  -moz-box-shadow: 0 1px 2px rgba(50,50,50,0.1);
  box-shadow: 0 1px 2px rgba(50,50,50,0.1);
}
.img_product_cat {
  padding-top: 2px;
  max-width:158px;
  max-height:178px;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.other_price {
  font-size:0.9em;
  color:#F60;
  text-decoration:line-through;
}

.our_price {
  font-size:0.9em;
  color:#A00;
}

.sale {
  display: block;
  background: #FFBB33;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 100% 100% 100% 100%;
  -moz-border-radius: 100% 100% 100% 100%;
  -o-border-radius: 100% 100% 100% 100%;
  color: #fff;
  font-size: 1em;
  text-align: center;
  font-weight: normal;
}
.salebig {
  display: block;
  background: #FFBB33;
  position: absolute;
  right: 10px;
  top: 66px;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 100% 100% 100% 100%;
  -moz-border-radius: 100% 100% 100% 100%;
  -o-border-radius: 100% 100% 100% 100%;
  color: #fff;
  font-size: 1.5em;
  text-align: center;
  font-weight: normal;
}

.copyright {
  font-size: 0.9em;
}

.arrow-right {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid red;
  float:left;
  position:relative;
  top:0.5em;
  margin-right: 0.4em;
}

.textbrand {
    color: #FFFFFF;
    font-size: 1.2em;
    font-weight: bold;
    padding: 0.3em;
    padding-left: 1em;
}
