/*překrytí carousel motivu*/
#own-motive .section-carousel .section-cell-item::before,
#index #own-motive .section-carousel .section-cell-item::before {
  display:none;
}

/*schování popisku carousel motivu*/
#own-motive .section-carousel .caption-hide .carousel-caption,
#index #own-motive .section-carousel .caption-hide .carousel-caption {
  display:none;
}
/*velikost obrazku carouselu*/
#own-motive .section-carousel .section-cell-item img,
#index #own-motive .section-carousel .section-cell-item img {
  height: auto;
  -o-object-fit: unset;
  object-fit: unset;
}

/*velikost carouselu*/
#own-motive .section-carousel .carousel,
#index #own-motive .section-carousel .carousel {
  height: auto;
}

#own-motive .section-carousel .section-cell-parent,
#index #own-motive .section-carousel .section-cell-parent {
  height:auto;
}

#own-motive .section-carousel .section-cell-item,
#index #own-motive .section-carousel .section-cell-item {
  height: auto;
}

/*odsazeni sekce*/
section.section-bg.mt-0 {
  margin-top:0;
}

/*vyska menu a loga*/
.logo img {
  max-height: 80px;
}

.navbar.navbar-default,
#index .navbar.navbar-default {
  min-height: 85px;
  height: 85px;
}

@media (max-width: 767px) {
  .navbar .logo img {
    max-height: 80px;
  }
}

/*odsazeni motivu*/
#own-motive, #index #own-motive {
  padding-top: 85px;
}

/* responzivní tabulky */
.table-responsive {
  overflow-x: auto;
  min-height: .01%;
}
.table-responsive > .table {
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
}

/* Zmenší font pro malé obrazovky, aby se tabulka vešla */
@media (max-width: 767px) {
  .table-responsive td,
  .table-responsive th {
    font-size: 12px; /* nebo 13px, podle potřeby */
    padding: 6px 4px;
  }
}

/* Alternativní styl pro "stacked" tabulky na mobilu */
@media (max-width: 480px) {
  .table-responsive table,
  .table-responsive thead,
  .table-responsive tbody,
  .table-responsive th,
  .table-responsive td,
  .table-responsive tr {
    display: block;
  }
  .table-responsive thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .table-responsive tr {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
  }
  .table-responsive td {
    border: none;
    position: relative;
    padding-left: 50%;
    text-align: left;
  }
  .table-responsive td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: bold;
    content: attr(data-label);
  }
}