html,
body {
	height: 100%;
	min-width: 980px;
}

body {
	background: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	line-height: 20px;
	color: #666;
}

h1, h2 {
	margin: 0 0 20px 0;
	font-size: 20px;
	font-weight: bold;
}

h3 {
	margin: 0 0 5px 0;
	font-size: 15px;
	color: #333;
	font-weight: bold;
}

p {
	margin: 0 0 20px 0;
}

.clear {
	clear: both;
}

.fleft {
	float: left;
}

.fright {
	float: right;
}

.container {
	position: relative;
	width: 940px;
	height: 100%;
	margin: 0 auto;
	overflow: auto;
	padding: 0 20px;
}

#header {
	position: relative;
	height: 245px;
	background: #373435;
	color: #fff;
}

#logo {
	position: absolute;
	display: block;
	top: 40px;
	left: 20px;
}

#logo p {
	margin: 0;
}

#social {
	position: relative;
	float: left;
	margin: 17px 0 0 0;
}

#social a {
	display: block;
	width: 46px;
	height: 46px;
	float: left;
	margin: 0 5px 0 0;
	-webkit-transition: background 0.1s ease-in;
	-moz-transition: background 0.1s ease-in;
	-ms-transition: background 0.1s ease-in;
	-o-transition: background 0.1s ease-in;
	transition: background 0.1s ease-in;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border: 1px solid #cbcbcb;
}

#social a:hover {
	-webkit-transition: background 0.1s ease-in;
	-moz-transition: background 0.1s ease-in;
	-ms-transition: background 0.1s ease-in;
	-o-transition: background 0.1s ease-in;
	transition: background 0.1s ease-in;
	border: 1px solid #777;
}

#social a:last-child {
	margin: 0;
}

.facebook {
	background: url(../images/facebook.png) no-repeat center center;
}

.googleplus {
	background: url(../images/google+.png) no-repeat center center;
}

.twitter {
	background: url(../images/twitter.png) no-repeat center center;
}

.youtube {
	background: url(../images/youtube.png) no-repeat center center;
}

.facebook:hover {
	background: url(../images/facebook-hover.png) no-repeat center center;
}

.googleplus:hover {
	background: url(../images/google+-hover.png) no-repeat center center;
}

.twitter:hover {
	background: url(../images/twitter-hover.png) no-repeat center center;
}

.youtube:hover {
	background: url(../images/youtube-hover.png) no-repeat center center;
}

#endereco {
	position: absolute;
	display: block;
	text-align: right;
	top: 50px;
	right: 20px;
}

#menu {
	position: absolute;
	width: 940px;
	bottom: 0;
	height: 75px;
}

#menu ul.menu {
	margin: 0 auto;
	padding: 0;
	list-style: none;
	height: 100%;
}

#menu ul.menu li {
	width: 157px;
	height: 100%;
	float: left;
}

#menu ul.menu li:last-child {
	margin: 0;
	width: 155px;
}

#menu ul.menu li a {
	display: block;
	text-decoration: none;
	color: #fff;
	text-align: center;
	height: 100%;
	line-height: 75px;
	background:
		url(../images/border-left.png) no-repeat top left,
		url(../images/border-right.png) no-repeat top right,
		#373435;
	font-weight: bold;
	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
	-ms-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
}

#menu ul.menu li.current a,
#menu ul.menu li.active a,
#menu ul.menu li a:hover {
	background:
		url(../images/border-left.png) no-repeat top left,
		url(../images/border-right.png) no-repeat top right,
		#151414;
	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
	-ms-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
}

#menu ul.menu li:first-child a {
	background:
		url(../images/border.png) no-repeat top left,
		url(../images/border-right.png) no-repeat top right,
		#373435;
}

#menu ul.menu li:first-child a:hover {
	background:
		url(../images/border.png) no-repeat top left,
		url(../images/border-right.png) no-repeat top right,
		#151414;
}

#menu ul.menu li:last-child a {
	background:
		url(../images/border-left.png) no-repeat top left,
		url(../images/border.png) no-repeat top right,
		#373435;
}

#menu ul.menu li:last-child a:hover {
	background:
		url(../images/border-left.png) no-repeat top left,
		url(../images/border.png) no-repeat top right,
		#151414;
}

#slideshow {
	position: relative;
	width: 940px;
	height: 340px;
	overflow: visible;	
}
	
#gallery-cycle-slideshow {
	width: 940px !important;
	height: 340px !important;
}
	
.gallery-container {
	height: 340px !important;
}
	
.gallery-image img {
	width: 100%;
}

.prev {
	background: url(../images/prev.png) no-repeat left center;
}
	
.next {
	background: url(../images/next.png) no-repeat right center;
}

#boxes {
	padding: 20px 0;
}
	
.box {
	position: relative;
	width: 280px;
	background: #fff;
}

.b1 {
	margin: 0 50px 0 0;
}

hr {
	border-top: 1px solid #cbcbcb;
	border-bottom: none;
	border-left: none;
	border-right: none;
}

.box h2 a	{
	text-decoration: none;
	height: 45px;
	line-height: 45px;
	display: block;
	color: #584300;
	text-align: left;
}

.page-title {
	padding: 30px 0 20px 0;
	display: block;
}

.box h2 a:hover {
	text-decoration: underline;
}
	
#main {
	float: left;
	width: 580px;
	margin: 0 0 20px 0;
}
	
#aside {
	float: right;
	width: 300px;
	margin: 0 0 20px 0;
}

.banner {
	margin: 0 0 20px 0;
}
	
.banner:last-child {
	margin: 0;
}
	
.banner img {
	display: block;
}
	
.contact-form {
		width: 580px;
		color: #333;
	}
	
	.contact-form legend {
		padding: 20px 0;
	}
	
	.contact-form .required {
		color: red;
	}
	
	.contact-form input[type="text"]{
		width: 400px;
		background: #fff;
		padding: 5px 10px; 
		margin: 0;
		height: 40px;
		border: 1px solid #a4a4a4;
		border-radius: 5px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		font-family: "Open Sans", sans-serif;
		font-size: 15px;
		line-height: 1.3em;
		color: #333;
	}
	
	.contact-form textarea {
		width: 400px;
		max-width: 580px;
		background: #fff;
		padding: 5px 10px;
		margin: 0;
		height: 30px;
		border: 1px solid #a4a4a4;
		border-radius: 5px 5px 0 5px;
		-webkit-border-radius: 5px 5px 0 5px;
		-moz-border-radius: 5px 5px 0 5px;
		min-height: 200px;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		font-family: "Open Sans", sans-serif;
		font-size: 15px;
		line-height: 1.3em;
		color: #333;
	}
	
	.contact-form input[type="submit"] {
		width: 150px;
		padding: 5px 10px; 
		margin: 0;
		height: 40px;
		border: 1px solid #a4a4a4;
		border-radius: 5px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		font-family: "Open Sans", sans-serif;
		font-size: 15px;
		line-height: 1.3em;
		font-weight: bold;
		color: #333;
		cursor: pointer;
		background: #ffffff;
		background: -moz-linear-gradient(top,  #ffffff 0%, #eeeeee 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#eeeeee));
		background: -webkit-linear-gradient(top,  #ffffff 0%,#eeeeee 100%);
		background: -o-linear-gradient(top,  #ffffff 0%,#eeeeee 100%);
		background: -ms-linear-gradient(top,  #ffffff 0%,#eeeeee 100%);
		background: linear-gradient(to bottom,  #ffffff 0%,#eeeeee 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 );
	}
	
	.contact-form input[type="submit"]:hover {
		background: #eeeeee;
		background: -moz-linear-gradient(top,  #eeeeee 0%, #dddddd 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#dddddd));
		background: -webkit-linear-gradient(top,  #eeeeee 0%,#dddddd 100%);
		background: -o-linear-gradient(top,  #eeeeee 0%,#dddddd 100%);
		background: -ms-linear-gradient(top,  #eeeeee 0%,#dddddd 100%);
		background: linear-gradient(to bottom,  #eeeeee 0%,#dddddd 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#dddddd',GradientType=0 );
	}
	
	.contact-form input[type="submit"]:active {
		-webkit-box-shadow:inset 0 0 10px 0 rgba(0,0,0,0.2);
		box-shadow:inset 0 0 10px 0 rgba(0,0,0,0.2);
	}
	
	.contact-form .contact-error,
	.contact-form .contact-success {
		background: #f4f0cf;
		border-top: 2px solid #979056;
		border-bottom: 2px solid #979056;
		margin: 0;
		padding: 20px;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		width: 100%;
		list-style: none;
	}
	
	.iconsend {
		display: block;
		float: left;
		margin: 0 10px 0 0;
		width: 25px;
		height: 25px;
		background: url(../images/iconsender.png) no-repeat center center;
	}
	
	.iconalert {
		display: block;
		float: left;
		margin: 0 10px 0 0;
		width: 25px;
		height: 25px;
		background: url(../images/iconalert.png) no-repeat center center;
	}
	
	.iconerror {
		display: block;
		float: left;
		margin: 0 10px 0 0;
		width: 25px;
		height: 25px;
		background: url(../images/iconerror.png) no-repeat center center;
	}

#all {
	position: relative;
	min-height: 100%;
}
	
#height {
	padding-bottom: 80px;
}
	
#footer {
	position: absolute;
	width: 100%;
	min-width: 980px;
	bottom: 0;
	height: 80px;
}

#footer .container {
	display: table;
	border-top: 1px solid #cbcbcb;
}

#footer p.creditos {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	font-weight: bold;
}

#footer p.creditos a {
	color: #666;
	text-decoration: none;
}

#footer p.creditos a:hover {
	text-decoration: underline;
}