/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/************************************************************************/
/*							Global									    */
/************************************************************************/

body {
	font-size: 62.5%;
}

#container {
	width: 100%;
}

#wrapper {
	width: 1027px;
	margin: 0px auto;
}


/************************************************************************/
/*							contact form							    */
/************************************************************************/

#form {
	padding: 10px 0px 10px 30px;
	border-top: 10px solid #7A878D;
}

body.home #form {
	background-color: #0B787B;
}

body.about #form {
	background-color: #63111B;
}

body.services #form {
	background-color: #95633C;
}

body.portfolio #form {
	background-color: #76afb3;
}

#form .block1 {
	float: left;
	display: block;
	width: 270px;
	border-right: 1px dotted white;
	margin: 5px 30px 0px 0px;
}

.block1 h2 {
	font-family: arial, sans-serif;
	font-size: 15px;
	line-height: 18px;
	margin-bottom: 10px;
	color: white;
}
	
.block1 p {
	font-family: arial, sans-serif;
	font-size: 12px;
	line-height: 13px;
	color: white;
}

.block1 a {
	text-decoration: none;
	color: yellow;
}

.block1 a:hover {
	color: #7A878D;
}

#form .block {
	float: left;
	display: block;
	width: 270px;
}

#form .block2 {
	float: left;
	display: block;
	width: 190px;
}

#contact .submit {
	margin: 10px 0px 0px 0px;}

#form p {
	display: block;
	margin-bottom: 7px;
}

#form p.msje {
	font-size: 12px;
	color: #FFFFFF;
}

#form p.thanks {
	color: #FFFFFF;
	font-size: 13px;
	margin: -18px 0 5px 570px;
}

#form label {
	display: block;
	width: 145px;
	font-family: arial, sans-serif;
	font-size: 13px;
	color: white;
}

body.home #tab {
	background: url(../images/contactform_background_01.gif) no-repeat top;
	height: 39px;
}

body.about #tab {
	background: url(../images/contactform_background_02.gif) no-repeat top;
	height: 39px;
}

body.services #tab {
	background: url(../images/contactform_background_03.gif) no-repeat top;
	height: 39px;
}

body.portfolio #tab {
	background: url(../images/contactform_background_04.gif) no-repeat top;
	height: 39px;
}


#tab p {
	display: block;
	width: 121px;
	text-align: center;
	float: right;
	margin-top: 15px;
}

#tab a {
	color: white;
	text-decoration: none;
	font-size: 1.3em;
}

#tab a:hover {
	color: gray;
}

#tab img {
	padding-left: 7px;
	margin-bottom: -3px;
}

#form ol li {
	margin: 8px 0 0 0;
}

#form div.success h1 {
	float: left;
	color: #FFFFFF;
	font-size: 16px;
	width: 100%;
	text-align: center; 
}

#form div.success {
	margin: 40px 0 0 0;
}

#form div.success p {
	color: #FFFFFF;
	font-size: 13px;
	margin: 0 0 75px 0;
	width: 100%;
	text-align: center;
}

span.error {
	width: 100%;
	float: left;
	color: #FFFFFF;
	font-size: 12px;
	margin: 5px 0 5px 0;
}



/************************************************************************/
/*							logo									    */
/************************************************************************/

#logo {
	width: 100%;
}

#logo .logo {
	width: 399px;
	height: 92px;
	display: block;
	margin: 0px auto;
}


/************************************************************************/
/*							homecontact								    */
/************************************************************************/

#homecontact {
	float: right;
	width: 95px;
	height: 25px;
	text-align: right;
	margin: 0px 25px 3px 0px;
}

#homecontact a {
}

#homecontact img {
	float: left;
	margin-left: 15px;
}

#homecontact a.text {
	display: block;
	float: left;
	font-family: arial, sans-serif;
	font-size: 1em;
	color: gray;
	text-decoration: none;
	line-height: 25px;
}

#submenu {
	float: left;
	margin-left: 501px;
	margin-top: 3px;
}

#submenu li {
	display: inline;
}

#submenu li a {
	float: left;
	display: block;
	width: 100px;
	text-align: center;
	font-family: verdana, sans-serif;
	font-size: 13px;
	text-decoration: none;
	padding-top: 5px;
	border-right: 1px solid gray;
	color: gray;
}

body.about #submenu li.about a:hover,
body.about #submenu li.services a:hover,
body.about #submenu li.portfolio a:hover,
body.about #submenu li.blog a:hover,
body.about #submenu li.about a {
	color: maroon;
}

body.services #submenu li.about a:hover,
body.services #submenu li.services a:hover,
body.services #submenu li.portfolio a:hover,
body.services #submenu li.blog a:hover,
body.services #submenu li.services a {
	color: #95633C;
}

body.portfolio #submenu li.about a:hover,
body.portfolio #submenu li.services a:hover,
body.portfolio #submenu li.portfolio a:hover,
body.portfolio #submenu li.blog a:hover,
body.portfolio #submenu li.portfolio a {
	color: #78b0b4;
}

/************************************************************************/
/*							content									    */
/************************************************************************/

#content {
	float: left;
	width: 100%;
	margin-bottom: 3px;
}

body.about #content {
	float: left;
	width: 100%;
	margin-bottom: 3px;
	background:url(../images/aboutbackground.jpg) no-repeat right top;
}

body.services #content {
	float: left;
	width: 100%;
	margin-bottom: 3px;
	background:url(../images/servicesbackground.jpg) no-repeat right top;
}

body.portfolio #content {
	float: left;
	width: 100%;
	margin-bottom: 3px;
	background:url(../images/portfoliobackground.jpg) #79B0B5 no-repeat right top;
}

body.about #content img, body.services #content img, body.portfolio #content img {
	float: left;
	margin-right: 20px;
}

#maintext {
	float: left;
	width: 700px;
	padding-top: 35px;
	font-family: arial, sans-serif;
	font-size: 13px;
	color: #915329;
}

#maintextB {
	float: left;
	width: 305px;
	padding-top: 35px;
	font-family: arial, sans-serif;
	font-size: 13px;
	color: maroon;
	line-height: 20px;
}

#maintext p, #maintextB p {
	padding-bottom: 10px;
}

#maintext ul {
	list-style: disc;
	list-style-position: inside;
	font-family: arial, sans-serif;
	font-size: 13px;
	line-height: 15px;
	padding-bottom: 20px;
}

#maintext ul.col {
	float: left;
	width: 300px;
}

#content .edgeleft {
	float: left;
	background-color: #7A878D;
	width: 125px;
	height: 419px;
	margin-right: 3px;
}

#content .edgeright {
	float: left;
	background-color: #7A878D;
	width: 125px;
	height: 419px;
}

#menu {
	position: relative;
	list-style:none;
}

#menu li {
	float: left;
	margin-right: 3px;
}

#menu li a, #menu li a span {
	float: left;
	width: 255px;
	height: 419px;
}

#menu li a.about {
	background: url(../images/about-color.jpg) no-repeat;
}

#menu li a.about span {
	background: url(../images/about-gray.jpg) no-repeat;
	margin: 0px;
}

#menu li a.services {
	background: url(../images/services-color.jpg) no-repeat;
}

#menu li a.services span {
	background: url(../images/services-gray.jpg) no-repeat;
}

#menu li a.portfolio {
	background: url(../images/portfolio-color.jpg) no-repeat;
}

#menu li a.portfolio span {
	background: url(../images/portfolio-gray.jpg) no-repeat;
}




/************************************************************************/
/*							footer									    */
/************************************************************************/

#footer {
	float: left;
	width: 100%;
	height: 73px;
	background: url(../images/footerbackground_01.jpg) repeat-x;
	padding-top: 15px;
	text-align: center;
}

#footer p {
	font-family: arial, sans-serif;
	font-size: 1.2em;
	color: #7A878D;
}

#footer a {
	padding-left: 10px;
	text-decoration: none;
	color: #7A878D;
}

#footer a:hover {
	color: white;
}

/************************************************************************/
/*								ZOOM								    */
/************************************************************************/

#zoom_content p.caption {
	font-family: arial, sans-serif;
	font-size: 13px;
}

#portfolio {
	margin-top: 78px;
}

#portfolio .photo a {
	float: left;
	width: 140px;
	height: 140px;
	overflow: hidden;
	border: 10px solid white;
	margin: 0px 70px 10px 0px;
}

#portfolio .photo a:hover {
	float: left;
	width: 140px;
	height: 140px;
	overflow: hidden;
	border: 10px solid gray;
	margin: 0px 70px 10px 0px;
}