body{background-color: #FFFFFF;
color: #666666;
font-family: Arial, Helvetica, sans-serif;
background-size: cover;
background-position: center;}

header{color: #FFFFFF;
background-color: #00B386;
	background-position: right;
	background-repeat: no-repeat;
	height: 175px;
text-align: center;
padding-top: 30px;
padding-left: 3em;}

nav{font-weight: bold;
padding: 1.5em;
font-size: 120%;
float: left;
width: 160px;}

nav ul{list-style-image: none;
list-style-type: none;
margin: 0;
font-size: 120%;}

h1 {margin-top: 0;
font-size: 3em;
letter-spacing: .25em;}

h2{color: #00664D;
text-shadow: 1px 1px #CCCCCC;}

dt{color: #00664D;}

.barn{color: #70DBDB;}

#barn{color: #70DBDB;}

h1{margin-bottom: 0;}


h1, h2, h3 {font-family: "Times New Roman";}

footer {
  font-size: 75%;
  font-style: italic;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  padding: 15px;
  margin-left: 190px;
  background-color: #FFFFFF;
  clear: both;}
  
.barn{font-weight: bold;}

#contact{font-size: 90%}

#wrapper{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  background-color: #0C5442;
  min-width: 900px;
  max-width: 2050px;
  box-shadow: 4px 4px 8px #133926;
  background-image: linear-gradient(to bottom, #FFFFFF, #0C5442);
  border: 1.5pt solid #003300;
}

main{padding-top: 1px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
display: block;
margin-left: 190px;
background-color: #FFFFFF;}

#heroHome{ height: 300px;
  background-image: url(sunsetHorse.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-left: 190px;
}

#heroBoard{ height: 300px;
 background-image: url(fenceline.png);
  background-size: 100% 100%;
background-repeat: no-repeat;
margin-left: 190px;}

#heroTraining{height: 300px;
 background-image: url(BayBella.png);
  background-size: 100% 100%;
background-repeat: no-repeat;
margin-left: 190px;}

*{box-sizing:border-box;}

main ul{list-style-type: none;
margin: 0;
padding-left: 0;
font-size: 1.2em;
list-style-image: url(marker.gif);
}
nav a {
  text-decoration: none;
transition: color 3s ease-out;
}
nav a:link {color: #00664D;}
nav a:visited {color: #7A7A52;}
nav a:hover {color: #FFFFFF;}

header, main, nav, footer, figure, figcaption, aside, section, article{display: block;}

#contact{font-size: 90%}

#mobile{display: none;}

#desktop{display: inline;}

@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;
	padding-left: 0;
	height: auto;}
	
nav li{display: inline;
padding: 0.25em 0.75em;}

#heroHome, #heroBoard, #heroTraining{margin-left: 0;
height: 200px;}

footer{margin-left: 0;}
}
table{border: 1px solid #003300;
width: 80%;
border-spacing: 0;
border-collapse: collapse;}

td{padding: 0.5em;
border-width: 1px;
border-color: #006600}

th{padding: 0.5em;
border-width: 1px;
border-color: #006600}

table tr:nth-of-type(odd) {background-color: #ECF9EC;}

h3{color: #006646}

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: -500px;
			   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;}

@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;}
#homeHero, #yurthero, #trailhero
{background-image: none;
height: 0;}

#mobile{display: inline;}

#desktop{display: none;}

#gallery{display: none;}
}

