/* 
Theme Name: Storefront Child 
Version: 0.1 
Description: LBC child theme for Storefront. 
Author: MTCTA
Author URI: @MTCTA
Template: storefront
*/
@media (max-width: 500px) {
  section.livresGratuits div.livre.gratuit {
    display: flex;
    flex-flow: column;
    border-top: solid black 1px;
  }
  section.livresGratuits div.livre.gratuit > img {
    flex: 0 0 auto;
    min-width: auto;
    height: auto;
    margin-right: 0;
    align-self: center;
  }
}
section.livresGratuits .livre {
  display: flex;
  flex-flow: row;
  margin-bottom: 1em;
  align-items: start;
}
section.livresGratuits .livre > img {
  flex: 0 0 150px;
  min-width: 150px;
  height: auto;
  margin-right: 0.5em;
}
section.livresGratuits .livre > div.descr {
  flex: 1 1;
  display: flex;
  flex-flow: column;
}
section.livresGratuits .livre > div.descr > h2 {
  font-size: 1.5em;
  letter-spacing: normal;
  font-weight: 600;
}
section.livresGratuits .livre > div.descr > div {
  display: flex;
  flex-flow: row;
}
section.livresGratuits .livre > div.descr > div > div.infos {
  flex: 1 1;
}
section.livresGratuits .livre > div.descr > div > div.telechargements {
  flex: 0 0;
  margin-left: 0.5em;
}
section.livresGratuits .livre > div.descr > div > div.telechargements a {
  white-space: nowrap;
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 20px;
}
section.livresGratuits .livre > div.descr > div > div.telechargements a[href$=".pdf"] {
  background-image: url("assets/pdf.png");
}
section.livresGratuits .livre > div.descr > div > div.telechargements a[href$=".mobi"] {
  background-image: url("assets/mobi.png");
}
section.livresGratuits .livre > div.descr > div > div.telechargements a[href$=".epub"] {
  background-image: url("assets/epub.png");
}
section.livresGratuits .livre > div.descr > div > div.telechargements a[href$=".azw3"] {
  background-image: url("assets/azw3.png");
}

/* --------------- Theme customization starts here ----------------- */
@media (max-width: 767px) {
  header#masthead > form {
    display: none;
  }
}
@media (min-width: 768px) {
  header#masthead {
    position: relative;
  }
  header#masthead > form {
    display: inline-flex;
    flex-flow: row;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
  }
  header#masthead > form > * {
    flex: 0 0;
  }
  header#masthead > form > a {
    color: black;
  }
  header#masthead > form > a img {
    height: 2em;
    min-width: 2em;
  }
  header#masthead > form > section {
    flex: 1 1;
    display: flex;
    flex-flow: row;
    align-items: center;
    border: solid black 1px;
    background-color: white;
    border-radius: 0.5em;
    overflow: hidden;
    box-shadow: inset 2px 2px 5px black;
  }
  header#masthead > form > section > input {
    flex: 1 1;
    box-shadow: inset 0px 2px 5px black;
  }
}
header#masthead {
  background: rgb(190, 16, 29);
  margin-bottom: 0;
  padding-top: 0.2em;
  padding-bottom: 0;
  background-image: url("assets/logo.png");
  background-size: 3em 1.5em;
  background-repeat: no-repeat;
}
header#masthead a {
  color: white;
  padding: 0 0.5em;
}
header#masthead .widget_shopping_cart a {
  color: black;
}
header#masthead .widget_shopping_cart a.checkout {
  color: white;
}
header#masthead nav.main-navigation div.menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease-out;
}
header#masthead nav.main-navigation div.menu > ul.nav-menu li.current_page_item {
  border: solid white 1px;
  border-bottom: none;
}
header#masthead nav.main-navigation.toggled div.menu:last-child {
  grid-template-rows: 1fr;
}

#primary {
  width: 100% !important;
}

ul.products {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  align-content: stretch;
}
ul.products li.product, ul.products li.product.last {
  flex: 0 0 12em;
  margin-left: 0.3em !important;
  margin-right: 0.3em !important;
  display: flex;
  flex-flow: column;
  border: none;
  border-radius: 1em;
  box-sizing: content-box;
  overflow: hidden;
  box-shadow: inset 2px 2px 5px black;
  margin-left: 0.6em !important;
  margin-right: 0.6em !important;
}
ul.products li.product > *, ul.products li.product.last > * {
  flex: 0 0;
}
ul.products li.product a.woocommerce-LoopProduct-link:nth-child(n+2), ul.products li.product.last a.woocommerce-LoopProduct-link:nth-child(n+2) {
  flex: 1 1;
  display: flex;
  flex-flow: column;
}
ul.products li.product a.woocommerce-LoopProduct-link:nth-child(n+2) > *, ul.products li.product.last a.woocommerce-LoopProduct-link:nth-child(n+2) > * {
  flex: 0 0;
}
ul.products li.product a.woocommerce-LoopProduct-link:nth-child(n+2) h2.woocommerce-loop-product__title, ul.products li.product.last a.woocommerce-LoopProduct-link:nth-child(n+2) h2.woocommerce-loop-product__title {
  flex: 1 1;
}
ul.products li.product img, ul.products li.product.last img {
  margin: 8px auto 0.5em;
}

footer.site-footer {
  background-color: rgb(74, 65, 59);
  border-top: solid black 1px;
  padding: 0;
  margin: 0;
  text-align: right;
}
footer.site-footer div.col-full {
  padding: 0;
  margin: 0;
}
footer.site-footer div.col-full p {
  padding: 0;
  padding-right: 1em;
  margin: 0;
  color: white;
}
footer.site-footer div.col-full a {
  color: cyan !important;
}/*# sourceMappingURL=style.css.map */