body {
  font-family: "IBM Plex Sans";
  font-size: 0.9rem;
}

.container-border-top {
  border-top: 5px solid #b20000;
}

a {
  color: #422734;
}
.header-navigation {
  background-color: #ffffff !important;
}
.navigation-logo {
  width: 250px;
  max-width: 100%;
}
.text-primary {
  color: #b20000 !important;
}

.text-darkblue {
  color: #1c3766;
}

.bg-navigation,
#foot {
  background-color: #ffffff;
}

.bg-lightblue {
  background-color: #dceaf9;
}

.bg-darkblue {
  color: white;
  background-color: #1c3766;
}

.breadcrumb {
  margin-bottom: 0.2rem;
  margin-top: 0.2rem;
}

.cursor-pointer {
  cursor: pointer;
}

.hidden-microdata {
  display: none;
}

.cart-width-max-fit {
  width: max-content;
}

.modal {
  overflow-y: hidden;

  .modal-dialog {
    overflow-y: initial;
  }
}

.modal-body {
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.modal-header {
  padding: 0.5rem;
}
.modal-body {
  padding: 0.5rem;
}

.badge {
  font-weight: 100;
  letter-spacing: -0.05em;
  /* font-size: 0.75em; */
  padding: 0.35em 0.65em;
  /* opacity: 0.75; */
  line-height: normal;
  box-shadow: 2px 2px 4px #000000;
}
.custom-radio {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
}

.form-check-input[type="radio"] {
  border-radius: 25%;
}

.form-control,
.input-group-text {
  border-color: #ababab;
}

.navbar-light .navbar-nav .nav-link {
  color: #0a3b68;
}

.border-right-nav {
  border-right: 2px solid #0a3b68;
}

.sidebar .nav-link {
  font-weight: 500;
  color: var(--bs-dark);
}
.sidebar .nav-link:hover {
  background: var(--bs-light);
  color: var(--bs-primary);
}

#back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  opacity: 0.5;
  z-index: 1000;
}

.btn-primary {
  color: white;
  background-color: #b20000;
  border-color: #b20000;
}

.btn-outline-primary {
  color: #3bb54b;
  border-color: #3bb54b;
}

.btn-outline-primary:hover {
  background-color: transparent;
  color: #2bc53b;
  border-color: #3bb54b;
}

.btn-primary:hover {
  color: white;
  background-color: #910000;
  border-color: #910000;
}

.btn-darkblue {
  color: white;
  background-color: #1c3766;
}
.btn-darkblue:hover {
  color: white;
  background-color: #1c2756;
}

.btn-lightblue {
  color: #1c2756;
  background-color: #dceaf9;
  border-color: #1c2756;
}

.btn-lightblue:hover {
  color: #1c2756;
  background-color: #ccdae9;
  border-color: #1c2756;
}

.ui-autocomplete {
  background-color: white;
  border: 1px solid silver;
  border-radius: 5px;
  width: 20rem !important;
  max-width: 100% !important;
}

.loading-overlay {
  background-color: white;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.opacity-50 {
  opacity: 0.5;
}

.ContentWrapper {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px;
}

.list-group-item {
  padding: 0.3rem 2.25rem;
}

.list-group-item .list-group-item {
  border: none !important; /* Odstraní všechny rámečky */
}

.list-group-item-image {
  padding: 0.2rem 0.5rem;
  display: flex;
  align-items: center;
}

.list-group-item-image > img {
  width: 25px;
  height: 25px;
  margin-right: 0.2rem;
}

.box-category,
.box-category ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.box-category li a,
.box-content li a {
  text-decoration: none;
}

.box-category > ul > li > a:hover {
  text-decoration: underline;
}

.box-information-wrapper > .box-content > ul > li > a:hover,
.box > .box-content > ul > li > a:hover {
  text-decoration: underline;
}

.box-category > ul > li > ul {
  display: none;
}
.box-category > ul > li a.active {
  text-decoration: underline;
}
.box-category > ul > li a.active + ul {
  display: block;
}
.box-category > li > ul > li {
  padding-left: 15px;
}
.box-category > ul > li ul > li > a:hover {
  text-decoration: underline;
}

.pagination {
  border-top: 1px solid #eeeeee;
  padding-top: 8px;
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
}

.pagination .links b {
  display: inline-block;
  border: 1px solid #ca0404;
  padding: 4px 10px;
  font-weight: normal;
  text-decoration: none;
  color: #ca0404;
  background: #ffffff;
}

.pagination .links a {
  display: inline-block;
  border: 1px solid #eeeeee;
  padding: 4px 10px;
  text-decoration: none;
  color: #a3a3a3;
}

.banner {
  text-align: center;
}

@media (min-width: 1290px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1310px;
  }
}

@media (min-width: 992px) {
  .offcanvas-backdrop {
    /* Skryje overlay pozadí Offcanvasu na velkých obrazovkách */
    display: none !important;
  }
  .offcanvas .offcanvas-header {
    display: none;
  }

  .offcanvas {
    z-index: auto !important; /* Důležité: Vrátí z-index na výchozí hodnotu */
    position: static; /* Nebude fixed */
    transform: none !important; /* Vynuluje transformaci */
    visibility: visible !important; /* Vždy viditelný */
    background-color: transparent !important; /* Průhledné pozadí */
    border: none !important; /* Žádný rámeček */
    flex-direction: column; /* Udržuje flexbox pro obsah */
    width: auto; /* Zpátky na normální šířku sloupce */
    display: block !important; /* Bude se chovat jako blokový prvek */
  }
}

#spinner {
  z-index: 9999;
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.5) url("../img/spinner.gif") 50% 50% no-repeat;
  display: none;
}
