/*  
Theme Name: MediaWeb Template
Theme URI: http://www.mediaweb.cz
Description: Pevna hlavicka, horizontalni menu, jeden sloupec
Author: http://www.mediaweb.cz
Author URI: http://www.mediaweb.cz
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: #c6d5ec; 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: #0044a4; }
h2, h3, h4 {margin: 0 0 0.5em 0; padding: 0;}
h2 { font-size: 110%; color: #0175da; }
h3 { font-size: 105%; color: #333333; }
h4 { font-size: 100%; color: #666666; }

table {border-collapse: collapse;} 
td {vertical-align: top; padding: 5px;} 
a {color: #236ec6; text-decoration: underline }
a:hover {text-decoration: none}
.cleaner {clear: both; line-height: 0; visibility: hidden; font-size: 0;}


/* layout */
#shadow {width: 854px; margin: 0 auto; background: url('images/bg-shadow.png') repeat-y;} 
#layout, #header, #header-bottom, #content, #footer {width: 820px;}
#layout { text-align: left; background-color: #e8f8fb; min-height: 100%; margin: 0 auto; border: 1px solid #09187a; } 
div>#layout {height: auto}

#header {background: url('images/bg-header.jpg') no-repeat;}
#header a#header-logo, #header {height: 186px;}
#header a#header-logo {display: block;}
#header-bottom { float: left; background: url('images/bg-menu-header-a.gif') repeat-x; border-top: 1px solid #324ccc; border-bottom: 1px solid #00257e; }

#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: #005ac2;}
#footer #copyright {padding: 0 8px;}
#footer #copyright img {vertical-align: middle;}
#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: 17px 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 #tool-mail {background-image: url('images/ico-mail.gif');}
#header-tool a span {display: none;}
#header-tool span {margin: 0 6px;}


#flag {position: relative; float: left; left: 9px; top: 140px; margin: 0 0 0 0; z-index: 100;}
#flag img {margin-right: 5px;}

/* header-search */
#header-search {position: relative; float: right; right: 9px; top: 152px; margin: 0 0 0 0; z-index: 100;}
#header-search .form-search { font-size: 90%; width: 150px; height: 16px; margin: 0 5px 0 0; padding: 2px 2px 0 2px; border: 1px solid #000; 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: 0 0 0 0; padding: 0 0 0 0; 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: #fff; margin: 0 0 0 2px; padding: 16px 20px 16px 20px; text-decoration: none; font-weight: bold; background-image: url('images/bg-menu-header-a.gif'); background-repeat: repeat-x; }
#menu-header ul li.page-item-1 {background: none; }
#menu-header ul li.page-item-1 a {margin: 0;}
#menu-header ul li a:hover,
#menu-header ul li.current_page_item a,
#menu-header ul li.current-cat a {color: #aeeffb; background-image: url('images/bg-menu-header-acurrent.gif'); }


/* clanek */
#main {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,
#main .table-form td img {border: 0;}


/* systemove moduly */


/* formular wpcf7  */
.wpcf7 {margin: 0 0 2em 0;}
.wpcf7 input, .wpcf7 select, .wpcf7 textarea {margin: 3px 0 0 0;}
.wpcf7 select {width: 160px;}

.form-text01-foc, .form-text02-foc, .form-text03-foc, .form-textarea-foc, .form-text01, .form-text02, .form-text03, .form-textarea, .form-login, .form-block-search, select {height: 16px; border-width: 1px; border-style: solid; border-color: #000;}
.form-text01, .form-text02, .form-text03, .form-textarea, select {background-color: #e5ecf6;}
.form-text01-foc, .form-text02-foc, .form-text03-foc, .form-textarea-foc {background-color: #fff; border-color: #005ac2;}

.form-text01, .form-text01-foc {width: 180px;} 
.form-text02, .form-text02-foc {width: 100px;} 
.form-text03, .form-text03-foc {width: 32px;}
#form-captcha {width: 50px;}
.form-textarea, .form-textarea-foc {width: 280px; height: 100px;}

.form-required { color: #8a2f28; padding-left: 0.1em; }

div.wpcf7-response-output {margin: 2em 0.5em 1em; padding: 0.2em 1em;}
div.wpcf7-mail-sent-ok {border: 2px solid #398f14;}
div.wpcf7-mail-sent-ng {border: 2px solid #ff0000;}
div.wpcf7-spam-blocked {border: 2px solid #ffa500;}
div.wpcf7-validation-errors {border: 2px solid #f7e700;}
span.wpcf7-form-control-wrap {position: relative;}
span.wpcf7-not-valid-tip {position: absolute; top: 20%; left: 20%; z-index: 100; background: #fff; border: 1px solid #ff0000; font-size: 10pt; width: 280px; 	padding: 2px;}
span.wpcf7-not-valid-tip-no-ajax {color: #f00; font-size: 10pt; display: block;}
span.wpcf7-list-item {margin-left: 0.5em;} 
.wpcf7-captcha-captcha { vertical-align: bottom; }

.button01 {height: 21px; width: 65px; font-size: 100%; margin: 10px; border: 0; cursor: pointer; background-position: center center; background-repeat: no-repeat; background: url('images/button01.gif') no-repeat; }

/* zvyrazneni textu */
.highlighting  { color: #666666; font-size: 90%; }
.highlighting2  {text-align: center; font-weight: bold; color: #68686e;}


/* 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;}