* {
margin: 0; padding: 0;
}
body {
	color: #474747;
	font : normal normal 70% Trebuchet MS;;
    background: #fff url('image/bg.jpg') no-repeat fixed right top;
    padding-right: 82px;
    max-width: 1100px;
}
body.inner_page_dizy{
    background-image: url(image/bg_post_dizy.jpg);
}
body.inner_page_sol{
    background-image: url(image/bg_post_sol.jpg);
}
#min-width{
	min-width: 790px;
    background-color: #fff;
    padding: 0 0 15px 0px;
}
#wrapper{
  padding: 15px 30px;
  min-width: 730px;
  background-color: #fff;
}
#right{
	width: 270px;
	float: left;
}
#left_container{
	float: right;
	margin: 15px 0 0 -310px;
	width:100%;
}
#left{
	margin: 10px 25px 0 310px;
}
.clear{
	clear: both;
}
#header{
    position: fixed;
	height: 125px;
    width: 261px;
    margin: 0 0 10px 15px;
    left: 0;
    padding-top: 15px;
    z-index: 5;
    background: url(image/header_bg.png) repeat-x bottom;
}
#header a{
    display: block;
	font-weight: normal;
}
#header img{
  position: absolute;
  top: 15px;
  left: 0;
}
h1{
  font-size: 180%;
  color: #b5b5b5;
  font-weight: normal;
  margin: 5px 0 10px;
}
h1 a{
  color: #b5b5b5;
  text-decoration: none;
}
h1 a:hover{
  text-decoration: underline;
}
h2{
	font-size:120%;
	margin-bottom: 7px;
}
h3{
  font-size: 200%;
}
h5{
  font-size: 140%;
  color: #d24a05;
  margin-bottom: 20px;
}
a{
	color: #7b83b4;
	text-decoration: underline;
}
a:hover{
	text-decoration: none;
}
#menu{
    float:left;
    position: fixed;
    z-index: 10;
    bottom: 0;
    left: 0;
    width: 37px;
	list-style: none;
    background: #7b83b4 url(image/menu.gif) repeat-y right;
}
#menu li{
  border-bottom: 1px solid #fff;
  padding: 15px 0;
}
#menu div li{
  border-bottom: none;
  padding: 0;
}
#menu li a{
  position: relative;
}
#menu li div a{
  position: static;
}
#menu li strong{
  display: block;
  padding: 0 10px 0 17px;
  color: #fff;
  line-height: 9px;
  overflow: hidden;
  font-size: 90%;
  font-weight: normal;
}
#menu li img{
  position: absolute;
  width: 15px;
  margin-left:14px;
}
#menu li div img{
  position: static;
  width: auto;
  margin: 0;
}
#menu li div.box{
  display: none;
  position: absolute;
  top: 0;
  margin-left: 37px;
  padding: 20px;
  width: 210px;
  height: 462px;
  background: #fff url(image/box_bg.jpg) no-repeat right top;
  border: 1px solid #7b83b4;
  border-width: 1px 1px 1px 0;
}
#menu li:hover div.box, #menu li.iehover div.box{
  display: block;
}
#menu li div ul{
  list-style: none;
  padding: 15px;
}
#menu li div ul li{
	margin-bottom: 0.4em;
}#menu li div ul li a{
  color: #353d62;
}
#menu li div ul li b{
	float: right;
	font-weight: normal;
}
#rubrik, #rubrik strong{
    height: 54px;
}
#last_comment, #last_comment strong{
    height: 88px;
}
#calendar, #calendar strong{
    height: 68px;
}
#author, #author strong{
    height: 46px;
}
#gotosite, #gotosite strong{
    height: 73px;
}
#menu #gotosite img{
  margin-left: 7px;
  width: 24px;
}
#author div b{
  color: #787eb0;
  display: block;
  margin: 0 0 7px 0;
  font-size: 130%;
}
#author div em{
  font-style: normal;
  color: #353D62;
  display: block;
  margin-bottom: 20px;
}
#rss{
    line-height: 80px;
    margin: 140px 0 15px 60px;
}
#rss img{
  float: left;
  margin-right: 13px;
}
#rss a{
  color: #d24a05;
  font-weight: bold;
}
#bottom{
	padding: 20px 0 10px 60px;
	color: #b5b5b5;
}
#bottom a{
	color: #b5b5b5;
}
#calendar div div{
	margin: 20px 0 0 0;
	text-align: center;
}
#calendar table{
	margin-right: auto;
	margin-left: auto;
	font-size: 120%;
	text-align: center;
}
#calendar th{
	font-weight: bold;
	color: #7b83b4;
	padding: 4px 3px 8px 3px;
}
#calendar th b{
	color: #d24a05;
}
#calendar td{
	color: #7b83b4;
	padding: 1px 3px 1px 3px;
}
#calendar td a{
	color: #d24a05;
    font-weight: bold;
}
#calendar td.mounth{
	color: #d24a05;
    font-weight: bold;
}
#calendar td.mounth a{
	color: #7b83b4;
	padding-left: 17px;
	background-position: center;
	background-repeat: no-repeat;
	text-decoration: none;
}
#calendar td.mounth a:hover{
	text-decoration: none;
}
.next_month{
	background-image: url('image/str_right.gif');
}
.prev_month{
	background-image: url('image/str_left.gif');
}
#banner{
	margin:0 0 20px 37px;
	text-align: center;
    position: relative;
}
#banner a{
	display: block;
	text-decoration: none;
}
#banner a b{
	display: none;
	position: absolute;
	top: 40%;
	background-color: #fff;
	padding: 5px;
	left: 47px;
	width: 150px;
	color: #474747;
    opacity: 0.7;
}
#banner a:hover b{
	display: block;
}
#banner em{
	font-weight: normal;
	font-style: normal;
	margin-top: 7px;
	display: block;
	font-size: 90%;
	color: #d24a05;
}
#dop_menu{
  list-style: none;
  font-size: 105%;
  line-height: 1.2em;
  padding: 0;
  margin: 0 0 0 75px;
}
#dop_menu li{
    padding-left: 10px;
    background: url(image/ol.gif) no-repeat left;
}
#dop_menu a{
  color: #d24a05;
}
#add_ban{
  margin: 30px 0 0 60px;
  position: relative;
  height: 100px;
}
#add_ban img{
  margin-right: 5px;
  float: left;
}
#add_ban a{
  display: block;
  margin: 15px 0 0 0;
  width: 80px;
  float: right;
  line-height: 1.1em;
}
.date{
	float: right;
	position: relative;
    font-weight: bold;
    padding-top: 7px;
    color: #b5b5b5;
}
.add{
	text-align: right;
	margin-bottom: 20px;
	font-weight: bold;
	color: #7b83b4;
	clear: both;
}
.add a{
	text-decoration: underline;
}
.add a:hover{
	text-decoration: none;
}
.post{
	margin-bottom: 15px;
	text-align: justify;
	line-height: 1.2em;
    font-family: Tahoma;
}
.tag{
  margin-bottom:7px;
}
.pages{
	text-align: center;
	color: #7b83b4;
	margin-bottom: 10px;
    padding-top: 20px;
}
.pages strong{
	font-weight: bold;
	font-size: 130%;
	color: #d24a05;
	padding: 1px;
}
.pages a{
	color: #7b83b4;
	font-weight: bold;
	padding: 4px;
}
.comm_info{
	color: #7b83b4;
}
.comm_info strong{
	margin-left: 10px;
}
#comment_box{
  border-top: 1px dashed #c5c5c5;
  padding-top: 20px;
}
#comment_box .post{
	padding-left: 25px;
	padding-top:0;
}
.more{
  margin-bottom: 20px;
}
.more ul{
  list-style: none;
  margin: 0 0 0 25px;
}
#prevnext{
	text-align: center;
	margin-bottom:20px;
	line-height: 12px;
	font-weight: bold;
}
#prevnext a{
    color: #d24a05;
    text-decoration: none;
}
#prevnext a:hover{
  text-decoration: underline;
}
.prev{
	background: url('image/str_left.gif') no-repeat left;
	padding-left: 23px;
}
.next{
	background: url('image/str_right.gif') no-repeat right;
	padding-right: 23px;
	margin-left: 50px;
}
#add_comm{
	margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #c5c5c5;
}
label{
	font-weight:bold;
	white-space: nowrap;
	margin-right: 15px;
	color: #7b83b4;
}
#add_comm label{
	margin-right: 0;
}
.r{
	text-align: right;
}
#add_comm table{
	width: 100%;
}
#add_comm td{
	vertical-align: top;
	padding: 1px 0 1px 10px;
}
#add_comm td.r{
    width:160px;
    padding-left: 5px;
}
input.text, textarea{
	padding: 1px 2px 1px 2px;
	font-family: Verdana;
	font-size: 100%;
	border: 1px solid #c5c5c5;
	background-color: #fff;
}
textarea{
  width: 80%;
}
input.submit{
	border: #7b83b4;
	font-weight: bold;
	background: #7b83b4 url('image/btn.gif') repeat-x top;
	padding: 2px 10px 2px 10px;
	color: #fff;
	cursor: pointer;
}
input.text:focus, textarea:focus, input.text:hover, textarea:hover{
	border-color: #7b83b4;
}
#smile{
/*	width: 450px;*/
}
#smile a{
	float: left;
	height: 22px;
	border: 1px solid #c5c5c5;
	background-color: #fff;
	background-position: center;
	background-repeat: no-repeat;
	margin: 0 3px 3px 0;
	padding: 0 3px;
}
#smile a:hover{
	border-color: #353d62;
	background-color: #7b83b4;
}
#smile a img{
	visibility: hidden;
}
#smile a#link_smiles{
	height: auto;
	border: none;
	background: none;
	margin-top: 5px;
	margin-left: 15px;
}
#all_smiles{
	position: absolute;
	width: 310px;
	height: 100px;
	border: 1px solid #353d62;
	background: #fff url(image/box.jpg) no-repeat left;
	padding: 10px;
/*	margin-left: 95px;*/
	margin-top: -5px;
}
#all_smiles a{
	height: 33px;
	border: none;
	background-color: transparent;
	background-position: -100px -100px;
	margin-right: 10px;
}
#all_smiles a:hover{
	background-color: transparent;
}
#smile #all_smiles a img{
	visibility: visible;
}
/*для новой записи*/
#top_menu{
  list-style: none;
  list-style-image: url(image/ol.gif);
  list-style-position: inside;
  font-size: 105%;
  font-weight: bold;
}
#top_menu li{
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
}
#top_menu a{
  color: #d24a05;
}
#btn a{
	float: left;
	padding: 2px 5px;
	margin: 0 3px 3px 0;
	border: 1px solid #c5c5c5;
	background-color: #fff;
	font-weight: bold;
	color: #353d62;
    text-decoration: none;
}
#btn a:hover{
  	border-color: #353d62;
	background-color: #353d62;
	text-decoration: none;
	color: #fff;
}
#add_post{
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	width: 800px;
}
#add_post label{
	font-weight: normal;
}
#add_post ul{
	list-style: none;
	margin: 0;
	padding: 0;
	float: left;
	margin-top: 3px;
	margin-bottom: 7px;
	margin-right:15px;
}
#add_post td{
	vertical-align: top;
	padding: 1px 0 1px 20px;
}
#add_post .checkbox{
	margin-right: 5px;
	margin-bottom: 2px;
}
/*end для новой записи*/
.post p{
	margin-bottom:0.8em;
}
.post ul{
	margin-bottom: 0.8em;
	margin-left: 20px;
}
.box_img{
   /*	margin-bottom:0.8em;*/
	text-align: center;
/*    min-width: 510px;*/
    overflow: auto;

}
.box_img img{
	margin: 0 10px 10px 0;
	vertical-align: middle;
}
.img_right{
	float: right;
	margin: 0 0 0.8em 0.8em;
}
.img_left{
	float: left;
	margin: 0 0.8em 0.8em 0;
}
.offtop, .offtop a{
	color: #959595;
}
.quote_text{
	background:url('image/quote.gif') no-repeat left top;
	border:1px solid #c5c5c5;
	color: #353d62;
	margin-bottom:12px;
	margin-top:12px;
	padding:6px 14px 6px 44px;
}
img {
	border: none;
}
#show_box{
	position: absolute;
	z-index: 100;
	top: 10%;
	left: 20%;
	background-color: #fff;
	padding: 10px;
	border: 2px solid #c5c5c5;
}
#show_box span{
	color: #b5b5b5;
	font-size: 0.9em;
	display: block;
	text-align: right;
	margin-bottom: 5px;
}
.table_form tr td{
	vertical-align: top;
	font-size:100%;
	padding:2px;
	vertical-align:top;
}
.table_form input.submit{
	margin: 10px 0;
}
.table_form .lc{
	width: 100px;
}
.rubriks_box label{
	color: #474747;
	font-weight: normal;
}
#error_box{
	position: fixed;
	top: 40%;
	left: 10%;
	border: 2px solid #d24a05;
	padding: 20px 20px 20px 100px;
	font-size: 110%;
	background: #fff url('image/error.png') no-repeat 20px 20px;
	width: 500px;
	min-height: 60px;
	z-index: 20;
}
#error_box b{
	color: #d24a05;
}
#error_box em{
	display: block;
	text-align: right;
	margin-top: 7px;
	font-style: normal;
	font-weight: bold;
}
#message_box{
	position: fixed;
	top: 40%;
	left: 35%;
	border: 2px solid #7b83b4;
	padding: 30px 20px 10px 130px;
	font-size: 110%;
	background: #fff url('image/message.png') no-repeat 20px 20px;
	width: 400px;
	min-height: 60px;
	z-index: 20;
}
#message_box em{
	display: block;
	text-align: right;
	margin-top: 20px;
	font-style: normal;
	font-weight: bold;
	font-size: 90%;
}
.result{
	border-collapse: collapse;
	width: 400px;
}
.result td{
	text-align: center;
	border: 1px solid #7b83b4;
	padding: 2px 5px;
}
.result th{
	text-align: center;
	font-weight: bold;
	background-color: #353d62;
	color: #fff;
	padding: 2px 5px;
	border: 1px solid #7b83b4;
}
.result .seltd td{
	background-color: #c5c5c5;
}
.result .boldtd{
	font-weight: bold;	
}
ol{
  margin: 10px 0 10px 15px;
  list-style-position: inside;
}
.kod{
  border-collapse: collapse;
  margin: 10px;
  width: 90%;
}
.kod tr{
    vertical-align: top;
}
.kod td{
  padding: 5px 10px;
  border: 1px dashed #c5c5c5;
}
.kod textarea{
  height: 70px;
  border: none;
  width: 98%;
}
#ins_kod{
  background: #fff url(image/box.jpg) no-repeat left;
  border: 1px solid #353d62;
  position: absolute;
  z-index: 3;
  width:220px;
  height: 100px;
  padding: 5px;
  top: 0;
  left: 220px;
  text-align: right;
}
#ins_kod div{
  width: 100%;
}
#ins_kod textarea{
  text-align: left;
  height: 80px;
  width: 100%;
  border: none;
  background-color: transparent;
}
#add_ban #ins_kod a{
  margin: 0;
  padding: 0;
  width: auto;
  float: none;
  color: #d24a05;
}
#a_sol{
  display: block;
  width: 134px;
  height: 132px;
  float: right;
  background: url(image/sol.png) no-repeat center;
  margin-right: -10px;
}
#a_dizy{
  display: block;
  width: 137px;
  height: 150px;
  float: left;
  background: url(image/dizy.png) no-repeat bottom;
  margin-left: -10px;
}
#spisok_slony{
	position: absolute;
	z-index: 50;
	background-color: #fff;
	padding: 10px;
	border: 2px solid #c5c5c5;
}
