/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	height: 100%;
	width: 100%;
	position: absolute;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* end RESET */
header#header {
	position: fixed;
	z-index: 10;
}
.upper {
	position: relative;
	height: 57%;
	overflow: hidden;
	width: 100%;	
	margin: 0;
	padding: 0;
}

.lower {
	margin: 0;
	padding: 0;
	height: 43%;
	overflow: hidden;
	text-align: center;
	position: relative;

}

.lower .hp-logo {
	top: 20%;
	position: relative;
}

.left,
.right {
	width: 50%;
	float: left;
	background: #00f;
	height: 100%;
	position: relative;
}

.left {
	background: url(images/left.jpg) no-repeat top left;
	background-size: cover;
}

.right {
	background: url(images/right.jpg) no-repeat top left;
	background-size: cover;
}

.left p,
.right p {
	text-align: center;
	position: relative;
	top: 40%;
}

.angle-bg {
	position: absolute;
	bottom: 0;
	clear: both;
	background: transparent;
	display: block;
	height: 15%;
	width: 100%;
	background: no-repeat bottom left;
	background-color: transparent;
	background-size: 100% 100%;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxwb2x5Z29uIHN0eWxlPSJmaWxsOiNmZmZmZmY7IiBwb2ludHM9IjEsMCAxLDEgMCwxICIvPjwvc3ZnPg==); 
}

section {
	overflow: auto;
}

/*** TYPOGRAPHY *************/
h1 {
	font-size: 30px;
}
h2 {
	font-size: 30px;
}
h3 {
	font-size: 24px;
}
h4 {
	font-size: 18px;
}
p,
ul {
	font-size: 18px;
}
/*** HOMEPAGE ***************/

.homepage .upper h2 {
	text-align: center;
	position: relative;
	width: 100%;
	height: 100%;
	display: table;
	padding: 0;
}
.homepage .upper h2 a {
	color: #fff;
	text-decoration: none;
	display: table-cell;
	vertical-align: middle;
	background: none;
	transition: background .55s ease-in-out;
	-moz-transition: background .55s ease-in-out;
	-webkit-transition: background .55s ease-in-out;
}

.homepage .upper h2 a:hover {
	background: rgba(000,000,000, .4);
	transition: background .55s ease-in-out;
	-moz-transition: background .55s ease-in-out;
	-webkit-transition: background .55s ease-in-out;
}


/*** Interior ***************/
.header-logo {
	position: fixed;
	right: 0;
	margin: 35px 50px;
}

.main:before {
	content: "";
	height: 210px;
	width: 100%;
	background: #fff;
	position: fixed;
	top: -80px;
	left: 0px;
	transform: skewY(2.4deg);
	box-shadow: 0px 0px 5px #888;
	z-index: 10;
}

.main {
	position: relative;
	z-index: 0;
	top: -200px;
	padding-top: 200px;
	margin-bottom: -200px;
}

.main.no-nav {
	margin-top: 150px;
}

/*** Category Pages ***************/
.cat-nav {
	position: relative;
	display: block;
	width: 100%;
	height: 400px;
	margin-bottom: 60px;
}

.cat-nav div {
	position: relative;
	display: table;
	float: left;
	width: 25%;
	min-width: 120px;
	margin: 0;
	padding: 0;
	height: 100%;
	text-align: center;
}

.cat-nav a {
	position: relative;
	display: table-cell;
	height: 100%;
	width: 100%;
	vertical-align: middle;
	padding-top: 100px;
	transition: background .55s ease-in-out;
	-moz-transition: background .55s ease-in-out;
	-webkit-transition: background .55s ease-in-out;
}

.cat-nav a:hover {
	background: rgba(000,000,000,.4);
	color: #fff;
	transition: background .55s ease-in-out;
	-moz-transition: background .55s ease-in-out;
	-webkit-transition: background .55s ease-in-out;
}


.interior .cat-nav div:nth-of-type(1){
	background: url('images/cat-1.jpg') no-repeat top center;
	background-size: cover;
}

.interior .cat-nav div:nth-of-type(2){
	background: url('images/cat-2.jpg') no-repeat top center;
	background-size: cover;
}

.interior .cat-nav div:nth-of-type(3){
	background: url('images/cat-3.jpg') no-repeat top center;
	background-size: cover;
}


.interior .cat-nav div:nth-of-type(4){
	background: url('images/cat-4.jpg') no-repeat top center;
	background-size: cover;
}

/************* PRODUCTS ************************************/
.product-list {
	margin: 0 10px;
	max-width: 1080px;
}

.product {
	margin: 0 50px 30px;
	height: 300px;
	max-width: 170px;

}

.product img {
	height: 170px;
	width: 170px;
	background: #474442;
	display: block;
	margin: 0 0 10px 0;
}

.product-list h3,
.product-list h4 {
	margin: 0;
	padding: 5px 0;	
}

.product-list a {
	color: #474442;
	text-decoration: none;
	line-height: 1.1em;
}

.product-list a:hover img {
	background: #000;
	color: #000;
	opacity: .7;
	transition: opacity .55s ease-in-out;
	-moz-transition: opacity .55s ease-in-out;
	-webkit-transition: opacity .55s ease-in-out;
}

.product-list h4 a:hover {
	text-decoration: underline;
}

.product-list h3 a:hover {
	color: #ef5a24;
}

/************* PRODUCT DETAILS ************************************/
.product-details {
	color: #8e8e8e;

}

.product-details h1,
.product-details h2 {
	padding: 10px 10px 0px;
}

.product-details header {
	margin: 0 0 20px 0;
}

.product-details h2 {
	color: #474442;
}

.product-details a,
.detail-secondary a {
	text-decoration: none;
	color: #ef5a24;
}

.product-details a:hover,
.detail-secondary a:hover {
	text-decoration: underline;
}

.product-img img {
	height: 170px;
	width: 170px;
	background: #474442;
	display: block;
	margin: 20px;
}

.product-img:hover img {
	opacity: .7;
	transition: opacity .55s ease-in-out;
	-moz-transition: opacity .55s ease-in-out;
	-webkit-transition: opacity .55s ease-in-out;
}

.detail-secondary:before {
	content: "";
	height: 30px;
	width: 100%;
	background: #fff;
	position: absolute;
	top: 10px;
	left: 0;
	transform: skewY(2.4deg);
	box-shadow: 0px 3px 2px #ccc;
	z-index: 0;
}

.detail-secondary {
	margin: -30px 0 100px;
	padding: 100px 40px 0px 40px;
	position: relative;
}

.detail-secondary ul {
	clear: both;
}

.detail-secondary li {
	padding: 10px 10px 0px 30px;
	background: url(images/arrow-small.png) no-repeat 10px 15px;
}

/********** PRODUCT INQUIRY FORM ******************/

.prod-inquiry-form {
	background: #fff;
	position: absolute;
	width: 100%;
	min-height: 400px;
	padding-top: 150px;
	top: -1000px;
	z-index: 5;
	margin-top: 100px;
}


.angled-bottom {
	height: 100px;
	width: 100%;
	background: #fff;
	position: absolute;
	bottom: -60px;
	left: 0;
	transform: skewY(2.4deg);
	z-index: 3;	
}



/*
.prod-inquiry-form:after {
	content: "";
	height: 100px;
	width: 100%;
	background: #fff;
	position: absolute;
	bottom: -60px;
	left: 0;
	transform: skewY(2.4deg);
	z-index: 3;
}
*/


.product-details:after {
	content: "";
	background: rgba(000,000,000,.9);
	width: 100%;
	height: 100%;
	z-index: 3;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}

.product-details.displayed:after {
	display: block;
}




footer#footer {
	position: relative;
}

footer#footer:after {
	content: "";
	position: absolute;
	top: 0;

	left: 0;
	background: rgba(000,000,000,.9);
	width: 100%;
	height: 100%;
	z-index: 5;
	display: none;
}

footer#footer.displayed:after {
	display: block;
}


.prod-inquiry-form form {
	max-width: 600px;
	margin-bottom: 60px;
	/*display: none;*/
}

.prod-inquiry-form p {
 	margin: 0;
	padding: 0;
}

.prod-inquiry-form form label {
	display: block;
	margin: 0;
	padding: 20px 0 5px 0;
}

.prod-inquiry-form p.hang-left {
	width: 45%;
}

.prod-inquiry-form form p.hang-left:first-of-type {
		margin-right: 10%;
}

.prod-inquiry-form form input[type=email],
.prod-inquiry-form form input[type=text] {
		width: 98%;
		padding: 10px 2%;
	border-radius: 0;
	border: 1px solid #aaa;
}

.prod-inquiry-form p.clear {
	width: 100%;

}

.prod-inquiry-form textarea {
	width: 100%;
	min-height: 130px;
	border-radius: 0;
	border: 1px solid #aaa;
	margin: 0 0 25px 0;
}

.prod-inquiry-form h1 {
	color: #ef5a24;
	margin: 0 0 20px 0;
	padding: 0;
}

.prod-inquiry-form h1 span {
	color: #8e8e8e;
	font-size: 24px;
}

form input[type=submit] {
	border: none;
	background: #ef5a24;
	color: #fff;
	font-size: 18px;
	font-weight: 300;
	font-family: lato;
	padding: 5px 20px;
	margin: 0!important;
}

form input[type=submit]:hover {
	background: #d9511f;
	cursor: pointer;
	
}









/*** SIDEBAR ****************/
.sidebar {
	direction: rtl;
	width: 300px;
	background: #474442;
	height: 100%;
	min-height: 100%;
	/* max-height: 100%; */
	position: fixed;
	top: 0px;
	left: -370px;
	padding: 0px 35px;
	z-index: 20;
	-webkit-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-o-transition-duration: 1s;
	transition-duration: 1s;
	-webkit-transform: translateX(0px);
	transform: translateX(0px);
	font-family: lato, arial, sans-serif;
}

.sidebar .container {
	direction: ltr;
	height: auto;
	padding-bottom: 20px;
}

.sidebar > div {
	padding-top: 60px;
}

.sidebar.show-nav {
	-webkit-transition-duration: 1s;
	-moz-transition-duration: 1s;
	-o-transition-duration: 1s;
	transition-duration: 1s;
	-webkit-transform: translateX(370px);
	transform: translateX(370px);
}

.nav-open {
	position: fixed;
	top: 10px;
	left: 20px;
	background: url('images/plus.png') no-repeat center left;
	padding-left: 30px;
	color: #fff;
	text-decoration: none;
	font-weight: 300;
}

.nav-open h3 {
	padding: 0;
}

.interior .nav-open,
.interior .nav-open h3 {
	color: #b7b7b7;
	z-index: 10;
}

.nav-close {
	position: fixed;
	right: 20px;
	top: 15px;
	background: url('images/minus.png') no-repeat center left;
	height: 20px;
	width: 20px;
	
}	

/** Content Styles **/
body {
	color: #aaa;
	font-family: lato, arial, sans-serif;
	font-weight: 300;
}

article {
	margin: 50px;
	max-width: 650px;
	clear: both;
}

h1, h2, h3, h4, h5, p, ul, ol, li {
	padding: 10px;
}

h1, h2, h3, h4, h5 {
	color: #fff;
}

article h1,
article h2,
article h3,
article h4,
article h5 {
	color: #ef5a24;
}

article h1 {
	font-size: 2em;
}

article h2 {
	font-size: 1.5em;
}

p, ul, li, a {
	line-height: 1.4em;
}

.cat-nav a {
	text-decoration: none;
	color: #474442;
}

.cat-nav a {
	font-size: 30px;
}

.sidebar {
	text-align: left;
}

.sidebar a {
	color: #fff;
	text-decoration: none;
}

.sidebar nav a:hover {
	border-bottom: 1px solid #fff;
	padding-bottom: 5px;
}

.sidebar ul {
	padding: 0;
}

.sidebar hr {
	width: 35%;
	margin-left: 10px;
	margin-right: auto;
	margin-top: 15px;
	margin-bottom: 15px;
	border: none;
	background: #fff;
}

hr.thick {
	height: 5px;
}

hr.thin {
	height: 2px;
}

ul.inline li {
	display: inline-block;
}

.hang-left {
	float: left;
}

.hang-right {
	float: right;
}

.hang-center {
	margin: 0 auto;
}

em {
	font-weight: bold;
}

.orange {
	color: #ef5a24;
}

.grey {
	color: #8e8e8e;
}

.clear {
	clear: both;
}

/******************* FOOTER ******************************/
footer#footer {
	min-height: 50px;
	width: 100%;
	background: #474442;
	overflow: auto;
}

footer#footer .container {
	padding: 0 40px;
}

footer#footer a {
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	vertical-align: middle;
}

footer#footer a:hover {
	text-decoration: underline;	
}

footer#footer ul,
footer#footer p {
	margin: 0;
	padding: 0;
	font-size: 14px;
}

footer#footer li {
	margin: 0;
	padding: 0 20px 0 0;
}

footer#footer p,
footer#footer ul {
	height: 40px;
	padding: 15px 0 10px 0;
	color: #fff;
}

/******************* RESPONSIVE **************************/
@media only screen and (max-width: 840px) {

	footer#footer p,
	footer#footer ul {
		text-align: center;
		float: none;
		clear: both;
	}
	
}
@media only screen and (max-width: 640px) {

	.cat-nav a {
		font-size: 26px;
	}
	
	.cat-nav div {
		min-width: 0;
	}
	
}

@media only screen and (max-width: 480px) {
	.header-logo {
		margin: 30px 10px;	
	}
	
	.cat-nav a {
		font-size: 18px;
	}	
}

@media only screen and (max-width: 320px) {
	.cat-nav a {
		font-size: 20px;
	}
	.cat-nav {
		height: auto;
		overflow: auto;
		position: relative;
		top: 100px;
		margin-bottom: 140px;

	}
	.cat-nav div {
		float: none;
		height: auto;
		width: 100%;
		margin: 0;
		padding: 0;
		display: block;
		text-align: center;
	}
	.cat-nav div:first-of-type {
		padding-top: 25px;
		max-height: 100%;
	}
	.cat-nav a {
		margin: 0;
		padding: 15px 0;
		display: block;
		height: auto;
		text-shadow: 0 0 15px #333;
		background: rgba(255,255,255,0.5);
	}
	
	article {
		margin: 0 15px;
	}
	
	.sidebar {
		width: 255px;
		padding: 0 15px;
	}
}

@media only screen and (max-height: 600px) {
	.sidebar {
		overflow: auto;
	}
}