/* Zabezpečí, aby výsledky boli pod sebou a mali biely podklad */

#searchResults {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
  background-color: white;
  display: none;
  border: 1px solid #ddd;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 12px #98ce02;
  max-height: 250px;
  overflow-y: auto;
}

/* Aby sa rodičovský element správal ako kotva pre výsledky */

.navbar div:has( > #searchInput) {
  position: relative;
}

/* Úprava vzhľadu jednotlivých položiek v zozname */

#searchResults .list-group-item {
  padding: 10px 15px;
  font-size: 14px;
  border: none;
  border-bottom: 1px solid #eee;
  color: #333;
  text-decoration: none;
}

#searchResults .list-group-item:hover {
  background-color: #f8f9fa;
  color: #000;
}

footer .list-inline {
  margin-top: 10px;
  position: relative;
  z-index: 20;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 61px;
  z-index: 1000;
  margin-bottom: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: #222222 !important;
  border-color: #000000 !important;
}

/* Stav pri prejdení myšou pre konkrétne tlačidlo */

#btn-form:hover {
  background-color: #98ce02 !important;
  border-color: #1d2452 !important;
  color: #ffffff !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.download-row {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Toto aplikuje štýl na VŠETKY tlačidlá s touto triedou */

/* ZÁKLADNÝ STAV - Modrá farba pre všetky download tlačidlá */

[id^="btn-download-"] {
  background-color: #003366 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  border-width: 0px !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

/* HOVER STAV - Zelená farba pri prejdení myšou */

[id^="btn-download-"]:hover {
  background-color: #98ce02 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

html, body {
  overflow-x: clip;
  width: 100%;
  position: relative;
}

html, body {
  overflow-x: clip;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

@media (min-width: 576px) {
  .custom-radius {
    border-top-right-radius: 60px !important;
  }
}

/* Toto zabezpečí, že sa podčiarkne iba element s touto triedou */

.email-link:hover {
  text-decoration: underline !important;
}

/* Toto pre istotu vypne podčiarknutie na všetkom ostatnom, ak by to tam Bootstrap silou mocou pchal */

/* Toto zabezpečí, že sa podčiarkne iba element s touto triedou */

.email-link:hover {
  text-decoration: underline !important;
}

/* Toto pre istotu vypne podčiarknutie na všetkom ostatnom, ak by to tam Bootstrap silou mocou pchal */

.email-link {
  text-decoration: none;
}

#telefon-link {
  text-decoration: none !important;
}

#telefon-link:hover {
  text-decoration: none !important;
}

/* 1. Základný stav pre MOBIL a SM obrazovky (šírka od 0px do 767px) */

.hero-header-bg {
  background-image: url("../../assets/img/illustrations/intech-header-bg-mobile.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  height: 750px;
}

/* 2. Stav pre TABLETY a DESKTOP (od šírky 768px a viac) */

@media (min-width: 768px) {
  .hero-header-bg {
    background-image: url("../../assets/img/illustrations/intech-header-hq.webp");
    background-position: bottom right;
    height: 600px;
  }
}

.hyphens-auto {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

