/* YUI reset styles */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}


/* Clearfix */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}


/*
* jQuery UI CSS Framework
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
*/

/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
/* required comment for clearfix to work in Opera \*/
* html .ui-helper-clearfix { height:1%; }
.ui-helper-clearfix { display:block; }
/* end clearfix */
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }


/* Interaction Cues
----------------------------------*/
.ui-state-disabled { cursor: default !important; }


/* Icons
----------------------------------*/

/* states and images */
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }


/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }


/* Resizable
----------------------------------*/
.ui-resizable { position: relative;}
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
.ui-resizable-n, .ui-resizable-s, .ui-resizable-e, .ui-resizable-w {z-index: 1000;}
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; }
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; }
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; }
.ui-resizable-se, .ui-resizable-sw, .ui-resizable-nw, .ui-resizable-ne {
	background-image:url(/public/images/ui-icons_454545_256x240.png);
	width: 9px;
	height: 9px;
}
.ui-resizable-se {
	cursor: se-resize;
	right: -5px;
	bottom: -5px;
	background-position: -49px -2px;
}
.ui-resizable-sw {
	cursor: sw-resize;
	left: -5px;
	bottom: -5px;
	background-position: -86px -2px;
}
.ui-resizable-nw {
	cursor: nw-resize;
	left: -5px;
	top: -5px;
	background-position: -118px -6px;
}
.ui-resizable-ne {
	cursor: ne-resize;
	right: -5px;
	top: -5px;
	background-position: -17px -6px;
}


/* Main page styles */

body{
	background:url(../images/bg.jpg) repeat-x #444849;
	padding:0;
	margin:0;
	font-family:Verdana;
	font-size:11px;
}

img{
	border:0;
}

a{
	color:#3181cb;
	text-decoration:underline;
}

#top_c{
	overflow:hidden;
	padding: 10px 20px 0 20px;
}

#mm{
	margin: 0 20px 0 20px;
}

#m_l{
	width:auto;
	margin: 0 284px 0 0;
}

#m_r{
	width:274px;
	float:right;
	overflow:hidden;
}

#last_photos{
	background:#ffffff;
	width: auto;
	float:left;
	position:relative;
	z-index:200;
	padding: 10px 0 10px 10px;
}

#more_links{
	width:100%;
	float:left;
	font-size:18px;
}

#more_links .link{
	margin:20px 0 0 5px;
}

#more_links .link a{
	color:#173857;
	text-decoration:underline;
}

#for-news{
	margin-top:10px;
	overflow:hidden;
	width:100%;
	background:#ffffff;
}

#for-news-cont{
	padding:15px;
}

#logo{
	float:left;
	height: 63px;
	margin-bottom:5px;
	width: 230px;
	background: url(../images/logo.png) no-repeat;
	cursor:hand;
	cursor:pointer;
}

#auth{
	float:right;
	height:63px;
}

#profi{
	width:318px;
	display:inline-block;
	height:40px;
	margin-top:-10px;
	padding:13px 7px 0 7px;
	background:url(../images/profi.png) no-repeat;
}

#profi .ava{
	width:32px;
	height:32px;
	border:1px solid #ffffff;
	float:left;
	margin-right:6px;
}

#profi .dets{
	line-height:25px;
	margin-top:-5px;
	height:44px;
	float:left;
	font-size:11px;
	color:#333333;
}

#profi .dets a{
	text-decoration:none;
}

.w_button{
	display:inline-block;
	width:65px;
	height:24px;
	text-align:center;
	background:url(../images/wb_bg.png) no-repeat;
}

.w_button a{
	display:inline-block;
	border-bottom:1px dashed #42a0f7;
	color:#42a0f7;
	font-size:18px;
	text-decoration:none;
	margin-top:-2px;
}

.clear{
	clear:both;
}

#map{
	width:100%;
	height: 300px;
}

#under-map-l{
	padding-left:23px;
	height:87px;
	background:url(../images/um_l.png) no-repeat;
}

#under-map-r{
	padding-right:23px;
	height:87px;
	background:url(../images/um_r.png) no-repeat top right;
}

#under-map{
	width:100%;
	margin-left:-17px;
	padding: 8px 17px 0 17px;
	background:#39404b;
	height:79px;
	position:relative;
}

#timeline-l{
	float:left;
	position:relative;
	z-index:2;
	height:8px;
	background:url(../images/gl_l.png) no-repeat;
}

#timeline-r{
	float:right;
	position:relative;
	z-index:2;
	height:8px;
	background:url(../images/gl_r.png) no-repeat top right;
}

.timeline{
	position:relative;
	width:100%;
	z-index:2;
	background:url(../images/gl_b.png) repeat-x; 
	height:8px;
}

#line{
	position:relative;
	width:100%;
}

#inline{
	position:absolute;
	height:8px;
	display:block;
	width:100%;
	left:0;
	top:0;
	z-index:1;
}

.pin{
	width:7px;
	height:20px;
	position:absolute;
	left:0;
	top:-5px;
	z-index:3;
}

#left_pin{
	background:url(../images/pin_l.png);
	cursor: url("../images/openhand_8_8.cur"), w-resize;
}
#right_pin{
	background:url(../images/pin_r.png);
	cursor: url("../images/openhand_8_8.cur"), e-resize;
}

#years{
	height:30px;
	padding-top:5px;
	width:100%;
	font-family:Georgia;
	font-size: 14px;
	font-weight:bold;
	position:relative;
}

.year{
	position:absolute;
	height:25px;
	margin-top:-10px;
	font-size:24px;
	color: white;
}

#withnotime{
	position:absolute;
	bottom:7px;
	right:5px;
	color:#999999;
	font-size:11px;
}


h1{
	margin:0 0 15px 0;
	font-size:18px;
	font-weight:normal;
	color:#666666;
}

.news{
	width:auto;
	margin-bottom:15px;
	font-size:11px;
	color:#666666;
	
}

.ntxt{
	width: auto;
	margin-left:30px;
	vertical-align:top;
}

.ntxt a{
	color:#666666;
	text-decoration:none;
}

.date{
	vertical-align:top;
	width:27px;
	float:left;
	color:#666666;
	font-size:9px;
}

#foot-l{
	margin:20px 20px 0 20px;
	padding-left:20px;
	height:133px;
	background:url(../images/foot_l.png) no-repeat;
}

#foot-r{
	padding-right:20px;
	height:133px;
	background:url(../images/foot_r.png) no-repeat top right;
}

#foot{
	width:100%;
	background:#272c33; 
	height:103px;
	margin-top:1px;
	padding: 15px 0 15px 0;
	position:relative;
	font-size:11px;
	color:#999999;
}

#foot a{
	color:#ffffff;
	text-decoration:underline;
}

.fblock{
	width:24%;
	line-height:20px;
	height:100%;
	float:left;
}

.min-photo{
	width:120px;
	height:154px;
	margin:10px 10px 0 0;
	float:left;
	overflow:hidden;
}

.min-photo a{
	color:#333333;
	font-size:11px;
	text-decoration:none;
}

.min-photo .title{
	height:25px;
	overflow:hidden;
	padding:5px 0 5px 5px;
}

#white-block{
	width:100%;
	min-height:1060px;
}

.white-line{
	margin: 0 6px 0 6px;
	width:auto;
	height:6px;
	background:#ffffff;
	position:relative;
}

#wtl{
	width:6px;
	height:6px;
	background:url(../images/block/tl.png) no-repeat;
	position:absolute;
	top:0;
	left:-6px;
}

#wtr{
	width:6px;
	height:6px;
	background:url(../images/block/tr.png) no-repeat;
	position:absolute;
	top:0;
	right:-6px;
}

#wbl{
	width:6px;
	height:6px;
	background:url(../images/block/bl.png) no-repeat;
	position:absolute;
	top:0;
	left:-6px;
}

#wbr{
	width:6px;
	height:6px;
	background:url(../images/block/br.png) no-repeat;
	position:absolute;
	top:0;
	right:-6px;
}

#white-content{
	width:100%;
	min-height:1060px;
	background:#ffffff;
}

#in-white-content{
	padding:10px;
}

.grey-box{
	margin-top:10px;
	width:310px;
	padding-top:8px;
	background:url(../images/gb_top.png) no-repeat;
}

.gb-cont{
	width:292px;
	border-left:1px solid #cccccc;
	border-right:1px solid #cccccc;
	padding: 0 8px 0 8px;
	color:#333333;
	font-size:11px;
}

.gb-cont .min-photo{
	display:inline-block;
}

.gb-cont .tit{
	width:100%;
	height:20px;
}

.gb-cont input{
	width:135px;
	height:16px;
	color:#000000;
	margin-bottom:7px;
}

.gb-cont .lab{
	padding-top:3px;
	width:100px;
	text-align:right;
	white-space:nowrap;
	display:inline-block;
}

.gb-cont .lab img{
	vertical-align:-20%;
}

.gb-bot{
	width:310px;
	height:8px;
	background:url(../images/gb_bot.png) no-repeat;
}

.author{
	width:100%;
	height:50px;
	color:#999999;
	font-size:11px;
	line-height:14px;
}

.author .ava{
	float:left;
	width:48px;
	height:48px;
	margin-right:10px;
}

h1.photo-tit{
	display:block;
	color:#333333;
	font-size:18px;
	width:auto;
	/* margin-right:400px; */
	height:35px;
	padding:0;
	/* margin-top:-50px; */
}

#rezs{
	position:relative;
	margin: 10px 0 0 -5px;
	right: 0;
	width:158px;
	height:22px;
}

#arezs {
	padding:5px;
	width:148px;
	height:12px;
	position:absolute;
	left:0;
	top:0;
	background:#ffffff;
    z-index: 100;
}

.arezs-a{
	border:1px solid #cccccc;
}

#arezs a{
	color:#3181cb;
	text-decoration:none;
}

#inrz{
	line-height:18px;
	display:none;
	margin-top:5px;
}

#inrz a{
	text-decoration:none;
	border-bottom:1px dotted #3181cb;
}

#inrz a.act{
	color:#666666;
	text-decoration:none;
	border:0;
}

.photo_desc{
	width:auto;
	padding:20px;
	color:#333333;
}

.comment{
	font-size:11px;
	width:auto;
	padding:20px;
	border-bottom:1px solid #cccccc;
}

.comment .ava{
	height:48px;
	width:48px;
	float:left;
	margin-right:15px;
	border:1px solid #cccccc;
}

.comment .right{
	width:auto;
	margin-left:63px;
	padding-bottom:25px;
}

.comment .top{
	color:#666666;
	margin-bottom:9px;
	width:auto;
}

.comment a{
	font-weight:bold;
}

#showborder{
	vertical-align:-20%;
	display:inline;
	float:none;
	margin:0;
	padding:0;
	width:auto;
	height:auto;
}

#prblocks{
	display:inline-block;
	width:180px;
	height:56px;
	padding:10px 0 10px 0;
}

.prbl{
	float:left;
	width:20px;
	height:20px;
	border:1px solid #ffffff;
	padding:3px;
	margin: 2px 2px 0 0;
	cursor:hand;
	cursor:pointer;
}

.inprbl{
	width:20px;
	height:20px;
}

.prbl:hover{
	border:3px solid #98c0e5;
	padding:1px;
}

.prbl-a{
	border:1px solid #000000;
}

#bpre{
	display:inline-block;
	width:94px;
	height:76px;
}

#inbpre{
	border:7px solid #000000;
	width:80px;
	height:62px;
}

.sblock{
	cursor:hand;
	cursor:pointer;
	float:left;
	padding:3px;
	border:1px solid #ffffff;
	margin:0 5px 0 0;
}

.sblock-a{
	border:1px solid #000000;
}

#proform{
	width:auto;
	margin-left:125px;
}

#proform .flabel{
	width:162px;
	display:inline-block;
	color:#333333;
	font-size:11px;
	margin-right:10px;
	text-align:right;
	margin-bottom:18px;
}

#proform .flabel img{
	vertical-align:-20%;
}

#proform textarea{
	width:500px;
	height:140px;
	border:1px solid #cecece;
	margin-bottom:18px;
}

#proform .inpt{
	width:255px;
	height:20px;
	border:1px solid #cecece;
	margin-bottom:18px;
}

.uinfo{
	width:257px;
	margin-left:172px;
	color:#999999;
	font-size:11px;
	margin-bottom:20px;
}

.reg-line{
	width:785px;
	height:1px;
	line-height:1px;
	overflow:hidden;
	background:#cecece;
	margin: 18px  0  18px  -115px;
}

.user{
	width:290px;
	padding:10px;
	margin:10px;
	border:1px solid #cccccc;
	float:left;
	height:73px;
}

.user .ava{
	width:48px;
	height:48px;
	float:left;
	border:1px solid #cccccc;
}

.user .dets{
	width:auto;
	margin-left:58px;
}

.suggestion{
	display:block;
	height:20px;
	width:255px;
	border-bottom:1px solid #cccccc;
}

.suggestion:hover{
	background:#cccccc;
}


/* Content block at 2-col layout pages */

.b-content {
	margin-right: 340px;
}


/* Photo container */
.b-photo {
	width: 99%;
	}

	.b-photo .outer_wrap {
		float: left;
		position: relative;
		left: 50%;
		}

		.b-photo .inner_wrap {
			position: relative;
			left: -50%;
			}

			.b-photo .inner_wrap img {
				display: block;
			}

	/* Fragment commenting trigger */
	.b-photo .trigger {
		background: #053F7E;
		color: white;
		display: inline;
		padding: 1em;
		line-height: 3em;
		cursor: pointer;
		width: 160px;
		}

		.b-photo .trigger span {
			border-bottom: 1px white dotted;
		}

.b-photo-fragment {
	position: absolute;
	border: 2px groove silver;
	visibility: hidden;
    z-index: 100;
	}
	.b-photo-fragment a {
		display: block;
		width: 100%;
		height: 100%;
		background: url("foo"); /*IE hack to make link clickable*/
	}
	.active { /* todo: make this class more narrow to point only to active frag not to any possible ".active" element */
		border: 2px groove yellow;
		visibility: visible;
	}
    .b-photo-fragment .comm {
        position: absolute;
        top: 100%;
        background: white;
        width: 200px;
        padding: 8px;
        margin: 2px 0 0 -2px;
        visibility: hidden;
    }


.b-photo-fragment-edit {
	position: absolute;
	width: 100px;
	height: 100px;
	top: 10px;
	left: 10px;
	border: 1px solid #4169E1;
	}
	.b-photo-fragment-edit .inner {
		background-color: #87CEFA;
		width: 100%;
		height: 100%;
	}


/* Last photos block at main page */

.b-last-photos {
	font: inherit;
	}

	.b-last-photos td {
		padding: 0 10px 20px 0;
		vertical-align: top;
		width: 120px;
	}

	.b-last-photos img {
		padding-bottom: 5px;
		width: 120px;
	}


/* Last comments block on main page */

.b-last-comments {
	}

	.b-last-comments li {
		min-height: 70px;
		margin-bottom: 15px;
		position: relative;
	}

	.b-last-comments img {
		position: absolute;
		width: 70px;
	}

	.b-last-comments div {
		margin: 0 10px 0 85px;
        overflow: hidden;
        width: 169px;
	}

	.b-last-comments p {
		margin-bottom: 3px;
	}

	.b-last-comments .info {
		line-height: 9px;
	}

	.b-last-comments .info span {
		color: #666666;
		font-size: 9px;
	}


/* Ratings at main page */

.b-rating-main {
	width: 23%;
	margin-right: 2%;
	float: left;
	}

	.b-rating-main .week,
	.b-rating-main .day {
		display: none;
	}

	.b-rating-main .last {
		margin-right: 0;
	}

	.b-rating-main h3 {
		color: #666666;
		font-size: 14px;
		margin-bottom: 15px;
		white-space: nowrap;
	}

	.b-rating-main .controls {
		margin-bottom: 12px;
		white-space: nowrap;
	}

	.b-rating-main ul li {
		height: 48px;
		min-height: 48px;
		padding: 10px;
		position: relative;
		}
		
		.b-rating-main ul li img.pic {
			border: 1px #cccccc solid;
			height: 48px;
			position: absolute;
			width: 48px;
		}

		.b-rating-main ul li .info {
			margin-left: 58px;
		}


/* Yandex search form */

.b-yandexbox * {
	font: 14px Arial, sans-serif;
	margin: 0;
	}

	.b-yandexbox a img {
		border: 0;
	}

	.b-yandexbox input, .b-yandexbox label {
		vertical-align: middle;
	}

	.b-yandexbox table {
		font-size: 14px;
		width: 100%;
		border-collapse: collapse;
		border: 0;
		background: #ffffff;
	}

	.b-yandexbox table td {
		white-space: nowrap;
		vertical-align: middle;
	}

	.b-yandexbox .b-yandexbox-image {
		padding: 6px 6px 0 6px;
	}

	.b-yandexbox .b-yandexbox-search {
		width: 100%;
	}

	.b-yandexbox .b-yandexbox-search table {
		margin: 0;
		padding: 0;
		background: none;
	}

	.b-yandexbox .b-yandexbox-search .b-yandexbox-txt {
		width: 100%;
		padding-right: 6px;
	}

	.b-yandexbox .b-yandexbox-text {
		position: relative;
		width: 100%;
	}

	.b-yandexbox .b-yandexbox-text input {
		float: left;
		width: 100%;
		padding-right: 0;
		border: 1px solid #7f9db9;
	}

	.b-yandexbox .b-yandexbox-search .b-yandexbox-submit {
		padding: 0;
	}

	.b-yandexbox .b-hint-input {
		font-size: 0;
		position: absolute;
		z-index: 100;
		left: 0;
		width: 30px;
		height: 13px;
		margin: 3px 0 0 3px;
		cursor: text;
		line-height: 0;
		background: url(http://site.yandex.ru/i/ysearch_small.png) no-repeat;
	}

	.b-yandexbox_arr {
		padding-right: 10px;
		background-image: url(http://site.yandex.ru/arrow.xml?color=%23ffffff);
		background-repeat: no-repeat;
		background-position: 100% 50%;
	}

/* Map timeline */

.b-timeline {
	height: 87px;
	background: #39404B;
	margin: 0 6px;
	position: relative;
	}

	.b-timeline .left-border,
	.b-timeline .right-border {
		height: 87px;
		width: 6px;
		position: absolute;
	}

	.b-timeline .left-border {
		background: url(../images/um_l.png);
		margin-left: -6px;
		left: 0;
	}

	.b-timeline .right-border {
		background: url(../images/um_r.png);
		margin-right: -6px;
		right: 0;
	}

	.b-timeline .line-bg {
		height: 8px;
		background: url(../images/gl_b.png);
		margin: 30px 17px 0;
	}

/* Banners */

.b-adv-main-1 {
	margin: 10px 0 0 -9px;
}

.b-adv-main-2 {
	margin: 10px 0 10px 0;
}

.b-adv-main-4 {
	text-align: center;
}

/* Forum styles */
.mainForumTable {
}
.mainForumTable TH {
	font-size: 16px;
	padding-top: 15px;
}
.mainForumTable TD {
	font-size: 12px;
	padding: 6px 0 4px 10px;
}

.mainPmsgTable {
}
.mainPmsgTable TH {
	border-bottom: 1px solid #DDDDDD;
	text-align: left;
	color: #999999;
}
.mainPmsgTable TR.notRead TD {
	background: #F9EDED;
	font-weight: bold;
}
.mainPmsgTable TD {
	border-top: 1px solid white;
}

.forum_bar {
	margin: 10px;
}
.forum_bar A {
	padding: 4px;
}
.forum_bar A.selected {
	background: #C4F0BF;
	text-decoration: none;
	color: #999999;
}

.err {
	color: red;
	font-weight: bold;
}

.button {
	font-size: 11px;
}
.tagPanel A {
	text-decoration: none;
}

.viewForumTable TH {
	border-bottom: 1px solid #DDDDDD;
	text-align: left;
	color: #555555;
	font-weight: normal;
	padding-bottom: 5px;
}
.viewForumTable TD {
	border-top: 1px solid white;
	background: #EEEEEE;
	font-size: 12px;
	line-height: 20px;
}
.viewForumTable A {
	/*color: black;*/
}

.viewTopicTable TH {
	border-bottom: 1px solid #DDDDDD;
	text-align: left;
	color: #555555;
	font-weight: normal;
}
.viewTopicTable TD {
	border-top: 1px solid white;
	background: #EEEEEE;
}
.viewTopicTable TD.authorTd {
	background: #FFFFFF;
	padding: 5px 5px 0 5px;
}
.viewTopicTable TD.msgTd {
	padding: 5px 5px 0 5px;
}
.viewTopicTable TR.bottomTr TD {
	padding: 0 5px 5px 5px;
}

.quote {
	background: url(/public/images/l-arrow.gif) 10px 26px no-repeat #DDDDDD;
	margin : 8px;
	padding: 4px;
	margin-right: 35px;
}
.quoteHeader {
	font-weight: normal;
	padding-left: 25px;
}
.quoteBody {
	padding: 8px 20px 2px 25px;
	background: url(/public/images/r-arrow.gif) right bottom no-repeat;
	color: #777777;
}

.b-forum-admin {
	margin-bottom: 10px;
}

.b-forum-admin-links {
	margin-left: 10px;
}

	.b-forum-admin-links a {
		font-size: 0.8em;
		color: #777777;
	}


