@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;700&display=swap");

.TEMPLATE {
  overflow-x: hidden;
  -webkit-transition: all ease-in 0.5s;
  transition: all ease-in 0.5s;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.TEMPLATE h1,
.TEMPLATE h2,
.TEMPLATE h3,
.TEMPLATE h4,
.TEMPLATE h5,
.TEMPLATE p,
.TEMPLATE span,
.TEMPLATE font,
.TEMPLATE strong {
  font-family: "Titillium Web", sans-serif !important;
}

.TEMPLATE h1,
.TEMPLATE h2,
.TEMPLATE h3,
.TEMPLATE h4,
.TEMPLATE h5,
.TEMPLATE h6 {
  font-family: "Titillium Web", sans-serif !important;
  font-weight: 400;
}

.TEMPLATE p {
  color: black;
  font-weight: normal;
  font-size: medium !important;
}

.TEMPLATE .header {
  margin-top: 50px;
}

.TEMPLATE .header .divider {
  --o-border-color: color-mix(in srgb, rgb(33, 37, 41) 15%, transparent);
  border-top: 1px solid var(--o-border-color);
}

.TEMPLATE .header .container img.logo {
  max-width: 125px;
}

.TEMPLATE .TEMPLATE-Menu {
  border-radius: 4px;
  padding: 0px 0%;
}

.TEMPLATE .TEMPLATE-Menu ul {
  list-style: none;

  width: 100%;
}

.TEMPLATE .TEMPLATE-Menu ul li {
  height: auto;
  padding-right: 15px;

  text-align: left;
}

.TEMPLATE .TEMPLATE-Menu ul li a {
  font-size: medium;
  color: black;
  text-decoration: none;
}

.TEMPLATE .header .carrusel {
  height: 550px;
  padding: 30px 0;
  background-color: #005587;
  background-image: url(https://bancodealimentos.or.cr/web/image/198070/BannerInicioOpti.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: fixed;
  -webkit-box-shadow: inset 0px 0px 17px 0px rgba(0, 0, 0, 0.75);
  box-shadow: inset 0px 0px 17px 0px rgba(0, 0, 0, 0.75);
}

.TEMPLATE .header .carrusel .copy {
  margin-top: 20%;
}

.TEMPLATE .header .carrusel .copy h1 {
  color: white;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.36);
  font-size: xx-large;
  font-size: xxx-large;
  font-size: -webkit-xxx-large;
}

.TEMPLATE .header .carrusel .text {
  max-width: 400px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Ubuntu, "Noto Sans", Arial, "Odoo Unicode Support Noto", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.TEMPLATE .body {
  width: 100%;
  display: block;
  padding: 50px 0;
  min-height: 75vh;
}





.TEMPLATE .footer {
  width: 100%;
  display: block;
  margin: 0;
  background-color: #010717;
  padding: 25px 0;
  height: auto;
  color: white;
}

.TEMPLATE .footer .container .row .rh-logo img {
  width: 100%;
  height: auto;
}

.TEMPLATE .footer .container .row .legals {
  color: white !important;
}

.TEMPLATE .footer .container .row .legals p {
  color: white !important;
  font-size: small;
}

.TEMPLATE .footer .container .row .legals p a {
  text-decoration: none;
  color: #e67b17 !important;
  font-weight: bold;
  margin: auto 5px;
}

@media (max-width: 576px) {
  .TEMPLATE .header .container .menuItems .logo {
    text-align: center;
  }
  .TEMPLATE .header .container .menuItems .logo img {
    width: 75%;
  }
  .TEMPLATE .TEMPLATE-Menu {
    border-radius: 4px;
    width: 98%;
    margin: 15px 0 0 0;
    padding: 15px 1%;
    float: right;
  }

  .TEMPLATE .body .contentOne .logoEs img,
  .TEMPLATE .body .contentTwo .logoEs img {
    width: 50%;
  }
  .TEMPLATE .body .stripe img {
    width: 96%;
    height: auto;
    margin: auto;
  }
  .TEMPLATE .footer .container .row .legals {
    text-align: center !important;
  }
  .TEMPLATE .footer .container .row .rh-logo {
    text-align: center;
  }
  .TEMPLATE .footer .container .row .rh-logo img {
    width: 50% !important;
    height: auto;
    margin: auto auto 35px auto;
  }
}

.bda-title-division-1 div {
  height: 15px;
  width: 25%;
  display: flex !important;
}

.bg-secondary {
  background: rgb(133, 149, 162);
}

.bg-success {
  background: rgb(155, 184, 45);
}

.navbar-toggle {
  background: black;
  color: white;
}

.horizontal-menu > li > a {
  background: white !important;
  text-transform: uppercase;
  border-radius: 10px;
  font-family: "familyNunito", "sans-serif" !important;

  /* Nuevas propiedades para el efecto */
  position: relative; /* necesario para contener el pseudo-elemento */
  overflow: hidden; /* para que el relleno no se salga del borde redondeado */
  display: inline-block; /* o block, según tu layout */
  padding: 10px 20px; /* ajusta según tu diseño */
  color: #000; /* color del texto por defecto */
  transition: color 0.3s ease; /* suaviza el cambio de color del texto */
  z-index: 1; /* asegura que el texto esté por encima del pseudo */
}

/* Pseudo-elemento que hace el relleno */
.horizontal-menu > li > a::before {
  content: "";
  position: absolute;
  bottom: 0; /* anclado abajo */
  left: 0;
  width: 100%;
  height: 100%;
  background: black !important;
  border-radius: 10px; /* mismo redondeo que el enlace */
  transform: scaleY(0); /* inicialmente invisible (altura 0) */
  transform-origin: bottom; /* la escala crece desde abajo */
  transition: transform 0.4s ease; /* duración y suavidad */
  z-index: -1; /* detrás del contenido del enlace */
}

/* Al hacer hover, el pseudo se estira hasta el 100% de altura */
.horizontal-menu > li > a:hover::before {
  transform: scaleY(1);
}

/* Cambios en el hover del enlace */
.horizontal-menu > li > a:hover {
  color: white !important; /* texto blanco sobre fondo negro */
  /* Elimina el background: black !important; que tenías antes */
  /* Si quieres mantener el grosor de fuente: */
  /* font-weight: bold !important;  */
}

h1 {
  text-align: center;
  color: rgb(0, 98, 108);
  font-family: "familyNunito", "sans-serif" !important;
  font-size: 47px;
}

@keyframes flotarSuave {
  0% {
    transform: translateY(30px);
  }
  50% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(30px);
  }
}

/* Clase que aplica la animación */
.movimiento-flotante {
  animation-name: flotarSuave;
  animation-duration: 5s; /* tiempo de ida y vuelta */
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.link-vacante {
  color: black !important;
  font-weight: bold;
}

.conIsotipoEsquina {
  position: relative;
}

.conIsotipoEsquina img.isotipoEsquina {
  position: absolute;
  width: 100px;
  right: 0px;
  top: -60px;
}

.video-flex-wrapper {
  display: flex;
  flex-wrap: wrap; /* allows wrapping */
  align-items: center; /* optional, vertical alignment */
}
.video-flex-wrapper video {
  width: 50%;
  display: block;
  object-fit: cover;
  /* video is first, so it will be on top when wrapped */
}
.video-flex-wrapper .conIsotipoEsquina {
  width: 50%;
  padding: 20px;
  box-sizing: border-box; /* IMPORTANT: so padding doesn't break width */
}

@media (max-width: 1000px) {
  .video-flex-wrapper {
    flex-direction: column; /* stack vertically */
  }
  .video-flex-wrapper video,
  .video-flex-wrapper .conIsotipoEsquina {
    width: 100%; /* full width on mobile */
  }

  .cards .card {
    width: 100% !important;
    margin: 20px 20px !important;
  }

  /* Order is already video first, then content, so video stays on top */
}

.cards {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.cards .card {
  padding: 20px 20px 20px 80px;
  width: 28%;
  margin: 20px 20px;
  border-radius: 10px;
}

.cards .wp-block-outermost-icon-block {
  position: absolute;
  left: 20px;
  top: 40%;
}
