/* Generic Settings
--------------------------------------------------------*/
* {
	margin: 0;
	padding: 0;
}
.clear {
	clear: both;
}
img {
	border-style: none;
}
.spacer {
	background-image: url(../images/spacer.gif);
	background-position: left top;
	background-repeat: repeat;
	clear: both;
	height: 3em;
}
.divider {
	margin: 2em 0 0.5em 180px;
	border-top: 1px solid #1b1816;
	border-bottom: 1px solid #4c4443;
}
/* Website Structures
--------------------------------------------------------*/
html {
	background-image: url(../images/bground_html.jpg);
	background-position: center top;
	background-repeat: repeat;
	background-color: #262221;
}
body {
	background-image: url(../images/bground_body.jpg);
	background-position: center top;
	background-repeat: repeat-x;
	height: 690px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
}
#bground {
	background-image: url(../images/bground.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	height: 399px;
}
#content-container {
	width: 850px;
	margin: 0 auto;
	clear: both;
}
#content {
	float: right;
	width: 680px;
	margin: 1.65em 35px 1.65em 0;
}
/* Header
--------------------------------------------------------*/
#header {
	width: 850px;
	height: 120px;
	margin: 0 auto;
	position: relative;
}
#header img {
	border-style: none;
	float: right;
	margin-top: 17px;
}
#header span {
	display: none;
}
#tagline {
	background-image: url(../images/tagline.jpg);
	background-position: left top;
	background-repeat: no-repeat;
	height: 13px;
	width: 346px;
	position: absolute;
	bottom: 10px;
}
/* Footer
--------------------------------------------------------*/
#footer {
	clear: both;
	background-image: url(../images/divider.gif);
	background-position: center top;
	background-repeat: repeat-x;
	padding: 0.5em 0;
	position: relative;
}	
#footer p {
	font-size: 70%;
	text-align: right;
	color: #6e6664;
	width: 680px;
	margin: 0 auto;
	padding-right: 170px;
}
#footer img {
	position: relative;
	top: 5px;
}
#koonbao {
	font-weight: bold;
	letter-spacing: 0.05em;
	color: #9f9797;
}
/* Navigation
--------------------------------------------------------*/
#nav {
	width: 134px;
	float: right;
	margin-top: 45px;
	padding-top: 2px;
	background-image: url(../images/divider.gif);
	background-position: left top;
	background-repeat: repeat-x;
}
#nav li {
	list-style-type: none;
	background-image: url(../images/divider.gif);
	background-position: left bottom;
	background-repeat: repeat-x;
	
}
#nav li a {
	background-image: url(../images/nav_pointer_off.gif);
	background-position: left 1.5em;
	background-repeat: no-repeat;
	display: block;
	height: 2.5em;
	padding: 1.2em 0 0 0.9em;
	font-size: 70%;
	color: #9f9797;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
#nav li a:hover {
	color: #c4df10;
	background-image: url(../images/nav_pointer_hover.gif);
	background-position: left 1.5em;
	background-repeat: no-repeat;
}
#active a {	
	color: #c4df10;
}
#active a:link, #active a:visited, #active a:hover {	
	color: #c4df10;
	background-image: url(../images/nav_pointer_on.gif);
	background-position: left 1.5em;
	background-repeat: no-repeat;
	display: block;
	height: 2.5em;
	padding: 1.2em 0 0 0.9em;
}
/* Links
--------------------------------------------------------*/
a:link {
	color: #9f9797;
	text-decoration: none;
}
a:visited {
	color: #a6bd0e;
	text-decoration: none;
}
a:hover {
	color: #c4df10;
	text-decoration: underline;
}
a:active {
	color: #c4df10;
	text-decoration: none;
}
/* Headings
--------------------------------------------------------*/
h2 {
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 90%;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: #fff;
	background-image: url(../images/divider.gif);
	background-position: left bottom;
	background-repeat: repeat-x;
	padding-bottom: 0.3em;
	margin-bottom: 0.2em;
}
h3 {
	font-size: 70%;
	font-weight: lighter;
	color: #c4df10;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background-color: #2d2827;
	padding: 5px 8px;
	margin-top: 0.45em;
	width: 155px;
	float: left;	
}
h4 {
	font-size: 70%;
	color: #fff;
	margin-left: 180px;
	padding-top: 0.2em;
}
	
/* Content Text, Text Container
--------------------------------------------------------*/
#content p {
	font-size: 70%;
	color: #88807e;
	text-align: justify;
	line-height: 1.65em;
	letter-spacing: 0.05em;
	margin-bottom: 1.1em;
}
.text-container {
	margin-top: 1.8em;
}
.text-container p {
	margin-left: 180px;
	width: 495px;
}
/* Project - Home
--------------------------------------------------------*/
#projects img {
	background-color: #2d2827;
	padding: 5px; 
	position: relative;
	z-index: 1;
}
#projects li.clear-margin-right {
	margin-right: 0;
}
#projects {
	list-style-type: none;
}
#projects li {
	display: block;
	width: 220px;
	height: 145px;
	float: left;
	margin: 10px 10px 0 0;
	background-image: url(../images/bground_viewproject.jpg);
	background-position: left top;
	background-repeat: no-repeat;
	position: relative;
}
#projects li a {
	display: block;	
	width: 220px;
	height: 145px;
	text-align: center;
	text-decoration: none;
	letter-spacing: 0.2em;
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 75%;
	color: #74706f;
}
#projects li strong {
	display: block;
	width: 210px;
	padding: 5px;	
	position: absolute;
	top: 50px;
	left: 0;
	color: #fff;
}
#projects li strong span{
	font-weight: lighter;
	color: #74706f;
}
/* Project detail page
--------------------------------------------------------*/
.project-img {
	padding: 5px;
	margin: 0.3em 0;
	float: right;
	background-color: #2d2827;
}
#project-gallery {
	list-style-type: none;
	margin:0 0 0.5em 180px;
	padding-bottom: 0.4em;
	background-image: url(../images/divider.gif);
	background-position: left bottom;
	background-repeat: repeat-x;
}
#project-gallery li {
	display: inline;
	margin-right: 2px;
}
#project-gallery li img, #project-gallery li img:link{	
	border: 3px solid #2d2827;
}
#project-gallery li img:hover{	
	border: 3px solid #c4df10;
}
.backbutton {
	margin-left: 180px;
	font-size: 70%;
}
.backbutton a {	
	background-image: url(../images/nav_pointer_on.gif);
	background-position: left 0.4em;
	background-repeat: no-repeat;
	padding-left: 10px;
	color: #9f9797;
}
.backbutton a:hover {	
	color: #c4df10;
}









