/********************************
* Author: Radek Juřica
* Contact: http://jurica.php5.cz
*          radek.jurica@gmail.com
*          207-179-209
*          +420 776 691 801
*
* You are NOT permitted to copy or distribute this source code.
* All rights reserved!
*/

* { margin:0; padding:0 }
img { border:0 }
body {
  cursor:default;
  font-family:"Trebuchet MS", Verdana, Tahoma;
  font-size:1em;
  color:#313131
  }
a { text-decoration:underline; color:#d50b0b }
a:hover { text-decoration:none; color:#313131 }
.blue { color:#4195CC }
.red { color:#cc3333 }
.cleaner { clear:both }
.cleaner hr { display:none }
.justify { text-align:justify }
.center { text-align:center }
.right { text-align:right }
.indent-top { margin-top:240px }
#header {
  position:relative;
  height:228px;
  margin:0 8px 10px 8px;
  background:url('/public/media/images/header-bg.png') repeat-x left 68px;
  }
h1 { position:absolute; top:22px; left:30px }
h1 a { text-decoration:none; color:#f63213 }
#header p {
  position:absolute;
  top:7px;
  right:15px
  }
#header p a {
  font-size:.9em;
  text-decoration:none;
  color:#999999;
  }
#menu {
  padding:93px 0 0 24px;
  }
#menu span { display:none }
#menu a { 
  display:block;
  float:left;
  margin-right:10px
  }
#menu a.add {
  width:93px;
  height:116px;
  background:url('/public/media/images/pridat-poptavku.png')
  }
#menu a.edit {
  width:120px;
  height:116px;
  background:url('/public/media/images/editovat-poptavku.png')
  }
#header img {
  position:absolute;
  top:20px;
  left:417px;
  }
#search {
  position:absolute;
  top:80px;
  right:0;
  width:212px;
  height:139px;
  background:url('/public/media/images/header-arrows.png') no-repeat
  }
#search p label {
  position:absolute;
  top:80px;
  right:141px;
  font-weight: bold;
  font-size:.8em;
  color:#000000
  }  
#hledat {
  position:absolute;
  top:100px;
  right:0;
  width:160px;
  border:1px solid #ffffff;
  background:#dedede;
  padding:2px 45px 2px 5px;
  font-family:"Trebuchet MS", Verdana, Tahoma;
  font-size:.7em
  }
#simage {
  position:absolute;
  top:79px;
  right:-4px
  }
#newsbar { 
  float:left;
  width:180px;
  overflow:hidden;
  margin-left:15px;
  padding:0 20px 20px 0
  }
#newsbar h2, #newsbar h4 {
  padding-bottom:6px;
  background:url('/public/media/images/newsbar-shadow.png') no-repeat -5px bottom;
  font-size:110%;
  color:#f63213
  }
#newsbar h3 a {
  font-size:.8em;
  color:#313131
  }
#newsbar h3 a:hover {
  font-size:.8em;
  color:#d50b0b
  }
#newsbar p {
  padding-bottom:10px;
  border-bottom:1px dashed #ffc49c;
  margin-bottom:10px;
  font-size:80%;
  color:#666666
  }
#newsbar p.date {
  border:none;
  padding:0;
  margin-bottom:5px 
  }
#newsbar h4 { font-size:100% }
#newsbar form p { margin:0; border:none; padding:0 }
#newsbar form input[type=text], #newsbar form input[type=password] { 
  margin-bottom:12px;
  padding:1px 4px;
  width:170px
  }
#newsbar form input[type=submit] {
  width:110px;
  height:27px
  }
#content { 
  position:relative;
  float:left;
  width:70%;
  min-height:400px;
  margin:0 15px 25px 0;
  border-left:1px solid #ff6600;
  padding:0 0 15px 18px
  }
#content h2 { font-size:120% }
#content p { font-size:.9em; margin-bottom:10px }
#content ul { 
  list-style-type:circle;
  margin:10px 0 30px 15px;
  }
#content ul li { padding:2px 0 ; }
#content ul li a { font-weight:bold }
#navbar, #delete { 
  margin:5px 0 30px 0; 
  padding:2px 5px 4px 10px; 
  background:#fafafa; 
  border:1px solid #f5f5f5; 
  color:#d50b0b 
  }
#navbar a { font-weight:bold; font-size:90%; color:#666666 }
#navbar a:hover { color:#d50b0b }
#content h3 { font-size:100%; margin-top:30px }
#content h4 { margin-top:40px; margin-bottom:10px }
#content table {
  margin:10px 0 30px -9px;
  font-size:.9em
  }
#content table tr td {
  background:#ffffff;
  padding:2px 10px;
  }
#content form { margin:10px 0 40px 2px }
#content form p { margin:0 }
#content form p input[type=text], #content form p select, #content form p input[type=password] {
  width:210px;
  padding:3px 5px;
  border:1px solid #878787;
  margin:3px 0 15px 0;
  font-family:"Trebuchet MS", Verdana, Tahoma
  }
#content form p input[type=submit] {
  width:222px;
  height:30px
  }  
#content form p textarea {
  width:500px;
  padding:10px;
  border:1px solid #878787;
  margin-bottom:20px;
  font-family:"Trebuchet MS", Verdana, Tahoma
  }  
#footer {
  clear:both;
  padding:20px 8px;
  padding-bottom:8px;
  background:#cccccc;
  font-size:.8em;
  text-align:center;
  background:#c9c9c9 url('/public/media/images/footer-bg.png') repeat-x;
  }
#footer p { margin-bottom:3px }
#footer p.author { margin-top:15px }
#footer p.php { margin-top:5px }
/*** --- ***/
#pridat-poptavku { width:300px; float:left }
#pridat-poptavku p { position:relative }
#error-box {
  float:left;
  padding-right:25px;
  border:1px solid #dd7777;
  background:#ffcccc;
  list-style-type:square;
  color:#ffffff
  }
#error-box li {
  margin:12px 0 12px 30px;
  font-size:.9em;
  font-weight:bold;
  }
#error-box li a {
  text-decoration:none;
  color:#313131;
  }
table.admin { border-collapse:collapse }
table.admin tr.hover td { background-color:#000000 }
table.admin tr th { border:1px solid #e0e0e0; border-bottom:none; padding:5px 0 }
table.admin tr td { border:1px solid #e0e0e0 }
table.admin tr td img { vertical-align:middle }
table.admin tr td:first-child a { 
  display:block; 
  width:100%; 
  height:100%; 
  padding:5px 0; 
  padding-right:200px
  }
#delete, #admin {
  display:block;
  position:absolute;
  top:-11px;
  right:-137px;
  width:200px;
  height:25px;
  line-height:27px;
  border:1px solid #313131;
  background:#ffcccc;
  text-align:center;
  font-size:.9em;
  font-weight:bold
  }
#admin {
  top:29px;
  width:215px;
  height:30px;
  line-height:30px;
  background:#ffffcc
  }
