body {
	padding:0 10px; 
	margin:0; 
	background:#ffffff; 
	font-family: Arial, Helvetica, sans-serif, sans; 
	font-size:14px; 
	color:#333333;
}

h1 {font-size:24px;}
h2 {font-size:20px;}
h3 {font-size:18px;}
h4 {font-size:14px;}
h5 {font-size:12px;}

#container {
	width:100%;
   max-width:1100px;
   min-width:400px;
	margin:0 auto;
	overflow:hidden;
}

#top_container {
	height:59px;
	margin:0;
	padding:0;
	background:#316da7 url('../images/top_menu_bg.png') left center repeat-x;
	/*background:url('../images/ny.png') center center no-repeat;*/

	position:relative;
}

#logo {
	width:200px;
	height:57px;
	border:none;
	margin:1px 10px;
	float:left;
}

#auth_link {
	float:right;
	margin:5px 10px 0 0;
	padding:0;
	color:#fff;
	height:24px;
	line-height:24px;
	position:relative;
	overflow:hidden;
}

#auth_link a {
	color:#fff;
	text-shadow: 2px 2px 1px #000055;
}

#auth_link img {
	width:24px;
	height:24px;
	margin:0 10px 0 0;
	float:left;
}

#auth_link a:hover {
	text-decoration:none;
}

#top_menu {
	clear:right;
	height:30px;
	margin:29px 0 0 240px;
	overflow:hidden;
}

#top_menu a, #top_menu span {
	color:#fff;
	margin:0 20px 0 0;
	text-decoration:none;
	font-size:16px;
	font-weight:bold;
	height:25px;
	padding:5px 10px 0 10px;
   display:block;
   float:left;
   text-shadow: 1px 1px 1px #000055;
}

#top_menu a:hover, #top_menu span:hover {
	background:#fff;
	color:#316da7;
	border-radius: 5px 5px 0 0;
	text-shadow:none;
}

#menu_icon {
	width:32px!important; 
	height:20px!important;; 
	margin-top:20px;
	display:none;
	float:left;
}

#mob_menu {
	display:none;
	position:absolute;
	z-index:1000;
	margin:0 auto auto 150px;
	background:#316da7;
	border:1px solid #005e93;
}

#mob_menu a {
	color:#fff;
	float:none;
	display:block;
	text-decoration:none;
	font-size:16px;
	font-weight:bold;
	padding:5px 20px;
}

#mob_menu a:hover {
	color:#316da7;
	background:#fff;
}

#sidebar_right {
	float:right;
	width:400px;
	margin:20px 0 0 20px;
}

#content {
	margin:20px 400px 0 0;
	overflow:hidden;
	padding:0;
	min-width:400px;
}

#content header {
	position:relative;
}

#content img {
	width:100%;

}

#title, #top_header {
	position:absolute;
	padding:10px;
	background:url('../images/transparent_grey.png') left center repeat-x;
	left:0;
}

#title {
	top:10px;
}

#title span {
	color:#fff;
}

#top_header {
	bottom:10px;
}

#top_header a, .content_left h3 a, .content_right h3 a{
	font-size:16px;
	color:#fff;
}

#top_header a:hover, .content_left h3 a:hover, .content_right h3 a:hover {
	text-decoration:none;
}

#sidebar_right h3 {
	font-family:Tahoma,Verdana,Arial;
	border-bottom:2px solid #ccc;
	margin:20px 0 0 0;
}

#sidebar_right h3 a {
	color:#333;
	text-decoration:none;
}

#sidebar_right h3 a:hover {
	opacity:0.7;
}

#sidebar_right p {
	margin:10px 0 0 0;
	border-bottom:1px solid #ccc;
}

#sidebar_right p a, .content_left p a, .content_right p a {
	color:#3e4b51;
	text-decoration:none;
}

#sidebar_right p a:hover, .content_left p a:hover, .content_right p a:hover {
	text-decoration:underline;
}

#sidebar_right p span {
	color:#ccc;
	font-size:12px;
}

#cse-search-box {
	position:absolute;
	z-index:500;
	top:0;
	right:30px;
	display:none;
}

#search_block {
	position:absolute;
	z-index:500;
	text-align:right;
	top:5px;
	right:250px;
	min-width:400px;
}

#search_icon {
	width:24px;
	height:24px;
	border:none;
	cursor:pointer;
}

#top_cat {
	border:2px solid #005e93;
	border-top:none;
	margin:0;
	padding:7px 0;
	width:381px;
	background:#fff;
	overflow:hidden;
	position:absolute;
	z-index:1000;
	display:none;
	border-radius:0 0 5px 5px;
}

#top_cat div a {
	display:block;
	padding:3px 0 3px 10px;
	color:#005e93;
	text-decoration:none;
	font-weight:bold;
}

#top_cat div a:hover {
	background:#005e93;
	color:#fff;
}

.content_center {
	overflow:hidden;
	margin:20px auto 0 auto;
	text-align:center;
}

.content_left {
	width:50%;
	max-width:422px;
	float:left;
	position:relative;
	margin:0 auto 20px auto;
	text-align:center;
}

.content_right {
	margin:0 0 20px 50%;
	position:relative;
	text-align:center;
	max-width:422px;
}
.content_left img, .content_right img {
	width:100%!important;
	max-width:420px!important;
	min-width:240px!important;
	max-height:280px!important;
	min-height:120px!important;
	border:1px solid #ccc;
}

.content_left img {
	margin-right:10px;
}

.content_right img {
	margin-left:10px;
}

.content_left h3, .content_right h3 {
	position:absolute;
	top:0;
	padding:5px;
	margin:10px 0;
	background:url('../images/transparent_grey.png') left center repeat-x;
}

.content_left h3 {
	left:15px;
}

.content_right h3 {
	left:25px;
}

.content_left p , .content_right p {
	margin:5px auto;
}

.content_left p a, .content_right p a {
	font-weight:bold;
}

footer {
	margin:0;
	padding:20px;
	color:#fff;
	text-align:center;
	font-size:12px;
	background:#333;
}

footer a {
	color:#fff;
}

footer a:hover {
	text-decoration:none;
}

#loginform 
{
	text-align:left; 
	box-shadow:0 0 10px #666666; 
	position:absolute; 
	z-index:100000; 
	top:30px; 
	right:5px; 
	padding:5px; 
	display:none; 
	background:#fff;
}
#loginform .loginava {
	max-width:90px; 
	max-height:90px; 
	border:1px solid #ccc;
}
#loginform p {
	text-align:center; 
	margin:0 auto;
}
#top a:hover {
	color: #a3632f; 
	ext-decoration:underline; 
	background:#ffffff url('../images/top_menu_hover.png') repeat-x;
}
#loginform a{
	border: none; 
	background:none; 
	color: #1f4988; 
	margin:0; 
	padding:0;
}
#loginform a:hover{
	border: none; 
	background:none;
}

#loginform input {
	border:1px solid #ccc;
}

.news.alt {
    width:50%;
	max-width:422px;
	float:left;
	position:relative;
	margin:0 auto 20px auto;
	text-align:center;
}
.news_clr {
    height: 0;
    clear: both;
}
.news_clr.alt {
    clear: none;
}

.paginator {
	font-size:18px;
	font-weight:bold;
	overflow:hidden;
	text-align:center;
	display:inline-block;
}

.pg_arrow{
	width:32px!important; 
	min-width:32px!important;
	margin:0 10px;
}

span .pg_arrow {
	display:none;
}

a .pg_arrow:hover {
	opacity:0.5
}

.pages span, .pages a {
	display:inline-block;
	padding:5px 8px;
	line-height:11px;
}

.pages span {
	background:none;
}

.pages a {
	background:#333;
	color:#fff;
	text-decoration:none;
}
.pages a:hover {
	opacity:0.5;
}

.art_info {
	font-size:14px;  
	margin:0; 
	border-bottom: 1px solid #e5e5e5; 
}

#a_info {
	display:inline-block;
	background: #f1f5f7 url("../images/baseinfo.png") no-repeat 5px 50%;
	padding-left:24px;
}

#a_info a, #article a, .tags_info a, #comm a {
	color:#999;
}

#a_info a:hover, #article a:hover, .tags_info a:hover, #comm a:hover{
	text-decoration:none;
}

#vision {
	display:inline-block;
	background: #f1f5f7 url("../images/vision.png") no-repeat 5px 50%;
	padding-left:24px;
}

#comm {
	display:inline-block;
	background: #f1f5f7 url("../images/comments.png") no-repeat 5px 50%;
	padding-left:24px;
}

#article {
	font-size:16px;
}

.dtop {
	margin:20px 0 0 0;
}

/*---Комментарии---*/
.reset, .reset li {
	list-style: none; 
	padding: 0; 
	margin: 0; 
	margin-top:-15px;
}

.reset li h4 a {
	color:#333;
}

.reset li a:hover {
	text-decoration:none;
}

.addcombtn {
    text-align: center;
    font: 1.15em/30px sans-serif;
    color: #fff;
    float: left;
    height: 31px;
    width: 181px;
    padding-right: 27px; margin:15px 0 0 10px;
    background: #428cda url("../images/addcombtn.png") no-repeat;
    text-decoration:none;
}

.addcombtn:hover {
    background-position: 0 -31px; color:#fff;
}

.bcomment {
    border-bottom: 1px solid #dadada;
    background: url("../images/speedbar.png") repeat-x 0 100%;
    padding-bottom: 15px;
    overflow:hidden;
}

.dcont .reset li {
	margin-top:0;
}

.bcomment .dcont, .bcomment .dtop {
    padding: 0 15px;
}

.bcomment .dcont {
    padding-top: 10px;
}

.bcomment .dtop {
    overflow: hidden;
    padding-left: 70px;
    height: 67px;
    border-top: 3px solid #3f84cb;
}

.bcomment .dtop .lcol {
    width: 40px;
    padding: 0 15px;
    margin-left: -70px;
}

.bcomment .dtop .lcol span {
    margin-top: 12px;
    float: left;
    width: 43px;
    height: 43px;
    overflow: hidden;
}

.bcomment .dtop .lcol span img {
    width: 40px;
    margin:1px 0 0 1px;
    box-shadow:0 0 1px #666666;
}

.bcomment .dtop .rcol {
    font-size: 0.9em;
    color: #90a7b2;
    width: 100%;
}

.bcomment .dtop .rcol ul {
    margin-top: 12px;
    padding-top: 4px;
    height: 36px;
    float: left;
    margin-right: 15px;
}

.cmsep {
    padding-left: 19px;
    list-style: none;
    background: url("../images/cmsep.png") no-repeat 0 50%;
}

.reply a, .reply a b, .fbutton a, .fbutton a b {
    height: 28px;
    background: #2b88d5 url("../images/reply.png") no-repeat;
}

.reply a, .fbutton a {
    float: right;
    margin-top: 21px;
    color: #fff;
    line-height: 27px;
}

.reply a b, .fbutton a b {
    cursor: pointer;
    float: right;
    padding: 0 15px;
    background-color: transparent;
    background-position: 100% -28px;
}

.reply a:hover, .fbutton a:hover {
    background-position: 0 -56px;
}

.reply a:hover b, .fbutton a:hover b {
    background-position: 100% -84px;
}

.fbutton a {
	margin:0;
	float:none;
	display:inline-block;
}

.fbutton a b {
	font-size:12px;
	padding: 0 9px;
	background-position: 100% 0
	float:none;
}

ul.cominfo {
	list-style:none;
}

ul.cominfo img {
	width:10px !important;
	height:10px;
} 

div.cominfo {
    position: relative;
    border-bottom: 1px solid #fff;
    color: #e4e6e6;
    font-size: 0.9em;
    height: 29px;
    background: #3f4b51 url("../images/cominfo.png") repeat-x;
    padding:0 5px;
}

div.cominfo .thide {
    width: 13px;
    padding-top: 8px;
    position: absolute;
    left: 29px;
    top: -7px;
    background: url("../images/comarrow.png") no-repeat;
}

div.cominfo .dpad {
    overflow: hidden;
}



.quote {
    font-style:italic;
    margin-bottom:10px;
}	


.comedit, .selectmass {
    display: inline;
}

.selectmass input, .comedit ul, .comedit ul li {
    float: right;
}

.comedit ul li, .selectmass input {
    margin: 6px 0 0 8px;
}

.comedit ul li {
    float: left;
}

.comedit ul li a {
    color: #9dc4e6;
}

.selectmass input {
    vertical-align: middle;
}

.signature {
    color: #93918d;
}

ul.cominfo, ul.cominfo li {
    float: left;
}

ul.cominfo {
    margin: 6px 0 0 -8px;
}

ul.cominfo li {
    border-left: 1px solid #73858e;
    margin: 0 7px 0 0;
    padding-left: 7px;
}

#dle-captcha img {
	width: 160px;
	height:80px;
	margin-bottom:10px;
}

#addcform table td {
	font-weight:bold;
}

#addcform table td input, #addcform table td textarea {
	border:1px solid #ccc;
}

.fbutton {
	font-weight:bold;
	border:1px solid #ccc;
	padding:5 10px;
	border-radius:5px;
	box-shadow: 3px 3px 3px #333;
	cursor:pointer;
	background: #2b88d5 url("../images/reply.png") no-repeat;
	font-size:16px;
	color:#fff;
}

.fbutton:hover {
	opacity:0.8;
} 

/*Фотогалерея*/
.list_photo{
    width:265px;
    float:left;
    overflow:hidden;
    padding:0;
    margin:0;
}

.list_photo img {
    border:1px solid #ccc; 
    margin:0 10px 7px 0;
    width:120px;
}

#left_anons {
	font-size:12px;
}

#left_anons img{
	max-width:200px; 
	margin:5px auto; 
	border:1px solid #ccc; 
	display:block;
}

#left_anons p {
	margin:0 10px;
}

#left_anons strong, #left_anons b {
	font-size:14px;
	color:#2d71b4;
}
#left_anons a {
	color:#a3632f;
}

table.bb {
	border-collapse:collapse;
	margin:0 auto;
	width:100%;
}

table.bb td, th {
   border:1px solid #333;
}

ol.errors {
	color:#a3632f; 
	margin:0; 
	padding:0; 
	list-style:none;
}
ol.errors li {
	margin:0;
}

.static {
    padding:10px;
}

div.bb {
    padding-bottom:5px;
    box-shadow:0 0 5px #666666;
}

/*Форма оформления подписки.*/
#pay_form input {
    border:1px solid #ccc;
    margin-bottom:10px;
}

#pay_form strong {
    font-size:12px;
}

#pay_form #msg {
    text-decoration:underline;
}

legend {
	font-size:16px;
	font-weight:bold;
	margin-top:15px;
}

#sbmbtn {
	margin-top:20px;
	font-size:18px;
	font-weight:bold;
	border-radius:3px;
}

/*Календарь архива*/
#calend_block {
    overflow: hidden;
    text-align:center;
    margin:0 auto;
}

.calend {
	background:#eeeeff; 
	border:1px solid #aaaaaa; 
	border-collapse:separate; 
	display:inline-block; 
	margin:10px 5px;
	font-size:16px;
}

.calend td {
	border:1px solid #dedede; 
	background:#f9f9f9; 
	vertical-align:middle; 
	text-align:center; 
	padding:2px;
}
.calend td span {
	color:#ff0000;
}
.calend .thead {
	color:#2f95ba; 
	font-weight:bold;
}
p.panginator b {
	color:#a3632f; 
	font-size:14px;
}

p.message {
	padding:10px;  
	background:#e9e9e9;
	font-size:12px;
}

/*Контакты*/
.contact {
	background:#eeeeee; 
	border:1px solid #dddddd; 
	padding:5px 10px; margin:0 0 10px 0;
}
.contact img {
	float:none; 
	margin:0 2px 0 0;
	width:16px !important;
}

/*---Userinfo---*/
.userinfo {
    padding-left: 125px;
}

.ui-dialog-content .userinfo {
    padding: 10px 0 10px 125px;
}

.userinfo .lcol {
    margin-left: -125px;
    width: 110px;
    padding-right: 15px;
    float:left;
}

.userinfo .lcol .avatar {
    margin-bottom: 10px;
}

/*Фотофакт форма*/
.agreement {
	padding:5px; 
	border:1px solid #e9e9e9; 
	border-radius:5px; 
	width:281px; 
	float:right; 
	font-size:10px;
}
	
.agreement h5{
	color:#a3632f; 
	padding:0; 
	margin:0 0 5px 0;
}

.photofact_form {
    margin-right:300px;
}

.photofact_form input, textarea {
    border:1px solid #ccc;
    margin-bottom:10px;
}

.photofact_form textarea {
    width:90%;
    height:200px;
}

/*Загрузчик изображений*/
#results {
	display:block;
	margin: 0 auto;
	width: 100%;
}

.image {
	position: relative;
	float: left;
	margin: 0 7px 7px 0;
}

.image img {
	max-height: 120px;
	border: 1px solid #ccc;
	box-shadow: 0px 0px 3px #000;
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
}

.image .rm {
	position:absolute;
	bottom:5px;
	background:#000;
	opacity:0.7;
	color:#fff;
	font-weight:bold;
	text-align:center;
	width:100%;
	padding:3px 0;
	margin:0;
	cursor:pointer;
}

#upload-button .ss-upload {
	font-size: 0.7em;
}

#upload-button a {
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	box-shadow: 0 0 1000px 62px rgba(255, 255, 255, 1), inset 0 -35px 40px -10px #0A9FCA;
	font-size: 20px;
	padding: 10px 20px;
	background-color: #4bc1e3;
	border-radius: 10px;
}


#upload-button a:hover {
	box-shadow: 0 0 1000px 62px rgba(255, 255, 255, 1), inset 0 -5px 40px 0px #0A9FCA;	
}


#dropped-files #upload-button .delete {
	padding: 7px 6px 4px 6px;
	border-radius: 100px;
	background: rgba(0,0,0,0.6);
	box-shadow: none;
	font-size: 1em;
	margin-left: 8px;
}

#dropped-files #upload-button .delete:hover {
	background: rgba(0,0,0,0.8);
}

#loading {
	display: none;
	width: 100%;
	position: relative;
	margin: 20px;
}

#loading-bar {
	width: 404px;
	height: 40px;
	background: #fff;
	box-shadow: 0 0 15px rgba(0,0,0,0.1);
	border-radius: 5px;
	padding: 2px;
}

.loading-color {
	width: 0%;
	height: 100%;
	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
	-ms-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
	border-radius: inherit;
	background-color: #4edbf1;
}

#loading-content {
	position: relative;
	top: 15px;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	width: 405px;
}

#file-name-holder {
	width: 100%;
	float: left;
}

#file-name-holder h1 {
	text-align: center;
	padding: 20px 0;
	font-size: 3em;
	margin: 0;
}

#uploaded-files {
	width:100%;
	list-style:none;
	margin:0 auto;
	padding: 10px 0;
	color: #545454;
}

#uploaded-files li {
	padding: 5px;;
	border-bottom: 1px solid #eee;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 25px;
	color: #545454;
}

#uploaded-files a {
	color: #1bacbf;
}
.main {
	width:900px;
	margin:0 auto;
	height:100%;
	margin-top:100px;
}
.main img {
	position:relative;
	float:left;
	width:280px;
	height:180px;
	margin:10px;
}
a.nav { 
	font-family:tahoma;
	font-size:20px;
	color:#4280af;
	text-decoration:none;
	margin-bottom:10px;
}
a.nav:hover {
    color:#fffb89;
}

#errors {
    color:#a3632f;
}

