/*   
Theme Name: acasting
Theme URI: http://www.a-casting.cz/
Description: WordPress theme created by <a href="http://webdesign.martinsimon.cz/">martinsimon.cz</a>
Author: Martin Šimon - http://webdesign.martinsimon.cz/
Author URI: http://webdesign.martinsimon.cz/
Template: acasting
Version: 1.0
.
Copying of this theme or just using a part of it is prohibited. If any questions, please contact author at martin (at) martinsimon . cz 
.
*/

html { margin: 0; padding: 0; border: 0; }
body { margin: 0; padding: 0; background: #f2f3ff; color: black; font-family: sans-serif; text-align: center; }
acronym { cursor: help; }
a { color: #101f72; }
a:hover { text-decoration: none; }
a img { border: 0; }
.hid { display: none; }
.arial { font-family: sans-serif; }

h1, h2, h3, h4 { font-family: 'Trebuchet MS', sans-serif; margin: 0; padding: 0; }
h1 a { text-decoration: none; }

#ho { height: 205px; background: #101f72 url('images/top-bck.jpg') repeat-x top left; margin: 0; padding: 0; }
#head { width: 760px; height: 205px; position: relative; margin: 0 auto; padding: 0; color: white; }
#head a { color: white; }
#hi { position: absolute; top: 0; left: 0; width: 210px; height: 205px; background: url('images/top-logo.jpg') no-repeat top left; margin: 0; padding: 0; }
#hi img { margin: 8px; padding: 0; }
#head h1 { position: absolute; top: 50px; left: 220px; height: 100px; width: 530px; color: white; font-size: 400%; line-height: 100px; font-weight: normal; overflow: hidden; }
#head h1 small { font-size: 60%; }

#menu { position: absolute; top: 165px; left: 220px; width: 550px; height: 40px; }
#menu ul { margin: 0 ; padding: 0; list-style: none; }
#menu li { display: inline; }
#menu li a { float: left; display: block; background: #f2f3ff; padding: 0; margin: 0; line-height: 40px; color: black; width: 105px; text-align: center; font-size: 90%; font-weight: bold; text-decoration: none; }
#menu li a span { text-decoration: underline; }
/* #menu li a:hover { color: white; text-decoration: none; background: #101f72 url('images/menu-bck.jpg') repeat-x top left; } */
#menu li a:hover { text-decoration: none; color: #ff9854; }
#menu li a:hover span { text-decoration: none; color: black; }

#middle { width: 760px; margin: 15px auto; background: #f2f3ff; }
* html #middle { width: 770px; margin: 15px auto; }
#ocont { width: 530px; float: right; }
#tcont { width: 530px; height: 10px; background: white url('images/content-top.jpg') no-repeat top left; }
#bcont { width: 530px; height: 10px; background: white url('images/content-bottom.jpg') no-repeat bottom left; margin: 0 0 10px 0; }
#content { width: 530px; background: white url('images/content-middle.jpg') repeat-y top left; text-align: justify; margin: 0; padding: 0; }
#obsah { width: 530px;  }
#obsah p { margin: 0; padding: 0.5em 1em 1em 1em; }
#obsah h2 { padding: 0 1em 0.5em 1em; margin: 0; font-size: 150%; color: #101f72; }
#obsah h3 { padding: 0 1em 0 1em; margin: 0; font-size: 110%; color: #101f72; }
#obsah ul { padding-top: 1em; padding-bottom: 1em; margin-top: 0; margin-bottom: 0; }
#obsah em { color: #2f2f2f; }

#left { width: 210px; }
* html #left { margin: 0 546px 0 0; }
#news, #lhs, #sps { background: white url('images/left-middle.jpg') repeat-y top left; }
#bnews, #blhs, #bsps { background: white url('images/left-bottom.jpg') repeat-y bottom left; width: 210px; height: 15px; }
#tlhs, #tsps { background: white url('images/left-top.jpg') repeat-y top left; width: 210px; height: 15px; }
#lhs, #sps { margin: 15px 0; }
#news h2 { width: 210px; height: 33px; padding: 2px 0 0 0; background: #ff9854 url('images/left-top-orange.jpg') no-repeat top left; font-size: 110%; line-height: 35px; }
#news ul { list-style: none; margin: 0; padding: 0; }
#news li { margin: 0; padding: 10px; font-size: 80%; text-align: left; }
#news li p { margin: 0; padding: 0; }
#news li p.date { font-weight: bold; margin: 2px 0; padding: 0; }

#footer { height: 100px; margin: 10px 0 0 0; background: #0f2379 url('images/footer-bck.jpg') repeat-x top left; clear: right; }
#footer p { font-size: 70%; color: white; margin: 0; padding: 10px 0; }
#footer p a { color: white; }

#mapa { text-align: center; padding: 1em 0; margin: 0; }
#mapa iframe { border: 1px solid #101f72; width: 450px; height: 450px; }

/* vložené obrázky */
p.wp-caption-text { display: none; }
div.wp-caption { margin: 0; padding: 0; }
div.wp-caption img { margin: 0; padding: 0; border: 1px solid #101f72; }
div.alignleft { float: left; margin: 0.2em 1em; }
div.alignright { float: right; margin: 0.2em 1em; }
div.aligncenter { text-align: center; margin: 0.2em auto; }

/* vložené obrázky */
.fg { text-align: center; }
.fg a img { border: 1px solid #101f72; margin: 3px; padding: 0; }
.fg a:hover img { border: 1px solid #ff9855; }

/* vložený formulář */
#wpcf7-f1-p10-o1 { margin: 0; padding: 0.5em 1em 1em 1em; }
.kfr { margin: 5px 0; }
