/* - - - - - - - - - - - - - - - - - - - - -
Title : CMA06 - main styles
URL : www.cm-alpesmaritimes.fr
Author : Pierre Jahan
Created : 4/04/2007
- - - - - - - - - - - - - - - - - - - - - */

* { margin:0; padding:0; }
html { height:100%; }
body { font-size:70%; line-height:1.5em; color:#333; font-family:verdana,tahoma,sans-serif; background-color:#fff; }

/* ===== LAYOUT IDs ===== */
#container { width:861px; margin:10px auto; }
#header { width:861px; font-family:"trebuchet ms",arial,sans-serif; }
#main { clear:both; width:861px; padding-bottom:30px; background:transparent url(../images/bg_main_blanc.png) top left repeat-y; }
#main-navigation { display:inline /*Fix IE floating margin bug*/; float:left; width:180px; margin-left:22px; font-family:"trebuchet ms",arial,sans-serif; }
#home-content, #main-content { display:inline /*Fix IE floating margin bug*/; float:left; margin-top:1em; margin-left:13px; overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/; }
#home-content { width:624px; }
#main-content { width:624px; }
#main-col { display:inline /*Fix IE floating margin bug*/; float:left; width:412px; overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/; }
#side-col { display:inline /*Fix IE floating margin bug*/; float:right; width:200px; overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/; }
#footer {	clear:both; width:861px; height:40px; background:#fff url(../images/bg_footer.png) no-repeat; overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/; }

/* ===== INIT SELECTORS ===== */
a { color: #33f; text-decoration:none; }
a:hover { color:#39f; text-decoration:underline; }
h1, h2, h3, h4, h5, h6 {
	margin:0; padding:0; font-family:"trebuchet ms",arial,sans-serif; color:#800; font-weight:normal; line-height:1.2em; }
h1 { font-size:1.8em; }
h2 { font-size:1.6em; }
h3 { font-size:1.4em; }
h4 { font-size:1.3em; }
h5 { font-size:1.2em; color:#999; }
h6 { font-size:1.1em; color:#999; }
p, p.spip, div.spip { margin:0; padding-bottom:1em; }
p.lien { font-weight:bold; padding-top:.5em; }
.vert { color:#090; }
.rouge { color: #c00; }
.bleu { color: #36c; }
ul, ol, dl { list-style:none; margin:0; padding:0; }
img, img a { margin:0; padding:0; border:none; }
img { behavior: url(win_png.htc); } /* support PNG24 dans IE */

/* ===== HEADER CONTENT ===== */

.header-middle {
	width:861px; 
	height:187px; 
	background:#fff url(../images/bg_header.png); 
	overflow:visible !important /*Firefox*/; 
	overflow:hidden /*IE6*/;
}
.header-bottom {
	width:861px; 
	height:30px; 
	background:#fff url(../images/bg_nav.png) repeat-y;
}
.header-breadcrumbs {
	clear:both; 
	width:861px; 
	padding:1em 0; 
	background:#fff url(../images/bg_nav.png) repeat-y;
}
.sitelogo {
	position:absolute; 
	z-index:1; 
	width:137px; 
	height:140px; 
	margin:35px 0 0 35px; 
}
.sitename {
	position:absolute; 
	z-index:1; 
	width:300px; 
	height:45px; 
	margin:40px 0 0 200px; 
	overflow:visible !important /*Firefox*/; 
	overflow:hidden /*IE6*/;
}
.sitename a h1 { 
	text-indent:-999em; 
	line-height:0;
}
.header-photo {
	position:absolute; 
	z-index:2; 
	width:661px; 
	margin:23px 0 0 178px; 
}
.nav0 {
	position:absolute; 
	z-index:3; 
	width:150px; 
	margin:165px 0 0 716px; 
}
.nav0 li { float:left; }
.nav0 li a {
	display:block;
	height:22px;
	padding-right:17px;
  background-repeat:no-repeat;
  background-position:0 0;
	text-indent:-999em;
}
.nav0 li a:hover {
  background-position:0 -22px;
	text-decoration:none;
	border:none;
}
.nav0 li a.nav0_home { background-image:url(../images/but_home.png); width:22px; }
.nav0 li a.nav0_arobas { background-image:url(../images/but_arobas.png); width:22px; }
.nav0 li a.nav0_plug { background-image:url(../images/but_plug.png); width:22px; }
.nav0 li a.nav0_search { background-image:url(../images/but_search.png); width:22px; }

/* ===== Navigation bar ===== */

.nav2 {
	float:left;
	width:817px; 
	margin-left:22px;
	border-top:2px dashed #ddd;
	border-bottom:2px dashed #ddd;
	font-size:1.1em;
}
.nav2 ul li {
	float:left; 
	position:relative; 
	z-index:1000; 
}
.nav2 ul li a {
	float:left; 
	display:block; 
	height:26px; 
	line-height:26px; 
	margin-right:0px !important /*Non-IE6*/; 
	margin-right:-4px /*IE6*/; 
	padding:0 1.2em;
	color:#333;
	text-transform:uppercase;
}
.nav2 ul li a.rubon, .nav2 ul li a:hover, .nav2 ul li a:focus, .nav2 ul li a.rubon:hover, .nav2 ul li a.highlighted, 
.nav2 ul li a.highlighted:hover {
	color:#fff;
	text-decoration:none;
	background-color:#ccc;
	text-decoration:none;
}
.nav2 ul li a .subind { display:none; }
.nav2 ul li ul a .subind {
	display:block;
	float:right;
}
.nav2 ul li a:hover ul {
	display:block; 
	position:absolute; 
	z-index:998; 
	top:26px; 
	left:0;
}
.nav2 ul ul {
	visibility:hidden;
	position:absolute;
	top:26px; 
	left:5px;
	margin:0;
	width:170px;
	background-color:#eee;
	border:1px solid #999;
}
.nav2 ul ul li { 
	float:none; 
}
.nav2 ul ul a {
	height:auto;
	margin:0;
	padding:2px .5em;
	color:#333;
	line-height:1.3em;
	font-size:1em;
	text-transform:none;
}
.nav2 ul ul a:hover, .nav2 ul ul a.rubon, .nav2 ul ul a.rubon:hover {
	color:#fff;
	border:none;
	background:none;
	background-color:#ccc;
}
/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.nav2 ul a { float:left; }
.nav2 ul ul a { float:none; }
/* \*/
.nav2 ul a { float:none; }
/* */

/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .nav2 ul ul li {
 float:left;
 height:1%;
}
* html .nav2 ul ul a { height:1%; }
/* End Hack */

/* ===== VERTICAL NAVIGATION ===== */
#main-navigation dt {
	width:180px;
	height:28px;
	background:url(../images/separator.gif) bottom repeat-x;
	text-align:center;
	text-transform:uppercase;
}
#main-navigation dt a {
	display:block;
	width:180px;
	height:26px;
	color:#fff;
	font-weight:bold;
	line-height:26px;
}
#main-navigation dt a:hover, #main-navigation dt a.on {
	color:#000;
	text-decoration:none;
}
#main-navigation ul { width:180px; }
#main-navigation li a {
	display:block;
	background:transparent url(../images/chevron1.gif) left center no-repeat;
	padding: 2px 6px 2px 15px;
	color:#800;
	line-height:16px;
}
#main-navigation li a:hover, #main-navigation li a.on {
	background:#fff url(../images/chevron2.gif) left center no-repeat;
	color:#b00;
}
#main-navigation .bloc_sidebar {
	width:180px;
	border-top:2px dashed #ccc;
	border-bottom:2px dashed #ccc;
}
#main-navigation .formulaire_recherche { width:180px; }
#main-navigation .formulaire_recherche fieldset { border:none; }
#main-navigation .formulaire_recherche #recherche {
	width:120px;
	margin-left:10px;
	padding:1px;
  border:2px solid;
  border-color:#aaa #ccc #ccc #aaa;
  font:1em Monaco,Monospace;
}
#main-navigation .spip_bouton { 
	border:none;
	padding:1px;
	margin-bottom:-7px;
}

/* ===== MAIN CONTENT HOME ===== */
#home-photo, #home-actu, #home-agenda, #home-affiche {
	margin-bottom:12px !important /*Non-IE6*/; 
	margin-bottom:6px /*IE6*/;
}
#scroll {
  position: relative;
  overflow: hidden;
	border:1px dashed #ccc;
  height: 24px;
  width: 622px;
	margin-bottom:.5em;
	background-color:#fff;
	font-size:12px;
	font-weight:bold;
	color:#910629;
}	
.headline {
  position: absolute;
  top: 4px;
  left: 622px;
  height:18px;
  width:612px;
}
.block-photo-une { margin:0 auto; }
.block-photo-une img { border:2px solid #910629; }
#home-actu, #home-agenda, #home-en-un-clic { background-color:#fff; }
#home-actu h2, #home-agenda h2, #home-en-un-clic h2 {
	padding:0 4px; 
	font-size:1.5em;
}
#home-actu { border:1px dotted #006361; }
#home-agenda { border:1px dotted #910629; }
#home-en-un-clic { border:1px dotted #0063AC; }
#home-actu h2 { 
	color:#006361;
	border-bottom:3px solid #006361; 
}
#home-actu ul, #home-agenda ul { padding:3px 6px; }
#home-actu .details {
	text-align:right;
	padding-right:3px;
	font-weight:bold;
}
#home-actu li a, #home-agenda li a, #home-actu .details a {
	background:transparent url(../images/bullet1.png) left 1px no-repeat;
	padding: 0 0 5px 18px;
	color:#333;
	font-size:1.1em;
	text-decoration:none;	
}
#home-actu li a:hover, #home-actu .details a:hover {
	color:#006361;
	text-decoration:underline;	
}
#home-agenda h2 { 
	color:#910629;
	border-bottom:3px solid #910629; 
}
#home-agenda li a:hover {
	color:#910629;
	text-decoration:underline;	
}
#home-lien-solo li {
	padding-top:20px;
	height:33px;
}
#home-lien-solo li a {
	background:transparent url(../images/bullet1.png) left 1px no-repeat;
	padding: 0 0 5px 17px;
	color:#333;
	text-decoration:none;	
}
#home-lien-solo li a:hover {
	color:#910629;
	text-decoration:underline;	
}
#home-en-un-clic h2 { 
	color:#0063AC;
	border-bottom:2px solid #0063AC; 
}
#home-en-un-clic a { 
	clear:left;
	display:block;
	padding:2px; 
	border-top:1px dotted #0063AC;
	font-weight:bold;
	color:#0063AC;
}
#home-en-un-clic a:hover { 
	background-color:#D1E2EF;
	color:#0063AC;
}
#home-en-un-clic a img { 
	float:right; 
	margin:0 0 0 2px;
}
#home-affiche img { margin:1em auto; }

/* ===== MAIN CONTENT ===== */

/* ===== HEADINGS ===== */
#main-content h1 {
	text-transform:uppercase;
	margin-bottom:.5em;
	padding-left:40px;
	font-weight:bold;
	background:transparent url(../images/bullet_cma.gif) 0 7px no-repeat;
}
#main-content h1 a {
	color:#467aa7; 
	font-weight:normal; 
	text-decoration:none;
}
#main-content h2 {
	text-transform:uppercase;
	letter-spacing:.1em;
	margin-bottom:.5em;
}
#main-content h3 {
	margin-bottom:.5em;
	font-weight:bold;
}
#main-content h3.plansite {
	margin-top:1em;
	border-top:1px dashed #ddd;
}
#main-content h4 {
	clear:both;
	margin:1.2em 0 .6em;
}

/* ===== LISTS ===== */
#main-content ul {
	clear:left;
	position:relative;
	margin:0 0 1em 0;
}
#main-content ol {
	clear:left;
	position:relative;
	list-style:decimal;
	margin:0 0 1em 0;
}
#main-content ul ul, #main-content ol ol { margin-bottom:.5em; }
#main-content ul li {
	margin-left:.5em;
	padding-left:12px;
	background:url(../images/bg_bullet_arrow.gif) 0 5px no-repeat;
}
#main-content ul.spip_form_choix_unique li, #main-content ul.spip_form_choix_multiple li {
	background:none;
	padding-left:0;
	margin-left:0;
}
#main-content ol li { 
	margin-left:.5em;
	list-style-position:inside; 
}
#main-content ul ul li, #main-content ol ul li { background:url(../images/bg_bullet_arrow2.gif) 0 5px no-repeat; }
#main-content ol ol li, #main-content ol ul li { margin-left:2em; }

/* ===== OTHERS ===== */
#main-content blockquote {
	clear:both; 
	margin:0 30px .6em; 
	font-size:.9em;
}
#main-content img.center {
	clear:both; 
	float:none; 
	margin:0; 
	padding:1px; 
	border:1px solid #999;
}
#main-content img.right {
	clear:both; 
	float:right; 
	margin:3px 0 7px 10px; 
	padding:1px; 
	border:1px solid #999;
}
#main-content table.spip {
	clear:both; 
	margin:1em 2em 1em; 
	table-layout: fixed; 
	border-collapse:collapse; 
	empty-cells:show; 
	background-color:#fafafa;
	border:1px solid #999;
}
#main-content table.spip caption {
	margin-left:1em 2em 0; 
	padding:0;
	text-align:center; 
	color:#800; 
	font-size:1.3em;
	font-weight:bold;
}
#main-content table.spip th {
	height:3em; 
	padding:2px 7px; 
	border:solid 2px #ccc; 
	background-color:#ffd; 
	text-align:center; 
	font-weight:bold; 
	font-size:1.1em;
}
#main-content table.spip tr.row_even { background-color:#eee; }
#main-content table.spip tr.row_odd { background-color:#fafafa; }
#main-content table.spip td {
	height:2.4em; 
	padding:2px 7px;
	border:solid 2px #ccc; 
	text-align:left; 
	font-weight:normal; 
}
#autres-articles {
	clear:right;
	float:right;
	width:200px;
	margin:0 0 .5em 1em;
	padding:.2em .5em 0;
	border-left:1px dashed #ccc;
	border-bottom:1px dashed #ccc;
	background-color:#f6f6f6;
}
#autres-articles h5 { 
	margin:0 0 .5em; 
	border-bottom:1px dotted #999;
}

/* ===== FOOTER ===== */

#footer p {
	margin:0 22px;
	padding-top:7px;
	text-align:center; 
	color:#777; 
	font-size:.9em;
	text-transform:uppercase;
}
#footer p.first { border-top:2px dashed #ddd; }

/* ========== RACCOURCIS TYPOGRAPHIQUES SPIP ========== */

.logoArticle {
	float:right;
	margin:0 0 .5em 1em;
}
.logoArticle img { 
	padding:2px;
	border:1px solid #bbb;
	background-color:#eee;
}
div.chapo { 
	margin:.5em 0 1em;
	color:#444; 
	font-size:1.1em;
}
div.ps {
	margin:1em 0;
	padding:1em;
	border:2px dotted #ddd;
	background-color:#fff;
}
h3.spip {
	clear:both;
	line-height:1.2em;
	margin:1.2em 0 .8em;
	padding:3px;
	border:1px solid #999;
}
h4.spip {
	clear:both;
	margin:1.2em 0 .6em;
	border-bottom:1px solid #ddd;
}
h5.spip {
	clear:both;
	margin:1em 0 .5em;
}
ul.spip { clear:left; }
hr.spip { 
	clear:both;
	margin:.8em 0;
	border:none 0;
	border-top:1px solid #E0D6BF;
	height:1px;
	text-align:center;
}
code.spip_code { font-size:12px; }
.texteencadre-spip {
	margin: 1em 0;	
	padding: 1em;	
	position: relative;
	background: #ffd;
	border-bottom: 2px solid #ee8;
	border-left: 1px solid #ee8;
	border-right: 2px solid #ee8;
	border-top: 1px solid #ee8;
}
.spip_cadre {
	display: block;
	padding:6px;
	margin-bottom:1em;
	width:610px;
	height:auto;
	max-height:10em;
	border:1px solid #555;
	background-color: #fafafa;
	overflow:auto;
}
.spip_poesie { 
	float:left;
	margin:.5em 2em 1em 0;
	padding:1em;
	border:2px solid #800;
	background-color:#f8f8f8;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:1.1em;
}
.spip_poesie div { text-indent: -60px; margin-left: 60px; }
blockquote.spip { 
	margin: 0 2em 1em;
	padding:0;
	background: transparent url(../images/quote.png) top left no-repeat;
}
blockquote.spip p {
	margin:0;
	padding:2em 2em 1em;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:1.2em;
	line-height:1.6em;
	font-style:italic;
}
.spip_documents { text-align:center; }
.spip_documents_center, dl.spip_documents_center dt, dl.spip_documents_center dd {
	clear: both; 
	width: 100%;
	margin:0 auto; 
}
.spip_documents_left {
	clear:left;
	float:left;
	margin:0 1em .5em 0; 
}
.spip_documents_right {
	clear:right;
	float:right;
	margin:0 0 .5em 1em; 
}
.spip_doc_titre { font-size:.85em; }
.spip_doc_descriptif { clear:both; font-size:.8em; }
.spip_logos { 
}
.spip_surligne { 
	background-color:#FF0;
	color:#000;
}
.filet_sep { margin:10px 0; font-size:1px; text-align:center; }

.caractencadre-spip { font-size:120%; }
.caractencadre2-spip {
	background-color:#ffa;
	font-size:130%;
}
.notes {
	margin:1em;
	border-top:1px dotted #ddd;
	font-size:.9em;
}
acronym.spip_acronym {
	cursor: help;
	border-bottom: 1px dotted;
}
a[hreflang]:after {
content: "\0000a0[" attr(hreflang) "]";
color: #999;
background : transparent;
}
a.spip_blank { color: #F00; }

/* ===== CLEAR FLOATS ===== */

#page-container:after, #header:after, .header-breadcrumbs:after, #main:after, #main-navigation:after, #main-content:after {
	content:"."; 
	display:block; 
	height:0; 
	clear:both; 
	visibility:hidden;
}
.column1-unit:after, .column2-unit-left:after, .column2-unit-right:after, .column3-unit-left:after, .column3-unit-middle:after, .column3-unit-right:after {
	content:"."; 
	display:block; 
	height:0; 
	clear:both; 
	visibility:hidden;
}
#footer:after {
	content:"."; 
	display:block; 
	height:0; 
	clear:both; 
	visibility:hidden;
}


