/*  
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: #fff; font-size: 70%; background: #555453 url('images/bg-body.gif') repeat-x 0px top; 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 {float: left; margin: 0; padding: 15px 0 24px 0;}
h1 span {display: none;}
h2 { font-size: 135%; margin: 0 0 1em 0; color: #c50c00; }
h3, h4 {margin: 0 0 0.8em 0; padding: 0;}
h3 { font-size: 105%; color: #CCCCCC; }
h4 { font-size: 100%; color: #fff; }

table {border-collapse: collapse;} 
td {vertical-align: top; padding: 5px;} 
a {color: #c50c00; text-decoration: underline }
a:hover {text-decoration: none}
.cleaner {clear: both; line-height: 0; visibility: hidden; font-size: 0;}

.zvyrazneno {width: 470px; font-size: 90%; margin: 0 0 2em 0; padding: 10px 10px 5px 10px; background: #212121; border: 1px solid #ce1300;}
.pevna {padding: 20px 0 20px 50px; background: url('../../uploads/telefon.gif') no-repeat left center; }


/* layout */
#layout, #header-top, #menu-header, #header, #header a, #header-bottom, #content, #footer {width: 880px;}
#layout { text-align: left; min-height: 100%; margin: 0 auto;} 
div>#layout {height: auto}

#header-top, #header-top a#header-logo {height: 93px;}
#header-top {background: #1c1c1c url('images/header-logo.gif') no-repeat 20px;}
#header-top a#header-logo {float: left; width: 332px;}
#header-top a {font-weight: bold; text-decoration: none;}
#header-top a:hover {text-decoration: underline;}

#header-top #pobocky {float: left; padding: 10px 0 0 220px;}
#header-top #pobocky ul {margin: 0; padding: 0;}
#header-top #pobocky ul li {font-size: 110%; margin: 0 0 0.5em 0; padding: 0 0 0 15px; list-style-type: none; background-image: url('images/bg-pobocky-li.gif'); background-repeat: no-repeat; background-position: left center; }
#header-top #pobocky ul li#active {background-image: url('images/bg-pobocky-li-active.gif')}
#header-top #header-cart {float: right; text-align: center; margin: 6px 0 0 0;}

#header { height: 279px; background: no-repeat; }
#header a { display: block; height: 279px; background: url('images/header_tv.gif') no-repeat 38px 112px;}
#header #header-kontakty {margin: 90px 0 0 480px;}
#header #header-cenik {margin: 104px 0 0 700px;}

#content { float: left; min-height: 400px; height: 400px; background: #000 url('images/bg-content.gif') no-repeat 0px top; }
div>#content {height: auto}
#content-left {float: left; width: 230px; overflow: hidden;}
#content-right {float: right; width: 680px; overflow: hidden;}

#footer {clear: both;  padding: 12px 0; color: #fff; font-size: 90%; background-color: #ce1300; border-top: 2px solid #fff;}
#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 */
#content #header-tool {float: right; margin: 15px 20px 0 0;}
#content #header-tool a, #header-tool span {float: left; display: block;}
#content #header-tool a {width: 12px; height: 10px; margin-top: 3px; background-position: 0 0; background-repeat: no-repeat;}
#content #header-tool a:hover {background-position: 0 -10px;}
#content #header-tool #tool-home {background-image: url('images/ico-home.gif');}
#content #header-tool #tool-mail {background-image: url('images/ico-mail.gif');}
#content #header-tool #tool-sitemap {background-image: url('images/ico-sitemap.gif');}
#content #header-tool a span {display: none;}
#content #header-tool span {margin: 0 6px;}

/* header-search */
#header-search {float: right; margin: 10px 10px 0 0;}
#header-search .form-search {font-size: 100%;  width: 113px; margin: 0 6px 0 0; padding: 8px 8px 8px 8px; background: transparent;}
#header-search form {background: url('images/bg-form-search.gif') no-repeat left center;}
#header-search #button-header-search { width: 22px; height: 22px; background: url('images/button-search.gif') center center no-repeat; border: 0; cursor: pointer; vertical-align: top; }

/* Breadcrumb */
#breadcrumb {padding: 15px 30px 0 30px; line-height: 155%;}
#breadcrumb span { margin: 0 4px; color: #CCCCCC; }

/* menu header */
#menu-header {height: 82px; background: url('images/bg-menu-header.gif') no-repeat 0px top;}
#menu-header ul#popupmenu {margin: 0; padding: 0;}
#menu-header ul#popupmenu li {position: relative; float: left; font-size: 125%; margin: 18px 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#popupmenu li a {position: relative; display: block; color: #c0c0c5; margin: 0 0 0 2px; padding: 16px 36px 20px 36px; text-decoration: none; font-weight: bold;}
#menu-header ul#popupmenu li.page-item-1 {background: none;}

#menu-header ul#popupmenu li a:hover,
#menu-header ul#popupmenu li.current_page_item a,
#menu-header ul#popupmenu li.current-cat a,
#menu-header ul#popupmenu li.current_page_parent a,
#menu-header ul#popupmenu li.current_page_parent ul li.current_page_item a,
#menu-header ul#popupmenu li.current_page_parent ul li a:hover,
#menu-header ul#popupmenu li a.CSStoHighLink {color: #c50c00;} 

/* 1. uroven */
#menu-header ul#popupmenu li ul { width: 130px; background-color: #000; border: 1px solid #555453;}
#menu-header ul#popupmenu li ul li {float: none; font-size: 8pt; margin: 0; padding: 0; background-image: none;}
#menu-header ul#popupmenu li ul li a,
#menu-header ul#popupmenu li.current_page_item ul li a,
#menu-header ul#popupmenu li.current_page_parent ul li a {color: #fff; margin: 0; padding: 10px;}

#menu-header ul#popupmenu li.current_page_parent li.current_page_item a,
#menu-header ul#popupmenu li ul li a:hover {background-color: #2d2d2d;}

/* skryti neaktivniho menu 1. uroven */
#menu-header ul#popupmenu li > ul {display: none; position: absolute; top: 52px;  left: 0px;}     
#menu-header ul#popupmenu li > ul li {z-index: 100;}
#menu-header ul#popupmenu ul.CSStoShow {display: block;}
#menu-header ul#popupmenu li:hover > ul {display: block;}



/* clanek */
#main {font-size: 110%; margin: 20px 30px; text-align: justify; line-height: 135%;}
#main img {border: 1px solid #1c1c1c;}
#main ul {margin: 0 0 2em 0;}
#main ol {margin: 0 0 1em 1em; padding-left: 1.3em;}
#main ul li {font-weight: bold; margin: 0 0 0.8em 0; padding: 2px 0 2px 22px; background: url('images/bg-li.gif') 0 1px 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 {clear: both; color: #68686e;}
#main .main-more {clear: both; text-align: right; font-weight: bold;}
#main .main-perex {margin: 0 0 2em 0;}
#main .text-next {clear: both; text-align: right; margin: 0 0 2em 0;}

.paging-bottom-left {float: left;}
.paging-bottom-right {float: right;}

.text-center {text-align: center;}
.text-small {font-size: 90%;}

/* 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 {margin: 0 0 2px 7px; display: inline;}
img.alignleft {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; font-size: 90%;}

/* small font */
#main .paging,
#main .main-date,
#content-left .block-date {text-align: right; font-size: 90%;}

/* obrazek bez okraje */
img,
#header-search .form-search,
#main .table-form td img,
#main .noborder {border: 0;}

/* systemove moduly */


/* formular wpcf7  */
.wpcf7 {margin: 0 0 0 0;}

.wpcf7 input, .wpcf7 select, .wpcf7 textarea {margin: 3px 8px 0 0;}
.wpcf7 select {width: auto;}

.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: #c50c00;}
.form-text01, .form-text02, .form-text03, .form-textarea, select {background-color: #fff;}
.form-text01-foc, .form-text02-foc, .form-text03-foc, .form-textarea-foc {background-color: #f8e1e0; border-color: #000;}

.form-text01, .form-text01-foc {width: 280px;} 
.form-text02, .form-text02-foc {width: 120px;} 
.form-text03, .form-text03-foc {width: 32px;}
#form-captcha {width: 50px;}
.form-textarea, .form-textarea-foc {width: 280px; height: 100px;}

.form-required { color: #c50c00; padding-left: 0.1em; }

div.wpcf7-response-output {margin: 2em 0.5em 1em; padding: 0.2em 1em;}
div.wpcf7-mail-sent-ok {color: #000; border: 2px solid #398f14; background-color: #fff;}
div.wpcf7-mail-sent-ng {color: #000; border: 2px solid #ff0000; background-color: #fff;}
div.wpcf7-spam-blocked {color: #000; border: 2px solid #ffa500; background-color: #fff;}
div.wpcf7-validation-errors {color: #000; border: 2px solid #f7e700;}
span.wpcf7-form-control-wrap {}
span.wpcf7-not-valid-tip { color: #000; position: relative; top: -16px; z-index: 100; background: #fff; border: 1px solid #ff0000; font-size: 10pt; padding: 2px; white-space: nowrap;}
span.wpcf7-not-valid-tip-no-ajax {color: #f00; font-size: 10pt; display: block;}
span.wpcf7-list-item {margin-left: 0.5em;} 
#main .wpcf7-captcha-captcha {border: 0; 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 clanek */
.table-article {width: 70%; border: 2px solid #525252; }
.table-article td, .table-article th {padding: 5px; border: 1px solid #525252;}
.table-article th {text-align: center; background-color: #c7d9ed;}
.table-article td {background-color: #1c1c1c;}
.table-article tr.licha td {background-color: #440400;}

/* tabulky */
.table-info {width: 100%; margin: 0 0 2em 0; border: 1px solid #480400; background: url('images/bg-table-info.gif') no-repeat center top;}
.table-info td {text-align: center; width: 20%; padding: 8px;}
.table-info td a {color: #fff;}
#main .table-info td img {border: 0;}
.table-info td strong,
.table-info td strong a { font-size: 110%; color: #c50c00; text-decoration: underline;}

.table-ref {width: 100%;}
.table-ref th,
.table-ref td {text-align: center;}
.table-ref th {font-size: 110%; padding-bottom: 1em;}
.table-ref td {width: 50%; padding: 10px;}
#main .table-ref a img {border: 3px solid #b31100;}
#main .table-ref a:hover img {border: 3px solid #4a4f52;}

/* Gallery */
.gallery {margin-bottom: 5px;}
#main .gallery .gallery-item a img {border: 3px solid #4a4f52;}
#main .gallery .gallery-item a:hover img {border: 3px solid #b31100;}
.gallery .gallery-item {float: left; width: 45%; text-align: center; padding: 15px;}
.gallery .gallery-icon {}
.gallery .gallery-item h2 {font-size: 90%; margin: 0.5em 0 0 0;}

/* 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('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('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('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%;}
