* {
	margin: 0;
	padding: 0;
}

@font-face {
	font-family: HelveticaNeue-Bold;
	src: url(HelveticaNeue-Bold.otf),
	             url(HelveticaNeue-Bold.ttf);
}

html {
	height: 100%;
}
header, nav, section, article, aside, footer {
	display: block;
}
body {
	font: 16px/20px FlowRegular, sans-serif;
	width: 100%;
	height: 100%;
	color: #433307;
}
a {
	color: #fd2;
	outline: none;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
p {
	margin: 0 0 0px
}
img {
	border: none;
}
input {
	vertical-align: middle;
}
#wrapper {
	width: 100%;
	min-width: 980px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	position: relative;
	background: #4f8dd8;
}

.font-FlowBold {
	font-weight: bold;
	font-style: normal;
	font-family: FlowBold;
}
.font-FlowRegular {
	font-weight: normal;
	font-style: normal;
	font-family: FlowRegular;
}
.font-ZhiznRegular {
	font-weight: normal;
	font-style: normal;
	font-family: ZhiznRegular;
}

#background {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	overflow: hidden;
	background: url('/public/site/img/background.jpg') center bottom repeat-x;
}
#background-top {
	background: url('/public/site/img/background-top.png') 15px top no-repeat;
	height: 257px;
	width: 1054px;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -527px;
}
#background-bottom {
	background: url('/public/site/img/background-bottom.png') 2px top no-repeat;
	height: 248px;
	width: 1054px;
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-left: -527px;
}
#background-middle {
	width: 785px;
	position: absolute;
	top: 257px;
	left: 50%;
	bottom: 248px;
	margin-left: -402px;
	background: url('/public/site/img/background-middle.jpg') repeat-y;
}
#background-left {
	background: url('/public/site/img/background-left.png') repeat-y;
	width: 125px;
	height: 100%;
	position: absolute;
	left: -125px;
	top: 0;
}
#background-right {
	background: url('/public/site/img/background-right.png') repeat-y;
	width: 144px;
	height: 100%;
	position: absolute;
	top: 0;
	right: -144px;
}

#background-fone {
	position: absolute;
	width: 100%;
	display: block;
	bottom: 0;
	left: 0;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
	padding-top: 100px;
	height: 300px;
	position: relative;
	z-index: 1;
	width: 960px;
	left: 50%;
	margin-left: -480px;
	padding-bottom: 32px;
}

#logo {
	text-align: center;
}
#header nav {
	position: absolute;
	top: 360px;
	left: 0;
	width: 960px;
}
#header nav ul {
	list-style: none;
	background: url('/public/site/img/menu-bg.png') 0 1px no-repeat;
	height: 69px;
	margin-left: 10px;
	text-align: justify;
}
#header nav ul li {
	display: inline-block;
	margin-left: -11px;
}
#header nav ul li:first-child {
	margin-left: 0px;
}
#about_game_btn {
	display: block;
	background: url('/public/site/img/buttons_notext.png') -77px -41px no-repeat;
	width: 159px;
	height: 69px;
}
#news_btn {
	display: block;
	background: url('/public/site/img/buttons_notext.png') -247px -41px no-repeat;
	width: 155px;
	height: 69px;
}
#shop_btn {
	display: block;
	background: url('/public/site/img/buttons_notext.png') -410px -41px no-repeat;
	width: 155px;
	height: 69px;
}
#hall_fame_btn {
	display: block;
	background: url('/public/site/img/buttons_notext.png') -573px -41px no-repeat;
	width: 165px;
	height: 69px;
}
#library_btn {
	display: block;
	background: url('/public/site/img/buttons_notext.png') -746px -41px no-repeat;
	width: 175px;
	height: 69px;
}
#support_btn {
	display: block;
	background: url('/public/site/img/buttons_notext.png') -929px -41px no-repeat;
	width: 187px;
	height: 69px;
}

#about_game_btn:hover { background-position: -77px -152px; }
#news_btn:hover { background-position: -247px -152px; }
#shop_btn:hover { background-position: -410px -152px; }
#hall_fame_btn:hover { background-position: -573px -152px;  }
#library_btn:hover { background-position: -746px -152px; }
#support_btn:hover { background-position: -929px -152px; }

#about_game_btn, #news_btn, #shop_btn,
#hall_fame_btn, #library_btn, #support_btn {
	text-decoration: none;
	font-family: HelveticaNeue-Bold;
	text-align: center;
	line-height: 42px;

	text-shadow: #ddd 0 1px 1px;
	color: #333;
}

#about_game_btn:hover, #news_btn:hover, #shop_btn:hover,
#hall_fame_btn:hover, #library_btn:hover, #support_btn:hover {
	text-decoration: none;
	color: #444;
	text-shadow: #eee 0 1px 1px;
}

#about_game_btn.active,
#about_game_btn:active { background-position: -50px -257px; }

#news_btn.active,
#news_btn:active { background-position: -230px -260px; }

#shop_btn.active,
#shop_btn:active { background-position: -400px -259px; }

#hall_fame_btn.active,
#hall_fame_btn:active { background-position: -565px -258px;  }

#library_btn.active,
#library_btn:active { background-position: -755px -258px; }

#support_btn.active,
#support_btn:active { background-position: -929px -257px; }

#about_game_btn.active, #about_game_btn:active, #news_btn.active, #news_btn:active,
#shop_btn.active, #shop_btn:active, #hall_fame_btn.active, #hall_fame_btn:active,
#library_btn.active, #library_btn:active, #support_btn.active, #support_btn:active {
	color: #111;
	text-shadow: #ccc 0 1px 1px;
}



#play_btn {
	font-family: HelveticaNeue-Bold;
	display: block;
	background: url('../img/sprite.png') -65px -285px no-repeat;
	width: 498px;
	height: 68px;
	position: absolute;
	top: 243px;
	left: 50%;
	margin-left: -249px;
	text-shadow: black 0px 1px 2px, #ff9 0 -1px 1px;
	text-transform: uppercase;
	font-size: 26px;
	color: #c70;
	padding: 26px 0 26px 0;
	text-align: center;
	letter-spacing: 2px;
}
#play_btn:hover {
	background-position: -610px -285px;
	text-decoration: none;
	color: #ea0;
}
#play_btn:active {
	background-position: -1122px -285px;
	text-shadow: black 0px 1px 2px, #db7 0 -1px 1px;
	color: #950;
}

.currency {
	padding: 7px 0 0 10px;
	margin-bottom: 18px;
}

.currency > * {
	display: inline-block;
	vertical-align: middle;
}

.currency .currency-rate-wrapper {
	width: 201px;
}

.currency .currency-rate-wrapper > * {
	display: inline-block;
}

.premium-icon {
	position: relative;
	width: 62px;
	height: 14px;
	display: inline-block;
}
.premium-icon:after {
	content: '';
	background: url('../img/prem.png');
	top: -8px;
	left: -13px;
	width: 90px;
	height: 30px;
	position: absolute;
}

.coins-count {
	position: relative;
	padding-right: 30px;
	font-weight: bold;
	display: inline-block;
}
.coins-count:before {
	content: "";
	display: block;
	position: absolute;
	right: -1px;
	top: -3px;
	background: url("../img/shop/coin_melkiy.png");
	width: 30px;
	height: 26px;
}

/* JQuery UI */
.jackal-popup.ui-dialog + .ui-widget-overlay {
	background: #191208;
}
.jackal-popup.ui-dialog {
	background: transparent url("../img/shop/jackal-popup.png") 2px 2px;
	border: none;
	width: 333px !important;
	height: 373px !important;
	box-sizing: border-box;
	padding: 6px 9px;
}
.jackal-popup.ui-dialog .ui-dialog-title {
	/* display: none; */
	margin: 0;
	padding: 0;
	float: none;
	background: none;
}
.jackal-popup.ui-dialog .ui-dialog-titlebar {
	padding: 0;
	border: none;
	position: relative;
	background: none;
	height: 50px;
}
.jackal-popup.ui-dialog .ui-dialog-titlebar-close {
	background: url('../img/close-popup-btn-small.png') 0 0 no-repeat;
	border: none;
	right: 21px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
	width: 13px;
	height: 14px;
}
.jackal-popup.ui-dialog .ui-dialog-titlebar-close .ui-icon-closethick {
	background: none;
}
.jackal-popup.ui-dialog .ui-dialog-titlebar-close:hover {
	background-position: 0 -14px;
}
.jackal-popup.ui-dialog .ui-dialog-titlebar-close:active {
	background-position: 0 -27px;
}
.jackal-popup.ui-dialog .ui-dialog-content {
	padding: 4px 30px 14px;
	box-sizing: border-box;
	height: 224px !important;
	font: 16px/20px FlowRegular, sans-serif;
	color: #433307;
	font-weight: bold;
	text-align: center;
	line-height: 224px;
	overflow: hidden;
}
.jackal-popup.ui-dialog .ui-dialog-content input {
	font-family: FlowRegular;
}
.jackal-popup.ui-dialog .ui-dialog-content h3 {
	font-family: ZhiznRegular;
	font-size: 20px;
	margin-bottom: 31px;
	font-weight: bold;
}
.jackal-popup.ui-dialog .ui-dialog-content > * {
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
}
.jackal-popup.ui-dialog .ui-dialog-content label {
	display: inline-block;
	width: 100%;
}
.jackal-popup.ui-dialog .ui-dialog-content .input-text + label {
	margin-top: 10px;
}
.jackal-popup.ui-dialog .ui-dialog-buttonpane {
	background: transparent;
	border: none;
	box-sizing: border-box;
	padding: 0 10px;
}
.jackal-popup.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
	float: none;
	text-align: center;
}
.jackal-popup.ui-dialog .ui-dialog-buttonset button {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
	font-family: HelveticaNeue-Bold;
	color: #000;
	font-size: 13px;
	border: none;
	background: none;
}
.jackal-popup.ui-dialog .ui-dialog-buttonset button .ui-button-text {
	padding: 0;
}
.jackal-popup.ui-dialog .ui-dialog-buttonset button + button {
	margin-left: 6px;
}

.jackal-popup.ui-dialog .ui-dialog-content .button-toggle {
	outline: none;
	border: none;
}

.jackal-popup.ui-dialog .ui-dialog-content .form-validation-msg p {
	text-align: left;
	padding: 5px 0 0 5px;
}

/* Providers */
.jackal-popup.charge-coins.ui-dialog .ui-dialog-content .providers {
	margin-top: 20px
}
.jackal-popup.charge-coins.ui-dialog .ui-dialog-content .providers .data {
	margin-top: 15px;
}
.jackal-popup.charge-coins.ui-dialog .ui-dialog-content .providers .button-toggle + .button-toggle {
	margin-left: 15px;
}
.jackal-popup.charge-coins.ui-dialog .ui-dialog-content .providers .button-toggle:nth-child(n+4) {
	margin-top: 10px;
}
.jackal-popup.charge-coins.ui-dialog .ui-dialog-content .providers .button-toggle.button-service-test {
	background: url("../img/shop/platezhi_visamastercard.png") -2px 7px;
}
.jackal-popup.charge-coins.ui-dialog .ui-dialog-content .providers .button-toggle.button-service-w1 {
	background: url("../img/shop/platezhi_w1.png") no-repeat 5px 5px;
}
.jackal-popup.charge-coins.ui-dialog .ui-dialog-content .providers .button-toggle.button-service-paypal {
	background: url("../img/shop/platezhi_paypal.png") 5px 7px;
}

/* Auth */
.jackal-popup.auth.ui-dialog .ui-dialog-content {
	height: 166px !important;
	line-height: 166px;
}
.jackal-popup.auth.ui-dialog .ui-dialog-buttonset button {
	margin-top: 8px
}
.jackal-popup.auth.ui-dialog .ui-dialog-content .input-text input {
	width: 155px;
	font-size: 14px;
}
.jackal-popup.auth.ui-dialog .ui-dialog-content label {
	width: 65px;
	font-family: ZhiznRegular;
	font-weight: normal;
	font-size: 14px;
	display: inline-block;
}

/* Middle
-----------------------------------------------------------------------------*/
#content {
	padding: 0 10px 220px;
	position: relative;
	z-index: 1;


	min-height: 834px;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{
	color: #2f2301;
}

#intro-background {
	position: absolute;
	width: 617px;
	height: 1555px;
	background: url('/public/site/img/intro-path-background.png') 0 0 no-repeat;
	top: 94px;
	left: -11px;
}
#intro {
	height: 1642px;
	position: relative;
}
.intro-block {
	margin: 0 80px;
}
.hint {
	position: relative;
	height: 110px;
	width: 620px;
}
.hint .hint-text {
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-family: ZhiznRegular;
	line-height: 80px;
	font-size: 20px;
	position: absolute;
	top: 5px;
	height: 80px;
	width: 440px;
	left: 50%;
	margin-left: -220px;
	text-align: center;
	overflow: hidden;
}
.hint-text span {
	font-size: 20px;
	line-height: 22px;
}
.hint-text span, .product .hint-text span {
	display: inline-block;
	vertical-align: middle;
}
.hint-top-left, .hint-bottom-left {
	background: url('/public/site/img/hint.png') 49px -440px no-repeat;
}
.hint-top-right, .hint-bottom-right {
	background: url('/public/site/img/hint.png') 69px -550px no-repeat;
}

.csstransforms .hint-top-left {
	background: url('/public/site/img/hint.png') 49px -110px no-repeat;
}
.csstransforms .hint-bottom-left {
	background: url('/public/site/img/hint.png') 49px 0px no-repeat;
}
.csstransforms .hint-top-right {
	background: url('/public/site/img/hint.png') 69px -330px no-repeat;
}
.csstransforms .hint-bottom-right {
	background: url('/public/site/img/hint.png') 69px -220px no-repeat;
}
.csstransforms .hint-top-left .hint-text,
.csstransforms .hint-top-right .hint-text {
	-webkit-transform: rotate(-1deg);
	-moz-transform: rotate(-1deg);
	-ms-transform: rotate(-1deg);
	-o-transform: rotate(-1deg);
	transform: rotate(-1deg);
}
.csstransforms .hint-bottom-left .hint-text,
.csstransforms .hint-bottom-right .hint-text {
	-webkit-transform: rotate(1deg);
	-moz-transform: rotate(1deg);
	-ms-transform: rotate(1deg);
	-o-transform: rotate(1deg);
	transform: rotate(1deg);
}
.hint + .content-wrapper {
	margin-top: 25px;
}
.content-wrapper.align-by-icon > .alpha {
	/* padding-left: 20px; */
}

.icon-cancelled {
	background: url("../img/shop/status_krestik.png");
	width: 27px;
	height: 23px;
	display: inline-block;
}
.icon-confirmed {
	background: url("../img/shop/status_galka.png");
	width: 25px;
	height: 23px;
	display: inline-block;
}
.icon-processing {
	background: url("../img/shop/status_v_obrabotke.png");
	width: 25px;
	height: 26px;
	display: inline-block;
}
.icon-coins-big {
	background: url("../img/shop/coin_krupnee(str_tovara).png") no-repeat;
	width: 30px;
	height: 26px;
	display: inline-block;
}
.icon-gold {
	background: url("../img/shop/icon-star_premium.png") no-repeat;
	width: 27px;
	height: 26px;
	display: inline-block;
}
.icon-goods-unknown {
	background: url("../img/shop/icon-unknown-image-small.png") no-repeat;
	width: 35px;
	height: 35px;
	display: inline-block;
}

.pirate-icon {
	width: 49px;
	height: 110px;
	display: block;
	float: left;
	margin: 0 0 0 5px;
	background: url('/public/site/img/pirate-icon.png') center center no-repeat;
}

.hint-top-right .pirate-icon, .hint-bottom-right .pirate-icon {
	float: right;
}

a.lightbox {
	display: inline-block;
	overflow: hidden;
	line-height: 0;
}
.gallery_justify,
.justify {
	text-align: justify;
}
.generatedcontent .gallery_justify:after {
	content: '';
	display: inline-block;
	width: 100%;
	height: 1px;
}

.justify-stretch {
	display: inline-block;
	width: 100%;
	height: 1px;
}

.video_block {
	width: 536px;
	height: 332px;
	position: relative;
}
.video_border_top {
	height: 13px;
	background: url('/public/site/img/video-border.png') -30px 0 no-repeat;
	top: 0;
	left: 30px;
	right: 30px;
	position: absolute;
}
.video_border_left {
	position: absolute;
	top: 0;
	left: 0;
	background: url('/public/site/img/video-border.png') 0 0 no-repeat;
	width: 30px;
	height: 240px;
}
.video_border_right {
	position: absolute;
	top: 0;
	right: 0;
	background: url('/public/site/img/video-border.png') right top no-repeat;
	width: 30px;
	height: 200px;
}

.video_border_bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	background: url('/public/site/img/video-border.png') left bottom no-repeat;
	width: 100%;
	height: 1px;
}

#logined_user_block,
#login_block {
	/*background: url('/public/site/img/login-background.png') 0 0 no-repeat;*/
	width: 308px;
	height: 205px;
	margin-bottom: 15px;
}
#logined_user_block {
	background: url('/public/site/img/loginned.png') 0 0 no-repeat;
	overflow: hidden;
}
#login_block form {
	background: url('/public/site/img/login-background.png') 0 0 no-repeat;
	width: 308px;
	height: 181px;
}
#login_block form:before, #login_block form:after { display: none !important; }
#login_block form.error {
	background: url('/public/site/img/login-background-error.png') 0 0 no-repeat;
	width: 308px;
	height: 205px;
}
#login_block form.error legend {
	color: #8a453c;
	font-weight: normal !important;
	font-style: normal;
	font-family: FlowRegular !important;
	text-transform: none;
	font-size: 18px;

}
#login_block form.error legend p {
	margin: 0;
}
#login_block form.error input {
	color: #fff;
}

#logined_user_block_title {
	font-size: 18px;
	margin: 10px 10px 0;
	padding: 5px 5px 7px;
	white-space: nowrap;
	overflow: hidden;
	text-align: center;
}
.user_avatar_block {
	width: 56px;
	height: 56px;
	overflow: hidden;
	position: relative;
}
.user_avatar {
	max-width: 100%;
	max-height: 100%;
	display: inline-block;
	vertical-align: middle;
	border-radius: 5px;
}
.user_avatar_border {
	display: block;
	width: 56px;
	height: 56px;
	position: absolute;
	top: 0;
	left: 0;
	background: url('/public/site/img/loginned.png') -308px 0 no-repeat;
}
.logined_user_block_data {
	font-size: 16px;
	line-height: 20px;
	padding-bottom: 0px;
}
.logined_user_block_data.first {
	margin-left: 28px;
}
#logined_user_block .user_avatar_block  {
	margin: 0 17px 0 28px;
	float: left;
	width: 50px;
	height: 50px;
	padding: 3px;
	border-radius: 10px;
	line-height: 50px;
	text-align: center;
}
#logined_user_block_profile_btn {
	display: block;
	clear: both;
	margin-left: 18px;
	background: url('/public/site/img/buttons_notext.png') -573px -41px no-repeat;
	width: 165px;
	height: 69px;
	text-decoration: none;
	font-family: HelveticaNeue-Bold;
	text-align: center;
	line-height: 46px;

	text-shadow: #ddd 0 1px 1px;
	color: #333;
}

#logined_user_block_profile_btn:hover {
	background-position: -573px -152px;
	text-decoration: none;
	color: #444;
	text-shadow: #eee 0 1px 1px;
}
#logined_user_block_profile_btn:active {
	background-position: -565px -258px;
	color: #111;
	text-shadow: #ccc 0 1px 1px;
}


#logined_user_block_friends_btn {
	margin-left: 17px;
	display: inline-block;
	position: relative;
	z-index: 1;
	top: -22px;

	text-decoration: none;
	font-family: HelveticaNeue-Bold;
	text-align: center;
	line-height: 42px;

	text-shadow: #ddd 0 1px 1px;
	color: #333;


	background: url('/public/site/img/buttons_notext.png') -1491px -40px no-repeat;
	width: 208px;
	height: 67px;
}

#logined_user_block_friends_btn:hover {
	text-decoration: none;
	color: #444;
	text-shadow: #eee 0 1px 1px;
	background-position: -1491px -138px;
}

#logined_user_block_friends_btn:active {
	background-position: -1491px -231px;
	color: #111;
	text-shadow: #ccc 0 1px 1px;
}

#logined_user_block_exit_btn {
	display: inline-block;
	width: 64px;
	height: 67px;
	text-indent: -9999px;
	background: url('/public/site/img/loginned.png') -428px 0px no-repeat;
	position: relative;
	z-index: 1;
	top: -31px;
}
#logined_user_block_exit_btn:hover {
	background-position: -364px 0;
}
#logined_user_block_exit_btn:active {
	background-position: -494px 0;
}

.horizontal-buttons {
	list-style: none;
}
.horizontal-buttons > * + * {
	margin-left: -2px;
}
.horizontal-buttons > * {
	float: left;
	position: relative;
	background: url('../img/lobby-menu-Pokupki.png');
	height: 32px;
	width: 110px;
	cursor: pointer;
	text-align: center;
	font-family: HelveticaNeue-Bold;
	text-shadow: #ddd 0 1px 1px;
	color: #333;
	text-decoration: none;
	line-height: 32px;
	font-size: 14px;
	z-index: 2;
}
.horizontal-buttons > *:after {
	content: '';
	position: absolute;
	top: 0;
	left: -1px;
	background: url('../img/lobby-menu-Pokupki.png');
	height: 48px;
	width: 113px;
	z-index: -1 !important;
}
.horizontal-buttons > *:hover,
.horizontal-buttons > *:hover:after{
	background-image: url('../img/lobby-menu-Pokupki_hover.png');
	text-decoration: none;
}
.horizontal-buttons > *:active,
.horizontal-buttons > *:active:after,
.horizontal-buttons > .active,
.horizontal-buttons > .active:after {
	background-image: url('../img/lobby-menu-Pokupki_active.png');
	cursor: default;
}
.horizontal-buttons > *:first-child {
	z-index: 1;
}
.horizontal-buttons > *:first-child,
.horizontal-buttons > *:first-child:after {
	background-image: url('../img/profile-menu-Profile.png');
	background-position-x: -9px;
}
.horizontal-buttons > *:first-child:hover,
.horizontal-buttons > *:first-child:hover::after {
	background-image: url('../img/profile-menu-Profile_hover.png');
}
.horizontal-buttons > *:first-child:active,
.horizontal-buttons > *:first-child:active:after,
.horizontal-buttons > .active:first-child,
.horizontal-buttons > .active:first-child:after {
	background-image: url('../img/profile-menu-Profile_active.png');
}
.horizontal-buttons > *:first-child:after {
	left: -4px;
	background-position-x: -5px;
}
.horizontal-buttons > *:last-child:after {
	width: 119px;
	z-index: 3;
}
.horizontal-buttons > *:last-child,
.horizontal-buttons > *:last-child:after {
	background-image: url('../img/lobby-menu-Invates.png');
	background-position-x: 0px;
}
.horizontal-buttons > *:last-child:hover,
.horizontal-buttons > *:last-child:hover:after {
	background-image: url('../img/lobby-menu-Invatesl_hover.png');
}
.horizontal-buttons > *:last-child:active,
.horizontal-buttons > *:last-child:active:after,
.horizontal-buttons > .active:last-child,
.horizontal-buttons > .active:last-child:after {
	background-image: url('../img/lobby-menu-Invates_active.png');
}

#right-sidebar form {
	padding-top: 30px;
	font-size: 18px;
	cursor: default;
	color: #191919;
	position: relative;
	margin-left: 3px;
}

#right-sidebar form:before {
	content: '';
	display: block;
	height: 94%;
	width: 308px;
	top: 0;
	left: 0%;
	background: url(../img/sidebar-form-top.png) top left no-repeat;
	position: absolute;
}

#right-sidebar form:after {
	content: '';
	display: block;
	height: 94%;
	width: 308px;
	bottom: 0;
	right: -11px;
	background: url(../img/sidebar-form-bottom.png) bottom right;
	position: absolute;
}

#right-sidebar form fieldset {
	border: 0;
}
#right-sidebar form legend {
	font-weight: bold;
	text-align: center;
	width: 100%;
	padding-bottom: 9px;
	cursor: default;
}
#right-sidebar form label {
	font-size: 14px;
	display: block;
	padding-left: 25px;
	line-height: 25px;
	position: relative;
	margin-bottom: 14px;
	height: 25px;
}
#right-sidebar form label input {
	font-size: 14px;
	display: block;
	height: 25px;
	position: absolute;
	left: 95px;
	width: 186px;
	border: 0;
	top: 0;
	background: none;
}

.reg-btn {
	background: url('/public/site/img/buttons_notext.png') -1354px -43px no-repeat;
	width: 126px;
	height: 58px;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	font-family: HelveticaNeue-Bold;
	font-size: 13px;
	text-align: center;
	line-height: 34px;
	text-shadow: #ddd 0 1px 1px;
	color: #222;
}
.reg-btn:hover {
	background-position: -1354px -139px;
	text-decoration: none;
	color: #333;
	text-shadow: #eee 0 1px 1px;
}
.reg-btn:active {
	background-position: -1354px -234px;
	color: #111;
	text-shadow: #ccc 0 1px 1px;
}

.auth-btn {
	background: url('/public/site/img/buttons_notext.png') -142px -523px no-repeat;
	width: 154px;
	height: 50px;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	text-align: center;
	font-family: HelveticaNeue-Bold;
	text-shadow: #ff9 0 1px 1px;
	font-size: 18px;
	line-height: 32px;
	color: #740;
	display: inline-block;
}
.lostpass-btn{
	font-size: 15px;
}
.lostpass-btn-en{
	font-size: 14px;
}
.auth-btn:hover {
	background-position: -324px -523px;
	text-decoration: none;
	color: #850;
}
.auth-btn:active {
	background-position: -497px -523px;
	color: #630;
	text-shadow: #dc7 0 1px 1px;
}

#login_block .reg-btn {
	display: block;
	float: left;
	margin: 3px -5px 0 11px;
}
#login_block .auth-btn {
	display: block;
	float: left;
	margin-top: 3px;
}

.banner_block {
	width: 307px;
	height: 230px;
	margin-left: -3px;
	position: relative;
	margin-bottom: 15px;
}
.banner_content {
	width: 298px;
	height: 219px;
	display: block;
	position: relative;
	top: 4px;
	left: 4px;
	overflow: hidden;
}
.banner_border {
	background: url('/public/site/img/banner-border.png') 0 0 no-repeat;
	width: 307px;
	height: 230px;
	position: absolute;
	top: 0;
	left: 0;
}

.all_news_btn {
	background: url('/public/site/img/buttons_notext.png') -1180px -43px no-repeat;
	width: 154px;
	height: 64px;
	display: block;

	font-family: HelveticaNeue-Bold;
	font-size: 13px;
	text-align: center;
	line-height: 34px;
	text-shadow: #ddd 0 1px 1px;
	color: #222;
}
.all_news_btn:hover {
	background-position: -1180px -138px;

	text-decoration: none;
	color: #444;
	text-shadow: #eee 0 1px 1px;
}
.all_news_btn:active {
	background-position: -1180px -235px;
	color: #111;
	text-shadow: #ccc 0 1px 1px;
}
#intro .news {
	position: relative;
	margin-top: 20px;
	width: 540px;
}

.news {
	position: relative;
	width: 540px;
}
#news_list {
	margin-top: 10px;
}
#news_list .news time {
	line-height: 30px;
}
#news_list .news_content {
	overflow: hidden;
}
#news_list .news {
	overflow: hidden;
	background: url('/public/site/img/news-border.png') left bottom no-repeat;
	margin-bottom: 25px;
	padding-bottom: 25px;
}
#news_list .news_content p {
	margin-right: 0;
	margin-bottom: 0;
}
#news_list .news_content canvas {
	margin-left: -5px;
	margin-right: 15px;
	float: left;
}
#news_list .news_content img {
	float: left;
	margin: 0 20px 0 0 !important;

}

.news_archive_btn a {
	background: url('/public/site/img/buttons_notext.png') -1491px -40px no-repeat;
	width: 208px;
	height: 67px;
	display: block;
	font-family: HelveticaNeue-Bold;
	text-align: center;
	line-height: 36px;

	text-shadow: #ddd 0 1px 1px;
	color: #333;
}
.news_archive_btn a:hover {
	background-position: -1491px -138px;
	text-decoration: none;
	color: #444;
	text-shadow: #eee 0 1px 1px;
}
.news_archive_btn a:active {
	background-position: -1491px -231px;
	color: #111;
	text-shadow: #ccc 0 1px 1px;
}

.news h2 {
	font-weight: bold;
	font-size: 21px;
}
.news time {
	font-size: 14px;
}
#intro .all_news_btn {
	position: absolute;
	right: -10px;
	top: 0;
}
.news_content {
	border-top: 1px solid #655526;
	padding-top: 10px;
}
.news_content p {
	width: 380px;
	float: left;
	margin-right: 20px;
}
.news_content canvas {
	margin-right: -10px;
}
.content {
	width: 540px;
	padding-bottom: 50px;
}
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
	font-weight: bold;
	font-style: normal;
	font-family: ZhiznRegular;
	padding: 1em 0;
	margin-bottom: 1em;
}
.content h2 {
	font-size: 21px;
	border-bottom: 1px solid #655526;
}
.content {
	font-size: 18px;
}


.qa {
	padding-left: 30px;
	background: url('/public/site/img/news-border.png') left bottom no-repeat;
	padding-bottom: 20px;
	margin-bottom: 20px;
	width: 510px;
}
.qa h3 {
	text-transform: uppercase;
	font-weight: normal;
	position: relative;
	margin-bottom: 1em;
	font-size: 18px;
	line-height: 20px;
	padding: 0;
	font-style: normal;
	font-family: FlowRegular;
}
.generatedcontent .qa h3:before {
	content: 'В:';
	position: absolute;
	left: -30px;
}
.qa p {
	position: relative;
	font-size: 16px;
	line-height: 20px;
	margin: 0;
}
.generatedcontent .qa p:before {
	content: 'О:';
	position: absolute;
	left: -30px;
}
.no-generatedcontent .qa h3 .before,
.no-generatedcontent .qa p .before {
	position: absolute;
	left: -30px;
}


#feedback_form {

}
#feedback_form label {
	display: block;
	position: relative;
	padding-bottom: 13px;
}
#right-sidebar form label span {
	display: inline-block;
	float: left;
	width: 100px;
}
#right-sidebar form label span {
	width: 65px;
	font-family: ZhiznRegular;
}
#right-sidebar form input[type="text"],
#right-sidebar form input[type="password"] {
	border: 0;
	background: url('/public/site/img/feedback-bg.png') 0 0 no-repeat;
	line-height: 28px;
	height: 28px;
	padding: 0 9px;
	width: 264px;
}
#right-sidebar form input[type="text"] {
	background: none;
}
#right-sidebar form .input-text {
	background: url(../img/pirate-input-left.png);
	width: 189px;
	display: inline-block;
	z-index: 50;
	height: 28px;
	position: relative;
}
#right-sidebar form .input-text:after {
	content: '';
	display: block;
	position: absolute;
	background: url(../img/pirate-input-right.png);
	width: 10px;
	height: 28px;
	right: -4px;
	top: 0px;
	z-index: 51;
}
#right-sidebar form .input-text input {
	left: 0;
	width: 98%;
	font-family: FlowRegular;
	box-sizing: border-box;
	outline: none;
}
#right-sidebar form textarea {
	border: 0;
	/*background: url('/public/site/img/feedback-bg.png') 0 -41px no-repeat;*/
	padding: 9px;
	height: 106px;
	min-height: 106px;
	max-height: 106px;
	width: 264px;
	min-width: 264px;
	/* max-width: 264px; */
	resize: none;
}
#right-sidebar form .input-tarea {
	background: url(../img/pirate-input-left.png) 0 -41px;
	width: 258px;
	height: 124px;
	display: block;
	z-index: 51;
	position: relative;
}
#right-sidebar form .input-tarea:after {
	content: '';
	display: block;
	position: absolute;
	background: url(../img/pirate-input-right.png) 0 -41px;
	width: 10px;
	height: 124px;
	right: -3px;
	top: 0px;
	z-index: 51;
}
#right-sidebar form .input-tarea textarea {
	width: 94%;
	height: 100%;
	z-index: 49;
	display: inline;
	background: none;
	font-family: FlowRegular;
	min-width: 0;
	outline: none;
}
#right-sidebar form .buttons .reg-btn {
	display: inline-block;
}
#right-sidebar form .submit-btn {
	border: 0;
	background: url('/public/site/img/buttons_notext.png') -11px -848px no-repeat;
	display: block;
	overflow: hidden;
	cursor: pointer;
	height: 60px;
	width: 317px;
	margin-left: 89px;

	font-family: HelveticaNeue-Bold;
	font-size: 16px;
	text-align: center;
	line-height: 30px;
	text-shadow: #ddd 0 1px 1px;
	color: #222;
}
#right-sidebar form .submit-btn:hover {
	background-position: -338px -848px;
	text-decoration: none;
	color: #444;
	text-shadow: #eee 0 1px 1px;
}
#right-sidebar form .submit-btn:active {
	background-position: -668px -848px;
	color: #111;
	text-shadow: #ccc 0 1px 1px;
}

#right-sidebar form .buttons {
	text-align: center;
	z-index: 50;
	position: relative;
	padding-bottom: 15px;
	clear: left;
	padding-top: 6px;
	padding-left: 9px;
}

#right-sidebar form .buttons > * + * + *,
#right-sidebar form .buttons > * + * + * + *,
#right-sidebar form .buttons > * + * + * + * + *,
#right-sidebar form .buttons > * + * + * + * + * + * {
	margin-top: -8px;
}

#right-sidebar #feedback_form .buttons {

}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	width: 980px;
	margin: -220px auto 0;
	height: 220px;
	position: relative;
	z-index: 1;
}

#treasure_hunt_btn {
	font-family: HelveticaNeue-Bold;
	display: block;
	background: url('../img/sprite.png') -65px -285px no-repeat;
	width: 498px;
	height: 68px;
	margin: 0 auto;
	text-shadow: black 0px 1px 2px, #ff9 0 -1px 1px;
	text-transform: uppercase;
	font-size: 17px;
	color: #c70;
	padding: 26px 0 26px 0;
	text-align: center;
	letter-spacing: 2px;
}
#treasure_hunt_btn:hover {
	background-position: -610px -285px;
	text-decoration: none;
	color: #ea0;
}
#treasure_hunt_btn:active {
	background-position: -1122px -285px;
	text-shadow: black 0px 1px 2px, #db7 0 -1px 1px;
	color: #950;
}

.library_elem {
	background: url('/public/site/img/news-border.png') left bottom no-repeat;
	overflow: hidden;
}

.library_elem_title {
	position: relative;
}
.library_elem_title h3 {
	padding-right: 200px;
	margin-bottom: 0;
	font-size: 19px;
	text-transform: uppercase;
	font-weight: normal;
	font-style: normal;
	font-family: FlowRegular;
	padding-top: 22px;
	padding-bottom: 20px;
}
.library_elem_title a {
	position: absolute;
	top: 10px;
	right: 0;
	background: url('/public/site/img/buttons_notext.png') -3px -601px no-repeat;
	display: block;
	overflow: hidden;
	height: 64px;
	width: 194px;
}
.library_elem_title a:hover {
	background-position: -3px -690px;
}
.library_elem_title a:active, .library_elem_title a.active {
	background-position: -3px -778px;
}

.library_elem_btn  {
	font-family: HelveticaNeue-Bold;
	font-size: 16px;
	text-align: center;
	line-height: 34px;
	text-shadow: #ddd 0 1px 1px;
	color: #222;
}

.library_elem_btn:hover {
	text-decoration: none;
	color: #444;
	text-shadow: #eee 0 1px 1px;
}

.library_elem_btn.active,
.library_elem_btn:active {
	color: #111;
	text-shadow: #ccc 0 1px 1px;
}


.library_elem_title a.library_elem_btn_01 {
	position: absolute;
	top: 10px;
	right: 0;
	background: url('/public/site/img/buttons_notext.png') -3px -601px no-repeat;
	display: block;
	overflow: hidden;
	height: 64px;
	width: 194px;
}
.library_elem_title a.library_elem_btn_01:hover {
	background-position: -3px -690px;
}
.library_elem_title a.library_elem_btn_01:active, .library_elem_title a.library_elem_btn_01.active {
	background-position: -3px -778px;
}

.library_elem_title a.library_elem_btn_02 {
	position: absolute;
	top: 10px;
	right: 0;
	background: url('/public/site/img/buttons_notext.png') -214px -600px no-repeat;
	display: block;
	overflow: hidden;
	height: 64px;
	width: 193px;
}
.library_elem_title a.library_elem_btn_02:hover {
	background-position: -214px -688px;
}
.library_elem_title a.library_elem_btn_02:active, .library_elem_title a.library_elem_btn_02.active {
	background-position: -214px -779px;
}

.library_elem_title a.library_elem_btn_03 {
	position: absolute;
	top: 10px;
	right: 0;
	background: url('/public/site/img/buttons_notext.png') -427px -596px no-repeat;
	display: block;
	overflow: hidden;
	height: 64px;
	width: 194px;
}
.library_elem_title a.library_elem_btn_03:hover {
	background-position: -427px -686px;
}
.library_elem_title a.library_elem_btn_03:active, .library_elem_title a.library_elem_btn_03.active {
	background-position: -427px -778px;
}

.library_elem_title a.library_elem_btn_04 {
	position: absolute;
	top: 10px;
	right: 0;
	background: url('/public/site/img/buttons_notext.png') -663px -598px no-repeat;
	display: block;
	overflow: hidden;
	height: 64px;
	width: 194px;
}
.library_elem_title a.library_elem_btn_04:hover {
	background-position: -663px -686px;
}
.library_elem_title a.library_elem_btn_04:active, .library_elem_title a.library_elem_btn_04.active {
	background-position: -663px -778px;
}

.library_elem_title a.library_elem_btn_05 {
	position: absolute;
	top: 10px;
	right: 0;
	background: url('/public/site/img/buttons_notext.png') -888px -598px no-repeat;
	display: block;
	overflow: hidden;
	height: 64px;
	width: 194px;
}
.library_elem_title a.library_elem_btn_05:hover {
	background-position: -888px -685px;
}
.library_elem_title a.library_elem_btn_05:active, .library_elem_title a.library_elem_btn_05.active {
	background-position: -888px -777px;
}

.library_elem_title a.library_elem_btn_06 {
	position: absolute;
	top: 10px;
	right: 0;
	background: url('/public/site/img/buttons_notext.png') -1095px -599px no-repeat;
	display: block;
	overflow: hidden;
	height: 64px;
	width: 194px;
}
.library_elem_title a.library_elem_btn_06:hover {
	background-position: -1095px -684px;
}
.library_elem_title a.library_elem_btn_06:active, .library_elem_title a.library_elem_btn_06.active {
	background-position: -1095px -778px;
}



.library_elem_content {
	overflow: hidden;
	position: relative;
}

/* Reg Popup
------------------------------------------------------------------------------*/
.close_popup {
	background: url('/public/site/img/close-popup-btn.png') 0 0 no-repeat;
	width: 21px;
	height: 22px;
	position: absolute;
	top: 25px;
	right: 33px;
	display: block;
	text-indent: -9999px;
	cursor: pointer;
	z-index: 10000;
}
.close_popup:hover {
	background-position: 0 -22px;
}
.close_popup:active {
	background-position: 0 -45px;
}

#pre_reg_popup,
#reg_popup{
	position: absolute;
	z-index: 9999;
	background: url('/public/site/img/reg-popup-background.png');
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

#reg_popup_form{
	background: url('/public/site/img/regpopup-background.png') 0 0 no-repeat;
	width: 566px;
	height: 530px;
	margin-left: -283px;
	margin-top: -265px;
	position: fixed;
	top: 50%;
	left: 50%;
}

#pre_reg_popup .popup_body {
	background: url('/public/site/img/prev-reg-popup.png') 0 0 no-repeat;
	width: 614px;
	height: 264px;
	margin-left: -307px;
	margin-top: -132px;
	position: fixed;
	top: 50%;
	left: 50%;
}

#pre_reg_popup .popup_title {
	font-size: 24px;
	line-height: 24px;
	color: #2F2301;
	text-align: center;
	padding: 40px 0 25px;
}

.popup_registration_submit,
#pre_reg_popup_registration {
	background: url('/public/site/img/buttons_popup_notext.png') -296px -32px no-repeat;
	width: 307px;
	height: 72px;
	display: block;
	margin: 0 auto;
	clear: both;
	position: relative;
	z-index: 10009;

	text-align: center;
	font-family: HelveticaNeue-Bold;
	text-shadow: #FF9 0 1px 1px;
	font-size: 18px;
	line-height: 32px;
	color: #740;
}
.popup_registration_submit:hover,
#pre_reg_popup_registration:hover {
	background-position: -296px -108px;
	text-decoration: none;
	color: #850;
}
.popup_registration_submit:active,
#pre_reg_popup_registration:active {
	background-position: -296px -194px;
	color: #630;
	text-shadow: #dc7 0 1px 1px;
}

.popup_registration_submit {
	position: relative;
	top: 20px;
}

#pre_reg_popup_try {
	background: url('/public/site/img/buttons_popup_notext.png') -287px -293px no-repeat;
	width: 307px;
	height: 62px;
	display: block;
	margin: -14px auto 0;
	position: relative;
	z-index: 10009;

	text-align: center;
	font-family: HelveticaNeue-Bold;
	font-size: 18px;
	line-height: 32px;
	text-shadow: #ddd 0 1px 1px;
	color: #333;
}
#pre_reg_popup_try:hover {
	background-position: -287px -365px;
	text-decoration: none;
	color: #555;
	text-shadow: #eee 0 1px 1px;
}
#pre_reg_popup_try:active {
	background-position: -287px -429px;
	color: #222;
	text-shadow: #ccc 0 1px 1px;
}


#reg_popup_form legend,
#reg_popup_form fieldset {
	border: 0;
	cursor: default;
}
#reg_popup_form fieldset {
	position: absolute;
	top: 30px;
	left: 30px;
	bottom: 20px;
	right: 30px;
}

#reg_popup_form legend{
	padding-left: 90px;
	font-size: 22px;
	font-family: ZhiznRegular;
	padding-bottom: 20px;
}

#lostpass_popup_form div.step-2{
	display: none;
	margin-top: 30px;
}

.lostpass_popup .ui-dialog-content{
	padding: 0 15px !important;
}
#lostpass_popup_form input[type="text"]{
	width: 280px;
}

#reg_popup_form fieldset > div,
#reg_popup_form fieldset > label{
	padding-left: 190px;
	position: relative;
	display: block;
	clear: both;
	height: 28px;
	padding-bottom: 8px;
}
#reg_popup_form .label{
	position: absolute;
	right: 330px;
	line-height: 28px;
	top: 0;
	font-weight: bold;
	font-style: normal;
	font-family: FlowBold;
}
#reg_popup_form .input {
	display: block;
	float: left;
}
#reg_popup_form input[type="password"],
#reg_popup_form input[type="text"] {
	height: 28px;
	line-height: 28px;
	width: 253px;
	padding: 0 9px;
	border: 0;
	background: url('/public/site/img/regpopop.png') 0 0 no-repeat;
	font-weight: normal;
	font-style: normal;
	font-family: FlowRegular;
}
#reg_popup_form .success .validate,
#lostpass_popup_form .success .validate {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	height: 25px;
	width: 28px;
	padding: 0;
	border: 0;
	background: url('/public/site/img/regpopop.png') right 0 no-repeat;
	margin-left: 7px;
}
#reg_popup_form .error input[type="password"],
#reg_popup_form .error input[type="text"]{
	background-position: 0 -28px;
	color: #fff;
}
#reg_popup_form .error .validate{
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	float: right;
	height: 25px;
	width: 28px;
	padding: 0;
	border: 0;
	background: url('/public/site/img/regpopop.png') right -29px no-repeat;
	margin-left: 7px;
}

#reg_popup_form .select {
	width: 89px;
	position: relative;
	display: block;
	float: left;
	margin-left: 7px;
	margin-right: -3px;
}
#reg_popup_form .select:first-child {
	margin-left: 0;
}
#reg_popup_form .styled {
	width: 50px;
	line-height: 28px;
	padding: 0 30px 0 9px;
	height: 36px;
	position: absolute;
	display: block;
	left: 0;
	top: 0;
	background: url('/public/site/img/regpopop.png') 0 -56px no-repeat;
}
#reg_popup_form .styled.hover {
	background-position: -93px -56px;
}
#reg_popup_form .styled.active {
	background-position: -182px -56px;
}
#reg_popup_form .select select {
	width: 80px;
	height: 26px;
	margin: 0 0 0 3px;
	position: relative;
	display: block;
	z-index: 10000;
}

#reg_popup_form .gender_radio {
	display: block;
	position: relative;
	z-index: 10000;
	margin-bottom: -25px;
}
#reg_popup_form .male {
	background: url('/public/site/img/buttons_popup_notext.png') -20px -42px no-repeat;
	width: 118px;
	height: 65px;
	display: inline-block;
	margin: 0 -11px 0 -8px;
	position: relative;
	z-index: 10000;

	font-family: HelveticaNeue-Bold;
	font-size: 13px;
	text-align: center;
	line-height: 36px;
	text-shadow: #DDD 0 1px 1px;
	color: #222;
}
#reg_popup_form .male:hover {
	background-position: -20px -110px;
	text-decoration: none;
	color: #444;
	text-shadow: #eee 0 1px 1px;
}
#reg_popup_form .female {
	background: url('/public/site/img/buttons_popup_notext.png') -138px -42px no-repeat;
	width: 118px;
	height: 65px;
	display: inline-block;
	margin: 0 0 0 -11px;
	position: relative;

	font-family: HelveticaNeue-Bold;
	font-size: 13px;
	text-align: center;
	line-height: 36px;
	text-shadow: #DDD 0 1px 1px;
	color: #222;
}
#reg_popup_form .female:hover {
	z-index: 10000;
	background-position: -138px -111px;
	text-decoration: none;
	color: #444;
	text-shadow: #eee 0 1px 1px;
}
#reg_popup_form .gender_radio_male .male {
	z-index: auto;
	background-position: -20px -173px;
	color: #111;
	text-shadow: #ccc 0 1px 1px;
}
#reg_popup_form .gender_radio_female .female {
	z-index: auto;
	background-position: -138px -173px;
	color: #111;
	text-shadow: #ccc 0 1px 1px;
}
#reg_popup_form input[type="radio"] {
	display: block;
	position: absolute;
	top: 10px;
	right: 280px;
	z-index: 1;
}
#reg_popup_form .avatar {
	position: relative;
	display: block;
}
#reg_popup_form .avatar_border {
	position: absolute;
	height: 142px;
	width: 142px;
	top: 0;
	left: 0;
	background: url('/public/site/img/regpopop.png') 0 -503px no-repeat;
}
#reg_popup_form .avatar_image {
	position: relative;
	display: block;
	height: 134px;
	width: 134px;
	padding: 3px 4px;
}

#reg_popup_form input[type="submit"],
#lostpass_popup_form input[type="submit"] {
	display: block;
	clear: both;
	overflow: hidden;
	margin: 0 auto;
	width: 307px;
	height: 72px;
	background: url('/public/site/img/regpopop.png') 0 -287px no-repeat;
	border: 0;
	text-indent: -9999px;
	cursor: pointer;
}

#reg_popup_form input[type="submit"]:hover,
#lostpass_popup_form input[type="submit"]:hover {
	background: url('/public/site/img/regpopop.png') 0 -359px no-repeat;
}
#reg_popup_form input[type="submit"]:active,
#lostpass_popup_form input[type="submit"]:active {
	background: url('/public/site/img/regpopop.png') 0 -431px no-repeat;
}

#avatar_upload_form {
	position: fixed;
	width: 154px;
	height: 64px;
	overflow: hidden;
	z-index: 10010;
	top: 50%;
	left: 50%;
	margin-left: -220px;
	margin-top: 65px;
	background: url('/public/site/img/regpopop.png') -152px -503px no-repeat;
}
#avatar_upload_input {
	width: 154px;
	height: 64px;
	line-height: 64px;
	font-size: 64px;
	display: block;
	border: 0;
	padding: 0;
	cursor: default;
}
#avatar_upload_form-button {
	display: none;
}

#top_players {
	line-height: 60px;
	list-style: none;
}
#top_players li {
	padding: 19px 0 22px;
	overflow: hidden;
	clear: both;
	font-size: 18px;
	background: url('/public/site/img/long-border.png') left bottom no-repeat;
	position: relative;
}
#top_players img,
#top_players canvas {
	display: block;
	float: left;
	margin-right: 20px;
}
#top_players div {
	float: left;
}
.top_place {
	width: 60px;
	text-align: center;
	margin-right: 20px;
}
.top_name_and_avatar {
	width: 220px;
	margin-right: 20px;
}
.top_name {
	display: inline-block;
	line-height: 20px;
	width: 140px;
	vertical-align: middle;
}
.top_level {
	width: 60px;
	text-align: center;
	margin-right: 20px;
}
.top_rating_and_profile {
	width: 205px;
	position: relative;
	padding-left: 15px;
}

#top_players_header {
	overflow: hidden;
}
#top_players_header div {
	margin-left: 20px;
	float: left;
	border-bottom: 1px solid #5f4b1d;
}
#top_players_header div:first-child {
	margin-left: 0;
}

.top_profile_btn {
	display: block;
	position: absolute;
	right: 0;
	top: 12px;
	width: 149px;
	height: 64px;
	background: url('/public/site/img/buttons_notext.png') -1306px -587px no-repeat;

	font-family: HelveticaNeue-Bold;
	font-size: 13px;
	text-align: center;
	line-height: 34px;
	text-shadow: #ddd 0 1px 1px;
	color: #222;
}
.top_profile_btn:hover {
	background-position: -1306px -668px;
	text-decoration: none;
	color: #444;
	text-shadow: #eee 0 1px 1px;
}
.top_profile_btn:active {
	background-position: -1306px -738px;
	color: #111;
	text-shadow: #ccc 0 1px 1px;
}

.pirate-icon-01 {
	width: 61px;
	height: 115px;
	background: url('/public/site/img/pirates-icons.png') 0 0 no-repeat;
	position: relative;
	top: 5px;
	left: -5px;
}
.pirate-icon-02 {
	width: 96px;
	height: 115px;
	background: url('/public/site/img/pirates-icons.png') -61px 0 no-repeat;
	position: relative;
	top: 25px;
	left: -22px;
}
.pirate-icon-03 {
	width: 84px;
	height: 115px;
	background: url('/public/site/img/pirates-icons.png') -157px 0 no-repeat;
	position: relative;
	top: 8px;
	left: 22px;
}


#feedback_form p {
	position: absolute;
	left: 400px;
}

#right-sidebar #feedback_form p {
	position: relative;
	left: 23px;
	margin-bottom: 10px;
	padding-top: 0px;
}

#lang-switch {
	position: absolute;
	top: 247px;
	right: 10px;
	list-style-type: none;
}

.l_ru a, .l_eng a {
	width: 32px;
	height: 58px;
	text-indent: -9999px;
	display: block;
	margin-bottom: -28px;
}

.l_ru a {
	background: url('../img/ru_eng.png') -32px 0 no-repeat;
}

.l_ru a:hover {
	background: url('../img/ru_eng.png') -32px -55px no-repeat;
}

.l_ru a:active, .l_ru a.current {
	background: url('../img/ru_eng.png') -32px -110px no-repeat;
}

.l_eng a {
	background: url('../img/ru_eng.png') 0 0 no-repeat;
}

.l_eng a:hover {
	background: url('../img/ru_eng.png') 0 -55px no-repeat;
}

.l_eng a:active, .l_eng a.current {
	background: url('../img/ru_eng.png') 0 -110px no-repeat;
}

.a_prev, .a_next, .a_back {
	width: 198px;
	height: 83px;
	display: inline-block;
	background: url('../img/sprite.png') -306px -24px no-repeat;
	font-family: HelveticaNeue-Bold;
	text-shadow: white 0px 1px 1px;
	font-size: 14px;
	color: #373737;
	padding: 8px 0 0 0;
	text-align: center;
	letter-spacing: 2px;
}

.a_prev:hover, .a_next:hover, .a_back:hover {
	background: url('../img/sprite.png') -306px -122px no-repeat;
	text-decoration: none;
}

.a_prev:active, .a_next:active, .a_back:active {
	background: url('../img/sprite.png') -306px -215px no-repeat;
	height: 53px;
}

#news_item_links {
	margin: 20px -100px 0 -6px;
}

#sidebar-social-buttons {
	text-align: center;
	padding: 0 15px;
	margin: 12px 0 12px 5px;
	width: 100%;
	box-sizing: border-box;
}

#sidebar-social-buttons > a {
	display: inline-block;
	margin: 0 10px;
}

#sidebar-social-buttons:after {
	width: 100%;
	height: 0;
	visibility: hidden;
	overflow: hidden;
	content: '';
	display: block;
}

#sidebar-social-buttons .fb {
	width: 58px;
	height: 59px;
	background: url(../img/social-button-fb.png);
}
#sidebar-social-buttons .fb:hover {
	background-image: url(../img/social-button-fb-active.png);
}

#sidebar-social-buttons .vk {
	width: 58px;
	height: 59px;
	background: url(../img/social-button-vk.png);
}
#sidebar-social-buttons .vk:hover {
	background-image: url(../img/social-button-vk-active.png);
}

#sidebar-social-buttons .yt {
	width: 58px;
	height: 59px;
	background: url(../img/social-button-yt.png);
}
#sidebar-social-buttons .yt:hover {
	background-image: url(../img/social-button-yt-active.png);
}

#sidebar-mobile-buttons {
	width: 308px;
	height: 48px;
	overflow: hidden;
	padding-top: 20px;
}
.google-play-button,
.itunes-button {
	display: block;
	float: left;
	height: 48px;
	width: 154px;
	background: transparent no-repeat 0 0;
}
.google-play-button:hover, .google-play-button:focus,
.itunes-button:focus, .itunes-button:hover { background-position: 0 -48px; }
.google-play-button:active, .itunes-button:active { background-position: 0 -96px; }
.google-play-button { background-image: url(../img/app/google-play-en.png); }
.google-play-button.ru { background-image: url(../img/app/google-play-ru.png); }
.itunes-button { background-image: url(../img/app/itunes-en.png); }
.itunes-button.ru { background-image: url(../img/app/itunes-ru.png); }

/*BXSLIDER*/
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: 0px;
	right: 10px;
	width: auto;
}

/*SHOP GOODS*/
.products h3 {
	text-align: center;
}
.product {
	width: 32%;
	display: inline-block;
	position: relative;
}
.product span {
	 display: block;
 }

.coins-charge-dialog{
	position: absolute;
	z-index: 100;
	width: 500px;
	height: 260px;
	top: 0px;
	background-color: beige;
	text-align: center;
	left: 10%;
}

.popup {
	display: none;
	position: absolute;
	top: 0px;
	background-color: beige;
	text-align: center;
	left: 25%;
	width: 300px;
	height: 320px;
	padding: 20px 5px;
}

.quantity.hidden {
	display: none;
}
/* shop slider */

.bx-wrapper .bx-pager {
	right:  100px;
	bottom: 11px;
}
.bx-wrapper .bx-pager .bx-pager-item {
	background:    #BABDB6;
	width:         16px;
	height:        16px;
	border-radius: 8px;
}
.bx-wrapper .bx-pager .bx-pager-item + .bx-pager-item {
	margin-left: 7px;
}
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #484647;
}
.bx-wrapper .bx-pager.bx-default-pager a {
	margin: 3px 0 0 3px;
}
.bx-wrapper .bx-viewport li {
	height: 160px;
}
.bx-wrapper .bx-viewport li a {
	text-align:     center;
	display:        block;
	vertical-align: middle;
	height:         154px;
	position:       relative;
}
.bx-wrapper .bx-viewport li a > img {
	display:        inline-block;
	vertical-align: middle;
	position:       absolute;
	top:            0;
	left:           0;
	bottom:         0;
	right:          0;
	margin:         auto;
	max-width:      100%;
	max-height:     100%;
}
.shop-slider .bx-viewport {
	background: transparent url("../img/shop/slider-mag.png") 0 -2px;
	height:     164px;
	/*padding-top: 3px;*/
}
.shop-slider .bx-wrapper {
	border:     none;
	box-shadow: none;
	background: transparent;
}

/* shop */

.product-page .product-title {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 41px;
	font-family: ZhiznRegular;
}

.product-page .product-buy-count {
	margin-bottom: 31px;
}

.product-page .product-description {
	margin-top: 21px;
}

.product-page .product-quantity-label {
    font-size: 20px;	
}

.product-item-image {
	position: relative;
	height: 147px;
	overflow: hidden;
	text-align: center;
	line-height: 147px;
	position: relative;
}
.product-item-image > img {
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
	max-height: 100%;
}
.product-item-image .product-item-image-pic {
	max-width: 85%;
	max-height: 85%;
}
.product-item-image > canvas {
	z-index: -1;
	position: absolute;
	top: 0;
	left: 0;
}
.product-item-image .discount {
	position: absolute;
	width: 60px;
	height: 63px;
	top: 9px;
	right: 0px;
	color: white;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	font-weight: normal;
	line-height: 1;
	text-align: left;
}
.product-item-image .discount:after {
	content: '';
	position: absolute;
	background: url("../img/shop/akcia_ugolok.png");
	width: 60px;
	height: 63px;
	top: -11px;
	right: 7px;
	z-index: -1;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/* --- Inputs --- */

.shop-content-wrapper input[type="text"],
.content-wrapper input[type="text"],
.jackal-popup input[type="text"],
.shop-content-wrapper input[type="password"],
.content-wrapper input[type="password"],
.jackal-popup input[type="password"] {
	border: 0;
	background: url('/public/site/img/feedback-bg.png') 0 0 no-repeat;
	line-height: 28px;
	height: 28px;
	padding: 0 9px;
	width: auto;
	position: relative;
	display: block;
}

.shop-content-wrapper input[type="text"].x-small,
.content-wrapper input[type="text"].x-small,
.jackal-popup input[type="text"].x-small {
	width: 20px;
	text-align: center;
	font-weight: bold;
	font-style: italic;
}

.shop-content-wrapper .input-text,
.content-wrapper .input-text,
.jackal-popup .input-text {
	display: inline-block;
	position: relative;
	/* background: url('/public/site/img/feedback-bg.png') 0 0 no-repeat; */
	height: 28px;
	margin-left: 7px;
	padding-right: 7px;
	vertical-align: middle;
}

.shop-content-wrapper .input-text input,
.jackal-popup .input-text input,
.content-wrapper .input-text input {
	background: none;
}

.shop-content-wrapper .input-text:before,
.content-wrapper .input-text:before,
.jackal-popup .input-text:before {
	content: '';
	display: block;
	background: url('/public/site/img/feedback-bg.png') 0 0 no-repeat;
	height: 28px;
	width: 100%;
	position: absolute;
	left: -7px;
	top: 0;
}

.shop-content-wrapper .input-text:after,
.content-wrapper .input-text:after,
.jackal-popup .input-text:after {
	content: '';
	display: block;
	background: url('/public/site/img/feedback-bg.png') -274px 0 no-repeat;
	height: 28px;
	width: 7px;
	position: absolute;
	right: 0px;
	top: 0;
}

.shop-content-wrapper .input-text.centered input,
.content-wrapper .input-text.centered input,
.jackal-popup .input-text.centered input,
.shop-content-wrapper .input-text input.center,
.content-wrapper .input-text input.center,
.jackal-popup .input-text input.center {
	text-align: center;
}

.shop-content-wrapper .input-text input.char-5,
.content-wrapper .input-text input.char-5,
.jackal-popup .input-text input.char-5 {
	width: 40px;
}

.shop-content-wrapper .input-text input.small,
.content-wrapper .input-text input.small,
.jackal-popup .input-text input.small {
	width: 20px;
}

.shop-content-wrapper .input-text input.x-small,
.content-wrapper .input-text input.x-small,
.jackal-popup .input-text input.x-small {
	width: 15px;
}

.shop-content-wrapper .input-text.italic input,
.content-wrapper .input-text.italic input,
.jackal-popup .input-text.italic input {
	font-family: FlowRegular;
}
.shop-content-wrapper .input-text.bold input,
.content-wrapper .input-text.bold input,
.jackal-popup .input-text.bold input {
	font-weight: bold;
}

.input-select.x-small {
	position: relative;
	display: inline-block;
}
.input-select.x-small select {
	width: 84px;
	line-height: 25px;
	padding: 0 38px 0 8px;
	height: 28px;
	display: inline-block;
	background: url('/public/site/img/regpopop.png') 0 -56px no-repeat;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
	border: none;
	font-family: FlowRegular;
	font-size: 16px;
	font-weight: bold;
	position: relative;
}
.input-select.x-small select:hover {
	background-position: -93px -56px;
}
.input-select.x-small select:active {
	background-position: -182px -56px;
}
.input-select.x-small:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 94px;
	height: 33px;
	background: url('/public/site/img/regpopop.png') 0 -56px no-repeat;
	z-index: -1;
}

.input-textarea textarea {
	border: 0;
	background: none;
	padding: 0 9px;
	outline: none;
	font: 15px FlowRegular;
}
.input-textarea {
	display: inline-block;
	background: url("../img/textarea/textarea_05.png");
	position: relative;
	/* width: 171px; */
	margin: 12px;
}
.input-textarea .tl,
.input-textarea .t,
.input-textarea .tr,
.input-textarea .l,
.input-textarea .r,
.input-textarea .bl,
.input-textarea .b,
.input-textarea .br {
	position: absolute;
}
.input-textarea .tl,
.input-textarea .t,
.input-textarea .tr {
	top: -12px;
}
.input-textarea .bl,
.input-textarea .b,
.input-textarea .br {
	bottom: -12px;
}
.input-textarea .tl,
.input-textarea .l,
.input-textarea .bl {
	left: -12px;
}
.input-textarea .tr,
.input-textarea .r,
.input-textarea .br {
	right: -12px;
}
.input-textarea .t,
.input-textarea .b {
	left: 0;
}
.input-textarea .tl {
	background: url("../img/textarea/textarea_01.png");
	width: 12px;
	height: 12px;
	z-index: 2;
}
.input-textarea .t {
	background: url("../img/textarea/textarea_02.png") repeat-x;
	width: 100%;
	height: 12px;
}
.input-textarea .tr {
	background: url("../img/textarea/textarea_03.png");
	width: 12px;
	height: 12px;
	z-index: 2;
}
.input-textarea .l {
	background: url("../img/textarea/textarea_04.png") repeat-y;
	width: 12px;
	height: 100%;
	top: 0;
}
.input-textarea .r {
	background: url("../img/textarea/textarea_06.png") repeat-y;
	width: 12px;
	height: 100%;
	top: 0;
}
.input-textarea .bl {
	background: url("../img/textarea/textarea_07.png");
	width: 12px;
	height: 12px;
	z-index: 2;
}
.input-textarea .b {
	background: url("../img/textarea/textarea_08.png") repeat-x;
	width: 100%;
	height: 12px;
}
.input-textarea .br {
	background: url("../img/textarea/textarea_09.png");
	width: 12px;
	height: 12px;
	z-index: 2;
}

.table table {
	background: url("../img/table/fon_tablica_body.png") repeat-y -13px;
	width: 566px;
	/* padding: 35px 20px; */
	box-sizing: border-box;
	position: relative;
	border-collapse: collapse;
	border-spacing: 0;
}
.table table:before {
	content: '';
	position: absolute;
	background: url("../img/table/fon_tablica_up.png") no-repeat -13px;
	width: 586px;
	height: 50px;
	top: -10px;
	left: 0;
	z-index: 0;
}
.table table:after {
	content: '';
	position: absolute;
	background: url("../img/table/fon_tablica_down.png") no-repeat -13px -38px;
	width: 586px;
	height: 17px;
	bottom: -7px;
	left: 0;
	z-index: 0;
}
.table table tbody tr:last-child td:last-child {
	/* background: url("../img/table/fon_tablica_down.png") 131px 5px; */
}
.table table thead td {
	padding-top: 15px;
}
.table table tbody tr:last-child td {
	padding-bottom: 7px;
}
.table table td:first-child {
	padding-left: 20px;
}
.table table td:last-child {
	padding-right: 20px;
}
.table td {
	position: relative;
	padding: 7px 6px;
}
.table td,
.table td > * {
	vertical-align: middle;
}
.table td + td:before,
.table tr + tr td:after,
.table thead td:after {
	content: '';
	display: block;
	position: absolute;
}
.table td + td:before {
	width: 3px;
	height: 100%;
	background: url("../img/table/razdelitel_vertical.png") repeat-y;
	left: -2px;
	top: 0;
	z-index: 1;
}
.table thead td:after,
.table tr + tr td:after {
	width: 99%;
	height: 3px;
	background: url("../img/table/razdelitel_horizontal.png") repeat-x;
	left: 0;
}
.table thead td:after {
	bottom: 0;
}
.table tr + tr td:after {
	top: -2px;
}
.table tr + tr td:first-child:after,
.table thead td:first-child::after {
	left: 2%;
	width: 98%;
}
.table tr + tr td:last-child:after,
.table thead td:last-child:after {
	width: 95%;
}
.table thead td {
	font-weight: bold;
}
.table td.centered {
	text-align: center;
}


.quantity .less,
.quantity .more{
	width: 30px;
	height: 30px;
	background: url("../img/shop/button_null.png") -1px 1px;
	display: inline-block;
	vertical-align: middle;
	position: relative;
}
.quantity .less:before,
.quantity .more:before {
	content: '';
	position: absolute;
	top: 7px;
	left: 10px;
	background: url("../img/shop/arrow_left.png") 36px 27px;
	width: 14px;
	height: 14px;
}
.quantity .more:before {
	background-image: url("../img/shop/arrow_right.png");
	background-position: 17px 27px;
}
.quantity .less:hover,
.quantity .more:hover{
	background-image: url("../img/shop/button_null_hover.png");
}
.quantity .less:active,
.quantity .more:active,
.quantity .less.disabled,
.quantity .more.disabled {
	background-image: url("../img/shop/button_null_active.png");
}
.quantity .less.disabled,
.quantity .more.disabled {
	cursor: default;
}
.quantity .less.disabled-opacity,
.quantity .more.disabled-opacity {
	opacity: 0.7;
}
.quantity .less:after,
.quantity .more:after {
	content: "";
	display: block;
	position: absolute;
	bottom: -20px;
	left: 0;
	height: 20px;
	width: 100%;
	background: url("../img/shop/button_null.png") -1px -29px;
}

.button-toggle {
	width: 57px;
	height: 56px;
	display: inline-block;
	position: relative;
	background: transparent no-repeat 7px 7px;
	cursor: pointer;
}
.button-toggle:after {
	content: '';
	position: absolute;
	width: 70px;
	height: 67px;
	background: url("../img/shop/button-platezh+socprofile.png");
	left: -6px;
	top: -3px;
	z-index: -1;
	cursor: pointer;
}

.button-toggle:hover:after {
	background-image: url("../img/shop/button-platezh+socprofile_hover.png");
}

.button-toggle:active:after {
	background-image: url("../img/shop/button-platezh+socprofile_active.png");
}

.button-toggle.button-toggled,
.button-toggle.button-disabled {
	cursor: default;
}

.button-toggle.button-toggled:after,
.button-toggle.button-disabled:after {
	background-image: url("../img/shop/button-platezh+socprofile_active.png");	
}

/* --- Product items (category) ---*/
.goods-list .product-item {
	margin-bottom: 25px;
}

.goods-list .product-item .product-title {
	color: #433307;
	font-weight: bold;
	padding-left: 3px;
	font-size: 18px;
	display: inline-block;
}
.goods-list .product-item .product-title-text {
	height: 1em;
	overflow: hidden;
	display: inline-block;
}
.goods-list .product-item .product-item-image {
	width: 140px;
	height: 105px;
	overflow: hidden;
	margin-top: 2px;
	display: block;
	text-align: center;
	line-height: 105px;
	position: relative;
}
.goods-list .product-item .product-item-image:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background: transparent url("../img/shop/fon_predmet_tovara-osnova_small.png"); */
}
.goods-list .product-item .product-item-image img  {
	max-width: 100%;
	max-height: 100%;
	display: inline-block;
	vertical-align: middle;
}
.goods-list .product-item .product-item-image canvas {
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
	/* opacity: 0.8; */
}
.goods-list .product-item .product-item-image img.product-item-image-pic {
max-width: 85%;max-height: 85%;/* margin-top: 10%; */}

.goods-list .product-item .product-buy-price {
	display: inline-block;
	height: 25px;
	line-height: 25px;
	padding-left: 4px;
	margin-top: 3px;
}
.goods-list .product-item .btn.buy-item {
	float: right;
}
.goods-list .product-item .product-price {
	position: relative;
	padding-right: 34px;
	font-weight: bold;
}
.goods-list .product-item .product-price:before {
	content: "";
	display: block;
	position: absolute;
	right: 3px;
	top: -2px;
	background: url("../img/shop/coin_melkiy.png");
	width: 30px;
	height: 26px;
}

/* --- Common */
.content-wrapper.page-info h3 {
	color: #111;
	margin-bottom: 0;
	padding-bottom: 14px;
	padding-top: 0;
	margin-top: 40px;
}
.content-wrapper.page-info > h3:first-child,
.content-wrapper.page-info > *:first-child > h3:first-child,
.content-wrapper.page-info > *:first-child > *:first-child > h3:first-child {
	margin-top: 0;
}
.content-wrapper .pagination {
	margin-top: 16px;
	margin-bottom: 20px;
}
.content-wrapper .pagination .page {
	font-size: 20px;
	margin-bottom: 8px;
}

/* --- Product Page --- */
.product-page .product-price,
.product-price-big {
	position: relative;
	padding-right: 34px;
	font-weight: bold;
}

.product-page .product-price:before,
.product-price-big:before {
	content: "";
	display: block;
	position: absolute;
	right: 0;
	top: -2px;
	background: url("../img/shop/coin_krupnee(str_tovara).png");
	width: 30px;
	height: 26px;
}

.product-page .product-buy-price {
	font-size: 20px;
	margin-bottom: 6px;
}

.product-page .product-buy-price > label {
	margin-right: 1px;
}

/* --- Account --- */
.account-page .navigation {
	margin-bottom: 25px;
}
.account-page .info,
.account-page h3 {
	color: #111;
}
.account-page h3 {
	margin-bottom: 0;
	padding-bottom: 14px;
	padding-top: 0;
	margin-top: 40px;
}
.account-page .navigation + h3:first-child,
.account-page .navigation + * > h3:first-child {
	margin-top: 0;
}
.account-page .info .avatar-big {
	position: relative;
	height: 140px;
	text-align: center;
	line-height: 140px;
}
.account-page .info .avatar-big:before{
	content: '';
	position: absolute;
	width: 141px;
	height: 142px;
	top: 0;
	left: 0;
	background: url("../img/profileRamka.png");
}
.account-page .info .avatar-big img {
	max-width: 100%;
	border-radius: 5px;
	max-height: 100%;
	/* min-width: 100%; */
	vertical-align: middle;
}
.account-page .info .name,
.account-page .info .level,
.account-page .info .league {
	font-family: ZhiznRegular;
}
.account-page .info .name {
	font-size: 26px;
	margin-bottom: 14px;
}
.account-page .info .name .premium-icon {
	vertical-align: top;
}
.account-page .info .level,
.account-page .info .league {
	font-size: 22px;
	margin-bottom: 4px;
}
.account-page .info .league {
	margin-bottom: 14px;
}
.account-page .info .balance {
	margin-bottom: 14px;
}
.account-page .info .balance,
.account-page .info .rating {
	font-size: 20px;
}
.account-page .info .rating > * + * {
	margin-left: 6px
}
.account-page .description {
	margin-top: 24px;
	font-size: 20px;
	color: #111;
}
.account-page .description > * + * {
	margin-top: 12px;	
}
.account-page .description strong {
	display: inline-block;
	width: 120px;
}
.account-page .actions {
	margin-top: 40px;
}

.account-page .social-buttons .button-vkontakte {
	background-image: url("../img/social/socs_logo_new_18.png") ;
}

.account-page .social-buttons .button-facebook {
	background-image: url("../img/social/socs_logo_new_07.png") ;
	background-position: 4px 7px;
}

.account-edit-page label {
	width: 133px;
	display: inline-block;
	vertical-align: middle;
}
.account-edit-page label.textarea {
	vertical-align: top;
	margin-top: 4px;
}
.account-edit-page form > h3:first-child {
	margin-top: 0;
}
.account-edit-page input {
	font: 15px FlowRegular;
}
.account-edit-page form > div + div {
	margin-top: 4px;
}
.account-edit-page form button {
	margin-top: 14px;
}

.account-gold-page .gold-list.header {
	margin-bottom: 20px;
}
.account-gold-page .gold-list.header > *,
.account-gold-page .gold-list.header > * > * {
	font-family: FlowRegular;
	font-weight: bold;
}
.account-gold-page .gold-list.header > * {
	font-size: 20px;
}
.account-gold-page .gold-list.header .item-keyword * {
	margin: 0;
	padding: 0;
	font-size: 24px;
}
.account-gold-page .gold-list.header .item-date {
	padding-left: 3px;
	box-sizing: border-box;
}
.account-gold-page .gold-list .item {
	height: 34px;
	line-height: 34px;
}
.account-gold-page .gold-list .item > *,
.account-gold-page .gold-list .item > * > * {
	vertical-align: middle;
}
.account-gold-page .gold-list .item + .item {
	margin-top: 14px;
}
.account-gold-page .gold-list .item-keyword .input-text {
	width: 90%;
}
.account-gold-page .gold-list .item-keyword .input-text input {
	font-size: 16px;
}
.account-gold-page .gold-list .item-status {
	text-align: center;
}

.account-gold-page .add-gold-account {
	margin-bottom: 24px;
}

.account-transactions-page .table .icon-item,
.account-transactions-page .table .icon-item-wrapper {
	margin-right: 5px;
	width: 35px;
	margin-bottom: 5px;
	box-sizing: border-box;
}
.account-transactions-page .table .icon-item-wrapper {
	display: inline-block;
	text-align: center;
}
.account-transactions-page .table .icon-item-wrapper img {
	max-width: 100%;
	max-height: 35px;
	vertical-align: middle;
}
.account-transactions-page .table .icon-item.icon-goods-unknown {
	width: 35px;
	height: 35px;
}

/* --- Shop taxonomy --- */
#right-sidebar .taxonomy-sections {
	text-align: center;
	margin: 12px 0 12px 5px;
	box-sizing: border-box;
	padding: 0 15px;
}

#right-sidebar .taxonomy-sections .section,
#right-sidebar .taxonomy-sections .categories {
	display: inline-block;
}

#right-sidebar .taxonomy-sections a.section {
	margin-bottom: 20px;
}

#right-sidebar .taxonomy-sections .categories {
	background: url("../img/shop/modmenu_fon.png");
	width: 212px;
	margin-top: 0px;
	text-align: center;
	box-shadow: 0 -5px 5px -3px #4A422B inset;
}

#right-sidebar .taxonomy-sections .categories .category {
	margin: 15px;
	display: inline-block;
}

#right-sidebar .taxonomy-sections .categories .category + .category {
	margin-top: 0;
}

/* Buttons */

.button-yellow, .button-grey {
	padding: 0;
	border: none;
	position: relative;
	outline: 0;
	cursor: pointer;
	background-color: transparent;
	text-align: center;
	z-index: 10;
	color: #433307;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	display: inline-block;
	vertical-align: middle;
}

.button-yellow:hover, .button-grey:hover {
	text-decoration: none;
}

.button-yellow:after, .button-grey:after {
	content: "";
	position: absolute;
	top: 0;
	z-index: -1;
	background-repeat: no-repeat;
}

.button-yellow {
	font-family: HelveticaNeue-Bold;
	font-size: 16px;
	height: 30px;
	line-height: 30px;
}

.button-grey {
	font-family: FlowRegular;
	height: 30px;
	line-height: 30px;
	text-decoration: none;
	color: #000;
}

.button-yellow:after {
	left: -6px;
	height: 46px;
	/* background-position-x: -4px; */
}

.button-grey:after {
	left: -6px;
	top: -2px;
	height: 46px;
	width: 152px;
}

.button-yellow.disabled,
.button-grey.disabled,
.button-yellow.disabled-opacity,
.button-grey.disabled-opacity {
	cursor: default;
}
.button-yellow.disabled {
	color: #393940;
}

.button-yellow.disabled-opacity,
.button-grey.disabled-opacity {
	opacity: 0.7;
}

.button-yellow.button-short{
	width: 102px;
}
.button-yellow.button-short:after {
	background-image: url("../img/shop/button_buy_big(str_tovara).png");
	width: 114px;
}
.button-yellow.button-short:hover:after {
	background-image: url("../img/shop/button_buy_big(str_tovara)-hover.png");
}

.button-yellow.button-short:active:after,
.button-yellow.button-short.disabled:after {
	background-image: url("../img/shop/button_buy_big(str_tovara)-active.png");
}

.button-yellow.button-long {
	width: 213px;
}
.button-yellow.button-long:after{
	background-image: url("../img/shop/button_right_menu.png");
	width: 225px;
}
.button-yellow.button-long:hover:after {
	background-image: url("../img/shop/button_right_menu_hover.png");
}
.button-yellow.button-long:active:after {
	background-image: url("../img/shop/button_right_menu_active.png");
}

.button-yellow.button-normal {
	width: 143px;
	height: 31px;
	line-height: 32px;
	font-family: HelveticaNeue-Bold;
	text-shadow: #ff9 0 1px 1px;
	font-size: 18px;
	color: #740;
}
.button-yellow.button-normal:after {
	background: url('/public/site/img/buttons_notext.png') -142px -523px no-repeat;
	width: 154px;
	height: 50px;
	left: -5px;
}
.button-yellow.button-normal:hover {
	color: #850 !important;
}
.button-yellow.button-normal:hover:after {
	background-position: -324px -523px;
}
.button-yellow.button-normal:active,
.button-yellow.button-normal.active,
.button-yellow.button-normal.disabled {
	color: #630 !important;
	text-shadow: #dc7 0 1px 1px;
}
.button-yellow.button-normal:active:after,
.button-yellow.button-normal.active:after,
.button-yellow.button-normal.disabled:after {
	background-position: -497px -523px;
}
.button-yellow.button-normal.disabled {
	cursor: default;
}

/*.button-yellow.button-short {*/
	/*width: 141px;*/
/*}*/
/*.button-yellow.button-short:after {*/
	/*background-image: url("../img/shop/button_vhod+vkvhod+popup+popolnit'.png");*/
/*}*/
/*.button-yellow.button-short:hover:after {*/
	/*background-image: url("../img/shop/button_vhod+vkvhod+popup+popolnit'_hover.png");*/
/*}*/
/*.button-yellow.button-short:active:after {*/
	/*background-image: url("../img/shop/button_vhod+vkvhod+popup+popolnit'_active.png");*/
/*}*/

.button-yellow.button-xshort {
	width: 79px;
	height: 24px;
	line-height: 24px;
	font-size: 12px;
	font-weight: bold;
	font-family: Helvetica;
}
.button-yellow.button-xshort:after{
	background-image: url("../img/shop/button_buy.png");
	width: 88px;
	height: 36px;
	left: -5px;
}
.button-yellow.button-xshort:hover:after {
	background-image: url("../img/shop/button_buy_hover.png");
}
.button-yellow.button-xshort:active:after {
	background-image: url("../img/shop/button_buy_active.png");
}
.button-yellow.button-xshort.disabled:after{
	background-image: url("../img/shop/button_kupleno.png");
}

.button-grey.button-normal {
	width: 141px;
}
.button-grey.button-normal:after {
	background-image: url("../img/shop/button_top.png");
}
.button-grey.button-normal:hover:after {
	background-image: url("../img/shop/button_top_hover.png");
}
.button-grey.button-normal:active:after {
	background-image: url("../img/shop/button_top_active.png");
}

.button-grey.button-short {
	width: 110px;
	height: 31px;
}
.button-grey.button-short:after {
	background-image: url('/public/site/img/buttons_notext.png');
	background-position: -1359px -42px;
	height: 68px;
	width: 126px;
}
.button-grey.button-short:hover:after {
	background-position-y: -138px;
}
.button-grey.button-short:active:after,
.button-grey.button-short.disabled:after{
	background-position-y: -233px;
}

.button-grey.button-long {
	width: 188px;
}
.button-grey.button-long:after {
	width: 208px;
	height: 64px;
	background: url('/public/site/img/buttons_notext.png') -1491px -40px no-repeat;
	left: -10px;
	top: -4px;
}
.button-grey.button-long:hover:after {
	background-position: -1491px -138px;
}
.button-grey.button-long:active:after {
	background-position: -1491px -231px;
}

.button-yellow.button-normal.button-bold,
.button-yellow.button-long.button-bold,
.button-yellow.button-short.button-bold,
.button-yellow.button-long.button-bold
.button-grey.button-normal.button-bold,
.button-grey.button-long.button-bold,
.button-grey.button-short.button-bold {
	font-family: HelveticaNeue-Bold;
	font-size: 15px;
	color: #333;
}
.button-yellow.button-long-text,
.button-yellow.button-normal.button-long-text,
.button-yellow.button-short.button-long-text,
.button-grey.button-long-text,
.button-grey.button-normal.button-long-text,
.button-grey.button-long.button-long-text,
.button-grey.button-short.button-long-text,
.button-grey.button-short.button-bold.button-long-text {
	font-size: 13px;
}

/*Payment*/
.payment-result-preload{
	background-image: url("../img/payment-result-preloader.gif?1");
	width: 64px;
	height: 64px;
	margin-bottom: 16px;
}