* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #000000;
}

table {
  border-radius: 1em;
}

h1, h2, h3, h4, h5, caption {
   color: #f2f2f2;
}

p {
    color: lightblue;
}

a {
  color: orange;
}

th {
  color: #f2f2f2;
}

img {
  width: 100%;
}


/* Header */

.header {
  background-color: white;
  display: flex;
  height: 10vmin;	
}

.header_element {
  height: 100%;
}

.header_element img{
  height: 100%;
  float: left;
  padding: .5rem .5rem .5rem .5rem;  
}

.header_element h1 a {
    text-decoration: none;
    font-size: 3vmin;
    vertical-align: middle;
    padding-bottom: 1em;
    color: black;     
 }


/* /Header */




#oficialwarning {
	background-color: #000000;
  padding: .5rem;
}

#oficialwarning h1 {
   color: yellow; 
}




/* Top Navigation*/

 /* The navbar container */
.topnav {
  overflow: hidden;
  background-color: #333;
}

/* Navbar links */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: .75em 1em;
  text-decoration: none;
}

/* Links - change color on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
} 


/* /Top Navigation*/

.all {
  width: 100%;
  background-image: url("/images/Panter_oriznuty.jpg");
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .6) inset;
}



/* Body */

.main_content {
	
  width: 85%;
  float: left;
}

.main_content_columns {
  width: 100%;
}

.main_content h2 {
  text-align: center;
}

.main_content_column {
  padding: 0.75em;
  float: left;
}

.neprehlednete {
  width: 30%;
}

.neprehlednete table {
  width: 100%;
  border-radius: 1rem;
}

.neprehlednete td, .neprehlednete th {  
  text-align: center;
  width: 60%;
  border-bottom: 0.1rem solid #ddd;
}

.novinky {
  width: 70%;
}

.partneri {
  width: 15%;
  float: right;
  position: sticky;
  top: 0;
}

.partneri_element {
  width: 90%;
  background-color: #000000;
  border-radius: 1rem;
  text-align: center;
  font-size: .88rem;
}

.partneri_element img {
  width: 100%;
}

.ukazky img {
  width: 100%;
}

/* /Body */




/* Footer */
footer {
  width: 100%;
}

.footer p {
  text-align: center;
}

.dot {
  height: .5rem;
  width: .5rem;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  vertical-align: center;
}

/* /Footer */





.treninky, .prispevky {
  width: 50%;
}

.treninky table, .prispevky table {
  width: 100%;
  border-radius: 1rem;
}

.treninky th, .treninky td, .treninky caption, .prispevky th, .prispevky td, .prispevky caption {
  border-bottom: 0.1rem solid #ddd;  
}

.treninky th, .prispevky th {
  width: 20%;
}

.treninky td, .prispevky td {
  width: 80%;
}

.o_klubu, .vedeni {
  width: 50%;
}

.o_klubu table, .vedeni table {
  width: 100%;
  border-radius: 1rem;
}

.o_klubu th, .o_klubu td, .o_klubu caption, .vedeni th, .vedeni td, .vedeni caption {
  border-bottom: 0.1rem solid #ddd; 
}

.o_klubu img {
  width: 60%;
  margin: auto;
  display: block;
  text-align: center;

}

.clenove {
  width: 100%;
  display: table;
}

.clenove_row {
  width: 100%;  
  display: table-row;
}

.clenove_element {
  float: left;
  display: table-column;
  width: 33.33%;
  padding: 0.75em;
}

.clenove_image {
  width: 20%;
  float: left;
}

.clenove_element img {  
  height: auto; 
  width: auto;  
  max-width: 100%;
}

.clenove_element h4 {
  margin: 1em;
}

.clenove_popis {
  width: 100%;
}

.clenove_popis table {
  width: 100%;
  border-radius: 1rem;
}
.clenove_popis th {
  vertical-align: top;
  text-align: left;
  border: none;
  text-align: left;
  padding-left: 1em;
  width: 30%;
}

.clenove_popis td {
  text-align: left;
  width: 70%;
}

.clenove_popis td a {
  font-size: 0.75em;
}

.turnaje_akce {
  width: 100%;
}

.turnaje_akce h2 {
  text-align: center;
}

.turnaje_akce table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 1em;
  border-radius: 1rem;
}

.turnaje_akce table thead {
  position: sticky;
  top: 0;
}

.turnaje_akce table td {
  text-align: center;
}

.nadchazejici, .minule {
  width: 100%;
  overflow: auto;
}

.nadchazejici {
  height: 50vh;
}

.minule {
  height: 70vh;
}


.propozice_cell {
  width: 20%;
}

.propozice_cell img {
  width: 100%;
}

.verejne_dokumenty h2 {
  text-align: center;
}

.dokumenty_k_precteni, .dokumenty_k_vyplneni {
  width: 50%;
}

.dokumenty_k_precteni a, .dokumenty_k_vyplneni a {
  padding-left: 2em;
}

.dokumenty_k_precteni h4, .dokumenty_k_vyplneni h4 {
  text-align: center;
}

#dokumenty_pro_cleny {
  width: 100%;
  text-align: center;
}

#dokumenty_pro_cleny h2 {
  text-align: center;
}

#dokumenty_pro_cleny table{
  width: 100%;
}

#dokumenty_pro_cleny table td {
  width: 50%;
  text-align: center;
  vertical-align: text-top;
}

.one_tab {
  padding-left: 2em;
}

.two_tab {
  padding-left: 4em;
}


.nase_vysledky {
  width: 100%;
}
.nase_vysledky .clanky_element{
  width: 100%;
}


/*
.table {
  display: table;
}

.table_head {
  display: table-header-group;
}

.table_body {
  display: table-column-group;
}

.table_row {
  display: table-row;
}

.table_cell {
  display: table-cell;
}
*/


.clanky {
  width: 100%;
}


.clanky_seznam {
  max-height: 90vh;
  overflow: auto;
  margin: 2em;
}

.clanky_element {
  width: 50%;
  height: 10em; 
  display: flex;
  margin: 0 auto;
}

.clanky_info p{
  text-align: left;
}
.clanky_info a{
  text-align: left;
}


.novinky .clanky_seznam {
  max-height: 150vmax;
}

.novinky .clanky_seznam .clanky_element {
  margin: 0;
  width: 95%;
  height: 15%;
}



.clanky_image {
  height: auto;
  width: 25%;
  margin:0 auto;
  white-space: nowrap; /* This is required unless you put the helper span closely near the img */
}

.helper_image_align {
    display: inline-block;
    height: 100%;
    width: 0%;
    vertical-align: middle;
}

.clanky_image a img{
  max-width:100%;
  max-height:100%;
  height: auto;
  width:auto;
  margin: 0 auto;
  margin-left: auto;
  margin-right: auto;
  vertical-align: middle;
}

.clanky_info {
  padding: 2em;
  width: 75%;
  margin:0 auto;
} 

.clanky_info a p {
  font-size: 1.5rem;
  color: green;
  text-decoration: underline; 
}

.clanky_element .nadpis {
  float: left;
  color: orange;
  font-size: 1rem;
}

.postup, .ukazky {
  width: 50%;
}

.postup ul, .postup ul li ul {
  color: #f2f2f2;
}

.clanek {
  width: 100%;
  float: left; 
}

.clanek .info {
  display: flex;
}
.clanek .info span {
  width: 3ch;
}

form {
  width: 100%;
}
input[type=text] {
  width: 50%;
}

input[type=textarea] {
  width: 80%;
  height: 50em;
}

/* Clear floats after the columns */
.main_content_columns:after {
  content: "";
  display: table;
  clear: both;
}

.all:after {
  content: "";
  display: table;
  clear: both;
}

.soustredeni_blok {
  border-top: solid 0.4em lightblue;
}

.soustredeni_blok .info {
  display: flex;
}

.soustredeni_blok .info span {
  width: 3ch;
}

.soustredeni_blok img {
  width: 30%;
}

.topnav img {
  height: 1em;
  width: auto;
}

.obsah img {
  width: 50%;
}


/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1000px) {
  .clenove_element {
    width: 50%;
  }

  .obsah img {
    width: 100%;
  }
}

@media screen and (max-width: 800px) {
  .main_content_column {
    width: 100%;
  }
  .clenove_element {
    width: 100%;
  }

  #dokumenty_pro_cleny {
    width: 100%;
  }

  .header {
    height: 20vmin; 
  }

  .header_element a {
      font-size: 4.4vmin;
   }

  .novinky {
    width: 100%;
  }

  .soustredeni_blok img {
    width: 90%;
  }

  .main_content {
      width: 99%;
      float: left;
  }

  .novinky .clanky_seznam {
    max-height: 90vh;
    overflow: auto;
    text-align: center;
    margin: 0 0 0 0;
  }

  .novinky .clanky_seznam .clanky_element {
    margin: 0;
    width: 100%;
    height: 15%;
  }

  .clanky_image {
    height: auto;
    width: 60%;
    margin:0 auto;
    white-space: nowrap; /* This is required unless you put the helper span closely near the img */
  }

  .clanky_info {
    padding: 2em;
    width: 40%;
    margin:0 auto;
  }

  .obsah img {
    width: 100%;
  }



}


