@import url('base.css');

/*******************************
        Estilos HTML
 *******************************/

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  margin: 0;
  color: var(--color-negro);
}

a {
  text-decoration: none;
}

hr {
  background-color: var(--color-arena);
  border: 0;
  height: 1px;
}

/*******************************
        Estilos Ventana Popup
 *******************************/
 
 .modal {
     width: 100%;
     height: 100vh;
     background: rgba(0,0,0,0.8);
     
     position: absolute;
     top: 0;
     left: 0;
     
     display: flex;
     
     animation: modal 2s 3s forwards;
     visibility: hidden;
     opacity: 0;
 }
 
 .contenido {
     margin: auto;
     width: 40%;
     height: 40%;
     background : white;
     border-radius: 10px;
 }
 
 #cerrarx {
     display: none;
 }
 
 #cerrarx + label {
     position: absolute;
     color: #fff;
     font-size: 25px;
     z-index: 50;
     background:red;
     height: 40px;
     width: 40px;
     line-height: 40px;
     border-radius: 50%;
     right: 10px;
     cursor: pointer;
     
     animation: modal 2s 3s forwards;
     visibility: hidden;
     opacity: 0;
 }
 
 #cerrarx:checked + label, #cerrarx:checked ~ .modal {
     display: none;
 }
 
 @keyframes modal {
     100% {
        visibility: visible;
        opacity: 1;
     }
 }

/*******************************
        Animaciones
 *******************************/
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes fadeSliderEffect {
  from {opacity: .4}
  to {opacity: 1}
}
@keyframes animateTopEffect {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}
@keyframes fadeOutEffect {
  from {opacity:1}
  to {opacity:0}
}

/*******************************
        Estilos Generales
 *******************************/

/* Estilos Generales: Titulo y Subtitulo  */
.titulo-h1, 
.titulo-h2, 
.titulo-h3,
.titulo-h4,
.titulo-h5 {
  font-weight: 600;
  margin: 20px 0;
}
.titulo-h1, 
.titulo-h2 {
  font-size: 32px;
}
.titulo-h1 {
  color: #fff;
}
.titulo-h2, 
.titulo-h3 {
  color: var(--color-azul);
}
.titulo-h3 {
  font-size: 25px;
}
.titulo-h4 {
  font-size: 22px;
  color: var(--color-gris-oscuro);
}
.titulo-h5 {
  font-size: 20px;
  color: var(--color-azul);
}
.subtitulo {
  font-size: 18px;
  font-weight: 500;
}

/* Estilos Generales: Breadcrumb  */
.breadcrumb {
  border-bottom: 1px solid var(--color-arena);
  padding-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-gris);
}
.breadcrumb.fill {
  background-color: var(--color-arena-claro);
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
}
.breadcrumb .breadcrumb-item {
  color: var(--color-gris);
}
.breadcrumb .breadcrumb-item:hover {
  color: var(--color-azul);
}
.breadcrumb .breadcrumb-item.activo {
  text-decoration: none;
  font-weight: 700;
}
.breadcrumb .breadcrumb-item.activo:hover {
  color: var(--color-gris);
}

/* Estilos Generales: Etiquetas */
.etiqueta-amarillo, 
.etiqueta-celeste, 
.etiqueta-verde, 
.etiqueta-rojo {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  color: #fff;
}
.etiqueta-amarillo {
  background-color: var(--color-amarillo);
  color: var(--color-negro);
}
.etiqueta-celeste {
  background-color: var(--color-celeste);
}
.etiqueta-verde {
  background-color: var(--color-verde);
}
.etiqueta-rojo {
  background-color: var(--color-rojo);
}

/* Estilos Generales: Tabla */
.tabla-responsive {
  overflow-x: auto;
}
main .tabla {
  width: 100%;
  font-size: 14px;
}
.tabla th {
  padding-top: 10px;
  padding-bottom: 10px;
  color: var(--color-gris-oscuro);
}
.tabla thead {
  background-color: var(--color-arena-claro);
}
.tabla thead th {
  padding-left: 10px;
  padding-right: 10px;
}
.tabla th, 
.tabla td {
  border-top: 1px solid var(--color-arena);
  font-size: 14px;
}

/* Estilos Generales: Formulario */
.form {
  margin-top: 20px;
  font-size: 16px;
}
.form label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}
.form .form-control {
  display: block;
  width: 100%;
  border: 1px solid #d4d4d4;
  padding: 6px 8px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  border-radius: 8px;
}
.form input::placeholder, 
.form textarea::placeholder {
  font-weight: 500;
  color: var(--color-gris);
}

/* Estilos Generales: Botones */
.boton {
  padding: 10px;
  border: none;
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}
.boton[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}
.btn-azul {
  background-color: var(--color-azul);
}
.btn-gris {
  background-color: var(--color-gris);
}
.btn-arena {
  background-color: var(--color-arena);
  color: var(--color-gris);
  border: 1px solid var(--color-arena-oscuro);
}
.btn-rojo {
  background-color: var(--color-rojo);
}
.btn-verde {
  background-color: var(--color-verde);
}
.btn-celeste {
  background-color: var(--color-celeste);
}

/* Estilos Generales: Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.modal.fade-out {
  animation: fadeOutEffect 0.5s forwards;
}
.modal .modal-lg {
  max-width: 700px;
}
.modal-wrapper {
  margin: 5% auto;
  width: 100%;
  max-width: 500px;
}
.modal .modal-content {
  position: relative;
  background-color: #fff;
  margin: 20px;
  padding: 20px;
  border: 1px solid var(--color-arena);
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animateTopEffect;
  animation-duration: 0.4s
}
.modal  .modal-content .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.modal .modal-content .close:hover,
.modal .modal-content .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/*******************************
        Estilos Loading
 *******************************/
#loading {
  width: 100%;
  height: 100%;
  overflow: none;
  top: 0;
  left: 0;
  position: fixed;
  display: block;
  background-color: #fff;
  z-index: 99;
  text-align: center;
}
#loading img {
  position: absolute;
  top: calc(50% - 32px);
  left: (50% - 32px);
  z-index: 100;
}

/*******************************
        Estilos <header>
 *******************************/

header{
  background: #FFFFFF;
}
header .contenedor {
  position: relative;
  padding: 0;
}
header .logo img {
 margin-top: 10px;
}
header .menu {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}
header .menu .enlaces a {
  color: var(--color-negro);
  font-weight: 600;
  margin: 0 20px;
  font-size: 14px;
}
header .menu .enlaces a:hover {
  color: var(--color-azul-claro);
}
header .menu .micuenta {
  margin-right: 10px;
}
header .menu .micuenta a {
  color: var(--color-azul);
  margin-right: 10px;
}
header .menu .micuenta a:hover {
  color: var(--color-gris);
}
header .menu .iconos {
  margin-top: -4px;
}
header .menu .iconos a {
  background: var(--color-azul);
  color: var(--color-blanco);
  border-radius: 100px;
  margin-right: 10px;
  font-size: 14px;
}
header .menu .iconos .icon-carrito {
  padding: 4px 12px;
  border-radius: 10px;
}
header .menu .iconos .icon-carrito:hover {
  background-color: var(--color-gris);
}
header .menu .iconos .icon-facebook {
  padding: 4px 10px;
}
header .menu .iconos .icon-instagram {
  padding: 4px 8px;
}
header .menu .iconos .icon-linkedin {
  padding: 4px 8px;
}
header .menu .iconos .icon-buscador {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--color-azul);
  font-size: 20px;
}
header .menu .iconos .icon-menu {
  background-color: var(--color-celeste);
  border: 0;
  border-radius: 4px;
  padding: 5px 10px;
}

header .menu .iconos .icon-menu .bar1, 
header .menu .iconos .icon-menu .bar2, 
header .menu .iconos .icon-menu .bar3 {
  background-color: var(--color-blanco);
  width: 18px;
  height: 3px;
  margin: 3px 0;
  transition: 0.4s;
}
header .menu .iconos .equis .bar1 {
  transform: translate(0, 6px) rotate(-45deg);
}
header .menu .iconos .equis .bar2 { opacity: 0; }
header .menu .iconos .equis .bar3 {
  transform: translate(0, -6px) rotate(45deg);
}

header .buscador {
  position: absolute;
  background-color: var(--color-gris);
  border-top: 1px solid var(--color-arena);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  width: 100%;
  display: none;
  padding: 4px 10px 10px;
  z-index: 1;
}
header .buscador .form {
  margin-top: 0;
}
header .buscador .btn-buscador {
  background-color: var(--color-celeste);
  border: 0;
  border-radius: 8px;
  padding: 3px 12px;
  margin-bottom: 6px;
  cursor: pointer;
  font-size: 10px;
  color: #fff;
}

/*******************************
        Estilos <main>
 *******************************/

main {
  margin-bottom: 40px;
}

/* Estilos main: Menú Lateral */

main .menu-lateral {
  margin-top: 48px;
}
main .menu-lateral .titulo {
  font-weight: 500;
  font-size: 25px;
}
main .menu-lateral .enlaces {
  border-bottom: 2px solid var(--color-gris-claro);
  margin-top: 20px;
  margin-right: 40px;
  padding-bottom: 20px;
}
main .menu-lateral .enlaces ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
main .menu-lateral .enlaces li {
  position: relative;
  padding-left: 14px;
}
main .menu-lateral .enlaces li::before {
  content: '>';
  position: absolute;
  top: 2px;
  left: 0;
  color: var(--color-gris);
}
main .menu-lateral .enlaces a {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-gris);
}
main .menu-lateral .enlaces a:hover {
  text-decoration: underline;
}
main .menu-lateral .enlaces a.activo {
  font-weight: 600;
  color: var(--color-azul);
}

/* Estilos main: Banner */

main .banner {
  position: relative;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  height: 256px;
}
main .banner .fondo {
  position: absolute;
  background-image: url('../img/fondo-banner.png');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  top: 147px;
  height: 109px;
  width: 100%;
}

/* Estilos main: Carousel */

main .owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
}
main .owl-carousel .owl-nav button.owl-prev,
main .owl-carousel .owl-nav button.owl-next {
  background-color: var(--color-azul);
  border: 0;
  padding: 0 17px !important;
  border-radius: 100px;
  outline: none;
  font-size: 26px;
  color: #fff;
}
main .owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  left: -40px;
}
main .owl-carousel .owl-nav button.owl-next {
  position: absolute;
  right: 20px;
}

/*******************************
        Estilos <footer>
 *******************************/

footer {
  position: relative;
  background-image: url('../img/fondo-footer.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-gris-claro);
  padding-top: 94px;
  font-size: 14px;
  z-index: 1;
}
footer .redes a {
  background: var(--color-gris-claro);
  color: var(--color-azul);
  border-radius: 100px;
  margin-right: 10px;
}
footer .redes a:hover {
  background-color: #FFF;
}
footer .redes .icon-facebook {
  padding: 4px 10px;
}
footer .redes .icon-instagram {
  padding: 4px 8px;
}
footer .redes .icon-linkedin {
  padding: 4px 8px;
}
footer .titulo {
  font-weight: 500;
  font-size: 16px;
  margin-top: 23px;
  margin-bottom: 20px;
  color: var(--color-celeste-claro);
}
footer .enlaces a {
  color: var(--color-gris-claro);
  display: block;
  font-weight: 200;
  margin-bottom: 14px;
}
footer .enlaces a:hover {
  text-decoration: underline;
  color: #fff;
}
footer .copyright,
footer .copyright .contenedor {
  background-color: var(--color-azul-oscuro);
  font-size: 12px;
}

/*******************************
        Mobile Styles
 *******************************/

@media only screen and (max-width: 600px) {
  header .contenedor {
    padding: 10px;
  }
  header .col-3, 
  header .col-9 {
    width: 50%;
    padding: 0;
  }
  header .logo img {
    height: 36px;
  }
  header .menu {
    justify-content: end;
    margin-top: 14px;
  }
  header .menu .enlaces,
  header .menu .micuenta span {
    display: none;
  }
  header .menu .enlaces {
    background-color: var(--color-celeste-claro);
    position: absolute;
    top: 73px;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--color-arena);
    padding: 5px 10px;
    z-index: 2;
  }
  header .menu .enlaces a {
    display: block;
    border-bottom: 1px solid var(--color-celeste);
    padding: 10px 0;
    color: var(--color-azul);
  }
  header .menu .enlaces a:last-child {
    border-bottom: none;
  }
  header .buscador {
    left: 0;
  }
  main .banner .fondo {
    background-size: 345%;
  }
  main .banner .fondo .fondo-azul {
    background: var(--color-azul);
    margin-top: 54px;
    height: 55px;
  }
  main .banner .fondo .fondo-azul .contenedor {
    padding-top: 0;
    padding-bottom: 0;
  }
  main .owl-carousel .owl-nav button.owl-prev {
    left: -20px;
  }
  main .owl-carousel .owl-nav button.owl-next {
    right: 40px;
  }
  footer {
    background-size: 230%;
  }
  footer .contenedor{
    background-color: var(--color-azul);
  }
}


.agotado {
  display: inline-block;
  background: red;
  color: white;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
}
