/* Header */
body {
  width: 100%;
  min-width: 300px;
  margin: auto;
  margin-left:0px;
  margin-right:0px;
  background-color:#efefef;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
pre
{
  white-space: pre-wrap;
}

/* ***Styles généraux*** */
a:active, a:focus {
  color: #0f6198 ;
  text-decoration : blink;
  }
a:link, a:visited {
    color : #840C01;
    font-size : 1.5vmax;
    text-decoration : none;
  }
a:hover {
    color: #0f6198 ;
    text-decoration:none;
  }
a img {
    border: 0;
  }
h2{
    margin-left: 2%;
  }
.centre{
  display: flex;
  margin:auto;
  justify-content: center;
  align-items: center;
  text-align:center;
}
.evidence{
  font-style: italic;
  font-size: 110%;
  color: #305b95 ;
  font-weight:bold;
}
.arrondi{
  border-radius: 4px 4px 4px 4px;
}
.ombre{
  border: 1px solid #ababab;
  -moz-box-shadow: 8px 8px 8px #ababab ;
  -webkit-box-shadow: 8px 8px 8px #ababab ;
  box-shadow: 8px 8px 8px #ababab ;
}

.flash-success{
  line-height:30px;
  background-color: #bfe7b6;
  border: 1px solid #bfe7b6;
  color: #0f6198 ;
}
.flash-warning{
  line-height:30px;
  background-color: #dc4f50;
  border: 1px solid #dc4f50;
}
.flash-info, .flash-notice{
  line-height:30px;
  background-color: #00557f;
  border: 1px solid #00557f;
  color: #fec93c;
}

#corps{
  font-family: Arial, Verdana, Trebuchet MS, Tahoma, Times New Roman, Times, serif;
  width: 100%;
  background-color:#efefef;
  font-size: 1em;
}

.entete{
  display: flex;
  flex-direction: row;
  font-family, font: Croissant;
  background-color: #ababab;
  width: 100%;
  height: 60px;
}

.profile
{
  position: relative;
  margin:auto;
  margin-right: 1%;
}

.header{
  margin: 0px;
  margin-top: -10px;
  padding: 0px;
}
.header ul{
  list-style-type: none;
  display: flex;
}
.header li{
  margin-right: 15px;
}
.header a{
  font-size: 1.3em;
  color: #181818;
  text-decoration: none;
  display: inline-block;
}
.header a:hover{
    color: #760001;
    border-bottom: 3px solid #760001;
}

.menuadmin{
    align-items: center;
    margin:auto;
}

.carrousel{
    position: relative;
    display: block;
    top: -16px;
    max-width:100% ;
    margin:auto;
}
.carrousel ul li{
    position:absolute;
    list-style-type: none;
    top:0;
    left:0;
}
/** Menu Principal **/
.nav{
  position: relative;
  display: flex;
  margin-top: 17%;
  justify-content: center;
  background-color:#282c34;
  height: 35px;
  min-height: 35px !important;
}

  /** liste déroulante **/
.nav li .nav_mobile, .menu_deroulant, .menu_deroulant ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.menu_deroulant ul{
  display: none;
}
.menu_deroulant li {
  display: inline-block;
  position: relative;
  background-color:#282c34;
}
.menu_deroulant a{
  display: block;
  width: 100%;
  height: 30px;
  line-height: 30px;
  padding: 0px 20px;
  text-align: left;
  font-size : 1.2em;
}
.menu_deroulant li:hover ul{
  display: block;
  position: absolute;
  width: 200px;
  top:30px;
  left: 0px;
  z-index: 100;
}
.menu_deroulant li:hover ul a{
  width: 200px;
}
.menu_deroulant ul a{
  display: block;
}
.menu_deroulant > li a:link, .menu_deroulant > li a:visited, nav ul li a:link, nav ul li a:visited{
  color: #fec93c;
  transition: all 0.5s ease 0s;
}
.menu_deroulant > li a:focus, .menu_deroulant > li a:active, .menu_deroulant > li a:hover, nav ul li a:hover, nav ul li a:focus{
  color: #e01e26;
  transition: all 0.5s ease 0s;
}
/** Menu Smartphone & Tablette **/
.menu_mobile, .header_mobile, #drop, .toggle{
  display: none;
}

@media screen and (max-width:1200px){
  .nav{
    margin-top: 15%;
  }
}
@media screen and (max-width:800px){
    .header{
      display: none;
    }

    .nav{
      position: relative;
      display: flex;
      justify-content: center;
      margin-top: 12%;
      padding-left: 1%;
    }
    /** header pour Smartphone & Tablette **/
    .header_mobile{
      display: block;
    }

    .contenu{
      position: relative;
      display: flex;
      flex-direction: column;
      align-self: flex-start;
      flex-wrap: wrap;
    }

    .article{
      flex: 100%;
      background-color: #ffffff;
      flex-wrap: wrap;
      margin: 2%;
    }
}
@media  screen and (max-width: 480px){
    .header, .menu_deroulant{
      display: none;
    }
    .header_mobile{
      display: block;
    }
    .nav{
      position: absolute;
      display: flex;
      justify-content: left;
      margin-top: 10%;
      padding-left: 1%;
      flex-wrap: wrap;
    }
    nav ul {
       list-style-type: none;
    }
    nav ul li {
       padding: 0 15px;
    }
    nav ul li a {
       display: inline-block;
       padding: 12px;
    }



    .contenu{
      position: relative;
      display: flex;
      flex-direction: column;
      align-self: flex-start;
      flex-wrap: wrap;
    }

    .article{
      flex: 100%;
      background-color: #ffffff;
      flex-wrap: wrap;
      margin: 2%;
    }
}


/** Connexion **/
#connexion{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-top: 5%;
  margin-bottom: 10%;
}
/** Calendrier **/
#calendar{
  position: relative;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  margin-top: 2%;
  margin-left: 5%;
}
/* Les Articles */
.contenu{
  position: relative;
  display: flex;
  flex-direction: row;
  align-self: flex-start;
  flex-wrap: wrap;
}

.article{
  flex: 45%;
  background-color: #ffffff;
  flex-wrap: wrap;
  margin: 2%;
}

.article_titre{
  display: inline;
  margin-left: 2%;
  color:#b2020e;
}
.article_contenu{
  flex-wrap: wrap;
  word-wrap: break-word;
  display: inline;
  margin-left: 2%;
}

.carte_google {
overflow:hidden;
padding-bottom:56.25%;
position:relative;
height:0;
}
.carte_google iframe {
left:0;
top:0;
height:100%;
width:100%;
position:absolute;
}

/* ***Administration*** */
fieldset{
    border:1px solid #cecece;
    box-shadow: 25px 20px 8px -10px grey;
    background-color: #ebebeb;
    font-size: 0.9em;
    background: -webkit-linear-gradient(90deg, #CCCCCC, #FFFFFF) repeat scroll 0 0 transparent;
    background: -moz-linear-gradient(90deg, #CCCCCC, #FFFFFF) repeat scroll 0 0 transparent;
}

input, select, textarea{
    width: 90%;
    padding: 5px 20px;
    box-sizing: border-box;
    border:1px solid #cecece;
    box-shadow:1px 1px 1px ;
    background-color: #FFF;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    vertical-align:middle
}

input:hover, input:focus, textarea:focus, textarea:hover, select:focus, select:hover{
    box-shadow:2px 2px 2px #e01e26;
}

input[type="radio"], input[type="checkbox"]{
    width: 15px;
}

.btn{
  display:block;
  width:100px;
  line-height:20px;
  text-align:center;
  border: none;
  box-shadow:0px ;
  vertical-align:middle;
  float:left;
  margin:1px;
}

.btn-default{
  line-height:30px;
  -moz-border-radius:3px;
  -webkit-border-radius:3px;
  background-color: #dcdcdc;
  border: 1px solid #a6a6a6;
}

#admin{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  flex: 100%;
  justify-content: flex-start;
}

.adminListe{
  flex: 70%;
  display: inline;
  margin-left: 2%;
}

.adminListe table, td, th {
    font-size:1.3vmax;
    text-align: center;
}
.adminListe td img{
    height: 18px;
    width: auto;
    text-align: center;
}
.adminListe a {
    font-size:1.3vmax;
}
.adminListe .titre{
  display: inline;
  width: 200px;
}

.adminListe .date_article{
    font-size:0.9em;
}

.ajoutadmin{
  flex: 25%;
  display: inline;
  margin-right: 3%;
  max-width : 250px;
}

.ajoutadmin textarea{
    width: 90% ;
    height: 75px;
    text-indent : 1px;
}

.ajoutadmin input[type="checkbox"]{
    margin-left:50px;
    margin-right:25px;
}

.ajoutadmin input[type="radio"]{
    margin-left:50px;
    margin-right:50px;
}

.ajoutarticleadmin{
  position: relative;
  align-self: flex-start;
  margin:auto;
  width: 96%;
  min-height: 500px;
}

.form_contenu {
  display:block;
  margin:auto;
  margin-right: 1%;
  margin-left: 1%;
  width : 75%;
}

.form_contenu input{
    width: 40%;
}


.form_menu {
  display:block;
  float: right;
  width : 23%;
}




#agenda{
  float: right;
  width: 30%;
  margin-right: 8%
}

#calendar{
  width: 100%;
  margin-right: 0%;
  min-height: 350px;
}
/* Footer */

footer{
    width:90%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: .8em;
    font-family, font: Croissant;
}
