*{box-sizing: border-box;}

header, main, nav, footer, figure, figcaption, aside, section, article {display: block;}

body {color: #666666;
	font-family: Arial, Helvetica, sans-serif;
	/*background-image:url(sky.png);Add*/
	background-color: #432723;}
	
header {background-color: #652919;
	color: #FFFFFF;
	/*background-image: url(pasture.png);
	background-position:right;
	background-repeat: no-repeat;
	line-height: 400%;
	text-indent: 1em;}*/
	text-align: center;
	height: 175px;
	padding-top: 30px;
	padding-left: 3em;}
	
#wrapper {margin: auto;
			width:80%;
			background-color: #0C5442;
			min-width: 900px;
			max-width: 2050px;
			/*box-shadow: 4px 4px 4px #133926;*/
			background-image: linear-gradient(to bottom, #8D6654, #8D6654);
			border: 1.5px solid #170F0E;}
	
nav {/*background-color: #FFFFFF;
	text-align: center;*/
	font-weight: bold;
	padding: 1.5em;
	font-size: 120%;
	float: left;
	width: 160px;
	}
	
nav a {text-decoration: none;
	transition: color 3s ease-out;}

nav a:link {color: #CBB89C;}
nav a:visited {color: #CBB89C;}
nav a:hover {color: #FFFFFF;}
nav ul {list-style-type: none;
		margin: 0;
		padding-left: 0;
		font-size: 1.2em;}
	
main {background-color: #FFFFFF;
	padding: 1px 20px 20px 30px;
	margin-left: 190px;
	display: block;}

h1, h2, h3 {
font-family: Georgia, "Times New Roman", serif;}

main ul {list-style-image: url(marker.gif);}

footer{font-size: 75%;
		font-style: italic;
		font-family: Geogia, "Times New Roman", serif;
		text-align: center;
		padding: 15px;
		margin-left: 190px;
		background-color: #FFFFFF;
		clear: both;}

h1 {margin-bottom: 0;
	margin-top: 0;
	/*background-color: #00B386;*/
	color: #FFFFFF;
	margin-top: 0;
	letter-spacing: 0.25em;
	font-size: 3em;}	

h2{color: #652919;
	text-shadow: 1px 1px #CCCCCC;}
	
dt {color: #652919;}

.barn {color: #CBB89C;}

#heroHome {background-image: url(sunsetHorse.png);
			height: 300px;
			background-repeat: no-repeat;
			background-size: 100% 100%;
			margin-left: 190px;}

#heroBoard {background-image: url(fenceline.png);
			height: 300px;
			background-repeat: no-repeat;
			background-size: 100% 100%;
			margin-left: 190px;}

#heroTraining {background-image: url(BayBella.png);
			height: 300px;
			background-repeat: no-repeat;
			background-size: 100% 100%;
			margin-left: 190px;}
			
#contact {font-size: 90%;}
#mobile {display: none;}
#desktop {display: inline;}

table {border: 1px solid #003300;
	width: 80%;
	border-spacing: 0;
	border-collapse: collapse;}
	
td, th {padding: 5px;
	border: 1px solid #170F0E;}
	
td {text-align: center;}
	
tr:nth-of-type(odd) {background-color: #CBB89C;}

label {float: left; 
	display: block; 
	text-align: right;
	width: 125px;
	padding-right: 2em;}
input, textarea {display: block; 
	margin-bottom: 20px;}
input [type="submit"] {margin-left: 135px;}

#gallery {position: relative;
	height: 200px;}
	
#gallery ul {list-style-type: none;
	width: 300px;}
	
#gallery li {display: inline;
	float: left;
	padding: 10px;}

#gallery img {border-style: none;}

#gallery a {text-decoration: none;
	font-style: italic;
	color: #000000;}
	
#gallery span {position: absolute;
	left: -1000px;
	opacity: 0;
	transition: opacity 3s ease-in-out;}
	
#gallery a:hover span {position: absolute;
	top: 16px;
	left: 320px;
	opacity: 1;}
	
figure {position: absolute;
	left: 280px;
	opacity: .25;}

/*tablet sized screen*/
@media only screen and (max-width: 64em) {
	
	body {margin: 0;
		background-color: #FFFFFF;}
		
	#wrapper {min-width: 0;
			width: auto;
			box-shadow: none;
			border: none;}

	header {padding-top: 0.5em;
			padding-bottom: 0.5em;
			padding-left: 0;
			height: auto;}
			
	h1 {letter-spacing: 0.1em;}
	
	main {margin-left: 0;}
	
	nav {float: none;
		width: auto;
		text-align: center;
		padding: 0.5em;}
		
	nav li {display: inline;
			padding: 0.25em 0.75em;}
			
	#heroHome, #heroBoard, #heroTraining {margin-left: 0;
		height: 200px;}
		
	footer {margin-left: 0;}
}
/*cell phone sized screen*/
@media only screen and (max-width: 37.5em) {
	
	main {padding: 0.1em 1em;
		font-size: 90%;}
		
	h1 {font-size: 2em;}
	
	nav {padding: 0;}
	
	nav li {display: block;
			margin: 0;
			border: solid 2px #330000;}
	
	nav a {display: block;}
	
	#heroHome, #heroBoard, #heroTraining {background-image: none; height: 0;}
	
	#mobile {display: inline;}
	
	#desktop {display: none;}
	
	#gallery {display: none;}
	/*end of max-width 37.5em*/

}