
h1 {
  margin-left: 20px; /* od ľavého okraja */
}

.table {
	width: 100%;
	max-width: 100%;
}

table {
	background-color: transparent;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
	border-top: 0;
}

.table > thead > tr > th {
	vertical-align: bottom;
	border-bottom: 2px solid #ddd;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
	padding: 8px;
	line-height: 1.43;
	vertical-align: middle;
	border-bottom: 1px solid #ddd;
}

th {
	text-align: left;
}

td, th {
	padding: 0;
}

.table-striped > tbody > tr:nth-of-type(2n+1) {
	background-color: #f9f9f9;
}

.table-striped > tbody > tr.rok {
	background-color: #eee;
	font-weight: bold;
	font-size: 28px;
}

.table > tbody > tr > td.nbdatum {
	padding-left: 29px;
}

.pocetmerarani{
    font-size:16px; 
    font-weight:normal;
}

button, a.button {
    font-style: normal;
	font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: top 13px right 13px;
    display: inline-block;
    border: 2px solid #ddd;
    padding: 8px 15px;  
}

a:hover.button {
	background-position: top 15px right 15px;
	background-color: #ddd;
	border: 1px solid #000000;
    padding: 9px 16px;  
}

.button.active {
    background-color: #ececec;
}

.tyzden {
  color: #8a8680;
  position: absolute;
  margin-top: -5px;
  display: block;
  font-size: 10px;
}

.casomiera {
    margin: 20px;
}

.nadpis {
    margin: 8px 20px;
	font-weight: bold;
}

.datum {
    margin: 8px 26px;
    font-size: 18px;
	font-weight: bold;
}

.kategoria {
    margin: 30px 20px 20px 20px;
}

a.linksutaz {
    margin: 5px;
    font-style: normal;
    text-decoration: none;
    font-weight: 700;
    color: #313186;
    font-size: 18px;
}

a:hover.linksutaz {
    font-style: normal;
    text-decoration: none;
    font-weight: 700;
    color: blue;
    font-size: 18px;
}

.formular {
    margin: 30px 20px 20px 20px;
}

.najrychlejsiprud {
    margin: 0px 0px 50px 30px;
}
.najrychlejsiprudNadpis {
    margin: 10px 0px 10px 0px;
    font-style: normal;
	font-weight: 700;
}
.najrychlejsiprudNadpisMin{
    margin: 10px 0px 10px 0px;
    font-style: normal;
	font-weight: 700;
    font-size: 18px;
}
.najrychlejsiprudkat{
    margin: 0px 0px 0px 10px;
    font-style: normal;
	font-weight: 700;
}

.najrychlejsiprudname {
    font-size: 16px;
    margin: 4px 0px 15px 25px;
}

.footer {
    margin: 30px 0px 50px 0px;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
}

.footer .udaje, footer copy {
    margin: 15px 0px 00px 0px;
}

.udaje a {
  font-weight: 600;
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

.udaje a:hover {
  color: #fd4800; /* Bootstrap primary */
  text-decoration: underline;
}

.sutazcontent {
    position: relative;
}
.svg-overlay {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index:55555;
    height: 100%;
    width: 100%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='450px' width='550px'><text transform='translate(40, 200) rotate(-45)' fill='rgb(245,45,45)' opacity='0.2' font-size='24'>www.casomiera.kamteraz.sk</text></svg>");
}

ul {
    list-style-type: none; /* odstráni bodky */
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}
ul {
    list-style: none !important;
}
li {
    list-style: none;
    padding: 8px 12px;
    border-top: 1px solid #ddd;
}
li:nth-of-type(2n+1) {
    background-color: #f9f9f9;
}

.welcome {
    padding: 0;
    margin: 10px;
    font-family: sans-serif;
    font-weight: bold;
}

.user-email {
    padding: 0;
    margin: 10px;
    font-family: sans-serif;
    font-weight: bold;
}

.rezerve {
    padding: 0;
    margin-top: 30px;
    margin: 10px;
    font-family: sans-serif;
}

.deterezerve {
    display: inline-block;
    width: 120px;
    font-size: 16px; /* Nastavenie veľkosti textu pre dátum */
}

.detail {  
    font-family: sans-serif;
}

a.login {
    padding: 0;
    margin: 10px;
    font-family: sans-serif;
    padding: 8px 15px;
}

a.logout, a.login {
    color: #000000;
    margin-top: 10px;
    margin-bottom: 30px;
    margin-left: 10px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: top 13px right 13px;
    display: inline-block;
    border: 2px solid #ddd;
    padding: 8px 15px;
    font-weight: bold;
}

a:hover.logout, a:hover.login {
    background-color: #ddd;
	border: 1px solid #000000;
    padding: 9px 16px;  
}

.highlight-input {
  border: 2px solid red !important;
  outline: none;
}

.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
}
/*
li:nth-child(odd) {
  background-color: #f0f0f0; /}

li:nth-child(even) {
  background-color: #d9eaff; 
}*/


/*Riadky startovka*/
  .riadky {
    border-top: 2px solid #ccc;
  }
  
  .riadky > div:nth-child(odd), .kategoria-item:nth-child(odd)  {
    background-color: #f0f0f0; /* svetlošedá */
  }

  .riadky > div {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ccc;
  }
  
  .riadky span {
    /*width: 30px;*/
    text-align: center;
    font-weight: bold;
  }
  
  .kategoria-item{
	border-bottom: 1px solid #ccc;
  }

 /* .registracia-form {
    /*display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
  }*/

button, a.bt-startovka {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #000;
    display: inline-block;
    margin: 5px;
    border: 2px solid #ddd;
    padding: 5px 18px;
    background-color: #e9e9ed;
    background-repeat: no-repeat;
    background-position: top 13px right 13px;
    cursor: pointer;
    text-decoration: none;
}

button:hover, a.bt-startovka:hover {
    background-color: #ddd;
    border-color: #000;
    border: 1px solid #000000;
    padding: 6px 19px;  
}

.bt-startovka.active {
    background-color: #ececec;
}

.tyzden-sta {
  color: #8a8680;
  margin-top: -5px;
  display: block;
  font-size: 10px;
}

.datum-sta {
  display: block;
}



.logo-section {
  margin-bottom: 3rem;
  text-align: center;
}

.logo-preview {
  width: 30%;
  height: auto;
  border: 1px solid #ccc;
  background: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.download-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.2s;
}

.download-link:hover {
  background-color: #0056b3;
}
	
.logo {
  max-width: 100%;  /* nikdy neprekročí šírku rodiča */
  width: 250px;     /* základná šírka */
  height: auto;
}

.divKatBut {
    margin-left: 10px;
}

.pohlady-navigacia {
    margin: 10px 0 20px 0;
}

a.btn_Kat {
    font-style: normal;
	font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: top 13px right 13px;
    display: inline-block;
    border: 2px solid #ddd;
    padding: 6px 13px;  
}

a:hover.btn_Kat {
	background-position: top 15px right 15px;
	background-color: #ddd;
	border: 1px solid #000000;
    padding: 7px 14px;  
}

 /* Tlačidlo (odkaz) */
    .back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #333;
      color: white;
      text-decoration: none;
      padding: 12px 16px;
      /*border-radius: 50%;*/
      font-size: 20px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
      transition: 0.3s;
    }

    .back-to-top:hover {
      background: #555;
    }

    .div-wrapper {
        position: relative; /* kontext pre absolútne poziciovanie */
    }
    
    .pocet-sutaziacich {
    margin: 8px 20px;
    font-size: 16px;
    font-weight: normal;
    color: #666666;
}
.roky-archiv {
    padding: 30px 0;
}
.sutaz_nadpis_datum
{
    padding-top: 30px;
}

/* Na mobile umožni horizontálny scroll ak je tabuľka širšia ako obrazovka */
.sutazcontent {
    position: relative;
    overflow-x: auto;
}
/* Spoločný základ pre VŠETKY čísla poradia (1., 2., 3. aj obyčajné 4., 5.,
   ...) — rovnaká veľkosť/zarovnanie pre všetky, nech medailový kruh
   NEPOSÚVA vizuálne svoju číslicu oproti obyčajným — len medailová trieda
   (nižšie) pridá farebné pozadie a zaoblenie, veľkosť/pozícia zostáva
   rovnaká. Rovnaké riešenie ako na live webe (stopky.kamteraz.sk). */
.cislo-poradia {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  font-weight: bold;
  font-size: 15px;
}

.medaila-zlato,
.medaila-striebro,
.medaila-bronz {
  border-radius: 50%;
  color: #000;
}

.medaila-zlato {
  background-color: #FFD700;
}

.medaila-striebro {
  background-color: #C0C0C0;
}

.medaila-bronz {
  background-color: #CD7F32;
}
