#screen{
	padding: 30px;
	width: 720px;
	height: 420px;
	margin: auto;
	background-color: #e2b98f;
	border: 5px solid #2d2727;
	position: relative;
}

#overlay{
	padding: 30px;
	width: 720px;
	height: 420px;
	margin: auto;
	background-color: rgba(0,0,0,0.5);
	position: absolute;		
	z-index: 5;
	display: none;
}

input {
	background-color: #f3e4bd;
	border-style: none;
	padding: 2px;
	width: 50px;
	text-align: center;
	float: right;
}
#button:hover, #load_buttons:hover{
	color: #f3e4bd !important;
}

#load{
	padding: 50px;
	width: 680px;
	height: 400px;
	left: 50%;
	margin-left:-395px;
	top: 50%;
	margin-top: -245px;
	background-color: #e2b98f;
	border: 5px solid #2d2727;
	position: absolute;
}
#load_buttons{
	width: 140px;
	height: 40px;
	color: #e2b98f;
	font-size: 20px;
	font-weight: bold;
	background-color: #2d2727;
	position: absolute;
	text-align: center;
	line-height: 40px;
	bottom: 180px;
	margin:-30px;
	cursor: pointer;
}

/* Toggle button for imperial/metric */
#toggler{
	position: absolute;
	top: -45px;
	right: -5px;
	background-color: #e2b98f;	
	padding: 5px;
	padding-right: 15px;
	width: 190px;
	height: 25px;
	border: 5px solid #2d2727;
}
#toggler p{
	color: #543e30;
	margin: 0px;
	padding: 0px;
	margin-left: 5px;
	margin-right: 5px; 
	top: 0px;
	line-height: 25px;
	font-weight: bold;
	float: right;
	clear: none !important;
}

.toggleCheckbox {
   display: none;
 }
 
.toggleContainer {
	float: right;
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	width: fit-content;
	border: 0px solid #F0E6C8;
	background: #543e30;
	font-weight: bold;
	cursor: pointer;
	line-height: 20px;
	padding: 1px;
	margin-right: 5px;
	margin-top: 5px; 
	width:40px; 
	height: 15px;
	border-radius: 15px; 
}

.toggleContainer::before {
	content: '';
	position: absolute;
	width: 25px;
	height: 25px;
	left: 0%;
	background: #F0E6C8;
	border-radius: 15px;
	margin-top: -5px;
}

.toggleContainer div {
	padding: 2px 6px 1px 6px;
	text-align: center;
	z-index: 1;
}

.toggleCheckbox:checked + .toggleContainer::before {
	left: 20px;
}

.toggleCheckbox:checked + .toggleContainer div:first-child{
	color:  #fff;
}	
.toggleCheckbox:checked + .toggleContainer div:last-child{
	color: #F0E6C8;
}
.toggleCheckbox + .toggleContainer div:first-child{
	color: #F0E6C8;
}
.toggleCheckbox + .toggleContainer div:last-child{
   color: #fff;
}

/* end of toggle button */