body { 
	font-family: Calibri;
	background-color: #e5efdc;  
	font-size: 12px;
	letter-spacing: 0.5px;
	line-height: 160%;
}

h1 {
	font-weight: bold;
	color: #488a54;
	font-size: 48px;
	margin: 30px 50px;
}
 
h2 {
	font-weight: bold;
	color: #808080;
	font-size: 40px;
	margin: 30px 50px;
}

h4 {
	font-weight: bold;
	color: #8a2be2;
	font-size: 30px;
	text-align: left;
	margin: 12px 0 10px 50px;
}
.h4dolu {
	margin-top: 24px;
}

.mezera {
	margin-top: 15px;
}

.myButton {
	background-color: #488a54;
	border-radius: 28px;
	border: 1px solid #808080;
	display: inline-block;
	cursor: pointer;
	color: #ffffff;
	padding: 6px 31px;
	text-decoration: none;
	text-shadow: 0px 1px 0px #2f6627;
}

.myButton:hover {
	background-color:#5cbf2a;
}

.myButton:active {
	position:relative;
	top:1px;
}

.myButton a{
	color: #ffffff;
	text-decoration: none;
	font-size: 15px;
	display: block;
}
#obal {
	position: relative; 	
}

#main {
	margin-right: 35px; 
	position: absolute; 
	height: 100%;
	width: 100%;

}     
   
#menu {
	position: absolute;
	width: 40px;
	height: 640px;
	background-color: #808080;
	font-size: 24px;
	text-align: center;
	right: 0;
	top: 8px;
	
}

#menu a {
	color: #ffffff;
}

#menu a:hover {
	color: #000000;
}

#box {
	width: 200px; 
	height: 120px; 
	margin: -100px 0px 0px -100px;
	position: absolute; 
	top: 50%; 
	left: 50%; 
	padding: 15px; 
	overflow: auto; 
	background-color: #9bbda1;
	text-align: center;
	box-shadow: black 4px 6px 10px;
}

#stred {
	text-align: center;
}

#hlavicka {
	width: 100%;
	display: inline-block;
	border: solid 1px black;
}

#canasta {
	float: left;
}

#nadpis {
	text-align: right;
	float: right;
}

#time {
	color: #ffffff;
	font-weight: bold;
	margin-top: 100px;
	line-height: 150%;
	
}

.turnaj {
	width: 330px;
	height: 130px; 
	padding: 8px;
	margin: 8px 16px 8px 0;
	border: solid 1px #808080;
	background-color: #DAF2A4;
	position: relative;
	float: left; 
}

.thry {
	width: auto;
	height: 70px; 
	margin: 8px 50px 8px auto;
	float: none;
}

.turnaj .cislo {
	font-size: 28px;
	width: 40px;
	border: solid 1px #808080;
	background-color: #488A54;
	color: #ffffff;
	padding: 8px;
	text-align: center;
	position: absolute;
}

.turnaj .scoreA, .turnaj .scoreB, #outro .scoreA, #outro .scoreB {
	font-size: 36px;
	width: 40px;
	border: solid 1px #808080;
	color: #ffffff;
	padding: 8px;
	text-align: center;
	position: absolute;
}

.turnaj .scoreA, #outro .scoreA {
	background-color: #3977d9;
}
.blok .scoreA {
	right: 80px;
}

.thry .scoreA {
	right: 140px;
	top: 26px;
}
.thry .kratke .scoreA {
	 left: 370px;
	 top: 26px;
 }

.turnaj .scoreB, #outro .scoreB {
	background-color: #e83e3e;
}
.blok .scoreB {
	right: 8px;
}

.thry .scoreB {
	right: 60px;
	top: 26px;
}

.turnaj .dvojtecka {
	font-size: 36px;
	position: absolute;
	top: 15px;
}
.blok .dvojtecka {
	right: 68px;
}

.thry .dvojtecka {
	right: 124px;
	top: 31px;
}
.turnaj .upravit{
	font-size: 20px;
	position: absolute;
	left: 320px;
	top: 110px;
	z-index: 10;
}

.turnaj .nazev {
	font-size: 24px;
	width: 330px;
	text-align: center;
	position: absolute;
	top: 60px;
}

.turnaj .popis {
	font-size: 16px;
	width: 330px;
	text-align: center;
	position: absolute;
	top: 115px;
}
.turnaj .hraci {
	font-size: 16px;
	width: 330px;
	text-align: center;
	position: absolute;
	top: 90px;
}

.turnaj a {
  position: absolute;
  top: 0;
  bottom: 0;      
  left: 0;
  right: 0;
  z-index: 9;
}

.thry .poznamka {
	text-align: left;
	margin-left: 50px;
}

.kratke{
	width:40%;
	float: left;
	margin-right: 0;
}

.phry{
	height: 70px;
	width: 53%;
	float: right;
	margin-right: 50px;
}
.phry .scoreA{
	left: auto;
	top: 26px;
	width: 100px;
	right:195px;
}
.phry .scoreB{
	left: auto;
	top: 26px;
	width: 100px;
	right: 50px
}
.phry .dvojtecka{
	left: auto;
	top: 31px;
	right: 175px;
}
.kolo{
	position: absolute;
	right: 500px;
}
.upravit a {
	color: #808080;
}

.upravit a:hover {
	color: #000000;
}

.modalh2 {
	margin: 40px;
	font-size: 30px;
	text-align: center;
	
}

.modalpopis {
	font-size: 20px;
	width: 80px;
	float: left;
	margin-bottom: 12px;
}

.modalpole, .modalhrac {
	margin: 0 0 16px 92px;
}
.modalpole input{
	width: 350px;
}
.modalhrac input{
	width: 282px;
}
.modalsubmit{
	text-align: center;
	margin: 40px 0 20px 0;
}
.poznamka{
	text-align: center;
	font-size: 16px;
}
#table_hry {
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
}

#table_hry td, #table_hry th {
  border: 1px solid #ddd;
  padding: 8px;
}

#table_hry tr:nth-child(even){background-color: #f2f2f2;}

#table_hry tr:hover {background-color: #ddd;}

#table_hry th {
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
  background-color: #488a54;
  color: white;
}
#table_prubeh {
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
}

#table_prubeh td, #table_prubeh th {
  padding: 3px 8px;
}

#table_prubeh tr:nth-child(even){background-color: #f2f2f2;}

#table_prubeh tr:hover {background-color: #ddd;}

#table_prubeh th {
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: left;
  background-color: #488a54;
  color: white;
}
.modra{
	color: #3977d9;
	font-weight: bold;
}
.cervena{
	color: #e83e3e;
	font-weight: bold;
}
.seda{
	color:#808080
}
.tucna{
	font-weight: bold;
}
.cara{
	border-bottom: solid 2px #000000;
}
#intro{
	position: relative;
	margin-top: 50px
}
#intro h1{
	position: absolute;
	text-align: center;
	width: 100%;
	margin: 0;
	top: 15px;
}
#intro h2{
	position: absolute;
	text-align: center;
	width: 100%;
	margin: 0;
	top: 65px;
	font-size: 20px;
}
#intro h3{
	position: absolute;
	text-align: center;
	width: 100%;
	margin: 0;
	top: 105px;
	font-size: 30px;
}
#intro h4{
	position: absolute;
	text-align: center;
	width: 100%;
	margin: 0;
	top: 150px;
	font-size: 25px;
}
.stul{
	position: absolute;
	top: 250px;
	left: 400px;
	right: 400px;
	height: 250px;
	border-radius: 50px;
	Background-color: #990000;
}
#intro .pozice1, #intro .pozice2, #intro .pozice3, #intro .pozice4{
	position: absolute;
	width: 150px;
	height: 45px;
	border: solid 1px #808080;
	text-align: center;
	font-size: 20px;
	color: #ffffff;
	padding-top: 20px;
}
#intro .modra{
	background-color: #3977d9;
}
#intro .cervena{
	background-color: #e83e3e;
}
#intro .pozice4{
	top: 205px;
	left:475px;
}
#intro .pozice1{
	top: 205px;
	right:475px;
}
#intro .pozice3{
	top: 475px;
	left:475px;
}
#intro .pozice2{
	top: 475px;
	right:475px;
}
#intro .scoreA, #intro .scoreB{
	position: absolute;
	top: 60px;
	height: 225px;
	width: 250px;
	border-radius: 50px;
	text-align: center;
	font-size: 200px;
	color: #ffffff;
	padding-top: 200px;
}
#intro .scoreA{
	left: 60px;
	background-color: #3977d9;
}
#intro .scoreB{
	right: 60px;
	background-color: #e83e3e;
}
#intro .zpet{
	position: absolute;
	top: 650px;
	left: 550px;
}
#intro .start{
	position: absolute;
	top: 650px;
	right: 550px;
}
#intro .otocit{
	position: absolute;
	top: 370px;
	text-align: center;
	width: 100%;
	font-size: 20px;
}
#intro .datum{
  background-color: unset;
  border: none;
  font-size: 20px;
  color: #8a2be2;
  width: 200px;
  font-weight: bold;
}
#prubeh{
	margin-right: 50px;
	float: left;
}
#graf{
	width: 1000px;
	height: 500px;
}
#intro .delka{
	top: 185px;
}
#outro .hraci {
	top: 300px;
	position: absolute;
	width: 100%;
	text-align: center;
	font-size: 2.5em;
}
#outro .scoreA{
	position: absolute;
	top: 350px;
	left: 580px;
	width: 100px;
}
#outro .scoreB{
	position: absolute;
	top: 350px;
	right: 580px;
	width: 100px;
}
#outro .zpet{
	position: absolute;
	top: 610px;
	left: 600px;
}
#outro .start{
	position: absolute;
	top: 610px;
	right: 600px;
}
.preA{
	background-color: #3977d9;
}
.preB{
	background-color: #e83e3e;
}