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;}

h3{color: #006646;}

dt{color: #00664D;}
.barn{color: #70DBDB;}

#barn{color: #70DBDB;}

h1{margin-bottom: 0;}

nav a {
  text-decoration: none;
}

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;}
  
.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);
}

a:link {color: #00664D;}
a:visited {color: #7A7A52;}
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;}

/* Table styles */
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;
}

/* Form Styling - NEWLY ADDED */
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;
}

@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;}
}

@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;}

/* Form optimization for mobile - NEWLY ADDED */
label {
    float: none;
    text-align: left;
}

input[type="submit"] {
    margin-left: 0;
}
}

 
			
