/* Globals 
=================================== */

* { margin: 0; padding: 0; }

body {
	background: #fff url('images/bg1.gif') repeat-x;
	color:#3f3f3f;
	font-family: Arial,Verdana,Tahoma,sans-serif;
	line-height:20px;
	font-size:14px;
	margin:0 auto;
	padding:0;
}

a { color: #0099cc; text-decoration: none; }
a:hover { color: #0099cc; text-decoration: underline; }

.alt { background-color: #fff; }

pre, code { font: 1.0em Monaco, 'Courier New', monospace; }

pre, p { margin-bottom: 1.0em; }

.left { float: left; }

.right { float: right; }

.delete:hover {
	background-color: #fff;
	color: #3f3f3f;
}

.red_stroka {
	text-indent:15px;
	margin-bottom: 5px;
	margin-left: 10px;
	margin-right: 10px;
	text-align:justify;
	}

a img {
   border: none;
}

h1 { font-size: 2em; }

h2 { 
      font-size: 18px;
      color: #0099cc;
 }

fieldset {
	border-width: 0;
	padding: 0;
	margin: 0;
}

img.avatar { border: none; }

.bozo { background-color: #fff; }

.alt.bozo { background-color: #fff; }

.deleted { background-color: #fff; }

.alt.deleted { background-color: #fff; }

/* Structure
=================================== */

#wrapper {
      margin: 0 auto;
	width: 95%;
	float:center;
}

#header {
	width: 95%;
	height: 200px;
}

.headerright{ 
      padding-right:30px;
      padding-top:40px;
      float:right; 
      text-align:right;
}
	
.headerleft{      
	height:90px;
  	width: 610px;
	outline: none;
      padding-top:30px;
	float:left;
}

#image { padding-top: 10px; }
#head { border-bottom: 1px dotted #bfeef5;}
#submenu { padding-top: 10px; font-size:14px; color:#0099cc; }
#submenu a:link, #submenu  a:visited, #submenu a:active { text-decoration: none;font-size:14px; font-family: Arial,Verdana,Tahoma,sans-serif;
font-weight: normal; color:#0099cc; margin-left:10px; margin-right:10px; }
#submenu a:hover { text-decoration: underline; }


#header h1 {
	font-family: Arial,Verdana,Tahoma,sans-serif;
	font-style: italic;
	overflow: auto;
	position: absolute;
	display: block;
	color: #0099cc;
	text-align: left;
	letter-spacing: -1px;
	right: 53px;
	bottom: 26px;
	padding: 6px;
	z-index: 2;
}

#header p.description {
	overflow: auto;
	position: absolute;
	display: block;
	color: #3f3f3f;
	text-align: left;
	left: 40px;
	padding-top: 120px;
	z-index: 2;
}

#header p { margin-bottom: 0; }

#header h1 a { color: #0099cc; text-decoration: none; }
#header h1 a:hover { color: #0099cc; }

#header div.search {
	float: right;
	padding: 4px;
}

/*************************************
 +Search
 *************************************/

#searchform{
	padding:0;
	margin:15px 0 0 0;
    float: right;
	}

#searchform input#s{
	margin:0;
	padding:5px;
	background: url(images/mglass.png) no-repeat;
	background-position:bottom right;
	-webkit-border-radius:11px 11px;
	-moz-border-radius:11px;
	-khtml-border-radius:11px;
	border-radius:11px;
	border:1px solid #0099cc;
	width:220px;
	font-size:11px;
	color: #a9a9a9;
	}

#searchform input#searchsubmit{
	border:none;
	background:#bfeef5;
	color:#fff;
	text-transform:lowercase;
	
	}

/*************************************
 +Hn and p
 *************************************/
#arcload{z-index:2;position:fixed;right:0;top:200px;color:#000;font-family: Arial,Serif;font-size:16pt; text-align:center;padding:5px;}

#arcload a {background: url(images/rss5.gif) no-repeat 0 0;
			display: block;
			height:150px;
  			width: 30px;
			outline: none;
			text-indent: -9999px;
			}

#arcload a:hover {
border-left:1px dotted #f77102;}

/*************************************
 +Izbrannoe
 *************************************/
#izbran{z-index:2;position:fixed;left:0;top:200px;color:#000;font-family: Arial,Serif;font-size:16pt; text-align:center;padding:5px;}

#izbran a {background: url(images/izbr1.gif) no-repeat 0 0;
			display: block;
			height:150px;
  			width: 30px;
			outline: none;
			text-indent: -9999px;
			}

#izbran a:hover {
border-right:1px dotted #0099cc;}

#main {
	font-size: 1.2em;
	width: 95%;
	margin: 0 auto 25px;
	position: relative;
}

.bbcrumb {
	font-size: 16px;
	letter-spacing: 1px;
	padding: 20px 0 20px;
	font-weight: normal;
}

.vcard {
	font-size: 16px;
	font-weight: normal;
	text-align: left;
	width: 45%;
}

p.reg {
	font-size: 16px;
	text-align: center;
	width: 55%;
}

#footer {
	background:#fff  url(./images/bg.gif) repeat-x;
	font-family: Arial,Verdana,Tahoma,sans-serif;
	width:100%;
	clear:both;
	margin:0;
	margin:0 auto; 
	text-align:center;
	color:#0099cc;
	clear:both;
	font-size: 12px;
	padding:0;
	}

.footer {
	clear:both;
	padding:40px 10px 10px 10px;
	margin:0;
	color: #0099cc;
	text-align:center; }

#footer p.showoff {
	color: #0099cc;
}

.notice {
	border: 1px dotted #bb2820;
	color: #bb2820;
	font-size: 1.1em;
	font-weight: bold;
	padding: 10px 15px;
	margin: 0 0 1.1em;
	text-align: center;
	width: 60%;
}

.notice.error {
	border: 1px dotted #bb2820;
	color: #bb2820;
	text-align: center;
	width: 60%;
}

.notice p { margin-bottom: 0; }

/* Login Form
=================================== */

.login {
    text-align: right;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 10px;
	font-weight: normal;
	color: #3f3f3f;
	font-size: 14px;
}

form.login {
	bottom: 0;
}

.login p { padding: 0 0 8px; }

.login label {
	float: right;
	padding-right: 10px;
	line-height: 14px;
}

form.login input {
	border: 1px solid #0099cc;
	padding: 2px;
	line-height: 14px;
	font-size: 12px;
	margin: 0;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

form.login input.submit {
	float: center;
	height:28px;
	width:150px;  
	padding:5px 0 5px 5px; 
	margin: 10px 0 0 5px;
	font-size:13px;
	font-family: Arial,Verdana,Tahoma,sans-serif; 
	font-style:normal;
	background:url(images/button-bg.gif) repeat-x; 
	border:1px solid #adadad!important;
	border-left-color:#ececec!important; 
	border-top-color:#ececec!important;
}

form.login input.submit:hover {
	background-color: #fff;
	color: #0099cc;
}

form.login input.submit:active {
	border-color: #0099cc;
}

div.remember label {
	clear: both;
	padding-right: 30px;
	margin: 6px 0 0 0;
	line-height: 12px;
}

form.login input#remember {
	border-width: 0;
	padding: 0;
	margin: 0;
	vertical-align: baseline;
}

/* Front Page
=================================== */


#front-page #discussions {
	float: left;
	left: 0;
	width: 100%;
}

.frontpageheatmap {
	font-weight: normal;
	line-height: 30px;
	padding-bottom: 10px;
}

#front-page #main h2, #forum-page #main h2, h2.post-form , #userlogin, #currentfavorites, #register, #passwordrecovery {
	color: #f77102;
	margin: 0 0 10px;
	padding: 0 0 5px;
}

#front-page #discussions ul { padding: 0 0 0 14px; }

.sticky { background-color: #fff; }

/* Page navigation
=================================== */

a.page-numbers,
span.page-numbers {
	border-right: 1px solid #0099cc;
	border-bottom: 1px solid #0099cc;
	border-left: 1px solid #bfeef5;
	border-top: 1px solid #bfeef5;
	padding: 4px 4px 2px 5px;
	margin-left: 5px;
}

span.page-numbers.current {
	color: #0099cc;
}

#latest a.page-numbers {
	font-size: 0.8em;
	padding: 3px 3px 1px 4px;
	margin-left: 3px;
}

a.prev.page-numbers,
a.next.page-numbers,
span.page-numbers.dots {
	border-width: 0;
	padding: 0 4px;
}

span.page-numbers.dots {
	padding: 0;
}

a.page-numbers:hover {
}

a.prev.page-numbers:hover,
a.next.page-numbers:hover {
	color: #bb2820;
}

/* Topic Page
=================================== */

.infobox {
	border: 1px dotted #0099cc;
	border-width: 1px 0;
	padding: 1em 0;
}

.infobox ul {
	margin: 10px 0 10px 20px;
	padding: 0;
	list-style-type: disc;
}

.infobox ul li { padding-bottom: 3px; }

#topic-info {
	float: left;
	padding: 0 1em 0 0;
}

#topic-tags {
	border-left: 1px dotted #0099cc;
	float: right;
	padding: 0 0 0 1em;
}

#tag-form p {
	margin-bottom: 0;
}

input#tag {
	background-color: #fff;
	border: 1px solid #0099cc;
	padding: 2px;
	line-height: 14px;
	font-size: 12px;
	margin: 0;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

input#tagformsub {
	height:28px;
	width:100px;  
	padding:5px 0 5px 5px; 
	margin: 10px 0 0 5px;
	font-size:13px;
	font-family: Arial,Verdana,Tahoma,sans-serif; 
	font-style:normal;
	background:url(images/button-bg.gif) repeat-x; 
	border:1px solid #adadad!important;
	border-left-color:#ececec!important; 
	border-top-color:#ececec!important;
}

input#tagformsub:hover {
	background-color: #fff;
	color: #0099cc;
}

input#tagformsub:active {
	background-color: #fff;
	border-color: #0099cc;
}

.nav {
	margin-top: -25px;
	padding-bottom: 50px;
	text-align: center;
}

#thread {
	list-style: none;
	margin: 2em 0 0 0;
	padding: 0;
}

#thread li {
	line-height: 1.5em;
	clear: both;
	/* Hack to force padding on .threadauthor on IE */
	border-top: 1px dotted #0099cc;
}

#thread li ol, #thread li ul { margin-left: 40px; }

#thread li ol li, #thread li ul li { padding: 0; }

.threadauthor {
	float: left;
	padding: 1em 1em 0 1em;
	width: 120px;
}

.threadauthor p { margin: 0; }

.threadauthor small { font: 14px Verdana, Arial, Helvetica, sans-serif; }

.threadpost {
	padding: 1.5em 1em;
	margin-left: 170px;
	background-color: #fff;
	text-align: left;
}

#thread li.alt .threadpost { background-color: transparent; }

#thread li.deleted { background-color: transparent; }

#thread li.deleted .threadpost { background-color: #ee8888; }

#thread li.alt.deleted .threadpost { background-color: #ff9999; }

#thread li .post-undelete-link, #thread li.deleted .post-delete-link { display: none; }
#thread li.deleted .post-undelete-link { display: inline; }

#thread li.deleted .before-post-delete-link, #thread li .before-post-undelete-link { display: none; }
#thread li.deleted span.before-post-undelete-link { display: inline; }
#thread li.deleted div.before-post-undelete-link { display: block; }
#thread li.deleted li.before-post-undelete-link { display: block; }

#thread li.pingback {
	margin-left: 170px;
	margin-top: 2px;
	margin-bottom: 2px;
	background-color: #e4f3e1;
	-moz-border-radius: 6px;
	-khtml-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border: 1px dotted #0099cc;
}

#thread li.pingback.alt {
	background-color: #fff;
}

#thread li.pingback .threadpost {
	background-color: #e4f3e1;
}

#thread li.pingback.alt .threadpost {
	background-color: #fff;
}

#thread li.pingback .threadauthor {
	float: none;
	padding: 0.9em 0.9em 0;
	width: auto;
}

#thread li.pingback .threadauthor strong {
	font-weight: normal;
}

#thread li.pingback .threadauthor small {
	color: #3f3f3f;
}

#thread li.pingback .threadpost {
	margin-left: 0;
	padding: 0.5em 0.9em 1.5em;
}

#thread li.pingback .post {
	font-style: italic;
	color: #333;
	margin: 0 0 0 2.4em;
	padding: 0 0 0 0.8em;
	border-left: 3px dotted #ccc;
}

#thread .post {
	_height: 90px; /* Hack to fix broken .alt coloring in IE6 */
}

#thread .post blockquote {
	margin: 0 0 0 2.4em;
	padding: 0 0 0 0.8em;
	border-left: 1px dotted #0099cc;
}

#thread .post li { clear:none; }

.poststuff {
	clear:both;
	_clear: none; /* Hack to fix broken .alt coloring in IE6 */
	border-top: 1px dotted #0099cc;
	margin: 10px 0 0;
	padding: 5px 0 0;
	font: 10px Verdana, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}

.num, #forumlist small {
	font: 13px Arial,Verdana,Helvetica,sans-serif;
	text-align: center;
	white-space: nowrap;
}

h2.post-form {
	border-bottom-width: 0;
	margin-bottom: 2px;
}

#newrss {
	height:28px;
	width:150px;  
	padding:5px 0 5px 5px; 
	margin: 10px 0 0 5px;
	font-size:13px;
	font-family: Arial,Verdana,Tahoma,sans-serif; 
	font-style:normal;
	background:url(images/button-bg.gif) repeat-x; 
	border:1px solid #adadad!important;
	border-left-color:#ececec!important; 
	border-top-color:#ececec!important;
}

.postform {
	background-color: #fff;
	padding: 1em;
	margin-bottom: 1em;
	-moz-border-radius: 6px;
	-khtml-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

.postform textarea {
	height: 12em;
	margin: 5px 0;
	padding: 5px;
	width: 724px;
	border: 1px dotted #0099cc;
	display: block;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.postform label { display: block; }

.postform #topic,
.postform #tags-input {
	margin: 5px 0;
	padding: 5px;
	width: 724px;
	border: 1px dotted #0099cc;
	display: block;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.postform p#post-form-forum-container label span {
	font-weight: bold;
	font-style: italic;
	color: #0099cc;
}

#manage-tags {
	margin: 10px 0;
	list-style: none;
}

#manage-tags li {
	float: left;
	width: 200px;
	padding-bottom: 10px;
}

p.submit { 
    text-align: right;
	padding-right: 0px;
}

p.allowed { margin-bottom: 0; }

.topiclink { display: block; }

.topictitle {
	font-size: 20px;
	font-weight: normal;
	display: inline;
}

p.rss-link {
	text-align: right;
}

a.rss-link {
	padding: 6px 0 6px 20px;
	background-image: url('images/feed-icon-16x16.gif');
	background-repeat: no-repeat;
	background-position: 0 50%;
}

#topic-move { margin-top: 1em; }

/* Other
=================================== */

#content .frontpageheatmap a {
	font-weight: normal;
	text-decoration: none;
}

#content .infobox li { margin-bottom: 2px; }

#content .nav a {
	border: 1px solid #0099cc;
	font-weight: normal;
}
#content .nav a:hover {
	border: 1px solid #0099cc;
}
#content a:visited {
	font-weight: normal;
}

#front-search {
	float: right;
	margin-top: -8px;
}

#latest td, #forumlist td { padding: 5px 10px; }

#forumlist tr td div.nest {
	padding-left: 2.5ex;
}

#forumlist tr td div.nest a {
	color: #3f3f3f;
}

#latest tr:hover, #forumlist tr:hover, #favorites tr:hover { background-color: #fff; }

#latest th, #forumlist th, #favorites th {
	text-align: left;
	background-color: #fff;
	font: 14px Verdana,Arial,Helvetica,sans-serif;
	font-weight: normal;
	padding: 5px 9px;
	color: #3f3f3f;
}

#latest th a, #forumlist th a, #favorites th a {
	color: #bb2820;
}

#latest th a:hover, #forumlist th a:hover, #favorites th a:hover {
	color: #bb2820;
}

tr.bb-category td {
	background-color: #fff;
}

#latest, #forumlist {
	background-color: #fff;
	border-bottom: 1px dotted #0099cc;
	border-top: 1px dotted #0099cc;
	padding-bottom: 10px;
	padding-top: 10px;
	margin-bottom: 3em;
	width: 100%;
}

div.dogovor { margin: 0; padding: 5px 5px; background-color:#ffffff; border:1px dotted #0099cc; font-size: 12px;}

#favorites {
	background-color: #fff;
	margin-bottom: 3em;
	width: 80%;
}

p.favorites {
	text-align: left;
	width: 80%;
}

#latest, #forumlist {
	margin-top: -0.9em;
}

#discussions .nav {
	margin-bottom: 1em;
}

/* Profile Page
=================================== */

#profile-menu {
	list-style: none;
	float: left;
}

#profile-menu li {
	display: inline;
	margin-left: 3px;
}

#profile-menu li a {
	font-size: 14px;
	padding: 0px;
	top: -10px;
}

#useravatar { margin-bottom: 1em; }

#useravatar img { display: block; border-width: 3px; border-style: double; }

#userinfo { margin-top: 10px; }

#userinfo dt { font-weight: bold; }

#userinfo dd { margin: 0 0 5px; } 

#useractivity { margin: 15px 0 5px; }

#user-threads { 
    width: 45%;
    text-align: left;
}

#user-replies {
    width: 45%;
    text-align: left;
}

.user-recent { margin: 0 0 10px; }

.user-recent ol { margin: 5px 0 0 28px; }

.user-recent ol li { margin: 0 0 3px; }

/* Search
=================================== */

#topic-search-form fieldset {
	border-top: 1px dotted #0099cc;
	border-bottom: 1px dotted #0099cc;
	border-left: none;
	border-right: none;
	padding: 10px 0 10px 10px;
	margin-bottom: 15px;
	background-color: #fff;
	width: 50%;
}

#topic-search-form div {
	clear: both;
}

#topic-search-form div label {
	display: block;
	float: left;
	padding: 5px;
	text-align: right;
	width: 20%;
	vertical-align: top;
	padding-right: 1em;
	font-weight: normal;
}

#topic-search-form div div {
	display: block;
	float: left;
	clear: none;
	padding: 5px;
}

#topic-search-form div div input {
	width: 280px;
	border: 1px dotted #0099cc;
	background-color: #fff;
	padding: 2px;
	line-height: 14px;
	font-size: 12px;
	margin: 0;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#search-for { margin: 15px 0 5px; }

.search-results { margin: 0 0 10px; }

.search-results ol { margin: 5px 0 0 28px; }

.search-results ol li { margin: 0 0 3px; }

/* Login, Register, Profile Edit
=================================== */

#login-page fieldset,
#register-page fieldset,
#profile-page fieldset {
	border-top: 1px dotted #0099cc;
	border-bottom: 1px dotted #0099cc;
	border-left: none;
	border-right: none;
	padding: 10px 10px 10px 10px;
	margin-bottom: 15px;
	background-color: #fff;
	width: 53%;
}

#login-page legend,
#register-page legend,
#profile-page legend {
	font-weight: bold;
	color: #0099cc;
	padding: 0 20px;
}

#login-page fieldset table,
#register-page fieldset table,
#profile-page fieldset table {
	text-align: left;
	margin: 0 15px;
	width: 95%;
	border-collapse: collapse;
}

#login-page fieldset table th,
#register-page fieldset table th,
#profile-page fieldset table th {
	padding: 5px;
	text-align: right;
	width: 20%;
	vertical-align: top;
	padding-right: 1em;
}

#login-page fieldset table tr.error th em,
#register-page fieldset table tr.error th em,
#profile-page fieldset table tr.error th em {
	position: absolute;
	/* fieldset:padding-left + table:margin-left + table:width + td:padding-left + input:width + input:padding-right */
	left: 458px; /* 10 + 15 + 20% * ( 95% * (1200 - 10)  ) + 5 + 280 + 5 */
	margin-left: 1em; /* th:padding-right = 1em */
	color: #bb2820;
	font-style: normal;
}

#login-page fieldset table td,
#register-page fieldset table td,
#profile-page fieldset table td {
	padding: 5px;
}

#login-page fieldset table td p,
#register-page fieldset table td p,
#profile-page fieldset table td p{
	margin: 5px 0;
}

#login-page fieldset input[type=text],
#register-page fieldset input[type=text],
#profile-page fieldset input[type=text],
#login-page fieldset input[type=password],
#profile-page fieldset input[type=password] {
	width: 280px;
	border: 1px dotted #0099cc;
	padding: 2px;
	line-height: 14px;
	font-size: 12px;
	margin: 0;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#login-page fieldset p,
#register-page fieldset p,
#profile-page fieldset p {
	font-size: 12px;
	margin: 10px 16px;
}

#login-page tr.form-required label:before,
#register-page tr.form-required label:before,
#profile-page tr.form-required label:before,
p.required-message:before {
	content: ' * ';
	color: #bb2820;
	vertical-align: 10%;
}

.form-invalid {
	background-color: #bb2820 !important;
}

.form-invalid input {
	padding: 1px;
	border: 1px solid #bb2820 !important;
}

.hidden {
	display: none;
}

#pass-strength-result {
	padding: 2px;
	text-align: center;
	width: 280px;
	border: 1px solid #0099cc;
	background-color: #fff;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#pass-strength-result.bad {
	background-color: #ffeff7;
	border-color: #c69;
}

#pass-strength-result.good {
	background-color: #effff4;
	border-color: #66cc87;
}

#pass-strength-result.short {
	background-color: #e3e3e3;
}

#pass-strength-result.strong {
	background-color: #59ef86;
	border-color: #319f52;
}

p.submit input {
	height:28px;
	width:180px;  
	padding:5px 0 5px 5px; 
	margin: 10px 0 0 5px;
	font-size:13px;
	font-family: Arial,Verdana,Tahoma,sans-serif; 
	font-style:normal;
	background:url(images/button-bg.gif) repeat-x; 
	border:1px solid #adadad!important;
	border-left-color:#ececec!important; 
	border-top-color:#ececec!important;
}

p.submit input:hover {
	background-color: #fff;
	color: #0099cc;
}

p.submit input:active {
	border-color: #0099cc;
}
