  html, body {
	margin: 0;
	padding: 0;
	height: 100%;
  }

body {
	overflow-x: hidden;
    background: none repeat scroll 0 0 #f3f3f5;
    color: #505050;
    font: 13px Lato, Arial,Tahoma,sans-serif;
    padding: 0;
	min-height: 600px;
}

h2, h3, h4, h5{
    font: 14px Lato, Arial,Tahoma,sans-serif;
	margin-top: 0;

}

.container
{
	display: block;
	width: 1040px;
    margin: 0 auto;
	position: relative;
}

a
{
	color: #e0032c;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

p
{
	font-size: 16px;
}

.error_block
{
	background-color: #FEE; 
	font-size: 16px; 
	color: #633; 
	padding: 6px 14px; 
	margin-bottom: 10px;
}

.error_block a
{
	color: #558; 
}


.good_block
{
	background-color: #EFE; 
	font-size: 16px; 
	color: #363; 
	padding: 6px 14px; 
	margin-bottom: 10px;
}


/* ШАПКА */
header
{
	padding: 20px 5px;
	background-color: #171717;
	width: 100%; 
	height: 90px;
}

header .top_line
{
	margin-bottom: 18px;
	height: 20px;
	overflow: hidden;
}

header .top_line li
{
	display: inline;
	margin-right: 14px;
}

header .top_line li a
{
	color: #808080;
	text-decoration: none;
	font-size: 12px;
}

header .top_line_text
{
	margin-top: -2px; padding: 0 5px;
}

header .top_line li a:hover
{
	color: white;
	text-decoration: underline;
}

header .top_logo
{
	width: 356px;
	margin-top: -46px;
	color: #BBB;
	font-size: 14px;
	position: absolute;
}


header .form_login
{
	display: block;
	float: right;
	width: 520px;
	color: black;
	padding: 14px 16px;
	margin-top: 0px;
	background: linear-gradient(rgb(250,250,250), rgb(210,210,210));
	border-radius: 5px;
	font-size: 14px;
	margin-right: 6px;
	position: absolute;
	top: 0px;
	right: 2px;
}

header .form_login input[type='text'], header .form_login input[type='password'], header .form_login input[type='email']
{
	background-color: transparent;
	border: 0;
	border-bottom: 1px solid #808080;
	color: black;
	width: 131px;
	font-size: 20px;
	padding: 5px;
}

header .form_login input[type='email']
{
	width: 254px;
}

header .form_login input[type='submit']
{
	border: 1px solid #666;
	background: linear-gradient(rgb(250,250,250), rgb(210,210,210));
	cursor: pointer;
	font-size: 16px;
	height: 34px;
	width: 86px;
	border-radius: 4px;

}

header .form_login a
{
	color: #666;
}

header .form_login_auth
{
	height: 72px; 
	width: 500px; 
	padding: 10px; 
	line-height: 1.4;
}

menu
{
	padding: 0px 5px;
	background-color: #444;
	width: 100%; 
	height: 40px;
	margin: 0;
}

menu a
{
	padding: 9px 20px;
	display: inline-block;
	color: white;
	font-size: 16px;
	border-left: 1px solid #666;
	border-right: 1px solid #666;

}

menu a:hover
{
	background-color: #333;
	text-decoration: none;
}

.all_button
{
	display:block; 
	background-color: #f5f5f5; 
	font-size: 17px; 
	padding: 8px; 
	text-align: center; 
	border-radius: 10px; 
	width: 950px;
}

.all_button:hover
{
	text-decoration:none;
	background-color: #e1e1e1; 
}

.form_style
{
	border-radius: 5px;
	font-size: 18px;
}



.form_style input, .form_style select
{
	background-color: transparent;
	border: 0;
	border: 1px solid #808080;
	color: black;
	width: 100%;
	font-size: 17px;
	padding: 5px 0 5px 5px;
}

.form_style input[type='submit']
{
	border: 1px solid #666;
	background: linear-gradient(rgb(250,250,250), rgb(210,210,210));
	cursor: pointer;
	font-size: 18px;
	height: 48px;
	border-radius: 4px;
	width: 250px;
	padding: 4px 10px;
}

.form_style input[type='submit']:hover
{
	background: linear-gradient(rgb(230,230,230), rgb(190,190,190));
}

.form_style td
{
	padding: 4px;
}

.extra
{
	font-size: 14px; 
	color: #666;
	padding: 5px 0;
}

/* РЕГИСТРАЦИЯ */
#form_reg 
{
	width: 700px;
}


/*
 ПОИСК
*/

.main_search
{
	display: block;
	text-align: center;
	margin: 0 0 26px 0;
	font-size: 20px;
}

.main_search input[type='submit']
{
	margin: 5px 8px 0 0;
	padding: 4px;
	cursor: pointer;
	font-size: 20px;
}

.main_search input[type='text']
{
	background-color: transparent;
	border: 0;
	border: 1px solid #808080;
	width: 450px;
	font-size: 18px;
	padding: 6px;
}


/* ЦЕНТР */
section 
{
}

section .content
{
	float: left;
	width: 980px;
	min-height: 700px;
	background-color: white;
	padding: 20px 30px 30px 30px;
	margin-top: 30px;
	margin-bottom: 30px;
}

section .content h2
{
	color: #171717;
	font-size: 23px;
	font-weight: bold;
	text-transform: uppercase;
}

section .content h2:first-letter
{
	color: #e0032c;
	font-size: 30px;

}

section .content h3
{
	font-size: 21px;
	font-weight: bold;
}


.person_block {
    float: left;
    border: 1px solid #F2F2F2;
    background-color: #f5f5f5;
    margin: 0 10px 14px 0px;
    padding: 0 5px 10px 5px;
    width: 456px;
    height: 132px;
	padding: 10px; 
    overflow-x: hidden;
	font-size: 16px;
	line-height: 1.5;
    /* border-radius: 5px; */
}

.person_block .pfio {
	font-weight: bold;
}

.person_block .pfio a {
	color: #505050;
	text-decoration:underline;
}

.person_block .pdolg
{
}

.person_block .pbranch
{
  font-style: italic;
  margin: 5px 0;
}

.person_block .pcreate
{
	margin-top: 5px;
}

.person_block .pcomp a {
	color: #505050;
}

/*section .content .bg
{
	padding: 30px 30px 20px 30px;
	background-color: white;
}


section .content.left table
{
	background-color: transparent;
	border-collapse: collapse;
}

section .content.left table td
{
	vertical-align: top;
}



section .content.left h2 span
{
	padding-bottom: 6px; 
	border-bottom: 1px solid #000;
	display: block;
	margin-bottom: 28px;
}
*/

section article
{
	margin: 0 0 47px 0;
	line-height: 1.3;
	clear: both;
}

section  .left article img
{
	margin: 10px 0 10px 0;
}

section  .left  img {border: 1px solid #CCC;}


section article h3
{
	margin: 0 0 5px 0;
}

section article h3 a
{
	color: #474d54 !important;
	font-size: 17px;
}

section article h3 a:hover
{
	color: black !important;
	text-decoration: none;
}

section article p
{
	color: #9399a0;
	font-size: 14px !important;
	line-height: 1.5 !important; 

}


/* ФУТЕР */
footer
{
	padding: 20px 5px;
	background-color: #171717;
	width: 100%; 
	height: 120px;
	color: #838383;
	font-size: 13px;
	line-height: 1.4;
}

footer .column_left
{
	width: 240px;
	float: left;
	margin-right: 20px;
}


footer .column_left div
{
	margin-top:10px;
}

footer .column_right
{
	width: 140px;
	float: right;
}

footer .column_right a
{
	color: #838383;
}

footer .column_right div
{
	margin-bottom: 20px;
}

footer .column_middle
{
	float: left;
	margin-left: 30px;
}

footer .column_middle a
{
	color: white;
}

footer table 
{
	background-color: #171717;
	color: #838383;
	
}

footer table td
{
	vertical-align: top;
}

footer ul
{
	padding: 0;
	margin: 0;
}

footer li
{
	padding-bottom: 8px;
	list-style-type: none;
}


#toTop {
	display:none;
	text-decoration:none;
	position:fixed;
	bottom:60px;
	right:15px;
	overflow:hidden;
	width:51px;
	height:51px;
	border:none;
	text-indent:100%;
	background:url(../img/ui.totop.png) no-repeat left top;
}

#toTopHover {
	background:url(../img/ui.totop.png) no-repeat left -51px;
	width:51px;
	height:51px;
	display:block;
	overflow:hidden;
	float:left;
	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);
}

#toTop:active, #toTop:focus {
	outline:none;
}

.table
{
	background-color: transparent;
	border-collapse: collapse;
	font-size: 15px;
	width: 100%;
}

.table td, .table th
{
	vertical-align: top;
	border: 1px solid #EEE;
	padding: 15px 6px;
	line-height: 1.6;
}

.table tr:hover
{
	background-color: #F7F7F7;
}

.table th
{
	background-color: #CFCFCF;
}

.promo_block
{
	width: 98%; padding: 13px; font-size: 15px;  border: 1px solid #fe7e8b; background-color: #fff9fa; margin-bottom: 25px;
}

.filter_branch
{
	font-size: 12px;
	line-height: 1.5;
	color: #999;
}

.filter_branch a
{
	font-size: 16px; 
	color: #666;
}