/* LAYOUT */

* {margin:0;padding:0}
html{background:#F7F8F9;color:#111;font:14px Verdana, Geneva, sans-serif}
body{}
.clear,.cl{clear:both;line-height:0;height:0;font-size:0}

/* TAGS */
h1{font-size:22px}
h2{font-size:20px}
h3{font-size:18px}
h4{font-size:16px}
h5{font-size:14px}
h6{font-size:12px}
h1,h2,h3,h4,h5,h6{font-weight:normal;padding-bottom:0.3em}
p{line-height:1.3}
a{outline:none}
a,a:active,a:visited{color:#111;text-decoration:underline}
a:hover{color:#222;text-decoration:none}
ul,li{list-style-type:none}
img{border:none}

/* BLOCKS */

#wrapper {
	float:left;
	width:100%;
}

#content{
	margin:10px 250px 0 250px;
	padding:20px 30px;
	background:#fff;
	overflow:hidden;
}

#left {
	float:left;
	width:240px;
	margin-left:-100%;
}

#right {
	float:left;
	width:240px;
	margin-left:-240px;
}

#header {
	position:relative;
	height:80px;
	background:url(images/header.gif);
}

#header h1 {
	position:absolute;
	top:27px;
	left:30px;
	font-size:22px;
	display:block;
}

#header h1 a {
	color:#fff;
	text-decoration:none;
}

#header h1 a span {
	color:#77D115;
}

.nav-main {
	display:block;
	position:absolute;
	top:32px;
	left:500px;
}

.nav-main li {
	display:block;
	float:left;
	margin-right:20px;
}

.nav-main li a {
	display:block;
	color:#efefef;
	font-size:15px;
}

#login-panel {
	position:absolute;
	top:10px;
	right:30px;
	font-size:15px;
	color:#efefef;
	color:#222;
	z-index:100;
}

#login-panel a {
	color:#efefef;
}

#topmenu {
	position:relative;
	height:90px;
	background:url(images/topmenu0.gif) repeat-x;
	margin-bottom:0px;
	z-index:30;
}

#topmenu1 {
	height:90px;
	background:url(images/topmenu1.gif) no-repeat;
}

#topmenu2 {
	height:10px;
	background:right top url(images/topmenu2.gif) no-repeat;
}

#topmenu ul.menu1 {
	padding:15px 0 0 30px;
	height:27px;
}

#topmenu ul.menu1 li {
	display:block;
	float:left;
	margin-right:5px;
}

#topmenu ul.menu1 li a {
	display:block;
	padding:4px 8px;
	font-size:14px;
	text-decoration:none;
	color:#838383;
	border-bottom:1px solid #F1F1F1;
}

#topmenu ul.menu1 li a:hover, #topmenu ul.menu1 li.current a {
	background:#fff;
	color:#000;
	border-bottom:1px solid #ccc;
}

#topmenu ul.menu2 {
	padding:8px 0 0 30px;
}

#topmenu ul.menu2 li {
	display:block;
	float:left;
	margin-right:10px;
}

#topmenu ul.menu2 li a {
	display:block;
	width:88px;
	height:20px;
	text-align:center;
	line-height:20px;
	font-size:10px;
	text-decoration:underline;
	color:#8a8a8a;
}

#topmenu ul.menu2 li a:hover, #topmenu ul.menu2 li.current a {
	background:url(images/menu2.gif) no-repeat;
	color:#fff;
	text-decoration:none;
	font-weight:bold;
}

#topsearch {
	position:absolute;
	top:30px;
	right:30px;
	display:block;
	width:213px;
	height:25px;
	background:url(images/topsearch.gif) no-repeat;
	padding:0;
	margin:0;
	z-index:50;
}

#topsearch .search-query {
	display:block;
	float:left;
	margin:3px 5px 0 8px;
	width:173px;
	padding:2px 0;
	background:none;
	border:none;
	color:#ccc;
}

#topsearch .ssubmit {
	display:block;
	float:left;
	height:25px;
	width:25px;
	background:none;
	border:none;
	padding:0;
	margin:0;
	cursor:pointer;
}

.widget {
	width:250px;
	margin-bottom:10px;
	background:url(images/widget-bg.gif) repeat-y;
}

.widget .top {
	width:250px;
	height:24px;
	background:url(images/widget-top.gif) no-repeat;
}

.widget .bottom {
	width:250px;
	height:24px;
	background:url(images/widget-bottom.gif) no-repeat;
}

.widget-entry {
	padding:0 25px;
	font-size:11px;
	color:#555;
}

.widget-entry a {
	color:#999;
	text-decoration:none;
}

.widget-entry a span {
	color:#222;
}

.widget-entry ul li {
	padding:2px 0;
}

.widget-meta {
	padding-top:5px;
	text-align:right;
	color:#70AAE0;
}

.widget-meta a {
	color:#70AAE0;
}

.widget a:hover {
	text-decoration:underline;
}

.post {
	padding-bottom:30px;
}

.post h2.title {
	padding-left:25px;
	background:left center no-repeat;
	margin-left:-25px;
	color:#70AAE0;
}

.post h2.title a {
	color:#999;
	text-decoration:underline;
}

.post .entry {
	line-height:1.5;
}

.post .entry img {
	display:block;
	clear:both;
	margin:5px 0;
	padding:3px;
	border:0px solid #ccc;
	background:#efefef;
	max-width:640px;
}

.post .meta {
	position:relative;
	display:block;
	padding:5px 0;
	margin:5px 0;
	font-size:11px;
	color:#777;
	border-top:1px solid #eee;
	border-bottom:1px solid #eee;
}

.post .meta a {
	color:#70AAE0;
	text-decoration:none;
}

.post .full-link a {
	font-weight:bold;
	color:#000;
	text-decoration:underline;
}

#ratingg {
	position:absolute;
	top:10px;
	right:0;
	width:170px;
	display:block;
	height:16px;
	float:right;
}

/* comments */

.com-block {
	padding:5px 10px;
	background:#F7F8F9;
	margin-bottom:2px;
}

.com-block textarea {
	width:455px;
	height:100px;
	background:#F7F8F9;
	color:#222;
	border:1px solid #777;
}

.comment {
	position:relative;
	background:#F7F8F9;
	margin-bottom:2px;
}

.left-com {
	width:100px;
	float:left;
	padding:5px;
}

.left-com img.ava {
	display:block;
	width:100px;
	height:100px;
}

.right-com {
	padding:5px;
	margin-left:110px;
}

.meta-com {
	padding-bottom:5px;
	margin-bottom:5px;
	border-bottom:1px solid #ccc;
	line-height:1;
}

.author-com {
	padding-bottom:3px;
	margin-bottom:4px;
	border-bottom:1px solid #ccc;
	font-weight:bold;
}

.comment p {
	padding:5px 0;
}

.comment small {
	color:#777;
	font-size:10px;
}

.comment small a {
	color:#777;
}

#submit-comment {
	padding:5px 10px;
}

#footer {
	clear:left;
	width:100%;
	background:#333;
	color:#FFF;
	padding:20px 0;
	font-size:11px;
}

#footer p {
	text-align:center;
}

#footer a {
	color:#fff;
}

#repa_plus {padding-left: 5px; padding-right: 5px; padding-top: 2px; height: 20px; color: #000; font-weight: bold; background-color: #7fdf7f; font-family: verdana; cursor: move;}
#repa_minus {padding-left: 5px; padding-right: 5px; padding-top: 2px; height: 20px; color: #000; font-weight: bold; background-color: #f7a79f; font-family: verdana; cursor: move;}
#repa_none {padding-left: 5px; padding-right: 5px; padding-top: 2px; height: 20px; color: #fff; font-weight: bold; background-color: #ff8b2d; font-family: verdana; cursor: move;}
#repa_ava {float:left;padding-right:10px;width:80px;height:80px;}
#repa_info {float:left;padding-right:10px;height:80px;}

.full-block-user {
	position:relative;
	padding:10px;
	margin-bottom:10px;
	border:1px solid #efefef;
}

.full-block-user h4 {
	font-weight:bold;
}
#easyTooltip{
    padding:10px;
    border:1px solid #999999;
    background:#f1f1f1;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    color: #666666;
    filter:alpha(opacity=90);
    -moz-opacity: 0.9;
    -khtml-opacity: 0.9;
    opacity: 0.9;
    }
/*настройка кнопок*/
.fbutton, .btn_reglog, .vresult, .bbcodes { border: 0 none; background: none; cursor: pointer; }

	.btn_reglog { background: #f2f2f2 url("../images/bbcodes.png") repeat-x; border: 1px solid #c5c5c5; color: #7d7d7d; width: 108px; height: 21px; padding-bottom: 3px; font-weight: bold; }
	.btn_reglog:hover { background: #fff none; }

	.vresult { color: #77419c; padding: 7px 3px 3px 3px; }
	.fbutton, .bbcodes { border: 1px solid #9ea3b5; height: 26px; color: #77419c; padding: 2px 15px 4px 15px; background: #fff url("../images/fbutton.png") repeat-x 0 100%; font-weight: bold; }
	.fbutton:hover, .bbcodes:hover { background: #fff none; border-color: #b0b6c8; }
	.fbutton, .btn_reglog, .bbcodes {
		-moz-box-shadow: 0 1px 4px -2px black;
		-webkit-box-shadow: 0 1px 4px -2px black;
        box-shadow: 0 1px 4px -2px black;
		-webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px;
		margin-bottom: 2px;
	}

/*---Диалоговые и всплывающие окна jQuery UI---*/
.ui-helper-clearfix:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
* html .ui-helper-clearfix { height: 1%; }
.ui-helper-clearfix { display: block; }
.ui-icon { background-repeat: no-repeat; display: block; overflow: hidden; text-indent: -99999px; }
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button, .ui-widget { font-size: 11px; }
.ui-widget-content { background: #fff 50% bottom repeat-x; border: 1px solid #dedede; color: #222; }
.ui-widget-header {
	background: #cccccc url(../images/ui-bg_gloss-wave.png) 50% 50% repeat-x;
	color: #000;
	font-weight: bold;
}
.ui-widget-header a { color: #fff; }
.ui-state-default, .ui-widget-content .ui-state-default {
	background: #eaeaea url(../images/ui-bg_glass_85.png) 50% 50% repeat-x;
	border: 1px solid #cfcfcf;
	color: #868686;
	font-weight: bold;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #2e6e9e; text-decoration: none; }
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
	background: #eaeaea url(../images/ui-bg_glass_75.png) 50% 50% repeat-x;
	border: 1px solid #a7a7a7;
	color: #4e4e4e;
	font-weight: bold;
}
.ui-state-hover a, .ui-state-hover a:hover { color: #1d5987; text-decoration: none; }
.ui-state-active, .ui-widget-content .ui-state-active {
	background: #d0e5f5 50% 50% repeat-x;
	border: 1px solid #a7a7a7;
	color: #e17009;
	font-weight: bold;
}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #e17009; text-decoration: none; }
.ui-widget :active { outline: none; }
.ui-state-error {
	background: #fef1ec 50% 50% repeat-x;
	border: 1px solid #dedede;
	color: #cd0a0a;
}
.ui-widget-header .ui-icon { background-image: url(../images/ui-icons.png); }
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon { background-image: url(../images/ui-icons_h.png); }
.ui-icon-close { background-position: -80px -128px; }
.ui-icon-closethick { background-position: -96px -128px; }
.ui-button .ui-button-text { display: block; line-height: 1.4em; }
.ui-button-text-only .ui-button-text { padding: .4em .8em; }
input.ui-button { padding: .4em 1em; }
.ui-button-set { margin-right: 7px; }
.ui-button-set .ui-button { margin-left: 0; margin-right: -.3em; }
button.ui-button::-moz-focus-inner { border: 0; padding: 0; }
.ui-dialog {
	overflow: hidden;
	padding: .2em;
	position: absolute;
	width: 300px;
    -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}
.ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; }
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; }
.ui-dialog .ui-dialog-titlebar-close {
	height: 18px;
	margin: -10px 0 0 0;
	padding: 1px;
	position: absolute;
	right: .3em;
	top: 50%;
	width: 19px;
}
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
.ui-dialog .ui-dialog-content {
	background: none;
	border: 0;
	overflow: hidden;
	padding: .5em 1em;
	position: relative;
	zoom: 1;
}
.ui-dialog .ui-dialog-buttonpane {
	background-image: none;
	border-width: 1px 0 0 0;
	margin: .5em 0 0 0;
	padding: .3em 1em .5em .4em;
	text-align: left;
}
.ui-dialog .ui-dialog-buttonpane button {
	cursor: pointer;
	float: right;
	line-height: 1.4em;
	margin: .5em .4em .5em 0;
	overflow: visible;
	padding: .2em .6em .3em .6em;
	width: auto;
}
.ui-dialog .ui-resizable-se { bottom: 3px; height: 14px; right: 3px; width: 14px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }
