/*
Theme Name: TAPA 2016
Theme URI: http://www.thailandautopartsfair.com/
Author: Beehive
Author URI: http://www.beehive.asia
Description: Exclusive WordPress Theme for TAPA Thailand Auto Parts & Accessories 2016
Version: 1.0
*/

@import url(css/jquery.iviewer.css);
@import url(css/bootstrap.min.css);

/* CSS Specification */
@font-face {
  font-family: 'Kanit', sans-serif;
}

/* General */


body, html {
/*  background-image: url("img/bgbody.png");*/
  font-family: 'Kanit', sans-serif;
  height: 100%;
  margin: 0;
}

a {	
	outline: none;
	-webkit-transition: all 0.14s ease 0s; 
	   -moz-transition: all 0.14s ease 0s; 
		 -o-transition: all 0.14s ease 0s; 
}

a:hover {
  color: #000;
  text-decoration:none;
}

.header-img {
  /* The image used */
  background-image: url("img/header.jpg");

  /* Full height */
  min-height: 1024px;  

  /* Center and scale the image nicely */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}
.navbar {
/*  background: linear-gradient(to right, #f7a23e 0%, #fbb439 0%, #fcbf37 0%, #fac936 100%);*/
  background : linear-gradient(to right, #f4ee1e 0%, #f4ee1e 100%); ;
  color : #000;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
  color: #000;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    color: #000;
    text-decoration: none;
    background-color: #c7c7c7;
}
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #000;
    background-color: #018a44;
}

.navbar-text span {
  color: #000;
}

.navbar-text span:hover {
  color: #000;
  text-decoration:none;
}

.img-banner {
  width: 100%
}

.mhe-img {
  width: 30%;
}

.top-header .btn {
  border-radius: 1.4rem;
}

#myVideo {
/*    position: fixed;*/
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
}

.content {
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    padding: 20px;
}
.top-header {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.top-header iframe{
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}

.text-header {
  position: relative;
  top: calc(50% - 2em);
}
.text-header img {
  margin-left: 50px;
  margin-top: 20px;
  width: 35%;
}
.button-register {
/*  padding-top: 6vh;*/
  padding-right: 9vh;
  padding-top: 6vh;
}
.img-three-box {
  display: inline-block;
  position: relative;
  width: 320px;
  height: 320px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: inset 0 0 0 50px rgba(255,255,255,0.6), 0 10px 20px rgba(0,0,0,0.1);

}
.img-three-box img {
  width: auto;
  height: 100%;
  text-align: center;
    border: 5px;
}

.easingslider-slide img {
  width: 100%!important;
  display: block!important;
}

///////////// START HOVER THREE BOX /////////

.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
}

.hovereffect .overlay {
  position: absolute;
  overflow: hidden;
  width: 80%;
  height: 80%;
  left: 10%;
  top: 10%;
  border-bottom: 1px solid #FFF;
  border-top: 1px solid #FFF;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: scale(0,1);
  -ms-transform: scale(0,1);
  transform: scale(0,1);
}

.hovereffect:hover .overlay {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.hovereffect img {
  display: block;
  position: relative;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

.hovereffect:hover img {
  filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR type="linear" slope="0.6" /><feFuncG type="linear" slope="0.6" /><feFuncB type="linear" slope="0.6" /></feComponentTransfer></filter></svg>#filter');
  filter: brightness(0.6);
  -webkit-filter: brightness(0.6);
}

.hovereffect h2 {
  text-transform: uppercase;
  text-align: center;
  position: relative;
  font-size: 17px;
  background-color: transparent;
  color: #FFF;
  padding: 1em 0;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0,-100%,0);
  transform: translate3d(0,-100%,0);
}

.hovereffect a, .hovereffect p {
  color: #FFF;
  padding: 1em 0;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0,100%,0);
  transform: translate3d(0,100%,0);
}

.hovereffect:hover a, .hovereffect:hover p, .hovereffect:hover h2 {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

///////////// END HOVER THREE BOX /////////

#back-to-top {
    display: block;
    bottom: 120px;
    right: 20px;
    position: fixed;
}

.contentindex {
  padding-top: 15px;
  padding-left: 15px
  
}
.textheader {

}
#countdown {
  text-align: center;
  font-size: 20px;
  color: #018a44;
  border-width:2px;  
  border-style: dashed;
  border-color: #018a44;
  background-color: #ffffff;
  width: 190px;
  height: 40px;
  position: absolute;
  margin-top: 50px;
  margin-left: 110px;

}
#content {
  padding-left: 35px;
  padding-top: 35px;
  padding-right: 35px;
  padding-bottom: 20px;
  margin-top: 0px;
  background-color: #ffffff;
  height: 100%;
}
.textwelcome {
  margin-left: 15px;
  color: #898989;
  font-size: 25px;
  font-weight: bold;
}
.contentwelcome {
  margin-left: 15px;
  color: #898989;
  font-size: 15px;
  margin-top: 10px;
}
.btn-danger {
  padding-top: 15px;
  color: #fff;
  font-size: 16px;
  background-color: #018a44;
  border-color: #CCC;
  width: 220px;
  height: 60px;
  border-radius: 0px 0px 0px 0px;
  margin-top: 15px;
  border: 1px solid transparent;
  text-shadow: 2px 3px 5px black;
  box-shadow: 2px 3px 5px black;
}
.btn-danger:hover, .btn-danger:focus, .btn-danger.focus, .btn-danger:active, .btn-danger.active, .open > .dropdown-toggle.btn-danger {
    color: #FFF;
    background-color: #018a44;
    border-color: #018a44;
}
.content2 {
  margin-top: 50px;
}

.panel {
    margin-bottom: 20px;
    background-color: #FFF;
    border: 1px solid ;
    border-color: #018a44;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-default > .panel-heading {
    color: #fff;
    background-color: #018a44;
    border-color: #018a44;
}
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
#footer{
  padding-left: 35px;
  padding-top: 35px;
  padding-right: 35px;
  background-color: #ffffff;
  height: 100%;

}

#search-bar {
  padding-top: 20px;
}

.main-section {
  background-color: #fff;
  min-height: 100%;
  padding-bottom: 5px;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
  -moz-box-shadow:    0px 0px 5px 0px rgba(50, 50, 50, 0.75);
  box-shadow:         0px 0px 5px 0px rgba(50, 50, 50, 0.75);
}
.contenthead {
  margin-top: 20px;
  margin-left: 20px;
}
.contact {
  color: #111;
}
.contact h2 {
  color: #FFF;
  font-style: normal;
  font-weight: 700;
}
.contact h2 > span {
  color: #DADADA;
  font-size: 24px;
  padding: 10px;
  background-color: #fff;
  display: inline-block;
  border-radius: 20px;
}

.widget-box img {
    display: inline-block;
    margin-right: 12px;
    width: 10%;
}

.sponsors-pane {
  padding-top: 30px;
}
.sponsors-pane > a {
  padding-right: 20px;
}
.sponsors-pane > a:last-child {
  padding-right: 0px;
}
.copyright {
  background: linear-gradient(to right, #28a745 0%, #28a745 0%, #28a745 0%, #28a745 100%);
  color: #fff;
}
.copyright a, .copyright a:hover, .copyright a:active, .copyright a:focus {
  color: #fff;
}
.backtotop {
  background-color: rgba(49, 49, 48, 0.41);
  text-align: center;
  padding: 10px;
}
.backtotop a, .backtotop a:hover, .backtotop a:active, .backtotop a:focus {
  color: #888;
  font-size: 16px;
  display: block;
}

/* Front Page Template */
.videoyoutube {
  padding-right: 1px;
}
.imgbanner {
  padding-left: 0;
}
.imgbanner a img {
  padding-left: 0;
  margin-bottom: 1px;
	-webkit-transition: all 0.14s ease 0s; 
	   -moz-transition: all 0.14s ease 0s; 
		 -o-transition: all 0.14s ease 0s; 
}
.imgbanner a:hover img {
  opacity: 0.8;
}
h2.front-page {
  color: #666;
  font-style: normal;
  font-size: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}
div.business-matching {
  background-color: #FF8811;
  position: relative;
}
div.business-matching a {
  color: #222;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  padding: 20px;
  display: block;
}
div.business-matching a:hover {
  color: #fff;
  text-decoration: none;
}
div.business-matching a:after {
  position: absolute;
  right: 20px;
  top: 20px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  font-size: 26px;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
}
div.oldtiff {
  background: #E8E8E8;
  margin-top: 10px;
  padding: 1px 20px;
}
div.all-news {
  margin-top: 20px;
  padding: 10px 0;
  text-align: right;
  border-top: 1px solid #ccc;
}
.newsroll {
  margin-top: 20px;
}
h3.news-header {
  margin-top: 0;
}
/* Page */
div.page-title {
  background: #DADADA;
}

.page-title h1 {
  font-size: 28px;
  margin-top: 15px;
  margin-bottom: 15px;
}



/* Responsive for iPhone */
@media (max-width: 767px) {
  .text-header img {
    margin-left: 40px;
    margin-top: 10px;
    width: 30%;
  }
  .button-register-phone {
    margin-right: 55px;
  }
  .widget-box img {
    width: 20%;
  }
}
/* Responsive for iPhone SE */
@media (max-width: 320px) {
  .register-box h2 {
    font-size: 1.3rem;
  }

  .widget-box img {
    width: 30%;
  }
}

.flash {
   animation-name: flash;
    animation-duration: 0.2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-play-state: running;
}

@keyframes flash {
    from {color: red;}
    to {color: black;}
}
