@import url(https://fonts.googleapis.com/css?family=Open+Sans:700italic,300,700,400);

@import url('https://fonts.googleapis.com/css2?family=family=Merienda+One&display=swap');

@import url(http://weloveiconfonts.com/api/?family=entypo);

/* entypo */
[class*="entypo-"]:before {
  font-family: 'entypo', sans-serif;
}

*{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* code media */
@media only screen and (max-width: 320px) {

#chapitre {font-size: 155%; font-weight: 500;}
h1 {font-size:  1.5em;}
section#main p {font-size: 1.em;}
section lien { font-size: 1.7em; font-weight: 500;}
td {font-size: 145%;}
  
}



body{
  background: #fbfbfb;
  width: 100%;
   font-family: "Open Sans",sans-serif;
  color: #481f05;
  line-height : 1.43em;
}

/* class TABBLE et td */

.first {font-size: 1.05em;}
 
 /* intro pin */
.pin, a.pin,  pin:hover {
    display: block;
    margin-bottom: 20px;
    background-color: #f8f8f8 !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
    background-size: 28px auto !important;
    border-bottom: 1px dotted #C8C8C8;
    border-top: 1px dotted #C8C8C8;
    display: block;
    margin: 10px 0 !important;
    padding: 7px 10px 7px 35px !important;
    -webkit-transition: background-color 800ms ease-in-out;
    -moz-transition: background-color 800ms ease-in-out;
    -o-transition: background-color 800ms ease-in-out;
    transition: background-color 800ms ease-in-out;
    text-shadow: 1px 1px 1px #ffffff;
    font-size: 1em;
    color: #8165a6;
    line-height: 1.5;
}

/* MENU LEFT */

 #chapitre{height: 95%;}

ul{
  list-style: none;
  margin: 0;
  padding: 20px 10px;
  font-family:'Merienda One', cursive;
  font-size: 1.3em;
  font-weight: 400;
}

ul li{
  padding: 5px 20px;
  margin-bottom: 12px;
}

nav a{
  border-bottom: dotted 1px rgba(255,255,255,0.2);
  display: block;
  padding: 4px 0;
  text-decoration: none;
  color: #f5f4f4;
  width: 100%;

  transition: all 0.4s ease;  
}

nav a:hover{
  color: #efefef;
  padding-left: 10px;
  font-weight:500;
  background-color: #8e0505;
}

nav li:last-of-type a{
  border: 0;
}

nav span{
  margin-right: 10px;
}

header a{
  text-decoration: none;
  color: #efefef;
  float: left;
  font-size: 14pt;
  padding: 5px 20px;
}

nav{
  background: #E21232;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: fixed;
  width: 0;
  z-index: -1;
}

.abrir, .fechar{
  line-height: 50px;
  background: #E21232;
   width: 50px;
  height:15px;
  color: rgba(255,255,255,0.7);
  -webkit-transition: color .3s ease-in;
  -moz-transition: color .3s ease-in;
  -ms-transition: color .3s ease-in;
  -o-transition: color .3s ease-in;
  transition: color .3s ease-in;
}

.abrir:hover{
  color: #fc9a00;
  font-weight:450;
}

.fechar{
  display: none;
  background: #ff9217;
  color: rgba(0,0,0,0.7);

}

.fechar > span{
  display: block;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}

nav:target{
  width: 25%;
}

nav:target + .content{
  width: 75%;
}

nav:target + .content .abrir{
  display: none;
}

nav:target + .content .fechar{
  display: block;
}

nav:target + .content header{
  left: 20%;
}

.content{
  float: right;
  width: 100%;
  position: relative;
}

nav, .content{
  -webkit-transition: width .3s ease-in-out;
  -moz-transition: width .3s ease-in-out;
  transition: width .3s ease-in-out;
}

header h1{
  margin: 0;
  padding: 0;
  margin-left: 30px;
  padding-left: 25px;
  position: absolute;
  line-height: 60px;
  z-index: -9999;
  overflow: hidden;
  font-family: 'Open Sans', sans-serif;
  font-size: 20pt;
}


/* MENU HORIZONTAL INTERNE  */

.dropbtn {
  background-color: #9d4603;
  color: white;
  padding: 5pt;
  font-size: 11pt;
  border: none;
}

.drop {
  position: relative;
  display: inline-block;
}

.drop-content {
  display: none;
  position: absolute;
  background-color: #FFF;
  min-width: 90pt;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.drop-content a {
  color: #625e5e;
  font-family: 'Open Sans', sans-serif;
  font-size: 10pt;
  padding: 8px 10px;
  text-decoration: none;
  display: block;
}

.drop-content a:hover {background-color: #fbfbfb; color:#f99901;}

.drop:hover .drop-content {display: block;}

.drop:hover .dropbtn {background-color: WhiteSmoke; color:#f99901;}

 
/* MAIN CONTENT */

section#main{
 margin-bottom: 55px;
  position: relative;
  padding: 5px 35px 0 35px;
  top: 8px;
  line-height: 150%;
   text-align: justify;
}

section#main p{
   font-size: 1em;
  line-height: 1.6em;
  padding-top: 6px;
 padding-right: 15px;
 font-weight: 400;
  overflow: hidden; /* fix for Firefox */
  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;  

  -webkit-column-count: 1;
  -webkit-column-gap: 4%;
}


section h1 {

    color: #662e03; 
    font-family: 'Open Sans', sans-serif;
    font-size: 18pt;
    padding-left: 25px;
    padding-bottom: 12px;
    line-height:60px;
}
 
 section h2 {
   font-family: 'Merienda One', cursive;
   color: #8165a6; 
   font-size: 18pt;
   padding-top: 10px;
  padding-left: 6px;
   padding-bottom: 6px;
   line-height:60px;
   text-decoration: none;
}

 section h3{
   font-family: 'Merienda One', cursive;
   color: #817d7d;
   font-size: 16pt;
   margin-top:10pt;
   margin-bottom:12pt;
 }

   .pin2 {display: block;
    margin-bottom: 20px;
    background-color: #f2f2f2 !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
    background-size: 28px auto !important;
    border-bottom: 1px dotted #C8C8C8;
    border-top: 1px dotted #C8C8C8;
    display: block;
    margin: 10px 0 !important;
    padding: 7px 10px 7px 35px !important;
    -webkit-transition: background-color 800ms ease-in-out;
    -moz-transition: background-color 800ms ease-in-out;
    -o-transition: background-color 800ms ease-in-out;
    transition: background-color 800ms ease-in-out;
    text-shadow: 1px 1px 1px #ffffff;
    color: #4b2501; 
    font-size: 1em;
  }


/* encarts interne */

#encart {
  font-size: 1.1em;
  padding: 10px;
 font-weight: 400;
  width: 90%;
  background-color: "WhiteSmoke";
  border: solid thick WhiteSmoke;
 border-radius: 0.75em 
 box-shadow: grey 0.3em 0.3em 0.1em
 
}

#encart_spec {
text-align: center;
background-color: #F7F8FA;
width: 55%;
min-height: 55px;
padding-top: 8px;
font-size: 18pt;
color: #944305;
font-weight: lighter;
border-radius: 5px / 12px;
border: #edeae8 1px solid;
-moz-border-radius: 5px;
border-radius: 5px;
box-shadow: 3px 3px 7px 5px #f0ebe4;
}

/* liens */

.top {
    font-size: 1.1em;
  color: #9d4603;
  background-color: #ededed;
}
.top:hover {
  color: #a17c5e;
}

 .lien {
  text-decoration: none;
  color: #8165a6; 
}
 .lien:hover {
 text-decoration: none;
  color: #c0b7cd;
}

 .astvert {
  text-decoration: none;
  color: #13bc2d; 
}
 .astvert:hover {
 text-decoration: none;
  color: #085c15;
}
 
.astor {
  text-decoration: none;
  color: #ee9b07; 
}
 .astor:hover {
 text-decoration: none;
  color: #a17c5e;
}
 
 /* divers */
   .un{font-size: 9pt; color:#939292;}
 .indent {padding-left: 5%;}
 .image {margin-right: 2%;}
 
 
 /* tooltip Image */

 a.tooltip {
  position: relative;
}
a.tooltip:hover {
  text-decoration: none;
}
a.tooltip:after {
  content: attr(tip);
  font-family: Century Gothic;
  text-align: left;
  font-size: 75%;
  line-height: 1.125em;
  color: #9d4603;
  width: 180px;
  padding: 5px 10px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  background: #FFF;
  background: -webkit-linear-gradient(#f3f2f2, #ecebec);
  background: -moz-linear-gradient(#f3f2f2, #ecebec);
  background: -o-linear-gradient(#f3f2f2, #ecebec);
  background: -ms-linear-gradient(#f3f2f2, #ecebec);
  background: linear-gradient(#f3f2f2, #ecebec);
  -moz-box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.65);
  -webkit-box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.65);
  box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.65);
  position: absolute;
  top: 27px;
  left: -10px;
  display: none;
}
a.tooltip:before {
  z-index: 1000;
  position: absolute;
  content: "";
  top: 15px;
  left: 0px;
  border-right: 7px transparent solid;
  border-left: 7px transparent solid;
  display: none;
}
a.tooltip:hover {
  z-index: 1000;
  position: relative;
  color: #d1d0d0;
}
a.tooltip:hover:after {
  display: block;
}
a.tooltip:hover:before {
  display: block;
}







