/*  
Theme Name: Absolutne Template
Theme URI: http://www.absolutne.net
Description: Pevna hlavicka, horizontalni menu, jeden sloupec
Author: Absolutne.net
Author URI: http://www.absolutne.net
Version: 1.0
*/

body, form, input, select, textarea, td, th {font-family: Verdana, Arial, Helvetica, sans-serif;}
body { text-align: center; color: #000; font-size: 70%; background: #efefef; margin: 0; padding: 0; }
select, textarea, td, th {font-size: 100%;}
form {margin: 0; padding: 0;}

p, ul, table {margin: 0 0 1em 0; padding: 0;}
h1 { font-size: 130%; color: #000; }
h2, h3, h4 {margin: 0 0 0.5em 0; padding: 0;}
h2 { font-size: 110%; color: #000; }
h3 { font-size: 105%; color: #333333; }
h4 { font-size: 100%; color: #666666; }

table {border-collapse: collapse;} 
td {vertical-align: top; padding: 5px;} 
a {text-decoration: underline }
a:hover {text-decoration: none}
.cleaner {clear: both; line-height: 0; visibility: hidden; font-size: 0;}


/* layout */
#layout, #header, #header-bottom, #content, #footer {width: 810px;}
#layout { text-align: left; background-color: #dbefd1; min-height: 100%; margin: 0 auto; border: 1px solid #000; } 
div>#layout {height: auto}

#header {background: url('images/bg-header.jpg') no-repeat;}
#header a#header-logo, #header {height: 160px;}
#header a#header-logo {display: block;}
#header-bottom {float: left; background: url('images/bg-header-bottom.gif') no-repeat 0 bottom;}

#content {float: left; min-height: 400px; height: 400px; padding-bottom: 2em;}
div>#content {height: auto}

#footer {clear: both;  padding: 8px 0; color: #fff; font-size: 90%; background-color: #3aa500;}
#footer #copyright {padding: 0 8px;}
#footer #copyright img {vertical-align: middle; margin-right: 0.8em;}
#footer #copyright a {color: #fff;}
#footer #copyright span {color: #fff; margin: 0 0.5em;}
#footer #copyright #copyright-left {float: left;}
#footer #copyright #copyright-right {float: right;}

/* header tool */
#header-tool {float: right; padding: 16px 10px 0 0;}
#header-tool a, #header-tool span {float: left; display: block;}
#header-tool a {width: 12px; height: 10px; margin-top: 3px; background-position: 0 0; background-repeat: no-repeat;}
#header-tool a:hover {background-position: 0 -10px;}
#header-tool #tool-home {background-image: url('images/ico-home.gif');}
#header-tool a span {display: none;}

/* header-search */
#header-search { float: right; width: 215px; text-align: left; margin-top: 8px;}
#header-search .form-search { width: 153px; height: 27px; margin: 0 11px 0 0; padding: 6px 6px 0 6px; background: url('images/bg-form-search.gif') no-repeat 0 0; vertical-align: middle; }
#header-search form {display: inline;}
#header-search #button-header-search {width: 22px; height: 22px; background: url('images/button-search.gif') center center no-repeat; border: 0; cursor: pointer; }

/* menu header */
#menu-header {float: left;}
#menu-header ul {margin: 0; padding: 0;}
#menu-header ul li {float: left; font-size: 120%; margin: 7px 0 8px 0; padding: 5px 19px 0 17px; background: url('images/bg-menu-header-li-sep.gif') no-repeat left 0px; list-style-type: none;}
#menu-header ul li a { display: block; color: #000; padding: 0 0 10px 0; text-decoration: none; font-weight: bold; }
#menu-header ul li.page-item-1 {background: none;}
#menu-header ul li a:hover,
#menu-header ul li.current_page_item a {color: #3aa500;}

/* clanek */
#main {width: 780px; margin: 15px; text-align: justify; line-height: 135%;}
#main ol {margin: 0 0 1em 1em; padding-left: 1.3em;}
#main ul li {margin: 0; padding-left: 1.5em; background: url('images/bg-li.gif') 5px 5px no-repeat; list-style-type: none;}

/* paging, datum */
#main .paging {clear: both; text-align: right; margin: 0 0 0.8em 0;}
#main .paging a img {border: 0; vertical-align: middle;}
#main .paging a {padding: 0 2px;} 

#main #paging-bottom {text-align: right; margin: 3em 0 0.5em 0;}
#main #paging-bottom a img {border: 0; vertical-align: middle;}
#main #paging-bottom a {padding: 0 2px;} 

#main #main-bottom, #main .jmeno {text-align: right; font-size: 90%; margin-bottom: 1.5em;}
#main #main-bottom img { margin-left: 3px; vertical-align: middle; }
#main .main-date {color: #68686e;}
#main .main-date {text-align: right;}
#main .main-date {clear: both;}

.paging-bottom-left {float: left;}
.paging-bottom-right {float: right;}


/* Breadcrumb */
#breadcrumb {margin: 0 0 1em 0; line-height: 155%;}

/* Obrazky */
p img {padding: 0; max-width: 100%;}

img.centered, img.aligncenter {display: block; margin-left: auto; margin-right: auto;}
img.alignright {padding: 4px; margin: 0 0 2px 7px; display: inline;}
img.alignleft {padding: 4px; margin: 0 7px 2px 0; display: inline;}

.alignright {float: right;}
.alignleft {float: left}


/* hromadne deklarace */
#main .paging,
#main #paging-bottom,
#main .main-date  {clear: both; text-align: right;}

/* small font */
#main .paging,
#main .main-date {font-size: 90%;}

/* obrazek bez okraje */
img,
#header-search .form-search,
#main .table-form td img {border: 0;}


/* tabulka galerie */
.table-gallery td {width: auto; text-align: center; padding: 0 5px 10px 5px;}
.table-gallery td p {margin: 0.5em 0 0 0;}

/* tabulka clanek */
.table-article {width: 80%; border: 2px solid #fff;}
.table-article td, .table-article th {padding: 4px; border: 1px solid #fff;}
.table-article th {text-align: center; background-color: #c7d9ed;}
.table-article td {background-color: #dcdcdc;}
.table-article tr.licha td {background-color: #ececec;}


/* systemove moduly */
/* Gallery */
.gallery {margin-bottom: 5px;}
.gallery .gallery-item img {border: 1px solid #CCCCCC;}
.gallery .gallery-item {float: left; text-align: center; padding: 10px; width: 22%;}
.gallery .gallery-icon {}
.gallery .gallery-item h2 {font-size: 90%; color: #000; margin: 0.5em 0 0 0;}