/* GENERAL */

/* Override Bootstrap 4 styling on Django Debug Toolbar */
#djDebug[hidden], #djDebug [hidden] {
    display: block !important;
}

#djDebug [hidden][style='display: none;'] {
    display: none !important;
}



* {
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none; 
    padding: 0px;
    margin: 0px;
  }
  
  .body {
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
  }
  
  .btn {
    padding: 8px 16px;
    border-radius: 6px;
  }

  .btn-primary {
    background-color: var(--main-color);
    border: none;
    color: var(--color-light);
  }

  .btn-primary:hover {
    background-color: var(--primary-color-medium);
  }
 
  .btn-primary .submitButton-icon{
    width: 20px;
    margin-left: 16px;
  }
  
  .btn-secondary {
    background-color: inherit;
    border: 1px solid var(--primary-color-medium);
    color: var(--main-color);
  }

  .btn-secondary:hover {
    background-color:  var(--primary-color-medium);
    border: 1px solid var(--primary-color-medium);
  }

  hr {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .form-control {
      width: 100%;
      background-color: var(--secondary-color-light);
      border: 1px solid  #bdcece;
  }
  
  /* VARIABLES */
  
  :root {
    --main-color: #5E0241; 
    --primary-color-medium:#a07392;
    --primary-color-light: #CEB3C6;
    --secondary-color-light: #F8F6F7;
    --secondary-color-medium: #EDE8EB;
    --secondary-color-dark: #C7BEC4;
    --color-light: white;
    --color-dark: black;
    --h1: 32px;
    --h2: 24px;
    --h3: 16px;
    --h4: 12px;
    --h5: 8px; 
  }
  
  
  /* FONTS */
  
  @font-face {
      font-family: RobotoRegular;
      src: url("../fonts/Roboto-Regular.ttf");
  }
  
  body {
    font-family: Arial, Helvetica, sans-serif;
  }
  
  h1 {
    font-size: var(--h1);
    font-weight: 700;
    color: var(--main-color);
  }
  
  h2 {
    font-size: var(--h2);
    
  }
  
  h3 {
    font-size: var(--h3);
  }
  
  h4 {
    font-size: var(--h4);
  }
  
  h5 {
    font-size: var(--h5);
  }
  
  a {
    color: black;
  }

/* HEADER */
#cookieTerms {
  background-color: var(--main-color);
  z-index: 100;
  position: absolute;
  top: 0px;
  opacity: 0.9;
  right: 0px;
  left: 0px;
  color: #fff;
}

#cookieTerms .inner {
  max-width: 1400px;
  margin: auto;
  padding: 20px;
  font-size: 18px;
  padding:20px;
}

.header {
  background-color: white;
  width: 100%;
  height: 64px;
  box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.1);
  position: fixed;
  z-index: 99;
  top: 0px;
}

.navbar {
  position: static;
}

.navbar-collapse {
  position: absolute;
  width: 100%;
    top: 64px;
    left: 0px;
    padding: 16px 16px 0px 16px;
    background-color: white;
}

.navbar-collapse.show {
  box-shadow: 0px 11px 17px rgba(0, 0, 0, 0.1);
}

.first-menu {
  text-align: center;
  text-transform: uppercase;
}

.list-item a {
color: black;
}

.second-menu-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  height: 40px;
}

.navbar-brand img {
  height: 100%;
  width: auto;
}

.second-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.menu-icon {
width: 24px;
height: 24px;
}

.form-input-group {
  margin-top: 16px;
  display: flex;
  flex-direction: row;
}

.header .form-control {
  margin-right: 16px;
}

/* SECOND MENU  */

#search_header, #user_header, #cart_header {
  position: relative;
}

#search_content {
  display:none;
  position:absolute;
  width: 100vw;
  right: -80px;
  min-width: 300px;
  top: 56px;
  padding: 24px;
  text-align: left;
  background-color: var(--secondary-color-light);
  z-index:1;
  line-height: 12px; 
  box-shadow: 0px 11px 17px rgba(0, 0, 0, 0.1);
}

#user_content {
  display:none;
  position:absolute;
  width: 100vw;
  right: -48px;
  min-width: 300px;
  top: 56px;
  padding: 24px;
  text-align: left;
  background-color: var(--secondary-color-light);
  z-index:1;
  line-height: 12px; 
  box-shadow: 0px 11px 17px rgba(0, 0, 0, 0.1);
}

#cart_content {
  display:none;
  position:absolute;
  height:90vh;
  overflow-y: scroll;
  width: 100vw;
  right: -16px;
  min-width: 300px;
  top: 56px;
  padding: 24px;
  text-align: left;
  background-color: var(--secondary-color-light);
  z-index:1;
  line-height: 12px; 
  box-shadow: 0px 11px 17px rgba(0, 0, 0, 0.1);
}

.search-button {
  background-color: inherit;
  border: none;
}

.user_content .form-control {
  margin-bottom: 16px;
}

.user_logged {
  width: 100%;
display: flex;
flex-direction: row;
justify-content: flex-start;
}

.user_logged li {
  width: 50%;
}

.cart_content td {
  padding:0px 12px 12px 0px;
  line-height:16px;
}

.cart_content h4 {
  margin-top:0px;
}

.cart_content .btn-primary {
  width: 100%;
}


/* DISTRIBUCION */

.distribucion-link {
  position: relative;
}

#distribucion {
  position:absolute;
  width: fit-content;
  min-width: 300px;
  padding: 24px;
  text-align: left;
  background-color: var(--color-light);
  z-index:1;
  line-height: 12px; 
  box-shadow: 0px 11px 17px rgba(0, 0, 0, 0.1);
  background-color: var(--secondary-color-light);
}

.group-item:not(:last-child) {
  padding-bottom: 16px;
}



/* CUERPO */

.main {
  position: relative;
  top: 96px;
  margin-bottom: 40px;
  flex-grow:1;
}

.main .home {
  flex-direction: row-reverse;
  margin-top: 48px;
}

.banners {
  margin:0px 0px 48px 0px;

  display:flex;
  flex-direction: row;
  justify-content: space-between;
}
.banners a {
  width:100%;
  margin-bottom:20px;
}


.banner-lg {
  margin: 16px 0px 24px 0px;
  border: 1px solid var(--secondary-color-light);
}

.banner-lg img {
  width: 100%;
  height: auto;
  object-fit: cover;
 
}


/* CAROUSEL */

.carousel {
  margin-bottom: 48px;
}

.owl-item {
 /* width: 242px; */
  margin-right: 10px;
}

.carousel_item {
  width: inherit;
  padding: 6px 12px 12px 12px;
  margin: auto;
}

.carousel_item a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.collection-link {
    width: inherit;
    height: inherit;
    word-break: normal;
}

a {
    color: black;
}

.owl-carousel .owl-item img {
  display: block;
  width: auto !important;
}

.carousel-img {
  height: 242px;
  width: 100%;
  max-width: 232px;
}

.item-description-layer {
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  color: var(--color-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.4s ease-in-out 0s;
}

.item-description-layer:hover {
  opacity: 1;
}

.item-description-layer h2 {
  padding: 16px;
}

.owl-nav button span {
  font-size: 32px;
  padding: 0px 19px;
}

.owl-prev,
.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--main-color) !important;
  border: 1px solid white !important;
  border-radius: 50px !important;
  color: white !important;
}


.owl-prev:hover,
.owl-next:hover {
  background-color: var(--primary-color-medium) !important;

}


.owl-prev {
  left: 0rem;
}

.owl-next {
  right: 0rem;
}

/* HOME ITEMS */

.home-title {
  color: var(--main-color);
  text-transform: uppercase;
}

.home-title-container {
  display: flex;
flex-direction: row;
justify-content: space-between;
}

.home-title-container a {
  color: var(--secondary-color-dark);
}

.home-new-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}

.home-item {
  position: relative;
  width: 100%;
  margin: 0px 0px 24px 0px;
  text-align: center;
}

.home-book-cover {
  height: auto;
  width: 164px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.home-book-hover {
  opacity: 0;
  position: absolute;
  top: 0px;
  background-color: rgb(255, 255, 255, 0.8);
  width: 164px;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transition: all 0.4s ease-in-out 0s;
 }

.home-book-hover:hover {
opacity: 1;
}

.home-book-title {
  color: var(--main-color);
}

.home-book-hover .btn-primary {
padding: 12px;
margin-bottom: 16px;
border-radius: 4px;
}

.home-book-author {
  color: var(--secondary-color-dark);
}

/* HOME DISTRIBUTORS */

.home-distributor {
  width: 255px;
  height: 255px;
}

.home-distributor img {
  width: 100%;
  height: 100%;
  max-width: 285px;
  background-color: var(--primary-color-medium);
}


/* HOME NEWS */

.home-news {
  margin-top: 48px;
}

.home-news ul {
  display: flex;
  flex: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.home-news-item {
  position: relative;
  margin-bottom: 48px;
}

.home-news-item a {
  width: 100%;
  height: 100%;
}

.home-news img {
  // width: 100%;
  height: 100%;
  max-width: 285px;
}

.cover-bg {
  background: rgba(0, 0, 0, 0.6);
  /*width: 255px;*/
  /*height: 255px;*/
  width: auto;
  height: inherit;
  object-fit: cover;
  position: absolute;
  top: 0px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cover-bg .home-title {
  color: white;
}

/* NOVEDADES PASADAS */

.home-old-new {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-old-new .btn {
  margin-top: 16px;
}

.home-old-new .novedades-text {
  text-align: center;
}


/* HOJA NOVEDADES */

.section-hojas_novedades .home-old-new {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 48px 0px;
}

.section-hojas_novedades .home-old-new div {
margin-right: 16px;
}


/* MONTH BOOK */  

.month-book {
  background-color: var(--secondary-color-light);
  padding: 24px;
  margin-bottom: 48px;
}

.month-book-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center; 
}

.month-book-info {
  margin-top: 16px;
}

.month-book-cover {
  width: 184px;
  height: auto;
}

.month-buy-book {
  padding: 16px 0 0 ;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}



/* BOOK DETAIL */

.section-detail .row {
  flex-direction: row;
  margin-bottom: 32px;
}

.book-cover-container {
  width: 100%;
  height: auto;
  min-height: 300px;
  background-color: var(--secondary-color-light);
  margin-bottom: 32px;
}

.data-container {
  border: 1px solid var(--secondary-color-light);
  border-radius: 2px;
  padding: 16px;
}

.fact-title {
  font-weight: bold;
}

p.fact {
  margin-bottom: 4px;
}

.book-title {
  font-weight: 700;
}

.pvp span {
  margin-right: 16px;
  font-size: 16px;
}

.old-pvp {
  font-size: var(--h3);
}

.current-pvp {
  font-weight: 700;
}

.estado {
  color: #45a2a2;
  font-size: 16px;
}

.estado_1 {
  color: #45a2a2 !important;
}
.estado_2, .estado_3, .estado_5 {
  color: #ff9933 !important;
}
.estado_11, .estado_8 {
  color: #ff0000 !important;
}

.primary-btn {
background-color: var(--main-color);
border: none;
height: 48px;
padding: 8px 48px;
color: var(--color-light);
font-weight: 700;
text-align: center;
line-height: 32px;
}

.secondary-btn {
background-color: var(--color-light);
border: 2px solid var(--color-dark);
height: 48px;
width: -webkit-fill-available;
padding: 8px 48px;
margin-top: 16px;
color: var(--color-dark);
font-weight: 700;
text-align: center;
line-height: 32px;
}

.btn-icon {
  width: 28px;
  margin-left: 8px;
}

.resume-section {
  margin: 40px 0;
}

.subsection-title {
display: inline-block;
  padding: 16px 40px;
  border-bottom: 3px solid black;
  background-color: var(--secondary-color-medium);
}

.resume {
  padding: 16px 40px;
}

.input-box {
  width: -webkit-fill-available;
  padding: 8px;
  border: none;
  border-bottom: 1px solid var(--secondary-color-light);
}

.privacity-checkbox {
  font-size: var(--h4);
}

.subjects h4 {
  margin-bottom: 40px;
}

.subject-info {
  margin-right: 16px;
}

.tit-block {
  margin-bottom: 32px;
}

.basic-info {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.basic-info .image-container {
  width: 100%;
}

.image-detail {
  width: 100%;
  margin-bottom: 32px;
  margin-right: 24px;
}

.data-sheet-container {
  border: 1px solid var(--secondary-color-light);
  padding: 16px;
  margin-bottom: 32px;
  width: fit-content;
  height: fit-content;
}

.data-sheet-title {
  font-weight: 700;
}

.detail-title {
  font-weight: 700;
  color: var(--main-color);
}

.buy-product {
  background-color: var(--secondary-color-light);
  padding: 16px;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.ebook {
  margin-top: 16px;
}

.nav-tabs {
  border-bottom: 1px solid var(--primary-color-light);
}

.infotabs-list li a{
  padding: 8px 32px;
  text-align: center;
  color: var(--primary-color-light);
  border-bottom: 1px solid var(--primary-color-light);
}

.infotabs-list li .active{
  background-color: var(--primary-color-light);
  color: var(--main-color);
  text-decoration: none;
  border-bottom: 1px solid var(--main-color);
 }

.tab-content {
  padding: 24px 8px;
}

.recomend-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  align-content: stretch;
}

.recomend-preview-item {
  margin: 28px 0px;
  max-width: 214px;
  display: flex;
  flex-direction: column;
  align-items: center;
 text-align: center;
}

.recomend-title {
  margin-bottom: 16px;
  padding: 8px 8px 8px 0px;
}

.recomend-preview-item .description {
  padding: 8px 8px 8px 0px;
}

.recomend-preview-item button {
  padding: 8px;
}

.rating {
  height: 24px;
  width: auto;
}

.availability p {
  margin-bottom: 8px;
}

.availability .form-control {
  background-color: white;
  margin-bottom: 16px;
}

.materias a {
  color: black;
}

.muestras, 
.descargas-container  {
  margin: 16px 0 ;
}

.descargas {
  margin: 8px 0;
}

.social-list {
  display: flex;
  flex-direction: row;
  padding: 8px 0px;
}

.social-list li {
  margin-right: 8px;
}

.section-recomendados {
  margin-top: 32px;
}

/* BOOK LIST */

.autores a {
  color: var(--secondary-color-dark);
}

.list-buy-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  border-top: 1px solid var(--secondary-color-light);
  padding-top: 16px;
}

.listado {
  margin-top: 48px;
}

.left-column {
  background-color: var(--secondary-color-light);
  padding: 16px;
  border-radius: 3px;
  margin-bottom: 32px;
}

.section-materias {
  margin-top: 48px;
}

.includes form {
  margin-bottom: 16px;
}

.paginacion {
  text-align: left;
  margin-bottom: 0px;
}

.page {
  padding: 4px 8px;
}

.current-page {
  color: var(--main-color);
  background-color: var(--primary-color-light);
}

.select {
  background-color: var(--secondary-color-light);
  border: 1px solid #bdcece;
  padding: 4px 8px;
}


.search-btns {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.search-section .advanced-search {
  width: 18px;
  height: auto;
}

.search-btns .buscar {
width: 50%;
}

.search-btns .borrar{
  width: 50%;
  margin-right: 16px;
}

.materias-item a{
  color: var(--secondary-color-dark);
}

.materias-item a:hover{
  color: var(--main-color);
}

.listado-info .book-title {
  margin-top: 16px;
}

.listado-info .book-title, .listado-info .book-title a{
  color: var(--main-color);
  font-weight: 900;
}


/* NOTICIAS */

.news-list {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  }
  
  .section-news {
    margin-top: 80px;
  }
  
  .news-item {
    width: 300px;
    border: 1px solid var(--secondary-color-medium);
    margin: 8px;
    padding: 16px;
  } 
  
  .news-img img {
    margin-bottom: 16px;
    width: 100%;
    height: 200px;
    object-fit: cover; 
  }
  
  .news-info h4 {
    color: var(--secondary-color-dark);
  }
  
  .descripcion {
    margin: 16px 0;
  }
  
  .learn-more {
    color: var(--secondary-color-dark);
   
  }
  
  .learn-more:hover {
    background-color: var(--color-light); 
  }
  
  

/* NOVEDAD Y OFERTA */

.new-icon {
  left: 8px;
  top: -4px;
  width: 40px;
  height: auto;
  position: absolute;
  z-index: 2;
  display: block;  
}

.offer-icon {
  right: 24px;
  top: 135px;
  width: 52px;
  height: 52px;
  position: absolute;
  z-index: 2;
  display: block;
}

/* COMENTARIOS */

.section-comments .btn {
  margin: 8px;
}

/* EDITORIALES EN DISTRIBUCIÓN */

.grupos-list {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}

.grupos-item {
  margin: 24px 16px
}

.grupos-item div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 132px;
  height: 132px;
  background: #FFFFFF;
  box-shadow: 0 0.15rem 0.35rem rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}

.grupos-item .logo-container {
  height: inherit;
  width: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  object-fit: cover;
  overflow: hidden;
  border-radius: 50%;

}

.grupos-item .logo-container img {
width: 90%;
height: auto;
}

.grupos-item h3 {
  margin-top: 16px;
  width: 132px;
  text-align: center;
  }


/* 
.grupos-item .logo-container {
  display: block;
  width: 132px;
  height: 132px;
  background: #FFFFFF;
  box-shadow: 0 0.15rem 0.35rem rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  text-align: center
}

.grupos-item .logo-container img {
width: 90%;
height: auto;
}
 */



 /* DISTRIBUIDORES */

 .distribuidores-title {
  font-size: 16px;
  font-weight: 500;
  border-bottom: 0.5px solid #434343;
  margin-bottom: 32px;
  padding-bottom: 16px;
  margin-top: 32px;
}

.distribuidores-list {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}

.distribuidores-item {
  flex-basis: 25%;
  margin-bottom: 40px;
  padding: 0px 16px;
}

.distribuidores-item p {
  margin-bottom: 0px;
}

.distribuidores-item .place {
  margin-bottom: 16px;
}

.distribuidores-item a {
  color: black;
}



/* FOOTER */

.footer {
background-color: #5E0241;
padding: 24px 0px;
margin-top: 96px;
}

.top-menu-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.top-menu-footer-item {
  padding-bottom: 24px;
}

.top-menu-footer img {
  max-height: 56px;
}

.info-list, .footer-list-item a{
  color: white;
}

.newsletter {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter .form-control {
max-width: 400px;
}

.newsletter .btn-secondary {
  color: white;
}

.bottom-menu-footer ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.footer .form-control {
  margin-bottom: 16px;
}




img.bordered {
  border: 1px solid #e2dccf;  
  padding: 3px;
}

  

  /*
  ####################################################
  M E D I A  Q U E R I E S
  ####################################################
  */
  
  /*
  ::::::::::::::::::::::::::::::::::::::::::::::::::::
  Bootstrap 4 breakpoints
  */
  
  /* 
  Extra small devices (portrait phones, less than 576px) 
  No media query since this is the default in Bootstrap because it is "mobile first"
  */
  
  /* Small devices (landscape phones, 576px and up) */
  @media (min-width: 576px) {

    /* HEADER */
    .second-menu li {
      padding-left: 8px;
    }

    .menu-icon {
      width: 32px;
      height: 32px;
      }

      /* MAIN */

      .current {
        background-color: var(--primary-color-light);
        color: #fff !important;
        text-decoration: none;
        border-bottom: 1px solid var(--main-color);
       }


        .home-new-list {
          justify-content: flex-start;
        }

        .month-book-list {
          justify-content: flex-start;
        }

        .buy-product {
          background-color: var(--secondary-color-light);
          padding: 16px;
          margin: 32px 0;
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
        }

        .month-buy-book {
          flex-direction: column;
          justify-content: space-between;
          align-items: center;
        }


        /* BOOK LIST */

        .list-buy-section {
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
          border-top: 1px solid var(--secondary-color-light);
          padding-top: 16px;
        }

        .list-buy-section .btn-primary {
          margin-left: 16px;
        }

        
      .paginacion {
        text-align: right;
        margin-bottom: 0px;
      }



    /* FOOTER */
    .bottom-menu-footer ul {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
      
  }

  @media (min-width: 578px) {

    .listado-info .book-title {
      margin-top: 0px;
    }

    #search_content, #user_content, #cart_content {
      width: auto;
      min-width: 300px;
      right: 0px;
    }
    .home-item {
      position: relative;
      width: 46%;
      margin: 0px 0px 24px 0px;
    }

  }
  
  /* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
  @media (min-width: 768px) {

     /* HEADER */
    .second-menu li {
      padding-left: 24px;
    }

    .user_content .form-control {
      margin-bottom: 0px;
    }

  .banners a {
      width:48%;
    }

    .home-item {
      position: relative;
      width: 33%;
      margin: 0px 0px 24px 0px;
    }

  }
  
  /* Large devices (desktops, 992px and up) */
  @media (min-width: 992px) {

    /* CUERPO */

    .banner-lg {
      margin: 0px 0px 24px 0px;
    }

    /* HOME NEWS */

    .home-news ul {
      flex: column;
      justify-content: flex-start;
      align-items: center;
      flex-wrap: wrap;
    }
    
    .home-news-item {
    }


    /* MONTH BOOK */  

    .month-book {
      padding: 16px 4px 0 4px;
    }

    /* BOOK DETAIL */

    .basic-info {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    /* FOOTER */

    .top-menu-footer {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
      text-align: left;
    }

    .top-menu-footer-item {
      padding-right: 32px;
      padding-bottom: 0px;
    }

    .top-menu-footer img {
      align-self: center;
      max-height: 78px;
    }

    .bottom-menu-footer ul {
      justify-content: center;
    }

    .bottom-menu-footer .footer-list-item {
      padding-right: 32px;
    }
  
    .newsletter {

      align-items: flex-start;
    }

  }
      
  /* Extra large devices (large desktops, 1200px and up) */
  @media (min-width: 1200px) {

     /* HEADER */
    .header {
      height: 120px;
    }
   
    .navbar-collapse {
    justify-content: space-around;
    }


    .first-menu .list-item {
      padding: 0px 12px;
    }

    .second-menu-container {
      flex-basis: 100%;
    }

    .navbar-brand {
      height: 60px;
    }

    #search_content, #user_content, #cart_content {
      top: 106px;
    }

    #distribucion {
      top: 72px;
    }

    /* CUERPO */

    .main {
      top: 172px;
    }

      /* MONTH BOOK */  

      .month-book {
        padding: 16px;
      }

    
    /* FOOTER */

.footer {
  margin-top: 172px;
}
    

  }
  
 
