* {box-sizing: border-box;}
body {background: url('sky.png') no-repeat; 
	background-color: #FFFFFF;
	Color: #666666;
	font-family: Arial, Helvetica, sans-serif;} 
#wrapper {
	margin-left: auto;
	margin-right: auto;
	min-width: 900px;
	max-width: 1000px;
	background-color: rgb(255,0,0);/*#0c5442;*/
	box-shadow: 4px 4px 4px #133926;
	background-image: linear-gradient(to bottom, #ffffff, #0C5442);
	border: 1.5px solid #003300 }
header { background-color: #00B386;
	color: #ffffff;
	text-align: center;
	padding-top: 30px; 
	padding-left: 3em; }
h1 { margin-bottom: 0;
	margin-top: 0;
	letter-spacing: 0.25em;
	font-size: 3em; }
nav{ font-weight: bold;
	font-size: 120%;
	padding: 1.5em;
	float: left;
	width: 160px;}
nav a { text-decoration: none; }
nav a:link { color: #003300; }
nav a:visited { color: #7A7A52; }
nav a:hover { color: #ffffff; }
nav a { text-decoration: none; 
transition: color 3s ease-out; }

nav ul { list-style-type: none;
		margin: 0;
		padding-left: 0;
		font-size: 1.2em; }
main { background-color: #ffffff;
	padding: 1px 20px 20px 20px;
	margin-left: 190px;
	display: block; }
h2 { color: #00664D;
	text-shadow: 15px 15px grey;}
h3 { color: #000033;
	text-shadow: 15px 15px grey; }
h1, h2, h3 {font-family:Georgia, "Times New Roman", serif;} 
dt { color: #00664D;} 
main ul{list-style-image: url('marker.gif'); }
.barn{color: #70DBDB}
#contact { font-size: 90%;}
footer {padding: 15px;
	font-size: 75%;
	font-style: italic;
	text-align: center;
	font-family:Georgia, "Times New Roman", serif;}
#heroHome {height: 300px;
	margin-left: 190px;
    background: url('sunsetHorse.png') no-repeat;
    background-size: 100% 100%;}
#heroBoard {height: 300px;
	margin-left: 190px;
    background: url('fenceline.png') no-repeat;
    background-size: 100% 100%;}
#heroTraining {height: 300px; 
	margin-left: 190px;
    background: url('BayBella.png') no-repeat;
    background-size: 100% 100%;} 
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: 0.5em 0 0.5em 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;
    }
}


@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-bottom: 2px solid #330000;
    }
    nav a {
        display: block;
    }
    #heroHome, #heroBoard, #heroTraining {
        background-image: none;
        height: 0;
    }
    #mobile {
        display: inline;
    }
    #desktop {
        display: none;
    }
} 


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;
}
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"] {
	width: 135px;
	margin-left: 0;
}


@media (max-width: 37.5em) {
	label {
    float: none;
    text-align: left;
  }
	input[type="submit"] {
    margin-left: 0;
  }
#gallery {
    position: relative;
    height: 200px;
}
#gallery ul {
    list-style: 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: white;
}
#gallery span {
    position: absolute;
    left: -1000px;
    opacity: 0;
    transition: opacity 3s ease-in-out;
}
#gallery a:hover span {
    left: 320px;
    top: 15px;
    opacity: 1;
    text-align: center;
}
#gallery figure {
    position: absolute;
    left: 280px;
    opacity: 0.25;
}
footer {
    clear: both;
}
#gallery {
    display: none;
	}

}