/**
 *	===================
 *	www.delcourt.be CSS
 *	===================
 *	Author: 		kant [kant312@gmail.com]
 *	Created on:		04/03/2009
 */

/*	-----------------------------------------------
 * 	- Common styles
 *	-----------------------------------------------
 */
 
img {
	border:none;
	margin:0;
	padding:0;
}

a {
	color:#fff;
}
a:hover {
	color:#dBe3f5;
}

p {
	margin: .75em 0 0.25em;
}

ul {
	margin: 0;
	padding:0 0 0 20px;
}

/* Headings */
h1 {
	font-size:200%;
	margin:0 0 20px 0;
}
h2 {
	font-size:1.3em;
	margin:1.5em 0 0.75em;
	/*text-decoration:underline;*/
}
h3 {
	font-size:140%;
	margin:1em 0 0.25em 0;
}

/* Tables */

table {
	border-collapse:collapse;
	margin:0;
}

thead th {
	/*background-color:#3B4355;*/
	font-size:1.6em;
	padding:.5em 0;
	text-align:left;
}

tbody th {
	text-align:left;	
}

tbody tr {
	border-bottom: 1px solid #444;
}

tbody td, tbody th {
	padding: .25em 0;	
	vertical-align:top;
}

tbody tr:hover td, tbody tr:hover th {
	/*background-color:#3B4355;*/
	background-color:#1B2335;
}

/*	-----------------------------------------------
 * 	- Structure
 *	-----------------------------------------------
 */

body {
	background:#222 /*url(../img/bg/bg.png) 0 0 repeat-y*/;
	font: normal 12px/1.5em Lucida Sans, Trebuchet Ms, Helvetica, Arial, sans-serif;
	margin:0;
	min-width: 960px;
	padding:0;
	text-align:center;
}

#container {
	/* Grid background : delete this line when CSS dev OK */
	/*background:url(../img/bg/grid.png) top left no-repeat;*/
	color:#eee;
	margin: 0 auto;
	text-align:left;
	width: 940px;
}

/* Branding */
#branding {
	line-height:0;
	margin:10px 0;
}

/* Navigation */
#nav {
	background:#434C85 url(../img/bg/menu.png) 0 100% repeat-x;
	float:left;
	list-style:none;
	margin:0;
	padding:0;
	width:100%;
}

#nav li {
	display:inline;
}

#nav li a {	
	background:#434C85 url(../img/bg/menu.png) 0 100% repeat-x;
	color:#eef;
	display:block;
	float:left;
	font-weight:bold;
	padding:10px 5px 10px 10px;
	text-align:center;
	text-decoration:none;
	width:140px
}

#nav li.selected a, #nav li a:hover {
	background-color:#333C95;
	background-position: top left;
	color:#fff;
}

/* Visual */

#visual {
	background: url(../img/banners/homepage.jpg) top left no-repeat;
	clear:left;
	height:200px;
	width:100%;
}

body#rea #visual { background-image: url(../img/banners/rea.jpg); }
body#ref #visual { background-image: url(../img/banners/ref.jpg); }
body#contact #visual { background-image: url(../img/banners/contact.jpg); }

/* Content */
#content {
	background-color:#151515;
	padding: 20px 10px 10px;
}

/* Footer */
#footer {
	background:#333 url(../img/bg/footer.png) top left repeat-x;
	margin: 0;
	padding:1em;
	text-align:center;
}


/*	-----------------------------------------------
 * 	- Homepage
 *	-----------------------------------------------
 */

#about {
	float:left;
	margin-right:10px;
	padding: 0 10px 0 0;
	width:520px;
}

#focus {
	float:right;
	width:380px;
}

#focus h2 {
	font-size: 1.2em;
	margin-top:18px;
	text-transform:uppercase;
}

#focus h3 {
	border-bottom:2px solid #fff;
	font-size: 1.7em;
	line-height: 1.5em;
	text-transform:uppercase;
}

#focus #cycle {
	height:285px;
	margin-bottom: 1em;
	position:relative;
	width:380px;
}
#focus #cycle .feature {
	display:block;
	left:0;
	position:absolute;
	top:0;
}

 
/*	-----------------------------------------------
 * 	- Projects
 *	-----------------------------------------------
 */

#projects {
	list-style:none;
	margin:0;
	padding:0;
}

#projects li {
	border-top: 1px solid #666;
	overflow:hidden;
	padding: .5em 0 2.5em 0;
	width:100%;
}

#projects li.last {
	border:none;
}

#projects h2 {
	font-size: 1.2em;
	margin-top:0;
}

#projects img {
	float:left;
	padding-right: 1em;
}

ul.gallery {
	list-style:none;
}

ul.gallery li {
	display:inline;
}

ul.gallery li a {
	float:left;
	display:block;
	height:140px;
	outline:none;
	width:140px;
	text-align:center;
}

#projects ul.gallery img {
	float:none;
	padding:0;
}
 
/*	-----------------------------------------------
 * 	- References
 *	-----------------------------------------------
 */

body#ref h2 {
	background:#3B4355;
	padding: .25em;
	/*border-bottom:solid 1px #3B4375;*/
}

 
/*	-----------------------------------------------
 * 	- Accessibility
 *	-----------------------------------------------
 */

#skip_nav {
	left:-9999px;
	position:absolute;
	top:0;
	width:100px;
}

/*	-----------------------------------------------
 * 	- Things to hide...
 *	-----------------------------------------------
 */

.hide {
	left:-9999px;
	position:absolute;
	top:0;
	width:100px;
}

/*	-----------------------------------------------
 * 	- Clearfix
 *	-----------------------------------------------
 */

.clearfix:after
{
    content:"."; 
    display:block; 
    height:0; 
    clear:both; 
    visibility:hidden;
}
.clearfix
{
	display:inline-block;
}
/* Hides from IE-mac \*/
* html .clearfix
{
	height: 1%;
}
.clearfix
{
	display:block;
}
/* End hide from IE-mac */