#gallery_arrow {
	background: #444;
	border-radius: 3px;
	height: 46px;
	position: absolute;
	right: 20px;
	top: 10px;
	width: 46px;
}

#gallery_arrow img, #gallery_arrow img:hover {
	border-radius: 3px;
	box-shadow: none;
	float: none;
	margin: auto;
	margin-right: auto;
	padding: 10px;
	padding-left: 16px;
	padding-right: 16px;
}

#gallery_thumbs {
	height: 63px;
	overflow: hidden;
	padding: 3px;
	position: relative;
	width: 555px;
}


#gallery_thumbs div, #gallery_thumbs div:hover {
	-moz-transition: all 100ms linear;
	-o-transition: all 100ms linear;
	-webkit-transition: all 100ms linear;
	background-color: transparent;
	border: 1px solid #333;
	border-radius: 4px;
	box-shadow: 0px 0px 3px black;
	display: block;
	float: left;
	margin-right: 4px;
	opacity: 0.8;
	padding: 0px;
	transition: all 100ms linear;
	height:60px;
	background-position:center center;
	background-repeat: no-repeat;
	overflow: hidden;
}

#gallery_thumbs div:hover {
	-moz-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	-webkit-transition: all 200ms linear;
	background-color: #666;
	border: 1px solid #666;
	border-radius: 4px;
	box-shadow: 0px 0px 2px black;
	opacity: 1;
	transition: all 200ms linear;
}

#logo {
	left: 508px;
	pointer-events: none;
	position: absolute;
	top: 385px;
	z-index: 1;
}

#main_container {
	background-color: #333;
	border-radius: 3px;
	box-shadow: -1px 1px 5px rgba(0, 0, 0, 1);
	height: auto;
	margin-left: auto;
	margin-right: auto;
	/*margin-top:94px;*/
	position: relative;
	width: 1250px;
}

#main_img {position: relative; z-index: 0;}

#main_img img {
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
	height: 381px;
	margin: 2px;
	margin-top: 4px;
	padding: 1px;
	width: 1240px;
}

#main_menu {
	background-color: #333;
	border-radius: 2px;
	display: block;
	height: 24px;
	left: 10px;
	opacity: 0.8;
	position: absolute;
	top: 10px;
	width: 320px;
	z-index: 1;
}

#main_menu a {
	border-radius: 5px;
	display: block;
	float: left;
	font: 14px tahoma;
	height: 20px;
	margin: 3px;
	text-align: center;
	width: 70px;
}

#page_main_menu a {
	border-radius: 5px;
	display: block;
	float: left;
	font: 14px tahoma;
	height: 20px;
	margin: 3px;
	text-align: center;
	width: 70px;
}

a, a:hover {
	color: #ccc;
	font-family: tahoma;
	font-size: 12px;
	text-decoration: none;
}

a.article_title, a.article_title:hover {
	color: #ccc;
	font: 25px tahoma;
	text-decoration: none;
}

a.article_title:hover {
	color: #FF4747;
	text-decoration: none;
}

a.chapter, a.chapter:hover, a.chapter_current, a.chapter_current:hover {
	color: #ccc;
	font: 15px tahoma;
	height: 30px;
	left: 2px;
	line-height: 30px;
	position: absolute;
	text-align: center;
	width: 190px;
	z-index: 10;
}

a.chapter:hover {background-color: #666; color: white;}

a.chapter_current {background-color: white; color: black;}

a.chapter_current:hover {color: #FF4747;}

a.section, a.section:hover, a.section_big, a.section_big:hover {
	color: #CEA309;
	font: 13px tahoma;
	text-decoration: none;
}

a.section:hover, a.section_big:hover {
	color: #ff0;
	text-decoration: none;
}

a.section_big, a.section_big:hover {font-size: 32px;}

a.topic_title, a.stopic_title:hover {
	color: #ccc;
	font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 25px;
	text-decoration: none;
}


.section_container
{
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
	position:absolute;
	width:1240px;
	height:225px;
}

.section_container div
{
	padding:10px;
	height:150px;
	width:950px;
	position:absolute;
	right:15px;
	bottom:15px;
	background-color:rgba(0,0,0,0.8)
}

a:hover {color: #FF4747;}

body {
	background-color: #555;
	color: black;
	font-family: tahoma;
	font-size: 12px;
}

.w500
{
	width:500px;
}
.w400
{
	width:400px;
}
.w300
{
	width:300px;
}

div#article_content span.breadcrumb, div#article_content span.breadcrumb a
{
	font: 12px arial;
	/*color: gray;*/
	/*text-decoration:none;*/
}

div#article_content {
	background-color: white;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	padding: 50px;
	padding-top: 20px;
}

div#article_content a {
	color: #0F72DA;
	font: 14px/22.4px Arial;
	text-decoration: underline;
}

div#article_content a.page 
{
	/*background-color: #444;
	border-radius: 4px;
	color: white;*/
	font: 15px arial;
	/*padding: 10px;
	text-decoration:none;*/
	text-align:right;
	display:block;
	padding:10px;
	padding-bottom:25px;
}
div#article_content a.page:hover
{
	/*background-color:#666;
	color:White;*/
}

div#article_content a:hover {
	color: #328586;
}
/*-------------------------------------*/

div#article_content h1 {
	color: #888;
	font: 28px tahoma;
	margin: 0px;
	padding: 20px;
	text-align: center;
}

div#article_content h2 {
	color: #888;
	font: 20px tahoma;
	margin: 0px;
	padding: 10px;
	padding-top: 30px;
	text-align: center;
	display:block;
}

div#article_content h3 {
	color: black;
	font: 18px arial;
	margin: 0px;
	padding: 10px;
	padding-top: 30px;
	text-align: left;
}

div#article_content img
{
	margin-right: 10px;
	padding:0px;
	padding-top:5px;
	padding-bottom:5px;
}

div#article_content img.right_in_text
{
	margin-left: 10px;
	padding:0px;
	padding-top:5px;
	padding-bottom:5px;
	float:right;
}

div#article_content p, div#article_content ul, div#article_content ol, div#article_content ol {
	color: black;
	font: 14px/22.4px Arial;
	margin: 0px;
	padding-bottom: 10px;
	text-align: justify;
	text-indent: 10px;
}
div#article_content ul, div#article_content ol { text-indent: 0px; list-style-position: inside;}

p.sign, div#article_content p.sign
{
	font-style:italic;
	text-align:right;
}

div#article_content img.centered
{
	display:block;
	margin: auto;
	margin-bottom:10px;
}

div#article_content i.img_caption
{
	font: 13px arial;
	font-style: italic;
	text-align:center;
	width:100%;
	display:block;
	padding-bottom:15px;
}

div#article_content div.note
{
	background-color:whitesmoke;
	font-style:italic;
	border:1px solid gray;
	border-radius:3px;
	padding:10px;
	margin-bottom:10px;
}

div#article_content div.note h2 {padding-top:2px}

div#comments {background-color: #F2F2F2; padding: 9px;}

div#comments div.post {
	background-color: white;
	border: 1px solid #D6E2EB;
	border-top: none;
	color: black;
	font: 14px/22.4px Arial;
}

div#comments div.post_header{
	background: #F1F6F9;
	padding: 9px;
}

div#comments div.post_header a{
	color: black;
	text-decoration: none;
}

div#comments div.post_header a:hover{color: #328586;}

div#comments div.sent{color: #A4A4A4; font-size: 12px;}

div#comments div.sent:before{
	content: "Отправлено ";
}

div#comments table{margin: 0px; padding: 0px;}

div#comments td.left{
	color: #A4A4A4;
	font-size: 12px;
	height: 200px;
	padding: 10px;
	text-align: center;
	vertical-align: top;
	width: 155px;
}

div#comments td.right{
	color: black;
	font: 14px/22.4px Arial;
	padding: 10px;
	vertical-align: top;
	width: 560px;
}

div#article_more_topics
{
	
	height:600px;
	padding: 9px;

}
div#article_more_topics div.topic_link {
	background-color:white;
	display:block;
	padding:10px;
	padding-top:2px;
	padding-bottom:2px;
	border-bottom: 1px solid #f3f3f3;
}

div#article_more_topics table {	border-spacing:5px;width:100% }
div#article_more_topics a {font-weight:normal;color:#5c5c5c;text-decoration:none}
div#article_more_topics a:hover, div#article_more_topics a.bold:hover {color:#328586}

div#article_more_topics a.bold {font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 25px;
	text-decoration: none;}
div#article_more_topics img.avatar
{
	vertical-align:top;
	width:60px;
	height:60px;
	border-radius: 30px;
	padding: 1px;
	
}
div#article_more_topics span {color:#a4a4a4;font-size:17px}

div#copyright {
	color: #aaa;
	display: block;
	font: 15px tahoma;
	margin-bottom: 20px;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	position:relative;
	width: 1250px;
}

div#copyright a {
	font: 15px tahoma;
}


/*
---------------------------------------------------------------------------------------------------
page styles:
*/

div#forum_topics {
	background-color: #444444;
	border-radius: 2px;
	height: 377px;
	margin: 5px;
	padding: 5px;
	position: absolute;
	top: 455px;
	width: 1228px;
	z-index: 2;
}

div#forum_topics img {
	float: left;
	height: 60px;
	margin: 2px;
	padding: 1px;
	width: 60px;
	border-radius: 30px;
}

div#forum_topics span {
	color: #aaa;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 9px;
	padding-left: 3px;
}

div#forum_topics table {
	border: none;
	left: 0px;
	margin: 0px;
	padding: 3px;
	position: absolute;
	top: 60px;
	width: 1225px;
	z-index: 2;
}

div#login_form {
	color: #5A5A5A;
	font: 13px Arial;
	margin: auto;
	width: 650px;
}

div#login_form a{
	color: #5C5C5C;
	font: 11px/15.6px Arial;
	text-decoration: none;
}

div#login_form b{
	color: #5A5A5A;
	display: block;
	font: 15px Arial;
	font-weight: bold;
	margin-top: 10px;
}

div#login_form input:focus {
	border-bottom-color: #A3A3A3;
	border-left-color: #7C7C7C;
	border-right-color: #7C7C7C;
	border-top-color: #4E4E4E;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.298);
}

div#login_form input[type="text"], div#login_form input[type="password"] {
	border-bottom: 1px solid #E1E1E1;
	border-left: 1px solid #C1C1C1;
	border-radius: 2px;
	border-right: 1px solid #C1C1C1;
	border-top: 1px solid #848484;
	display: block;
	font: 13px Arial;
	padding: 4px;
	width: 362px;
}

div#login_form span{
	color: #777777;
	font: 11px/15.6px Arial;
}

div#page_container {
	margin-left: auto;
	margin-right: auto;
	position: relative;
	width: 1250px;
}

div#page_main_menu {
	background-color: #333;
	border-radius: 2px;
	display: block;
	height: 24px;
	opacity: 0.8;
	position: absolute;
	right: 4px;
	top: 4px;
	width: 310px;
	z-index: 1;
}

div#search {
	height: 25px;
	left: 961px;
	position: absolute;
	top: -9999380px;
	width: 283px;
}

div#search span {
	color: #ccc;
	font-family: Verdana;
	font-size: 10px;
	margin-left: 13px;
	margin-top: 8px;
}

div.chapter_shadow {
	box-shadow: -1px 1px 5px rgba(0, 0, 0, 1);
	height: 30px;
	left: 2px;
	position: absolute;
	width: 190px;
}
/* comments ---------------------------------------------------------------------------------------------*/

div.comments_title {
	background-color: #444;
	border-radius: 4px 4px 0px 0px;
	color: white;
	font: 15px arial;
	padding: 10px;
}

div.diary_preview{
	color: #aaa;
	height: 100px;
	padding-top: 10px;
	width: 400px;
}

div.diary_preview:after{
	background-image: linear-gradient(180deg, rgba(51, 51, 51, 0), rgba(51, 51, 51, 1));
	height: 50px;
}

div.h1_description {
	color: #bbb;
	display: block;
	font: 14px tahoma;
	margin: 10px;
	text-align: justify;
	width: 840px;
	text-indent: 10px;
}

div.h1_description a{font: 14px tahoma;}

div.topic_post, div.diary_preview{
	color: #ccc;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	height: 60px;
	margin: 0px;
	overflow: hidden;
	padding: 0px;
	padding-left: 3px;
	position: relative;
	width: 1100px;
	z-index: 3;
}

div.topic_post:after, div.diary_preview:after {
	background-image: linear-gradient(180deg, rgba(68, 68, 68, 0), rgba(68, 68, 68, 1));
	bottom: 0px;
	content: "";
	height: 30px;
	left: 0px;
	position: absolute;
	width: 100%;
}

h1 {
	color: #ddd;
	display: block;
	font: 30px tahoma;
	margin: 10px;
	margin-bottom: 10px;
	margin-top: 30px;
	text-align: left;
}


img#logo_page {
	left: 192px;
	position: absolute;
	top: 0px;
	z-index: 0;
}

img#page_header {
	border-top-right-radius: 4px;
	box-shadow: -1px 1px 10px rgba(0, 0, 0, 1);
}

input.send_comment{
	background: #FF5C5C !important;
	border: 1px solid #FF5C5C !important;
	border-radius: 3px;
	box-shadow: inset 0px 1px 0px 0px #FF5C5C !important;
	color: #FFFFFF;
	padding: 4px 10px;
	width: 84px;
}

p {cursor: default;}

p.article_description {
	color: #888;
	font: 14px tahoma;
	margin-top: 5px;
	line-height: 15px;
}

div.article_preview {
	color: #888;
	font: 14px tahoma;
	margin-top: 5px;
	display:block;
	height:65px;
	overflow:hidden;
	position:relative;
}
div.article_preview:after 
{
	background-image: linear-gradient(180deg, rgba(51, 51, 51, 0), rgba(51, 51, 51, 1));
	bottom: 0px;
	content: "";
	height: 30px;
	left: 0px;
	position: absolute;
	width: 100%;
}


p.section_description {
	color: #bbb;
	font: 18px tahoma;
	margin-top: 3px;
	line-height: 22px;
}

span.desc{color: #5A5A5A;}

table#articles {
	border: none;
	display: block;
	margin-top: 1100px;
	padding: 2px;
	position: relative;
	table-layout: fixed;
	width: 1240px;
	z-index: 2;
}

table#articles img, table#articles_all img {
	border-radius: 2px;
}

table#articles td {
	padding-bottom: 15px;
	padding-right: 5px;
	vertical-align: top;
}

table#articles_all {
	border: none;
	margin: 10px;
	table-layout: fixed;
	width: 860px;
	padding:10px;
}

table#articles_all td 
{
	padding: 5px;
	vertical-align: top;
	height: 100px;
	overflow:hidden;
}

#sections {
	left: 772px;
	position: absolute;
	top: 5px;
	width: 450px;
	z-index: 2;
}

table#sections img {height: 110px; width: 110px;border-radius:2px;border:1px solid #666;}

table#sections td {padding: 5px;vertical-align:top}

.invisible
{
    display:none;
}

.visible
{
    display:inline-block;
}

div.popup_dialog, div.popup_zoom
{
    background-color: whitesmoke;
    width: auto;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: -2px 2px 24px rgba(0,0,0,.7);
    float: left;
    cursor: default;
    font-family:Verdana;
    padding: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: absolute;
    display: block;
    top:0px;
    z-index:20;
	color: black;
	
	font: 11px tahoma;
	margin: 0px;
	text-align: justify;
	text-indent: 10px;
    overflow-y:auto;
}

input.inline_edit
{
    display:inline-block;

}

div.popup_zoom
{
	width:auto;
	padding:10px;
	cursor:zoom-out;
	text-indent: 0px;
	display:none;
}

img.zoomable
{
	cursor:zoom-in;
}

div.popup_dialog a 
{
	color: #0F72DA;
	font: 11px tahoma;
	text-decoration: underline;	
}

div.popup_dialog a:hover { color: #328586;}

.overlay
{
    display:block;
    z-index:10;
    width:100%;
    height:100%;
    position:fixed;
    top:0px;
    left:0px;
    background-color: black;
    opacity: 0.5;
}

div#article_content table.blue
{
	font:11px tahoma;
	margin:auto;
	/*table-layout:fixed;*/
	width:100%;
	border-spacing: 1px;
	margin-bottom: 20px;
	margin-top: 10px;
}

div#article_content table.blue tr
{
	background-color: #def;
}

div#article_content table.blue tr.header
{
	font-size:14px;
	font-weight:bold;
	text-align:center;
	background-color: #dfe;
}

div#article_content table.blue td
{
	padding:5px;
	vertical-align:top;
}

div#article_content table.blue td a
{
	font:11px tahoma;
}

div#article_content iframe
{
	display:block;
	margin:auto;
}



input, select
{
    font-size:12px;
    font-family:Tahoma, Verdana, Arial;
}

#manage_albums_list td, #add_mark_list td
{
    border:1px solid #888;
    padding:3px;
}

#add_mark_list tr {
    background-color:transparent;
}

#add_mark_list tr:hover {
    background-color:#333;
    color:white;
    cursor:pointer;
}