a {
  color: #000;
}
table, td {
  border: none !important;
}
input[type="checkbox"] {
  display: none;
}
#togglebookinfolist:checked ~ #booklist{
  display: list-item !important;
}
#togglebookinfolist:checked ~ #bookinfo{
  display: none;
}
#togglebookinfolist:checked ~ .scroll.download{
  display: none;
}
#togglebookinfolist:checked ~ label#back{
  display: none !important;
}
#togglebookinfolist:checked ~ #search{
  display: block !important;
}
.book .title, .book .author{
  display: inline;
  line-height: 20px;
}
.scroll, #back, #search {
  text-align: center;
  position: fixed;
  width: 100%;
  background-color: white;
  height: 30px;
  cursor: pointer;
  line-height: 30px;
  display: block;
  margin: 0;
}
.scroll.top, #back, .scroll.up, #search, .scroll.home {
  border-bottom: 1px solid black;
  top:0;
}
.scroll.down, .scroll.download, .scroll.bottom{
  border-top: 1px solid black;
  bottom:0;
}
#search, #back, .scroll.download {
  left:0;
  width: 100px;
  border-right: 1px solid black;
  z-index: 30;
}
.scroll.home{
  left:100px;
  width: 100px;
  border-right: 1px solid black;
  z-index: 30;
}

#search{
  z-index: 31;
  background-color: transparent;
}
#search:focus{
  background-color: white;
}
.scroll.bottom, .scroll.top{
  right:0;
  width: 100px;
  border-left: 1px solid black;
  z-index: 30;
}
a {
  text-decoration: none;
}
li.book a {
  display: block;
}

.corrupt a::before{
  content: " Broken : ";
  font-weight: bold;
  text-decoration: none !important;
}

.active {
  background-color: black !important;
}
.active .author, .active .title {
  color: white;
}
#booklist{
  margin: 30px 0;
  padding: 0 0 0 5px;
}

.book {
  list-style-type: none;
  padding: 0 0 0 10px;
  margin: 0;
  display: inline-block;
  vertical-align: top;
  min-height: 42px;
}

.dir {
  background-color: #d5d5d5 !important;
}

@media (max-width: 700px) {
  .book:nth-child(odd) {
    /* TODO vérifier si l'élément est visible ou non */
    background-color: #efefef;
    padding: 0 0 0 5px;
    border-left: 5px solid black;
    border-right: 5px solid black;
  }
  .book:nth-child(odd) .author {
    padding-right: 5px;
  }
  .book:nth-child(even) .author {
    padding-right: 10px;
  }
  .book{
    width: 99%;
    min-height: 22px;
  }
  .book .title, .book .author{
    display: inline;
  }
  .book .author{
    float: right;
  }
}
@media (min-width: 700px) and (max-width: 1100px) {
  .book:nth-child(odd) {
    background-color: #efefef;
    padding: 0 0 0 5px;
    border-left: 5px solid black;
  }
  .book{
    width: 33%;
  }
  .book .author{
    display: block;
  }
}

@media (min-width: 1100px) {
  .book:nth-child(odd) {
    background-color: #efefef;
    padding: 0 0 0 5px;
    border-left: 5px solid black;
  }
  .book{
    width: 20%;
  }
  .book .author{
    display: block;
  }
}

.book:hover {
    background-color: lightgray;
}

#bookinfo, .fromgoogle{
  margin: 30px 0;
  width: 100%
}

#cover{
  width: 200px;
  float: left;
  margin: 0 10px 5px 0;
}

#bookinfo tr:first-child td {
  _border-bottom: 50px solid transparent;
  background-color: lightgray;
  padding: 20px 20px 20px 0;
}


.author{
  font-weight: bold;
}

/*!
* www.KNACSS.com V4.3.4 (27 août 2015) @author: Raphael Goetter, Alsacreations
* Licence WTFPL http://www.wtfpl.net/
*/
/*! normalize.css v3.0.2 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}
/**
 * Remove default margin.
 */
body {
  margin: 0;
}
/* HTML5 display definitions
   ========================================================================== */


/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

img {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* switching to border-box model for all elements */
html {
  box-sizing: border-box;
}
* {
  box-sizing: inherit;
}
ul,
ol {
  padding-left: 2em;
}
img {
  vertical-align: middle;
}
/* ----------------------------- */
/* == typography                 */
/* ----------------------------- */
html {
  /* set base font-size to equiv "10px", which is adapted to rem unit */
  font-size: 62.5%;
  /* IE9-IE11 math fixing. See http://bit.ly/1g4X0bX */
  /* thanks to @guardian, @victorbritopro and @eQRoeil */
  font-size: calc(1em * .625);
  /* disallow text zooming on orientation change (non standard property) */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  /* set body font-size in em (1.4em equiv "14px") */
  font-size: 1.4em;
  background-color: #ffffff;
  color: #000000;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.5;
}
a {
  color: #333333;
}
a:hover,
a:focus,
a:active {
  color: #000000;
}

/* ----------------------------- */
/* == browsers consistency       */
/* ----------------------------- */
/* avoid top margins on first content element */
p:first-child,
.p-like:first-child,
ul:first-child,
ol:first-child,
dl:first-child,
blockquote:first-child,
pre:first-child,
h1:first-child,
.h1-like:first-child,
h2:first-child,
.h2-like:first-child,
h3:first-child,
.h3-like:first-child,
h4:first-child,
.h4-like:first-child,
h5:first-child,
.h5-like:first-child,
h6:first-child,
.h6-like:first-child {
  margin-top: 0;
}
/* avoid margins on nested elements */
li p,
li .p-like,
li ul,
li ol {
  margin-top: 0;
  margin-bottom: 0;
}
/* max values */
img,
table,
td,
blockquote,
code,
pre,
textarea,
input,
video,
svg {
  max-width: 100%;
}
