/*------------------------------------------------
CSS INFO
--------------------------------------------------
FILE: style.css
PROJECT:  Extra Hry
URL: www.extrahry.eu
AUTHOR: ChciStranky.cz (info@chcistranky.cz, www.chcistranky.cz)
DATE: 03-2009
------------------------------------------------- */

/*------------------------------------------------
 STANDARD HTML TAG RESET
------------------------------------------------- */
body,
h1, h2, h3, h4, h5,
p, ul, li, ol,
blockquote,
form {
  border: 0;
  margin: 0;
  padding: 0;
}

/*------------------------------------------------
STANDARD HTML TAG DEFINITION
------------------------------------------------- */

body,
form, input {
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #000;
}

a:link, a:visited{
  color: #268500;
}

a:hover {
  color: #000;
}

img {
  border: none;
}

/*------------------------------------------------
 100% HEIGHT
------------------------------------------------- */

html, body, #wrap {
  height: 100%;
}

body > #wrap {
  height: auto;
  min-height: 100%;
}

#wrap {
  background: url(wrap.jpg) top repeat-x;
}

.clearfix:after {
  content: ".";
  display: block;
  visibility: hidden;
  clear: both;
  height: 0;
}

.clearfix {
  display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
/* End hide from IE-mac */

/*------------------------------------------------
 MAIN
------------------------------------------------- */

#main {
  position: relative;
  width: 100%;
  padding-bottom: 190px; /* must be same height as the footer */
  margin: 0 auto;
}

/*------------------------------------------------
PAGE
------------------------------------------------- */

#page {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}

/*------------------------------------------------
HEADER
------------------------------------------------- */

#header {
  position: relative;
  height: 153px;
}

#header h1 {
  float: left;
  display: block;
  width: 200px;
  height: 65px;
  margin: 50px 60px 0 10px;
}

#header h1 a {
  display: block;
  width: 100%;
  height: 100%;
}

#header h1 a span {
  display: none;
}

#header ul.top {
  list-style: none;
  overflow: hidden;
}

#header ul.top li {
  float: left;
}

#header ul.top li a {
  float: left;
  display: block;
  color: #00A8ff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

#header ul.top li a span {
  display: none;
}

#header ul.top li a.one {
  width: 200px;
  height: 60px;
  margin: 40px 0 0;
}

#header ul.top li a.two {
  width: 180px;
  height: 60px;
  margin: 35px 0 0 5px;
}

#header ul.top li a.three {
  width: 150px;
  height: 40px;
  margin: 55px 0 0 0;
}

#header ul.top li a.four {
  width: 150px;
  height: 50px;
  margin: 45px 0 0 25px;
}

#header ul.bottom {
  list-style: none;
  float: left;
  margin: 20px 0 0 -240px;
}

#header ul.bottomadmin {
  list-style: none;
  float: left;
  margin: 20px 0 0 0;
}

#header ul.bottom li {
  float: left;
}

#header ul.bottom li a {
  display: block;
  float: left;
  margin: 0 3px 0 0;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 11px;
}

#header ul li a span {
  display: block;
  float: left;
  height: 21px;
  padding: 5px 12px 0;
  padding: 5px 21px 0 21px;
  cursor: hand;
  cursor: pointer;
}

#header ul.bottom li a span.left, #header ul.bottom li a span.right {
  width: 5px;
  padding: 5px 0 0;
}

#header ul.bottom li a span.left {
  background: url(header_ul-top_li_a-lr.gif) top left no-repeat;
}

#header ul.bottom li a span.center {
  background: url(header_ul-top_li_a.gif) top repeat-x;
}

#header ul.bottom li a span.right {
  background: url(header_ul-top_li_a-lr.gif) top right no-repeat;
}

#header ul.bottom li a.home,
#header ul.bottom li a.kontakt,
#header ul.bottom li a.napoveda {
  width: 27px;
  height: 26px;
}

#header ul.bottom li a.home {
  background: url(header_ul-top_li_a-home.gif);
}

#header ul.bottom li a.kontakt {
  background: url(header_ul-top_li_a-kontakt.gif);
}

#header ul.bottom li a.napoveda {
  background: url(header_ul-top_li_a-napoveda.gif);
}

#header ul.bottom li a.home span,
#header ul.bottom li a.kontakt span,
#header ul.bottom li a.napoveda span {
  display: none;
}

#header form {
  float: left;
  margin-left: 66px;
}

#header form p {
  padding: 8px 0 0 18px;
}

#header form p input {
  width: 96px;
  height: 18px;
  border: none;
  padding: 4px 2px 0;
  margin: 2px 7px 0 0;
  background: none;
  color: #606060;
  font-size: 11px;
}

#header form p input.submit {
  width: 26px;
  height: 27px;
  padding: 0;
  cursor: hand;
  cursor: pointer;
}

#header form p a {
  font-size: 11px;
  margin: 0 0 0 110px;
}

/*------------------------------------------------
SIDEBAR
------------------------------------------------- */

#sidebar {
  position: relative;
  float: left;
  width: 198px;
  border-top: 1px solid #fff;
}

#sidebar form {
  width: 198px;
  height: 37px;
  background: url(sidebar_form.gif);
}

#sidebar form p {
  padding: 5px 10px;
}

#sidebar form p input {
  width: 100px;
  height: 18px;
  padding: 2px 5px;
  border: none;
  background: none;
  color: #606060;
  font-size: 11px;
}

#sidebar form p input.submit {
  width: 60px;
  height: 22px;
  padding: 0;
  cursor: pointer;
  cursor: hand;
}

#sidebar ul {
  list-style: none;
}

#sidebar ul.leftmenu li a {
  display: block;
  width: 163px;
  padding: 5px 10px 5px 25px;
  border-bottom: 1px solid #fff;
  background: #753613;
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

#sidebar ul li a span {
  float: right;
  font-weight: normal;
  color: #cfcfcf;
  font-size: 10px;
}

#sidebar ul.leftmenu li a:hover, #sidebar ul.leftmenu li a.active {
  background: #268500 url(sidebar_ul_li_a.gif) center left no-repeat;
}

/*------------------------------------------------
CONTENT
------------------------------------------------- */

#content {
  position: relative;
  float: left;
  width: 782px;
  _width: 779px;
  padding: 0 0 50px;
  border-top: 1px solid #fff;
}

#content hr {
  clear: both;
  visibility: hidden;
}
#content hr.visible {
  visibility:visible;
  margin:0 20px;
}

#content h2 {
  padding: 0px 20px;
  font-family: Arial;
  font-size: 8px;
  font-weight: normal;
  text-align: center;
}

#content h4 {
  padding: 20px 20px 5px;
  font-family: Arial;
  font-size: 18px;
  font-weight: normal;
}

#content p.listing {
  padding: 5px 0;
  margin: 0px 20px 0;
  background: #ededed;
  text-align: center;
}

#content p.listing a {
  font-weight: bold;
}

#content .splitter {
  position: relative;
  float: left;
  width: 20px;
  height: 10px;
}

#content .item {
  position: relative;
  float: left;
  width: 144px;
  margin: 0px 5px 0 0;
  height: 255px;
}

#content .item a {
  display: block;
  width: 144px;
  padding: 1px;
  text-decoration: none;
  height: 212px;
}
#content .item a.hrat {
  height: 30px;
  text-align: center;
}

#content .item a:hover {
  padding: 0;
  border: 1px solid #a6ff94;
  background: #f0ffe1;
}
#content .item a:hover.hrat {
  border: 0px solid #a6ff94;
  background: #ffffff;
}

#content .item a p.img {
  width: 132px;
  padding: 0;
  margin: 4px 4px 0;
  border: 1px solid #989898;
  font-size: 0;
  text-align: center;
}

#content .item a p.img img {
  border: 1px solid #fff;
}

#content .item a h3 {
  padding: 2px 7px 0;
  text-decoration: underline;
}

#content .item a p.date {
  padding: 0 7px;
  font-size: 9px;
  color: #8a8a8a;
}

#content .item a p.text {
  height: 50px;
  overflow: hidden;
  padding: 3px 7px 0;
  font-size: 10px;
  color: #8a8a8a;
}

#content .item a p.stars {
  padding: 5px 0;
  text-align: center;
}

#content .item2 {
  display: block;
  overflow: hidden;
  margin: 20px;
}

#content .item2 p.img {
  position: relative;
  float: left;
  width: 132px;
  padding: 0;
  margin: 4px 4px 0;
  border: 1px solid #989898;
  font-size: 0;
  text-align: center;
}

#content .item2 p.img img {
  border: 1px solid #fff;
}

#content .item2 p.date {
  padding: 0 7px;
  font-size: 9px;
  color: #8a8a8a;
}

#content .item2 p.stars {
  text-align: right;
  position:absolute;
  top:93px;
  right:25px
}

#content .item2 p.text {
  height: 50px;
  overflow: hidden;
  padding: 3px 0;
  font-size: 11px;
  color: #8a8a8a;
}

#content .ad {
  position: relative;
  clear: both;
  margin: 0 10px;
  border: 1px solid #753613;
  overflow: hidden;
}

#content .ad p.title {
  position: relative;
  float: left;
  width: 100px;
  padding: 20px 0;
  color: #fff;
  background: #753613;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

#content .ad p.img {
  position: relative;
  float: left;
  width: 64px;
  padding: 1px;
  margin: 3px;
  border: 1px solid #e0e0e0;
  font-size: 0;
}

#content .ad p.subtitle {
  position: relative;
  float: left;
  width: 145px;
  padding: 15px 0 0;
}

#content .ad p.subtitle a {
  color: #753613;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 11px;
}

#content .ad p.subtitle a big {
  color: #268500;
  font-size: 15px;
}

#content .game {
  position: relative;
  width: 680px;
  margin: 0 auto;
}

#content .game .in {
  height: 500px;
  border: 5px solid #7c3915;
  background: #000;
}

#content .game p {
  text-align: right;
}

#content .game p a {
  display: block;
  float: right;
  width: 167px;
  padding: 8px;
  margin: 0 0 0 5px;
  background: #7c3915 url(game_p_a.gif) top center no-repeat;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

#content .comment {
  position: relative;
  clear: both;
  width: 764px;
  margin: 0 auto;
  border-top: 1px solid #aaa;
}

#content .comment p {
  padding: 15px;
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  color: #8a8a8a;
  font-size: 11px;
}

#content .comment p.author {
  padding: 10px 0 20px 50px;
  border: none;
  background: url(comment.gif) top no-repeat;
  color: #8a8a8a;
  font-size: 10px;
}

#content .comment p.author a {
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
}

/*------------------------------------------------
ADS
------------------------------------------------- */

#ads {
  position: relative;
  float: right;
  width: 185px;
  border-top: 1px solid #fff;
}

#ads p.img {
  font-size: 0;
  padding: 0 0 1px;
}

h4 span {
  display: none;
}

h3.mobil, h3.top20, h4.mobil, h4.top20 {
  width: 179px;
  height: 29px;
  padding: 10px;
  font-size: 18px;
  color: #fff;
}

h3.mobil, h4.mobil {
  background: #7c3915 url(ads_h4-mobil.gif);
}

h3.onlinehry, h4.onlinehry {
  background: #7c3915 url(ads_h4-mobil.1.gif);
}

h3.top20, h4.top20 {
  background: #7c3915 url(ads_h4-top20.gif);
}

#ads ol {
  padding: 10px 10px 10px 40px;
  background: url(ads_ol.gif) top repeat-x;
  color: #268500;
  font-weight: bold;
}

#ads ul {
  list-style: none;
  padding: 10px;
  background: url(ads_ol.gif) top repeat-x;
}

#ads ol li a, #ads ul li a {
  font-weight: normal;
}

#ads li {
  padding: 0 0 2px;
}


/*------------------------------------------------
 FOOTER
------------------------------------------------- */

#footer {
  position: relative;
  clear: both;
  width: 100%;
  height: 235px;
  margin-top: -190px; /* negative value of footer height */
  background: #291100;
  color: #7c3915;
  font-size: 10px;
}

#footer a {
  font-weight: bold;
  color: #7c3915;
}

#footer .in {
  position: relative;
  margin: 0 auto;
}

#footer .in .left {
  position: relative;
  float: left;
  width: 240px;
  background: url(footer_in_left.gif) top center no-repeat;
}

#footer .in .left p {
  padding: 120px 30px 0;
  text-align: center;
}

#footer .in .middle {
  position: relative;
  float: left;
  padding: 0;
  margin: 20px 0 0 0;
  border-left: 1px solid #3e1B08;
  border-right: 1px solid #3e1B08;
}

#footer .in .middle p {
  padding: 0px 10px 0;
}

#footer .in .middle p big {
  font-size: 16px;
  font-weight: bold;
}

#footer .in .right {
  position: relative;
  float: right;
  width: 261px;
  margin: 20px 0;
}

#footer .in .right p {
  padding: 10px 55px 0;
}

#footer .in .right a {
  display: block;
  width: 151px;
  padding: 7px 0;
  background: #7c3915;
  text-align: center;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
}


/* chybova hlaseni */
#errors {
  color: #dd0000;
  padding-left:20px;
}


/* reklama */
#sidebar .adv {
  margin: 30px 10px;
}

#ads .adv {
  margin: 30px 10px;
}

#content .adv {
  margin: 0px 30px;
}

#banner {
  width: 185px;
  height: 500px;
}

/*------------------------------------------------

BAR

------------------------------------------------- */



#bar {

  border-top: 1px solid #484848;

  background: #3e3e3e;

  overflow: hidden;

}



#bar ul {

  list-style: none;

  width: 993px;

  padding: 0 0 0 75px;

  margin: 0 auto;

}



#bar ul li {

  float: left;

}



#bar ul li a {

  display: block;

  float: left;

  padding: 13px 15px 17px 35px;

  font-weight: bold;

  color: #fff;

}



#bar ul li a:hover {

  text-decoration: none;

}



#bar ul li a.inzerce {

  background: url(bg_lista_a-inzerce.gif) center left no-repeat;

}



#bar ul li a.hry {

  background: url(bg_lista_a-hry.gif) center left no-repeat;

}



#bar ul li a.dovolena {

  background: url(bg_lista_a-dovolena.gif) center left no-repeat;

}



#bar ul li a.gps {

  background: url(bg_lista_a-gps.gif) center left no-repeat;

}



#bar ul li a.www {

  background: url(bg_lista_a-www.gif) center left no-repeat;

}



#bar ul li a.prace {

  background: url(bg_lista_a-prace.gif) center left no-repeat;

}



#bar ul li a.obchod {

  background: url(bg_lista_a-obchod.gif) center left no-repeat;

}



#bar ul li a.barmanshow {

  background: url(bg_lista_a-barmanshow.gif) center left no-repeat;

}

#content .content {
margin: 0 20px;
}

#content .content p {
margin: 10px 0px;
}

.other_langs {
  text-align: justify;
  margin:20px 30px;
}

#header ul.flags, #header ul.flags2 {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
position:absolute;
right:196px;
top:10px;
}

#header ul.flags2 {
top:24px;
}
#header ul.flags li, #header ul.flags2 li {
float:left;
height:12px;
margin:0 2px 0 0;
width:16px;
}

#header ul.flags li a, #header ul.flags2 li a {
  width: 16px;
  height:12px;
}
#header ul.flags li a span, #header ul.flags2 li a span{
  width: 16px;
  height:12px;
  padding:0;
  margin:1px;
}

#flags, #flags2 {
  text-align: right; 
  margin: 7px 0 -22px 0;
}

#flags img, #flags2 img {
  margin-left: -2px;
}

