html, body {
	font-size:11pt;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	font-family: Times, serif;
}

#mainsite {
	position: relative;
	margin: 0px auto;
	max-width:1200px;
	min-width: 995px;
	width:expression((document.getElementById('measurer') && document.getElementById('measurer').clientWidth < 995) ? '995px' :  (document.getElementById('measurer') && document.getElementById('measurer').clientWidth > '1200') ? '1200px' : '100%');
}

h1,h2,h3,h4,h5,h6,pre,form {
	margin: 0px;
	padding: 0px;
}

ul,ol {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
.treeview li .mainli{
	background: #e9e9e9;
}
.menumain{
	color: #222222;
	text-decoration: none;
	border-bottom: 1px #cacaca solid;
	display:block;
	line-height:22px;
	padding: 0px 5px;
}
.menumain:hover{
	color: #08769f;
	text-decoration: none;
	line-height:22px;
	border-bottom: 1px solid #9c9c9c;
}
#login-site {
	position: absolute;
	top: 0px;
	right: 20px;
}
#login-site  a{
	color: #717171;
	text-decoration: none;
}
#login-site  a:hover{
	color: #ba1d03;
}

.dates{
	color: #4b4b4b;
}
.news-cat{
	padding: 10px;
	text-align:left;
	background: #f5f5f5;
}
.news-archive{
	padding: 10px;
	text-align:left;
	background: #f5f5f5;
}
.main-photo {
	padding: 10px;
	text-align:left;
	background: #f5f5f5;
}

.main-bord {
	padding: 10px;
	text-align:left;
	background: #ececec;
	margin-left: 10px;
}
.main-content {
	padding: 10px;
	text-align:left;
}
.main-blog{
	padding: 10px;
	text-align:left;
	background: #b6cde2;
}
.blog-block{
	margin-left: 10px;
	padding: 10px;
	text-align:left;
	background: #f7fddd;
}
.blog-block-login{
	margin-left: 10px;
	padding: 10px;
	text-align:left;
	background: #ebebeb;
}
.blog-block-login div a:link,
.blog-block-login div a:visited {
	border-bottom: 1px #cacaca solid;
	text-decoration:none;
	color: #222222;
	display:block;
	padding: 2px 10px;
	line-height:22px
}
.blog-block-login div a:hover {
	border-bottom: 1px #9a1919 solid;
	text-decoration:none;
	color: #9a1919;
	display:block;
	padding: 2px 10px;
	line-height:22px
}
.blog-block-info{
	margin-left: 10px;
	padding: 10px;
	text-align:left;
	background: #e9e9e9;
}

.page-list {
	padding: 10px;
	text-align:center;
	background: #e9e9e9;
}
.page-list span font {
	line-height:22px;
	color: #ffffff;
	padding: 5px 10px;
	background-color: #125492;
	border: 1px solid #222222;
}

.page-list span a {
	line-height:22px;
	padding: 5px 10px;
	color: #222222;
	background-color: #7abdfb;
	border: 1px solid #8babca;
	text-decoration: none;
}

.page-list span a:hover {
	line-height:22px;
	color: #ffffff;
	padding: 5px 10px;
	background-color: #125492;
	border: 1px solid #222222;
}

.title-bar {
	font-size: 150%;
	padding: 0px 10px;
}
.title-bar a{
	color: #222222;
	text-decoration: none;
}
.title-bar a:hover{
	color: #1a4670;
}

/*Блоги*/

.title-blog {
	font-size: 30px;
	padding: 0px 10px;
}
.title-blog a{
	color: #222222;
	text-decoration: none;
}
.title-blog a:hover{
	color: #1a4670;
}
.blog-post{
	padding: 10px;
	text-align:left;
	background: #f7f7f7;
}
.blog-post h2 {
	border-bottom: 1px #ababab solid;
	padding: 2px 10px;
	font-size: 25px;
}
.blog-post h2 a{
	color: #333333;
	font-size: 20px;
	text-decoration: none;
}
.blog-post h2 a:hover{
	color: #237ed3;
	font-size: 20px;
	text-decoration: none;
}
.blog-post .info {
	width: 90px;
	padding: 10px 5px;
}

.blog-post .info .day {
	font-size: 30pt;
	font-weight: bold;
	text-align: center;
}
.blog-post .info .month-year {
	text-align: center;
	font-size: 80%;
}
.blog-post .post .rubric {
	text-align: right;
	font-size: 80%;
}
.blog-post .info .image {
	
}
.blog-post .post {
	padding: 5px;
}
.blog-post .post .tags {
	margin-top: 10px;
	padding-left: 25px;
	font-size: 90%;
	background: url(../images/tegs.gif) no-repeat;
	line-height:20px
}
.blog-post .fotter {
	clear: both;
	padding: 2px 5px;
	text-align: right;
}

/*Блоги*/

.main-catalog {
	padding: 10px;
	text-align:left;
	background: #f7fddd;
}
.main-news {
	padding: 10px;
	text-align:left;
	background: #e8f1c6;
}

.main-lnews {
	padding: 10px;
	text-align:left;
	background: #f6f5e2;
}
.news-last {
	padding-right: 20px;
	text-align: justify;
}
.blog-menu {
	background: #e9e9e9;
	text-align:left;
	padding: 10px;
}
.blog-news{
	background: #d4ebef;
	text-align:left;
	padding: 10px;
}
.blog-news em {
	color: #717171;
}
.blog-news a {
	color: #0000ff;
}

.blog-news a:hover{
	color: #a12a00;
}
.roundbox {
	margin-bottom:10px;
	overflow:hidden;
	clear:both;
}

.roundbox h3 a{
	color: #222222;
	text-decoration: none;
}
.roundbox h3 a:hover{
	color: #7d8050;
	text-decoration: none;
}
.roundbox h3 {
	zoom: 1;
	padding: 1px 5px;
	color: #222222;
	border-bottom: 1px solid #8a8a8a;
}
.roundbox h2 {
	font-size:120%;
}
.user-menu{
	background-color: #f4f4d4;
	padding: 10px;
}
.user-menu ul {
	padding-left: 10px;
	padding-right: 5px;
	overflow:hidden;
	min-width:550px;
}
.user-menu ul li{
	float:left;
	margin-right:14px;
	color:#707a42;
}
.user-menu ul li a{
	color: #707a42;
	text-decoration: none;
}

.user-menu ul li a:hover{
	color: #7e3410;
	text-decoration: overline;
}
.info-user{
	margin-left: 10px;
	margin-bottom: 10px;
}
.info-user h3{
	padding: 1px 5px;
	color: #333333;
	border-bottom: 1px solid #8a8a8a;
}
.colls{
	background: #f3eda8;
	padding: 4px 10px;
	margin-bottom: 5px;
}
.info-user em{
	padding-left: 10px;
	color: #222222;
}
/*
.sbox a{
	color: #0000ff;
}
.sbox li a:link, a:active {
	color: #0000ff;
}
.sbox a:hover{
	color: #a12a00;
}
.sbox a:visited{
	color: #168aa3;
}
*/
.smallnewstitle{
	font-size:80%;
}
.smallnewscontent{
	font-size:80%;
	margin-bottom: 10px;
}
.dates em {
	font-size:70%;
}
#fotter {
	border-top: 2px solid #e6e6c2;
	padding: 10px;
}
#fotter em {
	color: #666666;
}
#fotter li:before { content: "» "; }

#fotter li a {
	font-size:80%;
	color: #616842;
	text-decoration: none;
}
#fotter li a:hover {
	font-size:80%;
	color: #782700;
	text-decoration: underline;
}
#fotter li span {
	font-size:80%;
	color: #9c9c9c;
}

.topls {
	text-align: right;
	padding-right: 20px;
}

.topls a{
	color: #71706f;
	text-decoration: none;
}

.topls a:hover {
	color: #4f4f4f;
	text-decoration: underline;
}

.topmenu {
	padding-top: 12px;
	padding-left: 40px;
	overflow:hidden;
	min-width:550px;
}

.topmenu li{
	height:36px;
	line-height:1.2em;
	float:left;
	font-size:140%;
	margin-right:20px;
	color:#707a42;
}

.topmenu li a{
	color: #707a42;
	text-decoration: none;
}

.topmenu li a:hover{
	color: #7e3410;
	text-decoration: overline;
}
.topmenu li span{
	color: #cacaca;
}

.copiright {
	font-size:100%;
}
.copiright a {
	color: #87330a;
	text-decoration: none;
}
.copiright a:hover{
	text-decoration: underline;
}

.treeview, .treeview ul { 
	padding: 0;
	margin: 0;
	list-style: none;
}

.treeview ul {
	background-color: white;
	margin-top: 4px;
}

.treeview .hitarea {
	background: url(../image/treeview-default.gif) -64px -25px no-repeat;
	height: 16px;
	width: 16px;
	margin-left: -16px;
	float: left;
	cursor: pointer;
}
/* fix for IE6 */
* html .hitarea {
	display: inline;
	float:none;
}

.treeview li .mainli{
	padding-left: 12px;
}
.treeview li { 
	margin: 0;
	padding: 2px 4px;
	display:block;
}

.treeview a.selected {
	font-weight: bold;
}

#treecontrol {
	margin: 1em 0;
	display: none;
}

.treeview .hover {
	color: red;
	cursor: pointer;
}

.treeview li { 
	background: url(../image/treeview-default-line.gif) 0 0 no-repeat;
}
.treeview li.collapsable, .treeview li.expandable {
	background-position: 0 -176px;
}

.treeview .expandable-hitarea {
	background-position: -80px -3px; 
}

.treeview li.last {
	background-position: 0 -1766px
}
.treeview li.lastCollapsable, .treeview li.lastExpandable {
	background-image: url(../image/treeview-default.gif);
}
.treeview li.lastCollapsable {
	background-position: 0 -111px
}
.treeview li.lastExpandable {
	background-position: -32px -67px
}

.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }


a.menulogin:link,
a.menulogin:visited {
	font-weight: bold;
	border-bottom: 1px #cacaca solid;
	color:#222222;
	text-align:center;
	text-decoration:none;
	font-size:9pt;
	display:block;
	padding-left:10px;
	padding-right:10px;
	line-height:22px
}
a.menulogin:hover{
	font-weight: bold;
	color:#FFFFFF;
	background-color:#222222;
	border-bottom: 1px #cacaca solid;
	text-decoration:none;
	text-align:center;
	font-size:9pt;
	display:block;
	padding-left:10px;
	padding-right:10px;
	line-height:22px
}
a.linker{
	display:block;
	color: #9b0909;
	border-bottom: 1px #cacaca solid;
	text-decoration:none;
	padding:0px 5px;
	line-height:20px
}
a.linker:hover{
	display:block;
	color: #047e8c;
	border-bottom: 1px #000000 solid;
	text-decoration:none;
	padding:0px 5px;
	line-height:20px
}
/*Gallery*/
.albom-list {
	background-color: #e1ffc1;
	margin: 5px;
	padding: 10px;
	width: 250px;
	float: left;
}
.albom-list .albom {
	height: 230px;
}
.photo-lost {
	background-color: #fffac1;
	margin: 5px;
	padding: 10px;
	width: 200px;
	float: left;
}
.photo-lost .photo {
	height: 190px;
}
.gallery-list, .gallery-comment, .gallery-photo{
	text-align: center;
}
.gallery-list .selcect {
	border: 3px solid #8f0f0f;
}
/*Catalog*/

.catalog-menu{
	background-color: #f0f0f0;
	padding: 10px;
	font-size: 120%;
}
.catalog-menu ul {
	padding: 0px 10px;
	overflow:hidden;
	min-width:550px;
}
.catalog-menu ul li{
	float:left;
	color:#707a42;
	padding: 0px 7px;
}
.catalog-menu ul li a{
	color: #707a42;
	text-decoration: none;
}

.catalog-menu ul li a:hover{
	color: #7e3410;
}

.catalog {
	text-align:left;
	position: relative;
}
.catalog .top100 {
	margin-right: 235px;
}

.catalog .top100-block {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 230px;
}
