/* Created by http://freehtml5templates.com */
/* reset */
* {
margin: 0;
padding: 0;
}

/* render html5 elements as block */
header, footer, section, aside, nav, article {
display: block;
}

body {         
line-height: 1;
background: #0A0A0A url("images/edelweiss1.jpg")repeat;
font-family: Garamond, Georgia, Times, 'Times New Roman', serif;
color: #0A0A0A ;  /* texte article bleu ddd */ 
font-size: 16px;
line-height: 18px;
}
	
/* layout */

#wrapper {
width: 1100px;
margin: 0 auto;
margin-top: 10px;
margin-bottom: 10px;
}

/* NAV */
nav {
width: 100%;
background-color: #A811FF;
}
nav > ul {
margin: 0px;
padding: 0px;
}
nav ul::after {
content: "";
display: block;
clear: both;
}
nav > ul > li {
float: right;
position: relative;
font-weight: bold;
}
nav > ul > li > a {
padding: 15px 20px; 
color: #FFF;
}
nav > ul > li:hover a {
padding: 10px 20px 15px 20px; 
}
nav li {
list-style-type: none;
}
.submenu {
display: none;
}
nav a {
display: inline-block;
text-decoration: none;
}
nav li:hover .submenu {
display: inline-block;
position: absolute;
top: 100%;
left: 0px;
padding: 0px;
z-index: 1000;
}
.submenu li{
border-bottom: 1px solid #CCC;
}
.submenu li a {
padding: 10px 20px; 
font-size: 16px;
color: #222538;
width: 270px;
}
.P1:hover {
border-top: 5px solid #e44d26;
background-color: RGBa(228, 77, 38, 0.15)
}
.P2:hover {
border-top: 5px solid #0070bb;
background-color: RGBa(000, 112, 192, 0.15)
}
.P3:hover {
border-top: 5px solid #f1dc4f;
background-color: RGBa(241, 211, 79, 0.15);
}
.P4:hover {
border-top: 5px solid #e44d26;
background-color: RGBa(228, 77, 38, 0.15)
}
.P10:hover {
border-top: 5px solid #BBB;
background-color: RGBa(220, 220, 220, 0.15);
}
.P1 .submenu {
background-color: RGB(230, 100, 40);
}
.P2 .submenu {
background-color: RGB(000, 160, 240);
}
.P3 .submenu {
background-color: RGB(250, 215, 100);
}
.P4 .submenu {
background-color: RGB(230, 100, 40);
}
.submenu li:hover a {
color: #EEE;
font-weight: bold;
}
.P1 .submenu li:hover {
background-color: RGB(210, 77, 60);
}
.P2 .submenu li:hover {
background-color: RGB(000, 115, 200);
}
.P3 .submenu li:hover {
background-color: RGB(200, 165, 75);
}
.P4 .submenu li:hover {
background-color: RGB(210, 77, 60);
}
/* Fin NAV */

header {
position: relative;
width: 1100px;
height: 200px;
margin: 0 auto;
background-color: #494949;  /*jaune #FFF423*/
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#585858), to(#F884FF));    /* mauve D775FF origine 494949*/
background: -moz-linear-gradient(top, #585858 0%, #F884FF 100%);   /*origine 494949*/
background: linear-gradient(to bottom, #585858 0%, #F884FF 100%);
}

#main {
width: 1100px;
margin: 0 auto;
padding-top: 30px;
background: #F884FF;       /*rose origine #4d4d4d */
overflow: hidden;
}

#content {
float: right;
width: 800px;     /*640*/
margin: 0 30px 10px 0;
border-left: 1px #520000 solid;      /*brun foncé */
padding-left: 25px;
}

#sidebar {
float: left;
padding-left: 20px;
width: 220px;
}

footer {
width: 1100px;
margin: 0 auto;
clear: both;
}

/* basics */

@font-face {
	font-family: 'CloisterBlackLight';
	src: url('CloisterBlack-webfont.eot');
	src: local('CloisterBlackLight'), url('CloisterBlack-webfont.woff') format('woff'), url('CloisterBlack-webfont.ttf') format('truetype'), url('CloisterBlack-webfont.svg#webfontURGgOlCQ') format('svg');
	font-weight: normal;
	font-style: normal;
}


h1,h2,h3,h4,h5,h6 {
font-weight: bold;
clear: both;
color: #FFF;   /* origine bleu */
}

/*a:link, a:visited {
color:#FF1141;     
text-decoration: none; 
}

/*a:hover, a:active {
color: #FF1141; 
text-decoration: underline;
}  */

p {
margin-bottom: 18px;
}

li {
padding-left: 5px;
}


/** HEADER */

header h1, header h2, header h3 {
margin: 20;
line-height: normal;
float: right;
width: 700px;  /*575*/
padding-right: 20px;
}

header h1 { 	
padding-top: 20px; 
font-family: 'CloisterBlackLight', Verdana, Arial, Helvetica, sans-serif;
font-size: 60px;
color:#FFAF51;    /* orange */
text-shadow: 3px 3px 3px #B80D00;
}

header h1 a:hover { 
text-shadow: none; 
}

header h2 {
text-shadow: 2px 2px 2px #FFFFFF;
color:#FF1141;
margin-top: 10px;   
font-size: 24x;    
text-decoration: none;
}

header h3 {
font-size: 24px;
}

#headerlogo {
position: absolute;
top: 4px;
left: 5px;
}

/** ARTICLES **/
article img {
border: none;
}

#content p, ul, ol, hr {
margin-bottom: 24px;
}

#content p {
text-align: justify;
}

#content ul ul, ol ol, ul ol, ol ul {
margin-bottom: 0;
}

#content h1, h2, h3, h4, h5, h6 {
margin: 0 0 20px 0;
line-height: 1.5em;
}

article h2 {
text-shadow: 2px 2px 2px #B80D00;
color: #FFAF51;    /* orange*/
text-decoration: none;
}

.alignleft, img.alignleft {
display: inline;
float: left;
margin-right: 10px;
margin-top: 4px;
}

.alignright, img.alignright {
display: inline;
float: right;
margin-left: 10px;
margin-top: 4px;
}

.aligncenter, img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignleft, img.alignright, img.aligncenter {
margin-bottom: 12px;
}

/* sidebar and footer widget blocks */

aside h3 {
font-size: 18px;
color: #FFFFFF;      /* rajout */
}

aside h4 {
font-size: 14px;
color: #000000;     /* #FF0A2E; */     
}

aside ul {
list-style: none;
margin-bottom: 20px;
margin-top: -15px;
}

aside li a {
display: block;
text-decoration: none;
}

aside li a:hover {
text-decoration: underline;
}

#footer-area {
background-color: #494949;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F884FF), to(#585858));      /* dégradé de couleur 494949*/
background: -moz-linear-gradient(top, #F884FF 0%, #585858 100%);       /*494949*/
background: linear-gradient(to bottom, #F884FF 0%, #585858 100%);
font-size: 90%;
padding: 18px 0;
overflow: hidden;
}

.footer-segment {
float: left;
margin-right: 20px;
margin-left: 20px;
width: 220px;     /*190*/
}

footer aside h4 {
font-size: 16px;
line-height: 1.5em;
color:#FF194F;
}

footer a:link, footer a:visited {
color:#FFFFFF;
}

footer p {
margin-top: -13px;
}

/* POPUP */

.cModal {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity:0;
  pointer-events: none;
}
.cModal:target {
  opacity:1;
  pointer-events: auto;
}
.cModal > div {
  max-width: 400px;
  position: relative;
  margin: 10% auto;
  padding: 8px 8px 8px 8px;
  border-radius: 2px;
  background: #fff;
}
a{ 
  color: #4c0ed8;                 
} 
a:hover,a:focus{
  color:#000;
}
              
/* Position et couleur bulle */
a span{ 
  position:absolute;
  margin-top:25px; 
  margin-left:-25px;
  color:#fff; 
  background:rgb
  padding:25px; 
  border-radius:3px; 
                
  /* Faire disparaire infobulle par défaut */
  /* On determine l'origine de la rotation */ 
  transform:scale(0) rotate(-180deg);
  /* Faire durer l'effet */
  transition:all .25s;
  /* Effet sur la transparence */ 
  opacity:0;
}
            
/* Apparition de la bulle avec le scale à 1 */ 
a:hover span, a:focus span{ 
  transform:scale(1) rotate(0);
  /* Effet sur la transparence */ 
  opacity:1;
}

/*-----------------*/
/* autre infobulle */
.tooltip
{
  text-decoration:none;
  position:relative;
}
 
 
.tooltip span
{
  display:none; 
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  border-radius:6px;
  color:black;
  background:grey; 
}
.tooltip span img
{
  float:left;
  margin:0px 8px 8px 0;
} 
.tooltip:hover span
{
  display:block;
  position:absolute;
  top:0;
  left:0;
  z-index:1000;
  width:auto;
  max-width:320px;
  min-height:128px;
  border:1px solid black;
  margin-top:12px;
  margin-left:32px;
  overflow:hidden;
  padding:8px;
}

/*-----------------*/
/* autre infobulle */
