/**
 * LAYOUT RULES
 *
 * $Id: main.css 14 2008-07-07 12:48:58Z svoby $
 */

body { margin: 0; padding: 0; background: #91D8FF; color: black; }
p, ul, ol, table { margin: 0 0 1.6em; line-height: 1.6em; }
h1 { margin: -40px 0 0; padding-left: 20px; height: 40px; line-height: 40px; vertical-align: middle; background: white url(img/head-stripe.jpg) no-repeat 439px 0; color: black; position: relative;}

/* layout */
#header #logo, #main-center, #footer p { width: 960px; margin: 0 auto; }

#header { height: 159px; background: #E7F6FF url(img/header.png) repeat-x 0 0; text-align: center; border-top: 10px solid #005479; }
#header #logo { padding: 13px 0 16px; text-align: left; background: url(img/header-illust.jpg) no-repeat 100% 0; }
#header #logo img { vertical-align: middle; }
 
#main { background: #005479; }
#main-center { background: white url(img/main-center.gif) repeat-y 0 0; }

/* cols */
#col-l { width: 200px; float: left; margin-top: -40px; position: relative; _height: 1px; }
#col-r { width: 760px; float: right; }
#col-r .spc { padding: 30px 20px; }
#col-home-l { width: 342px; float: left; }
#col-home-l .spc { padding: 20px 20px 15px; text-align: justify; }
#col-home-l #home-text { background: #DEDEDE; }
#col-home-r { width: 418px; float: right; }
#col-home-r p { margin: 0; }
#col-home-r img { vertical-align: middle; }

/* menu */
#main-menu { padding: 40px 0; background: #D3EEF9 url(img/main-menu.gif) no-repeat 0 0; }
#main-menu ul { margin: 0; padding: 0;  list-style: none; }
#main-menu li { padding-left: 15px; background: #00688B; _height: 1px; }
#main-menu a { padding: 0.5em 20px; display: block; text-decoration: none; border-bottom: 1px solid #E7F6FB; background: #D3EEF9; _height: 1px; }
#main-menu a:hover { color: #156CCB; }
#main-menu li.active { background: #B8EB6A; }

/* perex */
#perex { padding: 30px 20px; background: #EEE; color: #444; font-weight: bold; }
#perex p { margin: 0; }

/* footer */
#footer { height: 112px; padding-top: 13px; background: url(img/footer.jpg) repeat-x 0 0; text-align: right; color: white; }
#footer a { color: white; text-decoration: none; }
#footer a:hover { color: black; }

/* news */
#news { margin-bottom: 40px; background: #C2ED7F url(img/news.jpg) no-repeat 0 0; }
#news .spc { padding: 10px 10px 7px; background: url(img/news-btt.jpg) no-repeat 0 100%;}
#news h3 { font-weight: normal; font-size: 100%; text-transform: uppercase; color: #FF4202; text-align: center; }
#news h4 span { font-size: 11px; color: #888; }
#news a { color: #156CCB; }

/* images - gallery */
#images { _margin-right: -30px; }
#images a { display: block; float: left; padding: 4px; margin: 0 30px 16px 0; text-align: center; text-decoration: none; background: #E1F3C1; font-size: 92%; _display: inline; }
#images img { display: block; }
#images.home { margin-right: -16px; }
#images.home a { margin-right: 16px; }

/* misc */
.break { clear: both; width: 100%; height: 1px; line-hieght: 1px; font-size: 1px; margin-bottom: -1px; } 
#rss { margin-bottom: 0; }