/*
Theme Name: Code43
Description: The WordPress theme for "Code43"
Version: 1.0
Author: <a href="http://cyrilsuzat.free.fr" target="_blank">Cyril Suzat</a>, <a href="http://floriandub.free.fr">Florian Dubersten</a>
Author URI: http://cyrilsuzat.free.fr
*/


/* Reset
-------------------------------------------------- */

/* Remove annoying border on linked images. */
a img { border: none; }


/* Layout
-------------------------------------------------- */

a:link {
	color: #FFCC00;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #FFCC00;
}
a:hover {
	text-decoration: underline;
	color: #FFCC00;
}
a:active {
	text-decoration: none;
	color: #FFCC00;
}

body {
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	background-color: #333;
	color: #ddd;
}
#container {
	width: 798px;
	border: solid 10px #fff;
	margin: 35px auto;
	text-align: left;
}
#header {
	height: 131px;
	border-top: solid 1px #000;
	border-left: solid 1px #000;
	border-right: solid 1px #000;
	background: #333 url(images/header_bg.jpg) no-repeat;
	position: relative;
}
#page {
	min-height: 352px;
	border-left: solid 1px #000;
	border-right: solid 1px #000;
	background: #000 url(images/page_bg.jpg) no-repeat;
}
#sidebar {
	float: left;
	width: 175px;
	margin-top: 20px;
}
#nav {
	padding: 0 55px 0 20px;
}
#content {
	float: left;
	width: 565px;
	margin: 20px 0 35px 0;
}
#footer {
	min-height: 35px;
	background: #000 url(images/footer_bg.jpg) no-repeat;
	padding: 15px 30px 0 30px;
	text-align: right;
	font-size: 10px;
	border-left: solid 1px #000;
	border-right: solid 1px #000;
	border-bottom: solid 1px #000;
}


/* Header
-------------------------------------------------- */

#header h1 {
	margin: 0;
}
#header h1 a {
	font-size: 1px;
	line-height: 1px;
	width: 370px;
	height: 73px;
	position: absolute;
	top: 20px;
	left: 212px;
	display: block;
	text-indent: -5000px;
	outline: none;
}


/* Sidebar
-------------------------------------------------- */







/* Navigation
-------------------------------------------------- */

#nav ul {
	margin: 20px 0 40px 0;
	padding: 0;
	list-style: none;
	border-top: solid 1px #757575;
}
#nav li {
	margin: 0;
	padding: 0;
}
#nav li a {
	display: block;
	height: 25px;
	line-height: 25px;
	border-bottom: solid 1px #757575;
	text-decoration: none;
	color: #fff;
	outline: none;
}
#nav li a.selected {
	background-color: #333;
}
#nav li a:hover {
	background-color: #CCC;
	color: #000;
}


/* Content
-------------------------------------------------- */

#content h2 {
	font-size: 12px;
	font-weight: bold;
	margin: 10px 0;
}
#content .entry {
	border-bottom: solid 1px #757575;
	padding-bottom: 10px;
}



/* Footer
-------------------------------------------------- */

#footer a {
	color: #ddd;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}



/* Misc classes and elements
-------------------------------------------------- */







/* Clear Floated Elements
-------------------------------------------------- */

/* http://sonspring.com/journal/clearing-floats */

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* http://www.positioniseverything.net/easyclearing.html */

.clearfix:after {
	clear: both;
	content: '.';
	display: block;
	visibility: hidden;
	height: 0;
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}
