/* 
    Created on : 30 août 2014, 21:56:47
    Author     : jade
*/

/** indications des couleurs de background :
*** blanc : #ededed
*** anthracite : #2e2e2e
*** bleu violet du menu : #31538f;
**/

/* -- POLICE -- */

@font-face 
{
    font-family: "PacificoRegular";
    src: url('/polices/Pacifico.ttf') ;
    font-weight: normal;
    font-style: normal;

}

/********** GENERAL ****************/
body{
    font-size : 13px;
    font-family : Arial;
    
}
#header{
    height : 250px;
    background-image : url("/img/logo.png") ;
    background-repeat : no-repeat;
    background-position: center;
    background-size: 21%;
    background-color: whitesmoke;
}

#menu{
    width:60%;
    margin : auto;
    padding : 2px 2px 2px 2px;
    color : #ededed;
    text-align : center;
    font-size : 14px;
    font-family: 'PacificoRegular', Avantgarde, Helvetica, sans-serif  ;
      
}

#menu a{
    text-decoration : none;
    color : #ededed;
    font-weight : normal;
    opacity : 0.6;
    
}

#menu a:hover{
    opacity :1;
}

a:visited{
    font-style : italic;
}

img{
    max-width : 100%;
}

#titre{
    font : PacificoRegular;
    size : 16px;
    color : #ededed;
} 

    /******* menuhorizontal : navigation Accueil **************/

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  width: 100%;
  font-family: 'PacificoRegular', Avantgarde, Helvetica, sans-serif  ;
  line-height: 1;
  background: #31538f;
}

#cssmenu > ul > li {
  float: left;
  margin-left: 2%;
  margin-right: 2%;
}
#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > a {
  padding: 20px;
  font-size: 18px;
  text-decoration: none;
  color: #2e2e2e;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li:active > a {
  color: #ededed; 
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 25px;
}
#cssmenu > ul > li.has-sub > a::after {
  position: absolute;
  top: 21px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #000000;
  border-right: 1px solid #000000;
  content: "";
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#cssmenu > ul > li.has-sub:hover > a::after {
  border-color: #009ae1;
}
#cssmenu ul ul {
  position: absolute;
  left: -9999px;
}
#cssmenu li:hover > ul {
  left: auto;
  padding:0;
}
#cssmenu.align-right li:hover > ul {
  right: 0;
}
#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
#cssmenu ul ul li {
  height: 0;
  -webkit-transition: height .2s ease;
  -moz-transition: height .2s ease;
  -ms-transition: height .2s ease;
  -o-transition: height .2s ease;
  transition: height .2s ease;
  z-index:3;
}
#cssmenu ul li:hover > ul > li {
  height: 32px;
}
#cssmenu ul ul li a { /***Sous-menu des Catégories****/
  font-family : Arial;
  padding: 10px 20px;
  width: 300px;
  font-size: 14px;
  background: #31538f;
  text-decoration: none;
  color: #2e2e2e;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #ededed;
}
#cssmenu ul ul li.has-sub > a::after {
  position: absolute;
  top: 13px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  content: "";
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
#cssmenu.align-right ul ul li.has-sub > a::after {
  right: auto;
  left: 10px;
  border-bottom: 0;
  border-right: 0;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}
#cssmenu ul ul li.has-sub:hover > a::after {
  border-color: #ffffff;
}


/*************** RECHERCHE *****************/

#rech{
    text-align: center;
    background: #31538f;
    border: 4px solid rgba(0, 0, 0, 0.35);
    border-radius: 3px;
    margin-top : 8px;
    padding: 5px 20px;
    outline: medium none;
    
     
}

input[type=text]
{
    
   border : none;
   border-radius: 3px;
   background: #31538f; 
   font-weight: lighter;  
   color : #ededed;

}


/*************** LIENS *********************/
a{
    text-decoration : none;
    color : #2E2E2E;
}
a:hover {
    color : grey;
}

a:visited{
    font-style : italic;
}

/************** BLOC ARTICLE ************/

#blocarticle{
    width : 100%;
    background-color : white;
    opacity : 1;
    border : dashed thin #bdbdbd ;
    margin-bottom : 25px;
    color: #6aaaca;
    font-size: 13px;
    font-family: Arial;
}

#blocarticle a {
    color: #fb0583;
    text-decoration: none;
}


#titre{
    font-family: 'PacificoRegular', Avantgarde, Helvetica, sans-serif  ;
    color: #31538f;
    font-size: 25px;
    margin-left : 5%;
}

#titre a{
    color: #31538f;
}

/************* DATE *****************/
#date{
    background-image : url("/img/rondDate.png");
    background-repeat : no-repeat;
    margin-left : -42px;
    padding-top : 5px;
    height : 80px;
    width : 80px;
    color : white;
    font-family : Arial, Avantgarde, Helvetica, sans-serif  ;
    text-align : center;
    vertical-align: middle;
        
}

#jour{
    font-size : 28px;
    font-weight : bold;
    
}

#mois{
    font-size : 14px;
    
}

#annee{
    font-size : 16px;
}


/*********** ARTICLE ********************/
#article {
    color: #31538F;
    font-size: 13px;
    font-family: Arial;
    margin : 0px 5% 5% 5%;
    padding : 0;
}

#categorie{
    margin-left : 5%;
    color : #ededed ;
    border-top : none;
    border-bottom : none;
    width : 30%;
   }

#article img{
    display : block;
    margin : 0 auto;
     -moz-border-radius:21px;
    -webkit-border-radius:21px;
    border-radius:21px;
}

h4 {
    color: #716b71;
    font-family: sans-serif;
    font-size: 10px;
    text-align : center;
    font-weight : normal;
}


h7 {
    display:block;
    margin-top : 20px;
    margin-left : -10px;
    margin-bottom : 5px;
    color: #31538f;
    font-family: sans-serif;
    font-size: 12px;
    font-weight : bold;
    text-align : left;
}

h6 {
    display:block;
    border-top : #bdbdbd double;
    border-bottom : #bdbdbd double;
    margin-left : 25%;
    padding : 0px 0px 10px 40px;
    width : 50%;
    color: #716b71;
    font-family: sans-serif;
    font-size: 10px;
    text-align : left;;
    font-weight : normal;
}

/*********** COMMENTAIRE ****************/
#qui{
    margin-left : 20px;
    margin-right : 30px;
    border-top : 1px solid grey;
}

#comment{
    margin-top : 10px;
    margin-bottom : 3%;
    margin-left : 100px;
    margin-right : 30px;
    color : grey;
    
    
}

#rep{
    margin-top : 5px;
    margin-left : 150px;
    color : #6aaaca;
    
}


/************ NAVIGATION *****************/

#navigation{
    background-color : #31538f;
    width:100%;
    margin : 0;
    padding : 2px 2px 2px 2px;  
    color : #2e2e2e;
    font-size : 12px;
    text-align : center;
    text-transform : none;
    
}

#navigation a{
    text-decoration : none;
    color : #2e2e2e;
    font-weight : normal;
}

#navigation a:hover{
    color : #ededed;
}

li.courant{
    background : whitesmoke; 
    border-radius: 3px;
    color :  #31538f;
    height : 20px;
    
}

#menunavig li.courant a{
    font-size : 16px;
    font-weight : bold;
}

    
ul#menunavig {
    font-family: 'PacificoRegular', Avantgarde, Helvetica, sans-serif  ;
    font-size : 18px;
    height : 40px;
    width : 60%;
    margin : auto;
    padding : 2px 2px 2px 2px;  
    list-style-type : none;
        
}

ul#menunavig li{
    padding : 0px 20px;    
    
}
    
li.boutongauchepage {
    border-right: 3px transparent;
    float : left;
    height : 35px;
    
}
    
li.boutongauchepage:hover, li.boutondroitepage:hover {
    color : #ededed;
}
    
       
li.boutondroitepage {
    border-right: 3px transparent;
    float : right;
    height : 25px;
}


/************ FOOTER *********************/
#footer{
    background-color: whitesmoke;
    width:100%;
    height : 80px;
    padding-top : 30px;
    text-align : center;
    font-weight : bold;
    font-size : 9px;
    color : #0489B1;
    
   
}

/** responsive **/

@media all and (max-width: 1430px){
  #cssmenu {
    font-family : Arial;
    width: 100%;
    margin:20px auto auto;
  }
  #cssmenu ul {
    width: 100%;
    display: none;
  }
  #cssmenu.align-center > ul,
  #cssmenu.align-right ul ul {
    text-align: left;
  }
  #cssmenu ul li,
  #cssmenu ul ul li,
  #cssmenu ul li:hover > ul > li {
    width: 100%;
    height: auto;
    border-top: 1px solid rgba(120, 120, 120, 0.15);
  }
  #cssmenu ul li a,
  #cssmenu ul ul li a {
    width: 100%;
  }
  #cssmenu > ul > li,
  #cssmenu.align-center > ul > li,
  #cssmenu.align-right > ul > li {
    float: none;
    display: block;
  }
  #cssmenu ul ul li a {
    padding: 20px 20px 20px 30px;
    font-size: 12px;
    color: #2e2e2e;
    background: none;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li a:hover {
    color: #ededed;
  }
  #cssmenu ul ul ul li a {
    padding-left: 40px;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul {
    position: relative;
    left: 0;
    right: auto;
    width: 100%;
    margin: 0;
  }
  #cssmenu > ul > li.has-sub > a::after,
  #cssmenu ul ul li.has-sub > a::after {
    display: none;
  }
  #menu-line {
    display: none;
  }
  #cssmenu #menu-button {
    display: block;
    padding: 20px;
    color: #000000;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
  }
  #cssmenu #menu-button::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    display: block;
    width: 15px;
    height: 2px;
    background: #000000;
  }
  #cssmenu #menu-button::before {
    content: '';
    position: absolute;
    top: 25px;
    right: 20px;
    display: block;
    width: 15px;
    height: 3px;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
  }
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 10;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(120, 120, 120, 0.15);
    height: 52px;
    width: 52px;
    cursor: pointer;
  }
  #cssmenu .submenu-button::after {
    content: '';
    position: absolute;
    top: 21px;
    left: 26px;
    display: block;
    width: 1px;
    height: 11px;
    background: #000000;
    z-index: 99;
  }
  #cssmenu .submenu-button::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 26px;
    display: block;
    width: 11px;
    height: 1px;
    background: #000000;
    z-index: 99;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    display: none;
  }
  
  #rech{
    text-align: center;
    background: #31538f;
    border: 4px solid rgba(0, 0, 0, 0.35);
    border-radius: 3px;
    width: 250px;
    margin: 6px 0 6px 0;
    //padding: 5px 20px;
    outline: medium none;    
}
  ul#menunavig {
    font-family: 'PacificoRegular', Avantgarde, Helvetica, sans-serif  ;
    font-size : 18px;
    height : 40px;
    margin : auto;
    padding : 2px 2px 2px 2px;  
    list-style-type : none;
    width:100%;
}

input[type=text]
{    
   border : none;
   background: #31538f; 
   font-weight: lighter;  
   color : white;
}


  
} 

@media screen and (max-width : 1525px){
    ul#menuhorizontal li{
        font-size:12px;
    }
}

@media screen and (max-width : 1350px){
    ul#menuhorizontal li{
        padding : 0 20px 0 20px;
        height : 30px;
        font-size:10px;
    }
}

@media screen and (max-width : 1225px){
    #menu{
    width:50px;
    margin-left: 20%;
    color : #ededed;
    font-size : 14px;
    font-family: 'PacificoRegular', Avantgarde, Helvetica, sans-serif  ;
      
    }
}

@media all and (max-width: 600px){
  ul#menunavig li{
    padding : 0px 6px;   
}
}