body, form, input, select, textarea, td, th {font-family: Verdana, Arial, Helvetica, sans-serif;}
body { text-align: center; color: #000; font-size: 80%; background: #fade92 url('image/web/bg-body.gif') repeat-x bottom fixed; 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: #8a2313; }
h3, h4 {margin: 0 0 0.5em 0; padding: 0;}
h2 { font-size: 125%; color: #533A09; margin: 1.5em 0 0.5em 0; }
h3 { font-size: 110%; color: #333333; }
h4 { font-size: 100%; color: #666666; }

table {border-collapse: collapse;} 
td {vertical-align: top; padding: 5px;} 
a {color: #983827; 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: #fff; min-height: 100%; margin: 0 auto; border: 1px solid #000; } 
div>#layout {height: auto}

#header {height: 160px; background: url('image/web/bg-header.jpg') no-repeat;}
#header a#header-logo {display: block; width: 810px; height: 160px;}
#header-bottom {float: left; height: 46px; background: url('image/web/bg-header-bottom.gif') no-repeat 0 bottom;}

#content { float: left; min-height: 400px; height: 400px; padding-bottom: 2em; background: #fae2ae url('image/web/bg-content.gif') no-repeat center bottom;}
div>#content {height: auto}

#footer {clear: both;  padding: 8px 0; color: #fff; font-size: 90%; border-top: 4px solid #efab11; background-color: #8e1a12;}
#footer #copyright {padding: 0 8px;}
#footer #copyright img {vertical-align: middle; margin-right: 0.8em;}
#footer #copyright a {color: #fff;}
#footer #copyright span {color: #fae2ae; 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('image/web/ico-home.gif');}
#header-tool a span {display: none;}

/* header tool */
#header-tool {float: right; padding: 14px 15px 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('image/web/ico-home.gif');}
#header-tool #tool-contact {background-image: url('image/web/ico-contact.gif');}
#header-tool a span {display: none;}
#header-tool span {margin: 0 6px;}

/* menu header */
#menu-header {float: left;}
#menu-header ul {margin: 0; padding: 0;}
#menu-header ul li {float: left; font-size: 100%; margin: 8px 0 0 0; padding: 5px 14px 0 12px; background: url('image/web/bg-menu-header-li-sep.gif') no-repeat right 0px; list-style-type: none;}
#menu-header ul li a { display: block; color: #FFFFCC; padding: 0 0 10px 0; text-decoration: none; font-weight: bold; }
#menu-header ul li#menu-left-last {background: none;}
#menu-header ul li a:hover {color: #efd8a3;}

/* systemove bloky */
/* nadpisy */
#content-left h2 {font-size: 110%; color: #fff; margin: 0 10px; padding: 10px 6px 10px 12px; background: url('image/web/bg-content-block-h2.gif') no-repeat 0 bottom;}
#content-left h3 {font-size: 95%; margin: 0 0 0.3em 0;}


/* content-block */
.content-block {font-size: 90%; margin: 0 10px 14px 10px; padding: 6px 6px 16px 6px; background-color: #fff; }

.text-center-block {text-align: center; margin: 0;}

/* index */
/* content-block-main */
#main .main-index {width: 780px; margin-bottom: 2em; padding-bottom: 1em; border-bottom: 1px dotted #efab11; float: left;}

/* 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('image/web/bg-li.gif') 5px 5px no-repeat; list-style-type: none;}

#main .vlevoobr, #main .vlevoobr-noborder {float: left; margin-right: 5px; margin-bottom: 2px}
#main .vpravoobr, #main .vpravoobr-noborder {float: right; margin-bottom: 2px; margin-left: 5px}

#main #text-sizer {text-align: right; margin-bottom: 0.5em;}
#main #text-sizer img, #main #main-bottom img {margin-left: 4px; cursor: pointer; cursor: hand;}
#main #main-bottom {padding-top: 1.5em;}

/* 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-bottom: 0.5em;}
#main .paging-bottom a img {border: 0; vertical-align: middle;}
#main .paging-bottom a {padding: 0 2px;} 
#main .table-form-jm img {border: 0; vertical-align: middle;}
#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, .date-block, #main .table-comment .col-date, #main .main-news-date, #discussion-paging {color: #68686e;}
#main .main-date, .date-block, #main .table-comment .col-date, #discussion-paging {text-align: right;}
#main .main-date {clear: both; margin: 0.5em 0;}

/* doplnkove styly */
.left {text-align: left;}
.right {text-align: right;}
.center,
.text-center-block {text-align: center; margin: 0;}



/* hromadne deklarace */
#main .paging,
#main #main-bottom,
#main .paging-bottom,
#main .main-date  {clear: both; text-align: right;}

/* small font */
.small,
#main .paging,
#main .paging-bottom,
#main .main-date {font-size: 90%;}

/* obrazek bez okraje */
img,
#header-search .form-search,
#main .vlevoobr-noborder,
#main .vpravoobr-noborder,
#main .image-bottom,
#main #text-sizer img,
#main #main-bottom img,
#main .noborder,
#main .table-form td img {border: 0;}

/* zvyrazneni textu */
.form-error, .error {font-weight: bold; color: #FF0000;}
.form-success {color: #009900; font-weight: bold;}
.form-required {color: #d01000; padding-left: 0.1em;}
.highlighting  {font-weight: bold; color: #6F18FE;}
.highlighting2  {text-align: center; font-weight: bold; color: #68686e;}

/* tabulky */
.table-section, .table-article {width: 100%;}

/* tabulka vypis clanku */
.table-section td, .table-section th {padding: 0 8px 3px 0; text-align: left;}
.table-section td a {font-weight: bold;}
.table-section th.col1 {width: 80%;}
.table-section th.col2 {width: 20%;}
.table-section th.col3 {width: 10%;}


/* tabulka clanky */
.table-article {border: 2px solid #f6ab04; margin: 0 0 2em 0;}
.table-article td, .table-article th {border: 1px solid #cc8e03;}
.table-article td { padding: 3px; font-size: 90%; text-align: left; background-color: #f6d489;}
.table-article th { color: #fff; text-align: center; font-weight: bold; background-color: #f6ab04; }

/* 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;}



/* systemove moduly */

/* formulare a vyhledavani */
.table-form {margin: 0 0 15px 0; width: 100%;}
.table-form td {padding: 3px}
.table-form td label {display: block; text-align: right;}
.table-form td input, .table-form td select, #main .table-form td img {vertical-align: middle;}
#main .table-form td img {margin-right: 10px;}

.form-text01-foc, .form-text02-foc, .form-text03-foc, .form-textarea-foc, .form-text01, .form-text02, .form-text03, .form-textarea, select {height: 16px; border-width: 1px; border-style: solid; border-color: #000;}
.form-text01, .form-text02, .form-text03, .form-textarea, select {background-color: #fade90;}
.form-text01-foc, .form-text02-foc, .form-text03-foc, .form-textarea-foc {background-color: #fff; border-color: #000;}

.form-text01, .form-text01-foc {width: 180px;} 
.form-text02, .form-text02-foc {width: 100px;} 
.form-text03, .form-text03-foc {width: 32px;}
.form-textarea, .form-textarea-foc {width: 280px; height: 100px;}

/* tlacitka */
.button01, #header-search #button-header-search {border: 0; cursor: pointer; background-position: center center; background-repeat: no-repeat;}
.button01  {height: 21px; font-size: 100%; margin: 10px;}
.button01 {background: url('image/web/button01.gif') no-repeat; width: 65px;}
.button03 { width: 60px; height: 22px; font-size: 100%; color: #fff; border: 1px solid #000000; background: #666666; margin: 0 5px 0 0; padding: 2px; }

/* ankety */
.anketa-block-odpovedi a {}
.anketa-block-hlasy,
#anketa-main .anketa-hlasy,
#anketa-main .anketa-hlasy { color: #6791ff; }
.anketa-block-odp-cara-hlasy,
#anketa-main .anketa-odp-cara-hlasy,
#anketa-main .anketa-odp-cara-hlasy-uzavrena {background-color: #6791ff;}
.anketa-block-odp-cara-hlasy {display: block; height: 8px; font-size: 0; line-height: 0; cursor: pointer;}
a.anketa-block-odp-cara,
#anketa-main .anketa-odp-cara {background-color: #eaefff;}
a.anketa-block-odp-cara {display: block; height: 8px; margin: 3px 0 8px 0;}

/* anketa main */
#anketa-main {width: 250px; margin: 0 auto;}
#anketa-main .anketa-odpovedi a {font-weight: bold;}
#anketa-main .anketa-odp-cara-hlasy {display: block; height: 8px; font-size: 0; line-height: 0; cursor: pointer;}
#anketa-main .anketa-odp-cara-hlasy-uzavrena {display: block; height: 8px; font-size: 0; line-height: 0;}
#anketa-main .anketa-odp-cara { display: block; height: 8px; margin: 3px 0 8px 0; }

/* Gallery */
/* fotogaerie */
.gallery {margin-bottom: 5px;}
.gallery img {margin: 3px; vertical-align: middle;}
.gallery-part {margin-bottom: 2em; text-align: center; padding-bottom: 10px; border-bottom: 1px dotted #2e2e2e;}

/* tabulka prehled */
.gallery-table-main {width: auto; margin: 0 0 2em 0;}
.gallery-table-main td { vertical-align: top; padding-right: 10px;}
.gallery-table-main td.gallery-description { font-size: 80%; color: #000; }
.gallery-table-main td p {margin-top: 0.5em;}
#main .gallery-table-main td img,
#main .gallery-thumbnail td img { border: 1px solid #666666;}

/* tabulka thumbnail */
.gallery-select {margin: 1em 0 1em 0;}
.gallery-thumbnail {margin-bottom: 5px; text-align: center;}
/* tabulka galerie */
.gallery-thumbnail td {width: auto; text-align: center; padding: 0 5px 10px 5px;}
.gallery-thumbnail td p {margin: 0.5em 0 0 0;}
.gallery-thumbnail td h3 {color: #fff; font-size: 90%;}
.gallery-thumbnail img {margin: 3px; vertical-align: middle;}

/* galerie lightbox */
#lightbox {position: absolute; top: 40px; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox a img {border: none;}
#outerImageContainer {position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto;}
#imageContainer {padding: 10px;}
#loading {position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0;}
#hoverNav {position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10;}
#imageContainer>#hoverNav {left: 0;}
#hoverNav a {outline: none;}
#prevLink, #nextLink {width: 49%; height: 100%; background: transparent url('gallery/lightbox/images/blank.gif') no-repeat; /* Trick IE into showing hover */ display: block;}
#prevLink {left: 0; float: left;}
#nextLink {right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover {background: url('gallery/lightbox/images/prevlabel.gif') left 15% no-repeat; filter: alpha(opacity=90); opacity: 0.9; -moz-opacity: 0.9;}
#nextLink:hover, #nextLink:visited:hover {background: url('gallery/lightbox/images/nextlabel.gif') right 15% no-repeat; filter: alpha(opacity=90); opacity: 0.9; -moz-opacity: 0.9;}
#imageDataContainer {font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em;}
#imageData {padding:0 10px;}
#imageData #imageDetails {width: 70%; float: left; text-align: left;}
#imageData #caption {font-weight: bold;}
#imageData #numberDisplay {color: #000; display: block; clear: left; padding-bottom: 1.0em;}
#imageData #bottomNavClose {width: 66px; float: right; padding-bottom: 0.7em;}
#overlay {position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; filter:alpha(opacity=60); -moz-opacity: 0.6; opacity: 0.6;}
.clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
* html>body .clearfix {display: inline-block; width: 100%;}
/* End hide from IE-mac */
* html .clearfix {height: 1%;}