/*
	www.mdph37.fr
	
	avril 2006
	
	Couleurs inversées
*/

/* Les éléments HTML en général
-------------------------------------------------------- */
html, body {
	margin: 0;
	padding: 0;
	text-align: center;
	background: #111;
	color: #ccc;
}
body {
	font-size: 80%;
	line-height: 1.6em;
	font-family: "Trebuchet MS",Verdana,Geneva,Helvetica,"Bitstream Vera Sans",sans-serif;
}

h1 { font-size: 2em; margin: 0.67em 0; }
h2 { font-size: 1.5em; margin: 0.83em 0; }
h3 { font-size: 1.17em; margin: 1em 0; }
h4 { font-size: 1em; margin: 1.33em 0; }
h5 { font-size: 0.83em; margin: 1.67em 0; }
h6 { font-size: 0.67em; margin: 2.33em 0; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
}
h2, h4, h6 {
	color: #844FDE;
}
h3, h5 {
	color: #c96;
}

pre, code, kbd { font-size: 1.2em; }

pre {
	width: 100%;
	overflow: auto;
	border: 1px solid #333;
}

acronym, abbr {
	cursor: help;
	border-bottom: 1px dotted #999999;
}

/* Elements de formulaire */
fieldset { border: none; }

label {
	cursor: pointer;
	cursor: hand;
}

.field label { display: block; }

input, textarea { border: 1px solid #666; }

textarea {
	width: 100%;
	font-size: 1em;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

input[type=submit] {
	background: #111;
	color: #ccc;
}
input[type=submit]:hover,
input[type=submit]:active,
input[type=submit]:focus {
	background: #333;
	color: #ccc;
	cursor: pointer;
	cursor: hand;
}

/* Liens */
a:link, a:visited {
	color: #ccc;
	border-bottom: 1px solid #2EE7B4;
	text-decoration: none;
}
a:hover, a:active, a:focus {
	color: #2EE7B4;
	border-bottom: 1px dotted #2EE7B4;
	text-decoration: none;
}
a[hreflang]:after {
	content: "\0000a0(" attr(hreflang) ")";
	color: #999999;
	background: transparent;
}

/* Images */
img {
	vertical-align: middle;
	border: none;
}

/* La page
-------------------------------------------------------- */
#page {
	position: relative;
	background: #000 url(img/page.png) repeat-y center top;
	color: inherit;
	width: 780px;
	margin: 15px auto 2em;
	text-align: left;
}
#contenu {
	float: left;
	width: 520px;
}
#content {
	margin: 0 0 0 30px;
	padding: 0 0 1em 0;
	text-align: justify;
}
#content h2, #content h3, #content h4, #content h5, #content h6, 
#content li {
	text-align: left;
}
#content hr {
	color: #844FDE;
	background-color: #844FDE;
}


/* L'entête
-------------------------------------------------------- */
#top {
	height: 120px;
	margin: 0;
	background: #000 url(img/top.png) no-repeat left top;
}
#top h1 {
	font-size: 1.60em;
	line-height: 120%;
	margin: 0;
	padding: 40px 0 0 130px;
	color: #000;
	font-variant: small-caps;
}
#top h1 a {
	text-decoration: none;
	border-bottom: none;
	color: #000;
	border-bottom: none;
}

/* Le prélude
-------------------------------------------------------- */ 
#prelude {
	position: absolute;
	width: 780px;
	top: -1em;
	left: 50%;
	margin: 0 0 0 -390px;
	padding: 0;
	background: transparent;
	color: #111;
	text-align: center;
}
#prelude a:link, #prelude a:visited {
	color: #666;
	text-decoration: none;
	border-bottom: none;
	background: transparent;
}
#prelude a:hover, #prelude a:active, #prelude a:focus {
	color: #2EE7B4;
	text-decoration: none;
	border-bottom: none;
	background: transparent;
}

/* Fil d'ariane
-------------------------------------------------------- */ 
#ariane {
	margin: 0 30px;
	padding: 2px 5px;
	color: #000;
	background: #c96;
	font-size: 1em;
	border-bottom: 2px solid #844FDE;
	border-bottom: 2px solid #2EE7B4;
}
#ariane a:link, #ariane a:visited {
	color: #000;
	text-decoration: underline;
	border-bottom: none;
}
#ariane a:hover, #ariane a:active, #ariane a:focus {
	text-decoration: none;
	border-bottom: none;
}

/* Encarts page d'accueil
-------------------------------------------------------- */
#home_encart {
	float: right;
	width: 210px;
}
.last_news, .zoom_sur {
	margin: 1em 0 1em 1em;
	padding: 0.5em;
}
.last_news {
	border: 1px dashed #2EE7B4;
}
.zoom_sur {
	border: 1px solid #c96;
}
.last_news h2, .zoom_sur h2, #home-extra h2 {
	margin: 0;
	padding: 0;
}
.last_news ul, .zoom_sur ul {
	margin: 0 0 0 1em;
	padding: 0;
	color: #2EE7B4;
	list-style-type: square;
	text-align: left;
}
.last_news a:link, .last_news a:visited, .last_news a:hover, .last_news a:active, .last_news a:focus,
.zoom_sur a:link, .zoom_sur a:visited, .zoom_sur a:hover, .zoom_sur a:active, .zoom_sur a:focus {
	text-decoration: none;
	border-bottom: none;
}

#home-extra {
	clear: both;
	border: 1px dashed #844FDE;
	padding: 0.8em;
}

/* La barre de navigation
-------------------------------------------------------- */
#menu {
	float: right;
	width: 240px;
	padding-bottom: 4em;
}
#menu a:link, #menu a:visited,
#menu a:hover, #menu a:active, #menu a:focus {
	text-decoration: none;
	border-bottom: none;
}
#menu div {
	margin: 0 30px 0 0;
	padding: 1em 0 1em 1em;
	color: inherit;
}
#menu div ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#menu div li {
	background:	transparent url(img/fleche.png) no-repeat 0 5px;
}
#menu div li a {
	padding-left: 15px;
}
#menu h2, #menu h3 {
	color: #c96;
	margin: 0 0 1ex 0;
	border-bottom: 2px solid #844FDE;
}
#menu h3 {
	font-size: 1em;
	margin: 0;
}

/* Navigation */
#menu div#navigation ul {
	list-style: none;
}
#menu div#navigation li {
	margin: 0 0 1px 0;
	font-variant: small-caps;
	letter-spacing: 0.1em;
}
#menu div#navigation a:link, #menu div#navigation a:visited  {
	display: block;
	padding: 5px 10px;
	border-left: 10px solid #844FDE;
	background: #c96;
	color: #000;
	text-decoration: none;
	border-bottom: none;
	font-weight: bold;
}
#menu div#navigation a:hover, #menu div#navigation a:active, #menu div#navigation a:focus {
	color: #000;
	border-left: 10px solid #612DFF;
	background: #C08243;
	text-decoration: none;
	border-bottom: none;
}	
#menu div#navigation li.current a:link, #menu div#navigation li.current a:visited {
	color: #612DFF;
	border-color: #2EE7B4;
}

/* Recherche */
#menu div#recherche {
	position: absolute;
	top: 80px;
	right: 40px;
	margin: 0;
	padding: 0;
	background: transparent;
	color: inherit;
}
#menu div#recherche h2, 
#menu div#recherche label, 
#menu div#recherche p {
	margin: 0;
	padding: 0;
	display: inline;
}
#menu div#recherche p#avancee {
	display: block;
	font-size: 0.9em;
	text-align: right;
}
#menu div#recherche h2 {
	border: 0;
	font-size: 1em;
	margin-right: 3px;
}
#q {
	padding-left: 18px;
	background: #000 url(img/q.png) no-repeat 4px center;
	color: #fff;
}

/* Calendrier */
#menu div#calendar {
}
#menu div#calendar table {
	font-size: 0.95em;
	text-align: center;
	margin: 0 auto;
	border-collapse: collapse;
}
#menu div#calendar table caption {
	margin: 0 auto;
}
#menu div#calendar table th {
	color: #b6c;
	background: transparent;
}
#menu div#calendar table td {
	width: 14%;
	line-height: 2em;
	border: 1px solid #111;
}
#menu div#calendar table td a {
	display: block;
	background: #efa;
	color: #b6c;
	font-weight: bold;
	text-decoration: none;
	border-bottom: none;
}
#menu div#calendar table td a:hover {
	background: #612DFF;
	color: #000;
	border-bottom: none;
}
#menu div#calendar table td.active a:link,
#menu div#calendar table td.active a:visited,
#menu div#calendar table td.active a:hover,
#menu div#calendar table td.active a:active
#menu div#calendar table td.active a:focus {
	border: 1px solid #2EE7B4;
}

/* Syndication */
p.mailing {
	background: transparent url(img/mailing.png) no-repeat 0 3px;
}
#menu div ul.feed li, p.feed {
	background: transparent url(img/feed.png) no-repeat 0 4px;
}
.mailing a:link, .mailing a:visited,
.mailing a:hover, .mailing a:active, .mailing a:focus,
.feed a:link, .feed a:visited,
.feed a:hover, .feed a:active, .feed a:focus,
#menu div ul.feed li a:link, #menu div ul.feed li a:visited,
#menu div ul.feed li a:hover, #menu div ul.feed li a:active, #menu div ul.feed li a:focus {
	padding-left: 18px;
	border-bottom: none;
}

/* MDPH & Autres pages */
#menu div#mdph-menu li.current a:link,
#menu div#mdph-menu li.current a:visited,
#menu div#mdph-menu li.current a:hover,
#menu div#mdph-menu li.current a:active,
#menu div#mdph-menu li.current a:focus,
#menu div#autres li.current a:link, 
#menu div#autres li.current a:visited ,
#menu div#autres li.current a:hover, 
#menu div#autres li.current a:active, 
#menu div#autres li.current a:focus {
	font-weight: bold;
}

/* Le bloc de bas de page
-------------------------------------------------------- */
#bottom_bloc {
	clear: both;
	margin-bottom: 1em;
	padding: 0 30px;
	text-align: center;
}

/* Le pied de page
-------------------------------------------------------- */
#footer {
	clear: both;
	margin: 0;
	padding: 10px 0 0 40px;
	color: #000;	
	height: 70px;
	background: #111 url(img/bottom.png) no-repeat left top;
}
#footer a:link, #footer a:visited {
	color: #000;
	text-decoration: none;
	border-bottom: none;
}
#footer a:hover, #footer a:active, #footer a:focus {
	text-decoration: underline;
	border-bottom: none;
}

/* Actualités / documentation
-------------------------------------------------------- */
.page-title {
	color: #2EE7B4;
	font-size: 1.5em;
}
.post {
	margin-bottom: 5em;
}
.post-title {
	color: #844FDE;
	margin-bottom: 0;	
	padding-left: 25px;
	margin-left: -25px;
	background: transparent url(img/day-date.png) no-repeat left center;
	border-bottom: none;
}
.post-title a:link, .post-title a:visited,
.post-title a:hover, .post-title a:active, .post-title a:focus {
	color: #844FDE;
	border-bottom: none;
}
.post-info {
	margin-top: 0;
	color: #c96;
	background: transparent;
	padding-bottom: 1ex;
}
.post-info a:link, .post-info a:visited,
.post-info a:hover, .post-info a:active, .post-info a:focus {
	color: #c96;
	background: transparent;
	text-decoration: none;
}
.post-content {
}

.post-content li a:link, .post-content li a:visited {
	border-bottom: 1px dotted #2EE7B4;
	text-decoration: none;
}
.post-content li a:hover, .post-content li a:active, .post-content li a:focus {
	border-bottom: 1px solid #2EE7B4;
	text-decoration: none;
}


.post-content blockquote {
	font-family: Georgia, serif;
	font-style: italic;
}
.post-info-co {
	text-align: right;
}
#trackbacks blockquote, #comments blockquote {
	border: 1px solid #EEE;
	margin: 1em 0;
	padding: 1ex 1em;
}

p.read_more {
	background: transparent url(img/read_more.png) no-repeat 0 30%;
	font-size: 1.1em;
	font-weight: bold;
	font-style: italic;
}

p.read_more a:link, p.read_more a:visited,
p.read_more a:hover, p.read_more a:active, p.read_more a:focus {
	padding-left: 18px;
	text-decoration: none;
	border-bottom: none;
}

/* Handiguide
-----------------------------------------------------------------------*/
div#handiguide ul.cats, div#handiguide ul.toc_address {
	margin: 0;
	padding: 0;
	list-style: none;
}
div#handiguide ul.cats li {
	line-height: 200%;
	background: transparent url(img/folder.png) no-repeat 0 3px;
}
div#handiguide ul.cats li a {
	padding-left: 20px;
	border-bottom: none;
}

div#handiguide ul.toc_address li {
	line-height: 160%;
	background: transparent url(img/fleche.png) no-repeat 0 4px;
}
div#handiguide ul.toc_address li a {
	padding-left: 15px;
	border-bottom: none;
}


/* Annuaire web
-----------------------------------------------------------------------*/

/* Liste des catégories de l'annuaire */
div#annuaire ul.cats {
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: bold;
}
div#annuaire ul.cats li {
	float: left;
	width: 45%;
	margin: 1.5em 0 1.5em 0;
	padding: 0 1em 0 0;
	height: auto;
	line-height: 160%;
	background: transparent url(img/folder.png) no-repeat 0 1px;
}
div#annuaire ul.cats li a {
	padding-left: 20px;
	border: none;
}

/* Liste des sous-catégories de l'annuaire */
div#annuaire ul.subcats {
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: normal;
	font-size: 0.9em;
}
div#annuaire ul.subcats li {
	background: none;
	float: none;
	display: inline;
	margin: 0;
	padding: 0 1em 0 0;
	line-height: 160%;
}
div#annuaire ul.subcats li a {
	background: none;
	padding-left: 0;
	text-decoration: none;
}
div#annuaire ul.subcats li a:hover {
	text-decoration: underline;
}

/* Liens */	
.lien a {
	background: transparent url(img/lien.png) no-repeat 0 40%;
	padding-left: 20px;
	border: none;
}

.pageranks { padding-left: 45px; }
.pagerank1 { background: transparent url(img/pr1.png) no-repeat 0 50%; }
.pagerank2 { background: transparent url(img/pr2.png) no-repeat 0 50%; }
.pagerank3 { background: transparent url(img/pr3.png) no-repeat 0 50%; }
.pagerank4 { background: transparent url(img/pr4.png) no-repeat 0 50%; }
.pagerank5 { background: transparent url(img/pr5.png) no-repeat 0 50%; }
.pagerank6 { background: transparent url(img/pr6.png) no-repeat 0 50%; }
.pagerank7 { background: transparent url(img/pr7.png) no-repeat 0 50%; }
.pagerank8 { background: transparent url(img/pr8.png) no-repeat 0 50%; }
.pagerank9 { background: transparent url(img/pr9.png) no-repeat 0 50%; }
.pagerank10 { background: transparent url(img/pr10.png) no-repeat 0 50%; }

/* Positionnement divers
-----------------------------------------------------------------------*/	
.backlink {
	background: transparent url(img/backlink.png) no-repeat 100% 3px;
	text-align: right;
	margin: 1em 0 0 0;
}
.backlink a:link, .backlink a:visited,
.backlink a:hover, .backlink a:active, .backlink a:focus {
	padding-right: 20px;
	text-decoration: none;
	border: none;
}

.topLink {
	background: transparent url(img/toplink.png) no-repeat 100% 3px;
	text-align: right;
	margin: 1em 0 0 0;
}
.topLink a:link, .topLink a:visited,
.topLink a:hover, .topLink a:active, .topLink a:focus {
	padding-right: 20px;
	text-decoration: none;
	border: none;
}
.topLink a:link, .topLink a:visited {
	color: #2EE7B4;
}
.topLink a:hover, .topLink a:active, .topLink a:focus {
	color: #ccc;
}

/* liste des membres de l'équipe
-----------------------------------------------------------------------*/	
.memberList li {
	margin-bottom: 0.8em;
}

/* Positionnement divers
-----------------------------------------------------------------------*/	
.left {
	float: left;
	margin-right: 1em;
}
.lefttop {
	float: left;
	margin: 1em 1em 0 0;
}
.right {
	float: right;
	margin-left: 1em;
}
.center {
	text-align: center;
}
.floatright {
	text-align: right;
	float: right;
}

.clearer {
	clear: both;
	display: none;
}
.clearl { clear: left; }
.clearr { clear: right; }
.clearb { clear: both; }

