/* Start of CMSMS style sheet 'theme : perono-intro' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: normal;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #543012;

}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #543012;

}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #543012;
}

/*****************
basic layout 
*****************/
html,body { text-align:center; }

body {
  margin:0;padding:0;
background:transparent url(./images/perono/fond-intro.png) top center repeat-y;
text-align:center;
}

/* center wrapper, min max width */
div#pagewrapper {
  width: 960px;
  height: 821px;
margin:0px auto;
  text-align:center;
  background:transparent url(./images/perono/intro-bord.jpg) top left no-repeat;
}

div#wrapper {
  width:900px;margin:0px auto;  
  height:800px;
  text-align:left;
  position:relative;
  background:transparent url(./images/perono/intro-fond.jpg) top left no-repeat;
}

div#header {
  position:relative;
}


div#header h1 { display:block;position:absolute;top:0px;left:46px;margin:0px;padding:0px;
width:246px;height:430px;background:transparent url(./images/perono/intro-logo.png) top left no-repeat; 
}
div#header h1 a { display:none; }
div#header .slogan { position:absolute;margin:0;padding:0;top:38px;left:300px; }

div#header .slogan ul { margin:0;padding:0;list-style:none none; }
div#header .slogan li { line-height:22px;margin-bottom:22px;background:transparent url(./images/perono/intro-puce.png) left center no-repeat; padding-left:20px;font-family:arial;font-size:22px;font-weight:600;color:#005270;}
div #header .slogan li a { font-family:arial;font-size:22px;font-weight:600;color:#005270;text-decoration:none;outline;none; }

div#footer {
   clear: both;       /* keep footer below content and menu */
   text-align:left;
   position:absolute;
   top:743px;left:58px;
   width:390px;
   font-family:Arial;
   font-size:11px;
   line-height:14px;
   fon-weight:normal;
   color:#005170;
}

#footer a { color:#005170;   font-family:Arial;font-size:10px;line-height:11px;text-decoration:none; }
#footer a:hover { text-decoration:underline; }

/* blocs "espaces" */
.les-espaces ul { margin:0;padding:0;list-style:none; }
li.espace-professionnels { position:absolute; top:480px;left:62px;width:210px;height:195px;}
li.espace-collectivites { position:absolute;top:480px;left:344px;width:210px;height:195px; }
li.espace-particuliers { position:absolute;top:480px;left:634px;width:210px;height:195px;}

.les-espaces ul li a { display:block;outline:none;cursor:pointer;width:352px;height:246px; }
.les-espaces span { display:none; }
/* bloc contenant la ou les images d'intro */
div.intro-img { position:absolute;top:40px;left:483px;width:352px;height:246px;overflow:hidden; }
div.intro-img img { padding-bottom:11px;background:transparent url(./images/perono/intro-fond-image.png) bottom right no-repeat; }


/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

#menu_bas {
position:absolute;
left:626px;top:763px; }

#menu_bas ul { margin:0;padding:0;list-style:none none; }
#menu_bas li { 
position:relative;display:block;float:left;height:18px;width:127px;line-height:11px;background:transparent url(./images/perono/intro-puce-menu.png) top left no-repeat; }

#menu_bas li a { line-height:11px;text-decoration:none;padding-left:14px;color:#fff;font-size:12px;font-family:Arial;font-weight:normal; }
#menu_bas li a:hover { text-decoration:underline; }
/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

/********************
CONTENT STYLING
*********************/
div#content {
position:absolute;
top:300px;
left:483px;
width:352px;
line-height:normal;
font-size:12px;
font-family:Arial;
font-weight:normal;
color: #005270;
}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
       color: #005270;
	font-size: 22px;
        font-weight:600;
        font-family:Arial
	text-align: left; 
        margin: 0px;
        display:block;
        clear:both;
}
div#content h2 span {
/*float:left;*/
display:block;
line-height:normal;
background:transparent url(./images/perono/intro-titre-page.png) right center no-repeat;
padding:0px 0px 10px ;
clear:both;
 }

/* END HEADINGS */

/* TEXT */

#content p {
   font-size: 12px;
   margin: 0 0 6px 0; /* some air around p elements */
   line-height: normal;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */
/* End of 'theme : perono-intro' */

