/*
	Theme Name: Hiyama Studios
	Theme URI: http://hiyamastudios.com
	Description: Custom WordPress theme for Hiyama Studios
	Version: 1.0.0
	Author: Ross Hogin
	Author URI: http://www.hogin.com/
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 18px/1.5 Georgia, Times New Roman, serif;
	color:#93836e;
	background: #000; 
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
h1, h2, h3, h4, h5, h6 { margin-top: 0; }
h1 { font-size: 1.7em;  }
h2 { font-size: 1.35em; margin-bottom: 5px; color: #bf5e13; font-weight: normal; }
h3 { font-size: 1.12em; }

img {
	max-width:100%;
	vertical-align:bottom;
}
p { margin: 0 0 40px; }
a {
	color:#698e43;
	text-decoration:none;
	-webkit-transition: all 0.4s ease;	
	transition: all 0.4s ease;
}
a:hover {
	color:#FFF;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}

a img { transform: rotate(0); }

input:focus {
	outline:0;
	border:1px solid #93836e;
}

::-webkit-input-placeholder {
   color: #93836e;
}

:-moz-placeholder { /* Firefox 18- */
   color: #93836e;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #93836e;  
}

:-ms-input-placeholder {  
   color: #93836e;  
}

.accessible { position: absolute; text-indent: -9999px; line-height: 0; }

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1024px;
	width:96%;
	padding: 0 2%;
	margin:0 auto;
	position:relative;
}

.wrapper.main { 
	background: #000; 
	background: -moz-linear-gradient(top,  rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,1)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */

	padding: 35px; 
	margin: 40px auto 100px; 
}

/* header */
#header {
	background: #000; 
	padding: 40px 0; 
	position: relative;
	z-index: 100; 
}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}

#main {
	/*Thanks to http://www.colorzilla.com/gradient-editor/ */
	background: #171717; /* Old browsers */
	background: -moz-linear-gradient(top,  #202020 0%, #000000 26%, #000000 76%, #000000 76%, #141313 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#202020), color-stop(26%,#000000), color-stop(76%,#000000), color-stop(76%,#000000), color-stop(100%,#141313)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #202020 0%,#000000 26%,#000000 76%,#000000 76%,#141313 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #202020 0%,#000000 26%,#000000 76%,#000000 76%,#141313 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #202020 0%,#000000 26%,#000000 76%,#000000 76%,#141313 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #202020 0%,#000000 26%,#000000 76%,#000000 76%,#141313 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#171717', endColorstr='#141313',GradientType=0 ); /* IE6-9 */
 
}
/* sidebar */
.sidebar {

}
/* footer */
#footer {
	background: #000;
	padding: 35px 0 90px; 
}

/*------------------------------------*\
    COLUMNS
\*------------------------------------*/

.row {
	clear: both;
	margin: 0 0 50px; 
}
.col { 
	display: block; 
	position: relative; 
	float: left; 
	margin-right: 2%;
}
.one-fourth { width: 23.25%; }
.one-third { width: 32%; }
.two-third { width: 65%; }
.first { margin-left: 0; }
.last { margin-right: 0; float: right;  }

/*------------------------------------*\
    NAVIGATION
\*------------------------------------*/

.nav {}
.nav ul { margin: 0; padding: 0; list-style: none; }
.nav ul li {}
.nav ul li a {}
.nav ul li a:hover {}

#header-nav { margin-top: 23px; }
#header-nav ul { text-align: right; }
#header-nav ul li { display: inline-block; margin-left: 0; }
#header-nav ul li a {
	font-size: 20px; 
	color: #698e43;
	padding: 10px 10px 5px;
	-webkit-transition: color 0.4s ease;	
	transition: color 0.4s ease;
}
#header-nav ul li a:hover,
#header-nav ul li a:active {
	color: #fff;
}

#header-nav ul li.menu-item-has-children ul {
	display: none;
}

#header-nav ul li.menu-item-has-children {
	position: relative;
}

#header-nav ul li.menu-item-has-children:hover,
#header-nav ul li.menu-item-has-children:hover a,
#header-nav ul ul {
	background: #698e43;
}

#header-nav ul li.menu-item-has-children:hover a {
	color: #FFF;
}

#header-nav ul ul {
	position: absolute;
	top: 30px;
	width: 171px; /* Match the Studio Collection link width */
}
#header-nav ul ul li {
	display: block;
	margin: 0px 10px;
}

#header-nav ul ul li a {
	border-top: 1px solid #9FC37B;
	color: #FFF;
	display: block;
	text-align: left;
	padding: 12px 0;
	line-height: 1.2em;
} 
#header-nav ul li.menu-item-has-children ul li a:hover {
	color: #DDEAD0;
}
#header-nav ul ul li:first-child a {
	border: 0 none;
}

#header-nav ul ul li:last-child a {
}
/* moved this to jquery fadeIn()
#header-nav ul li.menu-item-has-children:hover ul {
	display: block;
}

*/


/*------------------------------------*\
    PAGES
\*------------------------------------*/

.entry-title { font-weight: normal; color: #a68141; margin-bottom: 60px; }

article ul,
article ol { margin: 0 0 20px; padding-left: 20px;  }


/*------------------------------------*\
    SLIDESHOWS
\*------------------------------------*/

.flexslider {
	border: 0 none;
    border-radius: 0;
    margin: 0;
	overflow: hidden;
 }
 /* Direction Nav - taken from flexslider.css so that we can override the styling */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a  { 
	display: block; 
	width: 62px; 
	height: 62px; 
	margin: -20px 0 0; 
	position: absolute; 
	top: 45%; 
	z-index: 10; 
	overflow: hidden; 
	opacity: .25; 
	cursor: pointer; 
	color:#EEE; 
	text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
	-webkit-transition: all .3s ease; 
	-moz-transition: all .3s ease; 	 
	transition: all .3s ease; 
}
.flex-direction-nav .flex-prev { left: -65px; }
.flex-direction-nav .flex-next { right: -65px; text-align: right; }
.flexslider:hover .flex-prev { opacity: 0.7; left: 10px; }
.flexslider:hover .flex-next { opacity: 0.7; right: 10px; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1.0; color:#EEE; }
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }
.flex-direction-nav a:before  { font-family: inherit; font-size: 100%; display: inline-block; content: none; }
.flex-direction-nav a.flex-next:before  { content: none; }

 .flex-direction-nav a.flex-next {
    background: url("img/arrow_right.png") no-repeat;
}

 .flex-direction-nav a.flex-prev {
	background: url("img/arrow_left.png") no-repeat; 
}

.flex-control-paging li a { background: #698e43; opacity: .50; }
.flex-control-paging li a.flex-active { background: #698e43; opacity: .90; }
.flex-control-paging li a:hover { background: #698e43; opacity: .75; }
	

.flexslider ul.slides { margin: 0; padding:0; list-style: none; }
.flexslider .slides li { position: relative; }
.flexslider .flex-caption,
.fancybox-title-over-wrap { 
	width: 100%;
	padding: 0;
	position: relative;
	margin: 0; 
	color: #93836e;
	text-align: left;
}

.flexslider .slides li img { 
	height: auto; 
	width: 100%; 
}


.flexslider .flex-caption h2,
.fancybox-title-over-wrap.fancybox-title h2 { 
	color: #a68141; 
	line-height: 1.1em;
	font-size: 30px;

}

#flexslider-home { 
	position: relative; 
	left: 0; 
	top: 0;
	width: 100%; 
	height: auto;
	margin: 0;
	padding: 0;
	overflow: hidden; 
}
#flexslider-home .flex-viewport { height: 100%; }

#flexslider-home ul.slides { position: relative; top: 0; width: 100%;  }
#flexslider-home .slides li img { }

#flexslider-home.flexslider .text-wrap {
	position: absolute;
	width: 30%;
	right: 23%; 
}

#flexslider-home.flexslider .slide-desc { 
	top: 6%; 
}

#flexslider-home.flexslider .slide-desc .flex-caption p { font-size: 16px; }

#flexslider-home.flexslider .image-desc {
	bottom: 12%;
}

#flexslider-home.flexslider .image-desc .flex-caption { width: 66%; }
#flexslider-home.flexslider .image-desc .flex-caption p { font-size: 15px; }
#flexslider-home.flexslider .flex-caption {}
#flexslider-home.flexslider .flex-caption p { margin: 0 0 15px; }
#flexslider-home .wrapper {  }

#flexslider-home .flex-control-nav { bottom: 10px; z-index: 9999; }

#flexslider-carousel .flex-caption { 
	width: 100%; 
	margin: 0; 
	padding: 1% 5%;
	position: absolute;
	bottom: 0; 
}

#flexslider-carousel li { margin-right: 5px; }
#flexslider-carousel li img { max-width: 100%; height: auto; max-height: auto; } 


/*------------------------------------*\
    ABOUT
\*------------------------------------*/

.oba-participants ul { margin: 0; padding: 0; list-style: none; }

/*------------------------------------*\
    PRODUCTS
\*------------------------------------*/

.page-template-template-product_cat_main-php #main header,
.single-hiyama_product #main header {
	margin-bottom: 50px;
}
.page-template-template-product_cat_main-php header h1,
.single-hiyama_product header h1 { margin-bottom: 0; }
.page-template-template-product_cat_main-php header h2,
.single-hiyama_product header h2 { 
	font-style: italic; 
	color: #a68141; 
	font-size: 16px;
	letter-spacing: -.4px;
}

.product-subnav { 
	position: absolute; 
	top: 0; 
	right: -2px; 
	width: 38%;
}
.product-subnav ul { margin: 0; padding: 0; list-style: none; }
.product-subnav ul li { 
	display: block; 
	float: left; 
	margin: 0 1px 0 0; 
	position: relative;
	background: #698e43; 
	width: 33%;
	height: 70px;
}
.product-subnav ul li a { 

	color: #FFF; 
	display: block; 
	-webkit-transition: color 0.4s ease;
	transition: color 0.4s ease; 
	position: relative;
	height: 100%;
	width: 100%;
	line-height: 1.25em;
}

.product-subnav ul li a span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: block;
	width: 90%;
	text-align: center;
}

.product-subnav ul li a:hover { color: #000;}

.product-title {}

/* Main */



.product-item { margin-bottom: 20px; overflow: hidden; }
.product-item .product-title {
    display: block;
    height: auto;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 42%;
    width: 90%;
	margin: 0 5%;
    z-index: 100;
	-webkit-transition: opacity 0.4s ease;	
	transition: opacity 0.4s ease;
	text-indent: 0; 
}

.product-item .product-title.headline { top: 28%; }

.product-item .product-title h2,
.product-item .product-title #headline-excerpt { color: #DDD; line-height: 1.3em;  }
.product-item .product-title h2 { font-weight: bold; }

.product-item img { 
	opacity: 1.0; 
	-webkit-transition: all 0.4s ease; 
	transition: all 0.4s ease; 
	margin-bottom: 0;  
}
.product-item:hover img {
	opacity: .40;
	-webkit-transform: scale(1.1);	
	transform: scale(1.1);
}
.product-item:hover .product-title { opacity: 1.0; }
.product-item:nth-child(3n){
	margin-right: 0; 
}

.product-item a,
.product-item img { display: block; width: 100%; }

/* Single */

.product-wrapper {
	width: 93%;
	margin: 0 auto; 
}

.product-header { position: relative; }

.product-description {
	padding: 0; 
	margin: 0; 
	border-bottom: 1px solid #698e43;
	font-size: 21px; 
}
.product-description p {
	margin-bottom: 20px; 
}

.product-details {
	padding: 20px 0; 
	margin: 0 0 20px; 
	border-bottom: 1px solid #698e43;
}

.single-hiyama_product .label { color: #a68141; }

.product-nav {
	position: absolute; 
	top: 46%; 
}
.product-nav a {
	display: block;
	height: 23px;
	width: 14px;
	background-position: 0 0;	
	transition: none; 	
}
.product-nav a:hover {
	background-position: 0 -23px; 

}

.next-product { margin-left: -35px; }
.next-product a {
	background: url('img/icons/previous.png') no-repeat;
}
.next-product a:hover {}

.previous-product {
	right: 0;
	margin-right: -35px;
}
.previous-product a {
	background: url('img/icons/next.png') no-repeat;
}
.previous-product a:hover {}

/* Social Share */

.share-list { margin: 0; padding: 0; list-style: none; }
.share-list li { display: inline-block; margin-right: 6px; }

.social-share {
	cursor: pointer;
	width: 26px;
	height: 25px;
	display: block;
	background-position: 0 0;
	transition: none;
}

.social-share:hover { background-position: 0 -25px; }


.facebook-share {
	background: url('img/icons/facebook-share.png') no-repeat;
}

.twitter-share {
	background: url('img/icons/tweet.png') no-repeat;
}

#pinit {
cursor: pointer;
	width: 49px;
	height: 24px;
	display: block;
	background: url('img/icons/pin-it.png') no-repeat;
	background-position: 0 0;
	transition: none;
}
#pinit:hover {
	background-position: 0 -24px; 
}

/*------------------------------------*\
    BLOG
\*------------------------------------*/

.archive article,
.blog article { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid #698e43; }
.archive article:last-of-type,
.blog article:last-of-type { margin-bottom: 15px; }
article.post .post-cat { margin-bottom: 0; }
.post-date { color: #FFF; margin-bottom: 30px; }
.post-title { font-size: 1.5em; line-height: 1.2em; margin-bottom: 20px;  }
.post-title a,
.post-title a:visited { color: #bf5e13; transition: all 0.4s ease; }
.post-title a:hover,
.post-title a:active { color: #698e43; }
.wp-post-image { margin-bottom: 20px; }

/* Main */


/* Single */
.single-post .post { 
	padding-bottom: 50px; 
	border-bottom: 1px solid #698e43; 
	margin-bottom: 12px;
}
.single-post .post .wp-post-image { margin: 0 0 40px; }
.single-post .return-back { text-align: right;  }

/* Pagination */

.pagination { text-align: right; }
.pagination .page-numbers { 
	width: 25px; 
	height: 25px; 
	background: #698e43; 
	color: #FFF;
	margin: 0 0 0 10px; 
	border-radius: 50%;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	font-size: 16px;
	line-height: 22px;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current { color: #000; }
.pagination .page-numbers.next,
.pagination .page-numbers.prev { background: none; width: 15px; font-size: 22px;  }
.pagination .page-numbers.next:hover,
.pagination .page-numbers.prev:hover { color: #698e43; }

/*------------------------------------*\
    CONTACT
\*------------------------------------*/

.visual-form-builder fieldset {
	background-color: transparent;
	border: 0 none;
}

.visual-form-builder .vfb-legend { display: none; }
.verification .vfb-legend { display: block; }

.visual-form-builder ul, 
.entry-content .visual-form-builder ul, 
.comment-content .visual-form-builder ul, 
.mu_register .visual-form-builder ul, 
.visual-form-builder ol, 
.entry-content .visual-form-builder ol, 
.comment-content .visual-form-builder ol, 
.mu_register .visual-form-builder ol {
	margin: 0 !important;
}

#main .visual-form-builder li, 
#main .entry-content .visual-form-builder li, 
#main .comment-content .visual-form-builder li, 
#main .mu_register .visual-form-builder li {
	padding: 0 !important;
	margin: 0 0 20px !important;
}

#main .visual-form-builder label {
	display: none;
	color: #93836e;
}

#main .visual-form-builder input,
#main .visual-form-builder textarea, 
#main .visual-form-builder select { 
	background: #1a1a1a; 
	border: none;
	padding: 12px 18px; 
	color: #93836e;
	font-size: 18px; 
}

#main #item-vfb-12 { display: inline-block; width: 54% !important; }

#main #item-vfb-13,
#main #item-vfb-14 { display: inline-block; width: 19.75% !important; }

#main #item-vfb-12,
#main #item-vfb-13 { margin-right: 3.25% !important; }

#item-vfb-12 input,
.vfb-item .one-fourth { width: 100% !important; }

#main .visual-form-builder .verification label { display: block; font-size: 16px;  }
.verification .vfb-legend { 
	margin: 0 0 10px; 
	padding: 0; 
	color: #a68141; 
	border-bottom: 1px solid #698e43; 
}

#main .visual-form-builder .vfb-submit, 
#main .visual-form-builder input.vfb-submit[type="submit"] {
	background-color: #698e43;
	color: #FFF;
	transition: color 0.4s ease;
	font-size: 20px;
	padding: 18px; 
}

#main .visual-form-builder .vfb-submit:hover, 
#main .visual-form-builder input.vfb-submit[type="submit"]:hover {
	color: #000;
}	

input.vfb-text:focus, 
input.vfb-text[type="text"]:focus, 
input.vfb-text[type="tel"]:focus, 
input.vfb-text[type="email"]:focus, 
input.vfb-text[type="url"]:focus, 
textarea.vfb-textarea:focus {
	box-shadow: 0px 0px 5px #698e43;
}

#main .vfb-item-checkbox label.vfb-choice { display: block; font-size: 18px; margin: 0; }

#main .visual-form-builder input[type="checkbox"] { display: none !important; }

#main .visual-form-builder input[type="checkbox"] + label span {
    display:inline-block;
    width:20px;
    height:20px;
    margin:-3px 10px 0 0;
    vertical-align:middle;
    background:url(img/checkbox_sprite.png) left top no-repeat;
    cursor:pointer;
}
#main .visual-form-builder input[type="checkbox"]:checked + label span {
    background-position: 0 -20px; 
}

#main p#form_success, #main .vfb-form-success { color: #698e43; }

/*------------------------------------*\
    IMAGES
\*------------------------------------*/


/*------------------------------------*\
    SIDEBAR
\*------------------------------------*/

.widget-title { 
	color: #FFF; 
	border-bottom: 2px solid #698e43; 
	margin: 0; 
	padding: 8px 12px; 
	font-weight: normal;
}

.textwidget { padding: 8px 12px; }

.sidebar-widget {}
.sidebar-widget .widget { margin-bottom: 50px; }
.sidebar-widget ul { margin: 0; padding: 0; list-style: none; }
.sidebar-widget ul li {}
.sidebar-widget ul li a,
.sidebar-widget ul li a:visited { 
	color: #93836e;
	transition: all 0.4s ease;
	border-bottom: 1px solid #698e43;
	display: block; 
	padding: 8px 12px; 
}
.sidebar-widget ul li a:hover,
.sidebar-widget ul li a:active {
	color: #698e43;
}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/

#footer-nav {}
#footer-nav ul { width: 100%; text-align: center; }
#footer-nav ul li { display: inline-block; margin-right: 30px;  }
#footer-nav ul li:last-child { margin-right: 0; }
#footer-nav ul li a { font-size: 15px; }

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

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


/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#698e43;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#698e43;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#698e43;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:0 15px 15px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:0 0 15px 15px;
}
.alignleft {
	float:left;
	margin:0 15px 15px 0;
}
a img.alignright {
	float:right;
	margin:0 0 15px 15px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:0 15px 15px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/


@media only screen and (max-width:1700px) {

	/* Home Page */
	#flexslider-home.flexslider .text-wrap { right: 16%; width: 32%; }

}

@media only screen and (max-width:1560px) {

	/* Home Page */
	
	#flexslider-home.flexslider .text-wrap { right: 12%; width: 37%; }
	#flexslider-home.flexslider .slide-desc { top: 4%;}
}

@media only screen and (max-width:1380px) {

	/* Home Page */
	
	#flexslider-home.flexslider .text-wrap { right: 9%; width: 42%; }
	.flexslider .flex-caption h2, .fancybox-title-over-wrap.fancybox-title h2 { font-size: 26px; }
	#flexslider-home.flexslider .flex-caption p { margin: 0 0 6px; }
}
@media only screen and (max-width:1280px) {

	/* Home Page */
	#flexslider-home.flexslider .text-wrap { width: 43%; right: 7%; }
	.flexslider .flex-caption h2, .fancybox-title-over-wrap.fancybox-title h2 { font-size: 24px; }
	#flexslider-home.flexslider .flex-caption p {}

}
@media only screen and (max-width:1200px) {

	/* Home Page */
	#flexslider-home ul.slides { background: #111; }
	#flexslider-home.flexslider .text-wrap {}
	#flexslider-home.flexslider .text-wrap.slide-desc { 
		position: relative; 
		right: 0; 
		width: 100%; 
		background: #111;
	}
	#flexslider-home.flexslider .text-wrap.slide-desc .flex-caption {
		width: 96%; 
		padding: 2%; 
		margin: 0 auto; 
		max-width: 1024px; 
	}

	#flexslider-home.flexslider .image-desc { bottom: 29%; }
	#flexslider-home.flexslider .image-desc .flex-caption { width: 80%; }
	
	.flex-direction-nav a { top: 36%; }
	
	#flexslider-home .flex-control-nav { bottom: 0; }

}
@media only screen and (max-width:1024px) {

	/* Home Page*/
	#flexslider-home.flexslider .image-desc { bottom: 32%; }
	#flexslider-home.flexslider .image-desc .flex-caption { width: 90%; }


}
@media only screen and (max-width:991px) {

	/* Structure */
	.col {}
	.one-fourth { width: 48%; margin-bottom: 20px; }
	.one-fourth:nth-child(2n) { margin-right: 0; float: right;  }
	
	/* Header */
	#header .logo { float: none; }
	#header-nav { clear: both; float: none; width: 100%; margin-top: 10px;  }
	#header-nav ul { text-align: left; }
	
	/* Products */
	.product-item .product-title #headline-excerpt { display: none; }
	
	.product-subnav {
		position: relative;
		right: 0; 	
		margin-bottom: 20px;
		width: 100%;
	}
	.product-subnav ul li {
		height: 58px;
	}
    

}

@media only screen and (max-width:860px) {

	/* Home Page*/
	#flexslider-home.flexslider .image-desc {
	    bottom: 37%;
	    display: block;
	    padding: 0 4%;
	    right: auto;
	    width: 58%;
 
	}

	.flex-direction-nav a { top: 33%; }
	

}

@media only screen and (max-width:767px) {

	/* Structure */
	.wrapper.main { padding: 20px; margin: 20px auto 40px;  }
	.col { float: none; }
	.one-third,
	.two-third,
	.one-fourth, 
	.one-fourth:first-child,
	.one-fourth:nth-child(2n) { width: 100%; float: none; margin-right: 0; margin-bottom: 20px;  }
	
	/* Header */
	#header { padding: 20px 0 10px; }
	#header .logo { margin-bottom: 10px; }
	
	/* Footer */
	#footer .wrapper { width: 100%; padding: 0; }
	#footer-nav ul li { display: block; margin: 0; border-bottom: 1px solid #555; }
	#footer-nav ul li a {
	    display: block;
	    margin: 0 auto;
	    padding: 8px 0;
	    width: 94%;
		font-size: 18px;
		text-align: left;
	}
	#footer-nav ul li:first-child { border-top: 1px solid #555; }
	
	/* Home */
	#flexslider-home.flexslider .image-desc { bottom: 40%; width: 63%;  }
	#flexslider-home .flex-control-nav { display: none; }
	
	/* Products */
	.product-item .product-title #headline-excerpt { display: block; }
	
}

@media only screen and (max-width:660px) {

	/* SITEWIDE */
	
	body {
		font-size: 17px;
	}
	
	h1 {
	    font-size: 1.6em;
		line-height: 1.4em;
	}
	h2 { 
		font-size: 1.25em;
	}
	h3 { 
		font-size: 1.05em; 
	}

	/* Header */
	#header { padding: 10px 0 0; }
	#header .wrapper { width: 100%; padding: 0;  }
	#header .logo { margin: 5px 3% 15px; float: left; width: 60%; }
	#header .logo img { max-width: 240px; height: auto; }

	/* Mobile Menu */
	#header-nav { display: none; }
	#mobile-menu-icon { 
		display: block; 
		background: url('img/mobile_menu.png') no-repeat;
		height: 32px;
		width: 32px;
		background-position: 0 0; 
		background-size: 32px;
		float: right;
		margin: 15px 3% 0;
		cursor: pointer;
	}
	#mobile-menu-icon.open {
		background-position: 0 -32px;
	}
	#mobile-menu { display: none; width: 100%; clear: both; position: relative; z-index: 9999;  }
	
	#mobile-menu ul { margin: 0; width: 100%; }
	#mobile-menu li,
	#mobile-menu li:first-child { 
		float: none; 
		margin: 0; 
		width: 100%; 
		border-top: 1px solid #555;
		background: #000;
		display: block; 
	}

	#mobile-menu li:last-child {
		border-bottom: 1px solid #555; 
	} 

	#mobile-menu li a,
	#mobile-menu li a:visited {
		width: 94%;
		display: block;
		margin: 0 auto;
		padding: 8px 0;
	}
	
	#mobile-menu li.menu-item-has-children ul li a {
		margin-left: 40px;
	}
	
	#mobile-menu li.menu-item-has-children ul li:last-child {
		border-bottom: 0 none;
	}

	/* Home Page */
		#flexslider-home.flexslider .image-desc { display: none; }
	
	.flex-direction-nav a { top: 28%; height: 48px; width: 48px;  }
	.flex-direction-nav a.flex-prev,
	.flex-direction-nav a.flex-next  { background-size: 48px; }
	
	/* PRODUCTS */
	
	.page-template-template-product_cat_main-php #main header, 
	.single-hiyama_product #main header {
	    margin-bottom: 30px;
	}
	
}
@media only screen and (max-width:480px) {

	/* SITEWIDE */
	
	body {
		font-size: 16px;
	}
	h1 {
	    font-size: 1.5em;
		line-height: 1.3em;
	}
	h2 { 
		font-size: 1.2em;
	}
	h3 { 
		font-size: 1em; 
	}

	/* Home Page */
	.flex-direction-nav a { top: 22%; }
	
	/* Product */
		
		/* Main */
		.product-item .product-title #headline-excerpt { display: none; }
		
		/* Single */
		.product-subnav {}
		.product-subnav ul li {
			width: 100%;
			margin: 0 0 1px 0;
			height: 50px;
		}
		.product-subnav ul li a { 
			font-size: 17px;
		}

	/* Contact Form */
	#main .visual-form-builder li, 
	#main .entry-content .visual-form-builder li, 
	#main .comment-content .visual-form-builder li, 
	#main .mu_register .visual-form-builder li { margin-bottom: 12px !important; }
	#main #item-vfb-12,
	#main #item-vfb-13, 
	#main #item-vfb-14 { width: 100% !important; margin-right: 0 !important; display: block !important; }
	#main .vfb-item-checkbox label.vfb-choice { font-size: 16px; }

}
@media only screen and (max-width:360px) {

	/* Home Page */
	.flex-direction-nav a { top: 17%; }
	
}
@media only screen and (max-width:320px) {
	/* Header */
	#header .logo { width: 70%;}
	#header .logo img { max-width: 100%; }
	#mobile-menu-icon { margin-top: 3%; }

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

@media screen and (min-width: 661px){ 
	#mobile-menu, #mobile-menu-icon { display: none !important; }
	#header-nav { display: block !important; }
}




/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
