  /*
Theme Name: Dia Logos
Theme URI: http://www.dia-logos.net
Description : Thème réalisé pour dia-logos.
Version: 1.0
Author: Benjamin Montré
Author URI: http://www.alkyos.net

© ALKYOS & Dia-Logos
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Arial, 'Lucida Grande',  Verdana, Sans-Serif;
	background-color: white;
	color: #000;
	text-align: center;
	background: #fff3e7 url('images/fond.png') no-repeat;
	margin-bottom: 20px;
}

/* =============================== GLOBAL ================================== */

/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6,
h1 a, h1 a:hover, h2 a, h2 a:hover, h3 a, h3 a:hover, h4 a, h4 a:hover { font-weight: bold; }
h1 a, h2 a, h3 a { text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover { text-decoration: underline; }

h1 { font-size: 1.9em; line-height: 1; margin-bottom: 0.5em; color: #fff; background-color: #990033 }
h2 { font-size: 1.5em; line-height: 1; margin-bottom: 0.75em; color: #990033 }
h3 { font-size: 1.1em; line-height: 1; margin-bottom: 0.75em; color: #ff6433 }
h4 { font-size: 1.1em; line-height: 1.25; margin-bottom: 0.75em; }
h5 { font-size: 1em; margin-bottom: 1.5em; }
h6 { font-size: 1em; }

h1 a, h1 a:hover { line-height: 1; color: #fff; background-color: #990033 }
h2 a, h2 a:hover { line-height: 1; color: #990033 }
h3 a, h3 a:hover { line-height: 1; color: #ff6433 }
h4 a, h4 a:hover { line-height: 1.25; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}

/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; line-height: 1.5em }
p img.left  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { color: #990033; text-decoration: underline }
a           { color: #990033; text-decoration: none; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
blockquote cite {	margin: 5px 0 0; display: block; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; cursor: help^; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre 				{ margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }

strike      { color: #666; }

/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th 		{ background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td  { background: #e5ecf9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }

/* ========================================================================= */


/*-------------------------------------------------------------- */
/*
#recherche #searchform input {
  border: 1px solid #81002b;
  background-color: #ffe8d2;
}
#recherche #searchform input:focus {
  border: 1px solid #81002b;
  background-color: #fff;
}
#recherche #searchform #searchsubmit {
  background-color: #ddd;
}
#recherche #searchform input:focus~#searchsubmit {
  background-color: #eee;
}
*/

/* --------- Navigation
-------------------------------------------------------------- */
#top_nav {
  margin: 0;
  padding: 0 0 18px 10px;
  font-size: 1.1em;
  background-color: #ff9933;
  border-bottom: 1px solid #c4c4c4;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#top_nav ul, #top_nav li {
  margin: 0;
  padding: 0;
  display: inline;
  list-style-type: none;
}
#top_nav a:link, #top_nav a:visited {
  float: left;
  line-height: 14px;
  font-weight: bold;
  margin: 0 5px;
  padding: 0 10px;
  text-decoration: none;
  color: #fff;
}
.current_page_item a:link, #top_nav .current_page_item a:visited, #top_nav .current_page_item a:hover, 
#top_nav .current-cat a:link, #top_nav .current-cat a:visited, #top_nav .current-cat a:hover 
{
  border-bottom: 4px solid #990033;
  padding-bottom: 1px;
  color: #111;
}
#top_nav a:hover { color: #333; }


/* --------- Structure
-------------------------------------------------------------- */
#header {
  width: 980px;
	height: 120px;
}
#header a {padding:0;margin:0}

#content {
	font-size: 1.2em;
	width: 675px;
}

#container {
	width: 980px;
  position: relative;
	margin: 0 auto;
  z-index: 2;
	background-color: #fff;
}

#footer {
	padding: 0;
	width: 980px;
	clear: both;
	}
#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
}
.narrowcolumn, .widecolumn { text-align: left }
.narrowcolumn {
	float: left;
	padding: 0 25px 20px 25px;
}
.widecolumn {
	padding: 10px 0 0px 0;
	margin: 5px 0 0 150px;
	line-height: 1.6em;
}


/* --------- Sidebar
-------------------------------------------------------------- */
#sidebar {
	margin-left: 725px;
	width: 240px; !important
	width: 239px;
	/*background-color: #FFEBD7;*/
  text-align: left;
  font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
  color: #555;
  background-color: #f0f0f0;
}
#sidebar ul {
	margin: 0;
	padding: 0;
}

#sidebar h2 {
	margin: 0 0 10px 0;
	padding: 0;
}

.sidebar-box {
  padding: 0 10px 10px 10px;
  margin-bottom: 15px;  
}
.sidebar-box hr { height:1px; width: 80%; display: block; border:0; border-bottom: 1px solid #e7e7e7; margin-bottom: 10px }

/* items de liste hors articles */
.sidebar-box ul li { 
	list-style-type: none;
	list-style-image: none;
	margin: 2px 0 0;
}

.sidebar-box .articles { margin-bottom: 14px; }
.sidebar-box .articles ul li {
  list-style-type: disc;
  list-style-position: outside; 
  margin: 5px 0 0 12px;
}
.sidebar-box .articles ul ul li { list-style-type: circle; }

.sidebar-box p { margin: 5px 0 8px; }

#sidebar .gris { padding-top: 15px; border-bottom: 1px dotted #ccc }

#references h2, #references a { color: #555 }
#references li { margin: 1em 0; font-weight: bold; }
#ressources h2, #ressources a { color: #555 }
#ressources li { margin: 1em 0; font-weight: bold; }
	
/* --------- Typo & positioning
-------------------------------------------------------------- */
.thread-alt {	background-color: #f8f8f8; }
.thread-even { background-color: white; } 

.depth-1 { border: 1px solid #ddd; }

.even, .alt { border-left: 1px solid #ddd; }

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
}

.smaller { font-size: 0.9em }
.notbmargin { margin-top: 0; margin-bottom: 0 }

span.caps {
	font-size: 0.9em;
	letter-spacing: .07em;
	cursor: help;
}

.clear { clear: both; }

.center {	text-align: center;	}

.hidden {	display: none; }

hr { display: none;	height: 0; }

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 45px;
}
.navigation a { color: #dc842c }

.alignright {	float: right;	}
.alignleft { float: left; }
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* --------- Images
-------------------------------------------------------------- */
p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.refthumb { margin-right: 15px; vertical-align: middle; }

/* --------- Lists
-------------------------------------------------------------- */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style-position: outside;
	padding-left: 10px;
}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

ol li {	list-style: decimal outside;	}


/* --------- Forms
-------------------------------------------------------------- */
#sidebar form {	margin: 0; }

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform {
	margin: 5px 10px 0 0;
}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
}

#respond:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}


/* --------- Comments
-------------------------------------------------------------- */
.commentlist {
	padding: 0;
	text-align: justify;
	}
	
.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist li {
  font-weight: bold;
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
	}

.commentlist li ul li {
  font-size: 1em;
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	margin: 10px 5px 10px 0;
}

#commentform p {
  font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
  margin: 5px 0;  
}

.commentmetadata {
  font-weight: normal;
	margin: 0;
	display: block;
}

.alt {
	margin: 0;
	padding: 10px;
}

.children { padding: 0; }

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	color: #666;
}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
}
	
/* --------- Calendar
-------------------------------------------------------------- */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #prev a, #wp-calendar #next a { font-size: 9pt; }

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	text-decoration: none;
	}

#wp-calendar caption {
  font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	width: 100%;
	text-decoration: none;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}


/* --------- Captions
-------------------------------------------------------------- */
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}


/* --------- Icons
-------------------------------------------------------------- */
body a.noicon { 
	background:transparent none !important; 
	padding:0 !important; 
	margin:0 !important; 
}
/* Make sure the icons are not cut */
a[href^="http:"],
a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"], 
a[href$=".rdf"] {
  padding:2px 13px 2px 0;
  margin: -2px 5px -2px 0;
  background-repeat: no-repeat;
  background-position: right center;
}
a[href^="http:"]          { background-image: url('icons/external.png'); } 
a[href^="http://www.dia-logos.net"] {
  padding:2px 0 2px 0;
  margin:-2px 0;
  background-image: none;
}
a[href$=".pdf"]   { background-image: url('icons/pdf.png'); }  
a[href$=".doc"]   { background-image: url('icons/doc.png'); }  
a[href$=".xls"]   { background-image: url('icons/xls.png'); }  
a[href$=".rss"], 
a[href$=".rdf"]   { background-image: url('icons/feed.png'); }

a.site { background-image: none; }


/* --------- Posts
-------------------------------------------------------------- */
.entry p a:visited { color: #b85b5a; }

.post {
	margin: 0 0 40px;
	text-align: justify;
	}
.post hr { display: block; }
.post h2 { margin-bottom: 0; clear: both; }

#post_nav { margin-bottom: 1.5em; text-transform: lowercase }
#post_nav2 { border-bottom: 1px solid #ddd; margin-bottom: 1em; text-transform: lowercase }
.post_date, #post_date { display: block; color: #999; font-size: 0.9em; font-style: italic; margin-bottom: 1em }

.postmetadata {
  clear: both;
  background-color: #eee;
  line-height: 1.3;
  padding: 4px 10px;
  border:1px solid #dfdfdf;
  border-width: 1px 0
}

hr.sepa {
  border-width:1px 0 0 0;
  border-style: dotted;
  border-color: #bbb;
  color: black;
  display: block;
  line-height: 1px;
  margin: 0 13em 2em;
  padding-top: 0
}

.narrowcolumn .entry, .widecolumn .entry { line-height: 1.4em; }

.narrowcolumn .postmetadata { text-align: center; padding-top: 5px;	}

.widecolumn .post {	margin: 0; }
.widecolumn .postmetadata {	margin: 30px 0; }
.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}
.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}
.widecolumn .entry p { font-size: 1.05em; }

/* ------------*/

#recherche {
  position: absolute;
  right: 10px;
  top: 44px;
}
#recherche #searchform {
	background: url('images/searchbox.png') no-repeat;
	width:215px;
	height:25px;
	display:block;
}
#recherche #searchform input {
	background:none;
	color: #333;
	border: 0;
	width:185px;
	float:left;
	margin-right:2px;
	padding-left:4px;
	margin-top: 4px;
}
#recherche #searchform #searchsubmit {
	background:none;
	border: 0;
	width:18px;
	height:18px;
	cursor:pointer;
	float:left;
	margin-top: 4px;
}
/* ------- TOC ------- */
div.toc {
	border: 1px solid #ccc;
	font-size: .9em;
  margin: 5px 10px 20px 0;
	background-color: #f3f3f3;
  display: inline-block;
}
div.toc a.toc-header {
	display: block;
	background-color: #f8f8ec;
	border-bottom: 1px solid #f0f0e0;
	color: #555;
	padding: 1px 7px;
	text-align: left;
	font-size: 1.2em;
	font-weight: bold;
}

div.toc a.toc-header:hover { background-color: #ffebd7; text-decoration: none }
div.toc ul {
	  list-style-type: disc;  
list-style-position: inside;
  margin: 7px 20px 7px 10px;
	overflow: hidden;
	white-space: nowrap;
}
div.toc.auto-collapse ul { display: none }
div.toc li { line-height: 1.4em; display: block; }
div.toc li a { text-decoration: none;	color: #777; }
div.toc li a:hover { text-decoration: underline; }
div.toc li.toc-level-1 { font-weight: bold }
div.toc li.toc-level-2 { font-weight: bold;	padding-left: 0; }
div.toc li.toc-level-3 { font-weight: bold; padding-left: .2em }
div.toc li.toc-level-4 { padding-left: 0.8em }
div.toc li.toc-level-5 { padding-left: 1.4em }
div.toc li.toc-level-6 { padding-left: 1.9em }

/* ------- Categories ---------- */

#archivetitle {
  color: white;
  background-color: #990033;
  float: left;
  padding: 20px 50px 20px 25px;
  margin-left: -25px;
  margin-right: 10px;
  font-weight: bold;
  text-transform: capitalize;
}
#archivetitle a { color: white; }
.archivedescr, #archivedescr {
  margin-bottom: 0.2em;
}
strong.archivedescr,
strong#archivedescr { color: #990033; text-align: left; font-size: 1.35em; line-height: 1.2em; font-weight: bold; }
strong#archivedescr { position: relative; top: 0em; }
h2.archivedescr { text-align: left; font-size: 1.8em; }
#services {
  clear: both;
}
.service {
  width: 200px;
  float: left;
  text-align: left;
  line-height: 1.3em;
  margin: 0 5px;
  border: 1px dotted orange;
  border-width: 0 0 0 1px;
  padding: 0 5px;
}
.service h2 { padding: 1em 0 0; height: 2em; line-height: 1em; }
.service h2 a:hover { text-decoration: underline; }
.service h3 { margin-top: 2em; padding-left: 0.4em }
.service li { margin-bottom: 0.5em }

.entry h3, .hentry h3 { margin-bottom: 0 }

.sous_services { text-align: justify }
.sous_services h3 { margin-bottom: 0.5em; margin-left: 1em }

.ref { margin-top: 2em; margin-left: 15.6em; }
.ref .site { font-size: 1.2em; font-weight: bold; }
.ref p { margin-bottom: 0.1em; }

.ressources h2 { text-transform: uppercase; margin-top: 2em }
.ressources h3 { margin-bottom: 0.1em }
.ressources div { padding: 0 0.5em; }
#ressources_sommaire li { padding: 2px; text-transform: uppercase; font-weight: bold; }

.archive h2 { color: black }
/* ------- Pages ---------- */
#swfaccueil { margin-bottom: 3em }
.page h2 { font-variant: small-caps; clear: both;  }
/*.archive h1, .archive h1 a, .archive h1 a:hover { background-color: white; color: #990033 }
.archive h2, .archive h2 a, .archive h2 a:hover { text-transform: capitalize }*/

/* ------- Contact ---------- */
.formcontainer .information { margin:0 }
.contact-form  { margin:0 }
.contact-form legend { font-weight: bold; }
.contact-form fieldset{ text-align: left; margin-top: 1em }
.form-submit .button { margin: 1em 0 }

/* ----- Extras ----- */
a.post-edit-link { margin: 0 10px; padding: 0 10px; line-height: 1em; border: 1px dashed green; background-color: #dfd }
#page object { margin-bottom: 1em }
.st-tag-cloud { padding: 10px 10px 15px 10px; border-bottom: 1px dotted #ccc }
a.up { clear: both; float: right; text-align: right; color: #999; text-decoration : none }
a.up:hover { text-decoration: underline }
