a:link
{
	color:#476C8E;
	text-decoration:none
}

a:visited
{
	color:#476C8E;
	text-decoration:none
}

a:hover
{
	text-decoration:underline
}

.showSwitch
{
	display:block
}

.hideSwitch
{
	display:none
}

.nav,.nav:link,.nav:visited
{
	color:#000;
	text-decoration:none
}

a.nav:hover
{
	color:#c33;
	text-decoration:underline
}

table
{
	empty-cells:show
}

body,td,th,tr
{
	color:#000;
	font-size:small;
	font-family:verdana,sans-serif
}

body
{
	background-color:#E5E5E8;
	margin:0;
	padding:0 10px 4px
}

input,textarea,button
{
	color:#000;
	font-family:verdana,sans-serif
}

input,button
{
	font-size:90%
}

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

select
{
	font-size:90%;
	font-weight:400;
	color:#000;
	font-family:verdana,sans-serif
}

hr,.hrcolor
{
	height:1px;
	border:0;
	color:#666;
	background-color:#666
}

a img
{
	border:0
}

.quote
{
	color:#000;
	background-color:#E8E7E7;
	border:1px solid #666;
	line-height:1.4em;
	margin:1px;
	padding:1px;
	padding:2px;
	font-size:8pt
}

.code
{
	color:#000;
	background-color:#E8E7E7;
	font-family:"courier new","times new roman",monospace;
	font-size:9pt;
	line-height:1.3em;
	border:1px solid #666;
	margin:1px auto;
	padding:1px;
	width:99%;
	white-space:nowrap;
	overflow:auto;
	min-height:3em;
	max-height:24em
}

.quoteheader,.codeheader
{
	color:#000;
	text-decoration:none;
	font-style:normal;
	font-weight:700;
	font-size:x-small;
	line-height:1.2em
}

.help
{
	cursor:help
}

.meaction
{
	color:red
}

.editor
{
	width:96%
}

.highlight
{
	background-color:#ff0;
	font-weight:700;
	color:#000
}

.windowbg,#preview_body
{
	color:#000;
	background-color:#ECEDF3
}

.windowbg2
{
	color:#000;
	background-color:#F6F6F6
}

.windowbg3
{
	color:#000;
	background-color:#E0E1E8
}

.calendar_today
{
	background-color:#FFF
}

.titlebg,tr.titlebg th,tr.titlebg td,.titlebg2,tr.titlebg2 th,tr.titlebg2 td
{
	color:#000;
	font-style:normal;
	background:url(images/titlebg.jpg) #E9F0F6 repeat-x;
	border-bottom:solid 1px #9BAEBF;
	border-top:solid 1px #FFF;
	padding-left:10px;
	padding-right:10px
}

.titlebg,.titlebg a:link,.titlebg a:visited
{
	font-weight:700;
	color:#000;
	font-style:normal
}

.titlebg a:hover
{
	color:#404040
}

.titlebg2 a:link,.titlebg2 a:visited
{
	color:#000;
	font-style:normal;
	text-decoration:underline
}

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

.catbg,tr.catbg td,.catbg3,tr.catbg3 td
{
	background:url(images/catbg.jpg) #88A6C0 repeat-x;
	color:#fff;
	padding-left:10px;
	padding-right:10px
}

.catbg2,tr.catbg2 td
{
	background:url(images/catbg2.jpg) #A1BFD9 repeat-x;
	color:#fff;
	padding-left:10px;
	padding-right:10px
}

.catbg,.catbg2,.catbg3
{
	border-bottom:solid 1px #375576
}

.catbg,.catbg2
{
	font-weight:700
}

.catbg3,tr.catbg3 td,.catbg3 a:link,.catbg3 a:visited
{
	font-size:95%;
	color:#fff;
	text-decoration:none
}

.catbg a:link,.catbg a:visited,.catbg2 a:link,.catbg2 a:visited
{
	color:#fff;
	text-decoration:none
}

.catbg a:hover,.catbg2 a:hover,.catbg3 a:hover
{
	color:#e0e0ff
}

.bordercolor
{
	background-color:#ADADAD;
	padding:0
}

.tborder
{
	padding:1px;
	border:1px solid #696969;
	background-color:#FFF
}

.smalltext
{
	font-size:x-small;
	font-family:verdana,sans-serif
}

.middletext
{
	font-size:90%
}

.normaltext
{
	font-size:small
}

.largetext
{
	font-size:large
}

.post,.personalmessage
{
	width:100%;
	overflow:auto;
	line-height:1.3em
}

.signature
{
	width:100%;
	overflow:auto;
	padding-bottom:3px;
	line-height:1.3em
}

.error
{
	color:red
}

.maintab_first,.maintab_back,.maintab_last,.maintab_active_first,.maintab_active_back,.maintab_active_last
{
	color:#fff;
	text-transform:uppercase;
	vertical-align:top
}

.maintab_back,.maintab_active_back
{
	color:#fff;
	text-decoration:none;
	font-size:9px;
	vertical-align:top;
	padding:2px 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
}

.maintab_back a:link,.maintab_back a:visited,.maintab_active_back a:link,.maintab_active_back a:visited
{
	color:#fff;
	text-decoration:none
}

.maintab_back a:hover,.maintab_active_back a:hover
{
	color:#e0e0ff;
	text-decoration:none
}

.mirrortab_first,.mirrortab_back,.mirrortab_last,.mirrortab_active_first,.mirrortab_active_back,.mirrortab_active_last
{
	color:#fff;
	text-transform:uppercase;
	vertical-align:top
}

.mirrortab_back,.mirrortab_active_back
{
	color:#fff;
	text-decoration:none;
	font-size:9px;
	vertical-align:bottom;
	padding:6px 6px 2px;
	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
}

.mirrortab_back a:link,.mirrortab_back a:visited,.mirrortab_active_back a:link,.mirrortab_active_back a:visited
{
	color:#fff;
	text-decoration:none
}

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

#sp,#sp a:link,#sp a:visited,#sp a:hover
{
	font-size:9px;
	color:#555;
	text-decoration:none
}

#ajax_in_progress
{
	background:#32CD32;
	color:#fff;
	text-align:center;
	font-weight:700;
	font-size:18pt;
	padding:3px;
	width:100%;
	position:fixed;
	top:0;
	left:0
}

.rsbutton
{
	font-size:11px
}

.showhide
{
	color:#0f0f0f;
	border:1px gray solid;
	padding:1em;
	margin-bottom:1em;
	background-color:#fff
}

.sp-wrap
{
	margin:5px auto;
	width:100%;
	clear:both
}

.sp-wrap .sp-wrap
{
	width:98%;
	margin:4px auto
}

.sp-head-wrap,.sp-body
{
	padding:1px 6px 2px;
	border:solid #C3CBD1;
	border-width:1px 1px 1px 2px;
	clear:both
}

.sp-wrap
{
	background:#E9E9E6
}

.sp-head-wrap
{
	padding:1px
}

.sp-head
{
	font-size:11px;
	padding:1px 14px 3px;
	margin-left:6px;
	line-height:15px;
	cursor:pointer;
	height:15px
}

.sp-body
{
	display:none;
	font-weight:400;
	background:#F5F5F5;
	border-top-width:0
}

.folded
{
	display:block;
	background:transparent url(images/icon_plus_1.gif) no-repeat left center;
	padding-left:14px
}

.unfolded
{
	display:block;
	background:transparent url(images/icon_minus_1.gif) no-repeat left center;
	padding-left:14px
}

.geshi
{
	color:#000;
	background-color:#E8E7E7;
	font-family:monospace;
	font-size:1.2em;
	border:1px solid #666;
	margin:1px auto;
	padding:1px;
	width:99%;
	overflow:auto;
	white-space:pre;
	max-height:24em
}

#quickModForm table
{
	table-layout:fixed
}

#quickModForm table table table table
{
	table-layout:auto
}

.socialgroup
{
	display:block;
	float:right
}

.socialgroup .vkontaktegroup
{
	background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20baseProfile%3D%22basic%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20fill%3D%22%23fff%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M29.7%2020.7c-.9-.9-1.5-1.5-3.1-1.8v-.1c1.1-.5%201.9-1.1%202.5-1.9.6-.8.9-1.7.9-2.8%200-.9-.2-1.7-.7-2.4-.4-.7-1.1-1.3-2-1.7-.9-.4-1.7-.7-2.6-.8-.8-.1-2.7-.2-4.6-.2h-9.1v22h10.2c1.7%200%203.1-.1%204.2-.4%201.1-.3%202.1-.7%203-1.4.8-.6%201.4-1.2%201.9-2.1.5-.8.7-1.8.7-2.8%200-1.5-.4-2.7-1.3-3.6zm-12.7-8.2h3.0999999999999996c.8%200%201.4.1%201.9.3.6.2%201%20.5%201.2%201%20.2.4.3.9.3%201.3%200%20.6-.1%201.1-.3%201.5-.2.4-.6.8-1.2%201-.5.2-1.1.3-1.8.4h-3.2v-5.5zm7.1%2012.9c-.3.5-.7.8-1.4%201.1-.7.3-1.4.4-2.2.4h-3.5v-6h3.4c.9%200%201.6.1%202.1.2.7.2%201.3.5%201.6%201%20.3.4.5.9.5%201.7-.1.7-.2%201.2-.5%201.6z%22%2F%3E%3C%2Fsvg%3E);
	background-repeat:no-repeat;
	background-color:#4e7299
}

.socialgroup .twittergroup
{
	background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20baseProfile%3D%22basic%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20fill%3D%22%23fff%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M31%2013.1c-.8.4-1.7.6-2.6.7.9-.6%201.7-1.5%202-2.5-.9.5-1.8.9-2.9%201.1-.8-.9-2-1.4-3.3-1.4-2.5%200-4.5%202-4.5%204.5%200%20.4%200%20.7.1%201-3.8-.2-7.1-2-9.3-4.8-.4.7-.6%201.5-.6%202.3%200%201.6.8%203%202%203.8-.7%200-1.4-.2-2.1-.6v.1c0%202.2%201.6%204%203.6%204.5-.4.1-.8.2-1.2.2-.3%200-.6%200-.8-.1.6%201.8%202.2%203.1%204.2%203.2-1.5%201.2-3.5%201.9-5.6%201.9-.4%200-.7%200-1.1-.1%202%201.3%204.4%202.1%206.9%202.1%208.3%200%2012.9-6.9%2012.9-12.9v-.6c.9-.7%201.7-1.5%202.3-2.4z%22%2F%3E%3C%2Fsvg%3E);
	background-repeat:no-repeat;
	background-color:#00aeef
}

.socialgroup .facebookgroup
{
	background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20baseProfile%3D%22basic%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M24.2%2011.3h2.3v-4.3h-3.5c-4.3%200-6%202.9-6%206.1v2.6h-3.5v4.3h3.5v13h5v-13h4l.5-4.3h-4.5v-2.6c0-1.2.4-1.8%202.2-1.8z%22%2F%3E%3C%2Fsvg%3E);
	background-repeat:no-repeat;
	background-color:#3a5795
}

.socialgroup .telegrammgroup
{
	background-image:url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%0A%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 240 240'%3E%0A%3Cdefs%3E%0A	%3ClinearGradient id='b' x1='0.6667' y1='0.1667' x2='0.4167' y2='0.75'%3E%0A		%3Cstop stop-color='%2337aee2' offset='0'/%3E%0A		%3Cstop stop-color='%231e96c8' offset='1'/%3E%0A	%3C/linearGradient%3E%0A	%3ClinearGradient id='w' x1='0.6597' y1='0.4369' x2='0.8512' y2='0.8024'%3E%0A		%3Cstop stop-color='%23eff7fc' offset='0'/%3E%0A		%3Cstop stop-color='%23fff' offset='1'/%3E%0A	%3C/linearGradient%3E%0A%3C/defs%3E%0A%0A%3Cpath fill='%23c8daea' d='m98 175c-3.8876 0-3.227-1.4679-4.5678-5.1695L82 132.2059 170 80'/%3E%0A%3Cpath fill='%23a9c9dd' d='m98 175c3 0 4.3255-1.372 6-3l16-15.558-19.958-12.035'/%3E%0A%3Cpath fill='url%28%23w%29' d='m100.04 144.41 48.36 35.729c5.5185 3.0449 9.5014 1.4684 10.876-5.1235l19.685-92.763c2.0154-8.0802-3.0801-11.745-8.3594-9.3482l-115.59 44.571c-7.8901 3.1647-7.8441 7.5666-1.4382 9.528l29.663 9.2583 68.673-43.325c3.2419-1.9659 6.2173-0.90899 3.7752 1.2584'/%3E%0A%3C/svg%3E");
	background-repeat:no-repeat;
	background-color:#279ed1
}

.socialgroup span
{
	float:left;
	display:block;
	width:29px;
	height:29px
}

.socialgroup span:hover
{
	opacity:.8
}

.socialgroup span
{
	margin-right:5px
}

.socialtime
{
	float:right;
	display:block
}

.titlebg2
{
	vertical-align:middle;
	line-height:32px
}

#top_subject h1
{
	float:left;
	display:block;
	font-size:.95em;
	vertical-align:middle;
	line-height:2em;
	margin:0
}

td#top_subject
{
	vertical-align:middle;
	line-height:2em;
	height:1em
}

td.titlebg2 h1
{
	font-size:1.1em;
	margin:0
}

.sponsor_small {
    float: right;
    line-height: 30px;
	font-size: 10px;
}
.sponsor_big {
    line-height: 30px;
	font-size: 10px;
}
.sponsor_small img{
	width: 106px;
}
@media screen and (max-width: 960px) {
	td.maintab_back,td.maintab_active_back
	{
		float:left
	}
	
	.maintab_first,.maintab_last
	{
		display:none
	}
	
	img.avatar
	{
		width:100%
	}
	
	select#jumpto
	{
		width:100%
	}
	
	td.maintab_active_last,td.maintab_active_first
	{
		display:none
	}
	
	table.forum-menu
	{
		margin:0!important
	}
	.loginforum {
		display: none;
	}
	body, td, th, tr {
		font-size: 13px!important;
	}
	.post img {
    max-width: 100%;
	}
	.sponsor_small img, .sponsor_big img {
	max-width: 106px;
}
}

td.maintab_back.red-link a {
    color: #FFEB3B;
}