﻿/*===================== 
	Color information
	
	- Dark Gray #1e1e1e;
	- Villard Red #e21d38;
	-
	-
		 
=======================*/
/*===================== 
	CSS reset/normalize 
=======================*/

/**Correct `block` display not defined in IE 8/9.**/
article,aside,details,figcaption,figure,footer,header,hgroup,
main,nav,section,summary {display: block;}
pre {white-space: pre-wrap;}
small { font-size: 80%;}


/*===================== 
	@Font-Face 
=======================*/


/*===================== 
	base styles 
=======================*/

html {
    -ms-text-size-adjust: 100%; 
    -webkit-text-size-adjust: 100%; 
	}

body {
	font-family: 'Roboto', sans-serif;
    margin: 0;
	padding:0;
	}

svg:not(:root) {overflow: hidden;/*reset*/}
	
.clear { clear: both;}

img { border: 0;} 

.resp-width{width:100%;}
	
/*===================== 
	typography 
=======================*/

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	font-weight: 700;
	}
	h1 {font-size: 28px;}
	h2 {font-size:  28px;}
	h3 {font-size: 24px}

p {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	padding:1% 0 2% 0;
	}

.bold {font-weight: bold;}
.txt-center{text-align: center;}
.white{color:#fff;}

/*===================== 
	link styles 
=======================*/

a:focus {outline: thin dotted;/*reset*/}
	
a,
a:link, 
a:visited, 
a:active {
	outline: 0;/*reset*/
    color: inherit; 
    text-decoration:none;
	}
	a:hover  {
		outline: 0;/*reset*/
		text-decoration:underline;
		}  

a.red_btn{
	color:#fff;
	background-color:#e21d38;
	text-align: center;
	padding:8px 12px;
	border-radius: 5px;
	display: inline-block;
	margin: 2% 2% 2% 0;
	text-decoration: none;
	padding: 12px 30px;
	transition:.2s ease-in;	
}
a.red_btn:hover{
	background-color:#1e1e1e;
}

/*===================== 
	header styles 
=======================*/

header {
	width: 100%;
	background:#1e1e1e;
	display: flex;
	box-sizing: border-box;
	padding:.5% 4%;
	}
.rt-head{padding:30px 0;}
.rt-head a{
 	display: block;
	text-align: right;
	color:#fff;
	font-size: 24px;
	padding: 5px 0;
}
/*===================== 
	nav styles 
=======================*/

#menu-button{display: none;}
nav.mobile { display:none;}

nav.primary {
	padding:0;
	display:block;
	margin:0;
	width:100%;
	position:relative;
	background: #e21d38;
	}
	nav.primary ul {
		margin:0 auto; 
		padding:0;
		max-width: 1400px;
		display: flex;
		}
		nav.primary ul li {
			margin:auto;
			padding:0 1%;
			list-style-type:none; 
			transition:.2s ease-in;
			}
			nav.primary ul li a {
				color:#fff;
				font-size:17px;
				line-height:50px;
				text-decoration:none;
				padding:0;
				display:block;
				margin:0;
				text-align:center;
				text-transform:uppercase;
				transition:.2s ease-in;	
				font-weight:400;
				}	
			nav.primary ul li:hover {
				background: #1e1e1e;
				color:#fff;
				}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-size:16px;
				line-height:16px;
				padding:10px 0;
				color:#fff;
				background: #181818;
				text-align:center;
				border-right:none;
				border-left:none;
				border-bottom: #fff solid 1px;
			}
			/* Appearance of the sub-level links on hover
			nav.primary ul li li a:hover { 
			} */
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: none;
    position: absolute; 
}
nav.primary ul ul ul {
    position: absolute; 
    left: 100%;
    top:0; 
}
nav.primary ul li:hover > ul {  
    display: block;
    line-height:18px; 
    z-index: 100;
}
nav.primary ul ul li {
    float: none; 
	width: 230px;
    position: relative;
    margin:0;
}

/*===================== 
	layout styles 
=======================*/

.wrap {
	width: 100%;
	background-color: #fff;
	padding:3% 2%;
	box-sizing: border-box;
	margin: 0;
}
.texture_wrap {
	width: 100%;
	background:url(/siteart/extra_clean_paper.png) repeat;
	padding:3% 2%;
	box-sizing: border-box;
	margin: 0;
}
.txt_wrap{
	width:100%;
	background: url(/siteart/main_txt_bg.png) no-repeat;
	background-size: cover;
	padding: 12% 7%;
    box-sizing: border-box;
}
.txt_wrap .col-1-2{float:right;}
.map_wrap{
	background: #e21d38;
	width: 100%;
	height: 300px;
	margin: 8% 0;
}
.map_wrap iframe{
	position: relative;
	margin: -50px 0 0 0;
	box-shadow: 0px 0px 6px 2px rgba(0,0,0,.4);
}
.container {
	max-width: 1400px;
	margin: 0 auto;
	}
.hero img{width:100%;}
	
.col-flex{display: flex; flex-direction: row; flex-wrap: wrap;}
.colpad{padding:1%;}
.col-1-6 { width: 16%; box-sizing:border-box;}
.col-1-5 { width: 20%; box-sizing:border-box;}
.col-1-4 { width: 24%; box-sizing:border-box;}
.col-1-3 { width: 33%; box-sizing:border-box;}
.col-1-2 { width: 49%; box-sizing:border-box;}
.col-2-3 { width: 65%; box-sizing:border-box;}
.col-3-4 { width: 75%; box-sizing:border-box;}


.home_buttons{background:url(/siteart/extra_clean_paper.png) repeat;}
.grid{display: flex; flex-wrap: wrap; text-align: center; margin-top: -150px;}
.grid figure{position: relative; height: 300px; width: calc(25% - 48px); margin: 24px; background: #000; overflow: hidden; cursor: pointer; clip-path: polygon(50% 10%, 100% 30%, 100% 70%, 50% 90%, 0% 70%, 0% 30%);}

.grid figure .grid-img{position: absolute; width: 100%; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 99;}
.grid figure .grid-img img{display: block; position: relative; width: 100%; margin: auto;}

.grid figure figcaption{display: flex; align-items: center; justify-content: center; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.6); font-size: 20px; transition: all .5s ease; z-index: 999;}
.grid figure figcaption h2{margin-bottom: 5px; font-size: 30px; font-weight: 300; line-height: 1; letter-spacing: 1px; color: #fff;}
.grid figure figcaption p{font-size: 75%; letter-spacing: 1px; color: #fff;}
.grid figure:hover figcaption{opacity: 0; visibility: hidden;}

.grid figure.effect img{bottom: 0; transition: all .5s ease;}
.grid figure.effect:hover .grid-img{visibility: hidden;}
.grid figure.effect:hover .grid-img img{opacity: 0; transform: translate3d(0,0,0); bottom: 300px;}

.scrolling_bg{background-color: #545e5d; padding: 3% 0;}
.scrolling_wrap{width:100%; height: 92px; overflow: hidden;}
iframe.scrolling{width:100%;}

.job_wrap {
    padding: 1%;
    background: #fff;
    box-shadow: 1px 1px 5px 1px #B8B8B8;
    margin: 2% .5%;
}
ul.emp-list {
    margin: 0 3%;
    padding: 0;
}
ul.emp-list li {
    padding: 2px 0;
}


/*===================== 
	Form styles 
=======================*/
form.consign {
	width: 100%;
	box-sizing: border-box;
	color: #000;
  }
  form.consign select {
	width: 100%;
	padding: 9px 10px;
	box-sizing: border-box;
	display: inline-block;
  }
  form.consign input, form.consign textarea {
	width: 100%;
	padding: 9px 10px;
	box-sizing: border-box;
	display: inline-block;
	font-family: inherit;
  }
  form.consign textarea {
	height: 100px;
  }
  form.consign input.consignButton {
	width: 50%;
	display: block;
	margin: 30px auto 20px auto;
	background: #e21d38;
	font-size: 21px;
	font-weight: bold;
	color: #fff;
	border: none;
	transition:.2s ease-in;	
  }
  form.consign input.consignButton:hover {
	cursor: pointer;
	background: #000;
	color:#fff;
  }
  form.consign input::-webkit-input-placeholder, form.consign textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #000;
  }
  form.consign input::-moz-placeholder, form.consign textarea::-moz-input-placeholder { /* Firefox 19+ */
	color: #000;
  }
  form.consign input:-ms-input-placeholder, form.consign textarea::-mx-input-placeholder { /* IE 10+ */
	color: #000;
  }
  form.consign input:-moz-placeholder, form.consign textarea:-moz-placeholder { /* Firefox 18- */
	color: #000;
	opacity: 1;
  }
  form.consign input::placeholder, form.consign textarea::placeholder {
	color: #000;
	opacity: 1;
  }
  form.consign div.col-1-2 {
	width: 49%;
	box-sizing: border-box;
	float: left;
	padding: 1%;
  }
  form.consign div.col-1-4 {
	width: 24%;
	box-sizing: border-box;
	float: left;
	padding: 1%;
  }
  form.consign div.col-1 {
	width: 96%;
	padding: 1%;
  }

  /*===================== 
	Inventory styles 
=======================*/

.body-content .body-wrapper {padding:2% 0;}

/*----View Details Button----*/
.view-listing-details-link {background:#e21d38 !important; color: #fff !important;}
.view-listing-details-link:hover {background:#000 !important; color: #fff !important;}

/*----Price----*/
.listing-main-stats .price {color:#000 !important;}

/*------- Faceted Search------*/
.faceted-search-content .selected-facets-container .selected-facet{background: #e21d38 !important; color:#fff !important;}

/* ---- Parts ----- */
.parts-listing-container .parts-button{background: #e21d38 !important; color:#fff !important;}
.parts-listing-container .parts-button:hover{background:#000 !important; color:#fff !important}
	
#part-detail-content .part-detail-additional-data .data-row .data-label{background:#000 !important; color:#fff !important;}

/*------------------------------Compare Page---------------------------------*/
.cs-btns a{
	background:#000 !important; color:#fff !important;
}
.cs-btns a:hover{
	background:#e21d38 !important; color:#fff !important;
}


/*===================== 
	footer styles 
=======================*/

footer {
	margin: 0;
	width: 100%;
	background:#1e1e1e;
	display: flex;
	box-sizing: border-box;
	padding:1.5% 4%;
	}
.footer-flex{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.flex-right{
	justify-content: flex-end;
}
ul.foot-nav{
	margin: 30px 0 0 0;
	padding: 0;
}
ul.foot-nav li{
	padding:3px 0;
	margin: 0;
	list-style-type: none;
}
ul.foot-nav li a{
	color:#fff;
	font-size: 18px;
	text-decoration: none;
}
ul.foot-nav li a:hover{
	text-decoration: underline;
}

.foot-logo{width:300px;}

/*========================== 
	  Responsive styles 
============================*/
@media screen and (max-width: 1400px)  {
	.grid figure{height: 230px;}
	.grid figure figcaption h2{font-size: 24px;}
}
@media screen and (max-width: 1200px)  {
	.grid{margin-top: 0;}
	.grid figure {
		width: calc(50% - 120px);
		margin: 0px 60px;
	}
	
	.footer-flex .col-1-4{width:40%;}
	.map_wrap{
		background: #e21d38;
		width: 100%;
		height: auto;
		margin: 0;
	}
	.map_wrap iframe{
		position: relative;
		margin: 0 0 0 0;
		box-shadow: none;
	}
}
@media screen and (max-width: 930px)  {
	nav.primary ul li a {font-size:14px;}	
}

@media screen and (max-width: 760px)  {
	.grid{flex-direction: column;}
	.grid figure {
		width: 80%;
		margin: 0px auto}
	.grid figure{height: 260px;}

	header {flex-direction: column;}
	img.main-logo{width: 60%; margin: auto; display: block;}
	.rt-head{padding: 0;}
	.rt-head a{
	   text-align: center;
	   font-size: 21px;
   }
   .col-1-2 {width: 100%;}

   .txt_wrap{background: url(/siteart/extra_clean_paper.png) repeat;}
   footer {
	display: flex;
	flex-direction: column;
	}
	.footer-flex{justify-content: center;}
	.footer-flex .col-1-4{width:50%; }
	ul.foot-nav,.footer-flex .col-1-4 p{
		text-align: center;
	}
	img.foot-logo{display: block; width:60%; margin: auto;}

	form.consign div.col-1-2 {
		width:98%;
		float: none;
	  }
	/*==============================
		Mobile Nav Styles			
	================================*/	
	nav.primary{display:none;}
	#menu-button{ 
		width: 100%;
		display: block;
		font-size: 24px;
		position: relative;
		line-height:60px; 
		z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
		background: #e21d38;
		}
		#menu-button a{
			 color:#fff;
			 text-decoration: none;
			 padding:0 0 0 .8em; 
			 font-weight:normal;
		  }
	nav.mobile {
		display:block;
		position: fixed;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100%;
		background: #333;
		z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
		overflow:auto;
	}
	/* MENU HEADER SOCIAL MEDIA */
		nav.mobile .social-media {
			position: relative;
			text-decoration: none;
			display: inline-block;
			font-size:16px;
			word-spacing:13px;
			padding:0 0 0 15px;
			color: #ccc !important;
		}

		nav.mobile .social-media a:link, nav.mobile .social-media a:visited {color:#ccc; text-decoration:none;}
		nav.mobile .social-media a:hover, nav.mobile .social-media a:active {color:#fff; text-decoration:underline;}

	/* MENU HEADER STYLES */
	nav.mobile .mobile_top {
		position: relative;
		display:block;
		padding: 0;
		margin:15px 0 10px 0;
		color: #999;
		font-size: 18px;
		font-weight: 400;
	}

	/* MENU CLOSE 'X' BUTTON */
	nav.mobile .menu-toggle {
		position: absolute;
		padding: 3px 8px 3px;
		font-family: Arial, sans-serif;
		font-size:24px;
		font-weight: bold;
		line-height: 1;
		background: #222;
		color: #999;
		text-decoration: none;
		top:-4px;
		right:13px;
	}
	nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
		color: #fff;
	}

	/* MENU LIST STYLE */
	nav.mobile ul {
		list-style: none;
		font-weight: 300;
		margin:0;
		padding:0;
	}
	nav.mobile ul li {
		border-top: 1px solid #454545;
		border-bottom: 1px solid #151515;
		position:relative;
	}

	/* FIRST LEVEL */
	nav.mobile ul li a {
		position: relative;
		display: block;
		font-size:15px;
		padding: 10px;
		color: #999;
		text-decoration: none;
		border-left:4px #333 solid;
		text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	}
	nav.mobile ul li a:hover {
		background:rgba(45,45,45,0.5); 
		color: #fff; 
		border-left:4px #C8102E solid; /* border highlight - Change to fit match site colors */
	}

	/* SECOND LEVEL */
	nav.mobile ul li li:last-child {border:none;}
	nav.mobile ul li li a {
		background: #444;
		position: relative;
		display: block;
		padding: 10px 10px 10px 15px;
		border-left:4px #444 solid;
		color: #ccc;
		text-decoration: none;
	}
	nav.mobile ul li li a:hover {background:rgba(65,65,65,0.5);}

	/* THIRD LEVEL */
	nav.mobile ul li li li:last-child {border:none;}
	nav.mobile ul li li li a {
		background: #555;
		position: relative;
		display: block;
		padding: 10px 10px 10px 25px;
		color: #ccc;
		text-decoration: none;
		border-left:4px #555 solid;
	}
	nav.mobile ul li li li a:hover {background:rgba(85,85,85,0.5);}

	nav.mobile ul li .click{/* dropdown menu idicator arrow be sure to include this image with your image files */ 
		position:absolute;
		display:block;
		cursor:pointer;
		z-index: 12399994;
		top:0;
		right:0;
		width:auto;
		height:auto;
		padding: 17px 20px;
		color:#fff;

	}
	.nav-footer {color:#1B1B1B; position:relative; text-align:center; font-size:14px; line-height:16px; padding:15px 0;}

	/* FONT AWESOME ICONS */
	nav.mobile ul li a i{
		width:25px;
		padding:8px 3px;
		margin:0 6px 0 0;
		text-align:center;
		background:#292929;
		-webkit-border-radius: 30px;
		-moz-border-radius: 30px;
		border-radius: 30px;
		text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	}


	nav.mobile ul li .fa-chevron-down {color:#999;}
}
	
