/* STRUCTURE */

body {
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #ffffff;
}

h1 {
	margin: 40px 10px 0px;
}

h1,h2,h3,h4 {
	font-family: "Lucida Sans", Arial, Helvetica, san-serif;
	letter-spacing: -1px;
	color: #000000;
}

.container {
	float: left;
	width: 100%;
	background-color: #fff;
}

.wrapper {
	max-width: 960px;
	margin: 0 auto;
	clear:both;
	width: 100%;
	text-align: center;
}

.wrapper h2 {
	margin-bottom: 10px;
}

.wrapper p {
	margin-bottom: 5px;
	width: 300px;
	text-align: left;
	padding: 5px 20px;
}

/* Header */

.logo {
	width: 40%;
	float: left;
	min-width: 300px;
	padding: 20px 0 0 30px;
}

header {
	float: left;
	width: 100%;
	background: #24651c;
	color: #ffffff;
	margin-bottom: 10px;
}

#ribbon {
	float:left;
}

/*Navigation*/
header nav {
	float: right;
	text-align: right;
	padding: 30px 0 10px 0;
}

header nav ul {
	margin-right: 20px;
	
}

header nav li {
	display: inline;
	text-align: center;
	line-height: 30px;
	margin: 0 0 0 20px;
}

header nav a {
	color: #EAEEEA;
	text-decoration: none;
}

header nav a[class=button]:hover {
	color: #9dca5d;
}

.badge {
	background-color: #ffffff;
	float: left;
	text-align: center;
	width: 100%;
	margin: 10px 0;
}


/* Button base */
.button {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 14px/100% Arial, Helvetica, sans-serif;
	padding: .5em 1em .55em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover {
	text-decoration: none;
}
.button:active {
	position: relative;
	top: 1px;
}

/* Green button */
.green {
	color: #e8f0de;
	border: solid 1px #538312;
	background: #64991e;
	background: -webkit-gradient(linear, left top, left bottom, from(#7db72f), to(#4e7d0e));
	background: -moz-linear-gradient(top,  #7db72f,  #4e7d0e);
}
.green:hover {
	background: #538018;
	background: -webkit-gradient(linear, left top, left bottom, from(#6b9d28), to(#436b0c));
	background: -moz-linear-gradient(top,  #6b9d28,  #436b0c);
}
.green:active {
	color: #a9c08c;
	background: -webkit-gradient(linear, left top, left bottom, from(#4e7d0e), to(#7db72f));
	background: -moz-linear-gradient(top,  #4e7d0e,  #7db72f);
}


/*Banner*/
#slider {
	width: 100%;
	float: left;
	margin-bottom: 15px;
	padding: 0;
}
#banner_top {
	float: left;
	width: 100%;
	height: 50px;
	color: #EAEEEA;
	background: #64991e;
	background: -webkit-gradient(linear, left top, left bottom, from(#84ac49), to(#528037));
	background: -moz-linear-gradient(top,  #84ac49,  #528037);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#84ac49', endColorstr='#528037');
}

#banner_bottom {
	position: relative;
	top: 310px;
	width: 100%;
	height: 120px;
	color: #EAEEEA;
	opacity: 0.4;
	background: #64991e;
	background: -webkit-gradient(linear, left top, left bottom, from(#84ac49), to(#81aa48));
	background: -moz-linear-gradient(top,  #84ac49,  #81aa48);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#84ac49', endColorstr='#81aa48');
}

/* Content sections */
section {
	padding: 5px 15px;
	float: left;
}

section img {
	margin: 10px 0px;
}

.main-content {
	margin: 30px;
}

.main-content p {
	margin: 10px 20px;
}

.left-content {
	width: 290px;
}

.middle-content {
	width: 294px; /* Account for margins + border values */
	margin: 0px 5px 5px 5px;
}

.right-content {
	width: 270px;
}

.left-content, .middle-content, .right-content {
	margin-bottom: 5px;
	margin-top: 0px;
}

.visit {
	padding-left: 50px;
}
.visit a:hover {
	text-decoration: underline;
}
.visit a {
	text-decoration: none;
	color: #538312;
}
/* Footer */

footer {
	clear: both;
	float: left;
	background: #000000;
	color: #eaeeea;
	font-family: Arial, sans-serif;
	font-size: 13px;
	padding: 20px 0 60px 0px;
	text-align: center;
	width: 100%;
}

footer span {
	color: #9dca5d;
}

footer a {
	color: #eaeeea;
	text-decoration: none;
	padding: 0 5px 0 5px;
}

footer a:hover {
	color: #9dca5d;
}

.copy-right {float:none; clear: both; text-align: center; margin-top: 15px;}

.social-icons { background:transparent; height: 32px; margin-left: 50px;}
.social-icons li {display: inline; height: 32px; width: 32px;}
.social-icons a { display:block; height:32px; width:32px; float: left; padding: 0; margin-right: 10px; }
.social-icons a.social-twitter { background: url('../images/social32.png') -22px -56px no-repeat; }
.social-icons a.social-rss { background: url('../images/social32.png') 0 0 no-repeat; }
.social-icons a.social-linkedin { background: url('../images/social32.png') -84px -12px no-repeat; }
.social-icons a.social-facebook { background: url('../images/social32.png') -22px -12px no-repeat; }


/****************************************
   Form styles
****************************************/

form {
	margin: 0 0 0 0;
	padding: 0;
}

#contact_form {
	padding: 0 20px;
}

#contact_form fieldset {
	margin-bottom:20px;
	border: none;
}

input[type=text], input[type=email], textarea {
	border-color: #BBBBBB #D3D3D3 #EEEEEE;
	border-style: solid;
	border-width: 1px;
	background: #f8f8f8;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
	padding: 5px;
}

input[type=text], input[type=email] {
	width: 40%;
	max-width: 400px;
	min-width: 200px;
}

textarea {
	width: 60%;
	max-width: 600px;
	min-width: 240px;
}

label {
	display: block;
	margin: 20px 0 0;
}

label.error {
	margin-top: 5px;
}

.error {
	color: red;
	font-size: 12px;
	margin-left: 5px;
}

.warning {
	color: red;
	font-size: 16px;
	margin: 5px 0 0;
}


/************************************************************************************
MEDIA QUERIES
*************************************************************************************/

/* for 980px or less */
 @media screen and (max-width: 980px) {
	
	.wrapper {
		width: 100%;
	}
	
	.wrapper p {
		padding: 0;
		width: 100%;
	}
	
	.left-content, .middle-content, .right-content {
		clear: both;
		padding: 1% 4%;
		width: auto;
		float: none;
		margin: 5px;
		height: auto;
	}

}


/* for 768px or less */
@media only screen and (max-width: 768px) {

	header {
		height: auto;
	}
	.logo {
		clear: both;
		float: none;
		width: auto;
		text-align: center;
		padding: 20px 0 0 20px;
	}
	
	header nav {
		clear: both;
		float: none;
		text-align: center;
		padding: 30px 0 10px 0;
		min-width: 300px;
	}
	
	header nav ul {
		margin-right: 0px;
		
	}
		
	.left-content, .middle-content, .right-content {
		width: auto;
		padding: 1% 4%;
		margin: 5px;
	}
	
	.wrapper {
		width: 100%;
	}
	
	.wrapper p {
		padding: 0;
		width: 100%;
	}
	
	.flex-direction-nav a {
		top: 65%;
	}
	
	.main-content {
		margin: 5px;
		padding: 5px;
	}
	
	#ribbon {
		margin-right: 20px;
	}


}

/***** tween ***/
@media only screen and (max-width : 740px) {
	header nav {
		clear: both;
		float: none;
		text-align: center;
	}
	
	.wrapper p {
		padding: 0;
		width: 100%;
	}

	.logo {
		clear: both;
		float: none;
		width: auto;
		text-align: center;
		padding: 20px 0 0 20px;
	}
	
}
/* for 480px or less, most phones */
@media only screen and (max-width : 480px) {

	header {
		height: auto;
	}
	.logo {
		clear: both;
		float: none;
		padding: 20px 0 0 20px;
		text-align: center;
		width: auto;
	}
	h1 {
		font-size: 22px;
	}
	
	h2 {
		font-size: 20px;
	}	
	header nav {
		padding: 30px 0 10px 0;
		min-width: 300px;
	}
		
	#ribbon {
		display: none;
	}
	
	.left-content, .middle-content, .right-content {
		width: auto;
		padding: 1% 4%;
		margin: 5px;
	}
	
	.wrapper {
		width: 100%;
	}
	
	.wrapper p {
		padding: 0;
		width: 100%;
	}
	
	.flex-direction-nav a {
		top: 65%;
	}
	
	.main-content {
		margin: 5px;
		padding: 5px;
	}

	.slideback {
		text-align: center;
	}
	
	.flexslider .slides p {
		margin: 0;
	}


}
