/*******************************************************************************
Hlavni CSS Document - vystup pro obrazovku
projekt: hamachi.cz
*******************************************************************************/

/* ZAKLADNI */
/*============================================================================*/
body, p, img, form, table, tr, th, td, h1, h2, h3, h4, h5 {
	padding: 0;
	margin: 0;
	border: none;
}

p {
	padding: 0 0 1em 0; 
}

ul {
	margin: 0;
	padding:  0 0 0 1.5em;
}

abbr, acronym {
	border-bottom: 1px dotted;
	cursor: help;
}

/* SPECIALNI */
/*============================================================================*/
.noscreen {
	display: none;
}

.highlight {
	margin-bottom: 1em;
	padding: 1em;
	border: 1px solid #9b9b9b;
	background: #474747;
}

.underdotted {
	background: url(../design/dottedline.gif) bottom repeat-x;
}

.nomarginbottom {
	margin-bottom: 0;
}

.nopaddingbottom {
	padding-bottom: 0;
}

/* ODKAZY */
/*============================================================================*/
a {
	text-decoration: underline;
	color: #d1d1d1;
	cursor: pointer;
}

a:hover {
	text-decoration: none;
}

a:visited {
  
}

a:hover, a:focus, a:active {
  color: #d1d1d1;
}

/* NADPISY */
/*============================================================================*/
h3 {
	margin: 0 0 1em 0;
	color: #ffc000;
	font-weight: normal;
	font-size: large;
}

h3 a  {
	color: #ffc000;
	text-decoration: none;
}

h3 a:hover {
	color: #ffc000;
	text-decoration: underline;
}

h4 {
	margin: 1em 0 0.5em 0;
	color: #ffc000;
	font-weight: normal;
	font-size: medium;
}

/* ZAROVNANI A OBTEKANI */
/*============================================================================*/
.toleft {
	text-align: left;
}

.tocenter {
	text-align: center;
}

.toright{
	text-align: right;
}

.floatleft {
	float: left;
}

.floatright {
	float: right;
}

.cleaner {
	clear: both;
	line-height: 0px;
	font-size: 0px;
}

/* TABULKY */
/*============================================================================*/
table {
	margin-bottom: 15px;
	border: 1px solid #8ba1ac;
	width: 500px;
}

caption {
	padding: 0.25em 0.5em;
	text-align: left;
	color: #36445e;
	background: #8ba1ac;
}

td, th {
	margin: 0 1px 0 1px;
	padding: 0.25em 0.5em;
}

th {
	background: #515c62;
}

td {
	color: #3d362b;
	background: #efdec3;
}

table a, table a:hover {
	color: #ff4e00;
}

table h4 {
	color: #ff4e00;
}

table#licence .true, table#licence .false {
	display: block;
	padding: 5px;
	color: #ffffff;
	text-align: center;
}

table#licence .true {
	background: #a2bb17;
}

table#licence .false {
	background: #ff7f7c;
}

table .valuescol {
	width: 75px;
}

table#server {
	margin: 0;
	width: auto;
	border: none;
	font-size: x-small;
}

table#server td, table#server th {
	margin: 0;
	padding: 0;
	background: none;
}

table#server th {
	padding-right: 1.25em;
	text-align: left;
}

table#server td {
	text-align: right;
}


/* FORMULARE */
/*============================================================================*/

form input, form .textarea, form .select  {
	border: none;
}

form .textarea {
	padding: 5px;
}

form .readonly {
	color: #999999;
}

/* LAYOUT */
/*============================================================================*/
body {
	font-size: small;
	font-family: arial, tahoma, verdana, sans-serif;
	color: #d1d1d1;
	background: #2b2b2b url(../design/web-bg.gif);
	text-align: center;
}

#wrap {
	margin: 0 auto;
	width: 1025px;
}

#main, #header, #menu {
	width: 900px;
}

#main {
	float: left;
	padding: 0;
	text-align: left;
}

#header {
	margin: 22px 0 21px 0;
}

#sidebar-left {
	float: left;
	width: 220px;
}

#sidebar-right {
	float: right;
	width: 150px;
}

#content {
	display: inline;
	float: left;
	margin: 0 3px;
	width: 524px;
}

#footer {
	clear: both;
	padding: 0 10px; 
	margin-bottom: 10px;
	width: 880px;
	height: 50px;
	text-align: right;
	line-height: 50px;
	background: url(../design/footer-bg.gif) repeat-x;
 }
 
#header h1 { /* logo */
	float: left;
	position: relative;
	overflow: hidden;
	font-size: xx-large;
}

#header h1, #header h1 span, #header h1 a {
	display: block;
	width: 300px;
	height: 100px;
}

#header h1 span { /* logo - image replacement*/
	position: absolute;
	left: 0;
	top: 0;
	background: url(../design/logo.gif) no-repeat 0 0;
}

/* NAVIGACE */
/*============================================================================*/

/* skryte menu */
#hmenu a { 
  position: absolute;
  left: -9999px;
}
/* hlavni menu */
#menu {
	overflow: hidden;
	margin-bottom: 3px;
	padding: 0;
	height: 39px;
	list-style-type: none;
	background: url(../design/menu-bg.gif) no-repeat;
}

#menu li {
	list-style-type: none;
	display: inline;
	
}

#menu a, #menu a:visited {
	color: white;
}

#menu a  {
	display: block;
	float: left;
	padding: 5px 20px 0 21px;
	border-top: 4px solid #0d5e00;
	height: 35px;
	text-decoration: none;
	font-size: x-large;
	background: url(../design/menu-parser.gif) top right no-repeat;
}

#menu a:hover, #menu a.selected {
	border-top: 4px solid #8eff29;
}

#menu a.last {
	float: right;
	_padding-right: 10px;
	background: none;
}

#gamesites {
	padding: 0;
	list-style-type: none;
}

#gamesites li {
	padding: 0.25em 0 0.5em 0;
	list-style-type: none;
	background: url(../design/gamesites-item-line.gif) bottom repeat-x;
}

#gamesites a {
	text-decoration: none;
}

#gamesites a:hover {
	text-decoration: underline;
}

#startsteps {
	padding: 0;
	list-style-type: none;
}

#startsteps li {
	padding: 0.4em 0 0.4em 7px;
	list-style-type: none;
	background: url(../design/startstep-bg.gif) left 50% no-repeat;
}

#startsteps a {
	padding-left: 0.5em;
}

.pagesnavigation {
 padding: 10px 0;
}

.pagesnavigation p {
	padding: 0;
}

.pages {
	float: right;
}

.pages a, .pages span {
	margin-left: 1px;
	padding: 0.2em 0.5em;
	background: #616161;
	text-decoration: none;
}

.pages a:hover, .pages span {
	color: #2f2f2f;
	font-weight: bold;
	background: #ffc000;
}

/* tree menu */
ul.tree, ul.tree ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
ul.tree li {
	margin: 0;
	padding: 2px 0 7px 0px;
	font-size: medium;
	font-weight: bold;
	background: url(../design/gamesites-item-line.gif) bottom repeat-x;
}

ul.tree li a.opened, ul.tree li a.closed {
	padding-left: 22px;
}

ul.tree li a.opened {
	background: url(../design/tree/tree-minus.gif) 0 0 no-repeat;
}

ul.tree li a.closed {
	background: url(../design/tree/tree-plus.gif) 0 0 no-repeat;
}

ul.tree li ul {
	display: none;
}

ul.tree li ul.expanded {
	display: block;
}

ul.tree li ul li {
	margin-left: 10px;
	padding: 0.25em 0 0.25em 18px;
	font-size: small;
	font-weight: normal;
	background: url(../design/tree/tree-none.gif) 0 50% no-repeat;
	
}

ul.tree a {
	text-decoration: none;
}

ul.tree a:hover {
	text-decoration: underline;
}

#usermenu {
	padding: 0;
	margin-bottom: 40px;
	list-style-type: none;
	text-align: center;
}

#usermenu li {
	list-style-type: none;
	display: inline;
}

#usermenu a {
	padding: 0.25em 0.5em;
	color: #d1d1d1;
	background: #616161;
	text-decoration: none;
}

#usermenu a:hover, #usermenu a.selected {
	color: #000;
	background: #ffc000;
}

/* SPECIFICKE STRUKTURY */
/*============================================================================*/
#loginbox {
	float: right;
	margin-top: 12px;
	padding: 0 10px;
	width: 250px;
	height: 80px;
	background: url(../design/loginbox-bg.gif) 0 bottom no-repeat;
}

#loginbox #loginmenu {
	width: 250px;
	text-align: right;
}

#loginbox span {
	float: left;
	display: block;
	width: 140px;
}

#loginbox form {
	padding-top: 12px;
}

#loginbox form label {
	display: block;
	float: left;
	text-align: left;
	margin: 0 0 2px 0;
	width: 45px;
}

#loginbox form input {
	width: 85px;
	margin-bottom: 2px;
	border: 1px solid #828282;
	background: #000;
	color: #e9e9e9;
}

#loginbox form #loginbutton {
	float: right;
	width: 102px;
	height: 44px;
	border: none;
	color: #fff;
	text-align: center;
	font-size: medium;
	font-weight: bold;
	background: url(../design/loginbutton.gif) no-repeat;
}

#sidebar-left, #sidebar-right, #sidebar-left a, #sidebar-right a {
	color: #e9e9e9;
}

#sidebar-left h2, #sidebar-right h2 {
	padding-left: 10px;
	height: 25px;
	color: white;
	text-transform: uppercase;
	font-size: small;
	font-weight: bold;
	line-height: 25px;
}

#sidebar-left h2 {
	width: 210px;
	background: url(../design/sidebar-header-wide.gif);
}

#sidebar-right h2 {
	width: 140px;
	background: url(../design/sidebar-header-narrow.gif);
}

#sidebar-left .sidebarbox, #sidebar-right .sidebarbox {
	padding: 10px;
	margin-bottom: 3px;
	background: #6e7d84 url(../design/sidebarbox-bg.gif) repeat-x;
}

.contentbox, .contentboxnarrow {
	margin-bottom: 3px;
	padding-bottom: 8px;
}

.contentbox {
	width: 524px;
	background: url(../design/contentbox-footer.gif) center bottom no-repeat;
}

.contentboxnarrow {
	width: 271px;
	background: url(../design/contentboxnarrow-footer.gif) center bottom no-repeat;
}

.contentbox h2, .contentboxnarrow h2 {
	padding-left: 12px;
	height: 35px;
	line-height: 30px;
	font-size: small;
	color: #484747;
}

.contentbox h2 {
	background: url(../design/contentbox-header.gif) no-repeat;
}

.contentboxnarrow h2 {
	background: url(../design/contentboxnarrow-header.gif) no-repeat;
}

.contentbox .inbox, .contentboxnarrow .inbox {
	padding: 2px 12px 3px 12px;	
}

.contentbox .inbox {
	width: 500px;
	background: url(../design/contentbox-bg.gif) repeat-y;
}


.contentboxnarrow .inbox {
	overflow: hidden;
	height: 203px;
	background: url(../design/contentboxnarrow-bg.gif) repeat-y;
}

.gamebox {
	padding: 10px 0;
	background: url(../design/dottedline.gif) bottom repeat-x;
}

.gamebox img.main, .gamebox img.tip {
	margin-right: 13px; 
	width: 75px;
	float: left;
	border: 1px solid #c9d1d4;
}

.gamebox img.tip {
	margin: 0 10px; 
}

.gamebox .info, .gamebox .infowide {
	float: left;
	margin-right: 7px;
	padding-right: 15px;
	width: 285px;

}

.gamebox .infowide {
	width: 400px;
}

.gamebox p {
	text-align: justify;
}

.gamebox .connect {
	float: left;
	padding: 0;
	width: 102px;
	text-align: center;
}

.gamebox .connect a {
	display: block;
	margin: 0 auto 5px auto;
	width: 102px;
	height: 38px;
	line-height: 36px;
	color: #335664;
	font-weight: bold;
	text-decoration: none;
	background: url(../design/connect-button.gif) 0 0 no-repeat;
}

.gamebox .connect a:hover {
	background: url(../design/connect-button.gif) -102px 0 no-repeat;
}

.gamebox .connect a.green {
	background: url(../design/connect-button-green.gif) 0 0 no-repeat;
}

.gamebox .connect a:hover.green {
	background: url(../design/connect-button-green.gif) -102px 0 no-repeat;
}

.gamebox .connect a.red {
	color: #570000;
	background: url(../design/connect-button-red.gif) 0 0 no-repeat;
}

.gamebox .connect a:hover.red {
	background: url(../design/connect-button-red.gif) -102px 0 no-repeat;
}

.gamebox h3 {
	margin: 0 0 0.5em 0;
	font-size: medium;
}

.gamebox h3.online {
	padding-left: 25px;
	background: url(../design/status-online.gif) 0 50% no-repeat;
}

.gamebox h3.offline {
	padding-left: 25px;
	background: url(../design/status-offline.gif) 0 50% no-repeat;
}

#newtournamentbutton {
	display: block;
	margin-bottom: 1em;
	padding: 0.25em;
	border: 1px solid #9b9b9b;
	text-align: center;
	font-size: x-large;
	color: #ffc000;
	text-decoration: none;
	background: #474747;
}

#newtournamentbutton:hover {
	background: #595959;
}

#form label {
	display: block;
	float: left;
	margin-bottom: 8px;
	width: 100px;
}

#form label.lab {
	display: inline;
	float: none;
	margin-bottom: 0px;
	width: auto;
}

#form input, #form .narrow, #form .textarea, #form .select {
	margin-bottom: 8px;
	width: 390px;
}

#form .nowidth {
	width: auto;
}

#form .narrow {
	width: 75px;
}

#form .half {
	width: 150px;
}

#form .textarea {
	width: 380px;
	height: 100px;
}

#form .button {
	display: block;
	margin-left: 390px;
	width: 102px;
	height: 38px;
	line-height: 36px;
	color: #335664;
	font-weight: bold;
	text-decoration: none;
	background: url(../design/connect-button.gif) 0 0 no-repeat;
}

.news p {
	padding: 0 0 10px 0;
}

.date , .news .date {
	color: #f59797;
}

#download {
	padding: 65px 0 0 0;
	text-align: center;
	background: url(../design/download-arrow.gif) center 10px no-repeat;
}

#partners {
	padding: 0 0 1em 0;
}

#campainges .run {
	background: #efdec3 url(../design/status-online.gif) 50% 50% no-repeat;
}

#campainges .finish {
	background: #efdec3 url(../design/status-offline.gif) 50% 50% no-repeat;
}

/* zpravy po zpracovani skriptu */
.message-good, .message-bad, .message-info  {
	padding: 10px 10px 10px 35px;
	margin-bottom: 10px;
}

.message-good {
	color: #516f1b;
	background: #f3ffd0 url(../design/icons/accept.png) 10px 10px no-repeat;
}

.message-good a {
	color: #516f1b;
}

.message-bad {
	color: #ce0000;
	background: #fff1f1 url(../design/icons/exclamation.png) 10px 10px no-repeat;
}

.message-bad a {
	color: #ce0000;
}

.message-info {
	background: #ffffcc url(../design/icons/information.png) 10px 10px no-repeat;
}

/* BANNERY */
/*============================================================================*/

#headbanner {
	margin: 0 auto;
	width: 745px;
	height: 100px;
	padding: 0 5px 5px 5px;
	background: #484848;
}

#headbanner img, #rectanglebanner img, #skycraperbanner img {
	border: none;
}

#fullbanner { /* 468x60 */
	margin-bottom: 3px;
	width: 524px;
	padding: 5px 0;
	background: #484848;
}

#fullbanner img {
	display: block;
	margin: 0 auto;
	border: 1px solid #ffffff;
}

#rectanglebanner {
	float: right;
	padding-bottom: 3px;
	width: 250px;
	height: 250px;
}

#skycraperbanner {
	float: left;
	margin: 248px 0 0 5px;
	width: 120px;
	height: 600px;
}
