/* YANDEX BAALS*/
.b-page_newyear {
overflow: hidden;
background: url(images/yaballs/b-page_newyear.png) repeat-x 0 0!important;
}

.b-page_newyear .b-head-decor {
position: absolute;
top: 0;
left: 0;
display: block;
height: 115px;
width: 100%;
overflow: hidden;
background: url(images/yaballs/b-head-decor_newyear.png) repeat-x 0 0;
z-index: 2;
}

.b-page_newyear .b-head-decor::before {
content: '';
position: absolute;
top: -115px;
left: 0;
z-index: 3;
height: 115px;
display: block;
width: 100%;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.75);
}

.b-page_newyear .b-head-decor__inner {
position: absolute;
top: 0;
left: 0;
height: 115px;
display: block;
width: 373px;
}

.b-ball, .b-shrinker__right {
position: absolute;
}

.b-ball_n1 {
top: 0;
left: 3px;
width: 59px;
height: 83px;
}

.b-ball_n1 {
top:0;
left:3px;
width:59px;
height:83px;
}

.b-ball_n2 {
top:-19px;
left:51px;
width:55px;
height:70px;
}

.b-ball_n3 {
top:9px;
left:88px;
width:49px;
height:67px;
}

.b-ball_n4 {
top:0;
left:133px;
width:57px;
height:102px;
}

.b-ball_n5 {
top:0;
left:166px;
width:49px;
height:57px;
}

.b-ball_n6 {
top:6px;
left:200px;
width:54px;
height:70px;
}

.b-ball_n7 {
top:0;
left:240px;
width:56px;
height:67px;
}

.b-ball_n8 {
top:0;
left:283px;
width:54px;
height:53px;
}

.b-ball_n9 {
top:10px;
left:321px;
width:49px;
height:66px;
}

.b-ball_n1 .b-ball__i {
background:url(images/yaballs/b-ball_n1.png) no-repeat;
}

.b-ball_n2 .b-ball__i {
background:url(images/yaballs/b-ball_n2.png) no-repeat;
}

.b-ball_n3 .b-ball__i {
background:url(images/yaballs/b-ball_n3.png) no-repeat;
}

.b-ball_n4 .b-ball__i {
background:url(images/yaballs/b-ball_n4.png) no-repeat;
}

.b-ball_n5 .b-ball__i {
background:url(images/yaballs/b-ball_n5.png) no-repeat;
}

.b-ball_n6 .b-ball__i {
background:url(images/yaballs/b-ball_n6.png) no-repeat;
}

.b-ball_n7 .b-ball__i {
background:url(images/yaballs/b-ball_n7.png) no-repeat;
}

.b-ball_n8 .b-ball__i {
background:url(images/yaballs/b-ball_n8.png) no-repeat;
}

.b-ball_n9 .b-ball__i {
background:url(images/yaballs/b-ball_n9.png) no-repeat;
}

.b-ball_i1 .b-ball__i {
background:url(images/yaballs/b-ball_i1.png) no-repeat;
}

.b-ball_i2 .b-ball__i {
background:url(images/yaballs/b-ball_i2.png) no-repeat;
}

.b-ball_i3 .b-ball__i {
background:url(images/yaballs/b-ball_i3.png) no-repeat;
}

.b-ball_i4 .b-ball__i {
background:url(images/yaballs/b-ball_i4.png) no-repeat;
}

.b-ball_i5 .b-ball__i {
background:url(images/yaballs/b-ball_i5.png) no-repeat;
}

.b-ball_i6 .b-ball__i {
background:url(images/yaballs/b-ball_i6.png) no-repeat;
}

.b-ball_ya .b-ball__i {
background:url(images/yaballs/b-ball_ya.png) no-repeat;
}

.b-ball_i1 {
top:0;
left:0;
width:25px;
height:71px;
}

.b-ball_i2 {
top:0;
left:25px;
width:61px;
height:27px;
}

.b-ball_i3 {
top:0;
left:176px;
width:29px;
height:31px;
}

.b-ball_i4 {
top:0;
left:205px;
width:50px;
height:51px;
}

.b-ball_i5 {
top:0;
left:289px;
width:78px;
height:28px;
}

.b-ball_i6 {
top:0;
left:367px;
width:6px;
height:69px;
}

.b-ball__i {
position:absolute;
width:100%;
height:100%;
-webkit-transform-origin:50% 0;
-moz-transform-origin:50% 0;
-o-transform-origin:50% 0;
transform-origin:50% 0;
-webkit-transition:all .3s ease-in-out;
-moz-transition:all .3s ease-in-out;
-o-transition:all .3s ease-in-out;
transition:all .3s ease-in-out;
pointer-events:none;
}

.b-ball_bounce .b-ball__right {
position:absolute;
top:0;
right:0;
left:50%;
bottom:0;
z-index:9;
}

.b-ball_bounce .b-ball__right:hover {
left:0;
display:block!important;
}

.b-ball_bounce.bounce>.b-ball__i {
-webkit-transform:rotate(-9deg);
-moz-transform:rotate(-9deg);
-o-transform:rotate(-9deg);
transform:rotate(-9deg);
}

.b-ball_bounce .b-ball__right.bounce+.b-ball__i {
-webkit-transform:rotate(9deg);
-moz-transform:rotate(9deg);
-o-transform:rotate(9deg);
transform:rotate(9deg);
}

.b-ball_bounce.bounce1>.b-ball__i {
-webkit-transform:rotate(6deg);
-moz-transform:rotate(6deg);
-o-transform:rotate(6deg);
transform:rotate(6deg);
}

.b-ball_bounce .b-ball__right.bounce1+.b-ball__i {
-webkit-transform:rotate(-6deg);
-moz-transform:rotate(-6deg);
-o-transform:rotate(-6deg);
transform:rotate(-6deg);
}

.b-ball_bounce.bounce2>.b-ball__i {
-webkit-transform:rotate(-3deg);
-moz-transform:rotate(-3deg);
-o-transform:rotate(-3deg);
transform:rotate(-3deg);
}

.b-ball_bounce .b-ball__right.bounce2+.b-ball__i {
-webkit-transform:rotate(3deg);
-moz-transform:rotate(3deg);
-o-transform:rotate(3deg);
transform:rotate(3deg);
}

.b-ball_bounce.bounce3>.b-ball__i {
-webkit-transform:rotate(1.5deg);
-moz-transform:rotate(1.5deg);
-o-transform:rotate(1.5deg);
transform:rotate(1.5deg);
}

.b-ball_bounce .b-ball__right.bounce3+.b-ball__i {
-webkit-transform:rotate(-1.5deg);
-moz-transform:rotate(-1.5deg);
-o-transform:rotate(-1.5deg);
transform:rotate(-1.5deg);
}

.b-page_newyear .b-head-decor__inner_n2 {
left:373px;
}

.b-page_newyear .b-head-decor__inner_n3 {
left:746px;
}

.b-page_newyear .b-head-decor__inner_n4 {
left:1119px;
}

.b-page_newyear .b-head-decor__inner_n5 {
left:1492px;
}

.b-page_newyear .b-head-decor__inner_n6 {
left:1865px;
}

.b-page_newyear .b-head-decor__inner_n7 {
left:2238px;
}

/* Normal, standard links. */
a:link
{
	color: #250292;
	text-decoration: none;
}
a:visited
{
	color: #004D94;
	text-decoration: none;
}
a:hover
{
	text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
	color: #FFFFFF;
	text-decoration: none;
}
a.nav:hover
{
	color: #cc3333;
	text-decoration: underline;
}

#footerarea{
	background:rgb(136, 166, 192);
	background:rgba(136, 166, 192, 0.7);
	display:none;
}

/* Tables should show empty cells. */
table
{
	empty-cells: show;
}

/* By default (td, body..) use verdana in black. */
body, td, th , tr
{
	color: #000000;
	font-size: small;
	font-family: verdana, sans-serif;
}

/* The main body of the entire forum. */
body
{
	/*background-color: #E5E5E8;*/
	/*background:url("images/novogodnyaya-hq-fotografiya-473.jpg") no-repeat center center fixed;*/
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-attachment: fixed;
	margin: 0px;
	padding: 12px 30px 4px 30px;
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
	color: #000000;
	font-family: verdana, sans-serif;
}
input, button
{
	font-size: 90%;
}

textarea
{
	font-size: 100%;
	color: #000000;
	font-family: verdana, sans-serif;
}

/* All input elements that are checkboxes or radio buttons. */
input.check
{
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
	font-size: 90%;
	font-weight: normal;
	color: #000000;
	font-family: verdana, sans-serif;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor
{
	height: 1px;
	border: 0;
	color: #666666;
	background-color: #666666;
}

/* No image should have a border when linked */
a img
{
	border: 0;
}
/* A quote, perhaps from another post. */
.quote
{
	color: #000000;
	background-color: #D7DAEC;
	border: 1px solid #000000;
	margin: 1px;
	padding: 1px;
	font-size: x-small;
	line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code
{
	color: #000000;
	background-color: #dddddd;
	font-family: "courier new", "times new roman", monospace;
	font-size: x-small;
	line-height: 1.3em;
	/* Put a nice border around it. */
	border: 1px solid #000000;
	margin: 1px auto 1px auto;
	padding: 1px;
	width: 99%;
	/* Don't wrap its contents, and show scrollbars. */
	white-space: nowrap;
	overflow: auto;
	/* Stop after about 24 lines, and just show a scrollbar. */
	max-height: 24em;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
	color: #000000;
	text-decoration: none;
	font-style: normal;
	font-weight: bold;
	font-size: x-small;
	line-height: 1.2em;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
	cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
	color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
	width: 96%;
}

/* Highlighted text - such as search results. */
.highlight
{
	background-color: yellow;
	font-weight: bold;
	color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, #preview_body
{
	color: #000000;
	border: 1px solid #ADADAD;
	background-color: rgb(236, 237, 243);
	background-color: rgba(236, 237, 243, 0.6);
}
.windowbg2
{
	color: #000000;
	border: 1px solid #ADADAD;
	background-color: rgb(246, 246, 246);
	background-color: rgba(246, 246, 246, 0.5);
}
.windowbg3
{
	color: #000000;
	background-color: #E0E1E8;
}
/* the today container in calendar */
.calendar_today
{
	background-color: #FFFFFF;
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
	color: black;
	font-style: normal;
	/*background: url(images/titlebg.jpg) #E9F0F6 repeat-x;*/
	background: rgb(233, 240, 246);
	background: rgba(233, 240, 246, 0.7);
	border-bottom: solid 1px #9BAEBF;
	border-top: solid 1px #FFFFFF;
	padding-left: 10px;
	padding-right: 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
	font-weight: bold;
	color: black;
	font-style: normal;
}

.titlebg a:hover
{
	color: #404040;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
	color: black;
	font-style: normal;
	text-decoration: underline;
}

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

/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td
{
	/*background: url(images/catbg.jpg) #88A6C0 repeat-x;*/
	background: rgb(136, 166, 192);
	background: rgba(136, 166, 192, 0.6);
	color: #ffffff;
	padding-left: 10px;
	padding-right: 10px;
}
.catbg2 , tr.catbg2 td
{
	background: url(images/catbg2.jpg) #A1BFD9 repeat-x;
	color: #ffffff;
	padding-left: 10px;
	padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
	border-bottom: solid 1px #375576;
}
.catbg, .catbg2
{
	font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
	font-size: 95%;
	color: white;
	text-decoration: none;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
	color: white;
	text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
	color: #e0e0ff;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
	/*background-color: #ADADAD;*/

	padding: 0px;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
	padding: 1px;
	border: 1px solid #696969;
	background-color: transparent;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
	font-size: x-small;
	font-family: verdana, sans-serif;
}
.middletext
{
	font-size: 90%;
}
.normaltext
{
	font-size: small;
}
.largetext
{
	font-size: large;
}


/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
	width: 100%;
	overflow: auto;
	line-height: 1.3em;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
	width: 100%;
	overflow: auto;
	padding-bottom: 3px;
	line-height: 1.3em;
}

/* Sometimes there will be an error when you post */
.error
{
	color: red;
}


/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last
{
	color: white;
	text-transform: uppercase;
	vertical-align: top;
}
.maintab_back, .maintab_active_back
{
	color: white;
	text-decoration: none;
	font-size:  9px;
	vertical-align: top;
	padding: 2px 6px 6px 6px;
	font-family: tahoma, sans-serif;
}

.maintab_first
{
	background: url(images/maintab_first.gif) left bottom no-repeat;
	width: 10px;
}
.maintab_back
{
	background: url(images/maintab_back.gif) left bottom repeat-x;
}
.maintab_last
{
	background: url(images/maintab_last.gif) left bottom no-repeat;
	width: 8px;
}
.maintab_active_first
{
	background: url(images/maintab_active_first.gif) left bottom no-repeat;
	width: 6px;
}
.maintab_active_back
{
	background: url(images/maintab_active_back.gif) left bottom repeat-x;
}
.maintab_active_last
{
	background: url(images/maintab_active_last.gif) left bottom no-repeat;
	width: 8px;
}

/* how links behave in main tab. */
.maintab_back a:link , .maintab_back a:visited, .maintab_active_back a:link , .maintab_active_back a:visited
{
	color: white;
	text-decoration: none;
}

.maintab_back a:hover, .maintab_active_back a:hover
{
	color: #e0e0ff;
	text-decoration: none;
}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{
	color: white;
	text-transform: uppercase;
	vertical-align: top;
}
.mirrortab_back, .mirrortab_active_back
{
	color: white;
	text-decoration: none;
	font-size: 9px;
	vertical-align: bottom;
	padding: 6px 6px 2px 6px;
	font-family: tahoma, sans-serif;
}

.mirrortab_first
{
	background: url(images/mirrortab_first.gif) no-repeat;
	width: 10px;
}
.mirrortab_back
{
	background: url(images/mirrortab_back.gif) repeat-x;
}
.mirrortab_last
{
	background: url(images/mirrortab_last.gif) no-repeat;
	width: 6px;
}
.mirrortab_active_first
{
	background: url(images/mirrortab_active_first.gif) no-repeat;
	width: 6px;
}
.mirrortab_active_back
{
	background: url(images/mirrortab_active_back.gif) repeat-x;
}
.mirrortab_active_last
{
	background: url(images/mirrortab_active_last.gif) no-repeat;
	width: 8px;
}

/* how links behave in mirror tab. */
.mirrortab_back a:link , .mirrortab_back a:visited, .mirrortab_active_back a:link , .mirrortab_active_back a:visited
{
	color: white;
	text-decoration: none;
}

.mirrortab_back a:hover, .mirrortab_active_back a:hover
{
	color: #e0e0ff;
	text-decoration: none;
}

/* The AJAX notifier */
#ajax_in_progress
{
	background: #32CD32;
	color: white;
	text-align: center;
	font-weight: bold;
	font-size: 18pt;
	padding: 3px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
}

.yolochka
{
    position: fixed;
    right: 0px;
    bottom: 0px;
    z-index: -100;
}
.nastroenie
{
    width: 100%;
    border: 1px solid;
    border-color: rgba(0,22,250,0.46);
    padding: 2px;
    margin: 3px;
}

.nastr-pb
{
	z-index: -50;
    background-color: rgba(0, 128, 0, 0.41);
    display: block;
}

.ny_pb_legend
{
	position: absolute;
}

.ny_pb_prc {
	float: right;
	font-weight: 900;
}