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

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

/* CSS Specification */
/*
@font-face {
    font-family: 'latohairline';
    src: url('/wp-content/themes/tiff2016/fonts/lato-hairline-webfont.eot');
    src: url('/wp-content/themes/tiff2016/fonts/lato-hairline-webfont.eot') format('embedded-opentype'),
         url('/wp-content/themes/tiff2016/fonts/lato-hairline-webfont.woff2') format('woff2'),
         url('/wp-content/themes/tiff2016/fonts/lato-hairline-webfont.woff') format('woff'),
         url('/wp-content/themes/tiff2016/fonts/lato-hairline-webfont.ttf') format('truetype'),
         url('/wp-content/themes/tiff2016/fonts/lato-hairline-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
*/

/* General */
body { 
  font-family: Arial;
/*  font-family: Open Sans;*/
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  color: #363636; 
}

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



.date-venue {
  float:right;
}
.dropdown-header {
  padding: 0px;
}

.navbar-collapse {
  padding-left: 0px;
  padding-right: 0px;
}
.searchbox {
  max-width: 130px;
}
.main-section {
/*
  background-color: #fff;
  padding: 20px 0;
  min-height: 500px;
  -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);
*/
    
}
.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;
}
.sponsors-pane {
  padding-top: 30px;
}
.sponsors-pane > a {
  padding-right: 20px;
}
.sponsors-pane > a:last-child {
  padding-right: 0px;
}
.copyright {
  background-color: #313130;
  padding: 10px 0;
  color: #aaa;
}
.copyright a, .copyright a:hover, .copyright a:active, .copyright a:focus {
  color: #888;
}
.backtotop {
  background-color: #1F1F23;
  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;
}

/* Post */
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% auto;
}

/* Responsive for iPhone */
@media (max-width: 767px) {
  .date-venue {
    float:none;
  }
  
  .videoyoutube {
    padding-right: 15px;
  }
  
  .navbar-inverse .navbar-nav > li > a {
    border-left: none;
    border-right: none;
  }
  
  .imgbanner {
    padding-left: 15px;
  }
  
  .sponsors-pane {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 20px;
  }
  
  .sponsors-pane > a {
    padding-right: 10px;
  }
  
  img.sponsor-1 {
    height: 40px;
  }
  
  img.sponsor-2 {
    height: 20px;
  }
  
  img.sponsor-3 {
    height: 40px;
  }
  
  .navbar-collapse {
    padding-left: 15px;
    padding-right: 15px;
  }
    
    .cls-f-h-contact,
    .cls-f-h-news{
        width: 90% !important;
    }
    
    .cls-header{
        height: 280px !important;
        background-size: auto 280px !important;
    }
    
    .navbar-nav .open .dropdown-menu{
        position: absolute;
        float: none;
        
        background-color: white;
        width: 80%;
        border: 1px solid lightgray;
        border-radius: 2px;
        z-index: 99;
    }
}



/*Ake Custom*/
/*General*/
/*Image Styles*/
img{
    max-width: 100%;
    height: auto;
}

#map {
    width: 100%;
    height: 400px;
}

/*Header*/
.cls-header{
    height: 220px;
    background-image: url(/wp-content/themes/tiff2016/img/bg_header.jpg);
    background-size: auto 220px;
    background-repeat: no-repeat;
    background-position: right;
}
.cls-header-child{
    margin-top: 30px;
    margin-bottom: 20px;
}
.cls-nav{
    
 }
.cls-nav .navbar-nav > li > a {
    
  font-size: 1em;
  font-style: normal;
  font-weight: 700;
  padding-top: 8px;
  padding-bottom: 8px;
  text-transform: uppercase;
    color: #000;
}

.menu-for-visitor-container > .navbar-nav > .active >a,
.menu-for-visitor-container > .navbar-nav > .active >a:active,
.menu-for-visitor-container > .navbar-nav > .active >a:visited,
.menu-for-visitor-container > .navbar-nav > .active >a:hover
{
    background-color: #41672C;
    border-radius: 50px;
    color: #FFF;
}

.menu-for-visitor-container > .navbar-nav > .current-menu-parent > a, 
.menu-for-visitor-container > .navbar-nav > .current-menu-parent > a:hover, 
.menu-for-visitor-container > .navbar-nav > .current-menu-parent > a:focus{
    background-color: #41672C;
    border-radius: 50px;
    color: #FFF;
}

.cls-nav .navbar-nav > li:last-child a {
     color: #FFF;
     background-color:  #41672C;
     border-radius: 5px;
     padding-left: 15px;
}

.cls-nav .navbar-nav > li:last-child a:after {
  position: relative;
  top: -3px;
  left: 3px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
   
}
.navbar-toggle .icon-bar{
    background-color: #41672C;
}
.navbar-brand{
    color: #41672C;
}

.dropdown-menu>.active>a, 
.dropdown-menu>.active>a:hover, 
.dropdown-menu>.active>a:focus {
    background-color: #41672C;
}

/*Footer*/
.cls-footer-line{
    background-color: #41672C; /*Green*/
    height: 10px;
    bottom: 0;
}

.cls-backtotop {
/*
    position: absolute;
    right: 40px;
    bottom: 20px;
*/
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    background-color: #cccccc;
    padding: 20px;
    text-align:center;
}

.cls-backtotop, .cls-backtotop:visited {
    color: #333;
}

.cls-backtotop:active, .cls-backtotop:hover {
    text-decoration: none;
    background-color: #41672C;
    color: #FFF;
}

/*Front*/
section{
     margin-bottom: 100px;
}


.cls-f-whyvisit{
    background-image: url(/wp-content/themes/tiff2016/img/bg_whyVisit.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    padding-top: 30px;
    color:#FFF;
   
}
.cls-f-whyvisit-img{
    box-shadow: 0px 7px 5px #888888;
}

.cls-f-head-whyvisit{
    color:#7E6851;
    font-size: 3em;
    padding-top: 15px;
}
.cls-f-head-whyvisit-line{
    border-bottom: 1px solid #7E6851;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}
.cls-f-body-whyvisit{
    color:#121212;
    font-size: 1.2em;
    text-align: left;
    padding-top: 10px;
}
.cls-f-btn-whyvisit{
    color:#FFF;
    margin-top: 20px;
    padding: 10px 20px 10px 20px;
    background-color: #41672C;
    border-radius: 50px; 
}

.cls-f-news{
    margin-bottom: 100px;
}

.cls-f-h-news{
    color:#7E6851;
    font-size: 4em;
    width: 40%;
    border-bottom: 1.5px solid #7E6851;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    
}
.cls-f-news-line{
     width: 50%;
    border-bottom: 10px solid #F7941D;
}

.cls-f-news-date{
    width: 100px;
    height: 100px;
    background-color: #555555;
    color: #FFF;
    font-size: 1.3em;
    margin-bottom: 10px;
    padding-top: 25px;
}
.cls-f-news-img{
    box-shadow: 10px 10px 20px #BBB;
}
.cls-btn-f-news{
    border-color: #F7941D;
    color: #F7941D;
}
.cls-f-history{
    background-image: url(/wp-content/themes/tiff2016/img/front/bg-history.jpg);
    background-repeat: no-repeat;
/*    background-size: 100%;*/
    background-position: center;
    height: 250px;
}
.cls-f-h-contact{
    color:#7E6851;
    font-size: 4em;
    width: 40%;
    border-bottom: 1.5px solid #7E6851;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}
.cls-f-contact{
    font-size: 1.1em;
    margin-bottom: 30px;
}

/*Page*/
.main-section-content{
    background-image: url(/wp-content/themes/tiff2016/img/bg-content.jpg);
    background-repeat: no-repeat;
}
.breadcrumb{
    
/*
    border-radius: 0px;
    
    background-color: #41672C;
    opacity: 0.6;
    filter: alpha(opacity=60);  For IE8 and earlier 
*/
}

.cls-breadcrumb{
    margin-top:15px;
}

.ellipsis {
    overflow: hidden;
    height: 110px;
    line-height: 25px;
/*    margin: 10px;*/
}
.ellipsis:before {
    content:"";
    float: left;
    width: 5px; height: 200px; 
}
.ellipsis > *:first-child {
    float: right;
    width: 100%;
    margin-left: -5px; 
}		
.ellipsis:after {
    content: "\02026";  

    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;

    float: right; position: relative;
    top: -25px; left: 100%; 
    width: 3em; margin-left: -3em;
    padding-right: 5px;

    text-align: right;

    background: -webkit-gradient(linear, left top, right top,
        from(rgba(255, 255, 255, 0)), to(white), color-stop(50%, white));
    background: -moz-linear-gradient(to right, rgba(255, 255, 255, 0), white 50%, white);			
    background: -o-linear-gradient(to right, rgba(255, 255, 255, 0), white 50%, white);
    background: -ms-linear-gradient(to right, rgba(255, 255, 255, 0), white 50%, white);
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white 50%, white); 
}


/*Nav Menu Sidebar*/ 
.menu-item{
    height: 46px;
}
.cls-sidebar-menu > .menu-item{
    border-bottom: 1px solid #E7E8EA;
    margin: 0px;
    border-left:  5px solid #FFF; 
    
}
.cls-sidebar-menu > .active > a,
.cls-sidebar-menu > .active > a:hover,
.cls-sidebar-menu > .active > a:visited{
    background-color: #E7E8EA !important;
    color: #41672C !important;
    border-radius: 0px;
    height: 45px;
    
}
.cls-sidebar-menu > .current_page_item {
    border-left:  5px solid #41672C; 
}
.well{
    background-color: #FFF !important;
}
.cls-sidebar-menu-item > .menu-item > a,
.cls-sidebar-menu-item > .menu-item > a:visited
{
    color: #000;
    padding-left: 30px;
    
}
.cls-sidebar-menu-item > .menu-item > a:hover{
    text-decoration: none;
    color: #41672C;
}
.cls-sidebar-menu-item > .menu-item{
    height: 30px;
}

.cls-sidebar-menu-item > .current_page_item  > a,
.cls-sidebar-menu-item > .current_page_item  > a:hover,
.cls-sidebar-menu-item > .current_page_item  > a:visited{
    color: #41672C;
    font-weight: bold;
}

