@import url(reset.css);

/**** GÉNÉRALITÉS ****/

html { font-size: 100%; }

body {
 font: 0.85em/1.35em "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
 color: #250641;
 text-align: center;
 background-color: #7D97CA;
}

a { color: #010088 }
a:hover { color: #4748BF }

/**** STRUCTURE ****/

#global {
 margin: 10px auto;
 text-align: left;
 width: 861px;
}

#branding  {
 position: relative;
 text-align: center;
 height: 378px
}

#branding img {
 margin-top: 49px;
}

#main {
 position: relative;
 width: 742px;
 margin: 0 auto auto 30px;
 padding-top: 30px;
}

#contenu {
}

#main #nav_main {
 position: absolute;
 margin-left: 0;
}

#nav_sub {
 width: 780px;
 position: relative;
 margin: 0px auto;
 height: 1.5em;
 padding-top: 0.2em;
}

#calendrier {
 position: relative;
 width: 700px;
 height: 437px;
 margin-bottom: 40px;
 margin-left: 40px;
 padding-bottom: 40px;
 background: transparent url(images/calendrier.jpg) top left no-repeat;
}

#credits {
 display: none
}

/* Les cadres décorés */

.c-x {
 width: 861px;
 background: transparent url(images/cadre-milieu.jpg) top left repeat-y;
}

.c-h {
 background: transparent url(images/cadre-haut.jpg) top left no-repeat;
}

.c-b {
 background: transparent url(images/cadre-bas.jpg) bottom left no-repeat;
}

/* Galeries de dessins */

div.managecontainer,div.thumbscontainer {
 position: relative;
/* left: 200px;
 width: 560px; */
}

#main div.managecontainer img, #main div.thumbscontainer img {
 float: none;
}

#main div.thumbscontainer ul {
 margin-left: 0px;
}

#main div.thumbscontainer ul li {
 height: 170px;
}

/* Calendrier */



#evenements {
 position: absolute;
 top: 20px;
 left: 5px;
 width: 265px;
 height: 325px;
 overflow: auto;
}

#evenements ul {
 font-size: 1em;
}

#evenements ul li {
 list-style-type : none;
 border-bottom: 1px #E8E7ED solid;
}

#evenements ul a {
 display: block;
 height: 100%;
 width: auto;
 text-decoration: none;
 border: 0;
}

#evenements ul a:hover {
 background: transparent url(images/fond-item.jpg) top left repeat-x;
}

#evenements span.date {
 font-weight: bold;
}

#evenements span.item {
 display: block;
 font-size: 0.85em;
}

/* Navigation principale */

#main #nav_main li {
 list-style-type: none;
}

#nav_main a {
 position: absolute;
 display: block;
 top: 70px;
 left: 40px;
 width: 117px;
 height: 140px;
 background: white url(images/menu.jpg) top left no-repeat;
}

#nav_main #id1 { background-position: left top; }
#nav_main #id2 { top: 365px; background-position: 0 -145px; }
#nav_main #id3 { top: 505px; background-position: 0 -295px; }
#nav_main #id4 { top: 640px; background-position: 0 -443px; }

#nav_main #id134 {
 top: 215px;
 background: white url(images/bouton-cp.jpg) top left no-repeat;
 height: 155px;
 width: 104px;
 left: 46px;
}

#nav_main span {
 display: none;
}

/* Navigation secondaire */

#breadcrumbs, #nav_sub #breadcrumbs a {
 color: white;
}



#nav_sub ul {
 float: right;
 margin: 0 0 0 0;
}

#nav_sub li {
 list-style: none;
 display: inline;
 padding-left: 10px;
}

#nav_sub a {
 margin-left: 0px;
 color: white;
 font-weight: bold;
 text-decoration: none;
}

#nav_sub #breadcrumbs a:hover, #nav_sub a:hover, #nav_sub li.here a {
 color: white;
 border-bottom: 1px white solid;
}


/**** TEXTES ****/

#branding h1 {
 display: none;
}


/* Zone de contenu principale */

#contenu {
 padding-top: 0px;
 margin-left: 200px;
 min-height: 850px;
}

h1 {
 color: #4748BF;
 font-size: 2em;
 font-weight: bold;
 text-align: right;
 margin: 0px 0 30px;
 padding-top: 20px;
 line-height: 1.2em;
}

h2 {
 color: #4748BF;
 font-family: "Trebuchet MS", Geneva, Arial, Helvetica, sans-serif;
 font-size: 1.5em;
 font-weight: bold;
 margin: 20px 0 10px;
}

h3 {
 color: #4748BF;
 font-family: "Trebuchet MS", Geneva, Arial, Helvetica, sans-serif;
 font-size: 1.2em;
 font-weight: bold;
 margin: 20px 0 10px;
}


p {
 margin: 5px 0;
}

#main img {
 float: right;
 margin: 10px 0 10px 10px;
}

p.center { text-align: center }
#main p.center img { float: none; margin: 0 auto }



#main ul {
 margin-left: 15px;
}

#main li {
 list-style-type: square;
 color: #4748BF;
}

blockquote {
 margin: 20px 30px
}

blockquote p {
 font-family:  Verdana;
 font-size: 0.8em;
 font-style: italic
}

blockquote p cite {
 text-align: right
}

/* Cadre de téléchargement */

a.dld {
 display: block;
 color: #788BB3;
 font-size: 14px;
 height: 37px;
 width: 400px;
 margin: 10px auto 10px 0px;
 padding-left: 57px;
 padding-top: 14px;
 background: transparent url(images/fichier-pdf.jpg) 5px 0 no-repeat;
 border: 1px #DFE2FD solid;
 -moz-border-radius: 15px;
}

a.dld:hover { color: #273780; border-color: #788BB3; }



div.uploadcounter {
 float: left;
}

div.uploadfile input {
 float: left;
 width: 80%;
}

/* Cartes postales */

#p134 .thumbs li {
 height: auto !important;
 min-height: 100px !important
}

#p134 .thumbs li p{
 margin: -20px auto 0 0;
 background-color: white !important;
}

#p134 .thumbs li p span {
 width: 35px;
 padding: 0 3px;
 font-size: 0.8em;
 font-weight: bold;
 color: red;
 background-color: white !important;
}
/**** CLASSES UTILES ****/


.spacer { clear: both }
