body{
	background: #e8e4d5;
	height: 100%;
	margin: 0;
	font-size: 20px;
	font-family:arial;
}

html{
	height: 100%;
}

nav{
    background-color: #2c477e;
}

nav ul{
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
	text-align: center;
}

nav ul li{
	display: inline-block;
	border-left: 1px solid #e5e5e5;
	border-right: 1px solid #e5e5e5;
	margin-left: -1px;
	width: 16.67%;
	z-index: 1;
}

nav a{
	display: block;
	padding: 10px 0;
	color: white;
	text-decoration: none;
	cursor: pointer;
}

nav ul ul{
	display: none;
	position: absolute;
	width: 16.67%;
}

nav ul li:hover > ul{
	display: block;
}

nav ul ul li{
	width: 100%;
	float: none;
	display: list-item;
	position: relative;
	background-color: #2c477e;
	border-top: 1px solid #e5e5e5;
}

a:hover, .selected{
	background-color: #4061a1;
}

.content{
	max-width: 1000px;
	margin: 50px auto 25px auto;
	padding: 0 25px;
	line-height: 1.25em;
}

.content .calc{
	background-color: #4061a1;
	border: none;
	color: white;
	padding: 12px 32px;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	cursor: pointer;
	margin: 20px auto;
	display: block;
}

.content input, .content select{
	width: 60%;
	padding: 5px 10px;
	font-size: 1em;
	border-radius: 5px;
	border: 1px solid #0a1937;
	background-color: white;
	display: inline-block;
	box-sizing: border-box;
}

.content .input_label{
	margin: 10px auto;
	max-width: 600px;
	width: 100%;
	display: block;
}

.select_mobile{
	display: none !important;
}

.content .input_span{
	width: 20%;
	display: inline-block;
}

.output{
	margin: 0 auto;
	display: table;
}

.output table{
	margin: 10px auto;
	width: 100%;
	background-color: #bab49e;
	border-radius: 10px;
	padding: 10px;
}

.output table td, th{
	vertical-align: middle;
	padding: 2px 5px;
}

.output table button{
	border: none;
	padding: 0;
	cursor: pointer;
	background-color: inherit;
	background-size: 20px 20px;
	height: 20px;
	width: 20px;
	vertical-align: middle;
}

.output .close_button{
	background-image: url('../images/close.png');
	float: right;
}

.output .copy_button{
	background-image: url('../images/copy.png');	
	float: right;
	margin-left: 10px;
}

.output table label{
	cursor: pointer;
}

.cookie_privacy{
	display: none;
	box-sizing: border-box;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 10px 50px;
	width: 100%;
	text-align: center;
	background-color: #4061a1;
	color: white;
	border-top: 1px solid #bbb;
}

.cookie_privacy span{
	margin-right: 15px;
}

.cookie_privacy button{
	background-color: #bdb288;
	border: none;
	padding: 10px 32px;
	text-decoration: none;
	font-size: 16px;
	cursor: pointer;
	margin: 5px;
}

.cookie_privacy a{
	text-decoration: underline;
	cursor: pointer;
	margin: 5px;
}

@media only screen and (max-width: 800px){
	body{
		font-size: 1em;
	}
	.content{
		margin: 25px auto 25px auto;
		line-height: 1.5em;
	}
	nav ul li{
		width: 100%;
		border-left: none;
		border-right: none;
		border-top: 1px solid #e5e5e5;
		border-bottom: 1px solid #e5e5e5;
		margin: -1px 0 0 0;
	}
	nav ul ul{
		position: static;
		width: 100%;
	}
	nav ul ul li{
		border: none;
		border-top: 1px solid #e5e5e5;
	}
	.select_mobile{
		display: inline-block !important;
	}
	.select_desktop{
		display: none !important;
	}
	.content input, .content select{
		width: 70%;
	}
	.content .input_span{
		width: 30%;
	}
}
