@import url("//code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css");
@import "../../resources/css/bootstrap-icons.min.css";
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url(https://fonts.bunny.net/poppins/files/poppins-latin-300-normal.woff2) format('woff2'), url(https://fonts.bunny.net/poppins/files/poppins-latin-300-normal.woff) format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url(https://fonts.bunny.net/poppins/files/poppins-latin-ext-300-normal.woff2) format('woff2'), url(https://fonts.bunny.net/poppins/files/poppins-latin-ext-300-normal.woff) format('woff');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.bunny.net/poppins/files/poppins-latin-400-normal.woff2) format('woff2'), url(https://fonts.bunny.net/poppins/files/poppins-latin-400-normal.woff) format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.bunny.net/poppins/files/poppins-latin-ext-400-normal.woff2) format('woff2'), url(https://fonts.bunny.net/poppins/files/poppins-latin-ext-400-normal.woff) format('woff');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url(https://fonts.bunny.net/poppins/files/poppins-latin-600-normal.woff2) format('woff2'), url(https://fonts.bunny.net/poppins/files/poppins-latin-600-normal.woff) format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url(https://fonts.bunny.net/poppins/files/poppins-latin-ext-600-normal.woff2) format('woff2'), url(https://fonts.bunny.net/poppins/files/poppins-latin-ext-600-normal.woff) format('woff');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.bunny.net/poppins/files/poppins-latin-700-normal.woff2) format('woff2'), url(https://fonts.bunny.net/poppins/files/poppins-latin-700-normal.woff) format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.bunny.net/poppins/files/poppins-latin-ext-700-normal.woff2) format('woff2'), url(https://fonts.bunny.net/poppins/files/poppins-latin-ext-700-normal.woff) format('woff');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url(https://fonts.bunny.net/poppins/files/poppins-latin-900-normal.woff2) format('woff2'), url(https://fonts.bunny.net/poppins/files/poppins-latin-900-normal.woff) format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url(https://fonts.bunny.net/poppins/files/poppins-latin-ext-900-normal.woff2) format('woff2'), url(https://fonts.bunny.net/poppins/files/poppins-latin-ext-900-normal.woff) format('woff');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ZIURen logotik hartutako paleta:
   Urdina: #004a91; turkesa: #2dd9c3; urdin iluna: #003565.
   Testu eta botoietarako urdina; turkesa xehetasunetarako. */
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}
/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
/* ==========================================================================
   Hiztegi kontsultaren estiloak
   ========================================================================== */
.kolore_nagusia {
  color: #004a91;
}
.kolore_osagarria {
  color: #d9f5f0;
}
#content {
  min-height: calc(100vh - 480px);
}
.ui-widget-content,
.ui-panelgrid .ui-panelgrid-cell {
  border: none;
}
ul.style-none {
  list-style-type: none;
}
.azpimarra {
  padding: 15px 0px;
  border-bottom: 3px solid #d9f5f0;
}
.gainmarra {
  padding: 15px 0px;
  border-top: 3px solid #d9f5f0;
}
.eskuinmarra {
  padding: 0px 15px;
  border-right: 3px solid #d9f5f0;
}
.ezkermarra {
  padding: 0px 15px;
  border-left: 3px solid #d9f5f0;
}
.ui-datascroller li.ui-datascroller-item {
  padding: 2px 0px;
}
.footer {
  font-size: 0.875rem;
  color: #63707c;
}
.footer .logoak {
  max-width: 100%;
  max-height: 100px;
  aspect-ratio: 10 / 5;
  object-fit: contain;
  filter: grayscale(100);
  opacity: 0.5;
  transition-duration: 0.2s;
}
.footer .logoak:hover {
  filter: none;
  opacity: 1;
  transition-duration: 0.2s;
}
.footer a.menua {
  text-decoration: none;
}
.footer a.menua.kolore_grisa {
  color: #666666;
  transition-duration: 0.2s;
}
.footer a.menua.kolore_grisa.active {
  font-weight: 700;
  color: #004a91;
}
.footer a.menua:hover {
  color: #004a91;
  transition-duration: 0.2s;
}
.footer.footer-top .container {
  border-top: 1px solid #004a91;
}
.footer.footer-bottom {
  border-top: 1px solid #004a91;
}
.ui-menu .ui-menu-item .eu_autoc,
.ui-menu .ui-menu-item .es_autoc,
.ui-menu .ui-menu-item .en_autoc,
.ui-menu .ui-menu-item .fr_autoc {
  display: block;
  width: 100%;
  padding: 0.375rem 1.75rem 0.375rem 3.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 26px;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.ui-menu .ui-menu-item .eu_autoc {
  background-image: url("../../resources/irudiak/eu.png");
}
.ui-menu .ui-menu-item .es_autoc {
  background-image: url("../../resources/irudiak/es.png");
}
.ui-menu .ui-menu-item .en_autoc {
  background-image: url("../../resources/irudiak/en.png");
}
.ui-menu .ui-menu-item .fr_autoc {
  background-image: url("../../resources/irudiak/fr.png");
}
.ui-menu .ui-menu-item .ui-state-active,
.ui-selectonemenu-panel .ui-selectonemenu-list-item:hover {
  background-color: #d9f5f0;
  /*Small Switch Palette*/
  font-weight: normal;
  border: 0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}
body .ui-inputfield.ui-state-focus,
body .ui-inputfield.ui-state-hover,
.form-control:focus,
.form-control:focus:hover {
  border-color: #666666;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 102, 102, 0.9);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 102, 102, 0.9);
}
.form-group .ui-selectonemenu {
  width: 100%;
  padding: 0;
}
.ui-state-hover,
.ui-state-focus,
.form-control:hover {
  border-color: #666666;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 102, 102, 0.9);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 102, 102, 0.9);
}
.sailkapen {
  color: gray;
  white-space: inherit;
}
.ezkergrisa {
  float: left;
  color: gray;
}
.ui-state-active,
body .ui-button,
body .ui-button.ui-state-hover,
body .ui-button.ui-state-active:hover,
body .ui-button.ui-state-down,
.bilatu,
.bilatu:hover,
.bilatu:focus {
  background: #004a91;
  color: #fff;
  background-color: #004a91;
  border-color: #004a91;
}
body .ui-button.ui-state-hover,
.bilatu:hover,
.bilatu:focus {
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 74, 145, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 74, 145, 0.6);
}
.btn-outline-primary {
  color: #004a91;
  border-color: #004a91;
  border-radius: 5px;
  margin-top: 3px;
}
.btn-outline-primary:hover {
  color: #004a91;
  background-color: #fff;
  border-color: #004a91;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 74, 145, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 74, 145, 0.6);
}
.highlight {
  font-weight: bold;
  color: white;
  background-color: #004a91;
  padding: 1px 2px;
  border-radius: 2px;
}
.euskalterm {
  font-weight: bold;
  color: black;
}
/* goiburuko fondoko opakotasuna mantentzeko, bertako beste elementuek position relative izan behar dute */
.navbar,
.goiburua {
  position: relative;
}

.h1 {
  position: relative;
}
.ui-widget.menua {
  text-decoration: none;
  font-size: 0.75rem;
}
.goiburuHizkuntza {
  padding-bottom: 0.5rem;
  padding-right: 1.5rem;
}
.honiBuruz {
  text-decoration: none;
  border: 2px solid #d2d2d2;
  border-radius: 0.3rem;
  padding: 3px;
  border-top-color: transparent;
  border-left-color: transparent;
}
.goiburuTestuak {
  padding-top: 0.5rem;
  padding-right: 0.5rem;
}
/*.locale:hover {
	color: #3d9945;
	cursor: pointer;
	/*font-weight: bold;
}*/
.errorMsg {
  color: #c12f2f;
}
.cookieConsentContainer {
  width: 350px;
  padding: 10px;
  background-color: rgba(225, 248, 244, 0.97);
  -webkit-box-shadow: 0 2px 5px rgba(102, 102, 102, 0.7);
  box-shadow: 0 2px 5px rgba(102, 102, 102, 0.7);
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1040;
  font-size: 13px;
}
.cookieConsentContainer .ui-toggleswitch .ui-toggleswitch-slider {
  background-color: #004a91;
}
@media (max-width: 980px) {
  .cookieConsentContainer {
    bottom: 0;
    left: 0;
    width: 100%;
  }
}
/* Cookie politikarako esteka */
.cookieLink {
  color: #004a91;
  font: inherit;
}
/* switchak */
.ui-toggleswitch-slider {
  background-color: #ccc;
}
.ui-toggleswitch-slider:before {
  background-color: white;
}
body .ui-toggleswitch.ui-toggleswitch-checked .ui-toggleswitch-slider {
  background-color: #004a91;
}
/* Onartu eta gorde botoiak */
.cookieButtonManage {
  font-size: 13px;
  width: 100%;
}
/* cookie bakoitza azaltzen den taula */
.cookieConsentContainer .cookieDesc .cookieTable {
  margin-bottom: 5px;
  margin-top: 5px;
  font: inherit;
}
.cookieIzena {
  font-weight: bold;
  font-size: 16px;
}
.cookieConsentContainer .cookieTable .cookieTestua {
  padding: 0;
  color: #004a91;
}
/* Ezarpenak berriz irekitzeko botioa */
.cookieButton {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1030;
  background-color: #e1f8f4;
  width: 32px;
  height: 32px;
  display: block;
  text-decoration: none;
  border-radius: 35px;
  transition: all 0.3s ease;
}
.cookieButton i {
  color: #004a91;
  font-size: 20px;
  transition: all 0.3s ease;
}
.cookieButton:hover {
  box-shadow: 0 0 8px #004a91;
}
.cookieButton.itzala {
  box-shadow: 0 0 8px #004a91;
}
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1030;
  background-color: #e1f8f4;
  width: 50px;
  height: 50px;
  display: block;
  text-decoration: none;
  border-radius: 35px;
  display: none;
  transition: all 0.3s ease;
}
#backToTop i {
  color: #004a91;
  font-size: 27px;
  transition: all 0.3s ease;
}
#backToTop:hover {
  box-shadow: 0 0 8px #004a91;
}
#iruzkinariDeia {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1030;
  background-color: #e1f8f4;
  width: 50px;
  height: 50px;
  display: block;
  text-decoration: none;
  border-radius: 35px;
  transition: all 0.3s ease;
}
#iruzkinariDeia i {
  color: #004a91;
  font-size: 27px;
  transition: all 0.3s ease;
}
#iruzkinariDeia:hover {
  box-shadow: 0 0 8px #004a91;
}
#iruzkinariDeia.itzala {
  box-shadow: 0 0 8px #004a91;
}
body .ui-widget {
  font-family: inherit;
  font-size: inherit;
}
body .ui-panelgrid .ui-panelgrid-cell {
  padding: 4px 15px;
}
body .ui-datascroller .ui-datascroller-content {
  border: none;
  padding: 4px 10px;
}
.logo-span {
  position: absolute;
  top: 45%;
  /* Ajusta según sea necesario */
  right: 1%;
  /* Ajusta según sea necesario */
  transform: translateY(-50%);
}
.ui-selectbooleancheckbox.form-control {
  padding: 0;
}
body .ui-chkbox .ui-chkbox-box .ui-chkbox-icon {
  position: inherit;
  left: 0;
  top: 0;
  margin-left: 0;
  margin-top: 0;
}
/* Dialogoaren estilo pertsonalizatuak */
.ui-dialog.irudi-dialogo {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: auto !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  height: fit-content !important;
  width: fit-content !important;
}
.ui-dialog.irudi-dialogo .ui-dialog-titlebar {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.ui-dialog.irudi-dialogo .ui-dialog-titlebar-close {
  position: fixed !important;
  /* Aldaketa nagusia: fixed => pantailara lotuta */
  right: 20px !important;
  /* Eskuinertzetik distantzia */
  top: 20px !important;
  /* Goitik distantzia */
  color: white !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
  border: none !important;
  z-index: 10001;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  outline: none !important;
  box-shadow: none !important;
  transition: background 0.2s ease;
  /* Efektu leuna hoverrerako */
  text-decoration: none;
}
.ui-dialog.irudi-dialogo .ui-dialog-titlebar-close:hover {
  background: rgba(0, 0, 0, 0.8) !important;
  transform: scale(1.05);
  /* Efektu sotila hoverrean */
}
.ui-dialog.irudi-dialogo .ui-dialog-titlebar-close span {
  color: white !important;
  font-size: 20px !important;
  /* Ikono handiagoa */
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
}
.ui-dialog.irudi-dialogo .ui-dialog-content {
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
}
.irudi_txikia {
  width: 100%;
  /* Fallback for older browsers */
  max-width: 500px;
  /* Prefer the smaller of 500px and the viewport width */
  max-width: min(500px, 100vw);
  max-height: 500px;
}
.partekatu-sistema {
  position: relative;
  display: inline-block;
}
.partekatu-sistema.badge {
  font-weight: 400;
}
.kopiatu-mezua {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  display: none;
  animation: fadeIn 0.3s;
}
.plataforma-aukerak {
  display: none;
  position: absolute;
  bottom: -260px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 15px;
  z-index: 100;
  animation: fadeIn 0.3s;
}
.plataforma-botoia {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  margin: 5px 0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
  color: #333;
  text-decoration: none;
}
.plataforma-botoia:hover {
  background-color: rgba(0, 74, 145, 0.2);
}
.plataforma-botoia img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
#partekatuBotoia {
  padding: inherit;
  line-height: 1;
  background-color: white;
  border-radius: 0px;
  transition-duration: 0.2s;
}
#partekatuBotoia .bi-share {
  color: #004a91;
}
#partekatuBotoia:hover {
  background-color: #e1f8f4;
  transition-duration: 0.2s;
}
.plataforma-izenburua {
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 5px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.float-right {
  float: right;
}
.h-fit {
  height: fit-content;
}
.w-fit {
  width: fit-content;
}
.input-group > .form-control {
  width: 100%;
  margin-bottom: 10px;
}
@media (max-width: 992px) {
  .form-control {
    border-radius: 0.375rem !important;
  }
}
@media (min-width: 992px) {
  .input-group > .form-control {
    width: auto;
  }
}
@media (min-width: 1200px) {
  .w-xl-18 {
    width: 18%;
  }
  .w-xl-23 {
    width: 23%;
  }
}
:root {
  --bs-body-font-family: 'Poppins', sans-serif;
  --bs-body-font-size: 18px;
  --bs-body-font-weight: normal;
  --bs-body-font-style: normal;
  --bs-nav-link-font-size: 18px;
  --bs-btn-bg: #004a91;
  --bs-btn-border: #004a91;
  --bs-border-radius: 12px;
  --bs-border-radius-lg: 12px;
  --bs-primary-rgb: 0, 74, 145;
}
#topnav {
  font-weight: 300;
}
#topnav a {
  font-weight: 300;
  color: #004a91;
  transition-duration: 0.2s;
  text-decoration: none;
}
#topnav a:hover {
  color: #000;
  transition-duration: 0.2s;
}
#topnav a.active {
  font-weight: 600;
}
#topnav #locale {
  font-weight: 300;
  font-family: var(--bs-body-font-family);
}
#topnav #locale a.active {
  font-weight: 600;
}
#top-img {
  background-color: #003565;
  background-image: linear-gradient(rgba(0, 35, 67, .3), rgba(0, 35, 67, .3)), url("../../resources/irudiak/goiburua.jpg?v=2");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 560px;
  height: 75vh;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.header {
  content: "";
}
.header .izenburua {
  text-decoration: none;
  color: white;
  font-weight: 900;
  transition-duration: 0.2s;
  text-shadow: 0px 0px 10px rgba(43, 22, 11, 0.7);
  /* Normal size should remain 3.5rem */
  font-size: 3.5rem;
  /* Reduce only slightly if necessary: clamp(min 3rem, fluid, max 3.5rem) */
  font-size: clamp(2.5rem, 2.2vw + 1.2rem, 3.5rem);
}
.header .izenburua:hover {
  text-shadow: 0px 5px 10px #003565;
  transition-duration: 0.2s;
}
#content .h2 {
  font-weight: 900;
  color: white;
  text-shadow: 0px 5px 10px #002b52;
}
#fitxa {
  min-height: 250px;
}
.proiektua {
  color: #666;
}
.proiektua a {
  color: #004a91;
  text-decoration: underline;
}
.input-group > .form-select {
  font-size: 1.25rem;
}
.iruzkina {
  color: #666;
}
.iruzkina .ui-inputfield {
  border-radius: 12px;
  border: none;
  -webkit-box-shadow: 0 2px 5px rgba(102, 102, 102, 0.7);
  box-shadow: 0 2px 5px rgba(102, 102, 102, 0.7);
}
.iruzkina .ui-inputfield.ui-state-focus,
.iruzkina .ui-inputfield.ui-state-hover,
.iruzkina .form-control:focus,
.iruzkina .form-control:focus:hover {
  border: none;
  outline: 0;
  -webkit-box-shadow: 0 5px 8px rgba(102, 102, 102, 0.7);
  box-shadow: 0 5px 8px rgba(102, 102, 102, 0.7);
}
.iruzkina .form-group .ui-selectonemenu {
  width: 100%;
  padding: 0;
}
.iruzkina .ui-state-hover,
.iruzkina .ui-state-focus,
.iruzkina .form-control:hover {
  border: none;
  -webkit-box-shadow: 0 5px 8px rgba(102, 102, 102, 0.9);
  box-shadow: 0 5px 8px rgba(102, 102, 102, 0.9);
}
.iruzkina .btn {
  border-radius: 0px;
}
/* ZIUR: logoko urdina eta turkesa. main.less-ek inportatzen du. */
:root {
  --ziur-blue: #004a91;
  --ziur-turquoise: #2dd9c3;
  --ziur-dark: #003565;
  --ziur-light: #e1f8f4;
  --bs-primary: #004a91;
  --bs-primary-rgb: 0, 74, 145;
  --bs-link-color: #004a91;
  --bs-link-hover-color: #003565;
  --bs-body-bg: #f6f9fc;
}

#topnav {
  border-bottom: 4px solid var(--ziur-turquoise);
}

#topnav .navbar {
  background-color: white !important;
}

#topnav a:hover {
  color: var(--ziur-dark);
}

.brand-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brand-title {
  max-width: 800px;
  min-width: 0;
}

.brand-title h1 {
  margin: 0;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.header .izenburua,
.header .izenburua:hover,
#content .h2 {
  text-shadow: 0 2px 6px rgba(0, 22, 43, .9);
}

.header .izenburua {
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  transition-property: color, text-shadow;
}

.header .izenburua:hover {
  color: var(--ziur-light);
}

.formularioa {
  margin-bottom: 1.5rem;
}

.formularioa .input-group {
  margin-bottom: 0 !important;
}

.form-control:focus,
.form-select:focus,
body .ui-inputfield.ui-state-focus {
  border-color: var(--ziur-blue);
  box-shadow: 0 0 0 0.2rem rgba(45, 217, 195, 0.35);
}

.bilatu:hover,
.bilatu:focus,
body .ui-button.ui-state-hover {
  background-color: var(--ziur-dark);
  border-color: var(--ziur-dark);
}

.highlight {
  color: var(--ziur-dark);
  background-color: var(--ziur-light);
}

.footer .logoak.ziur-logo,
.footer .logoak.gipuzkoa-logo {
  width: 200px;
  height: auto;
  max-height: 160px;
  aspect-ratio: auto;
}

.cookieConsentContainer {
  max-width: 100vw;
}

.cookieConsentContainer .ui-toggleswitch .ui-toggleswitch-slider {
  background-color: #ccc;
}

body .ui-toggleswitch.ui-toggleswitch-checked .ui-toggleswitch-slider {
  background-color: var(--ziur-blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ziur-turquoise);
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  #top-img {
    min-height: 850px;
    height: 100vh;
  }

  .brand-layout {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .brand-title h1 {
    overflow-wrap: normal;
    hyphens: auto;
  }

  .header .izenburua {
    font-size: clamp(1.55rem, 6.5vw, 2.5rem);
  }

  #content .h2 {
    font-size: 1.4rem;
  }

}

/* Bilaketa eremuak irudiaren erdi bertikalean, pantaila etzanetan soilik. */
.search-heading {
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 22, 43, .9);
}

@media (max-width: 767.98px) {
  .search-heading {
    font-size: 1.4rem;
  }
}

@media (orientation: landscape) {
  .search-hero {
    --search-hero-height: max(400px, 75vh);
    position: relative;
  }

  .search-hero #top-img {
    inset: 0;
    height: var(--search-hero-height);
    min-height: 0;
  }

  .search-hero .header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }

  .search-hero .goiburua {
    padding-top: clamp(1rem, 4vh, 3rem) !important;
    padding-bottom: 0 !important;
  }

  .search-hero .hero-search {
    position: absolute;
    top: calc(var(--search-hero-height) / 2);
    left: 50%;
    width: 100%;
    max-width: inherit;
    padding: 0 0.75rem;
    transform: translate(-50%, -50%);
  }

  .search-hero .search-heading {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin: 0 0 1rem;
  }

  .search-hero .formularioa {
    margin-bottom: 0;
  }

  #content.search-results {
    min-height: 0;
    padding-top: calc(var(--search-hero-height) + 1.5rem);
  }

  .search-results #fitxa {
    min-height: 0;
  }
}

/* Hiru eremuak kabitzen ez direnean: testua, bi hautatzaileak eta botoia. */
@media (max-width: 991.98px) {
  .search-hero .input-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem;
  }

  .search-hero .input-group > .form-control {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    border-radius: 0.375rem !important;
  }

  .search-hero .input-group > span:empty {
    display: none;
  }

  .search-hero .input-group > input[type="text"],
  .search-hero .bilatu {
    grid-column: 1 / -1;
  }

  .search-hero .bilatu {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (orientation: landscape) and (max-width: 991.98px) {
  .search-hero {
    --search-hero-height: max(440px, 75vh);
  }
}

@media (max-width: 575.98px) {
  .search-hero .input-group {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (orientation: landscape) and (max-width: 575.98px) {
  .search-hero {
    --search-hero-height: max(480px, 75vh);
  }
}

@media (orientation: landscape) and (max-width: 767.98px) {
  .search-hero .header .izenburua {
    font-size: 1.5rem;
  }
}

/* Mugikor etzanetan iruzkinaren lasterbideak ez du bilaketa botoia estali behar. */
@media (orientation: landscape) and (max-width: 991.98px) and (max-height: 480px) {
  .search-hero #iruzkinariDeia {
    top: 0.5rem;
    right: 0.75rem;
    bottom: auto;
    width: 40px;
    height: 40px;
  }
}
