header, footer, aside, nav, article {  
    display: block;  
} 

body {
	background-color: #C8E4FA;
	margin: 0 auto;  
	width: 960px;
}

header {
	position: absolute;
	background: url(header.jpg) no-repeat;
	margin: 0;
	padding: 0;
	height: 439px;
	width: 939px;
	z-index: -3;
}

#slider {
	position: relative;
	z-index: -2;
	left: 70px;
}

#slider img {
	display: none;
}

#text {
	position: relative;
	z-index: -1;
	background: url(text.png) no-repeat;
	height: 300px;
	width: 939px;
	top: -170px;
	left: 80px;
}

/*----Navigation Section----*/

nav {
	z-index: 1;
	position: relative;
	text-align: right;
	right: 110px;
	top: 80px;
}

nav li {
	position: relative;
	height: 30px;
	display: inline;
	text-decoration: none;
	padding: 5px;
	margin: 5px;
	font-family: 'Josefin Sans Std Light', arial, serif;
	list-style: none;
	font-size: 32px;
}

nav ul {
	list-style: none;
	padding: 0px;
	margin: 5px;
}

nav ul li a {
	color: #666666;
	text-decoration: none;
	margin: 5px;
}

nav ul li a:link {
	color: #666666;
	text-decoration: none;
	margin: 5px;
}

nav ul li a:hover {
	text-decoration: none;
	margin: 5px;
	color: #3D2E1C;
}
/*----End of Navigation Section----*/


/*----Middle Section----*/

#center {
	position: relative;
	margin: auto;
	margin-bottom: -100px;
	left: 100px;
	top: -110px;
	float: left;
	height: 400px;
}

#center h1 {
	font-size: 24px;
	font-family: 'Josefin Sans Std Light', arial, serif;
}

#center p {
	font-size: 13px;
	font-family: helvetica, arial, serif;
}

#left {
	position: relative;
	width: 250px;
	float: left;
	padding: 10px;
}

#middle {
	position: relative;
	width: 250px;
	float: left;
	padding: 10px;
}

#middle a{
	color: #666666;
	text-decoration: none;
}

#middle a:hover{
	color: #3D2E1C;
}

#right {
	position: relative;
	width: 250px;
	float: left;
	padding: 10px;
}

#right a img{
	text-decoration: none;
	border: none;
}

#right a img:hover {
	box-shadow: 0px 0px 10px #333;
	-webkit-box-shadow: 0px 0px 10px #333;
	-moz-box-shadow: 0px 0px 10px #333;
}


/*----End of Middle Section----*/

/*----Portfolio Section----*/

.item {
	width:225px;
	height:125px;	
	border:0;	
	margin:15px 20px 5px 0;
	left: 110px;
	top: 150px;
	
	/* required to hide the image after resized */
	overflow:hidden;
	
	/* for child absolute position */
	position:relative;
	
	/* display div in line */
	float:left;
	
	box-shadow: 0px 0px 10px #333;
	-webkit-box-shadow: 0px 0px 10px #333;
	-moz-box-shadow: 0px 0px 10px #333;

}

.item .caption {
	width:225px;
	height:125px;
	background:#000;
	color:#fff;
	font-weight:lighter;
	font-family: 'Josefin Sans Std Light', arial, serif;
		
	/* fix it at the bottom */
	position:absolute;
	left:0;

	/* hide it by default */
	display:none;

	/* opacity setting */
	filter:alpha(opacity=80);    /* ie  */
	-moz-opacity:0.8;    /* old mozilla browser like netscape  */
	-khtml-opacity: 0.8;    /* for really really old safari */  
	opacity: 0.8;    /* css standard, currently it works in most modern browsers like firefox,  */

}

.item .caption a {
	text-decoration:none;
	color:#C8E4FA;
	font-size:20px;	
	
	/* add spacing and make the whole row clickable*/
	padding:5px;
	display:block;
}

.item .caption p {
	padding:5px;	
	margin:0;
	font-size:14px;
}

.clear {
	clear: both;
}

#portfolio img {
	border:0;
	
	/* allow javascript moves the img position*/
	position:absolute;

}

#portfolio {
	position: relative;
	margin-bottom: 300px;
	float: left;
}

/*----End of Portfolio Section----*/

/*----Contact Section----*/

#contact {
	position: relative;
	margin: 20px;
	font-family: 'Josefin Sans Std Light', arial, serif;
	font-size: 20px;
	top: 130px;
	width: 730px;
	left: 70px;
	padding: 20px;
	margin-bottom: 300px;
	float: left;
	background-color: #FFFFFF;
	color: #666666;
	
	border: solid;
	border-width: 10px;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-color: #FFFFFF;
	box-shadow: 0px 0px 10px #333;
	-webkit-box-shadow: 0px 0px 10px #333;
	-moz-box-shadow: 0px 0px 10px #333;

}

#contact h1 {
	font-size: 50px;
	padding: 0px;
	margin: 10px 10px 10px 0px;
}

#contact p {
	font-weight:lighter;
}

#contact p a{
	text-decoration: none;
	color: #800000;
}

#contact p a:hover{
	text-decoration: none;
	color: #3D2E1C;
}

/*----End of Contact Section----*/

/*----Footer Section----*/

footer {
	font-family: helvetica, arial, sans-serif;
	position: relative;
	margin: 0px;
	padding: 0px;
	width: 800px;
	top: -120px;
	left: 70px;
	padding: 10px;
	text-align: center;
	float: left;
	color: #333333;
	font-size: 12px;
}

#footer2 {
	font-size: 12px;
}

footer a{
	text-decoration: none;
	color: #333333;
	font-size: 10px;
}

footer a:hover{
	text-decoration: none;
	color: #666666;
	font-size: 10px;
}

footer p{
	font-size: 10px;
}

/*----End of Footer Section----*/


