/* ----------------------------------------------------------------------------- */
/* Estilos para el botón flotante */
.boton-flotante-inferior {
  position: fixed;
  z-index: 10000000000;
  bottom: 80px; /* Ajusta la distancia desde el borde inferior */
  right: 70px; /* Ajusta la distancia desde el borde derecho */
  background-color: #ffffff; /* Color de fondo del botón */
  box-shadow: 0px 3px 6px #00000029;
  color: #e62336; /* Color del icono y texto */
  border-radius: 50%; /* Hacemos el botón circular */
  width: 60px; /* Ancho del botón */
  height: 60px; /* Alto del botón */
  display: flex; /* Para centrar el contenido del botón */
  align-items: center; /* Centra el icono verticalmente */
  justify-content: center; /* Centra el contenido horizontalmente */
  text-decoration: none; /* Elimina el subrayado del enlace */
  transition: all 0.3s ease; /* Transición suave para el hover */
  overflow: hidden; /* Para recortar el contenido cuando se expande */
}

.boton-flotante-inferior .material-icons {
  font-size: 24px; /* Tamaño del icono */
  color: #e62336; /* Color del icono */
}

.boton-flotante-inferior .texto-hover {
  display: none; /* Oculta el texto por defecto */
  position: absolute; /* Para posicionar el texto al lado del botón */
  left: 70px; /* Posición del texto al lado del botón */
  color: #ffffff; /* Color del texto */
  padding: 10px; /* Espaciado interno del texto */
  border-radius: 8px; /* Bordes redondeados del texto */
  white-space: nowrap; /* Para evitar que el texto se divida en varias líneas */
  font: normal normal 600 18px/22px Cabin;
}

.boton-flotante-inferior:hover {
  border-radius: 30px; /* Hacemos el botón más ovalado en hover */
  width: 200px; /* Ampliamos el botón en hover */
  height: 60px; /* Mantenemos la altura del botón */
  background-color: #e62336;
}

.boton-flotante-inferior:hover .material-icons {
  color: #ffffff !important; /* Color del icono al hacer hover */
  z-index: 2;
  position: absolute;
  left: 40px;
}

.boton-flotante-inferior:hover .texto-hover {
  display: inline; /* Muestra el texto cuando el botón es hoverado */
}

.custom-size-icon {
  font-size: 70px !important;
}

@media (max-width: 1200px) {
  .boton-flotante-inferior {
    position: fixed;
    z-index: 10000000000;
    display: flex; /* Usamos flexbox para centrar el contenido */
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    right: 30px;
    bottom: 80px;
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    opacity: 1;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    color: #e62336 !important;
  }
  .custom-size-icon {
    font-size: 35px !important;
  }
  .boton-flotante-superior{
    display: none;   
  }
}

/* ----------------------------------------------------------------------------- */
/* Botón flotante superior */
.boton-flotante-superior {
  position: absolute;
  top: 200px; /* Ajusta la distancia desde el borde superior */
  left: 0px; /* Ajusta la distancia desde el borde izquierdo */
  background-color: #2699d6;
  padding: 10px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0px 3px 6px #00000029;
}

.boton-flotante-superior ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.boton-flotante-superior li {
  margin-bottom: 15px; /* Espaciado entre los elementos de la lista */
  position: relative; /* Para posicionar el texto correctamente */
}

.boton-flotante-superior li a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.boton-flotante-superior .fa {
  font-size: 24px;
  color: #ffffff; /* Color de los iconos */
  transition: color 0.3s ease;
}

.boton-flotante-superior li:hover .fa {
  color: #0067b1; /* Cambia el color del icono al hacer hover */
}

.boton-flotante-superior .texto-hover {
  display: none; /* Oculta el texto por defecto */
  position: absolute;
  left: 50px; /* Distancia entre el icono y el texto */
  top: 50%;
  transform: translateY(-50%);
  background-color: #0067b1;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0px 3px 6px #00000029;
  white-space: nowrap;
  font-size: 14px;
  font-weight: bold;
}

.boton-flotante-superior li:hover .texto-hover {
  display: inline-block; /* Muestra el texto al hacer hover */
  transition: opacity 0.3s ease;
  opacity: 1;
}

/* ----------------------------------------------------------------------------- */
@media (max-width: 1200px) {
.floating-button {
    position: absolute;
    bottom: 556px;
    left: 0px; /* Cambiado de 'right' a 'left' */
    width: 38px;
    height: 38px;
    background-color: #2699d6;
    color: white;
    border-radius: 0 50% 50% 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1;
}
}
@media (min-width: 1200px) {
i.fa.fa-book{
 display: none;   
}
}

.floating-menu {
    position: absolute;
    bottom: 360px;
    left: 40px; /* Cambiado de 'right' a 'left' */
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
}

.floating-menu a {
    background-color: #2699d6;
    color: white;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    font-size: 20px;
}

.floating-menu a:hover {
    background-color: #343a40;
    color: #FFFFFF;
}

/* ----------------------------------------------------------------------------- */
