@charset "utf-8";

/* CSS Document */
body {
  background: none;
}

.portfolio-box {
  display: block;
  position: relative;
  margin: 0 auto;
  max-width: 650px;
}

.portfolio-box .portfolio-box-caption {
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  opacity: 0;
  background: rgba(228, 182, 107, .9);
  -webkit-transition: all .35s;
  -moz-transition: all .35s;
  transition: all .35s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  transform: translateY(-50%);
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

@media(min-width:768px) {
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }

  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }

}

.navpage {
  width: 100%
}

.navpage .btn {
  border-radius: 0px;
  padding: 20px 40px;
  background: #3268bc;
  color: #FFF;
  font-family: 'Prompt', sans-serif;
  font-size: 1.5em;
}

@media(max-width:1200px) {
  .navpage .btn {
    border-radius: 0px;
  }

}

h1 {
  color: #999
}

td {
  color: #333;
  font-size: 1em;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
  font-size: 1em;
  vertical-align: middle;
}

h2 {
  font-family: 'Prompt', sans-serif;
  font-size: 1.6em;
  /*font-size: 20px;*/
}

h3 {
  font-family: 'Prompt', sans-serif;
  font-size: 1.2em;
  padding: 10px 0px
}

h4.hline {
  font-family: 'Prompt', sans-serif;
  font-size: 18px;
  border-bottom: 1px solid #E1E1E1;
  margin: 30px 0;
  padding-bottom: 10px;
}

.th-head {
  font-family: 'Prompt', sans-serif;
  font-size: 30px;
}

.navpage .btn:hover,
.navpage .btn:visited,
.navpage .btn:focus {
  background: #38539A;
  color: #FFF;
  outline: none !important
}

p {

  /*  font-family: Tahoma, Geneva, sans-serif; */
  font-size: 14px;
  color: #666;
  line-height: 1.7em !important
}

@media(min-width:992px) {
  section {
    padding: 50px 0
  }

}

#sec2 {
  background: url('../img/bg1202.jpg') no-repeat;
  background-size: cover;
  color: #333 !important
}

#sec2 p {
  color: #666 !important
}

#sec3 {
  background: url('../img/bg-aboutus-3.jpg') no-repeat;
  color: #333 !important
}

/* สะสมไมล์ */
#sec4 {
  background: #38539A;
  color: #FFF;
}

#sec4 h1 {
  font-size: 59px;
  color: #ffcc00;
  font-family: 'Prompt', sans-serif;
  margin: 0;
  padding: 0
}

#sec4 h2 {
  font-family: 'Prompt', sans-serif;
  margin: 0;
  padding: 0
}

#sec4 h3 {
  margin: 0;
  padding: 0
}

#sec4 p {
  color: #FFF;
  margin-top: 0;
  display: inline-block;
}

.gbbg {
  background: url('../img/bg-w60.png');
  padding: 30px;
}

.w-text {
  color: #FFF
}

.w-text2 {
  color: #666;
  font-size: 20px;
}

.btn-group a {
  font-size: 16px !important
}

.well {
  font-family: 'Prompt', sans-serif;
  padding: 12px 30px;
  line-height: 1.5em;
  text-align: center
}

.do-splitflap:after {
  content: " ไมล์";
  font-size: 16px;
  float: right;
}

.smallmile {
  font-size: 50px !important;
  text-align: center;
}

.smallmile:after {
  content: " ไมล์";
  font-family: 'Prompt', sans-serif;
  font-size: 18px;
  float: right;
  padding: 40px 20px 0 0;
}

@media(max-width:480px) {
  .smallmile:after {
    padding: 20px 0
  }

}

.flexslider {
  margin: 0;
  border: 2px solid #FFF
}

#carousel {
  margin: 15px
}

.tabcustom li {
  width: 25%;
  text-align: center
}

.tabcustom a {
  font-size: 33px !important;
}

.color1 {
  color: #666 !important
}

.color2 {
  color: #ff9900 !important
}

.color3 {
  color: #33cc00 !important
}

.color4 {
  color: #ff0000 !important
}

.tableme tr,
.tableme td {
  font-family: 'Prompt', sans-serif;
  font-size: 16px;
  text-align: center
}

.tableme th {
  background: #333 !important;
  text-align: center
}

.numMile {
  font-size: 1.61em !important;
  font-weight: 400;
  text-align: right !important;
}

.gotop {
  text-transform: uppercase;
  position: fixed;
  right: 30px;
  bottom: 80px;
  background: #3268bc;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.gotop i {
  font-size: 1.2em;
  color: #FFF;
}

@media (max-width:1200px) {
  .btn {
    border-radius: 0;
    /* width: 50% */
  }

  .btn-group:first-child {
    margin-left: -1px !important
  }

  #sec3 {
    background: url('../img/bg-aboutus-3xs.jpg') #00a3fe no-repeat
  }

  h4.hline {
    border-bottom: 1px solid #FFF;
  }

  .w-text2 {
    color: #FFF
  }

}

@media (max-width:727px) {
  .tabcustom a {
    font-size: 20px !important;
  }

  section {
    padding: 20px 0
  }

  .btn {
    border-radius: 0;
    width: 100%;
    font-size: 20px
  }

  .navpage .btn {
    font-size: 20px
  }

  .mar-top {
    margin-top: 100px;
  }

  .collectmile {
    padding: 40px
  }

}

#kilo {
  width: 100%;
  display: block;
  white-space: nowrap;
}

@media (max-width:480px) {

  .tableme td:nth-child(2),
  .tableme th:nth-child(2) {
    display: none
  }

  #kilo {
    white-space: normal;
  }

}

.table th {
  text-align: center;
  background: #333;
  color: #FFF !important;
  font-size: 18px;
}

.table td {
  letter-spacing: 1px
}

p,
body {
  font-size: 16px !important;
}

.w-text {
  color: #FFF
}

.overlaycaption {
  background: rgba(0, 0, 0, .9);
  color: #FFF;
  padding: 20px;
  margin-left: 0;
  margin-right: 0;
  position: absolute;
  z-index: 999;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  font-family: 'Prompt', sans-serif;
}

.overlaycaption span {
  float: right
}

.navpage {
  left: 0;
  position: relative;
  transform: none;
  margin: 40px auto;
  text-align: center
}

.flexslider {
  position: relative
}

.prev,
.next {
  position: absolute;
  top: 50%;
  z-index: 99;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.prev {
  left: 10px
}

.next {
  right: 10px
}

.prev span,
.next span {
  background: rgba(0, 0, 0, .8);
  border-radius: 50%;
  overflow: hidden;
  width: 40px;
  height: 40px;
  display: block
}

.prev span i,
.next span i {
  font-size: 33px;
  color: #FFF;
  line-height: 0;
  top: 50%;
  left: 51%;
  position: absolute;
  display: block;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.btn-group,
.btn-group-vertical {
  display: block !important;
  max-width: 1200px;
  margin: 0 auto;
}

.box_show {
  box-shadow: 0 0 6px 1px rgba(0, 0, 0, .4);
  border-radius: 5px;
}

.navpage {
  z-index: 999 !important;
  margin: 20px 0 !important;
}