/* Definicion de colores */
:root {
  --primary: #bb1010;
  --secondary: #efb810;
  --light: #effdf5;
  --dark: #0e2e50;
}

.boton-primario {
  background-color: var(--primary);
  color: #ffffff;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
}

.navbar-nav > li {
  padding-left: 15px;
  padding-right: 15px;
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.fondo-blanco {
  background-color: #fff;
}

.fondo-gris {
  background-color: #ebf1f4;
}

.fondo-footer {
  background-color: var(--dark);
}

.color-rojo {
  color: var(--primary) !important;
}

.link-registro {
  font-weight: bold;
  text-decoration: underline;
}

.link-aviso-priv {
  color: #505251;
  text-decoration: underline;
  font-weight: bold;
}

.link-aviso-priv:hover {
  color: var(--primary);
}

/* Login */
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/imperio1.jpg") top center;
  background-size: cover;
  position: relative;
  padding: 0;
}

.color-login {
  color: #505251;
}

.link-detalle {
  color: #505251;
}

.link-detalle:hover {
  color: var(--primary);
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.login-wrap {
  border-radius: 20px;
  position: relative;
  color: rgba(255, 255, 255);
  background: rgba(255, 254, 251, 0.7);
  /* padding: 40px !important; */
}
.login-wrap h3 {
  font-weight: 300;
  color: #000000;
}
.login-wrap .social {
  width: 100%;
}
.login-wrap .social a {
  width: 100%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #000;
  background: #fff;
}
.login-wrap .social a:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Footer */
.link-footer {
  color: var(--light);
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid #808080;
}

.footer .link-footer:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 35px;
  transition: 0.3s;
}

.titulo-footer {
  font-size: 1.25rem;
  font-weight: bold;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
  border-color: var(--light);
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .copyright a:hover {
  text-decoration: none;
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.imagen-lista {
  width: 100%;
  height: 310px;
  object-fit: contain;
}

.imagen-carrusel {
  width: 100%;
  height: 500px;
  object-fit: contain;
}

.imagen-pdf {
  width: 100%;
  height: 350px;
  object-fit: contain;
}

.fondo-negro {
  background-color: #cccccc;
}

.fondo-imagen {
  background-color: rgba(0, 0, 0, 0.03);
}

.fondo-venta {
  background-color: #d3d3d3;
  padding: 5px 10px;
  text-transform: uppercase;
  border-radius: 6px;
}

.contenedor {
  position: relative;
  display: inline-block;
  text-align: center;
}

.texto-encima {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  padding: 3px 10px;
}

.contenedor-gal {
  position: relative;
}

.imagen-gal {
  opacity: 1;
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.msj-gal {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  cursor: pointer;
}

.contenedor-gal:hover .imagen-gal {
  opacity: 0.3;
}

.contenedor-gal:hover .msj-gal {
  opacity: 1;
}

.texto-gal {
  background-color: var(--primary);
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

.gradiente-prev {
  width: 7%;
  background: rgb(0, 0, 0);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.45) 10%,
    rgba(0, 0, 0, 0.4) 20%,
    rgba(0, 0, 0, 0.35) 30%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0.1) 80%,
    rgba(0, 0, 0, 0.05) 90%,
    rgba(0, 0, 0, 0) 100%
  );
}

.gradiente-next {
  width: 7%;
  background: rgb(0, 0, 0);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.05) 10%,
    rgba(0, 0, 0, 0.1) 20%,
    rgba(0, 0, 0, 0.15) 30%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.35) 70%,
    rgba(0, 0, 0, 0.4) 80%,
    rgba(0, 0, 0, 0.45) 90%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.fondo-info {
  background-color: white;
  border-radius: 5px;
  border: 1px solid #cccccc;
}

.txt-clave {
  font-size: 1.5em;
  text-transform: uppercase;
  font-weight: bold;
}

.txt-tipo-op {
  font-size: 1.2em;
  font-weight: 500;
}

.txt-precio {
  font-size: 1.7em;
  font-weight: bolder;
  color: var(--primary);
}

.txt-direccion {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--secondary);
}

.txt-puesto {
  font-size: 1.1em;
}

.txt-ubicacion {
  font-size: 1em;
}

.txt-titulo {
  color: var(--secondary);
  font-size: 1.1em;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 1;
}

.imagen-error {
  width: 100%;
  max-width: 350px;
  height: auto;
}

.input-valido {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 1em;
  color: #1f8757;
  font-weight: bold;
}

.input-invalido {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 1em;
  color: var(--primary);
  font-weight: bold;
}

.alto-asesor {
  max-height: 250px;
}

.btn-compartir {
  color: #ffffff;
}

.btn-compartir:hover {
  background-color: #000000;
  color: #ffffff;
}

.btn-facebook {
  background-color: #4267b2;

  color: #ffffff;
}

.btn-facebook:hover {
  background-color: #113c93;

  color: #ffffff;
}

.btn-twitter {
  color: #ffffff;

  background-color: #1da1f2;
}

.btn-twitter:hover {
  background-color: #1473ac;

  color: #ffffff;
}

.btn-whatsapp {
  color: #ffffff;

  background-color: #25d366;
}

.btn-whatsapp:hover {
  background-color: #1a9648;

  color: #ffffff;
}

.imagen-galeria {
  width: 100%;

  height: 200px;

  object-fit: cover;
}

.ordenando {
  opacity: 0.5;
}

.inactiva {
  opacity: 0.5;
}

/* --- TOOLTIPS --- */
.tooltips {
  position: relative;
}

.tooltips:hover {
  text-decoration: underline;
}

.tooltips:hover .tooltip-box {
  display: inline-block;
}

.tooltip-box {
  display: none;
  position: absolute;
  background: #000000;
  line-height: 20px;
  z-index: 500;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  padding: 5px;
  border-radius: 5px;
  left: 0;
  bottom: 40px;
}

.tooltip-box::after {
  content: "";
  display: block;
  border-top: 7px solid #000000;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  position: absolute;
  bottom: -7px;
}
