
div.bg-info thead tr,
table.dataTable.hover div.recallPerformanceInfo thead tr:hover,
div.bg-info tbody tr,
table.dataTable.hover div.recallPerformanceInfo tbody tr:hover {
  background-color: transparent;
}
table.dataTable.compact thead th,
table.dataTable.compact tbody th,
table.dataTable.compact tbody td {
  padding: 2px 4px 3px 3px;
}
div.recallPerformanceInfo table.scoreDetails tbody th,
div.recallPerformanceInfo table.scoreDetails tbody td,
table.elementList.compact tbody th,
table.elementList.compact tbody td,
table.componentList.compact tbody th,
table.componentList.compact tbody td {
  padding: 0px 4px 0px 0px;
}
table.dataTable.no-footer {
  border-bottom: 0px;
}
table.dataTable tbody tr.bg-info {
  background-color: #d9edf7;
}
table.dataTable tbody tr.odd {
  background-color: #f9f9f9;
}
table.dataTable {
  width: 100% !important;
}
table.dataTable thead {
  background-color: #446e9b;
  color: white;
}
/* END - override some DataTables stuff */

/*table.results .glyphicon {
    font-size: small;
    @media screen and (max-width: @screen-handhelds) {
        font-size: x-small;
    }
}*/

div#lastScoredPerformanceInfo.alert {
  padding-right: 0px;
}
div#lastScoredPerformanceInfo.alert > div,
div.recallPerformanceInfo > div {
  padding-right: 10px;
}
@media screen and (min-width: 767px) and (orientation: landscape) {
  div#lastScoredPerformanceInfo.alert > div,
  div.recallPerformanceInfo > div {
    float: left;
    clear: unset;
    width: 50%;
  }
}
@media screen and (min-width: 767px) and (orientation: landscape) {
  div#lastScoredPerformanceInfo > div.elementListContainer,
  div.recallPerformanceInfo > div.elementListContainer {
    clear: both;
  }
}
th.lastColumn,
td.lastColumn {
  padding-right: 0;
}
table.results td.participantName {
  white-space: nowrap;
}
th.performanceScore,
td.performanceScore {
  text-align: right;
  width: 50px;
  white-space: nowrap;
}
tr.performanceResult th.performanceScore,
tr.performanceResult td.performanceScore {
  text-align: center;
  width: auto;
}
table.rankingTable.dataTable.compact thead th.performanceScore {
  padding-right: 8px;
  text-align: center;
}
div.recallPerformanceInfo table.dataTable.compact thead th.performanceScore {
  padding-right: 6px;
  text-align: right;
}
table.elementList.dataTable thead th.performanceScore,
table.componentList.dataTable thead th.performanceScore {
  padding-right: 4px;
  text-align: right;
}
th.extraInfo,
td.extraInfo {
  display: none;
}
table.rankingTable th.ranking {
  width: 45px;
}
@media screen and (max-width: 567px) {
  table.rankingTable th.ranking {
    width: 31px;
  }
}
table.scoreDetails {
  margin-bottom: 2px;
  width: 100%;
}
th.performanceScore {
  width: 80px !important;
}
@media screen and (max-width: 567px) {
  th.performanceScore {
    white-space: initial;
  }
}
div.recallPerformanceInfo table.dataTable {
  margin-bottom: 0px !important;
}
.scheduleDate {
  white-space: nowrap;
}
h3 {
  margin-top: 5px;
}
#rankings,
#startListContainer,
#schedule,
#lastScoredPerformanceInfo,
#nextToSkateInfo {
  display: block;
}
#lastScoredPerformanceInfo,
#nextToSkateInfo {
  padding-top: 2px;
  padding-bottom: 2px;
}
table.table.results > tbody > tr.newStartGroup > td {
  border-top: 1px groove #356635;
}
.recallPerformanceInfo {
  padding: 0px 5px 0px 15px;
}
.recallPerformanceInfo.alert {
  margin-bottom: 0px;
}
.recallPerformanceInfo.alert h4 {
  margin-top: 10px;
}
table#timeSchedule tbody tr.group {
  background-color: #d9edf7;
  font-weight: bold;
}
.compact span.badge {
  padding-right: 9px;
}
.results.dataTable span.badge {
  width: 55px;
  text-align: right;
}
@media screen and (max-width: 567px) {
  .results.dataTable span.badge {
    width: 48px;
  }
}
.totalScore .badge,
.TSS .badge {
  background-color: #468847;
}
.totalScore .badge,
.TSSA .badge {
  background-color: #ff9800;
}
.segment1 .badge,
.TES .badge {
  background-color: #474949;
}
#totalRank.badge,
.segment2 .badge,
.TCS .badge {
  background-color: #446e9b;
}
#totalRank.badge {
  font-size: larger;
  padding: 2px 20px;
}
.results.dataTable span.badge.ranking {
  background-color: transparent;
  border: 1px solid #474949;
  color: #474949;
  padding: 2px 7px;
  text-align: center;
  width: 32px;
}
@media screen and (max-width: 567px) {
  .results.dataTable span.badge.ranking {
    display: none;
  }
}
.simpleTable th,
.simpleTable td {
  padding: 4px;
  padding-bottom: 1px;
}
table#startList th.startNumber,
table#startList td.startNumber {
  white-space: nowrap;
}
@media screen and (max-width: 567px) {
  table#startList th.startNumber {
    white-space: normal;
  }
}
.rwd-break {
  display: block;
}
@media screen and (min-width: 991px) {
  .rwd-break {
    display: none;
  }
}
.liveadsblock {
  margin-bottom: 6px;
}
.adsfooter {
  margin-top: 10px;
}
/* Controls... */

.controls-badge {
  vertical-align: baseline;
}
.viewersCounter {
  font-size: 42px;
}
#connectorStatus {
  font-size: inherit;
  background-color: #cd0200;
}
/* ===== Redesign 2026: jemnejsi vzhled nad Bootstrapem 3 ===== */

/* 1) Hlavicka a pozadi */
body {
  background-color: #f2f5f9;
  color: #2b3440;
}
.navbar-inverse {
  background-color: #1f3a5c;
  background-image: none;
  border: 0;
  box-shadow: 0 2px 8px rgba(20, 40, 70, .25);
}
.navbar-inverse .navbar-brand {
  font-weight: 700;
  letter-spacing: .3px;
  color: #fff;
}
.navbar-inverse .navbar-nav > li > a {
  color: #cfdcec;
  transition: background-color .15s, color .15s;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  background-color: rgba(255, 255, 255, .1);
  color: #fff;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  background-color: transparent;
  color: #fff;
  box-shadow: inset 0 -3px 0 #5cb85c;
}
.navbar-inverse .dropdown-menu {
  border: 0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 16px rgba(20, 40, 70, .2);
}
.logo-hlavicka {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 4px;
}
.logo-hlavicka img {
  max-height: 80px;
  width: auto;
}
.logo-hlavicka h1 {
  margin: 0;
  font-weight: 700;
  color: #1f3a5c;
}
.logo-hlavicka h1 small {
  display: block;
  margin-top: 4px;
  color: #6b7a8c;
}
footer {
  color: #6b7a8c;
  font-size: 13px;
}
hr {
  border-top-color: #dde4ec;
}

/* 2) Karty zavodu na uvodni strance */
.zavod-karta {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(20, 40, 70, .12);
  border-left: 4px solid #446e9b;
  padding: 16px 6px;
  margin: 0 0 20px 0;
  transition: box-shadow .2s, transform .2s;
}
.zavod-karta:hover {
  box-shadow: 0 6px 16px rgba(20, 40, 70, .18);
  transform: translateY(-1px);
}
.zavod-karta h3 {
  margin-top: 0;
  font-weight: 700;
  color: #1f3a5c;
}
.zavod-karta h4 {
  color: #6b7a8c;
  font-size: 15px;
}
.zavod-karta .btn {
  border-radius: 20px;
  padding: 6px 16px;
  margin: 2px 0;
}
.zavod-karta img.img-responsive {
  max-height: 160px;
  margin: 0 auto;
}

/* 3) Online panel: Prave zavodi / Posledni hodnoceni */
#nextToSkateInfo.alert,
#lastScoredPerformanceInfo.alert,
#competitionNotRunning.alert {
  border: 0;
  border-left: 5px solid #5cb85c;
  border-radius: 8px;
  background: #fff;
  color: #2b3440;
  box-shadow: 0 1px 3px rgba(20, 40, 70, .12);
  margin-bottom: 14px;
}
#nextToSkateInfo.alert.bg-success {
  border-left-color: #5cb85c;
  background: #f1faf1;
}
#lastScoredPerformanceInfo.alert.bg-info {
  border-left-color: #446e9b;
}
#competitionNotRunning.alert {
  border-left-color: #f0ad4e;
}
#nextToSkateInfo h3,
#lastScoredPerformanceInfo h3 {
  font-size: 22px;
  line-height: 1.3;
}
#nextToSkate,
#lastScoredParticipant {
  font-weight: 700;
  color: #1f3a5c;
}
#nextToSkatePointsTo1st {
  background: #1f3a5c;
  color: #fff;
  border-radius: 12px;
  padding: 1px 10px;
}

/* 4) Tabulky vysledku */
table.dataTable thead,
table.table thead {
  background-color: #1f3a5c;
  color: #fff;
}
table.table > thead > tr > th {
  border-bottom: 0;
  font-weight: 600;
  letter-spacing: .2px;
}
table.table.results,
table.dataTable {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(20, 40, 70, .1);
}
table.dataTable tbody tr.odd {
  background-color: #f6f9fc;
}
table.dataTable.hover tbody tr:hover,
table.results tbody tr.performanceResult:hover {
  background-color: #e6eef7;
  cursor: pointer;
}
table.table > tbody > tr > td {
  border-top-color: #e6ebf1;
  vertical-align: middle;
}
.badge {
  font-weight: 600;
  border-radius: 10px;
}
.results.dataTable span.badge.ranking {
  border-color: #446e9b;
  color: #446e9b;
  font-weight: 700;
}
@media screen and (max-width: 567px) {
  .zavod-karta { padding: 12px 4px; }
  .logo-hlavicka img { max-height: 56px; }
  #nextToSkateInfo h3, #lastScoredPerformanceInfo h3 { font-size: 18px; }
}
