body {
	margin: 0;
	padding: 0;
	background: #252525 url("../img/body_bg.gif");
	font-family: tahoma;
	color: #999999;
	font-size: 100%;
	-font-size: 100%;
	}

table {border-collapse: collapse;}
td {margin: 0; padding: 0; vertical-align: top;}
img {border: 0;}
form {margin: 0; padding:0;}
a {color: #2b507f; text-decoration: underline;}


/* главные элементы страницы */
.body_inner {
	background: url("../img/body_inner_bg.png") repeat-x 0 -40px;
	}

/* главная таблица */
.maintable {
	width: 100%;
	margin-bottom: 65px;
	}
.maintable .content {
	padding-top: 128px;
	min-width: 702px;
	}
.maintable .sidebar {
	width: 282px;
	min-width: 282px;
	}
	
#footer {
	clear: both;
	padding-bottom: 45px;
	}

/* шапка */
#logo {
	position: absolute;
	z-index: 10;
	width: 223px;
	height: 194px;
	cursor: pointer;
	background: url("../img/logo.png") no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/logo.png,sizingMethod=crop);
	}
#logo_name {
	position: absolute;
	top: 45px;
	left: 229px;
	width: 227px;
	height: 30px;
	cursor: pointer;
	background: url("../img/logo_name.png") no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/logo_name.png,sizingMethod=crop);
	}
#logo_comment {
	position: absolute;
	top: 19;
	left: 222px;
	width: 256px;
	height: 11px;
	background: url("../img/logo_comment.png") no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/logo_comment.png,sizingMethod=crop);
	}
#menu {
	position: absolute;
	top: 95px;
	left: 230px;
	}
#menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	}
#menu ul li {
	float: left;
	font: bold 90% arial;
	height: 33px;
	padding: 0 17px 0 17px;
	background: url("../img/menu_bg.jpg") no-repeat;
	}
#menu ul li.active {
	height: 38px;
	position: relative;
	top: -5px;
	}
#menu ul li.end {
	width: 2px;
	padding: 0;
	margin-right: 3px;
	background-position: top right;
	}
#menu ul li.end_active {
	width: 2px;
	padding: 0;
	margin-right: 3px;
	background-position: top right;
	height: 38px;
	position: relative;
	top: -5px;
	}
#menu .inner {
	margin-top: 8px;
	}
#menu a {
	color: #42658e;
	}
#menu ul li.active a {
	color: #827b66;
	}
#usertab {
	position: absolute;
	top: 0;
	left: 230px;
	}
#usertab .border {
	width: 2px;
	height: 40px;
	background: url("../img/usertab_border.png") no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/usertab_border.png,sizingMethod=crop);
	float: left;
	}
#usertab .center {
	height: 40px;
	background: url("../img/usertab_bg_center.png");
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/usertab_bg_center.png,sizingMethod=scale);
	float: left;
	}
#usertab .center:hover {
	height: 40px;
	background: url("../img/usertab_bg_center.png") scroll 0 -40px;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/usertab_bg_center.png,sizingMethod=scale);
	float: left;
	}
#usertab .uname {
	font: bold 9pt arial;
	margin: 7px 4px 0 6px;
	}
#usertab .uname a {
	color: #d4a3a3;
	text-decoration: none;
    cursor: pointer;
	}
#usertab .icons {
	position: relative;
	left: 8px;
	}

	
/* стили основной контентной зоны*/

.page_top {
	background: url("../img/page_ends.png") right top no-repeat;
	}
.page_top_inner, .page_bottom_inner {
	background: url("../img/page_body.png") left top repeat-y;
	}
.page_top_inner {
	height: 18px;
	}
.page_bottom_inner {
	height: 15px;
	}
.page_bottom {
	background: url("../img/page_ends.png") right bottom no-repeat;
	padding-bottom: 3px;
	}
.page_center {
	background: #f2f2f2 url("../img/page_body.png") repeat-y;
	border-right: 3px solid #696969;
	}
/* * html .page_center, * html .page_top_inner, * html .page_bottom_inner {background-position: 20px 0;}*/

.page_center .dummy {
	height: 50px;
	}
.trassa_container {
	/*height: 119px;*/
	margin: 0 50px 24px 100px;
	
	}
.trassa {
	font: 70% arial;
	padding-top: 50px;
	}
.trassa_container h1 {
	font: 170% arial narrow, arial;
	color: black;
	margin: 0;
	}
.next_page, .prev_page {
	color: #2b507f;
	}
.next_page {
	float: right;
	}
.zapros {
	margin: 5px 50px 5px 100px;
	}    
.zapros h5 {
	font: 140% arial narrow, arial;
	color: black;
	margin: 0;
	}    

/* стили поста */

.post_container {
	margin: 0 65px 0 100px;
	padding-bottom: 60px;
	font: 75% arial;
	color: #333333;
	}
.post_container .date {
	font: 90% arial narrow;
	color: black;
	margin-bottom: 1px;
	}
.post_container h1 {
	font: 150% arial;
	color: black;
	margin: 11px 0 0 0;
	}
.post_container .tags {
	font: 90% arial;
	color: #333333;
	margin: 5px 0 15px 0;
	}
.post_container p {
	margin: 0;
	padding: 0 0 10px 0;
	}
.post_container .cut_link {
	font-weight: bold;
	}
.post_container .nav {
	list-style-type: none;
	margin: 15px 0 0 0;
	padding: 0;
	clear: left;
	}
.post_container .nav li {
	font: 90% tahoma;
	color: #333333;
	padding: 0 7px 3px 7px;
	background: url("../img/dotted_2.gif") left top repeat-y;
	line-height: 10px;
	float: left;
	}
.post_container .nav li.first {
	background: none;
	padding: 0 7px 3px 0;
	}
.post_container .nav li.first a {
	font-weight: bold;
	}
.post_search_stat {
	margin: 0 65px 0 100px;
	padding-bottom: 30px;
	font: 70% tahoma;
	}
.post_search_stat_post {
	margin: 0 30px 0 100px;
	padding-bottom: 0px;
	font: 70% tahoma;
	}    
.post_img {
	text-align: center;
	margin: 15px 0 15px 0;
	}
.post_img_left {
	float: left;
	margin: 0 15px 15px 0;
	}
.comments_container {
	margin: 0 65px 0 100px;
	padding-bottom: 60px;
	}
.comments_container .statistics {
	font: 70% arial;
	color: #666666;
	margin: 15px 0 15px 0;
	}
.comments_container .linktoform {
	padding-bottom: 15px;
	}
.comments_container .linktoform span {
	font: 100% arial;
	color: #2b507f;
	cursor: pointer;
	border-bottom: 1px dashed #2b507f;
	}
.comments_container .frm .label {
	padding: 3px 10px 0 0;
	font: 70% arial;
	}
.comments_container .frm .field {
	width: 100%;
	padding-bottom: 5px;
	}
.comments_container .field input, .comments_container .field textarea {
	width: 100%;
	font: 9pt arial;
	}
.comments_container .field textarea {
	height: 100px;
	}
.comments_container .frm .buttons input {
	padding: 2px 10px 3px 10px;
	}
.commetsList {
	margin: 30px 0 0 0
	}
.comm {
	clear: left;
	margin: 10px 0 0 0;
	}
.commAvatar {
	width: 100px;
	/*height: 100px;*/
	float: left;
	margin-bottom: 15px;
	}
.noavatar {
	border: 1px solid #999999;
	}
.commBody {
	margin: 0 0 15px 120px;
	color: #666666;
	}
.commDate {
	font: 70% arial narrow;
	padding: 5px 0 3px 0;
	}
.commAuthor {
	font: bold 70% tahoma;
	}
.commAuthor .status {
	font: 80% tahoma;
	color: #999999;
	}
.commText {
	font: 70%arial;
	margin-top: 10px;
	}
.commDelete {
	float: right;
	font-size: 70%;
	margin-top: 5px;
	}
.commDelete a {
	color: red;
	text-decoration: none;
	}
.iframe {
    font: 300%arial;
    background-color: #f2f2f2;
    margin-right: 300px;
}
	
/* разделители */	

.dotted1 {
	height: 1px;
	background: url("../img/dotted_1.gif") repeat-x;
	clear: left;
	}
	
/* ГЛАВНАЯ СТРАНИЦА */

/* шутка */	

.joke {
	margin: 39px 32px 20px 32px;
	}
.joke p.label {
	font: bold 75% arial;
	color: #5f5f5f;
	margin: 0 0 3px 0;
	}
.joke p.text {
	font: 70% arial;
	color: #9e9e9e;
	margin: 0 0 2px 0;
	}
.joke p.author {
	font: bold 70% arial;
	text-align: right;
	margin: 0;
	}	
.joke p.author a {
	color: #5f81a1;
	}
	
/* крео и новости */	
	
.news_container {
	background: #223042 url("../img/side_news_bg.png") repeat-y;
	}
.creo_container {
	height: 170px;
	padding-left: 32px;
	background: url("../img/side_creo_bg.gif") no-repeat;
	/*-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/new/img/side_creo_bg.png,sizingMethod=crop);*/
	}
.creo_container_inner {
	padding-top: 27px;
	}
.creo_container .item {
	font: bold 90% arial;
	height: 31px;
	clear: both;
	}
.creo_container .item a {
	line-height: 28px;
	margin-left: 7px;
	color: #42658e;
	}
.creo_container .item a.active {
	color: #827b66;
	}
.icon_photo, .icon_video, .icon_art, .icon_links, .icon_igu, .icon_search {
	float: left;
	}
.icon_photo {
	background: url("../img/side_creo_photo.png") no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/side_creo_photo.png,sizingMethod=crop);
	}
.icon_video {
	background: url("../img/side_creo_video.png") no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/side_creo_music.png,sizingMethod=crop);
	}
.icon_art {
	background: url("../img/side_creo_art.png") no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/side_creo_art.png,sizingMethod=crop);
	}
.icon_links {
	background: url("../img/side_creo_links.png") no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/side_creo_links.png,sizingMethod=crop);
	}
.icon_igu {
	background: url("../img/side_creo_links.png") no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/side_creo_links.png,sizingMethod=crop);
	}
.icon_search {
	background: url("../img/search_icon.png") no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/side_creo_links.png,sizingMethod=crop);
	}	
.news {
	background: url("../img/side_calendar_header.gif") right bottom no-repeat;
	padding: 0 32px 0 32px;
	}
.news h1 {
	font: bold 95% arial;
	margin: 12px 0 14px 0;
	text-indent: 8px;
	line-height: 17px;
	position: relative;
	left: -8px;
	}
.news h1 a {
	text-decoration: none;
	color: #587ca9;
	}
.news .date {
	font: 70% arial narrow;
	color: #666666;
	}
.news p {
	font: 70% arial;
	color: #666666;
	margin: 0;
	padding-bottom: 14px;
	}
.news p a {
	color: #5c81b0;
	}	
.news p.link {
	color: #5c81b0;
	padding-top: 13px;
	padding-bottom: 72px;
	}
.news p.link a {
	font-weight: bold;
	}
	
/* календарь */
	
.calendar_header {
	height: 27px;
	background-color: #323232;
	border-top: 2px solid #505050;
	text-align: center;
	}
.calendar_header_item1, .calendar_header_item2, .calendar_header_item3 {
	float:left;
	width:33%;
	}
.calendar_header_item2 {
	padding-top: 5px;
	}
.calendar_header_item1 img {
	background: url("../img/side_calendar_arrows.gif") left top no-repeat;
	cursor: pointer;
	}

.calendar_header_item3 img {
	background: url("../img/side_calendar_arrows.gif") right top no-repeat;
	cursor: pointer;
	}
.calendar_header a {
	font: bold 75% arial;
	color: #999999;
	text-decoration: none;
	}
.calendar_body {
	padding: 12px 40px 12px 39px;
	background-color: #821414;
	clear: both;
	overflow: hidden;
	}
.calendar_body_inner {
	width: 203px;
	height: 120px;
	overflow: hidden;
	clear: both;
	background-color: #821414;
	}
.day {
	float: left;
	width: 28px;
	height: 23px;
	margin: 0 1px 1px 0;
	}
.day_inner, .day_inner_out {
	width: 18px;
	-width: 22px;
	height: 17px;
	font: 9pt arial;
	line-height: 17px;
	color: #d4a3a3;
	text-align: right;
	margin: 3px;
	padding-right: 4px;
	}
.day_inner_out {
	color: #964747;
	}
#event {
	background: url("../img/side_calendar_marker.gif") no-repeat;
	}
#birthday {
	background-color: #9b4343;
	}
.calendar_shadow {
	padding-top: 20px;
	background: url("../img/side_calendar_shadow.png") no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/side_calendar_shadow.png,sizingMethod=crop);
	}

/* метки */
	
.tags_all {
	margin: 32px 32px 50px 32px;
	padding-bottom: 3px;
	overflow: hidden;
	}
.tags_all h1 {
	font: 70% arial;
	margin: 0 0 10px 0;
	}
.tags_all ul {
	width: 218px;
	list-style-type: none;
	display: inline;
	white-space: nowrap;
	margin: 0;
	padding: 0;
	}
.tags_all ul li {
	float: left;
	font-family: arial;
	padding: 0 5px 5px 0;
	height: 15px;
	font-size: 100%;
	}
.size1 {font-size: 60%;}
.size2 {font-size: 70%;}
.size3 {font-size: 80%;}
.size4 {font-size: 90%;}
.size5 {font-size: 110%;}
.tags_all a {
	color: #5c81b0;
	}

/* люди онлайн */

.people_online {
	margin: 32px 32px 50px 32px;
	padding-bottom: 3px;
	overflow: hidden;
	}
.people_online h1 {
	font: 70% arial;
	margin: 0 0 10px 0;
	}
.people_online ul {
	width: 218px;
	list-style-type: none;
	display: inline;
	white-space: nowrap;
	margin: 0;
	padding: 0;
	}
.people_online ul li {
	float: left;
	font-family: arial;
	padding: 0 5px 5px 0;
	height: 15px;
	font-size: 70%;
	}
.people_online a {
	color: #5c81b0;
	}
	
/* популярные статьи */

.popular_posts {
	margin: 32px 32px 50px 32px;
	font: 70% arial;
	}
.popular_posts a {
	color: #5c81b0;
	}
	
.popular_posts .header {
	font-size: 120%;
	margin: 15px 0 5px 0;
	}

	
/* банеры */

.banners_container {
	padding-top: 70px;
	}
.banner {
	margin: 15px 0 15px 41px;
	}
.banner_link {
	margin: 5px 0 15px 0;
	font-size: 70%;
	text-align: center;
	}
.banner_link a {
	color: #5c81b0;
	}
.direct {
    margin: 32px 32px 50px 32px;
	padding-bottom: 3px; 
    font: 100% arial;   
}
	
/* форма входа */

.login_form {
	margin: 32px 32px 70px 32px;
	font: 70% arial;
	}
.login_form h1 {
	font: 100% arial;
	margin: 0 0 10px 0;
	}
.login_form .label {
	float: left;
	width: 45px;
	padding-top: 8px;
	}
.login_form .field {
	margin: 0 0 3px 50px;
	}
.login_form .field input {
	width: 170px;
	_width: 160px;
	font: 14pt arial;
	}
.login_form .checkbox {
	height: 25px;
	}
.login_form .checkbox input {
	position: relative;
	top: 3px;
	}

.login_form .chkbox {
	float: left;
	height: 20px;
	margin: 3px 5px 0 49px;
	-margin: 3px 5px 0 24px;
	}

.login_form .rmmbr {
	float: left;
	height: 20px;
	margin: 6px 0 0 0;
	}
.login_form .button {
	margin: 35px 0 0 52px;
	}
.login_form .button input {
	padding: 2px 10px 3px 10px;
	}
.login_form .reglink {
	margin: 10px 0 0 50px;
	line-height: 1.4;
	}
.login_form a {
	color: #5c81b0;
	}
	
/* футер */

.footer_contacts {
	margin: 0 282px 0 100px;
	font: 75% arial;
	color: #808080;
	}
.footer_contacts .copyrs {
	white-space: nowrap;
	}
.footer_contacts .people {
	margin-top: 15px;
	}
.footer_contacts .people td {
	font: 70% arial;
	color: #808080;
	padding: 0 5px 0 0;
	white-space: nowrap;
	}
.footer_contacts .people2 td {
	font: 70% arial;
	color: #808080;
	padding: 0 5px 0 0;
	white-space: nowrap;
	}
.footer_contacts .counters {
	clear: both;
	}
.footer_contacts a {
	color: #5c81b0;
	font-weight: bold;
	}
.footer_cake {
	width: 282px;
	height: 113px;
	float: right;
	background: url("../img/footer_cake.png") no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://kvn.baikal.ru/img/footer_cake.png,sizingMethod=crop);
	}
/*Поделиться*/
#share {
    margin-left: -7px;  
    height: 10px;
}
#share a {
    margin-right: 6px;
    
}	
#share span {
    border-color: #F2F2F2;   
}


.box {
	display: none;
}
.box.visible {
	display: block;
}
/*Пагинатор*/
#paginator {
    margin: 0 65px 0 100px;
    padding-bottom: 2px;
	font: 100% arial;
	color: #333333;
    -behavior: url(border-radius.htc);
}
#paginator a {
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    background: url("../img/page_grey.png") no-repeat #393939;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 2px;
    padding-bottom: 2px;
    position: relative;
    color: white;
    margin-right: 3px;
    display: inline-block;
    vertical-align: baseline;
    
    font: Verdana,Tahoma,Arial,sans-serif;
    border-radius: 5px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   -behavior: url(border-radius.htc);
}
#paginator a.active {
    cursor: default;
    text-decoration: none;
    font-weight: 500;
    background: url("../img/page_blue.png") repeat-x #393939;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 2px;
    position: relative;
    color: white;
    margin-right: 3px;
    display: inline-block;
    vertical-align: baseline;
    font: Verdana,Tahoma,Arial,sans-serif;
    border-radius: 5px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   -khtml-border-radius: 5px;
   -behavior: url(border-radius.htc);
   
}
#paginator a:hover {
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    background: url("../img/page_blue.png") repeat-x #393939;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 2px;
    position: relative;
    color: white;
    margin-right: 3px;
    display: inline-block;
    vertical-align: baseline;
    font: Verdana,Tahoma,Arial,sans-serif;
    border-radius: 5px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   -webkit-border-radius: 5px;
   -behavior: url(border-radius.htc);
}
/*Модальное окно*/
    #mask {
    position:absolute;
    left:0;
    top:0;
    z-index:9000;
    background-color:#000;
    display:none;
    }
    #boxes .window {
    position:fixed;
    left:0;
    top:0;
    width:440px;
    height:200px;
    display:none;
    z-index:9999;
    padding:20px;
    }  
    #boxes #dialog {
    width:375px; 
    height:203px;
    padding:10px;
    background-color:#ffffff;
    border-radius: 10px;
   -moz-border-radius: 10px;
   -webkit-border-radius: 10px;
   -webkit-border-radius: 10px;
   -behavior: url(border-radius.htc);
    } 
    #boxes #dialog #lgn {
    border-radius: 5px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   -webkit-border-radius: 5px;
   -behavior: url(border-radius.htc);
        }
   #boxes #dialog #pwd {
    border-radius: 5px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   -webkit-border-radius: 5px;
   -behavior: url(border-radius.htc);
        }
    #boxes_comm {
       font: 100% arial; 
    }
