@media (max-width: 1260px) {
  #top_header a h3 {
    font-size: 3em;
  }

  .container {
    width: 95%;
    min-width: 900px;
    margin: 0 auto;
    padding: 0 auto;
  }

  .container2 {
    width: 95%;
    min-width: 900px;
    margin: 0 auto;
    padding: 0 auto;
  }

  .lien_top_left {
    font-size: 1.5em;
    line-height: 1.1em;
  }

  .lien_top_right {
    font-size: 1.1em;
    line-height: 1.1em;
  }

  section#middle_top article h2 {
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.1em;
  }

  section#banniere form input[type="submit"] {
    margin-top: 20px;
  }
}

@media (max-width: 990px) {
  /*--------section #middle-------------*/

  section#middle {
    justify-content: center;
    margin-bottom: 70px;
  }

  #middle_left {
    width: 100%;
    height: auto;
    /* border: solid red 2px; */
  }

  /*----RIGHT-------------------------*/

  #widget {
    width: 100%;
  }

  #middle_right article figure {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 910px) {
  .container {
    width: 95%;
    min-width: 240px;
    margin: 0 auto;
    padding: 0 auto;
  }

  .container2 {
    width: 95%;
    min-width: 240px;
    margin: 0 auto;
    padding: 0 auto;
  }

  header {
    justify-content: center;
  }

  .header_left {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    /* border: red solid 2px; */
  }

  .header_right {
    width: 100%;
    height: auto;
    /* border: black solid 4px; */
  }

  .header_right a,
  .header_left a {
    width: 100%;
    height: 350px;
    margin-bottom: 20px;
    /* border: green solid 4px; */
  }

  .header_right a article,
  .header_left a article {
    width: 100%;
    height: 350px;
    /* border: green solid 4px; */
  }

  .lien_top_right {
    font-size: 1.5em;
    line-height: 1.1em;
  }

  /*--------section #banniere-------------*/

  section#banniere {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    /* border: blue dotted 4px;   */
  }

  .form_nom,
  .form_email {
    width: 90%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* border: green solid 4px; */
  }

  #form_banniere label {
    margin-right: auto;
  }

  section#banniere form input[type="text"],
  section#banniere form input[type="email"] {
    width: 100%;
  }

  /*--------section #middle_top-------------*/

  section#middle_top {
    justify-content: space-around;
    width: 100%;
  }

  section#middle_top a:last-child,
  section#middle_top h3:last-child {
    display: none;
  }

  section#middle_top a {
    width: 47%;
    height: 350px;
  }
}

@media (max-width: 750px) {

  .contenair_header{
    padding-bottom: 20px;
  }

  #top_header {
    order: -1;
    width: 100%;
  }

  #top_header a h3 {
    font-size: 2em;
  }

  

  section#middle_top {
    justify-content: center;
    padding: 20px 0;
    border: #bbbbbb solid 1px;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  section#middle_top a:last-child,
  section#middle_top h3:last-child {
    display: block;
  }

  section#middle_top h3 {
    width: 80%;
    margin-bottom: 10px;
  }

  section#middle_top a {
    width: 80%;
    height: 350px;
  }

  .contenaire_admin{
    margin-top: 50px;
  }

  .contenaire_menu_admin{
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    /* border: red solid 1px; */
  }

  .contenaire_menu_admin a{
    display: inline;

  }

  .contenaire_categorie{
    width: 100%;
    margin: 0;
    /* border: blue solid 1px; */
  }
}

@media (max-width: 700px) {
  #middle_left {
    min-width: unset;
  }

  #middle_left article figure {
    width: 90%;
    margin-top: 15px;
    margin-left: 25px;
  }

  #middle_left article aside {
    width: 100%;
  }

  #middle_left article h4 {
    margin-top: 15px;
  }

  /*-------WIDGET--------------------------*/

  #middle_right article {
    border: #f5f5f5 solid 1px;
    border-radius: 10px;
    padding: 10px;
  }

  #middle_right article aside {
    width: 90%;
    margin-top: 15px;
  }

  #middle_right article h2 {
    margin-bottom: 0;
    padding-left: 0;
  }
}

/*------------------ADMIN----------------------*/

@media (max-width: 1600px) {

  #articles_list th:first-child,
  #articles_list td:first-child {
    display: none;
  }

  .gestblog{
    width: 100%;
}
}

@media (max-width: 1240px) {
  /* .contenaire_categorie {
    width: calc(100% - 240px);
  } */

  #categories label {
    font-size: 0.7em;
  }

  .contenaire_article {
    width: 100%;
  }
}


/*-------------------------ARTICLE--------------------------------*/
/*--------------------------------responsive-------------------------------------*/

@media (max-width: 1650px) {
    



  /*------------page blog.php------------------------*/
  .tous_les_articles{
      width: 100%;

  }

  #imgblog {
      width: 90%;
      height:auto;
  }
  
  .tous_les_articles h2 {
      width: 90%;
  }
  
  .tous_les_articles h3 {
      width: 90%;
  }
  
  

}

@media (max-width: 1300px) {
  .tous_les_articles{
      padding: 0 5%;
  }

  /*------------------------page article.php-----------------------*/
  .containerArticle{
      flex-direction: column;
      align-items: center;
      width: 100%;
      min-width: 200px;
      margin: 110px auto 0 auto;
      padding: 0 2%;
  }
  
  .articleSide{
      width: 95%;
      min-width: 240px;
      order: -1;
      border: unset;
      padding: 0 20px;
  }

  .articleSide h1{
      width: 90%;
      font-size: 1.4em;
      min-width: 240px;
  }

  .articleSide p{
      width: 99%;
      padding: 0 10px;
  }

  .sideSide{
      width: 100%;
      min-width: 240px;
      order: 1;
  }

  .articleSide #author{
      width: 90%;
      height: 40px;
  }

  #imgarticle {
      width: 100%;
      height: auto;
      overflow-y: hidden;
  }

}