/***************************************
 * CSS perso asiebert
 ***************************************/

/**
 * 	Éléments principaux
 */
* {
	margin:0;
	padding:0;
}

body {
	background :#22232A url('../img/debut_dark.png') repeat center center;
	color: black;
	
	font-size: 13px;
	font-family: "Droid Sans", Verdana, Helvetica, Arial, sans-serif;
}

div#wrapper {
	width: 950px;
	margin: auto; /* Centered */
	margin-bottom: 15px;

	background: url('../img/2nd_layer_bg.png') repeat-y center center;
	border-bottom: 2px solid #BFBFBF;
	border-radius: 5px;
}

p {
	text-align: left;
}

h1 {
	font-family: 'Droid Sans', sans-serif;
	font-size: 22px;
	text-align: center;
}

h2 {
	font-family: 'Droid Sans', sans-serif;
	font-size: 18px;
	margin: 20px 10px 10px 10px;
	padding-left: 20px;
	border-bottom: 1px solid #7777BB;
}

h3 {
	font-family: 'Droid Sans', sans-serif;
	font-size: 14px;
	margin-top: 15px;
	margin-left: 10px;
}

h4 {
	font-size: 1.1em;
}

em {
	text-decoration: italic;
	font-size: 0.9em;
}

nav {
	margin: 15px;
}



/* Header */

div#header {
	margin:auto;
	width: 95%;
	
	/*background-image: url("../img/header.png");*/
	color: #eee;
	position: relative; /*IE Hack overflow*/
}

div#left_header {
	margin: 10px;
	margin-right: 20px;
	padding: 0px 10px;
	
	vertical-align: middle;
	float:left; 
}
div#left_header img {
	float:left;
}
div#header ul#tab_links {
	margin-left: 100px;
	list-style-type: none;
	line-height: 1.5em;
}

div#header h1 {
	padding-top: 25px;
}
div#language_switcher {
	float:right;
	margin: 20px;
}
div#header a {
	color: #ddd;
}

div.float_left {
	float: left;
	margin: 20px;
	margin-top: 0px;
}

hr {
	margin: 20px 0px;
}

ul {
	list-style-type: disc;
	margin-left: 60px; 
	text-align: left;
}



/* Content */

div#content {
	background: url('../img/cream_dust_darker.png') #EBEBEB repeat;
	min-height: 290px;
	height: auto;
	
	padding: 15px;
	padding-bottom: 40px;
	
	border-radius: 5px;
	box-shadow: 3px 5px 8px #aaa;
}
/*IE Hack for min-height*/
/*\*/
* html #content { height: 350px; }
/**/

div#content p {
	margin: 10px;
}

div .clear {
	clear: both;
}


/* Footer */

div#footer {
	margin: auto;
	margin-top: 15px;
	width: 90%;
	padding: 10px;
	height: 42px;
	clear: both;
	
	background: url("../img/icon_ribbon.png") no-repeat;
	
	color: #ddd;
	text-align: center;
}


/**
 * 	DIVERS
 */

img {
	border: 0;
}

a:link, a:visited {
	text-decoration :none;
}
a:hover {
	text-decoration :underline;
}

	
/* Formulaire */

button {
	padding: 1px;
	margin: 1px;
	background: none;
	border: 1px solid #CCC;
	border-radius: 2px;
	cursor: pointer;
	color: black;
}
button:hover {
	border-color: #999;
}

input {
	margin: 2px;
}

/**
 * Resume bits
 */
table {
    margin: 10px 40px;
}

td {
   padding: 3px;
}

td.skill_table_left_header {
    padding: 20px;
    font-weight: bold;
    writing-mode: sideways-lr;
    text-orientation: mixed;
}

td.skill_table_right_header {
    padding: 20px;
    font-weight: bold;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.high_prof {
    background-color: #DFEFFF;
}


/**
 * Projects bits
 */
div.project_meta {
	float: right;
	position: relative;
	top: -50px;
	
	width: 100px;
	margin: 20px;
	
	padding: 5px;
	
	background-color: #fff;
	box-shadow: 0px 0px 3px #bbb;
}

div.download_box {
	margin: 20px auto;
	padding: 3px;
	width: 80%;
	
	background-color: #ccc;
}
div.download_box img {
	vertical-align: middle;
}

/**
 * Tags
 */
div.tag {
	display: block;
	width: 50px;
	float:right;
	
	border: 1px dotted #bbb;
	border-radius: 3px;
	margin: 1px;
	
	font-size: 10px;
}

div.php_tag { background-color: #DADAFF; }
div.android_tag { background-color: #B1CC5C; }
div.java_tag { background-color: #FFF2C4; }
div.c_tag { background-color: #FFDBD7; }
div.node_js_tag { background-color: #8BC84B; }

/**
 * Images
 */
div.gallery {
	text-align: center;
	margin: 40px 0px;
}

a.fancybox img {
	max-width: 250px;
	max-height: 150px;
	text-align: center;
	vertical-align: middle;
	margin: 10px;
}

/**
 * Information banners
 */
div.info, div.success, div.warning, div.error
{
	border: 1px solid blue;
	border-left-width: 5px;
	border-radius: 0px 8px 8px 0px;
	
	width: 480px;
	margin: 5px auto;
	padding: 3px 4px 3px 24px;
	
	background-position: 6px 4px;
	background-repeat: no-repeat;
}

div.info
{
	border-color: #6297BC;
	background-color: #D2E2EC;
	color:#333333;
	
	background-image:url("../img/icon_info.png");
}

div.info a
{
	color:#213749;
}

div.info a:hover
{
	color:#DCEDFF;
	background-color:#3A4672;
}


div.success
{
	border-color: #62BC68;
	background-color: #BCE09D;
	color:#333333;
	
	background-image:url("../img/icon_success.png");
}

div.warning
{
	border-color: #E6E85C;
	background-color: #F6F79D;
	color:#333333;
	
	background-image:url("../img/icon_warning.png");
}

div.warning a:hover
{
	background-color: #B7B92C;
	color: #FFFFFF;
}

div.error
{
	border-width: 3px;
	border-left-width: 5px;
	
	border-color: red;
	background-color: #EA6158;
	color:white;
	font-weight:bold;
	
	background-image:url("../img/icon_error.png");
}

div.error a
{
	color:#8CBCDE;
}

