body, html {margin: 0; padding: 0; height: 100%;}
form {margin: 0; padding: 0;}
hr {margin: 0; height: 1px; border: none; background-color: #000000; color: #000000;}
a {outline: none;}
img {border: none;}

/*************    Header   ***********/
.header {
	height: 135px;
	width: 100%;
	padding-top: 1px; /* to prevent #logo_title margin from moving this div away from top   */
	margin: 0;
	background: #703434;
	background: -moz-linear-gradient(left,  #703434 0%, #9b4949 51%, #703434 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#703434), color-stop(51%,#9b4949), color-stop(100%,#703434));
	background: -webkit-linear-gradient(left,  #703434 0%,#9b4949 51%,#703434 100%);
	background: -o-linear-gradient(left,  #703434 0%,#9b4949 51%,#703434 100%);
	background: -ms-linear-gradient(left,  #703434 0%,#9b4949 51%,#703434 100%);
	background: linear-gradient(to right,  #703434 0%,#9b4949 51%,#703434 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#703434', endColorstr='#703434',GradientType=1 );
}
	@media screen and (max-width: 600px) {
		.header {height: 150px;}
	}

	#logo_title {
		margin: 25px 0 0 0;
		color: #FFFFFF;
		font-size: 32px;
		text-shadow: 1px 1px 1px #502A71;
		text-align: center;
		font-family: 'Rokkitt', serif;
		font-weight: 700;
	}
	#logo_subtitle {
		margin: 5px 0 0 0;
		color: #dcd4d4;
		font-size: 18px;
		text-shadow: 0 0 1px #765295;
		text-align: center;
		font-family: 'Rokkitt', serif;
		font-weight: 400;
	}
	#header_line {
		height: 6px;
		width: 100%;
		margin: 0;
		background-color: #522727;
		border-top: 1px solid #994848;
	}

/*************   Body  *********************/
.main {
	padding: 20px 0 10px 0;
	background: #f5f5f5; /* Old browsers */
	background: -moz-linear-gradient(top,  #f5f5f5 70%, #dadada 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(70%,#f5f5f5), color-stop(100%,#dadada)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f5f5f5 70%,#dadada 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f5f5f5 70%,#dadada 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f5f5f5 70%,#dadada 100%); /* IE10+ */
	background: linear-gradient(top,  #f5f5f5 70%,#dadada 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#dadada',GradientType=0 ); /* IE6-9 */
}
	
.menu {
	width: 160px; /* 175 - padding */
	padding: 1px 0 20px 15px;
	border: 1px solid #2d2d2d;
	border-left: none;
	-moz-border-radius: 0 40px 40px 0;
	-webkit-border-radius: 0 40px 40px 0;
	border-radius: 0 40px 40px 0;
	float: left;
	font-family: 'Rokkitt', serif;
	background: #474747; /* Old browsers */
	background: -moz-linear-gradient(top,  #474747 0%, #212121 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#474747), color-stop(100%,#212121)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #474747 0%,#212121 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #474747 0%,#212121 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #474747 0%,#212121 100%); /* IE10+ */
	background: linear-gradient(top,  #474747 0%,#212121 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#474747', endColorstr='#212121',GradientType=0 ); /* IE6-9 */
}
	@media screen and (max-width: 600px) {
		.menu{float: none; width: 100%; padding: 10px 0; border: none;}
	}
	.menu_section {
		font-size: 18px;
		font-weight: bold;
		margin: 9px 0 0 0;
		color: #ffffff;
	}
		@media screen and (max-width: 600px) {
			.menu_section {padding-left: 10px;}
		}
	.menu a {
		display: block;
		margin: 8px 0 0 0;
		padding: 0 10px;
		font-size: 16px;
		color: #e8e8e8;
	}
		@media screen and (max-width: 600px) {
			.menu a {padding-left: 20px; font-size: 18px;}
		}

.page {
	width: 810px; /* 850 - padding  */
	margin: 0 auto;
	padding: 20px;
	background-color: #FFFFFF;
	border: 1px solid #D5D5D5;
	-moz-border-radius: 40px 0 40px 0;
	-webkit-border-radius: 40px 0 40px 0;
	border-radius: 40px 0 40px 0;
	color: #2d2d2d;
	box-shadow: 0px 0px 3px #d1d1d1;
	-moz-box-shadow: 0px 0px 3px #d1d1d1;
	-webkit-box-shadow: 0px 0px 3px #d1d1d1;
	font-family: 'Rokkitt', serif;
}
	@media screen and (max-width: 600px) {
		.page{width: 100%; padding: 0; border: none;}
		.content {padding: 20px;}
	}


/** Sticky Footer  **/
.html {
	margin-bottom: -85px; /* -Match Footer Height */
	min-height: 100%;
	height: auto !important;
	height: 100%;
	background-color: #dadada;
}
#push_html {height: 85px; clear: both;} /* Match Footer Height */
.footer {
	height: 85px;	 /* Match HTML, Push_HTML Height; 75 + hr heights + */
	width: 100%;
	background-color: #ffffff;
}
	#footer_top_hr {
		height: 1px; 
		margin: 0 0 1px 0;
		background-color: #c2c2c2;
		color: #c2c2c2;
		border: none;
		box-shadow: 0px 1px 2px #999999;
		-moz-box-shadow: 0px 1px 2px #999999;
		-webkit-box-shadow: 0px 1px 2px #999999;
	}
	#footer_bottom_hr {
		height: 15px; 
		margin: 0;
		background-color: #DADADA;
		color: #DADADA;
		border: none;
		box-shadow: 0px -1px 2px #999999;
		-moz-box-shadow: 0px -1px 2px #999999;
		-webkit-box-shadow: 0px -1px 2px #999999;
	}
	#copyright {
		font-size: 12px;
		color: #646464;
		text-align: center;
		width: 300px;
		margin: 12px auto 10px auto;
		font-family: Arial, Helvetica, sans-serif;
	}
	#powered_by {
		margin: -9px auto 10px auto;
		width: 300px;
		color: #646464;
		text-align: center;
		font-size: 12px;
		font-family: Arial, Helvetica, sans-serif;
	}
	#powered_by a {
		color: #fcb317;
		position: relative;
		top: 3px;
		left: 2px;
		font-family: "Century Gothic", Arial, sans-serif;
		font-size: 24px;
		text-decoration: none;
	}
	#f {text-decoration: underline;}


/**************    Calculator   *******************/
.title {
	font-size: 28px;
	font-family: 'Rokkitt', serif;
	font-weight: 700;
}

.calculator td {padding: 5px;}
	.label {text-align: right;}
	.calculator input[type=number]::-webkit-outer-spin-button, .calculator input[type=number]::-webkit-inner-spin-button {-webkit-appearance: none; margin: 0;}
	.calculator input[type=number] {-moz-appearance:textfield;}
	
#submit_button {
	background-color: #703434;
	margin: 10px 0 0 20px;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 18px;
	border: none;
	border-radius: 10px 10px 10px 10px;
	padding: 5px 10px;
	cursor: pointer;
	text-shadow: 1px 1px 1px #271437;
	outline: none;
}

#results {
	float: right;
	margin: 30px 50px 0 0;
	font-size: 32px;
}
	@media screen and (max-width: 600px) {
		#results {float: none; margin: 0;}
	}

hr {border: none; height: 4px; color: #703434; background-color: #703434; margin: 20px 0;}

