@charset "UTF-8";
/* CSS Document */
/* ==========================================================
   PAGINA EDIZIONI DEL LIBRO
   pregoconmaria.it
   ========================================================== */

#edizioni-libro {
  line-height: 1.65;
}


/* ----------------------------------------------------------
   EDIZIONE CORRENTE
   ---------------------------------------------------------- */

.edizione-corrente {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .10);
}

.badge-edizione-corrente {
  display: inline-block;
  padding: .55rem .9rem;
  background-color: #08123a;
  color: #fff;
  border-radius: 3px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.copertina-edizione {
  max-width: 260px;
  height: auto;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .22);
}


/* ----------------------------------------------------------
   DOWNLOAD PDF / EPUB
   ---------------------------------------------------------- */

.lista-formati {
  margin-bottom: 0;
}

.lista-formati li + li {
  margin-top: .75rem;
}

.download-edizione {
  display: flex;
  align-items: center;
  width: 100%;
  padding: .85rem 1rem;
  color: #212529;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  text-decoration: none;
  transition:
    box-shadow .2s ease,
    transform .2s ease,
    border-color .2s ease;
}

.download-edizione:hover,
.download-edizione:focus {
  color: #212529;
  text-decoration: none;
  border-color: #adb5bd;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .10);
  transform: translateY(-1px);
}

.icona-formato {
  flex: 0 0 64px;
  margin-right: 1rem;
  padding: .6rem .25rem;
  color: #fff;
  background-color: #08123a;
  border-radius: 4px;
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
}


/* ----------------------------------------------------------
   STORE
   ---------------------------------------------------------- */

.lista-store {
  margin-bottom: 0;
}

.lista-store li {
  border-bottom: 1px solid #e5e5e5;
}

.lista-store li:first-child {
  border-top: 1px solid #e5e5e5;
}

.lista-store a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .8rem .15rem;
  color: inherit;
  text-decoration: none;
}

.lista-store a:hover,
.lista-store a:focus {
  text-decoration: none;
}

.store-name {
  font-weight: 600;
}

.store-action {
  margin-left: 1rem;
  white-space: nowrap;
  font-size: .9rem;
}


/* ----------------------------------------------------------
   ARCHIVIO
   ---------------------------------------------------------- */

.edizioni-precedenti {
  background-color: #f8f9fa;
}

.archivio-edizioni {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.archivio-edizione {
  padding: 1.5rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.archivio-edizione + .archivio-edizione {
  margin-top: 1.5rem;
}

.copertina-archivio {
  max-width: 145px;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .16);
}


/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 767.98px) {

  .edizione-corrente {
    padding: 1.25rem;
  }

  .copertina-edizione {
    max-width: 210px;
  }

}


@media (max-width: 575.98px) {

  .download-edizione {
    align-items: flex-start;
  }

  .icona-formato {
    flex-basis: 54px;
    margin-right: .75rem;
  }

  .lista-store a {
    align-items: flex-start;
  }

  .store-action {
    font-size: .8rem;
  }

  .archivio-edizione {
    padding: 1.15rem;
  }

}
