body {
	margin: 0;
	overflow: hidden;
	font-family: Arial;
	user-select: none;
}

.app {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: row;
}

.left, .right {
	width: 50%;
	height: 100%;
	position: relative;
}

.left {
	border-right: 5px solid #000;
}

#edit, #draw {
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 600px) {

	.app {
		flex-direction: column;
	}

	.left, .right {
		width: 100%;
		height: 50%;
	}

	.left {
		border-bottom: 5px solid #000;
		border-right: none;
	}

}



@media screen 
    and (width: 393px) 
    and (height: 852px) 
    and (-webkit-device-pixel-ratio: 3) {

		.app {
			flex-direction: column;
		}
	
		.left, .right {
			width: 100%;
			height: 50%;
		}
	
		.left {
			border-bottom: 5px solid #000;
			border-right: none;
		}

	}

	@media (max-width: 959px) {

		
		.app {
			flex-direction: column;
		}
	
		.left, .right {
			width: 100% !important;
			height: 50% !important;
		}
	
		.left {
			border-bottom: 5px solid #000;
			border-right: none;
		}



	}



.bottom {
	position: absolute;
	left: 0;
	bottom: 15px;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.btn {
	border: 0;
	outline: 0;
	height: 40px;
	border-radius: 20px;
	font-size: 1em;
	padding: 0 20px;
	background: #008cba;
	color: #fff;
	margin: 0 5px;
	font-family: inherit;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.btn:active, .btn-active {
	background: #006586;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2) inset;
}

.btn-group {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 0 5px;
}

.btn-group .btn {
	margin: 0;
	border-radius: 0;
}

.btn-group .btn:first-child {
	border-top-left-radius: 25px;
	border-bottom-left-radius: 25px;
}

.btn-group .btn:last-child {
	border-top-right-radius: 25px;
	border-bottom-right-radius: 25px;
}

.bottom::-webkit-scrollbar {
	display: none;
}

.debug-text {
	position: absolute;
	top: 10px;
	left: 10px;
	color: red;
	font-family: monospace;
	font-size: 1em;
}

@media only screen and (max-width: 600px) {

	.bottom {
		//overflow-x: auto;
	}

}

.bottom-container {
	position: absolute;
	left: 50%;
	bottom: 70px;
	padding: 30px;
	background: rgba( 20, 20, 20, 0.95 );
	transform: translate( -50%, 0% );
	color: #fff;
	text-align: center;
}

.container-close {
	position: absolute;
	right: 10px;
	top: 10px;
	color: red;
	font-family: monospace;
	cursor: pointer;
}

.slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 4px;
	background: #fff;
	outline: none;
	opacity: 1;
	margin: 4px 0 14px 0;
}

.slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 15px;
	height: 15px;
	border-radius: 5px;
	background: #f00;
	cursor: pointer;
}

.inputs {
	position: absolute;
	bottom: 70px;
	left: 50%;
	transform: translate(-50%, 0);
	width: 200px;
	color: #fff;
}

.inputs > div {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.inputs2{
	position: absolute;
	bottom: 70px;
	left: 50%;
	transform: translate(-50%, 0);
	width: 200px;
	color: #fff;
	display: flex;
}

.btn2{
	border: 0;
	outline: 0;
	//height: 40px;
	font-size: 0.9em;
	background: rgba(0, 150, 200, 0.5);
	padding: 6px;
	border-radius: 4px;
	color: #fff;
	margin: 4px;
	font-family: inherit;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}
.btn2:hover{
	background: rgba(0, 150, 200, 0.75);
}

.feet-input, .inch-input, .size-input {
	width: 100%;
	margin-left: 10px;
	padding: 5px;
	border: 0;
	border-bottom: 2px solid #f00;
	background: transparent;
	color: #fff;
	outline: 0;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.size-input {
	width: 40%;
	margin: 0 0 12px 12px;
	padding: 5px;
	border: 0;
	border-bottom: 2px solid #f00;
	background: transparent;
	font-size: 1em;
	color: #fff;
	outline: 0;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.ratio-result {
	padding-top: 10px;
}