html, body {
	height: 100%;
}
body {
	font-family: Arial, Verdana, Helvetica;
	margin: 0;
	padding: 0;
}

.car-constructor {
	width: 957px;
	margin: 0 auto;
}

#workSpace {
	margin: 10px 0 0;
	overflow: hidden;
	height: 382px;
	position: relative;
}

.images-loader-form {
	margin: 20px 0;
}
#lblGlobal, #bt, #getImages, #tmp1 {
	display: none;
}

#addLayerBtn {
	background: #fff;
	cursor: pointer;
	font-size: 1.8em;
	margin: 0 90% 0 0;
	padding: 5px 0;
	width: 10%;
}

#carType {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 50;
}

.layer-wrapper {
	position: absolute;
	background-size: 100% auto;
	display: inline-block;
}

.ui-resizable {
	position: relative;
}
.layer-wrapper.active .ui-rotatable-handle {
	z-index: 150;
}
.layer-wrapper.active .layer-draggable-handle {
	position: absolute;
	top: 2%;
	left: 2%;
	width: 96%;
	height: 96%;
	z-index: 100;
	cursor: move;
}

.layer-rotatable-handle {
	width: 10px;
	height: 10px;
	background: #0083df;
	border-radius: 10px;
	cursor: pointer;
	left: 50%;
	margin: 0 0 0 -5px;
	position: absolute;
	top: -5px;
	display: none;
	z-index: 150;
}
.layer-wrapper.active .layer-rotatable-handle {
	display: block;
	border-radius: 5px;
}

.layer-wrapper.active .ui-resizable-handle {
	width: 10px;
	height: 10px;
	border: 2px solid #fff;
	background: #0083df;
	box-shadow: 0 0 2px 1px #fff inset;
}

.ui-resizable-handle, .ui-rotatable-handle {
	display: none !important;
}

.layer-wrapper.active .ui-resizable-handle, .layer-wrapper.active .ui-rotatable-handle {
	display: block !important;
}

.ui-wrapper {
	overflow: visible !important;
}

.ui-rotatable-handle.clone {
	visibility: hidden;
}

/*
 * Layer ctrl list
 */
.layersCtrlListBox {
	overflow: hidden;
}
.instruction {
	float: left;
}
.instruction_2 {
	margin: 0 40px 40px 0;
}
#layersCtrlList {
	float: left;
	margin: 0;
}
.layer-ctrl-box {
	border: 1px solid #eee;
	padding: 3px;
	margin: 20px 29px;
	background: #fff;
	position: relative;
	float: left;
}

.layer-ctrl-box.active {
	border: 1px solid #9dbfd9;
}

.layer-ctrl-description {
	font-weight: bold;
	margin: 0 50px 0 0;
}

.layer-ctrl-remove-btn {
	position: absolute;
	right: -9px;
	top: -9px;
	width: 17px;
	height: 17px;
	background: url('../images/layer__btn_remove.png') no-repeat 0;
	display: block;
	cursor: pointer;
}

.layer-img {
	/*min-width: 100px;
	 height: auto;*/
}

.layerCtrlImgBox {
	width: 90px;
	height: 90px;
	overflow: hidden;
	display: table-cell;
	vertical-align: middle;
}
.layerCtrlImgBox img {
	width: 100%;
	height: auto;
}

.instructions__text {
	color: #737373;
	font-size: 1.1em;
	line-height: 1.333;
	overflow: hidden;
}

/*Color picker*/

#colorSelector {
	background: url("../images/colorPicker/select2.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
	cursor: default;
	height: 36px;
	width: 36px;
	position: relative;
	float: left;
	margin: 26px 0 0;
}
#colorSelector div {
	background: url("../images/colorPicker/select2.png") repeat scroll center center rgba(0, 0, 0, 0);
	height: 28px;
	left: 4px;
	position: relative;
	top: 4px;
	width: 28px;
}

.color-selector__title {
	float: left;
	margin: 35px 10px 0 0;
}

.car-types-box {
	float: right;
	position: relative;
}
.car-types__list {
	overflow: hidden;
}
.car-types__list:before {
	content: 'Тип кузова';
	position: absolute;
	top: 26px;
	left: -10px;
	display: block;
	width: 50px;
}
.car-types__item {
	float: left;
	width: 120px;
	list-style-type: none;
	margin: 0 0 0 10px;
}
.car-types__img {
	display: block;
	width: 100%;
	height: auto;
	border: 2px solid #fff;
}
.car-types__img.active {
	border: 2px solid #9dbfd9;
}
