* {
	box-sizing: border-box;
}
label {
	float:left;
	display:block;
	text-align: right;
	width: 150px;
	padding-right:2em;
}
input, textarea {
	display:block;
	margin-bottom: 20px;
}
input[type="submit"] {
	margin-left: 135px;
}
table {
	border: 1.5px solid #006600;
	border-collapse: collapse;
}
td, th {
	padding: 0.5em;
	border: 1px solid #006600;
}
tr:nth-of-type(odd) {
	background-color: #ECF9EC;
}
body {
	background-color: #FFFFFF;
	color: #666666;
	font-family: Arial, Helvetica, sans-serif;
}
header {
	background-color: #00B386;
	background-repeat: no-repeat;
	background-position: right;
	height: auto;
}
header h1 {
	color: #FFFFFF;
	height: 175px;
	width:auto;
	text-align: center;
	padding-top: 30px;
	margin-left:190px;
}
nav {
	font-size: 120%;
	float: left;
	padding: 1.5em;
	width: 160px;
}
nav ul {
	margin: 0px;
	padding-left: 0px;
	list-style-type: none;
	list-style-image: none;
	font-size: 1.2em;
}
nav a {
	text-decoration:none;
	transition: color 3s ease-out, text-shadow 3s ease-out;
}
nav a:link {
	color: #00664D;
	text-shadow: 2px 2px 3px #CB6E6A;
}
nav a:visited {
	color: #7A7A52;
	text-shadow: 1px 1px 8px #110000;
}
nav a:hover {
	color: #FFFFFF;
	text-shadow: 2px 2px 2px #AA6666;
}
main {
	padding-bottom: 20px;
	padding-left: 30px;
	padding-right: 20px;
	padding-top: 1px;
	margin-left: 190px;
	background-color: #FFFFFF;
	display: block;
}
a {
	text-decoration: none;
}
h1 {
	margin-top: 0;
	margin-bottom: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 3em;
	letter-spacing: 0.1em;
}
h2 {
	color: #00664D;
	font-family: Georgia, "Times New Roman", serif;
}
h3 {
	color: #006646; /*color assignment done match image of board page, not actually mentioned in document*/
	font-family: Georgia, "Times New Roman", serif;
}
dt {
	color: #00664D;
}
ul {
	list-style-image: url("marker.gif");
}
footer {
	font-style: italic;
	font-size: 75%;
	text-align: center;
	font-family: Georgia, "Times New Roman", serif;
	padding: 15px;
	margin-left: 190px;
	background-color: #FFFFFF;
	float: none;
}
.barn {
	color: #70DBDB;
	font-weight: bold;
}
#logo {
	display:flex;
	width: 190px;
	height: 175px;
	float: left;
	background-color: #66BBAA;
}
#logo img {
	width: 100%;
	height: 70%;
	align-self:center;
}
#gallery {
	position:relative;
	height:200px;
}
#gallery ul {
	list-style-type:none;
	width:300px;
}
#gallery ul li {
	display:inline;
	float:left;
	padding:10px;
}
#gallery img {
	border:none;
}
#gallery a {
	text-decoration:none;
	font-style: italic;
	color:#000000;
}
#gallery a span {
	position:absolute;
	top: 15px;
	left:320px;
	/*text-align:center;
	left: -1000px;*/
	opacity: 0;
	transition: opacity 3s ease-in-out;
}
#gallery a:hover span {
	position:absolute;
	top: 15px;
	left:320px;
	/*text-align:center;*/
	opacity:1;
}
#gallery figure {
	position:absolute;
	left:280px;
	opacity:.25;
}
#contact {
	font-size: 90%;
}
#wrapper {
	background-color: #0C5442;
	margin: auto;
	width: 80%;
	min-width: 900px;
	max-width: 2050px;
	box-shadow: 4px 4px 4px #133926;
	background-image: linear-gradient(#FFFFFF,#0C5442);
	border-style: solid;
	border-color: #003300;
	border-width: 1.5pt;
}
#heroHome {
	border:4px solid #E1E111;
	border-top:none;
	margin-top:-1px;
	height: 300px;
	width: 650px;
	background-size: 100% 100%;
	background-image: url(sunsetHorse.png);
	background-repeat: no-repeat;
}
#heroBoard {
	border:4px solid #E1E111;
	border-top:none;
	margin-top:-1px;
	height: 300px;
	width: 650px;
	background-size: 100% 100%;
	background-image: url(fenceline.png);
	background-repeat: no-repeat;
}
#heroTraining {
	border:4px solid #E1E111;
	border-top:none;
	margin-top:-1px;
	height: 300px;
	width: 650px;
	background-size: 100% 100%;
	background-image: url(BayBella.png);
	background-repeat: no-repeat;
}

@media only screen and (max-width: 60em) {
	body {
		margin: 0;
		background-color: #FFFFFF;
	}
	header {
		padding-top: 0.5em;
		padding-bottom: 0.5em;
		padding-left: 0;
		height: auto;
	}
	header h1 {
		align-self:center;
		padding-top:0px;
		margin-left:0px;
		width:500px;
		margin:auto;
	}
	h1 {
		letter-spacing: 0.1em;
	}
	main {
		margin-left: 0;
	}
	nav {
		float: none;
		width: auto;
		padding: 0.5em;
		text-align: center;
	}
	nav li {
		display: inline;
		padding-top: 0.25em;
		padding-bottom: 0.25em;
		padding-left: 0.75em;
		padding-bottom: 0.75em;
	}
	#logo {
		display:none;
	}
	#wrapper {
		min-width: 0;
		width: auto;
		box-shadow: none;
		border: none;
	}
	#heroHome {
		margin-left: 0;
		height: 200px;
		width:450px;
	}
	#heroBoard {
		margin-left: 0;
		height: 200px;
		width:450px;
	}
	#heroTraining {
		margin-left: 0;
		height: 200px;
		width:450px;
	}
	footer {
		margin-left:0;
	}
}

@media only screen and (max-width: 37.53em) {
	main {
		padding-top: 0.1em;
		padding-bottom: 0.1em;
		padding-left: 1em;
		padding-right: 1em;
		font-size: 90%;
	}
	Label {
		float: none; 
		text-align: left;
	}
	header {
	}
	header h1 {
		width:300px;
		height:auto;
	}
	input[type="submit"] {
		margin-left: 0px;
	}
	h1 {
		font-size: 2em;
	}
	nav {
		padding: 0;
	}
	nav li {
		margin: 0;
		display: block;
		padding-top: 0.25em; /* not in the instructions, but necessary for the correct look */
		padding-bottom: 0.25em;
		border-style: none none solid;
		border-color: #330000;
		border-width: 2px;
	}
	nav a {
		display: block;
	}
	#logo {
		display:none;
	}
	#heroHome {
		display:none;
	}
	#heroTraining {
		display:none;
	}
	#heroBoard {
		display:none;
	}
	#mobile {
		display: inline;
	} 
	#desktop {
		display: none;
	}
	#gallery {
		display:none;
	}
}
  
		
		
					
	