body {font-family: Arial, Helvetica, sans-serif;}

/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
	display: table;
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 16px;
	border: 1px solid #888;
	border-radius: 10px;
	box-shadow: none;
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
	from {top:-300px; opacity:0} 
	to {top:0; opacity:1}
}

@keyframes animatetop {
	from {top:-300px; opacity:0}
	to {top:0; opacity:1}
}


.modal-header {
	padding: 2px 16px;
	
}

.modal-body {padding: 2px 16px;}

.modal-footer {
	padding: 2px 16px;
	background-color: #5cb85c;
	color: white;
}


/*
@media screen and (max-width: 1000px) {
	.modal-content {
		width: 80%;
	}
}
*/



.settingsGroup {
	padding-top: 8px;
}

.settingsGroupTitle {
	font-size: 1.17em;
	font-weight: bolder;
	padding-bottom: 4px;
}

#unitsTable .labelCell {
	width: 100px;
}

#unitsTable .selectCell {
	width: 150px;
}

.settingsButton {
	z-index: 1;
	padding: 7px 28px 7px 14px;
	cursor: pointer;
	border: 1px solid #999;
	border-radius: 3px;
	background-color: #fff;
	font-size: inherit;
	flex-grow: 1;
}

.settingsButton:hover {
	color: dimgray;
}

.settingsButton:active {
	background-color: #999;
	color: white;
}

#copyright {
	font-size: 0.05em;
	color: lightgray;
	text-align: center;
	width: 100%;
}