html {overflow: auto; min-height: 100%;}
body {margin: 0; padding: 0; font-family: Verdana, Arial, Helvetica, sans-serif; color: #000; font-size: 12px; min-height: 100%; background: #f5f5f5 url(/img/bg.jpg) top repeat-y;}
img {border: 0;}
h2{font-size: 16px; color: #074D83; line-height: 25px; font-style: italic;}
.clear {clear: both; overflow: hidden; font-size: 0; height: 0;}
ul li {line-height: 2;}


#container {width: 1000px; margin: 0 auto; background: #fff;}
#header {height: 520px; background: url(/img/header_1.jpg) no-repeat; overflow: hidden;}
#logo {width: 509px; height: 28px; margin: 13px auto 0; display: block; background: url(/*/img/logo.png);*/}
#logo_new {width:150px; height: 150px; position: absolute; margin-left: 862px; margin-top: -35px;} 


#menu_top {margin: 0 0 0 8px; width: 254px; height: 31px; background: url(/img/menu_top.png);}
#menu_bottom {margin: 0 0 0 8px; width: 254px; height: 31px; background: url(/img/menu_bottom.png);}
#menu {margin: 0 0 0 8px; width: 230px; padding: 0 14px 0 12px; background: url(/img/menu.png);}
#menu a {display: block; padding: 7px 10px; line-height: 22px; font-size: 14px; color: #074d83; font-weight: bold; text-decoration: none;}
#menu a:hover, #menu .selected, #menu .selected_hover {background: linear-gradient(to left, #315fab, #427fc8, #315fab); color: #fff;}
#menu ul
{
        z-index: 99;
  	padding: 0; 
	margin: 0; 
	list-style: none;
}
#menu ul li
{
	padding: 0; 
	margin: 0; 
	list-style: none;
	position: relative;
}
#menu ul li .tm_sub_menu
{
	display: none;
	background: #315fab;
	position: absolute;
	left: 100%;
	top: 0;
	width: 100%;
}
#menu ul li .tm_sub_menu span
{
	color: #fff;
	font: bold 14px 'Verdana' !important;
	padding: 5px 0;
}
#menu ul li .tm_sub_menu a
{
	color: #fff;
}
#left {width: 270px; float: left;}
#right {width: 220px; float: right; margin: 0 0 0 10px;}
#content {overflow: auto; margin: 0 20px 0 0;}

#footer {background: #305fa9; height: 60px; margin: 15px 0 0; color: #fff; line-height: 13px; font-size: 10px; padding: 0 20px;}
#footerleft {float: left; margin: 13px 0 0;}
#footerright {float: right; margin: 17px 0 0;}
#footerright  span {display: inline-block; vertical-align: top; margin: 0 0 0 5px;}
#footerright  span a {text-decoration: underline; color: #fff;}

.main_header {font-size: 18px; color: #074d83; line-height: 25px; font-style: italic; margin: 5px 0 5px;}
.main_text {}

.news_head {width: 198px; height: 30px; background: url(/img/news_head.png); margin: 30px 0 0;}
.news_body {width: 169px; padding: 10px; border: 5px solid #ebedef;}
.n_date {display: block; font-size: 10px; font-weight: bold; color: #2f4aaf; margin: 20px 0 0; text-decoration: underline;}
.n_date:first-child {margin: 0;}
.n_link {font-size: 10px; color: #111111; text-decoration: none;}
.n_all_n {display: block; text-align: right; margin: 10px 0 0;}
.n_all_n a {font-size: 10px; color: #2f4aaf; text-decoration: underline;}

.n_date1 {display: block; margin: 10px 0 10px 40px; font-size: 12px; font-weight: bold; color: #074d83;}
.n_link1 {font-size: 14px; color: #000; text-decoration: none;}


div.scont{width:100%;}
div.scont a{color:#004f7c;text-decoration:underline;}
div.scont a:hover{color:#004f7c;text-decoration:none;}

div.counter{font-weight:bold;font-size: 12px;display:table;}
div.counter div.side_num{text-align:center;width:19px;height:19px;border:1px solid #9a9a9a;float:left;color:#003366;margin-right:10px;margin-bottom:4px;}
div.counter div.p{text-align:center;background:#ecebeb;color:#000;width:19px;height:19px;border:1px solid #9a9a9a;float:left;margin-right:10px;margin-bottom:4px;}
div.counter a{color:#000;}


.galery_photo { 
display: inline-block;
margin:2px 20px 10px 20px;
vertical-align: top;
width: 179px;;
}

div.main_text h3 {font: 700 14px "Verdana";color:#074d83;}

.tbl_mng {border-collapse: collapse;}
.tbl_mng td {padding: 5px; text-align: center;}


#top_menu {margin: 375px 0 0 0; text-align: center; padding: 5px 0 11px; background: #315998;}
#top_menu a {text-decoration: none; font-size: 18px; font-weight: bold; font-family: Arial; color: #fff; padding: 0 15px; line-height: 34px; display: inline-block;}
#top_menu a:hover, #top_menu a.active {color: #315997; background: #fff;}
#amo {background: url(/img/amo.png); width: 778px; height: 56px; margin: 0 auto;}



#view_link {
width: 984px;
margin: 0 auto;
position: relative;
}

#view_link a {
position: absolute;
/*right: 115px;*/
/*top: 382px;*/
/*left: 459px;*/
top: 5px;
left: 370px;
background: url('/img/images/link_view.png') no-repeat left;
padding: 0 0 0 27px;
font-size: 16px;
line-height: 16px;
font-family: Arial;
color: #074d83;
font-weight: bold;
}

/*#view_link a:hover {
/*right: 115px; */
top: 10px; 
background: url('/img/images/link_view_a.png') no-repeat left; 
padding: 0 0 0 48px; 
font-size: 11px; 
line-height: 25px; 
font-family: Arial; 
color: #927f68; 
text-decoration: underline;
}*/




#calendar2 {
  width: 100%;
  font: monospace;
  line-height: 1.2em;
  font-size: 15px;
  text-align: center;
}
#calendar2 thead tr:last-child {
  font-size: small;
  color: rgb(85, 85, 85);
}
#calendar2 thead tr:nth-child(1) td:nth-child(2) {
  color: rgb(50, 50, 50);
}
#calendar2 thead tr:nth-child(1) td:nth-child(1):hover, #calendar2 thead tr:nth-child(1) td:nth-child(3):hover {
  cursor: pointer;
}
#calendar2 tbody td {
  color: rgb(44, 86, 122);
}
#calendar2 tbody td:nth-child(n+6), #calendar2 .holiday {
  color: rgb(231, 140, 92);
}
#calendar2 tbody td.today {
  background: rgb(220, 0, 0);
  color: #fff;
}

.ask {
	margin: 0 0 20px;
	padding: 20px;
	border: 2px solid #ececee;
}

.ans {
	padding: 0 20px 20px;
}

.ask .name,
.ans .name {
	font: 900 12px Verdana;
	color: #315997;
}

.ask .date,
.ans .date {
	margin: 0 0 15px;
}

.my_text {
	width: 300px;
	height: 41px;
	margin: 0 0 5px;
	padding: 0 17px;
	font: 12px Verdana;
	border: 2px solid #ececee;
}

.my_textarea {
	width: 300px;
	height: 126px;
	margin: 0 0 12px;
	padding: 17px;
	font: 12px Verdana;
	border: 2px solid #ececee;
	resize: none;
}

.my_check_block {
	padding: 0 0 8px;
	font: 10px/10px Verdana;
}

.my_check {
	margin: 0 10px 0 0;
	vertical-align: middle;
}

.my_check + span {
	display: inline-block;
	vertical-align: middle;
}

.fields_checked {
	font: 10px Verdana;
}

.send {
	width: 156px;
	height: 39px;
	margin: 18px 0 0;
	background: #2f5fa9;
	font: 14px Verdana;
	color: #fff;
	border: 0;
	border-radius: 8px;
	outline: none;
	cursor: pointer;
}
.pdf {
    text-indent: inherit;
    font-size: 12px;
    line-height: px;
    color: #4C84C9;
    margin-bottom: 10px;
	position: relative;
	padding-left: 35px;
	display: block;
    font-weight: bold;
}

.pdf::before {
	content: '';
	background: url(/img/images/signature.png) no-repeat;
	width: 30px;
	height: 30px;
	position: absolute;
        left: 0;
        top: -5;
        
}

