body {
	margin: 0;
}
#ui {
	padding: 20px;
	padding-top: 70px;
}

* {
	box-sizing: border-box;
	line-height: 1;
	-webkit-margin-collapse: separate;
	margin-collapse: separate;
}

#view-wrapper {
	font-size: 0;
}

#editor-wrapper {
	display: inline-block;
	vertical-align: top;
}

#editor-3d-wrapper {
	background-color: #f0f3f7;

	border: 1px solid #d9e1ea;
}

#previews-wrapper {
	vertical-align: top;

	display: inline-block;
}

#previews-wrapper iframe {
	display: inline-block;
	outline: none;
	border: none;
}

#controls-wrapper > * {
	vertical-align: middle;
}

.notes {
	font-size: 12px;
	margin: 5px;
	line-height: 1.4em;
}

#editor-3d-controls {
	padding: 15px;
	padding-bottom: 0;
}

#editor-3d-controls :last-child {
	margin-bottom: 0;
}

fieldset {
	padding: 15px;
}

button {
	cursor: pointer;
	box-sizing: border-box;

	font-family: mundial, sans-serif;

	margin: 5px;

	line-height: 1;
	font-size: 16px;

	min-width: 100px;

	border-radius: 62px;
	border: 2px solid #1d2027;

	padding: 10px 16px;
	background-color: #1d2027;
	color: #fff;

	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

button:hover {
	background-color: transparent;
	color: #1d2027;
}
button.active {
	background-color: #0037fc;
	border-color: #0037fc;
}
button.active:hover {
	background-color: transparent;
	color: #0037fc;
}

button span i {
	margin-right: 5px;
}

hr {
	border: none;
	border-top: 1px solid #d9e1ea;
	margin: 5px 0;
}

fieldset label {
	display: block;

	margin: 5px;

	font-size: 16px;
	font-family: mundial, sans-serif;
}
fieldset .checkbox-label input {
	margin: 0;
	margin-right: 5px;
}

fieldset {
	margin: 0;
	border: none;
	outline: none;
	display: flex;
	flex-flow: column;
	align-items: flex-start;
}

fieldset + fieldset {
	border-top: 1px solid #d9e1ea;
}

fieldset :last-child {
	margin-bottom: 0;
}

textarea,
input[type="number"] {
	margin: 5px;

	padding: 10px 15px;

	border: 1px solid #1d2027;
	border-radius: 4px;

	outline: none;

	resize: none;

	font-size: 16px;
	font-family: "mundial", sans-serif;
}

textarea {
	align-self: stretch;
}

textarea:focus,
input[type="number"]:focus {
	border-color: #0037fc;
	outline: 1px solid #0037fc;
}

#import-export button {
	display: block;
}

#import-export {
	border-top: 1px solid #d9e1ea;
	margin-top: 20px;
}
