body { /* Réglage général du type et de la taille des caractères sur la page. */
	margin: 0; padding: 0;
	background-color: rgb(239, 239, 239);
}

body, input, select { /* Type et taille des caractères par défaut. */
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 11px;
}


/* Homogénéisation des paramètres des navigateurs. */
form { margin: 0; padding: 0; }
fieldset { margin: 0; padding: 0; border: none; }
img { border: none; }


/* Bloc d'en-tête. */
#topwrapper {
	min-width: 960px;
	width: 100%;
	background: url(../gfx/header_back.png) rgb(162, 206, 27); /* Pré-affichage de la couleur de fond */
	border-bottom: 8px solid rgb(29, 66, 81);
}

#header {
	width: 100%;
	background: url(../gfx/logo_back.png) top left no-repeat;
	border-bottom: 1px solid rgb(31, 110, 141);
	font-family: Arial, Helvetica, sans-serif;
}
#header a:link, #header a:visited, #header a:active {
	color: white;
	text-decoration: none;	
}
#header a:hover {
	text-decoration: underline;	
}

/* Logo. */
h1 {
	margin: 0; padding: 0;
}
h1 a {
	display: block;
	width: 430px;
	height: 80px;
}
h1 span {
	display: none; /* Pour l'accessibilité. */
}

/* Boîte de login. */
#loginbox {
	position: absolute;
	top: 0;
	right: 0;
	width: 470px;
	color: white;
}
#loginlabel {
	float: right;
	margin: 0; padding: 0;
	padding: 2px 0.5em 2px 1em;
	height: 16px; /* Hauteur de l'image de fond, moins 2 x 2px. */
	line-height: 16px;
	background: rgb(71, 147, 179) url(../gfx/loginlabel_back.png) top right no-repeat;
}
#loginbox form, #loginbox p#accountlinks {
	float: right;
	margin: 0; padding: 0;
	width: 27em;
	margin-right: 1em;
	padding: 6px 1em 6px 2em;
	height: 42px; /* Hauteur de l'image de fond, moins 2 x 6px. */
	background: url(../gfx/loginbox_back.png) top left no-repeat;
}
html > #loginbox form, html > #loginbox p#accountlinks {
	background-color: rgb(41, 124, 157);
}
#loginbox legend, #loginbox label {
	display: none; /* Pour l'accessibilité. */
}
#user, #pass {
	margin: 0 0.25em 0 0;
	padding: 0.25em;
	color: #888;
}
#user {
	width: 12em;
}
#pass {
	width: 8em;
}
#sendlogin, #retrievepassword {
	margin: 0;
	padding: 0 0.25em;
	width: 2.5em;
	height: 22px;
	background: rgb(118, 171, 192) url(../gfx/sendlogin_back.png);
	border: 1px solid rgb(118, 171, 192);
	color: white;
}
#retrievepassword {
	width: auto;
}
#loginbox small {
	display: block;
	margin-top: 0.5em;
	font-size: 90%;
}

/* Bouton de contact. */
#buttonbar {
	float: right;
	margin: 0; padding: 0;
	list-style-type: none;	
}
#buttonbar li {
	float: left;
	margin-right: 1.5em;
	display: inline;
	line-height: 28px;
}
#buttonbar a {
	display: block;
	padding-left: 32px;
}
#item_16 {
	background: url(../gfx/accueil_icon.png) no-repeat;
}
#item_4 {
	background: url(../gfx/contact_icon.png) no-repeat;
}
#buttonbar img {
	margin-right: 0.5em;
	vertical-align: middle;
}

/* Barre de navigation. */
#menubar {
	margin: 1em 0 0;
	padding: 0;
	height: 2.5em;
}
#menubar li {
	float: left;
	display: block;
	padding: 0; margin: 0;
	line-height: 2.5em;
}
#menubar a {
	display: block;
	padding: 0 2em;
	background: rgb(0, 143, 203) url(../gfx/menubar_back.png);
	text-transform: uppercase;
}
#menubar #mblast {
	padding-right: 10px;
	background: rgb(0, 143, 203) url(../gfx/menubar_border.png) top right no-repeat;
}
#menubar .current a {
	background: rgb(162, 206, 27) url(../gfx/header_back.png);
}

/* Liste de navigation secondaire. */
#menulist {
	position: absolute;
	left: 15px;
	margin: 0; padding: 0;
	width: 175px;
	text-transform: uppercase;
	border-bottom: 3px solid rgb(162, 206, 27)
}
#menulist li {
	margin: 0; padding: 0.75em 0;
	list-style-type: none;
	border-bottom: 1px solid rgb(214, 214, 214);
	line-height: 2.5em;
	white-space: nowrap;
	background: url(../gfx/menulist_inactivebullet.gif) no-repeat 0px 8px;
}
html > body div#content #menulist li {
	padding: 0;
}
#menulist img {
	margin-right: 5px;
}
#menulist li.current {
	font-weight: bold;
	background: url(../gfx/menulist_activebullet.gif) no-repeat 0px 8px;
}
#menulist #mllast {
	border-bottom: 0px;
}
#menulist a:link, #menulist a:visited, #menulist a:active {
	color: rgb(50, 109, 133);
	text-decoration: none;
	margin-left: 15px;
}
#menulist a:hover {
	text-decoration: underline;	
}

#menulist .level3,
#menulist .current3 {
	margin-left: 2em;
	background: url(../gfx/menulist_3rdbullet.gif) no-repeat 0px 8px;
}
#menulist .current3,
#menulist .lastcurrent3 {
	font-weight: bold;
}
#menulist .last,
#menulist .lastcurrent3 {
	border-bottom: 0px;
}

/* Contenu. */
#content {
	min-width: 960px;
	position: relative;
	padding: 3em 1.5em 1.5em 1.5em;
	min-height: 400px;
	background: white url(../gfx/menubar_shadow.png) top right repeat-x;
}

#popupcontent {
	padding: 1em;
	background: white url(../gfx/menubar_shadow.png) top right repeat-x;
}

#popuprightcontent {
	float:right;
	padding-right:3em;
	padding-top:3em;
}

div.contentzone {
	margin: 0 0 0 175px;
	padding: 0 1em;
}

#main h1, h2, #popup h1 {
	margin: 0; padding: 0;
	color: rgb(0, 140, 198);
	font-weight: bold;
	font-size: 140%;
}

.contentbox {
	margin-right: 275px;
	margin-bottom: 3em;
	padding: 0 0 15px 20px;
}
.contentbox p, .contentbox ul {
	margin: 0.5em 0;
	color: rgb(86, 86, 86);
	line-height: 1.5em;
}
.contentbox ul {
	padding: 0 2.5em;
}

.fileorange h3, .fileorange h4 {
	color: rgb(246, 129, 14);
	font-size:140%;
	margin-bottom:10px;
}

.filevert h3, .filevert h4 {
	color: rgb(195, 206, 27);
	font-size:140%;
	margin-bottom:10px;
}

#contentboxlarge {
	position: relative;
	background: transparent url(../gfx/contentboxlarge_back.png) bottom left no-repeat;
	min-height: 161px;
	height: auto !important;
	height: 161px;
}
#contentboxlarge img {
	position: relative;
	float: left;
	margin: 0 1em 0 0;
}
#contentboxlarge .homebutton {
	margin: 0 2em 0 auto;
}
#contentboxsmall {
	background: transparent url(../gfx/contentboxsmall_back.png) bottom left no-repeat;
}
#contentboxsmall img {
	position: relative;
	float: right;
	margin: 0 2em;
}
#contentboxsmall .csc-textpic-imagewrap {
	padding-left: 2em;
}
#contentboxsmall .homebutton {
	margin: 0 225px 0 auto;
}

.homebutton {
	width: 10em;
	height: 19px;
	background: rgb(162, 206, 27) url(../gfx/homebutton_left.png) top left no-repeat;
	text-align: center;
}
.homebutton a:link, .homebutton a:visited, .homebutton a:active {
	display: block;
	padding: 0 1em;
	background: url(../gfx/homebutton_right.png) top right no-repeat;
	color: white;
	line-height: 19px;
	text-decoration: none;
}
.homebutton a:hover {
	text-decoration: underline;	
}

#contentzone {
	margin: 0 125px 0 175px;
	padding: 0 1em;
}
.nosidebar #contentboxsmall, .nosidebar #contentboxlarge {
	margin-right: 0;
}
.nosidebar #main {
	margin-left: 175px;
}

/* extension cecimobsmap CSS */
.tx-cecimobsmap-pi1 form {
	margin: 1em auto 0 auto;
	padding: 0;
}
.tx-cecimobsmap-pi1 fieldset {
	background: rgb(63, 137, 167) url(../gfx/map_back.png);
}
.tx-cecimobsmap-pi1 #legend {
	padding: 0.5em 0;
	width: 100%;
	background-color: rgb(63, 137, 167);
	color: white;
	text-transform: uppercase;
}
.tx-cecimobsmap-pi1 #legend span {
	padding: 0 10px;
}
.tx-cecimobsmap-pi1 label {
	display: block;
	margin: 0.25em 0;
	color: white;
}
.tx-cecimobsmap-pi1 select {
	width: 166px;
	margin: 0 auto;
	color: rgb(86, 86, 86);
	text-align: left;
}
.tx-cecimobsmap-pi1 form div {
	float: left;
	width: 169px;
	padding: 1em 10px;
}
.tx-cecimobsmap-pi1 #mapwrapper {
	background-color: rgb(191, 213, 223);
	padding: 4px;
}

/* extension cecimcartographie CSS */
.tx-cecimcartographie-pi1 {
	margin-right:275px;
}

.tx-cecimcartographie-pi1 form {
	margin: auto;
	padding: 0;
}
.tx-cecimcartographie-pi1 fieldset {
	background: rgb(63, 137, 167) url(../gfx/map_back.png);
}
.tx-cecimcartographie-pi1 #legend {
	padding: 0.5em 0;
	width: 100%;
	background-color: rgb(63, 137, 167);
	color: white;
	text-transform: uppercase;
}
.tx-cecimcartographie-pi1 #legend span {
	padding: 0 10px;
}
.tx-cecimcartographie-pi1 label {
	display: block;
	margin: 0.25em 0;
	color: white;
}
.tx-cecimcartographie-pi1 select {
	width: 166px;
	margin: 0 auto;
	color: rgb(86, 86, 86);
	text-align: left;
}
.tx-cecimcartographie-pi1 form div {
	float: left;
	width: 169px;
	padding: 1em 10px;
}
.tx-cecimcartographie-pi1 form div#depcommbox,
.tx-cecimcartographie-pi1 form div#depprogbox,
.tx-cecimcartographie-pi1 form div#deptranbox,
.tx-cecimcartographie-pi1 form div#secttranbox {
	margin: 10px 0 0 0;
	padding: 0px;
	display: none;
	color: #FFFFFF;
	font-size: 10px;
}
.tx-cecimcartographie-pi1 #sidebar_map {
	display: none;
}

.tx-cecimcartographie-pi1 #mapwrapper {
	background-color: rgb(191, 213, 223);
	padding: 4px;
}

.tx-cecimcartographie-pi1 #permisd {
	width: 200px;
	margin: 0pt auto;
	color: rgb(86, 86, 86);
	text-align: left;
	font-family:Tahoma,Arial,Helvetica,sans-serif;
	font-size:11px;
}
.tx-cecimcartographie-pi1 fieldset div.permis {
	margin: 0 0 10px 0;
	padding: 0px;
	color: #FFFFFF;
	width: 190px;
}

/*****/

div#fichetitre {
	background: url("../gfx/ficheonglet_back.png") no-repeat top right;
	height: 27px;
	float: left;
	clear: both;
	margin-top: 20px;
	text-transform: uppercase;
}

div#fichetitre span {
	background: url("../gfx/ficheonglet_left.png") no-repeat top left;
	color: #326D85;
	font-weight: bold;
	display: block;
	height: 13px;
	padding: 7px 15px;	
}
div.ie6titre {
	display: none;
}

div#ficheaucune {
	list-style-type: none;
	background: url(../gfx/ficheonglet_back.png) no-repeat top right;
	height: 27px;
	float: left;
	clear: both;
	margin-top: 20px;
	text-transform: uppercase;
}
div#ficheaucune span {
	color: #326D85;
	font-weight: bold;
	display: block;
	height: 13px;
	padding: 7px 15px;
	background: url(../gfx/ficheonglet_left.png) no-repeat top left;
}
#ficheprogramme {
	margin: 0px;
	clear: left;
	width: 100%;
	border: 1px solid #CDCDCD;
}
#ficheprogramme th, #ficheprogramme td {
	margin: 0; padding: 0.25em 1em;
	color: rgb(50, 109, 133);
	text-align: left;
	font-weight: normal;
}
#ficheprogramme thead th, #ficheprogramme thead td {
	background-color: rgb(244, 241, 238);
}
#ficherenseignements th, #ficherenseignements td {
	padding-top: 1em;
	border-top: 1px solid #CDCDCD;
}
#ficheadresse th {
	padding-bottom: 10px;	
}
#trancheadresse th {
	padding-bottom: 2px;
	padding-top: 2px;	
}
#ficheadresse th, #fichedates th, #fichedates td, #fichesecteur th, #fichesecteur td {
	padding-top: 1em;
}
#fichesecteur th, #fichesecteur td {
	padding: 3px;
}
#ficheprogramme address {
	font-style: normal;
	font-weight: normal;	
}
#ficheprogramme address strong, #ficheprogramme .nomville, #ficherenseignements td {
	text-transform: uppercase;
}
#fichedata th, #fichedata td {
	width: 10%;
	background-color: rgb(29, 66, 81);
	color: white;
}
#fichedata th {
	
	white-space: nowrap;
	padding: 5px;
}
.row0 th, .row1 th, tfoot th {
	text-transform: uppercase;
}
.row0 th, .row0 td {
	background-color: white;
}
.row1 th, .row1 td {
	background-color: rgb(228, 232, 234);
}
#ficheprogramme tfoot th,
#ficheprogramme tfoot td,
#ficheprogramme tr.tfoot td {
	background-color: rgb(246, 129, 14);
	color: white;
}


/* Home sidebar */
#homesidebar {
	position:absolute;
	right:1.5em;
	top:4em;
	width:260px;
}

/* Carte */
#mapbox {
	text-align: center;
}
#mappreview a {
	display: block;
	padding: 4px;
	border: 1px solid rgb(246, 129, 14);
}
#maptab {
	margin: auto;
	width: 130px;
	height: 19px;
	background: rgb(246, 129, 14) url(../gfx/maptab_left.png) top left no-repeat;
}
#maptab a:link, #maptab a:visited, #maptab a:active {
	display: block;
	padding: 0;
	background: url(../gfx/maptab_right.png) top right no-repeat;
	color: white;
	line-height: 19px;
	text-decoration: none;
}
#maptab a:hover {
	text-decoration: underline;	
}

/* Liste des indices. */
#homesidebar h1,
#homesidebar h3 {
	margin-top: 3em;
	margin-bottom: 0.5em;
	color: #575757;
	font-weight: bold;
	font-size: 100%;
}
#homesidebar ul {
	margin: 0; padding: 0;
	list-style-type: none;
}
#homesidebar ul li {
	margin-top: 0.25em;	
}
#homesidebar ul span {
	color: rgb(0, 140, 198);
}

/* Sidebar */
#sidebar {
	position: absolute;
	top: 2em;
	right: 1.5em;
	width: 125px;
	color: rgb(50, 109, 133);
}
#print {
	line-height: 16px;
	position:absolute;
	top: 12.5em;
	right: 1.5em;
	z-index: 10;
}
#printpage img {
	margin-right: 0.25em;
	vertical-align: middle;
}
#print a {
	color:#008CC6;
	text-decoration:none;
}
#print a:hover {
	text-decoration:underline;
}	
#maplegend {
	margin: 2em 0; padding: 0;
}
#maplegend li {
	clear: both;
	margin-bottom: 1em;
	min-height: 27px;
	list-style-type: none;
}
#maplegend img {
	float: left;
	margin-right: 0.5em;
}

/* Footer. */
#footer {
	
	padding: 5px;
	border-top: 1px solid rgb(214, 214, 214);
	background-color: rgb(239, 239, 239);
	color: rgb(146, 146, 146);
	font-size: 90%;
}
#smile {
	float : left;
}
#mentions {

	text-align: center;
}
#cecimobs {
	float: right;
}
#footer a:link, #footer a:visited, #footer a:active {
	color: rgb(146, 146, 146);
	text-decoration: none;	
}
#footer a:hover {
	text-decoration: underline;	
}


/* Contact form */
#sp_bettercontact_form {
	margin-top: 1em;
}
.sp_bettercontact_label {
	float: left;
	display: block;
	width: 100px;
}
#sp_bettercontact_name_container input,
#sp_bettercontact_mail_container input,
#sp_bettercontact_telefon_container input,
#sp_bettercontact_subject_container select,
#sp_bettercontact_anfrage_container textarea {
	width: 250px;
}
#sp_bettercontact_senden input {
	margin-left: 100px;
}




/* TYPO3 */
.csc-form-labelcell {
	display: none;
}

.tx_drblob_list {

	padding: 1em;
	width: 100%;
	border-collapse: collapse;
}
.tx_drblob_list-row1, .tx_drblob_list-row2 {
	padding: 0.5em;
	color: rgb(50, 109, 133);
}
.tx_drblob_list-row1 a, .tx_drblob_list-row2 a {
	color: rgb(50, 109, 133);
}
.tx_drblob_list .date {
	color: rgb(0, 140, 198);
}
#tx_drblob_topleft, #tx_drblob_topright, #tx_drblob_bottomleft, #tx_drblob_bottomright {
	width: 8px;
	height: 8px;
		
}
#tx_drblob_topleft {
	background: url(../gfx/tablecorner_topleft.png) no-repeat top left;
}
#tx_drblob_topright {
	background: url(../gfx/tablecorner_topright.png) no-repeat top right;
}
#tx_drblob_bottomleft {
	background: url(../gfx/tablecorner_bottomleft.png) no-repeat bottom left;
}
#tx_drblob_bottomright {
	background: url(../gfx/tablecorner_bottomright.png) no-repeat bottom right;
}
.tx_drblob_left {
	background: url(../gfx/tableborder_left.png) repeat-y top left;
}
.tx_drblob_right {
	background: url(../gfx/tableborder_right.png) repeat-y top right;
}
#tx_drblob_top {
	background: url(../gfx/tableborder_top.png) repeat-x top left;
}
#tx_drblob_bottom {
	background: url(../gfx/tableborder_bottom.png) repeat-x bottom left;
}


/* Surcharges des styles Typo */
#main h1.csc-firstHeader {
	margin-bottom: 10px;
}

#popup a,
#main a {
	color: #008CC6;
	text-decoration: none;
}
#popup a:hover,
#main a:hover {
	color: #008CC6;
	text-decoration: underline;
}

/* Login Extranet */
#login_extranet input.login {
	display: block;
	width: 110px;
	height: 22px;
	border: 0px;
	padding-bottom: 2px;
	cursor: pointer;
	text-align: center;
	color: #FFFFFF;
	background: transparent url(../gfx/home_green_button_110.gif) no-repeat 0px 2px;
	font-size: 11px;
	margin: auto;
}