/*------------------------------------------------
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;
}

body {
  background: #7c3915 url(body.jpg) center repeat-y;
}

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;
  background: url(main.jpg) top center no-repeat;
}

/*------------------------------------------------
PAGE
------------------------------------------------- */

#page {
  position: relative;
  width: 835px;
  margin: 0 auto;
  overflow: hidden;
}

/*------------------------------------------------
HEADER
------------------------------------------------- */

#header {
  position: relative;
  height: 140px;
}

#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: 140px;
  height: 60px;
  margin: 35px 0 0 5px;
}

#header ul.top li a.three {
  width: 130px;
  height: 50px;
  margin: 45px 0 0 5px;
}

/*------------------------------------------------
CONTENT
------------------------------------------------- */

#content {
  position: relative;
  float: left;
  width: 649px;
  padding: 0 0 50px;
  border-top: 1px solid #fff;
}

#content hr {
  clear: both;
  visibility: hidden;
}

#content h2 {
  padding: 20px 20px 10px;
  font-family: Arial;
  font-size: 18px;
  font-weight: normal;
}

#content h4 {
  padding: 20px 20px 5px;
  font-family: Arial;
  font-size: 18px;
  font-weight: normal;
}

#content p {
  padding: 0 20px 5px;
  font-size: 9px;
  color: #8a8a8a;
}

#content .splitter {
  position: relative;
  float: left;
  width: 20px;
  height: 10px;
}

#content .item {
  position: relative;
  float: left;
  width: 144px;
  margin: 10px 10px 0 0;
  height: 230px;
}

#content .item a {
  display: block;
  width: 144px;
  padding: 1px;
  text-decoration: none;
}

#content .item a:hover {
  padding: 0;
  border: 1px solid #a6ff94;
  background: #f0ffe1;
}

#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 .adContent {
  padding: 10px 0 0;
  text-align: center;
}

/*------------------------------------------------
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;
}

h4.mobil, h4.top20 {
  width: 165px;
  height: 29px;
  padding: 10px;
  font-size: 18px;
  color: #fff;
}

h4.mobil {
  background: #7c3915 url(ads_h4-mobil.gif);
}

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: 190px;
  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;
  width: 835px;
  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;
  width: 550px;
  padding: 0 0 10px;
  margin: 20px 0;
  border-left: 1px solid #3e1B08;
}

#footer .in .middle p {
  padding: 10px 50px 0;
}

#footer .in .middle p big {
  font-size: 16px;
  font-weight: bold;
}