/* Laptops and larger desktops */
@media (max-width: 1500px) {
  /* Styles for 1366px and below */
  body{
    font-size: 20.5px;
  }

  header h1{
    font-size: 42px;
  }

  header h2{
    font-size: 30px;
  }

  .table-of-contents{
    padding-left: 100px;
  }

  .home-main-wrapper{
    margin-top: 50px;
  }

  .home-main .introduction{
    margin-bottom: 40px;
  }

  .links-btn{
     margin-bottom: 50px;
  }

  .chapter h1{
    font-size: 63px;
  }

  .chapter h2{
    font-size: 30px;
  }

  .chapter .content blockquote.sources-primaires{
    font-size: 17px;
  }

  blockquote{
    font-size: 15px;
  }

  .chapter .content blockquote.verbatim{
    font-size: 15px;
  }

  .icons-toc ul li{
    font-size: 20.5px;
  }
}


/* Mobile landscape and larger phones */
@media (max-width: 850px) {
  body{
    font-size: 18px;
  }

  header .site-title{
    width: calc(100% - 15px);
  }

  header h1{
    font-size: 40px;
    line-height: 1.2;
  }

  header h2{
    font-size: 25px;
  }

  .home-main-wrapper{
    margin-top: 50px;
  }

  .home-main{
    padding-left: 25px;
    padding-right: 25px;
  }

  .home-main .introduction, 
  .links-btn{
    margin-bottom: 40px;
  }

   .links-btn{
    padding-left: 0;
   }

   .slider{
    margin-left: -25px;
   }

   .home-main-wrapper .content,
   .home-main-wrapper .content h2{
    margin-top: 40px;
   }

   header.small-header{
    height: 100px;
   }

   header.small-header .logo figure{
    width: 50px;
    min-width: 50px;
   }

  header.small-header .site-title{
    width: calc(100% - 80px);
  }

  header.small-header h1{
    font-size: 23px;
  }

  .small-header .icons-toc{
    width: 100%;
    margin:0;
    padding-right: 20px;
  }

  .small-header .icons-toc > ul{
    justify-content: space-between;
  }
  

   .nav-sidebar{
    width: 100vw;
    height: 55px;
    top:100px;
    padding: 0px 10px 20px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
   }

   .nav-sidebar .nav-btn{
    margin:0;
   }

   .nav-sidebar .nav-btn a img {
    margin: 0;
    padding: 0;
   }

  .nav-sidebar .toc-btn img{
    width: 30px;
   }

   .nav-sidebar .about-btn a img{
    padding-top: 8px;
    width: 12px;
   }

   .nav-sidebar .buy-btn a img{
    padding-top: 12px;
    width: 20px;
   }

   .nav-sidebar .dl-btn a img{
    padding-top: 10px;
    margin-right: 10px;
    width: 17px;
   }

   .table-of-contents{
    padding: 80px 20px 20px 20px;
   }

   .table-of-contents.open{
    left:0;
    right: 0;
   }

   .web-book{
    margin-top: 200px;
    padding: 0px 25px;
   }

   .chapter h1{
    margin-left:0;
    font-size: 45px;
    margin-bottom: 40px;
   }

   .change-chapter > div.prev-chapter{
    left:10px;
   }

   .change-chapter > div.next-chapter{
    right:10px;
   }

  .change-chapter > div{
    padding: 10px;
   }

   blockquote{
    margin-left: 40px;
   }

   .chapter .content blockquote.sources-primaires{
    font-size: 16px;
   }

   .chapter h1{
/*    margin-left: 65px;*/
   }

   .chapter h1::before{
/*    smargin-left: -65px;*/
    content: none !important;
    margin:0;
   }

   figcaption p{
    font-size: calc(18px / 1.5);
   }

  .home-main-wrapper ul li:before, 
  .chapter.a-propos ul li:before{
    margin-left: -38px;
  }

}

/* Tablets (portrait) */
@media (max-width: 768px) {
  /* Styles for 768px and below */
}

/* Tablets (landscape), smaller laptops */
@media (max-width: 1024px) {
  /* Styles for 1024px and below */
}

/* Small desktops */
@media (max-width: 1280px) {
  /* Styles for 1280px and below */
}



/* Full HD and large desktop monitors */
@media (max-width: 1920px) {
  /* Styles for 1920px and below */
}
