/*  
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: #f8efc7; 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 { color: #7a1c24; font-size: 180%; margin: 0 0 1em 0;}
h2, h3, h4 {margin: 0 0 0.5em 0; padding: 0;}
h2 { font-size: 120%; color: #7a1c24;}
#main h2 {font-style: italic;}
h3 { font-size: 110%; color: #666666; }
h4 { font-size: 105%; color: #000; }
h5 { font-size: 100%; color: #000; }
h6 { font-size: 100%; color: #000; }

table {border-collapse: collapse;} 
td {vertical-align: top; padding: 5px;} 

a {color: #7a1c24; text-decoration: none }
a:hover {text-decoration: none;  text-decoration: underline;}
#main a,
#main h2 a:hover {text-decoration: underline;}
#main a:hover,
#main h2 a {text-decoration: none;}

.cleaner {clear: both; line-height: 0; visibility: hidden; font-size: 0;}

/* layout */
#layout, #footer {width: 964px;}
#layout { text-align: left; min-height: 100%; margin: 55px auto 0 auto;} 

/* content */
#content {clear: both; width: 944px; clear: both; float: left; padding: 10px; background-color: #fff;}
div>#content {height: auto}

#content-left {float: left; width: 744px;}
#content-right {float: right; width: 200px; overflow: hidden;}

#content-left-inner {margin: 10px 0 0 0;}
#content-left-inner-left {float: left; width: 190px;}
#content-left-inner-left,
#menu-content-left-inner-left {margin: 0 0 2em 0;}

#content-left-inner-right {float: right; width: 554px; min-height: 400px; height: 400px;}
div>#content-left-inner-right {height: auto}


/* header */
#header, #header #header-top, #header #header-bottom {width: 744px;}
#header #header-top {height: 92px;}
#header #header-top {margin-bottom: 10px; }
#header #header-top #header-logo {float: left; margin: -52px 0 0 -37px; position: relative; height: 138px; width: 204px; z-index: 10;}



/* Breadcrumb */
#breadcrumb {font-size: 90%; margin: 0 0 0 26px; line-height: 155%;}
#breadcrumb span {color: #7fb50a; margin: 0 4px 0 4px;}


#footer {clear: both;  font-size: 90%; text-align: center; padding: 10px 0;}
#footer #copyright {color: #000; padding: 0 8px;}
#footer #copyright a {color: #598001;}
#footer #copyright span {margin: 0 0.5em;}
#footer #copyright #rss-feed {padding: 2px 0 2px 20px; background: url('images/feed.gif') left center no-repeat;}



/* header-search */
#content-right-search {text-align: right; margin: 14px 0 24px 0; padding: 0 0 0 0;}
#content-right-search .form-search {width: 146px; font-size: 100%; margin: 0 5px 0 0; padding: 3px 3px 3px 3px; border: 1px solid #000;}
#content-right-search form {display: inline;}
#content-right-search #button-header-search {width: 23px; height: 23px; margin: 0 0 0 0; background: url('images/button-search.gif') center center no-repeat; border: 0; cursor: pointer; }

#language {float: left; padding: 7px 0 0 595px;}
#language a {color: #58595b;}

/* menu */

/* menu-layout-topt */
#menu-layout-top {text-transform: uppercase;}
#menu-layout-top ul {float: right; margin: 0 0 0 0; padding: 0 0 0 0;}
#menu-layout-top ul li {float: left;  text-align: center; width: 93px; margin: 0 0 0 8px; padding: 8px 0 6px 0; background-image: url('images/bg-menu-layout-top.gif'); background-repeat: no-repeat; background-position: 0px top; list-style-type: none;}
#menu-layout-top ul li.current_page_item {background-image: url('images/bg-menu-layout-top-active.gif');}
#menu-layout-top ul li a { color: #fff; font-weight: bold; letter-spacing: 0.1em;}
#menu-layout-top ul li.current_page_item a {color: #000;}
#menu-layout-top ul li.current_page_item a:hover {text-decoration: none;}


/* menu header */
#menu-header {float: right; padding: 74px 0 0 0; text-transform: uppercase; text-align: right; font-weight: bold;}
#menu-header ul { margin: 0 0 0 0; padding: 0 0 0 4px;}
#menu-header ul li {display: inline; font-size: 95%; margin: 0 0 0 2px; padding: 0 0 0 6px; background: url('images/bg-menu-header-li-sep.gif') no-repeat left  center; list-style-type: none; }
#menu-header ul li a {color: #796b5d;}
#menu-header ul li.page-item-4 {padding: 0; margin: 0; background: none;}
#menu-header ul li.current_page_item a,
#menu-header ul li a:hover {color: #000; text-decoration: none;}


/* menu content inner left */
#menu-content-left-inner-left {background-color: #f9f1cc;}
#menu-content-left-inner-left ul {margin: 0 0 0 0; padding: 0 0 0 0;}
#menu-content-left-inner-left ul li { font-size: 110%; font-weight: bold; margin: 0 0 2px 0;  list-style-type: none;}
#menu-content-left-inner-left ul li a {display: block; background-color: #7a1c24; color: #fff; text-decoration: none; padding: 6px 12px;}

#menu-content-left-inner-left ul li a:hover,
#menu-content-left-inner-left ul li.current_page_parent a,
#menu-content-left-inner-left ul li.current_page_item a {color: #f9f1cc;}

/* menu content inner left 2. uroven */
#menu-content-left-inner-left ul li ul {margin: 0.5em 5px 1.5em 5px;}
#menu-content-left-inner-left ul li ul li { font-size: 100%; font-weight: normal; text-transform: none; margin: 0 0 0 0; padding: 0 0 0 10px; background: url('images/bg-menu-content-inner-left-child.gif') no-repeat left 4px; }

#menu-content-left-inner-left ul li ul li a,
#menu-content-left-inner-left ul li.current_page_parent ul li a {color: #000; padding: 0 0 0.5em 0; background-color: transparent;}

#menu-content-left-inner-left ul li ul li.current-cat a,
#menu-content-left-inner-left ul li ul li.current_page_item a,
#menu-content-left-inner-left ul li ul li a:hover {color: #696969;}








/* pravy sloupec */
#content-right .content-block-right {margin: 0 0 1em 24px;}
#content-right .content-block-right h2 { font-size: 110%; text-align: right; color: #fff; background-color: #7a1c24; margin: 0 0 1.5em 0; padding: 5px; text-transform: lowercase; }
#content-right .content-block-right h3 {font-size: 100%;}

/* partneri */
.textwidget {margin-top: 2.3em; text-align: center;}
.textwidget img {margin-top: 10px;}

/* intro */
#main-index {text-align: center;}
#main-index #intro-image {margin: 0 10px;}

/* fixni novinky uvod */
#newsfix {height: 275px; overflow: hidden;}

/* clanek */
#main {margin: 26px; 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 {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-date,
#content-right .content-block-right .block-date {color: #333333; text-align: right; font-size: 90%;}

#main .main-perex {margin: 0 0 2em 0;}

.paging-bottom-left {float: left;}
.paging-bottom-right {float: right;}

#main .main-more {clear: both; text-align: right; font-weight: bold;}
.center {text-align: center;}

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 {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;}


/* 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: #f4f9e8;}
.form-text01-foc, .form-text02-foc, .form-text03-foc, .form-textarea-foc {background-color: #fff; border-color: #72b500;}

.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  {color: #FF0000; }


/* 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 */

/* strankovani */
#main #wp_page_numbers ul {margin: 0; padding: 0;}
#main #wp_page_numbers ul li {display: inline; background: none; list-style-type: none; margin: 0; padding: 0 5px;}


/* Gallery */
.gallery {margin-bottom: 5px;}
.gallery .gallery-item img {border: 1px solid #CCCCCC;}
.gallery .gallery-item {float: left; text-align: center; padding: 5px; width: 30%;}
.gallery .gallery-icon {}
.gallery .gallery-item h2 {font-size: 90%; color: #000; 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('image/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%;}