/*------------------------------------------------
           PLEASE DONT'S STEAL,
    JUST TAKE THE INSPIRATION!
------------------------------------------------- */

/*------------------------------------------------
CSS INFO
--------------------------------------------------
FILE: style.css
PROJECT:  Borovka Promotion
URL: www.borovka.cz
AUTHOR: ChciStranky.cz (info@chcistranky.cz, www.chcistranky.cz)
DATE: 06-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: Calibri, 'Trebuchet MS', Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: #fff;
}

body {
  background: #4d372d url(body.gif) center repeat-y;
}

a:link, a:visited{
  color: #fff;
}

a:hover {
  color: #4b7e15;
}

p {
  text-align: justify;
}

p.center {
  text-align: center;
}

p.right {
  text-align: right;
}

p.alleft {
  float: left;
}

p.alright {
  float: right;
}

img {
  border: none;
}

img.alleft {
  float: left;
  margin: 0 5px 5px 0;
}

img.alright {
  float: left;
  margin: 0 0 5px 5px;
}

hr.clear {
  clear: both;
  visibility: hidden;
  padding: 0;
  margin: 0;
  height: 0;
  font-size: 0;
}

/*------------------------------------------------
 100% HEIGHT
------------------------------------------------- */

html, body, #wrap {
  height: 100%;
}

body > #wrap {
  height: auto;
  min-height: 100%;
}

#wrap {
  background: url(wrap.gif) 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 */

/*------------------------------------------------
 STRIKE
------------------------------------------------- */

#strike {
  position: absolute;
  width: 100%;
  height: 200px;
  background: url(strike.gif);
  
}

/*------------------------------------------------
 MAIN
------------------------------------------------- */

#main {
  position: relative;
  width: 900px;
  margin: 0 auto;
  padding-bottom: 50px; /* must be same height as the footer */
  background: url(main.gif) top repeat-x;
}

/*------------------------------------------------
 HEADER
------------------------------------------------- */

#header {
  position: relative;
  height: 100px;
}

#header h1 {
  padding: 20px 0;
}

#header h1 a {
  display: block;
  width: 315px;
  height: 60px;
  background: url(header_h1.gif);
}

#header h1 a span {
  display: none;
}

/*------------------------------------------------
 MENU
------------------------------------------------- */

#menu {
  position: relative;
  height: 40px;
  overflow: hidden;
}

#menu ul {
  list-style: none;
}

#menu ul li {
  float: left;
}

#menu ul li a {
  display: block;
  float: left;
  height: 32px;
  padding: 8px 15px 0;
  font-weight: normal;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
}

#menu ul li a:hover {
  text-decoration: underline;
}

#menu ul li a.active {
  background: #4b7e15;
  text-decoration: none;
}

/*------------------------------------------------
 CONTENT
------------------------------------------------- */

#content {
  position: relative;
  overflow: hidden;
  padding: 30px 0 10px;
}

#content h1, #content h2 {
  padding: 0 10px 5px;
  margin: 0 20px 5px;
  font-size: 24px;
  font-weight: normal;
  font-style: italic;
}

#content h3 {
  padding: 20px 10px 5px;
  margin: 0 20px 5px;
  font-size: 21px;
  font-weight: normal;
  font-style: italic;
}

#content h3 {
  padding: 20px 10px 5px;
  margin: 0 20px 5px;
  font-size: 18px;
  font-weight: normal;
  font-style: italic;
}

#content p {
  padding: 0 30px 10px;
}

#content ul {
  list-style: square;
  padding: 0 40px 10px 60px;
  text-align: justify;
}

#content #home {
  position: relative;
  float: left;
  width: 380px;
  height: 250px;
  margin: 0 30px 10px;
  border: 1px solid #4d7f16;
}

#content form#form {
  position: relative;
  float: right;
  width: 380px;
  padding: 10px 10px 0;
  margin: 0 30px 10px;
  border: 1px dashed #5e4b43;
}

#content form#form p {
  clear: both;
  padding: 0 0 10px;
}

#content form#form p label {
  display: block;
  float: left;
  width: 120px;
  padding: 0 10px 0 0;
  text-align: right;
}

#content form#form p input, #content form#form p select, #content form#form p textarea {
  width: 238px;
  padding: 2px 5px;
  border: 1px solid #4d372d;
  background: url(formitem.gif) top left no-repeat;
  color: #fff;
}

#content form#form p input.submit {
  width: auto;
  cursor: hand;
  cursor: pointer;
}

#content form#form p input:focus, #content form#form p select:focus, #content form#form p textarea:focus {
  border: 1px solid #fff;
}

#content form#form p select {
  width: 250px;
  padding: 5px;
}

#content form#form p textarea {
  height: 50px;
  padding: 5px;
}

#content .news {
  position: relative;
  float: left;
  width: 290px;
  padding: 30px 0 20px;
}

#content .news p {
  padding: 0 0 0 30px;
}

#content .ref {
  width: 255px;
  float: left;
  margin: 0 0 30px 30px;
  _margin: 0 0 0 15px;
  border: 2px solid #4b7e15;
  background: #fff;
}

#content .ref h3 {
  padding: 5px;
  margin: 0;
  background: #4b7e15;
  font-style: normal;
  font-size: 14px;
  font-weight: bold;
}

#content .ref .img {
  height: 150px;
  margin: 0 0 5px;
  border: 10px solid #fff;
  background-color: #red;
  background-position: center;
  background-repeat: no-repeat;
}

#content .ref .img a {
  display: block;
  width: 100%;
  height: 100%;
}

#content .ref p {
  height: 10px;
  margin: 0;
  font-style: normal;
  font-size: 12px;
  text-align: center;
}

/*------------------------------------------------
 FOOTER
------------------------------------------------- */

#footer {
  position: relative;
  clear: both;
  width: 900px;
  height: 50px;
  margin: 0 auto;
  margin-top: -50px; /* negative value of footer height */
  background: #4d372d;
  font-size: 14px;
}

#footer p {
  padding: 17px 15px 0;
}

#footer a {
  color: #fff;
}