html, body {
	font-family: Verdana, sans-serif;
	font-size: 14px;
	color: #666;
	margin: 0;
	padding: 0;
	height: 100%;
}
#wrap {
	min-height: 100%;
}

#wrap img {
	max-width: 100%;
	height: auto;
}

#header {
	background-color: #cff9ac;
	border-bottom: 1px solid #93c06d;
}

#header div, #content {
	max-width: 900px;
	margin: 0 auto;
}
@media screen and (min-width: 640px) {
	#header div img {
		float: right;
		padding: 0px 20px 0px 0px
	}
	div#menu {
		padding: 95px 0px 0px 20px;
	}
}

@media screen and (max-width: 640px) {
	#header div {
		text-align: center;
	}
	#header div img {
		float: none;
	}
	div#menu {
		padding-top: 0px;
	}
}
#contactform fieldset {
	border: 1px solid #EEE;
	background-color: #EEE;
	border-radius: 5px;
	max-width: 650px;
}
#contactform fieldset legend {
	font-weight: bold;
	text-shadow: 0px 0px 3px rgba(255, 255, 255, 1);
}
@media screen and (max-width: 650px) {
	#contactform fieldset {
		width: 95%;
	}
}

fieldset textarea, fieldset input[type="text"] {
	width: 90%;
}
.red {
	color: #F00;
}
div.cent, div.squares {
	clear: both;
	position: relative;
	padding: 0px 0px 8px 0px;
	text-align: center;
}

div.righ {
	position: relative;
	padding: 0px 0px 8px 8px;
	float: right;
	max-width: 100%;
}

div.left {
	position: relative;
	padding: 0px 8px 8px 0px;
	float: left;
	max-width: 100%;
}

div.img div {
	display: inline-block;
	position: relative;
	font-size: 12px;
	text-align: center;
	max-width: 100%;
	height: auto;
	margin: 2px;
	-webkit-box-shadow: 2px 2px 10px -1px rgba(0,0,0,0.6);
	-moz-box-shadow: 2px 2px 10px -1px rgba(0,0,0,0.6);
	box-shadow: 2px 2px 10px -1px rgba(0,0,0,0.6);
}

div.img img {
	-webkit-box-shadow: 2px 2px 10px -1px rgba(0,0,0,0.6);
	-moz-box-shadow: 2px 2px 10px -1px rgba(0,0,0,0.6);
	box-shadow: 2px 2px 10px -1px rgba(0,0,0,0.6);
}

div.squares div {
	display: inline-block;
	position: relative;
	text-align: justify;
	max-width: 240px;
	height: auto;
	margin: 2px;
	vertical-align: top;
	padding: 0px 15px;
}
div.squares a div {
	text-decoration: none;
	color: #666;
}

div.squares a div h3 {
	margin-top: 0;
	padding-top: 0;
}

div.squares div img {
	-webkit-box-shadow: 2px 2px 10px -1px rgba(0,0,0,0.6);
	-moz-box-shadow: 2px 2px 10px -1px rgba(0,0,0,0.6);
	box-shadow: 2px 2px 10px -1px rgba(0,0,0,0.6);
}

div.img div img {
	max-width: 100%;
	vertical-align: top;
}
div.img div cap {
	position: absolute;
	right: 0; bottom: 0; left: 0;
	background: black; /* fallback */
	background: rgba(0,0,0,.5); /* transparent background */  
	color: #fff; 
	padding: 5px;
}

#menu ul {
 	list-style: none;
}
input.toggle {
	display: none;
}

#menu {
	text-align: left;
}

@media screen and (max-width: 450px) {
/* 	div.spacer {
		height: 0px;
	}
a.logo img {
	margin: 0 auto;
	padding: 7px 22px 7px 7px;
	border: none;
}

	.headerbox div.two {
		display: none;
	}
 */	#content {
		padding: 5px 5px 35px 5px;
	}
	#menu {
		padding-top: 0px;
	}
	label#hb {
		background: #5ea920 url('images/menu-icon.png') no-repeat center center;
		position: absolute;
		left: 0px;
		top: 0px;
		width: 40px;
		height: 50px;
		padding: 4px;
		border-bottom-right-radius: 4px;
		transition: left 1s;
	}
	input#ha ~ div {
		position: absolute;
		top: 0px;
		left: -250px;
		width: 250px;
		height: auto;
		transition: left 1s;
	}
	input#ha:checked ~ div {
		left: 0px;
	}
	input#ha:checked ~ label#hb {
		left: 250px;
	}
	#menu ul {
		position: absolute;
		z-index: 99;
		top: 0;
		left: 0;
		width: 250px;
		height: auto;
		background-color: transparent;
		position: relative;
		margin: 0;
		padding: 0;
	}
	div.call a {
		text-decoration: none;
		line-height: 15px;
		border-radius: 4px;
		background: #3a6f8f;
		padding: 10px 0px;
		display: block;
		text-align: center;
		color: #fff;
		cursor: pointer;
		border: none;
	}
	#menu li {
		line-height: 15px;
		border-radius: 4px;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4b9211+1,5ea920+7,5ea920+93,8bcb57+100 */
background: #4b9211; /* Old browsers */
background: -moz-linear-gradient(top, #4b9211 1%, #5ea920 7%, #5ea920 93%, #8bcb57 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #4b9211 1%,#5ea920 7%,#5ea920 93%,#8bcb57 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #4b9211 1%,#5ea920 7%,#5ea920 93%,#8bcb57 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b9211', endColorstr='#8bcb57',GradientType=0 ); /* IE6-9 */	}
	#menu li a, #menu li label {
		padding: 15px 5px;
		display: block;
		text-align: center;
		color: #fff;
		text-decoration: none;
	}
	label.lab {
		background: transparent url('images/arrow-right.png') no-repeat center right;
	}
	li.x label {
		background: transparent url('images/arrow-left.png') no-repeat center right;
	}
	#menu input#hc1 ~ ul li.cd1 ul, #menu input#hc2 ~ ul li.cd2 ul {
		position: absolute;
		top: 0;
		margin-left: -250px;
		transition: margin 1s;
	}
	#menu input#hc1:checked ~ ul li.nosub {
		display: none;
	}
	#menu input#hc1:checked ~ ul li.cd1 ul {
		margin-left: 0px;
	}
	#menu input#hc1:checked ~ ul li label.lab {
		display: none;
	}
}
@media screen and (min-width: 450px) {
/* 	div.spacer {
		height: 40px;
	}
a.logo img {
	float: left;
	padding: 7px 22px 7px 7px;
	border: none;
}

	.headerbox div.call {
		display: none;
	}
 */	#content {
		padding: 10px 15px 45px 15px;
	}
	#menu {
		display: inline-block;
		width: 425px;
 	}
	#menu ul {
		padding: 0;
		margin: 0;
	}
	#menu li {
		position: relative;
		float: left;
		line-height: 30px;
		margin: 0px;
		font-size: 16px;
	}
	#menu li a, #menu li label {
		display: block;
		color: #666;
		text-decoration: none;
		cursor: pointer;
		padding: 0px 10px;
	}
	#menu li.cd1 {
		padding-right: 20px;
		background: transparent url('images/arrow-down.png') no-repeat center right;
	}
	#menu ul ul li {
		/* font-size: 12px; */
		position: relative;
		white-space: nowrap;
		line-height: 30px;
		left: 0px;
		width: 100%;
		background-color: #cff9ac;
		overflow: hidden;
		height: 0;
		transition: height 0.5s;
	}
	#menu ul ul {
		-webkit-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.75);
		box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.75);
		position: absolute;
		top: 34px;
		left: 0px;
		float: none;
		/* display: none; */
		z-index: 99;
	}
	#menu > ul > li, #menu > ul > li:hover + li.active {
		/* border-bottom: 3px solid transparent; */
	}
	#menu > ul > li:hover, #menu > ul > li.active {
		/* border-bottom: 4px solid #3a6f8f; */
	background-color: #e8fed6;
	}
 	#menu ul li:hover ul li {
		height: 30px;
		border-bottom: 1px solid #ccc;
	}
	#menu ul ul li:hover {
		background-color: #e8fed6;
	}
	#menu ul ul li.x {
		display: none;
	}
}

div#footer {
	margin-top: -46px;
	line-height: 19px;
	text-align: center;
	font-size: 12px;
	border-top: 1px solid #DDD;
	padding: 3px 0px;
}	

div#footer a {
	color: #666;
}	
table.update {
	margin: 0 auto;
	color: #333;
}

.update div {
	white-space: nowrap;
	overflow: hidden;
}

.update input, input.custom {
	font-size: 11px;
}

.update th {
	border: none;
	text-align: center;
	padding-top: 20px;
}
/* other site link */
div#othersite {
position: absolute;
padding-left: 30px;
top: 20px;
}
#othersite label {
	background: transparent url('images/arrow-down.png') no-repeat 100% 50%;
	cursor: pointer;
}
div#othersite div img {
	float: left;
	width: 150px;
	height: 0;
	transition: height 0.5s;
}
#othersite input:checked ~  div img {
	height: 31px;
	margin-top: 5px;
}
#othersite input:checked ~ label {
	background: transparent url('images/arrow-up.png') no-repeat 100% 50%;
}
@media screen and (max-width: 450px) {
div#othersite {
right: 0px;
}
#othersite input:checked ~ label {
	background: #5ea920 url('images/up.png') no-repeat 95% 50%;
}
	#othersite label {
		border-radius: 4px;
	background: #5ea920 url('images/down.png') no-repeat 95% 50%;
	padding: 4px;
	color: #FFF;
	}
}
/* end other site link */

