/* body:before will also work
 as will body:after */
:root:before {
  content: url('../images/garage-on.svg')
           url('../images/garage-off.svg');
  /* partial fallback */
  background-image: url('../images/garage-off.svg');
  background-image: url('../images/garage-on.svg');
  visibility: hidden;
  position: absolute;
  left: -999em;
}

#pagewidth{ }
 
/* ******************************************************************** */ 
/* Clearfix: http://csscreator.com/attributes/containedfloat.php    */
/* ******************************************************************** */
.clearfix:after {
 content: "."; 
 display: block; 
 height: 0; 
 clear: both; 
 visibility: hidden;
 }
 
.clearfix{display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix{height: 1%;}
.clearfix{display: block;}
/* End hide from IE-mac */ 


html, body { 
	margin: 0 0 0 0; 
	padding: 0 0 0 0; 
	/*	font-family: "OpenSans";*/
	font-family: "Open Sans";
	font-size: 1.0em;
	line-height: normal;
	background: #ffffff;
	color: #000000;
	box-sizing: border-box;
	-webkit-appearance: none; /* remove default appearance on Webkit-based browsers */
      -moz-appearance: none; /* remove default appearance on Mozilla-based browsers */
      appearance: none; /* remove default appearance on all other browsers */
 } 

a:link {
	text-decoration: none;
	color: #0000BC;
}
a:visited {
	text-decoration: none;
	color: #0000BC;
}
a:hover {
	text-decoration: none;
	color: #0000BC;
}
a:active {
	text-decoration: none;
}

*, *:before, *:after {
		box-sizing: inherit;
}


/* COMPONENTS */

/* splash page */		
#mainbox_front {
	position: absolute;
	display: block;
	left: 0px;
	top: 100px;
	width: 100vw;
	height: auto;
	min-height: 100vh;
	margin: 0;
	z-index: 0;	
	background: #ffffff;
	background-image: url('images/front/bigchimp.jpg?ljk7s7'); 
	background-repeat: no-repeat; 
	background-position: center center; 
	background-size: cover;
}

#tagline {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: white;
	width: auto;
	text-align: right;
	margin: 0 40px 0 0;
	text-shadow: 0px 0px 6px #222222;
}

#tagline_mobile {
	display: none;
}		


/* basic site */
#mainbox {
	position: fixed;
	display: block;
	top: 100px;
	left: 0px;			
	width: 100vw;
	height: 100vh;
	min-height: 100vh;
	margin: 0;
	z-index: 0;	
	overflow-x: hidden;	
	overflow-y: scroll;
	background: #ffffff;
	/*	background-image: url('../images/bigchimp.svg?5hdty2');
		background-repeat: no-repeat;
		background-position: bottom center;
		background-size: 50vw auto;
		background-attachment: fixed; */
}

#searchnav {
	position: fixed;
	display: block;
	left: -240px;			
	top: 100px;
	width: 240px;
	height: 100vh;
	margin: 0;
	z-index: 4;	
	padding: 10px 10px 10px 30px;
	background: #ffffff;
	border-color: #222222;
	border-style: solid;
	overflow-x: hidden;	
	overflow-y: scroll;
	border-width: 0px 1px 0px 0px;
	box-shadow: 0 0 6px #bbbbbb;	

	animation-direction: normal;
	animation-fill-mode: forwards;
	animation-iteration-count: 1;
	animation-duration: .4s;
	/*	animation-timing-function: ease;*/
	animation-timing-function: cubic-bezier(1,.01,0,1.02);
}

#presets {
	display: block;
}

#photowall {
	width: 70vw;
	height: 100vh;
	overflow-x: hidden;
	overflow-y: scroll;	
	/* background: #d69292;*/
	background: #ffffff;
	float: left;
}

#photowall_mobile {
	display: none;
}

#infowall {
	position: absolute;
	right: 0px;
	min-width: 350px;
	width: 30vw;
	height: 100vh;
	/* background: #d1d1d1;*/
	background: #ffffff;
	/*	overflow-y: scroll;	*/
	float: right;
}

#map { 
	width: 360px; 
	height: 460px; 
	background-color: grey; 
	} 

#clickout {			
	position: fixed; 
	bottom: 60px; 
	z-index: 2; 
	margin: auto; 
	width: 100%; 
	height: 80vh; 
	/*	border: 2px solid red;*/
}

#register {		
	display: none;	
	position: absolute; 
	background: white;
	top: 120px; 
	z-index: 10; 
	margin: 0 30% 0 30%; 
	padding: 8px;
	width: 300px; 
	height: 300px; 
	border: 1px solid black;			
}

.footer {
	background: #62418b;
	bottom: 0px;
	color: #ffffff;
	font-size: 0.90em;
	height: auto;
	line-height: 180%;
	overflow: hidden;
	padding: 6px 0 6px 0;
	position: fixed;
	text-align: center;
	width: 100vw;
	z-index: 5; 
}
.footer a:link {
	text-decoration: none;
	color: #ffffff;
}
.footer a:visited {
	text-decoration: none;
	color: #ffffff;
}
.footer a:hover {
	text-decoration: none;
	color: #ffffff;
}
.footer a:active {
	text-decoration: none;
	color: #ffffff;
}

.footerbox a:link {
	text-decoration: none;
	color: #000000;
}
.footerbox a:visited {
	text-decoration: none;
	color: #000000;
}
.footerbox a:hover {
	text-decoration: none;
	color: #222222;
}
.footerbox a:active {
	text-decoration: none;
}

.feature {
	height: 70px;
	width: 140px;
	min-width: 140px;
	display: block;
	padding: 4px;	
	margin: 10px 30px 0 0;
	border-radius: 10px;		
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
	border-color: #444444;
	border-style: solid;
	border-width: 2px;
	background: #ffffff;
	overflow: hidden;
	text-align: center;
	font-size: 0.8em;
	box-shadow: 0px 0px 4px #bbbbbb;
	background: linear-gradient(0deg, #efefef, #ffffff 20%, #ffffff);
}

.embedbox {
	font-size: 0.5em;
	background: #ffffff;
	color: #ffffff;
	position : static;
}

.shrinkbox {
	height: 350px;
	overflow-y: scroll;
	width: 100%;
	padding: 10px;	
	border-radius: 10px;		
	border-color: #444444;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	background: #ffffff;
	box-shadow: 0px 0px 6px #bbbbbb inset;
}

.searchpanel {
	position: static;
	/*	display: none;*/
	z-index: 4;
	height: auto;
	width: 92%;
	padding-left: 6px;
}


.toplogo {
	display: inline-block;
	height: 90px;
	width: 90px;
	/*	margin: auto; */
}

.chimp {
	animation-name: bubbleUp;
	animation-direction: normal;
	animation-fill-mode: forwards;
	animation-iteration-count: 1;
	animation-duration: .4s;
	/*	animation-timing-function: ease;*/
	animation-timing-function: cubic-bezier(1,.01,0,1.02);
}

.topnav {
	position: static; 
	height: 100px; 		
	width: 100vw; 
	top: 0px; 
	left: 0px; 
	z-index: 5; 
	padding: 0px;
	/*	box-shadow: 2px 0 4px #444444;*/
	color: #000000;
	border-color: #000000;
	border-width: 0 0 2px 0;
	border-style: solid;
	background: #ffffff;
	font-size: 0.90em;
	background: linear-gradient(0deg, #efefef, #ffffff 20%, #ffffff);
}
.topnav a:link {
	text-decoration: none;
	color: #000000;
}
.topnav a:visited {
	text-decoration: none;
	color: #000000;
}
.topnav a:hover {
	text-decoration: none;
	color: #444444;
}
.topnav a:active {
	text-decoration: none;
}

.topnav_mobile {
	display: none;
}

.searchopt {
	height: 30px;
	width: 90%;
	font-weight: bold;
	font-size: 1.0em;
	display: block;
	padding: 4px 10px 0px 10px;	
	margin: 8px 4px 8px 2px;
	border-radius: 20px;		
	border-color: #000000;
	border-style: solid;
	border-width: 2px;			
	/*	background: #62418b;*/
	background: linear-gradient(0deg, #62418b, #62418b 70%, #73529c);
	color: #ffffff;
	box-shadow: 0px 0px 4px #bbbbbb;
}
.searchopt a:link {
	text-decoration: none;
	color: #ffffff;
}
.searchopt a:visited {
	text-decoration: none;
	color: #ffffff;
}
.searchopt a:hover {
	text-decoration: none;
	color: #cccccc;
}
.searchopt a:active {
	text-decoration: none;
	color: #ffffff;
}

.searchNavOpt {
	height: auto;
	width: 92%;
	font-size: 1.0em;
	display: block;			
	color: #000000;
}
.searchNavOpt a:link {
	text-decoration: none;
	color: #ffffff;
}
.searchNavOpt a:visited {
	text-decoration: none;
	color: #ffffff;
}
.searchNavOpt a:hover {
	text-decoration: none;
	color: #cccccc;
}
.searchNavOpt a:active {
	text-decoration: none;
	color: #ffffff;
}


/* FONTS */

@font-face {
	font-family: 'OpenSans';
	font-style: normal;
	font-weight: 300;
	src: url('../OpenSans-Regular.ttf');
}

/* STYLES */

.pagehd {		
	color: #000000;
	font-size: 1.5em;
	text-transform: capitalize;
	text-shadow: 0px 0px 3px #666666;
}

.subpagehd {		
	color: #000000;
	font-size: 1.2em;
	text-transform: capitalize;
}

.monodata {
	font-family: monospace;
	font-size: 1.1em;
	font-weight: bold;
}

.big {
	color: #000000;
	font-weight: bold;
	font-size: 1.5em;	
}

.sm {
	color: #000000;
	font-size: 0.8em;	
}

.btn {
	/* background: linear-gradient(0deg, lightgreen, #d3f8d3); */
	background: #62418b;
	color: #ffffff;
	border: #312045 1px solid;
	border-radius: 4px;
	padding: 4px;
	font-size: 0.9em;
	box-shadow: 0px 0px 4px #bbbbbb;
}
.btn a:link {
	text-decoration: none;
	color: #ffffff;
}
.btn a:visited {
	text-decoration: none;
	color: #ffffff;
}
.btn a:hover {
	text-decoration: none;
	color: #ffffff;
}
.btn a:active {
	text-decoration: none;
}

.btn_cmd {
	background: linear-gradient(0deg, skyblue, lightblue);			
	color: #000000;
	/*	border: #226622 1px solid;*/
	border-radius: 4px;
	padding: 4px;
	/* font-weight: bold;*/
	font-size: 0.8em;
}
.btn_cmd a:link {
	text-decoration: none;
	color: #000000;
}
.btn_cmd a:visited {
	text-decoration: none;
	color: #000000;
}
.btn_cmd a:hover {
	text-decoration: none;
	color: #444444;
}
.btn_cmd a:active {
	text-decoration: none;
}

.fieldbox {
	background: #ffffff;
	color: #000000;
	border: #222222 1px solid;
	border-radius: 4px;
	padding: 4px;
	font-size: 1.10em;
	box-shadow: 0px 0px 4px #bbbbbb inset;
}

.searchcrumb {
	font-size: 0.9em;
	font-style: italic;
	text-align: left;
	margin-left: 20px;
	padding: 10px;
	color: #444444;
	width: 100%;
}

.warning {
	background: lightyellow;
	color: #000000;
	border: #666666 1px solid;
	border-radius: 4px;
	padding: 6px;
	box-shadow: 0px 0px 2px #bbbbbb;
	margin: 8px;
}

.insidebox {
	background: #ffffff;
	color: #000000;
	border: #666666 1px solid;
	border-radius: 4px;
	padding: 10px;
	box-shadow: 0px 0px 2px #bbbbbb;
}

.insidebox_hd {
	color: #000000;
	font-weight: bold;
	font-size: 1.10em;
}

.photobox {
	color: #000000;
	border: #000000 1px solid;
	border-radius: 8px;
	margin: 10px; 
	padding: 0 0 0 0;
	width: 97%;
	overflow: hidden;
	box-shadow: 0px 0px 4px #bbbbbb;
}

.listingbox {
	/* background: #f1f1f1; */
	background: linear-gradient(0deg, #e0e0e0, #f1f1f1 20%, #f1f1f1);
	color: #000000;
	/*	border: #f1f1f1 10px solid;*/
	border: #666666 1px solid;
	border-radius: 0px;
	line-height: 22px;
	margin: 10px 20px 10px 15px; 
	width: 30vw; 
	height: 30vw; 
	min-width: 330px; 
	min-height: 400px; 
	overflow: hidden;
	box-shadow: 0px 0px 4px #bbbbbb;
	z-index: 2;
}

.listingprice {
	font-size: 1.90em;
	font-weight: bold;
}

.listingtitle {
	font-size: 1.20em;
	font-weight: bold;
}

.listingemp {
	font-size: 1.60em;
	font-weight: bold;
	color: #62418b;
}

.newUsedSelect_off {
	padding: 4px;
	background: linear-gradient(0deg, #efefef, #ffffff 20%, #ffffff);
	color: #000000;
	width: 70px;
	font-weight: bold;
	border: #312045 1px solid;
	border-radius: 4px;
	display: inline-block;
	text-align: center;
	margin-right: 2px;
}

.newUsedSelect_on {
	padding: 4px;
	background: linear-gradient(0deg, #62418b, #62418b 80%, #73529c);
	color: #ffffff;
	width: 70px;
	font-weight: bold;
	border: #312045 1px solid;
	border-radius: 4px;
	display: inline-block;
	text-align: center;
	margin-right: 2px;
}

/* ANIMATIONS */

.waiting {
	animation: rotation 2s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@keyframes rotation	{
	from 
	{	transform: rotate(0deg);}
	to 
	{	transform: rotate(359deg);}
}

@keyframes enterRightBounce
{
	0%{
		transform:translateX(0px);
	}
	80%{
		transform:translateX(240px);
	}
	100%{
		transform:translateX(220px);
	}
}

@keyframes exitLeft
{
	0%{
		transform:translateX(220px);
	}
	20%{
		transform:translateX(240px);
	}
	100%{
		transform:translateX(0px);
	}
}

@keyframes bubbleUp
{
	0%{
		transform:scale(80%, 80%);
	}
	80%{
		transform:scale(106%, 106%);
	}
	88%{
		transform:scale(95%, 95%);
	}
	95%{
		transform:scale(102%, 102%);
	}
	100%{
		transform:scale(100%, 100%);
	}
}


/* MEDIA QUERIES */

@media screen and (prefers-reduced-motion: reduce) { 
	* {
		/* Very short durations means JavaScript that relies on events still works */
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

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

	#mainbox {
		position: absolute;
		display: block;
		top: 70px;
		left: 0px;			
		width: 100vw;
		height: auto;
		min-height: 100vh;
		margin: 0;
		z-index: 0;	
		overflow-x: hidden;	
		overflow-y: scroll;
		background: #ffffff;
	}

	#mainbox_front {
		position: absolute;
		display: block;
		left: 0px;
		top: 70px;
		width: 100vw;
		height: auto;
		min-height: 100vh;
		margin: 0;
		z-index: 0;	
		background: #ffffff;
		background-image: url('images/front/bigchimp.jpg?lj7s7'); 
		background-repeat: no-repeat; 
		background-position: center center; 
		background-size: cover;
	}

	#tagline {
		display: none;
	}		

	#tagline_mobile {
		font-family: Arial, Helvetica, sans-serif;
		font-weight: bold;
		text-align: right;
		color: white;
		width: 70vw;
		height: auto;		
		text-shadow: 0px 0px 6px #222222;
		display: block;
	}		

	#register {		
		display: none;	
		background: white;
		position: absolute; 
		top: 80px; 
		z-index: 5; 
		margin-left: 20px; 
		width: 280px; 
		height: 300px; 
		padding: 8px;
		border: 1px solid black;			
	}

	.searchopt {
		height: 26px;
		width: 90%;
		font-weight: bold;
		font-size: 0.8em;
		display: block;
		padding: 2px 6px 0px 6px;	
		margin: 4px 2px 6px 2px;
		border-radius: 20px;		
		border-color: #000000;
		border-style: solid;
		border-width: 2px;			
		background: linear-gradient(0deg, #62418b, #62418b 70%, #73529c);
		color: #ffffff;
		box-shadow: 0px 0px 4px #bbbbbb;
	}

	#searchnav {
		position: fixed;
		left: -240px;
		top: 70px;
		width: 240px;
		height: 100vh;
		margin: 0;
		z-index: 4;	
		padding: 10px 0px 10px 20px;
		background: #ffffff;
		/*	border-radius: 0px 10px 10px 0px;	*/
		border-color: #222222;
		border-style: solid;
		overflow-x: hidden;	
		overflow-y: scroll;
		border-width: 0px 1px 0px 0px;
		box-shadow: 0 0 6px #bbbbbb;	

		animation-direction: normal;
		animation-fill-mode: forwards;
		animation-iteration-count: 1;
		animation-duration: .4s;
		/*	animation-timing-function: ease;*/
		animation-timing-function: cubic-bezier(1,.01,0,1.02);
	}

	#presets {
		display: block;
	}

	.topnav {
		display: none;
	}

	.topnav_mobile {
		display: block;
		position: fixed; 
		height: 70px; 		
		width: 100vw; 
		top: 0px; 
		left: 0px; 
		z-index: 5; 
		padding: 0px;
		/*	box-shadow: 2px 0 4px #444444;*/
		color: #000000;
		border-color: #000000;
		border-width: 0 0 2px 0;
		border-style: solid;
		background: #ffffff;
		font-size: 0.90em;
	}
	.topnav_mobile a:link {
		text-decoration: none;
		color: #000000;
	}
	.topnav_mobile a:visited {
		text-decoration: none;
		color: #000000;
	}
	.topnav_mobile a:hover {
		text-decoration: none;
		color: #444444;
	}
	.topnav_mobile a:active {
		text-decoration: none;
	}

	#photowall {
		display: none;
	}

	#photowall_mobile {
		position: absolute;
		top: 0px;
		left: 0px;
		display: block;
		width: 100vw;
		/*	height: 200px;*/
		vertical-align: top;
		padding: 0px 0px 0px 0px;
		overflow-x: scroll;
		background: #ffffff;
		z-index: 1;
		border: #000000 1px solid;
	}

	.photobox {
		display: block;
		color: #000000;
		border: #000000 1px solid;
		border-radius: 8px;
		margin: 6px 2px 8px 6px; 
		width: 320px;
		height: 160px;
		transition-property: width;
		background: linear-gradient(0deg, #efefef, #ffffff 20%, #ffffff);
	}

	#infowall {
		position: absolute;
		top: 150px;
		display: block;
		width: 100%;
		min-width: 350px;
		min-height: 100vh;
		height: auto;
		vertical-align: top;
		padding: 0px 10px 0px 10px;	
		z-index: 0;
		margin: auto;
	}

	.listingbox {
		background: #f1f1f1;
		color: #000000;
		/*	border: #f1f1f1 10px solid;*/
		border: #666666 1px solid;
		border-radius: 0px;
		line-height: 22px;
		margin: 10px 20px 10px 15px; 
		width: 30vw; 
		height: 30vw; 
		min-width: 330px; 
		min-height: 450px; 
		overflow: hidden;
		box-shadow: 0px 0px 4px #cccccc;
		font-size: 0.9em;
	}

	.listingprice {
		font-size: 1.75em;
		font-weight: bold;
	}

	.listingtitle {
		font-size: 1.3em;
		font-weight: bold;
	}

	.listingemp {
		font-size: 1.1em;
		font-weight: bold;
		color: #62418b;
	}			
}
