.image-preview {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	min-height: 200px;
}

.section .row label {
	line-height: 35px;
}

.section.step2 label {
	text-align: center;
	display: block;
	font-size: 1.6em;
}

.section.step3 label {
	font-size: 1.4em;
}

.section.step2 .row {
	position: relative;
}

.section.step2 .col-sm-6 {
	padding-bottom: 5px;
}

.section.step4 .info {
	position: absolute;
	left: 5px; bottom: 5px;
	display: inline-block;
	padding: 5px;
	background: rgba(255,255,255,0.8);
	z-index: 1;
}

.section .component, .section .object {
	display: inline-block;
	position: relative;
}

.section .component .name {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	font-size: 0.9em;
	background: rgba(255,255,255,0.65);
	padding-left: 5px;
	padding-right: 5px;
	text-align: center;
	display: none;
	overflow-x: hidden;
	white-space: normal;
}

.section .component:hover .name {
	display: none;
}

.section .data-container, .section.step4 .preview-data {
	white-space: nowrap;
	overflow-x: auto;
}

.section .preview-data .object {
	opacity: 0;
}

.section .preview-data .object.show-data {
	opacity: 1;
}

.section .preview-data .object .facade {
	opacity: 0;
}

.section .preview-data .object.show-facade-image .facade {
	opacity: 1;
}


.section.step4 .preview {
	position: relative;
	border: 1px solid #777;
	background: #ccc;
	border-radius: 5px;
	height: 300px;
}

.section .preview-data button.remove {
	border: none;
	background: #f00;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	width: 30px;
	height: 30px;
	font-size: 15px;
	line-height: 15px;
	border-radius: 50%;
	top: 10px;
	display: none;
}

.section .preview-data .object:hover button.remove {
	display: inline-block;
}

.section .preview-data .object:hover .facade {
	opacity: 0.65;
}

.section .facade {
	background-position: 0 0;
	background-size: 100% 100%;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

.section textarea {
	resize: vertical;
}

.add-anim-object {
	background-position: 0 0;
	background-size: 100% 100%;
	position: fixed;
	pointer-events: none;
}