/*
Theme Name: 	Kulibin Main Theme
Theme URI: 		http://kulibin.org
Version: 		1.1
Author: 			Azamat Toktakunov aka sweedbes
Author URI: 	http://sweedbes.com/
----------------------------------------------- */

* { margin: 0; padding: 0; list-style: none; }
html, body { font: 12px Arial, Helvetica, sans-serif; color: #6b6b6b;  }
a { text-decoration: underline; color: #3d7fac; }
a:hover { text-decoration: none; }
a img { border: none; }
table { border-collapse: collapse; }


.algincenter { text-align: center; }
.alignleft { float: left; }
.alignright { float: right; }
 
.main { background: #fff url(images/bg.jpg) no-repeat top center; }

/* Layout
-----------------------------------------------*/
#site { position: relative; margin: 0 auto; width: 972px; }
* html #site { height: 800px; zoom: 1; }
#header { background: url(images/header-bg.jpg) no-repeat; height: 317px; }
#header span { display: none; }
.main #header h1 { position: absolute; top: 17px; left: 0; z-index: 999; width: 433px; height: 104px; background: url(images/logo.png);}
#header h1 a { display: block; height: 104px; }
.main #header h2 { position: absolute; top: 164px; left: 0px; width: 494px; height: 151px; background: url(images/slogan.png);}
.main #header .lang { position: absolute; top: 50px; right: 0; }
.main #header .ru {top: 5px; right: 38px; background: url(images/ru.gif); }
.main #header .en {top: 0px; right: 0px; background: url(images/en.gif); }
.main #header li { position: absolute; width: 33px; height: 28px; }
.main #header .en a { display: block; height: 28px; }

.main #wpmenu1 { position: absolute; top: 57px; left: 0; width: 712px; height: 146px; z-index: 998; }
.main #wpmenu1 a {position: absolute; display: block; height: 70px; text-indent: 2000px; overflow: hidden; }
* html .main #wpmenu1 a { zoom: 1; }
a.m-inovator { background: url(images/m-inovator.jpg); top: 70px; left: 0; width: 146px; }
a.m-investor { background: url(images/m-investor.jpg); top: 54px; left: 141px; width: 134px; }
a.m-openproject { background: url(images/m-openproject.jpg); top: 30px; left: 281px; width: 196px; }
a.m-about { background: url(images/m-about.jpg); top: 14px; left: 485px; width: 117px; }
a.m-contact { background: url(images/m-contact.jpg); top: -1px; right: 0; width: 103px; }

li a.act { background-position: 0 -78px; }

#container { position: relative; padding-top: 6px; overflow: hidden; min-height: 550px; margin-bottom: 20px; }
.empty { height: 40px; clear: both; }
#leftcol { position: absolute; width: 230px; top: 14px; left: 0; }
.in #leftcol { top: -1px; }
#leftcol .module, #wpmenu7 { margin-bottom: 20px; }
/*#wpmenu7 li {  }*/
#wpmenu7 a { margin: 6px 0; width: 230px; font-size: 13px; display: block; padding: 6px 0 6px 20px; font-weight: bold; }
#wpmenu7 a:hover { background: url(images/menu-hover.gif) no-repeat left center; }
#wpmenu7 a.selected { background: url(images/menu-active.gif) no-repeat left center; cursor: default; color: #4c4c4c; text-decoration: none; }

#leftcol .loginform { background: url(images/login-form.gif); width: 188px; background-repeat: no-repeat; height: 208px; padding: 9px 21px 0 21px; }
#leftcol .loginform h2 { font-size: 15px; color: #17649a; margin-bottom: 5px; }
#leftcol .loginform label { display: block; padding: 2px 0; }
#leftcol .loginform input { border: none; }
#leftcol .loginform .mid { width: 180px; border: 1px solid #b2b2b2; padding: 3px; color: #4c4c4c; }

#leftcol .loginform fieldset { border: none; margin-bottom: 14px; }

#leftcol .remember-me { float: left; width: 125px; padding-top:6px; }
#leftcol .remember-me input { float: left; margin: 2px 5px 0 1px; display: inline; }
* html #leftcol .remember-me input { margin: -3px 0 0; }
#leftcol #wp-submit { float: right; background: url(images/button.gif); width: 54px; height: 28px; cursor: pointer; }
.sidebarlogin_otherlinks { position: relative; top: 8px; clear: both; }
* html .sidebarlogin_otherlinks { top: -6px; }
.sidebarlogin_otherlinks li { text-align: right; clear: both; padding-right: 11px; }
.sidebarlogin_otherlinks li a { background: url(images/arrow-fpr.gif) no-repeat left 7px; padding-left: 11px; font-size: 11px; }

#leftcol .avatar_container { float: right; }
#content { margin-left: 231px; }
#content .block { width: 351px; float: left; margin: 0 0 31px 19px; display: inline; position: relative; }
#content .all { position: absolute; bottom: -7px; right: 0; font-size: 13px; font-weight: bold; text-decoration: underline !important; }
#content .second { color: #5d837d !important; } 
#content h2 { margin-bottom: 2px; }
#content .company { background: url(images/tbody-company.gif) no-repeat bottom; height: 343px; }
#content .company table { overflow: hidden; width: 351px; font-size: 11px; }
#content .company table th  {  color: #17649a; text-align: left; padding: 9px 7px;  font-size: 10px;}
#content .company table td { color: #737373; padding: 5px 7px; }
#content .company table td  strong { color: #17649a;  }
#content .company table tr:hover { background: #d4f7ff; cursor: pointer; }
#content .company table tr.first:hover { background: none; cursor: default; }

#content .project { background: url(images/tbody-project-b.gif) no-repeat bottom left; padding-bottom: 27px; }
#content .project .scroll { height: 276px; overflow-x: none; /*overflow-y: scroll;*/  }
#content .project .scroll .more-link { display: none; }

#content .project li { background: url(images/line-project.gif) repeat-x top left; overflow: hidden; /*padding: 9px 0;*/padding: 6px 0 0 0; font-size: 11px; height: 80px;margin-bottom:6px; }
#content .project li .c {margin-left:85px;}
#content .project li .c p.company_name {margin-bottom: 5px;font-size:12px;color:#396860;}
*html #content .project li { zoom: 1; }
#content .project li h3 { color: #17649a; font-size: 14px;margin: 0 0 5px 85px; line-height:15px; }
#content .project li a { text-decoration: none!important; }
#content .project li img { float: left; border: 1px solid #ccc; margin: 3px 10px 0 0; display: inline; }
#content .project li div {}
#content .project p a { color:#6B6B6B; }

#content .declaration { background: url(images/declaration-bg.gif); }
#content .declaration .inner { background: url(images/declaration-b.gif) no-repeat bottom; }
#content .declaration .title { background: url(images/declaration-t.gif); height: 38px; }
#content .declaration .title h2 { color: #396860; }
#content .declaration dl dt a { color: #004001;}

#content .news { background: url(images/news-bg.gif); }
#content .news .inner { background: url(images/news-b.gif) no-repeat bottom; }
#content .news .title { background: url(images/news-t.gif); height: 38px; }
#content .news .title h2 { color: #708090; } 
#content .news dl dt a { color: #17649a; }

#content .block .rss { float: right;  padding: 7px;}
#content .block .title { overflow: hidden; }
#content .block .inner { padding: 10px; }
#content .block .title h2 { float: left; font-weight: normal; font-size: 19px;  line-height: 37px; padding-left: 10px;}
#content .block dl { padding-bottom: 10px; }
#content .block dl dt { font-size: 15px; font-weight: bold; margin-bottom: 4px; }
#content .block dl dd { margin-bottom: 13px; }
#content .block dt a { text-decoration: none; }

#content .even dd a { text-decoration: none; color: #6B6B6B; }

#footer { height: 187px; border-top: 1px solid #ccc; background: #f2f2f2; }
#footer .intro { margin: 0 auto; width: 972px; position: relative; }
#footer .block { padding: 18px 0 0 242px; font-size: 10px; }
#footer .phone { position: absolute; top: 43px; left: 0; font-size: 24px }
#footer .copyright { padding: 20px 0 14px 10px }
#footer .author { padding-left: 10px; }
#footer .phone a {}

.in { background: url(images/bg-intro.jpg) repeat-x top left; }
.in #header { background: url(images/header-intro.jpg) no-repeat 0 36px; height: 255px; }
.in #header h1 { position: absolute; left: 0; top: 16px; background: url(images/logo-intro.jpg); width: 441px; height: 104px; }
.in #header h2 { left: 0; top: 200px; background: url(images/slogan-intro.jpg); width: 707px; height: 15px; }

.in .lang { position: absolute; right: 0; top: 103px; }
.in .lang li { float: left; width: 32px; height: 22px;}
.in .lang li.ru { background: url(images/ru-intro.gif); }
.in .lang li.en { background: url(images/en-intro.gif); }

.in #wpmenu1 { position: absolute; left: 0; top: 130px; width: auto; width: 800px; overflow: hidden; }
.in #wpmenu1 a { float: left; padding-right: 5px; height: 61px; overflow: hidden; text-indent: 2000px; }
* html .in #wpmenu1 a { zoom: 1; }

.in a.m-inovator { background: url(images/m-inovator-intro.jpg) no-repeat left top; width: 141px; }
.in a.m-investor { background: url(images/m-investor-intro.jpg) no-repeat left top; width: 133px; }
.in a.m-openproject { background: url(images/m-openproject-intro.jpg) no-repeat left top; width: 194px; }
.in a.m-about { background: url(images/m-about-intro.jpg) no-repeat left top; width: 114px; }
.in a.m-contact { background: url(images/m-contact-intro.jpg) no-repeat left top; width: 108px; }

.in a.m-inovator:hover, .in a.m-investor:hover, .in a.m-openproject:hover, .in a.m-about:hover, .in a.m-contact:hover { background-position: 0px -61px; }
.in a.selected { background-position: 0px -122px; }
.in a.active:hover { background-position: 0px -122px; }

.box { background: url(images/post-bg.gif); width: 722px; }
.box .top { background: url(images/post-t.gif) no-repeat top; height: 6px; }
.box .inner { background: url(images/post-b.gif) no-repeat bottom; padding: 18px 11px 28px 11px; }

.post { padding-bottom: 20px; }
.post h2 { color: #396860; font-size: 22px; font-weight: normal; }
.post h3 { color: #004001; font-size: 18px; font-weight: normal; }
.post h4 { color: #004001; font-size: 16px; font-weight: normal; }
.post p { color: #666666; font-size: 14px; line-height: 20px; margin-bottom: 12px; }
.post a { color: #3a6667; }
.post ul { margin: 8px; }
.post ul li { margin-left: 12px; list-style: disc; color: #666666; font-size: 14px; line-height: 20px; }
.post ol { margin: 8px; }
.post ol li { margin-left: 12px; list-style: decimal; color: #666666; font-size: 14px; line-height: 20px; }
.post .date { color: #999999; margin-bottom: 10px; }

.prj .post { overflow: hidden; }
* html .prj .post { zoom: 1; }
.prj .post h2 {color: #396860; font-size: 22px; font-weight: normal; margin: 0 0 5px 85px; }
.prj .post h2 a { text-decoration: none; }
.prj .post .more-link { display: none;}
.prj .post .yapb-image-link { float: left; border: 1px solid #ccc; margin: -24px 10px 0 0; display: inline; }

.category { margin-left: 250px !important; }
.statpage { padding: 10px; }
.statpage h3 { margin:43px 0 20px; font-size: 17px; }

.type { overflow: hidden; margin-bottom: 14px; }
.cf-ol .select { background: url(images/choose.gif); float: left;  height:32px; line-height:17px; padding:6px; width:246px; }
.cf-ol .select:hover { background-position: 0 44px; }
.cf-ol .select a { text-decoration: none; color: #888888; font-size:0.9em; text-decoration: none; cursor: default; }
.cf-ol .select a:hover { cursor: default;  }
.cf-ol .select a.active { background: #505050; color: #fff; display: block; }
.cf-ol .label { float: left; width: 150px; color:#AAAAAA; font-size:0.9em; }
.linklove { display: none; }
.innest .yapb-image { float: right; margin-top: -24px; }

.presentation, .no-presentation {}
.presentation table, .no-presentation table {}
.presentation table td {padding: 10px 0 0 10px; }
#leftcol .presentation table td input, textarea, .presentation table td select {margin: 3px 0 0 0; width: 250px; line-height: 17px; font-size: 12px; color: #6b6b6b; border: 1px #aaaaaa solid; height: 17px; padding: 3px; position: relative;}
.presentation table td input:hover, textarea:hover, .presentation table td select:hover {border: 1px #ffcc00 solid;}
.presentation table td input:focus, textarea:focus, .presentation table td select:focus {}
.presentation table td select {width: 256px; height: 25px; padding: 3px;}

.no-presentation table td { padding: 5px; }
.no-presentation table input { width: 256px; }
.no-presentation table input.button {width:auto;}
.no-presentation table select {width: 256px;}

.presentation table td textarea {width: 250px; height: 100px;}
#leftcol .presentation table td .button {width: auto; float: left; margin-right: 100px; height: 25px;}
.presentation table td.r_align {text-align: right;}
.presentation table td.textarea {vertical-align:top;}
.presentation table td.textarea label {line-height:2.5em;}

.presentation input.wrong, .presentation textarea.wrong {border-color:#faa;}