*{box-sizing: border-box;}

body {background-color: #FFFFFF;
		color: #666666; 
font-family: Arial, Helvetica, sans-serif;}
		
h1 {background-color: #00B386;
		color: #FFFFFF;
		background-position: right;
		background-repeat: no-repeat; 
		line-height: 300%;
		font-size:2.5em; 
		letter-spacing:0.25em;
		margin-top:0;}
		
header {background-color: #00B386;
		margin-bottom:0;
		text-align: center;
		height: 175px;
		padding-top:30px;
		padding-left:3em;
		height: auto;
		}

		
#wrapper {margin: auto;
		  width:80%;
		  background-color: #0C5442; 
		  background-image: linear-gradient(to bottom, #FFFFFF, #0C5442);
		  min-width: 600px;
		  max-width: 2050px;
		  box-shadow: 4px 4px 4px 4px #133926;
		  border: 1.5px solid #003300;}
nav {
	font-weight: bold;
	padding: 1.5em;
	font-size:120%;
	float:left;
	width:160px;}
	
nav ul {
  list-style: none;     
  margin: 0;             
  padding-left: 0;      
  font-size: 1.2em;}
nav a {transition: color 3s ease-out;}

nav a:link {color: #00B386;}

nav a:visited {color: #00B386;}

nav a:hover {color: #FFFFFF;}
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: Georgia, "Times New Roman", serif;
		text-align: center;
		padding: 15px;
		margin-left:190px;
		background-color: #FFFFFF;
		clear: both;}
				
main {padding: 1px 20px 20px 30px;
	  display: block;
	  background:#FFFFFF;
	  margin-left: 190px}
	  
h2 {color: #00664D;
	text-shadow: 1px 1px #CCCCCC;}
	
dt {color: #00664D;}

.barn {color: #70DBDB;
		font-weight:bold;}
		
#heroHome {background-image: url(sunsetHorse.png);
			height: 300px;
			background-repeat: no-repeat;
			background-size: 100% 100%;
			margin-left:190px;
			background-size: cover;
			background-position: center;
			}
			
#heroBoard {background-image: url(fenceline.png);
			height: 300px;
			background-repeat: no-repeat;
			margin-left:190px;
			background-size: cover;
			background-position: center;}
			
#heroTraining {background-image: url(BayBella.png);
			height: 300px;
			background-repeat: no-repeat;
			background-size: 100% 100%;
			margin-left:190px;
			background-size: cover;
			background-position: center;
			}

table {border:1.5px solid;
	border-color: #006600;
	border-collapse: collapse;}
	
td, th {padding: 0.5em;
		border: 1px solid;
		border-color: #006600;
		color: black;}
		
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, text-area {display: block;
margin-bottom:20px;}

submit {margin-left: 135px;}

@media screen and (max-width: 600px) {
    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: gray;}
	
#gallery span {
	position: absolute;
	left: -1000px;
	opacity: 0;
	transition: opacity 3s ease-in-out;}

#gallery li:hover span {
	position: absolute;
	top: 15px;
	left: 320px;
	text-align: center;
	opacity: 1;}
	
#gallery figure {
	position: absolute;
	left: 280px;
	opacity: 0.25;}