/* Michael Tikhomirov @ 2009 */

html { background: #284751; }
body { background: #284751 url('images/body.jpg') no-repeat top center; }
body { padding: 0; width: 100%; min-width: 980px; display: table; line-height: 1.5em; font-size: 100%; }
body, input, select { font-family: "Liberation Sans", Arial, Helvetica, sans-serif; color: #333; }
#kovcheg { width: 960px; padding: 0 10px; margin: 0 auto; font-size: 0.75em; }
#kcontent { margin-top: 15px; overflow: hidden; width: 100%; }
#kleft, #kright, #kcenter { margin-bottom: 25px; }

#khead { height: 200px; width: 100%; position: relative; }
#khead #tohome { display: block; position: absolute; width: 350px; height: 140px; left: 310px; top: 20px; text-indent: -999999px; }

.kmenu { width: 894px; padding: 0 33px; height: 59px; background: #224F68 url('images/menu.gif') no-repeat top center; }
.kmenu li { float: left; display: block; width: 149px; height: 100%; margin: 0; padding: 0; }
.kmenu li a { height: 43px; padding-top: 16px; width: 100%; display: block; text-align: center; text-decoration: none; font-weight: bold; }
.kmenu li a:link, .kmenu li a:visited { background: #224F68 url('images/li.gif') no-repeat top center; color: #ccc; text-shadow: 1px 1px 0 #000; }
.kmenu li a:hover, .kmenu li a:active, .kmenu li.active a { background: #224F68 url('images/li.gif') no-repeat 0 -59px; color: #fff; text-shadow: 1px 1px 0 #444; }

.submenu { width: 940px; height: 40px; margin: 0 auto; background: url('images/submenu.jpg') 0 0 no-repeat; text-align: center; }
.submenu li { display: inline; padding: 0 10px; border-left: 1px dotted #fff; }
.submenu li:first-child { border: 0; }
.submenu li a { text-shadow: -1px -1px 0 #666; text-decoration: none; border-bottom: 1px solid #DAD18E; }
.submenu li a:link, .submenu li a:visited { color: #eee; }
.submenu li a:hover, .submenu li a:active { color: #fff; }

#kcenter { float: left; width: 690px; margin-right: 10px; margin-left: 260px; background: #345B68; }
#kcenter .boxer { background: #407080; border: 1px solid #4F8A9D; padding: 5px 5px 10px 5px; margin: 5px; margin-top: 20px; color: #eee; }
#kcenter .boxer:first-child { margin-top: 5px; }
#kcenter .boxer h1, #kcenter .boxer h2 { padding: 5px 20px; height: 25px; margin-bottom: 10px; position: relative; }
#kcenter .boxer h2 { color: #E6E299; border-bottom: 1px solid #D7CF8E; background: #4F8A9D; padding: 2px 20px; }
#kcenter h1 a, #kcenter h2 a { text-decoration: none; }
#kcenter .boxer a:link, #kcenter .boxer a:visited, #loginf a:link, #loginf a:visited { color: #E6E299; }
#kcenter .boxer a:hover, #kcenter .boxer a:active, #loginf a:hover, #loginf a:active { color: #E6E299; text-decoration: none; }
#kcenter p { margin: 0 0 20px 0; }
#kcenter p.otstup:first-letter { margin-left: 40px; }

#kleft { float: left; width: 250px; padding-right: 10px; margin-left: -960px; }
#kleft .boxer { background: #C5C392 url('images/lefter.gif') repeat-y 0 0; margin-bottom: 15px; padding: 0; }
#kleft .boxert { width: 100%; height: 50px; background: url('images/lefter_top.gif') no-repeat 0 0; }
#kleft .boxert h2 { text-align: right; text-transform: lowercase; height: 42px; padding: 8px 15px 0 0; color: #eee; letter-spacing: 1px; }
#kleft .boxerb { min-height: 82px; background: url('images/lefter_bottom.gif') no-repeat 0 bottom; padding: 0 15px 15px 15px; }
#kleft .boxer a:link, #kleft .boxer a:visited { color: #306B8F; }
#kleft .boxer a:hover, #kleft .boxer a:active { color: #306B8F; text-decoration: none; }

#kright { float: right; width: 185px; padding-left: 15px; }
#kright #rightbox { color: #6CC4DE; }
#kright #rightbox h2 { height: 30px; padding: 0 0 5px 0; margin: 15px 0 5px 0; text-align: center; color: #ccc; background: url('images/righth2.gif') no-repeat center bottom; }
#kright #rightbox a:link, #kright #rightbox a:visited { color: #6CC4DE; }
#kright #rightbox a:hover, #kright #rightbox a:active { color: #407080; }
#kright li a { display: block; padding: 0 0 0 19px; width: 100%; text-decoration: none; font-weight: bold; }
#kright li a:link, #kright li a:visited { background: url('images/rli.gif') no-repeat center left; }
#kright li a:hover, #kright li a:active { background: url('images/rli_hover.gif') no-repeat center left; color: #ccc !important; }

#kfoot { height: 200px; background: url('images/footer.jpg') no-repeat right bottom; }
#kfoot div { padding: 7px 20px; height: 26px; background: url('images/footdiv.gif') 0 0 repeat-x; color: #D7CF8E; text-align: center; }
#kfoot p { margin-top: 15px; width: 50%; color: #4F8A9D; }
#kfoot p a { color: #4F8A9D; }
#kfoot div a { color: #D7CF8E; }

#comein { display: block; width: 242px; height: 50px; margin: 20px auto 0 auto; text-indent: -999999px; margin-bottom: 20px; }
#comein:link, #khead #comein:visited { background: url('images/comein.gif') no-repeat top center; }
#comein:hover, #khead #comein:active { background: url('images/comein.gif') no-repeat 0 -50px; }

#loginf { width: 240px; margin: 0 auto 15px auto; background: #345B68 url('images/loginb.jpg') repeat-x 0 0; border: 1px solid #4F8A9D; }
#loginf h3 { font-size: 140%; color: #284751; padding: 5px 0 0 20px; }
#loginf label { display: none; }
#loginf form { padding: 0; width: 220px; margin: 0 auto; }
#loginf input { border: 1px solid #284751; padding: 2px 5px; }
#loginf #edit-name { background: #dcdcdc url('images/user.png') left center no-repeat; padding-left: 18px; width: 195px; }
#loginf #edit-pass { float: left; background: #dcdcdc url('images/pass.png') left center no-repeat; padding-left: 18px; width: 123px; }
#loginf #edit-submit { float: right; width: 60px; height: 22px; background: url('images/loginme.gif') no-repeat 0 0; padding: 0; border: 0; text-indent: -999999px; }
#loginf ul { clear: both; text-align: center; }
#loginf ul li { display: inline; }

.nodelinks { margin: 10px 50px; background: #345B68; border: 1px solid #4F8A9D; border-width: 1px 1px 0 1px; }
.nodelinks li { padding: 5px; border-bottom: 1px solid #4F8A9D; }
.nodelinks li a { display: block; padding: 0 0 0 19px; width: 100%; text-decoration: none; font-weight: bold; }
.nodelinks li a:link, .nodelinks li a:visited { background: url('images/rli.gif') no-repeat center left; color: #6CC4DE !important; }
.nodelinks li a:hover, .nodelinks li a:active { background: url('images/rli_hover.gif') no-repeat center left; color: #ccc !important; }

/* system stuff */
table, .krumo-root { width: 100%; font-size: 11px; margin: 10px 0; background-color: #fcfcfc; color: #666; }
table.system-status-report th, table td, table th { vertical-align: middle; border: 1px solid #fff; padding: 5px; }
table.system-status-report th { padding-left: 30px; }
table th { font-size: 9px; text-transform: uppercase; background: #345B68; color: #fff; font-weight: bold; border: 0; }
table tr.odd { background: #CBE8F1; }
table td.active { background: #e4f0f8; }
table tr.odd td.active { background: #ecf8fc; }
table tr.selected td.active, table tr.selected td { background: #ffc; border-color: #eeb; }
table a, .tabs a, .krumo-root a { color: #4F8A9D !important; }

.feed-icon { position: absolute; right: 15px; top: 5px; }
.feed-icon img { vertical-align: middle; }
#page-title { background: #345B68; border: 0 !important; color: #fff !important; }
.messages, .warning { margin: 15px auto; }
.warning { color: #F6A22E !important; }
.error { border: 1px solid #800 !important; color: #800 !important; }
#recaptcha_widget_div { margin: 5px auto; width: 318px; border: 1px solid #222; }

.submitted { border-bottom: 1px dotted #D7CF8E; color: #ccc; padding-left: 21px; background: url('images/submitted.gif') no-repeat left center; }
.comment { border: 1px solid #345B68; margin: 5px; padding: 5px; background: #4F8A9D; }
.new { display: none; }
.pager { margin: 10px 0 0 0 !important; }
.pager li { padding: 0 !important; }
.pager-last, .pager-next, .pager-previous, .pager-first { font-size: 11px; }
.pager .pager-item a { padding: 5px; background: #4F8A9D; text-decoration: none; font-weight: bold; }
.pager .pager-item a:link, .pager .pager-item a:visited { border: 1px solid #345B68; }
.pager .pager-item a:hover, .pager .pager-item a:active { border: 1px solid #D7CF8E; }
#kcenter .knode { margin-top: 20px; margin-bottom: 5px; }

/* forms */
textarea { font-family: "Liberation Mono", "Courier New", Courier, monospace; color: #345B68; }
.form-text, select { padding: 2px 5px; }
.form-text, textarea, select { background: #ccc; border-bottom: 1px solid #fff; border-right: 1px solid #fff; border-left: 1px solid #222; border-top: 1px solid #222; }
.form-text:focus, textarea:focus { background: #E4E1B4; }
#contact-mail-page .form-item, #comment-form .form-item, #user-login .form-item { text-align: center; }
#comment-form .form-item *, #user-login .form-item * { text-align: left; }
#contact-mail-page label, #comment-form label, #user-login label { display: block; text-align: left; margin: 10px auto 0 auto; padding: 5px 0; border-top: 1px dotted #D7CF8E; }
#comment-form .form-item:first-child label, #user-login .form-item:first-child label { border: 0; }
#contact-mail-page input, #comment-form input, #user-login input { width: 450px; }
#contact-mail-page .resizable-textarea, #comment-form .resizable-textarea, #contact-mail-page label, #comment-form label, #user-login label { width: 460px; }
#contact-mail-page .resizable-textarea, #comment-form .resizable-textarea { margin: 0 auto; }
.form-submit { cursor: pointer; border: 1px solid #fff; background: #345B68; color: #fff; font-weight: bold; text-align: center; }
.form-submit:hover, .form-submit:hover { background: #4F8A9D; }
#contact-mail-page .form-submit, #comment-form .form-submit, #user-login .form-submit { display: block; margin: 5px auto; width: 458px;  }
.form-checkbox, .form-radio { width: 20px !important; }

#page-title { letter-spacing: 1px; }

/* gallery */
.kgal { float: none; margin: 0 auto 25px auto; width: 950px; background: #284751; }
.kgal, .kgal p { color: #ccc; }
.kgal h2 { color: #fff; padding: 0 0 10px 0; }
.kgal p, .kgal h2, .kgal h4, .kgal .meta { text-align: left; }
.content p { text-align: justify; }