/*
Theme Name: TIFF 2014
Theme URI: /themes/tiff2014
Author: Beehive
Author URI: http://www.beehive.asia
Description: Exclusive WordPress Theme for Thailand International Furniture Fair 2014 Website
Version: 1.0
*/

@import url(/wp-content/themes/tiff2014/css/jquery.iviewer.css);
@import url(/wp-content/themes/tiff2014/css/bootstrap.min.css);
@import url(/wp-content/themes/tiff2014/css/bootstrap-theme.min.css);

/* Set position: relative; to all animation */ 
.anime {
  position: relative;
}

/* ------ Animation ---------- */
/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
/* -------- End Animation ---------- */

a:hover, a:active {
  color: #93A654;
}

div.tiff-panel {
  border: 0;
  border-radius: 0;
  -moz-box-shadow: 0 0 5px #888;
  -webkit-box-shadow: 0 0 5px#888;
  box-shadow: 0 0 5px #888;
}

.tiff-nav .dropdown-header {
  padding: 0;
}

.tiff-panel-heading {
  background-image: none !important;
  background-color: #93A654 !important;
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
}

.tiff-panel-heading h3 {
  color: #FFFFFF;
}

.tiff-panel-body {
  background-image: linear-gradient(to bottom, #E8E8E8 0px, #FFFFFF 100%);
  background-repeat: repeat-x;
}

.tiff-nav {
  background-image: none;
  background-color: #93A654;
  border-color: transparent;
}

.tiff-nav .navbar-nav > .dropdown > a .caret {
  border-bottom-color: #FFFFFF;
  border-top-color: #FFFFFF;
}

.tiff-nav .navbar-brand {
  color: #FFFFFF;
}

.tiff-nav .navbar-nav > li > a, .tiff-nav .navbar-nav .open .dropdown-menu > li > a {
  color: #FFFFFF;
}

.tiff-nav .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
  background-color: #456721;
  color: #FFFFFF;
}

.tiff-nav .navbar-nav > .open > a .caret, .navbar-default .navbar-nav > .open > a:hover .caret, .navbar-default .navbar-nav > .open > a:focus .caret {
  border-bottom-color: #FFFFFF;
  border-top-color: #FFFFFF;
}

.tiff-nav .dropdown-menu {
  background-color: #456721;
}

.tiff-nav .dropdown-menu > li > a {
  color: #FFFFFF;
}

.tiff-nav .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  background-color: #93A654;
  color: #FFFFFF;
  background-image: none;
  text-decoration: none;
}

div.pushtop, div.pushbottom {
  height: 100px;
}

div.pushtop-phone, div.pushbottom-phone {
  height: 80px;
}

/* ---------------------
   SECTION 1
   --------------------- */
#section-1 {
  background: url("/wp-content/themes/tiff2014/images/bg-tiff.png") repeat;
  margin-top: 50px;
  padding-top: 10px;
  max-height: 695px;
  overflow: hidden;
}

#section-1 h2 {
  margin-top: 0;
  font-size: 18px;
  color: #352f19;
}

#section-1 h2 span {
  color: #93A654;
}

#section-1 div.for-people {
  background-color: rgba(255,255,255,0.95);
  border-left: 10px solid #456721;
  padding: 10px 10px;
  margin-bottom: 15px;
  -moz-box-shadow: 0 0 5px #888;
  -webkit-box-shadow: 0 0 5px#888;
  box-shadow: 0 0 5px #888;
}

#section-1 div.motto-img {
  margin-bottom: 30px;
  margin-top: 20px;
}

#section-1 .image-container img {
  margin-top: -110px;
  margin-left: -140px;
  width: 800px;
}

#section-1 .image-container2 {
  margin-top: 30px;
  margin-left: -10px;
  width: 800px;
}

#section-1 .people-links {
  margin-top: 10px;
  padding-left: 0px;
  line-height: 35px;
}

#section-1 .people-links li {
  display: inline-block;
}

#section-1 .people-links li a, #section-1 .people-links li a:visited {
  padding: 5px 10px;
  color: #528eaf;
  border: 2px solid #528eaf;
  border-radius: 10px;
  text-decoration: none;
}

#section-1 .people-links li a:hover, #section-1 .people-links li a:active {
  color: #93A654;
  border-color: #93A654;
}

/* ---------------------
   Day to go section
   --------------------- */

div.gap {
  background-color: #221F1F;
  position: relative;
}

div.strip {
  background: url("/wp-content/themes/tiff2014/images/bar.png") repeat;
  min-height: 10px;
  z-index: 2;
}

div.stupid-lamp {
  background: #221F1F url("/wp-content/themes/tiff2014/images/sec2-bg.png") repeat-x;
  min-height: 100px;
  z-index: 1;
}

#daysToGo {
  font-size: 30px;
  width: 300px;
  text-align: center;
  display: inline-block;
  position: absolute;
  background-color: #2F4B19;
  color: #FFFFFF;
  top: 10px;
  left: 50%;
  margin-left: -150px;
  z-index: 3;
  padding: 10px 20px;
  -webkit-box-shadow: 0px 10px 5px 0px rgba(50, 50, 50, 0.75);
  -moz-box-shadow:    0px 10px 5px 0px rgba(50, 50, 50, 0.75);
  box-shadow:         0px 10px 5px 0px rgba(50, 50, 50, 0.75);
}

/* ---------------------
   SECTION 2
   --------------------- */
#section-2 {
  background-color: #221F1F;
  padding-top: 30px;
  padding-bottom: 40px;
  max-height: 785px
  overflow: hidden;
}

#section-2 .slide-cover {
  background-color: #000000;
  border: 1px solid #94AEBF;
  line-height: 0;
  padding: 3px;
  margin-bottom: 30px;
}

div.social-app {
  margin-top: 20px;
}

/* ----------------------
   Footer
   ---------------------- */

footer {
  padding-top: 20px;
  margin-bottom: 30px;
  text-align: center;
  font-size: small;
  background-image: linear-gradient(to bottom, #E8E8E8 0px, #FFFFFF 100%);
  background-repeat: repeat-x;
}

footer .copyright {
  margin-bottom: 30px;
}

footer .contact-area {
  text-align: left;
}

footer .contact-area img {
  margin-left: 30px;
}

/* ----------------------
   Section on Page
   --------------------- */

section.content {
  margin-bottom: 50px;
}

nav.sidebar-nav {
  margin-top: 40px;
}

h1.page-title {
  margin-top: 0px;
}

section.cat-content > h2 {
  font-size: 18px;
}

h1.search {
  font-size: 18px;
}

h1.search em {
  font-weight: normal;
}

span.zonel, span.boothl {
  display: inline-block;
  width: 70px;
  margin-right: 20px;
}

div.booth-photo {
  border-top: 10px solid #F5F5F5;
  border-bottom: 10px solid #F5F5F5;
  margin-bottom: 15px;
  height: 300px;
  width: 100%;
  background-repeat: no-repeat;
  background-position:center center;
  background-size: 100%;
}

/* ----------------------
   Responsive
   --------------------- */

/* Small devices (tablets, 768px and up) */
@media only screen and (max-width: 767px) {
  footer .contact-area {
    text-align: center;
  }
  
  section.content h1 {
    margin-top: 30px;
  }
}

/* ----------------------
   Responsive Google Map
   --------------------- */

.google-maps {
  position: relative;
  padding-bottom: 30%; // This is the aspect ratio
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}