* {
	padding: 0;
	margin: 0;
}
.group:after {
	content: "";
	display: table;
	clear: both;
}
.resize-img {
	max-width: 100%;
	height: auto;
}
.portfolio-img {
	width: 100%;
	height: auto;
}
body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	background-color: #5d684a;
	margin: 0px;
	padding: 0px;
	margin-top: 60px;
	border: 0;			/* This removes the border around the viewport in old versions of IE */
}
.shadow {
  -webkit-box-shadow: 0 0 15px 7px #333;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
  -moz-box-shadow:    0 0 15px 7px #333;  /* Firefox 3.5 - 3.6 */
  box-shadow:         0 8px 35px 17px #333;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

h1 {
	font-size: 12px;
	color: #5D684A;
}




#wrapper {
	margin: 0 auto;
	max-width: 900px;

}
#content {
	float: left;
	color: #333;
	background: #FFF;
	margin: 0px 0px 0px 0px;
	min-height: 570px;
	width: 100%;
	display: inline;
	
}

/*navigation*/

#nav > a {
	display: none;
}

.nav {
	background-color: #b7ce93;
	width: 100%;
	float: left;
	height: 32px;
	border-top: solid #5d684a 1px;
	border-bottom: solid #5d684a 1px;
	text-align: left;
}
.navtext ul {
	clear: left;
	float: left;
	width: 500px;
	list-style: none;
	margin: 0px 0 0 0;
	padding: 0;
}
.navtext ul li {
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
}
.navtext ul li a {
	display: block;
	float: left;
	margin: 0 0 0 0px;
	padding: 0px 0px 0px 20px;
	text-align: left;
	color: #000;
	text-decoration: none;
	position: relative;
	left: 0px;
	line-height: 31px;
	font-size: 14px;
	font-weight: bold;
	font-family: Verdana, Helvetica, sans-serif;
}
.navtext ul li a:hover {
	color: #5d684a;
	text-decoration: underline;
}
.navtext ul li a.active,  .navtext ul li a.active:hover {
	color: #5d684a;
}
.navcontact ul li a {
	display: block;
	text-align: right;
	padding: 0px 18px 0px 0px;
	float: right;
	color: #000;
	text-decoration: none;
	position: relative;
	left: 0px;
	line-height: 31px;
	font-size: 14px;
	font-weight: bold;
	font-family: Verdana, Helvetica, sans-serif;
}
.navcontact a:hover {
	color: #5d684a;
	text-decoration: underline;
}
.navcontact ul li a:hover {
	color: #5d684a;
	text-decoration: underline;
}
.navcontact ul li a.active,  .navcontact ul li a.active:hover {
	color: #5d684a;
}
.navcontact ul li {
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
}
.navcontact ul {
	clear: right;
	float: right;
	list-style: none;
	margin: 0px 0 0 0;
	padding: 0;
}
/*end navigation*/

/*logo header*/
	
.logoheader {
	background-color: #FFFFFF;
	margin-top: 0px;
	margin-left: 0px;
	width: 100%;
	min-height: 126px;
}
.logo {
	position: absolute;
	margin-top: -30px;
	float: left;
}
.contact {
	width: 221px;
	float: right;
	text-align:right;
	min-height: 100px;
	position: relative;
	margin: 18px;
}
.contact-text { position: absolute; bottom: 0; width: 100%;color: #606851; line-height:1.5;}

/*main content*/

.maincontent {
	border-bottom: solid #5d684a 1px; background-color: #fff; min-height: 345px;}
.maintext {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: left;
	padding: 20px;
	padding-top: 40px;
	width: 300px;
	clear: left;
	line-height: 22px;
}
.maintextc {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: left;
	width: 500px;
	clear: left;
	line-height: 22px;
	position:relative;
}
.maintextr {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: left;
	width: 90%;
	clear: left;
	line-height: 22px;
	position:relative;
}
.maintextl {
	text-align: left;
	max-width: 320px;
	float: left;
	line-height: 1.4;
}

.home-image {
	max-width: 420px;
	float: right;
	width: 100%;
}
.maintextmain {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-align: left;
	margin: 20px;
	padding-top: 40px;
	clear: left;
	min-height: 176px;
}
.maintextport {
	text-align: center;
	width: 400px;
	float: right;
}
a {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 11px;
	color: #333;
	text-decoration: none;
}
a:hover {
	color: #5d684a;
	text-decoration: underline;
}
.portnav a.active {
	color: #5d684a;
	text-decoration: underline;
}
/*footer*/
.footer {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 9px;
	color: #5d684a;
	border-top: solid #b7cd93 5px;
	background: #FFF;
	padding-bottom: 5px;
}
.copyright {
	padding: 43px 0 0 18px;
	text-align: left;
}
.swirl {
	float: right;
	width: 200px;
	text-align: right;
	padding: 0 12px 0 0;
}
.scrolla {
	width: 380px;
	border: 0px;
	background-color: #fff;
	padding: 0px;
	margin: 4px;
	float: right;
	font-size: 11px;
	text-align:right;
}
li .scrolla {
	list-style-type: disc;
}
.scroll {
	max-width: 480px;
	border: 0px;
	background-color: #fff;
	padding: 0;
	margin: 4px;
	float: right;
	font-size: 11px;
}
li .scroll {
	list-style-type: disc;
}
.portnav {
	word-spacing: 3px;
}
.portscroll {
	width: 400px;	
	border: 0;
	background-color: #fff;
	padding: 0;
	margin: 0;
	float: left;
	font-size: 12px;
}
#resource-ad {
	position: absolute;
	right: 0px;
	top: 1px;
}
@media only screen and ( max-width: 700px ) {
	
.contact {float: left; text-align:left; margin: 20px 10px; padding: 30px 0;}
.contact-text {line-height: 1.6;}
.navcontact ul li a {background: #b7ce93; padding-left: 20px;}
.logo {margin-top: -60px;}

.maintextc {width: auto; padding: 0; }
#resource-ad {position: static;}

/*navigation*/
#nav {
	position: relative;
	top: auto;
	left: auto;
	width: 100%;
	background-color: #5d684a;
	z-index: 5;
	padding-top: 0;
	border-top: 1px #dadbd8 solid;
}
#nav > a {
	width: 3.125em; /* 50 */
	height: 3.125em; /* 50 */
	text-align: left;
	text-indent: -9999px;
	background-color: #b7ce93;
	position: relative;
}
#nav > a:before,  #nav > a:after {
	position: absolute;
	border: 2px solid #fff;
	top: 35%;
	left: 25%;
	right: 25%;
	content: '';
}
#nav > a:after {
	top: 60%;
}
#nav:not( :target ) > a:first-of-type,  #nav:target > a:last-of-type {
	display: block;
}
/* first level */

#nav > ul {
	height: auto;
	display: none;
	position: static;
	padding: 0;
}
#nav:target > ul {
	display: block;
}
#nav > ul > li {
	width: 100%;
	float: none;
}

#nav > ul > li > a {
	height: auto;
	text-align: left;
	padding: 10px; 
	background-color: #b7ce93;
}
#nav > ul > li > a {
	border-right: none;
	border-top: 0px solid #dfd1b6;
}

.navtext ul li a {float: none;}

}

@media only screen and ( max-width: 470px ) {
	body {margin-top: 5px;}
	.logo {margin-top: 0;}
	.copyright {padding: 10px;}
	.portscroll {width: 100%;float: none;}
	.portnav {display:none;}
	.maintextport {width: 100%; height: auto;}
	.scrolla {width: 100%;	padding-top: 15px;	margin: 4px;	float: right;	text-align:left;}
}