*{box-sizing: border-box;
}

header, main, nav, footer, figure, figcaption, aside, section, article {display: block;}

#contact{font-size: 90%;}
#mobile{display: none;}
#desktop{display: inline;}

body {font-family: Arial, Helvetica, sans-serif;
	background-color: #432723;
	color: #666666
	}

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;
	}

nav a {text-decoration: none;}
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;
}
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;
		
		background-color: #FFFFFF;
		clear: both;
	
}
#contact{font-size: 90%;}

h1 {margin-bottom: 0;
	margin-top: 0;
	color: #FFFFFF;
	letter-spacing: 0.25em;
	font-size: 3em;
}
	
#wrapper{margin: auto;
		flex: 1;
			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;
}

.flexcontainer{display: flex;
				width: 100%;
}

.flexnav{flex: 1;
		text-align: left;
		width: 20%;
}
	
.flexbox{flex: 1;
		width: 100%;
		margin-left: -70%;
}

#heroHome{background-image: url(sunsetHorse.png);
		height:300px;
		background-repeat: no-repeat;
		background-size: contain;
		padding-bottom: 0px;
		margin-bottom: 0px;
}
#fenceline{background-image: url(fenceline.png);
		height:300px;
		background-repeat: no-repeat;
		background-size: contain;
		padding-bottom: 0px;
		margin-bottom: 0px;
}
#BayBella{background-image: url(BayBella.png);
		height:300px;
		background-repeat: no-repeat;
		background-size: contain;
		padding-bottom: 0px;
		margin-bottom: 0px;
}
iframe{width: 100%;
}
	
nav{width: 8em;
	font-weight: bold;
	padding: 1.5em;
	font-size: 120%;
	flex: 1;
	text-align: left;
	width: 20%;
}
	
main{background-color: #FFFFFF;
	padding: 1px 20px 20px 30px;
	
	display:block;
}

h2 {color: #652919;
	text-shadow: 1px 1px #CCCCCC;
}

dt {color: #652919;}

.barn{color: #CBB89C;
	font-weight: bold;}

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: 0.25;
}


@media only screen and (max-width: 64em){
	.flexnav{width: 100%;}
	.flexbox{width: 100%;}
	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, #fenceline, #BayBella{margin-left: 0;
										background-size: contain;
		}
		footer{margin-left: 0;
		height: 200px;}
	}/*end media query for desktop*/
@media only screen and (max-width: 37.5em){
	.flexnav{width: 100%;}
	.flexbox{width: 100%;}
	main{padding: 0.1em 1em;
		font-size: 90%;
		width: 100px;
		}
	h1{font-size: 2em;}
	
	nav{padding: 0;}
	
	nav a{display: block;
		margin: 0;
		border: solid 2px #330000;
	}
	#heroHome, #fenceline, #BayBella{background-image: none;
									background-size: contain;
	}
	#mobile{display: inline;}
	
	#desktop{display: none;}
	
}/*end of media query for mobile*/











	









	
	