/* ========== Reset default browser styles ========== */
html, body, div, span,
h1, h2, h3, h4, h5, h6, p,
a, img, strong, sub, sup,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ========== global styles ========== */
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

html, body {
	color: #000;
}

small {
	font-size: 80%;
}

sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
}

button,
input {
	line-height: normal;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

input, textarea {
	outline-width:0;
}

b, strong {
	font-weight: bold;
}

/* ---------- links --------- */
a:link,
a:visited  {
	color: #0059bd;
}

a:hover,
a:active,
.active {
	color: #f15a22;
	outline: 0;
}

a:focus {
	outline: thin dotted;
}

a img {
	border: none;
}

a {
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

/* ---------- pages --------- */
body {
	font: 12px/1.3 Arial, "Helvetica Neue", Helvetica, sans-serif;
	background: #fff url(../img/bg-top.png) repeat-x;
}

.hide {
	font: 0/0 a;
	color: transparent;
	text-shadow: none;
	background-color: transparent;
	border: 0;
}

.g-button {
	width: 19px;
	height: 18px;
	cursor: pointer;
	background: url(../img/btn-gen.png) no-repeat;
	-webkit-transition: all .6s ease-in-out;
	-moz-transition: all .6s ease-in-out;
	-o-transition: all .6s ease-in-out;
	transition: all .6s ease-in-out;
}

.g-button:hover {
	-webkit-transform: rotate(360deg);
	-moz-transform: rotate(360deg);
	-o-transform: rotate(360deg);
	transform: rotate(360deg);
}

.g-line {
	margin: 20px 0;
	border: 0;
	border-top: 1px solid #dcdcdc;
}

/* ---------- self-clear floats --------- */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	}

/* ========== L-LAYOUT ========== */
.l-wrap {
	max-width: 1200px;
	min-width: 920px;
	margin: auto;
	padding: 0 30px;
	overflow: hidden;
}

.l-header {
	background: url(../img/flowers.png) no-repeat -16px 0;
}

.l-main {
	margin-left: 194px;
	padding-left: 30px;
}

.l-sidebar {
	float: left;
	width: 194px;
}

.l-footer {
	margin: 14px 0 20px;
}

/* ========== l-HEADER ========== */

/* ---------- logo --------- */
.b-logo {
	float: left;
	margin: 58px 0 0 68px;
}

.b-logo a {
	text-decoration: none;
}

.b-logo a:hover {
	opacity: .7;
}

/* ---------- b-header-main --------- */
.b-header-main {
	float: right;
	width: 504px;
	margin: 30px 0px 0 0;
}

.b-header-main-auth {
	float: right;
	width: 325px;
	height: 42px;
	margin: 0 0 0 14px;
	padding: 17px 17px 22px 19px;
	border-bottom: 5px solid #efefef;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	background: #fff;
}

.b-auth-left-block {
	float: left;
	width: 170px;
}

.b-auth-left-label {
	margin-bottom: 5px;
	font-weight: bold;
	text-align: right;
	line-height: 21px;
}

.b-auth-name,
.b-auth-password {
	float: left;
	padding-right: 6px;
}

.b-auth-input {
	float: right;
	width: 105px;
	height: 13px;
	padding: 2px 4px;
	border: 1px solid #d7d7d7;
	border-radius: 5px;
	color: #999;
	font-size: 11px;
	line-height: 13px;
}

label .b-auth-input:focus {
	color: #000;
}

.b-auth-right-block {
	float: right;
	width: 140px;
}

.b-auth-right-label {
	float: left;
}

.b-auth-right-remember,
.b-form-option-input {
	display: inline-block;
	float: right;
	overflow: hidden;
	width: 15px;
	height: 14px;
	margin-right: 2px;
	cursor: pointer;
	background: url(../img/bg-input.png);
}

.niceChecked {
	background-position: 0 -14px;
}

.niceCheckDisabled {
	background-position: 0 -28px;
}

.b-auth-right-remember input,
.b-auth-right-remember input {
	margin-left: -9999px;
}

.b-auth-right-regsub {
	margin-top: 5px;
	overflow: hidden;
}

.b-auth-restore,
.b-auth-reg {
	font-weight: bold;
	display: inline-block;
}

.b-auth-submit {
	float: right;
	border: 0;
}

.b-smartmenu {
	float: right;
	height: 32px;
	vertical-align: top;
	margin-bottom: 6px;
}

.b-smartmenu .b-adv-link {
	display: block;
	width: 128px;
	height: 32px;
	margin-bottom: 8px;
	line-height: 30px;
	text-align: center;
	font-weight: bold;
	color: #fff;
	background: url(../img/btn-adv.png) no-repeat;
}

.b-smartmenu .b-adv-link:hover {
	text-decoration: none;
}

.b-navhead-item {
	line-height: 1.5;
}

.b-banner {
	float: right;
	margin: 10px 0;
}

/* ========== l-SIDEBAR styles ========== */
.b-sidebar-link-page {
	display: block;
	margin: 0 0 16px 22px;
}

/* ---------- sidebar-menu --------- */
.b-sidebar-menu {
	margin-bottom: 20px;
}

.b-menu-item {
	margin-bottom: 2px;
}

.b-menu-btn {
	width: 193px;
	height: 31px;
	background: url(../img/bg-menu-head.png) no-repeat;
}

.btn-blue {background-position: 0 -31px;}
.btn-orange {background-position: 0 -62px;}
.btn-yellow {background-position: 0 -93px;}

.b-sidebar-menu .b-menu-btn-title {
	display: block;
	padding-left: 22px;
	line-height: 31px;
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	background: url(../img/menu-left.png) no-repeat 168px 50%;
}

.b-sidebar-menu .b-menu-btn-title:hover {
	color: #fff;
}

.b-menu-btn-title-text {
	border-bottom: 1px dashed #FFF;
}

.b-menu-body {
	margin: 8px 0 8px 12px;
	border-left: 1px solid #d3d3d3;
}

.b-menu-body-link {
	display: block;
	margin-bottom: 4px;
	padding-left: 27px;
}

.b-sidebar-item {
	margin-bottom: 22px;
	padding: 18px 18px 20px 18px;
	border: 1px solid #dcdcdc;
	border-radius: 8px;
	-webkit-box-shadow:  1px 1px 2px rgba(0, 0, 0, .1);
	box-shadow:  1px 1px 2px rgba(0, 0, 0, .1);
}

.b-sidebar-item-title {
	margin-bottom: 22px;
	font-weight: bold;
	font-size: 14px;
	color: #0059bd;
}

/* ---------- sidebar-search --------- */
.b-sidebar-search {
	height: 52px;
}

.b-search-label {
	margin-bottom: 20px;
	font-weight: bold;
	color: #0059bd;
}

.b-search-input-in {
	float: left;
	width: 120px;
	height: 14px;
	margin-right: 3px;
	padding: 2px 4px;
	border: 1px solid #d7d7d7;
	border-radius: 4px;
	color: #999;
}

.b-search-input-in:focus {
	color: #000;
}

.b-search-submit {
	float: right;
	margin-top: 1px;
	border: 0;
}

/* ---------- sidebar-poll --------- */
.b-sidebar-poll-question {
	margin-bottom: 16px;
}

.b-sidebar-poll-question {
	font-weight: bold;
}

.b-poll-form-result {
	margin-top: 12px;
}

.b-poll-form-submit {
	float: right;
	border: 0;
}

.b-poll-form-option {
	margin-bottom: 6px;
}

/* ---------- sidebar-partner --------- */
.b-sidebar-partner-item {
	margin-bottom: 16px;
}

.b-sidebar-partner-link {
	margin-bottom: 8px;
}

/* ---------- sidebar-popular --------- */
.b-sidebar-popular-link {
	display: block;
	margin-bottom: 8px;
}

/* ---------- sidebar-friend --------- */
.b-sidebar-friends {
	padding-bottom: 20px;
}

.b-sidebar-friends-link {
	display: block;
	margin-bottom: 8px;
}

/* ========== l-MAIN styles ========== */

/* ---------- b-main-post --------- */
.b-main-post {
	margin-bottom: 22px;
}

.b-main-post-title {
	margin-bottom: 18px;
	font-weight: bold;
	text-transform: uppercase;
	color: #0059bd;
	font-size: 14px;
}

/* ---------- b-adv --------- */
.b-adv {
	margin-bottom: 25px;
	padding: 22px 25px;
	border: 1px solid #dcdcdc;
	border-radius: 8px;
	-webkit-box-shadow:  1px 1px 1px rgba(0, 0, 0, .15);
	box-shadow:  1px 1px 1px rgba(0, 0, 0, .15);
}

.b-adv-content {
	margin: 12px 0 20px;
}

/* ---------- b-main-post-head --------- */
.b-main-post-head {
	overflow: hidden;
	margin-bottom: 18px;
}

.b-main-post-head-title {
	float: left;
	font-weight: bold;
	color: #0059bd;
	font-size: 14px;
}

.b-main-post .b-main-post-head-section {
	float: right;
	color: #909090;
}

.b-main-post .b-main-post-head-section:hover {
	color: #f15a22;
}

/* ---------- b-main-post-content --------- */
.b-main-post-content {
	overflow: hidden;
}

.b-main-post-content > img {
	float: left;
	margin: 0 22px 22px 0;
}

.b-main-post-content p {
	margin: 0 0 12px 222px;
}

.b-main-post-link {
	margin: 0 0 22px 222px;
	vertical-align: top;
}

.b-main-post-link-item {
	height: 18px;
	margin-bottom: 6px;
}

.b-main-post-link-item a {
	display: inline-block;
	height: 18px;
	line-height: 18px;
	vertical-align: top;
}

.b-main-post-link-item img {
	margin-right: 6px;
	-webkit-transition: all .6s ease-in-out;
	-moz-transition: all .6s ease-in-out;
	-o-transition: all .6s ease-in-out;
	transition: all .6s ease-in-out;
}

.b-main-post-link-item img:hover {
	-webkit-transform: rotate(360deg);
	-moz-transform: rotate(360deg);
	-o-transform: rotate(360deg);
	transform: rotate(360deg);
}

/* ---------- b-main-post-content-info --------- */
.b-main-post-content-info {
	overflow: hidden;
}

.b-main-post-info-data {
	float: left;
	margin-left: -9px;
	color: #909090;
	line-height: 1.1;
}

.b-info-data {
	display: inline;
	margin: 0 1px 0 -1px;
	padding: 0 6px 0 9px;
	border-left: 1px solid #909090;
}

/* ---------- rating-stars --------- */
.b-main-post-rating {
	float: right;
}

.rating {
	position: relative;
	width: 80px;
	height: 16px;
	background: url(../img/rating.png);
}

.rating div,
.rating span {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	cursor: pointer;
	height: 100%;
}

.rating div {
	background: url(../img/rating.png) 0 100%;
	z-index: 1;
}

.rating span {
	display: block;
	background: url(../img/rating.png) 0 50%;
	z-index: 2;
}

/* ---------- pagination --------- */
.b-main-pagination {
	text-align: center;
}

.b-pagination-prev,
.b-pagination-item,
.b-pagination-next {
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 0 4px;
	line-height: 20px;
}

.b-main-pagination .b-pagination-link {
	display: block;
	width: 20px;
	height: 20px;
	font-weight: bold;
}

.b-pagination-item.current {
	background: url(../img/paginator-current_ico.png) no-repeat;
}

.current .b-pagination-link {
	text-decoration: none;
	color: #fff;
	}

.b-pagination-prev-link,
.b-pagination-next-link {
	text-decoration: none;
}

/* ========== FOOTER styles ========== */
.b-copyright {
	float: left;
}

.b-copyright-link {
	font-weight: bold;
}

.b-design-by {
	float: right;
	margin-left: 60px;
}

.b-design-logo {
	float: right;
}

.b-design-link {
	clear: both;
	font-weight: bold;
}

.b-footer-nav {
	float: right;
	overflow: hidden;
	margin-top: 18px;
	line-height: 1;
}

.b-footer-nav-item {
	display: inline;
	margin: 0 1px 0 -1px;
	padding: 0 8px;
	border-left: 1px solid #909090;
}

.b-footer-nav-item-link {
	font-weight: bold;
}