/* Style all */

html {
	font-size: 16px;
	font-family:"Times New Roman", Times, serif;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
	box-sizing: inherit;
	-moz-box-sizing: inherit;
	-webkit-box-sizing: inherit;
}
body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	display: block;
}
main {
	max-width: 1000px;
	margin: 6rem auto 6rem auto;
	background-color: whitesmoke;
	box-shadow: 0px 20px 16px 0px rgba(0,0,0,0.4);
}
footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 3rem;
	font-size: 0.7rem;
	padding: 0.25rem;
	text-align: center;
	background-color: whitesmoke;
	clear: both;
	box-shadow: inset 0px 5px 5px 0px rgba(0,0,0,0.4);
}
h1 {
	text-transform: uppercase;
	margin-top: 3rem;
}
h2 {
	margin-top: 4rem;
	text-transform: uppercase;
}
p {
	line-height: 1.5rem;
}
a:link {
	color: green;
	font-weight: bold;
	text-decoration: none;
}
a:visited {
	color: green;
}
.ruleDocument {
	width: 200px;
	height: 300px;
	display: inline-block;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-right: 20px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
}
.subMenu {
    border: 2px solid green;
    padding: 0.5rem;
    margin: 0 0.0 0.3rem 0;
    display: inline-block;
}
.subMenu:hover {
    background-color: #f1f1f1;
}

/* Style mobile */

@media screen and (max-width: 767px) {
	body {
		background-repeat: no-repeat;
		background-attachment: fixed;
		background-position: center top;
		background-image: url("images/BackgroundMobile.jpg");
		background-size: cover;
	}
	main {
		width: 100%;
		padding: 1rem;
	}
}

/* Style desktop */

@media screen and (min-width: 768px) {
	body {
		background-repeat: no-repeat;
		background-attachment: fixed;
		background-position: center top;
		background-image: url("images/BackgroundDesktop.jpg");
		background-size: cover;
	}
	main {
		width: 90%;
		padding: 4rem;
	}
	h3 {
		margin-left: 1rem;
	}
	li, dd {
		margin: 1rem;
	}
}

/* Convert below to HTML5 headaings and .rem */

.LogoBackground {
	height: 70px;
	width: 70px;
	background-color: #204D02;
	margin-right: 5px;
	margin-bottom: 5px;
	float: left;
}

.DropButton {
	font-size: 1rem;
	width: 150px;
	height: 70px;
	background-color: #204D02;
	color: white;
	border: none;
	cursor: pointer;
}
.DropDown {
	width: 150px;
	position: relative;
	display: inline-block;
	float: left;
}
.DropDownContent {
	display: none;
	text-align: center;
	position: absolute;
	background-color: #f9f9f9;
	width: 100%;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.DropDownContent a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}
.DropDownContent a:hover {
	background-color: #f1f1f1;
}
.DropDown:hover .DropDownContent {
	display: block;
}
