/*------------------------------------------------
CSS INFO
--------------------------------------------------
FILE: style.css
PROJECT:  MyProject
URL: www.myproject.com
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: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #000;
}

body {
  background: url(body.jpg) top repeat-x;
}

a:link, a:visited{
  color: #a2000d;
}

a:hover {
  color: #666;
}

p {
  text-align: justify;
}

p.center {
  text-align: center;
}

p.right {
  text-align: right;
}

img.alleft {
  float: left;
  margin: 0 5px 5px 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 */

/*------------------------------------------------
 MAIN
------------------------------------------------- */

#main {
  position: relative;
  width: 1000px;
  padding-bottom: 122px; /* must be same height as the footer */
  margin: 0 auto;
}

/*------------------------------------------------
 HEADER
------------------------------------------------- */

#header {
  position: relative;
  width: 1000px;
  height: 225px;
  margin: 0 auto;
  background: url(header.jpg);
}

#header h1 a {
  display: block;
  width: 1000px;
  height: 225px;
}

#header h1 a span {
  display: none;
}

/*------------------------------------------------
 MENU
------------------------------------------------- */

#menu {
  position: relative;
  width: 830px;
  height: 35px;
  padding: 0 85px;
  margin: 0 auto;
  background: #a2000d;
}

#menu ul {
  list-style: none;
}

#menu ul li {
  float: left;
}

#menu ul li a {
  float: left;
  display: block;
  padding: 8px 15px 0;
  height: 27px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  font-weight: bold;
}

#menu ul li a:hover, #menu ul li a.active {
  background: #fff url(menu-hover.jpg);
  color: #000;
}

/*------------------------------------------------
 CONTENT
------------------------------------------------- */

#content {
  position: relative;
  float: left;
  width: 460px;
  padding: 0 0 0 100px;
}

#content h2 {
  padding: 20px 0;
  font-size: 20px;
  color: #a2000d;
  font-weight: normal;
}

#content h3 {
  padding: 10px 0 5px;
  font-size: 16px;
  color: #a2000d;
}

#content p {
  padding: 0 0 20px;
}

#content p.center img {
  margin: 0 8px;
  border: 2px solid #a2000d;
}

#content ul {
  padding: 0 30px 10px 30px;
}

#content ul li {
  list-style: url(./list.jpg);
  padding: 0 0 10px;
  text-align: justify;
}

#content ul li strong {
  color: #a2000d;
}

#content blockquote {
  display: block;
  padding: 15px 20px;
  margin: 0 0 20px;
  border-left: 4px solid #a2000c;
  background: #f9f9f9;
  overflow: hidden;
  color: #000;
}

#content blockquote hr {
  clear: both;
  visibility: hidden;
  height: 1px;
  border: none;
}

#content blockquote p {
  padding: 0;
}

#content blockquote p.img {
  float: left;
}

#content blockquote p.text {
  float: right;
  width: 315px;
}

#content blockquote img{
  float: left;
  border: 1px solid #a2000c;
}

#content table {
  width: 450px;
  margin: 0 auto 20px;
  border: 1px solid #00005f;
}

#content table tr td {
  padding: 3px;
  background: #edeef2;
}

#content table tr td.center {
  width: 1px;
  text-align: center;
}

#content table tr td.right {
  width: 1px;
  text-align: right;
}

#content form {
  position: relative;
  float: right;
  width: 250px;
  padding: 10px 10px 0;
  border: 1px solid #ddd;
}

#content form p {
  clear: both;
  padding: 0 0 10px;
}

#content form label {
  float: left;
  width: 65px;
  padding: 0 5px 0 0;
  text-align: right;
}

#content form input, #content form textarea {
  width: 170px;
}

/*------------------------------------------------
 SIDEBAR
------------------------------------------------- */

#sidebar {
  position: relative;
  float: right;
  width: 300px;
  padding: 0 100px 0 0;
}

#sidebar h4 {
  padding: 20px 0;
  font-size: 16px;
  color: #a2000d;
}

#sidebar .block {
  position: relative;
  width: 300px;
  padding: 0 0 5px;
  margin: 0 0 20px;
  background: #f5F5f5;
  overflow: hidden;
  border-bottom: 1px solid #a2000d;
}

#sidebar .block h5 {
  padding: 5px;
  border-bottom: 5px solid #fff;
  background: #a2000d;
  color: #fff;
  font-size: 13px;
}

#sidebar .block p {
  padding: 5px 5px 0;
}

/*------------------------------------------------
 FOOTER
------------------------------------------------- */

#footer {
  position: relative;
  clear: both;
  width: 100%;
  height: 122px;
  margin-top: -122px; /* negative value of footer height */
  background: #a2000d url(footer.jpg) bottom repeat-x;
  color: #fff;
}

#footer a {
  color: #fff;
}

#footer .in {
  position: relative;
  width: 800px;
  height: 122px;
  margin: 0 auto;
  background: url(footer_in.jpg) top right no-repeat;
}

#footer .in p.alleft {
  float: left;
  padding: 85px 5px 0;
}

#footer .in p.alright {
  float: right;
  padding: 90px 5px 0;
}