 {
	box-sizing: border-box;
}
html, body {
	width: 100%;
	height: 100%;
}
body {
	font-family: 'Roboto', sans-serif;
	background-color: #ccc;
	color: #444;
	margin: 0px;
	overflow: hidden;
	font-size: 14px;
}
h1, h2, h3 {
	margin-top: 0;
	margin-bottom: 0.5em;
}
#info {
	color: #fff;
	position: absolute;
	top: 0px;
	width: 100%;
	text-align: center;
	z-index: 100;
	display:block;
}
#info a, .button { color: #f00; font-weight: bold; text-decoration: underline; cursor: pointer }
#render {
	position: absolute;
	top: 0;
	width: 100%;
	width: calc(100% - 275px);
	height: 100%;
	height: calc(100% - 48px);
	margin-top: 48px;
}

#vehiclename {
	position: absolute;
	top: 10px;
	left: 450px;
	z-index: 10;
	margin: 0;
	color: rgba(0,0,0,0.3);
	font-size: 30px;
}

.box {
	background: #fff;
	box-shadow: 0 2px 3px rgba(0,0,0,0.2);
	padding: 10px;
}

.upload {
	position: absolute;
	width: 300px;
	right: 0;
	top: 0;
	height:100%;
	height: calc(100% - 48px);
	margin-top: 48px;
	z-index: 1;
	background-color: #f5f5f5;
	padding: 10px;
	overflow-y: auto;
	overflow-x: hidden;
}

.upload h2 {
	font-weight: 500;
	font-size: 18px;
	margin: 10px 0 5px 0;
}

#dragarea {
	border: 2px dashed #faa;
	color: #aaa;
	padding: 5px;
	margin: 10px 0;
	text-align: center;
	line-height: 5;
	background-color: #fff;
	font-size: 16px;
}

#dragarea.dragover {
	background-color: #ffd;
	border-color: #4a4;
}

.vehicleselect {
	background: #fff;
	box-shadow: 0 1px 8px rgba(0,0,0,0.3);
	position: absolute;
	bottom:0;
	width: 84%;
	z-index: ;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

#images > div {
	width: 98px;
	/* height: 64px; */
	cursor: pointer;
	border: 1px solid #aaa;
	box-shadow: 0 0 3px rgba(0,0,0,0.2);
	float: left;
	margin: 2px;
	transition: transform 100ms, boxShadow 100ms;
	background-color: #fff;
	position: relative;
}

#images > div:hover {
	border-color: #888;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

#images > div > img, #vehicles > div > img {
	max-width: 100%;
	max-height: 100%;
	display: block;
}

#images .close {
	position: absolute;
	top: 0;
	right: 0;
	background-color: #f00;
	color: #fff;
	font-size: 10px;
	width: 15px;
	height: 15px;
	text-align: center;
	border-radius: 2px;
}

#vehicles > .vh {
	width: auto;
	height: 55px;
	padding: 0px 0 0px 0px;
	cursor: pointer;
	display: inline-block;
	vertical-align: top;
	position: relative;
	background-color: #fff;
}

#vehicles > .vh:not(:first-child) {
	border-left-color: transparent;
	padding-left: 0px;
}

#vehicles > .vh:before {
	content: " ";
	border-top: 0px solid transparent;
	border-left: 0px solid #ddd;
	border-bottom: 0px solid transparent;
	width: 0;
	height: 0;
	position: absolute;
	top: 0;
	right: -0px;
	z-index: 1;
}


#vehicles > .vh:after {
	content: " ";
	border-top: 0px solid transparent;
	border-left: 0px solid #fff;
	border-bottom: 0px solid transparent;
	width: 0;
	height: 0;
	position: absolute;
	top: 1px;
	right: 0px;
	z-index: 1;
}

#vehicles > .vh.active {
	background-color: #eee;
}

#vehicles > .vh.active:after {
	border-left-color: #eee;
}



#vehicles > div > img {
	/* margin: 0 10px 0 0; */
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
}

#vehicles .name {
	display: block;
	font-weight: bold;
	overflow: hidden;
	transition: all 300ms ease 50ms;/*, margin 300ms ease 50ms;*/
	max-width: 0px;
	position: absolute;
	top: 2px;
	z-index: 2;
	vertical-align: middle;
	font-size: 17px;
	white-space: nowrap;
	color: #04fff3;
}

#vehicles > .vh:hover .name, #vehicles > .vh.active .name {
	max-width: 150px;
}

#vehicles > .vh.active .name {
	color: #e300ff;
}

/* #vehicles > .logo img { */
	/* min-height: 36px; */
	/* display: inline-block; */
	/* margin: 0; */
/* } */

#vehicles > .vh h1 {
	font-size: 0px;
	margin: 0 0px 0 0;
	font-weight: 0;
	line-height: 1.3;
	display: inline-block;
	vertical-align: middle;
}

#vehicles > .vh h1 > small {
	font-weight: normal;
	color: #888;
	display: block;
	font-size: 60%;
	text-align: right;
}

.clear {clear: both;}

.colors > div:first-child {
	margin-bottom: 5px;
}

.colors label {
	font-size: 12px;
	display: inline-block;
	text-transform: uppercase;
	font-weight: 500;
	width: 80px;
	vertical-align: middle;
}

.colors span {
	display: inline-block;
	vertical-align: middle;
	font-size: 12px;
}

.colors input {
	padding: 0;
	vertical-align: middle;
	width: 64px;
	height: 24px;
	background-color: transparent;
	border: 0 none;
	cursor: pointer;
}

.action {
	margin: 10px 0;
	text-align: center;
}

#helpbtn {
	position: absolute;
	left: 10px;
	font-size: 20px;
	font-weight: bold;
	line-height: 48px;
	width: 32px;
	text-align: center;
	cursor: pointer;
}

#help {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 500px;
	background-color: #fff;
	padding: 10px;
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
	max-height: 90%;
	overflow: auto;
	z-index: 10;
}

#help small {
	color: #888;
}

.r {
	text-align: right;
}
.c {
	text-align: center;
}

.browse {
	display: inline-block;
	position: relative;
}

.browse > input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.browse > input {
	visibility: hidden;
}