@media print {
	.no_print {
	display:none;
	}
	.print {
	display:block;
	}

#main {
    padding: 0px 0px 0 0px;
 
}
p.small{
			font-size: 8px;
		}
			
body {
  	/*height: 29.6cm;*/
    width: 21cm;
    font: normal 90% Arial;
    line-height: 1;
    
    background: #ffffff url('/i/bg_grid.png');
    min-width: 21cm;
	}
 	@page{
    margin: 1cm 1cm 1cm 1cm;
    }
}


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a,
abbr, acronym, address, big, cite, code,del,
dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,dl, dt, dd, ol, ul, li,fieldset,
form, label, legend, caption {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}


h1{
margin-bottom: 10px;	
}


table,td {
    border-collapse: collapse;
    border-spacing: 0;
}

p {
	margin: 5px;
	
}


p a{
	/*border-bottom: 1px dashed;*/
	text-decoration: underline; 
}
p .error{
	color: red;
	font-weight: bold;
}

table.normal td{
	border-spacing: 10px;
	padding: 3px;
	border-style:solid;
	border-width:1px;
	border-color: #534640;
}

table.no_padding td{
	border-spacing: 0px;
	padding: 0px;
	margin:0px;
	/*border-style:solid;
	border-width:0.025cm;
	border-color: #a0a0a0;*/
} 

div{ position: relative; }

div .ramka{
	background: #fff8cf;
	border-color:  #C6B2A0;
	border-style:solid;
	border-width:1px;
	margin: 5px;
}


html{
    width: 100%;
    height: 100%; 
}

body {
	height: 100%;
    width: 100%;
    font: normal 90% Arial;
    line-height: 1;
    
    background: #e3e3e3 url('/i/bg.png') 50% 0 repeat-y;
    position: relative;
    width: 100%;
    min-width: 1000px;
}

a{
	text-decoration: none;
}

.blank
{
	 margin: 0px 0px 0px 0px;	
}

.unactive
{
	color: #B0D0C0;
}

#main {
    padding: 0px 20px 0 20px;
    width: 966px;
    left: 50%;
    margin-left: -501px;
  background: white;
}

#main .hat{
 left: 50%;
  margin-left: -510px;
  
  width: 1020px;
}

#main .hat .first{
	background: #534640;
	width: 1020px;
	height: 63px;
}
#main .hat .first .img{
	margin-left: 20px;
	margin-top: 4px;
}
	
#main .hat .second{
	background: #6f6357;
	width: 1020px;
	height: 8px;
}

#main .header{
	margin-top: 16px;
	color: #534640;
}

#main .header .space{
	width: 30px;
	background: #ffffff;
}

#slide {
	height: 2px;
	background: #ffffff;
}

td.bottom{
	padding: 3px 0px 0px 0px;
}


#main .header .middle {
	height: 3px;
	background: #534640;
}


#item1:hover > #slide {
	
	background: #534640;
}
	
#main .header a {
    color: #534640; /* Цвет обычной ссылки */ 
    text-decoration: none; /* Убираем подчеркивание у ссылок */
    
   }
#main .header   a:visited {
    color: #534640; /* Цвет посещённой ссылки */
   } 
#main .header   a:hover {
    color: #534640; /* Цвет ссылки при наведении на нее курсора мыши */  
    text-decoration: none; /* Добавляем подчеркивание */
    /*font-weight: bold;*/
    
   }
   
#main .main_picture{
	width: 966px;
	height: 365px;
	margin-top: 18px;
	
	text-align: left;
	
}
#main .main_picture td{
	vertical-align: top; 
}

/*======================== auth ========================*/

#auth .auth{
	margin: 20px;
	margin-top: 20px;
	/*width: 164px;*/
	height: 169px;
	/*background: #959386*/
}
#auth a
{
	color: white;
}
#auth .top{
	width: 160px;
	height: 10px;
	background: url('../i/r-60.png')  repeat;
	background: #9d9e95;
}

#auth .middle{
	height: 149px;
	min-width: 200px;
	background: url('../i/r-60.png')  repeat;
	padding: 15px 20px 5px 20px;
	font-weight: bold;
	background: #9d9e95;
	color: white;
}

#auth p{
	font-size: 10.5px;
	margin-top: 8px;
	font-weight: 600;
	font-stretch: extra-expanded;
}

#auth p.regular{
	margin-top: 3px;
	}

#auth .head{
	font-size: 13px;
	margin-top: 0px;
}

#auth input{
	background: url('../i/bg-input.png')  repeat-x;
	font-size: 10px;
	font-family: arial;
	/*font-weight: bold;*/
	color: #6d7d7d;
}


#auth .bottom{
	
	
/*background: url('../i/r-60.png')  repeat;*/
	background: #9d9e95;

}

/*======================== right_panel ========================*/
.two {
	position: absolute;
}

.right_panel .main{
	margin-right: 20px;
	margin-left: auto;
	margin-top: 20px;
	width: 322px;*/
	
	/*background: #959386*/
	
}


#right_top_panel {
	min-height: 320px;
}

.right_panel .top{
	
	height: 10px;
	background: url('../i/r-50.png')  repeat;
	
}

.right_panel .middle{
	height: 149px;
	background: url('../i/r-50.png')  repeat;
	padding: 15px 20px 0px 20px;
	font-weight: bold;
	
	color: white;
}

.right_panel .content
{
	margin-top: -25px;
	margin-bottom: 0px;
	min-height: 310px;
	width: 280px;
}

.right_panel .content td
{
	padding: 5px;
	padding-left: 5px;
	padding-right: 0px;
	text-align: justify;
	
}

.right_panel .content table
{
	margin-bottom: 15px;
}

.right_panel .main .content .submit
{
	text-align: right;
	margin-bottom: 20px;
	
}

.right_panel .content .submit input
{
	font-size: 11px;
}

.right_panel table input{
	background: url('../i/bg-input1.png');
	background-size: 100% 100%;
	font-size: 13px;
	font-family: arial;
	font-weight: bold;
	color: #6d7d7d;
	padding-left: 5px;
	border: none;
	margin-top: -4px;
	margin-left: 0px;
	height: 22px;
}

.right_panel select{
	background: url('../i/bg-input1.png');
	background-size: 100% 100%;
	font-size: 13px;
	font-family: arial;
	font-weight: bold;
	color: #6d7d7d;
	padding-left: 3px;
	position: relative;
	top: -1px;
	border: none;
	height: 22px;
}


	
.right_panel .head{
	
	background: url('../i/rtp_head.png')  repeat-y;
	font-size: 12px;
	margin-top: 0px;
	text-align: center;
	margin-bottom: 25px;
	}
	
	
.right_panel .head td{
	padding-top: 9px;
	text-align: center;
	}
	
#right_top_panel label{
	font-weight: normal;
	font-size: 13px;
	}
	
#right_bottom_panel label{
	font-weight: normal;
	font-size: 13px;
	}	
	
#rtp_find_result
{
	text-align: center;
	margin-bottom: 5px;
	min-height: 5px;
}

#rtp_dop_button
{
	text-align: center;
	margin-bottom: 5px;
	
}

#rtp_dop_button input
{
	font-size: 10px;
}

.right_panel .bottom{
	
background: url('../i/r-50.png')  repeat;
}




#right_bottom_panel .content
{
	color: black;
}


#right_bottom_panel p.head1
{
	text-align: center;
	font-size: 11px;
}

.down_panel td{
	vertical-align: top;
}
/*======================== one_b ========================*/
.one_b:hover
{
	background: #f1f3f2;
}

table.one_b
{
	margin-bottom: 3px;
}

.one_b a
{
	text-decoration: none;
	color:black;
	font-weight: bold;
	
}

.one_b p
{
	font-size: 13px;
	margin: 2px;
}

td.one_b
{
	padding-top: 4px;
	padding-left: 8px;
	width: 435px;
}

.one_b .active
{
	color:black;
}

.one_b .unactive
{
	color:gray;
}

img.img_bur_prev
{
	max-width: 120px;
	max-height: 90px;
}

/*======================== result form========================*/
.down_panel
{
	min-height: 550px;
}

/*======================== boxes ========================*/

#main .boxes td{
height: 208px;
	width: 240px;
}

#main .boxes .box1{
	background: #847465;
	
}

#main .boxes .box2{
	background: #7d8f8f;
	
}

#main .boxes .box3{
	background: #e2d8b5;
	
}

a.box_link{

	text-decoration: none;
	
	color: white;
}

#main .boxes .box3 a{
	color: black;
}

#box{
	height: 148px;
	width: 220px;
	padding: 50px 5px 10px 5px;
	
	 
}

#box p{
	font-size: 12px;
	font-family: arial;
	text-align: center;
	 line-height: 1.3;
}

#box h2{
	font-size: 14px;
	margin-top: 10px;
	margin-bottom: 20px;
	text-align: center;
}

#box .icon{
	position: absolute;
	left: 96px;
	top: -14px;
	width: 46px;
}

 
#main .boxes .box1:hover{
	background: #897869;
}

/*======================== tree ========================*/

#tree{
	padding: 60px 0px 0px 0px;
}

#tree .ground{
	width: 1000px;;
	margin-left: -20px;
	height: 15px;
	background: #6f6357;
}


/*======================== down_td ========================*/
#main .down_td{
	width: 191px;
	height: 300px;
	
	vertical-align: bottom;
	 
}

#main .down_td .down_overtext{
	
	width: 189px;
	height: 240px;
	position: absolute;
	top: 	0px;
	left: 0px;
	
	
	
}

#main .down_overtext_td{
	width: 189px;
	height: 240px;
	vertical-align: bottom;
}

#main .kubik{
	text-align: center;
	width: 177px;
	
	background: #6d7d7d;
	padding: 16px 5px 10px 8px;
}

#main .kubik p{
	font-size: 11px;
	color: white;
	line-height: 1.1;
	margin-top: 4px;
}

#main .kubik a{
	color: white;
}

#main .kubik h2{
	font-size: 12px;
	color: white;
	margin-top: 8px;
	margin-bottom: 8px;
}

#kubik_content{
display:none;
text-align: left;
}

#main .kubik:hover > #kubik_content{
	
display:block;
	}
	

#body h2{
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 9px;
	margin-top: 15px;
}

#body h3{
	font-size: 13px;
	font-weight: bold;
	margin-bottom: 6px;
}

#body p.subtext
{
	font-size: 8px;
}
/*======================== body ========================*/
#body
{
	min-height: 300px;
}

#body h1{
	font-size: 16px;
	font-weight: bold;
}

#body p{
	font-size: 12px;
	margin-top: 4px;
	margin-left: 10px;
}

#body a{
	/*color: #534640;*/
	color: black;
	/*font-weight: bold;*/
}
/*======================== check_burial_form ========================*/
.check_burial_form_result{
	font-size: 11px;
	background: #d0d0d0;
	padding: 6px;
}

.down_right_link{
	text-align: right;
	text-decoration: underline;
}





table.regular{
	border-collapse: collapse; 
	text-align: center;
	font-family: "Trebuchet MS", Tahoma, Verdana;
   
}

table.regular td{
	
	border: 1px solid #787878;
	font-size: 10pt;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 1px;
	padding-bottom: 1px;
}


table.regular tr:hover
{
	background-color: #C4C4C4
}

img.burial_img
{
	width: 228px;
}

.vertical{
	-moz-transform: rotate(90deg);
   
    -o-transform: rotate(90deg);
    writing-mode: tb-rl;
}

.rotate_1
   {
    -webkit-transform: rotate(90deg); /* Chrome y Safari */
	-moz-transform: rotate(90deg); /* Firefox */
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); /* Internet Explorer */
	-o-transform: rotate(90deg); /* Opera */
   }
   
   .rotate_2
   {
    -webkit-transform: rotate(-180deg); /* Chrome y Safari */
	-moz-transform: rotate(-180deg); /* Firefox */
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); /* Internet Explorer */
	-o-transform: rotate(-180deg); /* Opera */
   }
   
      .rotate_3
   {
    -webkit-transform: rotate(-90deg); /* Chrome y Safari */
	-moz-transform: rotate(-90deg); /* Firefox */
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); /* Internet Explorer */
	-o-transform: rotate(-90deg); /* Opera */
   }

	  .main_bg {
		  background: #9d9e95;
		  border-radius: 0 12px 0 12px;
	  }