@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* Estilos ocultos */
.frontpage .header-title, .container h2.title, .frontpage .footer-inner, .hidden, .locale-untranslated { visibility:hidden; position:absolute; }

legend.captcha__title { display: none !important; }
.form-item-captcha-response { border: none !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 1rem 0 !important; }
fieldset.form-item-captcha-response, fieldset.captcha { border: none !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; background: transparent !important; }
.captcha__description { font-size: 0.85rem; color: #666; margin-top: 0.5rem; }
.g-recaptcha { transform: scale(0.95); transform-origin: 0 0; }
.view-filters input[type="submit"] { margin-left: 10px; }
table { border-collapse: collapse; width: 100%; background: #fff; border: 1px solid #ccc; margin-bottom: 10px; table-layout: auto; }
.table-responsive { overflow-x: auto; display: block; max-width: 100%; white-space: nowrap; }
thead { background-color: #f8f8f8; border-bottom: 2px solid #ccc; position: sticky; top: 0; z-index: 2; }
th, td { width:auto; min-width: 100px; max-width: 1000px; word-wrap: break-word; text-overflow: ellipsis; padding: 4px 6px; border: 1px solid #ddd; font-size: 16px; box-sizing: border-box; text-align: left; vertical-align: middle; }
th { font-weight: bold; background: #e8e8e8; color: #333; }
tbody tr:nth-child(odd) { background-color: #f9f9f9; }
tbody tr:hover { background-color: #e6e6e6; }

.breadcrumb-content-main h2.page-title {
  color: #ffffff !important;
}


.copyright {
  background-color: #071D41 !important;
}

.social-copyright {
  margin-top: -15px !important;
}

.banner-home {
  width: 100vw; margin-left: calc(-50vw + 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  padding: 80px 30px;
  background-color: #007a3d;
  background-image: url('/sites/default/files/2025-05/banner-background.png');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.banner-home .banner-left {
  max-width: 520px;
  flex: 1 1 480px;
}

.banner-home .banner-left img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.banner-home .banner-right {
  flex: 1 1 480px;
  max-width: 600px;
}

.banner-home .banner-right h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.banner-home .banner-right p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff;
}

.banner-home .btn-login {
  background-color: #ffffff;
  color: #003865;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
}

/* Por defecto, muestra el botón de login y oculta el de logout */
.login-only {
  display: inline-block !important;
}
.logout-only {
  display: none !important;
}

/* Si está logueado, invierte la visibilidad */
.logged-in .login-only {
  display: none !important;
}
.logged-in .logout-only {
  display: inline-block !important;
}

.menu-processos {
  color: #333;
}

.menu-processos h2 {
  padding-bottom: 5px;
  margin-top: 30px;
  font-size: 1.5rem;
  color: #2c3e50;
}

.menu-processos hr {
  border: none;
  margin: 30px 0;
}

.menu-processos ul {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.menu-processos ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  transition: background 0.2s ease-in-out;
}

.menu-processos ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: #009ade;
  font-size: 1.2rem;
  line-height: 1.2;
}

.menu-processos ul li a {
  text-decoration: none;
  color: #0077b6;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.menu-processos ul li a:hover {
  color: #005f87;
  text-decoration: underline;
}

/* Fondo verde de la franja */
.recursos-externos {
  padding: 30px 0;
  background: #D7E5DF;
}

/* Grid general: TODAS las tarjetas adentro de este contenedor */
.recursos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 columnas en desktop */
  gap: 22px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Tarjeta */
.recurso-card {
  background: #FFFFFF;
  border-radius: 4px;
  padding: 22px 14px;
  text-align: center;
  text-decoration: none;
  color: #0B2B64;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  border: 1px solid #e5e5e5;
  transition: 0.2s ease;
}

.recurso-card:hover {
  background: #F1F4F8;
  border-color: #cfd5dd;
}

/* Ícono */
.recurso-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Texto */
.recurso-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2rem;
}

/* Responsivo */
@media (max-width: 1200px) {
  .recursos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .recursos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .recursos-grid {
    grid-template-columns: 1fr;
  }
}

/* Fondo beige */
.recursos-material {
  background: #F7EDCB;
  padding: 40px 0;
}

/* Grid */
.recursos-material-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Tarjeta */
.material-card {
  background: #FFFFFF;
  border-radius: 4px;
  padding: 30px 16px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  justify-content: center;
  color: #0B2B64;
  font-weight: 500;
  border: 1px solid #e5e5e5;
  transition: 0.2s ease;
}

.material-card:hover {
  background: #F1F4F8;
  border-color: #CDD5DF;
}

/* Iconos */
.material-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 12px;
}

/* Texto */
.material-text {
  font-size: 0.95rem;
  line-height: 1.2rem;
  font-weight: 500;
}

/* Responsivo */
@media (max-width: 1200px) {
  .recursos-material-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .recursos-material-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .recursos-material-grid {
    grid-template-columns: 1fr;
  }
}