/*Optimal Web Design Styles*/

/***************Structure*****************/

/*global whitespace reset*/
*{
	margin:0;
	padding:0;
}


body {
	background-color: #333333;
	background-image: url(../images/body_bg.png);
	background-repeat: repeat-x;
	background-position: top left;
	text-align: center;
	font-family: sans-serif;
	font-size: 14px;
}

#container {
	width: 990px;
	margin-left: auto;
	margin-right: auto;
	background-color:transparent;
	text-align: left;
	position: relative;
}

#header {
	width: 990px;
	height: 85px;
	background-image: url(../images/header_bg.png);
	background-repeat: no-repeat;
	margin-top: 20px;
	position: relative;
}

#header img {
	border: none;
	margin-left: 20px;
}

#header p {
	display: inline;
	text-align: center;
	color: #ffffff;
}

#header #email {
	position: absolute;
	top: 25px;
	right: 250px;
}

#email a:link, #email a:visited {
	text-decoration: none;
	color: #009ee0;
}

#email a:hover {
	text-decoration: underline;
} 

#header #tel {
	position: absolute;
	top: 25px;
	right: 77px;
}

#navigation {
	margin-top: 20px;
	width: 990px;
	height: 58px;
	background-image: url(../images/nav_bg.png);
	background-repeat: no-repeat;
	background-position: bottom left;
}

#navigation ul {
	display: inline;
	list-style: none;
	margin-left: 10px;
	text-align: center;
	width: auto;
	height: 40px;
	float: left;
}

#navigation li {
	display: inline;
	width: 131px;
	float: left;
}

#navigation a:link, #navigation a:visited {
	width: 131px;
	text-decoration: none;
	color: #333333;
	font-weight: bold;
	float: left;
	padding-top: 6px;
	line-height: 34px;
}

#navigation a:hover {
	text-decoration: underline;
}

#home #nav_home a,
#web #nav_web a,
#portfolio #nav_port a,
#contact #nav_cont a {
	background-image: url(../images/tab.png);
}


#curve {
	background-image: url(../images/cont_top_bg.png);
	background-position: top left;
	width: 990px;
	height: 30px;
	margin-top: -18px;
}

#intro {
	width: 990px;
	height: 360px;	
	background-image: url(../images/intro_bg.png);
	background-repeat: repeat-x;
	background-position: top left;
	position: relative;
}

#intro img {
	position: absolute;
	bottom: 0px;
	right: 0px;
	z-index: 1;
}

#intro h1 {
	z-index: 2;
	font-family: arial;
	color: #009ee0;
	font-weight: normal;
	width: 490px;
	height: auto;
	margin-left: 30px;
	font-size: 55px;
	margin-bottom: 20px;
}

#intro p {
	width: 490px;
	margin-left: 30px;
	margin-bottom: 20px;
	text-align: justify;
}

#main_content {
	width: 990px;
	height: 340px;
	background-image: url(../images/lower_cont_bg.png);
	background-repeat: no-repeat;
	text-align: justify;
}

#left {
	height: 290px;
	width: 621px;
	float: left;
	/*overflow: auto;*/
}

#home #left {
	background-image: url(../images/left_bg.png);
	background-repeat: no-repeat;
}

#recent {
	width: 520px;
	height: 170px;
	background-color: transparent;
	margin-left: auto;
	margin-right: auto;
	margin-top: 58px;
}

#recent img {
	border: solid 1px #cccccc;
}

#recent .first {
	float: left;
}

#recent .second {
	float: right;
}

#right {
	height: 290px;
	width: 369px;
	background-image: url(../images/right_bg.png);
	background-repeat: no-repeat;
	float: right;
	/*overflow: auto;*/
}

#right h3 {
	font-weight: bold;
	font-size: 14px;
	padding-left: 30px;
	padding-right: 30px;
	margin-bottom: 20px;
	margin-top: 20px;
}

#right p {
	padding-left: 30px;
	padding-right: 30px;
	margin-bottom: 20px;
}

.contact_details,
.contact_details a:link,
.contact_details a:visited {
	font-weight: bold;
	color: #009ee0;
	text-decoration: none;
}

.contact_details a:hover {
	text-decoration: underline;
}

p.error {
	color: #ff9900;
	margin-left: 20px;
}

p.success {
	color: #009ee0;
	margin-left: 20px;
}

#cont_form {
	width: 300px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
}

#cont_form td {
	margin-bottom: 5px;
	margin-top: 5px;
	padding-bottom: 5px;
	
}

#cont_form input {
	width: 200px;
	border: solid 1px #66cccc;
	background-color: #ffffff;
}

#cont_form textarea {
	width: 200px;
	height: 100px;
	border: solid 1px #66cccc;
	background-color: #ffffff;
}

#cont_form input.subbtn {
	border: none;
	height: 41px;
	width: 100px;
	border: 0px solid #FFFFFF;
	cursor: pointer;
	float:right;
	text-decoration: none;
	color: #009ee0;
	text-align: center;
	background-image: url(../images/button_bg.png);
	background-repeat: no-repeat;
	line-height: 41px;
	font-weight: bold;
	font-family: sans-serif;
	font-size: 14px;
	margin-right: 10px;
}

.label {
	font-weight: bold;
	color:  #009ee0;
	vertical-align: top;
	margin-top: 3px;
	text-align: right;
	padding-right: 10px;
}

.mandatoryerror, .mandatoryerrorerror {
	color: #ff9900;
	text-decoration: underline;
}

#contact #left h2 {
	font-size: 20px;
	color: #333333;
	text-align: center;
	font-weight: bold;
	margin-top: 20px;
}


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

#footer {
	width: 990px;
	height: 100px;
}

#footer p {
	margin-top: 10px;
	margin-left: 20px;
	color: #999999;
}

#footer img {
	margin: 0;
	padding: 0;
	vertical-align: middle;
}




