/* ==========================================================
   Barra superior + menú lateral (antes inline en menu.inc.php)
   ========================================================== */

/* ---------- Barra superior ---------- */
.menu-topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #fff;
  border-bottom: 1px solid lightseagreen;
}

.textom {
  width: fit-content;
  margin: 10px auto;
}

/* Botón hamburguesa y botón cerrar */
.barras {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  cursor: pointer;
  font-size: 1.5em;
}

.bclose {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9999;
  display: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.5em;
  box-shadow: 3px 6px 28px -8px rgba(0, 0, 0, .64);
}

/* ---------- Panel del menú ---------- */
.cajamenu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
  display: none;
  width: fit-content;
  padding: 20px;
  background-color: cadetblue;
  border-bottom: 3px solid darkcyan;
  border-radius: 2px;
  box-shadow: 3px 6px 28px -8px rgba(0, 0, 0, .64);
}

/* Fondo oscuro detrás del menú */
.bajomenu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8;
  display: none;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: .7;
}

.menu-logo {
  width: 100%;
  height: 150px;
  margin: 10px auto;
  padding: 1px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff url(../images/logo-fcq.jpg) center / contain no-repeat;
}

/* ---------- Ítems ---------- */
.cajamenu ul li {
  display: flex;
  align-items: center;
  min-height: 30px;
  text-transform: uppercase;
}
.cajamenu ul li.menu-item--alto { min-height: 60px; }

.cajamenu ul li a { color: #000; }
.cajamenu ul li a:hover { color: navy; }

.menu-sub { font-size: .8em; }
.menu-mi  { font-size: 1.3em; vertical-align: middle; }

#elaguarde { display: none; }
#elaguarde img { width: 20px; }

/* Espacio para que el contenido no quede bajo la barra fija */
.menu-espaciador { height: 45px; }
