
body {
  margin: 0 auto;
  padding: 0px;
  font: 73% Helvetica, "lucida sans", Arial, Sans-Serif;
  line-height: 1.7em;
  width: 100%; 
}

.main-content { 
 max-width: 1400px; float: left;  
 background: #eee url(../images/bg.jpg) repeat-x;
 color: #444;
 border: 1px solid #DEDEDE;
}
				/*WRAP*/	
#wrap {
  width: 760px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  color: #444;
}
				/*TOPBAR */
#topbar {
  height: 200px;
  margin: 0 auto;
  padding: 0;
  //overflow: hidden;         
  //background: #fff url(../images/header.jpg);
  color: #000;
  position: relative;
}
#topbar h1 {
  margin-top: 50px;
  padding: 0;
  letter-spacing: 3px;
  font-size: 150%;
  color: #F48129;
  background: transparent;
}	
#topbar h2 {
  margin-left: 25px;
  padding: 5px;
  font-size: 90%;
  letter-spacing: 3px;
  color: #fff;
  background: transparent;
}
#topbar img a {
  margin: 0;
  border: none;
}
#topbarleft {
  float: left;
  margin: 0;
  color: #000;
}
#topbarright {
  float: right;
  text-align: right;
  margin: 0;
  padding: 10px 0 0 0;
}
#topbarright li {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#topbarright ul {
  margin: 0;
  padding: 0;
}
#topbarright a, #topbarright a:visited {
  color: #000;
  font-size: 120%;
  font-weight: bold;
  margin: 0;
  padding: 6px 10px 6px 10px;
  text-decoration: none;
}
#topbarright a:hover {
  color: #666;
  font-weight: bold;
  text-decoration: underline;
}

#topbarright2 {
  text-align: right;
  margin: 0;
  padding: 10px 0 0 0;
  position: absolute;
  right: 50px;
  top: 25px;  
}
#topbarright2 li {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#topbarright2 ul {
  margin: 0;
  padding: 0;
}
#topbarright2 a, #topbarright2 a:visited {
  color: #000;
  font-size: 120%;
  font-weight: bold;
  margin: 0;
  padding: 6px 10px 6px 10px;
  text-decoration: none;
}
#topbarright2 a:hover {
  color: #666;
  font-weight: bold;
  text-decoration: underline;
}

/*CONTENT */
#content {  
  min-height: 350px;    
}
#content p {
  padding: 0 0 10px 0;
  margin: 0;
  line-height: 2em;
  padding: 0;
}
#content h1 {
  margin: 30px 0 0 0;
  padding: 10px 0 10px 0;
  border-bottom: 1px solid #ccc;
  font: normal 200% Century Gothic, Verdana, Arial, Sans-Serif;
  color: #666;
  background: inherit;
}
#content h2 {
  padding: 20px 0 10px 0;
  margin: 0;
  border-bottom: 1px solid #ccc;
  font: normal 200% Century Gothic, Verdana, Arial, Sans-Serif;
  color: #666;
  background: inherit;
}
#contentleft {
  float: left;
  margin: 0;
  padding: 0 0 20px 0;
  width: 100%;
}
				/*RIGHT SIDEBAR*/
#right_sidebar {
  float: right;
  width: 225px;
  margin: 20px 0 0 20px;
  padding: 0 0 20px 0;
  border-bottom: 0px solid #ccc;
}
#right_sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#right_sidebar ul li {
  display: inline;
  padding: 0;
  margin: 0;
}
#right_sidebar ul li a {
  display: block;
  color: #752D00;
  text-decoration: none;
  margin: 0;
  padding: 5px 0 5px 0;
  border-bottom: 1px solid #C0C0C0;
}
#right_sidebar ul li a:hover {
  background: #F0DED2;
  color: #FF7A29;
}
#right_sidebar p {
  padding: 3px 0 0 0;
  margin: 0;
  line-height: 20px;
}
			/*FOOTER BACKGROUND*/
#footerbg {
  background: #000;
  border-top: 5px solid #F2720E;
}
				/*FOOTER*/
#footer {
  width: 760px;
  height: 200px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  line-height: 1.5em;
  background: #000;
  color: #fff;
}
#footer p {
  padding: 0;
  list-style-type: none;
  margin: 0;
  color: #F0DED2;
}
#footer h2 {
  padding: 0 0 20px 0;
  margin: 15px 0 0 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  font: bold 120% Arial, Helvetica, Sans-Serif;
  border-bottom: 1px solid #333;
  color: #F0DED2;
  background: inherit;
}
#footer a {
  color: #aaa;
  text-decoration: none;
}
#footer a:hover {
  color: #fff;
  text-decoration: none;
}
#footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#footer ul li {
  display: inline;
  padding: 0;
  margin: 0;
}
#footer ul li a {
  display: block;
  color: silver;
  text-decoration: none;
  margin: 0;
  padding: 5px 0 5px 0;
  border-bottom: 1px solid #333;
}
#footer ul li a:hover {
  background: #444;
  color: #fff;
}
#footerleft {
  float: left;
  width: 225px;
  margin: 0 20px 0 0;
  padding: 0;
  background: #000;
}
#footermiddle {
  float: left;
  width: 225px;
  margin: 0 20px 0 0;
  padding: 0;
  background: #000;
}
#footerright {
  float: right;
  width: 225px;
  margin: 0;
  padding: 0;
  background: #000;
}
#credits {
padding: 5px;
margin: 0;
background: #000;
color: #eee;
}
					/*LINKS*/
a, a:visited {
  color: #FF7A29;
  background: inherit;
  text-decoration: none;
}
a:hover {
  color: #666;
  background: inherit;
  text-decoration: underline;
}
a img {
  border: none;
}
					/*CLASS*/
.small {
  font-size: 90%;
  font-weight: bold;
  background: inherit;
  color: #752D00;
}
					/*TYPOGRAPHY*/
blockquote {
  font-weight : bold;
  font-style : italic;
  color : #b29b35;
}
/* Sortable tables */
table.sortable thead {
  cursor: default;
}

#nav{
	list-style:none;
	font-weight:bold;	
	/* Clear floats */
	float:left;
	width:100%;
	/* Bring the nav above everything else--uncomment if needed.
	position:relative;
	z-index:5;
	*/
}
#nav li{
	float:left;
	margin-right:10px;
	position:relative;
}
#nav a{
	display:block;
	padding:5px;
	color:#FF8B3E;
	text-decoration:none;
}
#nav a:hover{
	color:#000000;
	background:#FF8B3E;
	text-decoration:underline;
}

/*--- DROPDOWN ---*/
#nav ul{
	background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page\'s background as possible (i.e. white page == white background). */
	background:rgba(255,255,255,0); /* But! Let\'s make the background fully transparent where we can, we don\'t actually want to see it if we can help it... */
	list-style:none;
	position:absolute;
	left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
}
#nav ul li{
	padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
}
#nav ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */	
}
#nav li:hover ul{ /* Display the dropdown on hover */
	left:0; /* Bring back on-screen when needed */
}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays \'hovered\' even when your cursor has moved down the list. */
	background:#FF8B3E;
	text-decoration:underline;
	color:#000000;	  	
}
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they\'re hovered. Here we undo these effects. */
	text-decoration:none;
	color:#000000;	
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	background:#FFC59D;
	color:#000000;	
}
.statistic {
	width:100%;
	margin-bottom: 10px;
}
.statistic thead {
	color: #FFFFFF; 
	background-color: #FF7A29;
}
.statistic tbody > tr:nth-child(even) {
	color: #000000;  
  background-color: #fff4ed;
}
.statistic tbody > tr:nth-child(odd) {
	color: #000000;  
	background-color: #FFFFFF; 
}
.statistic th {
	text-align: center; 
	text-wrap: nowrap;
}
.statistic td {
	text-align: center;  
	text-wrap: nowrap;
}
.statistic tfoot {
	color: #000000;  
	background-color: #FFFFFF;  	
}
.statistic tr:nth-last-child(1) > td { 
	border-bottom: 1px solid #FF7A29;
} 

.gpxbutton {
  position: relative;
  padding: 5px 11px;
	margin: 1px;
  border-radius: 3px;
  color: #FFFFFF;
	font-weight: bold;
  cursor: pointer;
  background-color: #FF7A29;
	border: 1px solid #fff4ed;
}
.gpxbutton:hover {
  background-color: #FF7A29;
  color: #FFFFFF;
}

.gpxform {
	width: 100%; 
	box-sizing: border-box;
}

.gpxform thead > tr {
	color: #FFFFFF; 
	background-color: #FF7A29;	
}

.gpxform > tbody > tr > td {
	box-sizing: border-box;
}

.gpxform > tbody > tr > td:nth-child(odd) {
	color: #FFFFFF; 
	background-color: #FF7A29;	
	min-width: 100px;
}
.gpxform > tbody > tr > td:nth-child(even) {
	color: #000000;  
	background-color: #FFFFFF; 		
}

.gpxform tfoot > tr { 
	color: #000000;  
	background-color: #FFFFFF; 	
}
.gpxform input {
	box-sizing: border-box;
}
.gpxform select {
	box-sizing: border-box;
}	


/* Pri menšej šírke stránky nech idú bannery dole */
@media (max-width: 1689px) {

  .sidebar-banners {
    float: none;
    width: auto;
    clear: both;
    margin-top: 20px;
  }

  .partner-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .partner-box .addwerb {
    margin: 0; 
    padding: 8px; 
    background: #fff;
    border: 0;
    text-align: center;
  }
}

@media (min-width: 1690px) { 
  .sidebar-banners {
    float: left;
    width: 260px;
    margin-left: 20px;
    margin-top: 220px;  
    clear: none;
  }

  .sidebar-banners .addwerb {
    margin-bottom: 15px;
    padding: 8px;
    background: #fff;
    border: 0;
    text-align: center;
  }
  
  .partner-box .addwerb {
      border-bottom: 1px solid #ddd;
      padding-bottom: 15px;
  }

  .partner-box .addwerb:last-child {
      border-bottom: 0;
  }  

  .partner-box {
      background: linear-gradient(to bottom, #efefef, #f4f4f4); 
      border: 1px solid #cfcfcf;
      border-radius: 8px;
      padding: 15px;
      box-shadow: 0 2px 8px rgba(0,0,0,.12);
      width: 240px;
  }

  .partner-box h3 {
      background: #000;
      color: #ff7a00;
      padding: 10px;
      margin: -15px -15px 15px -15px;
      border-radius: 8px 8px 0 0;
      text-transform: uppercase;
      letter-spacing: 1px;
  }

  .partner-box .addwerb {
      text-align: center;
      margin-bottom: 12px;
      padding: 8px;
      background: #fff;
      border: 1px solid #eee;
      border-radius: 6px;
  }

  .partner-box .addwerb:last-child {
      margin-bottom: 0;
  }  
}

.image-container { 
    position: relative;
    display: inline-block;
}

.image-container img {
    display: block;
    width: 500px;       
}

.image-container .playerName {  
    position: absolute; 
    top: 215px;
    left: 70px;

    color: white;
    font-size: 15px;
    font-weight: bold; 

    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);  
    width: 152px; 
    /* border: 1px solid #FFFF00; */
    text-align: center;
}    

.image-container .klubName { 
    position: absolute;  
    top: 157px; 
    left: 250px; 

    color: white;
    font-size: 15px;
    font-weight: bold; 

    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);  
    width: 230px; 
    /* border: 1px solid #FFFF00; */
    text-align: center;
}  

.image-container .ocenenie { 
    position: absolute;   
    top: 128px; 
    left: 250px; 

    color: #092950;
    font-size: 15px;
    font-weight: bold; 

    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);  
    width: 230px; 
    /* border: 1px solid #FFFF00; */
    text-align: center;
}  

.image-container .typ { 
    position: absolute;   
    top: 72px;  
    left: 340px; 

    color: white; 
    font-size: 15px;
    font-weight: bold; 

    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);  
    width: 230px; 
    /* border: 1px solid #FFFF00; */
    text-align: center;
}  

.image-container .tournamentname { 
    position: absolute;   

    color: black;
    font-size: 11px;
    font-weight: normal; 

    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);     
    width: 200px; 
    text-align: left;
}  

.image-container .rocnik {  
    position: absolute;   
    top: 14px;   
    left: 130px; 

    color: #092950;
    font-size: 15px;
    font-weight: bold; 

    width: 230px; 
    border: 1px solid #FFFF00;
    text-align: center;
}  


.image-container .fotosienslavy { 
    position: absolute;    
    top: 57px; 
    left: 75px;     
}  
.image-container .fotosienslavy .foto {  
    width: 140px;  
    height: 155px;   
}  

.flip-card {
    width: 500px;
    height: 280px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-front img,
.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-back {
    transform: rotateY(180deg);
}