/* Обнуление отступов, полей и границ */
html, body, #title, h1, #content, #main, #menu, #menu h2, #menu ul, #menu ul li
{ padding:0; margin:0; border:0; }

/* */
html { width:100%; height:100%; background:url(../images/logotext.jpg) left top repeat-x; }
body { background:url(../images/logo_.jpg) left top no-repeat; font:12px Tahoma, Sans-Serif;
		width:100%; min-width:900px; min-height:100%; position:relative; }
*html body { height:100%;}

#title { width:100%; height:123px; color:#7C0900; padding:20px 0 0; margin:0; }
#title h1 { width:650px; color:#fff; font-size:24px; margin:0 20px 0 310px; color:#022A67; }

#content { padding-bottom:80px; }
*html #content { width:1100px; }
#main { overflow: hidden; vertical-align:top; /*width:650px;*/ border-top: 1px solid white;}
*html #main { margin-left:290px; overflow-x: auto; overflow-y: hidden;}


/* Оформление меню */
#menu { float:left; width:235px; font-size:110%; font-weight:700; margin:70px 45px 10px 30px; padding-left:5px;  background:url(../images/line.jpg) white left repeat-y;}
*html #menu { margin-left: 15px; margin-top:70px; } 
#menu h2 { font-size:12px; height:25px; text-decoration:none;  margin:0px 0 0 20px; background:none; color:#000; }
#menu ul { margin:20px 0 0 0px; padding:0; font-size:10pt; list-style-type:none; }
#menu li { color:#84797B;  margin:0 0 0 0px; padding:0; }
#menu li a { display:block; background:url(../images/menub.jpg) #EFF8FF left top repeat-x; 
		margin:0; color:#203A60; padding:4px 5px; padding-left:15px;text-decoration:none;font-weight:700;}
*html #menu li a { height:1px; padding:6px; }
#menu li a:hover { text-decoration:underline; }
#menu img { margin:0 0 50px 50px; }

/* Оформление логотип в левом верхнем меню */
/*#logo { position:absolute; left:0; top:0; height:133px; width:395px; background:url(../images/logo_.jpg) left top no-repeat; }
#logo img { border:0; }
#logoa { position:absolute; left:0; top:133px; height:79px; width:277px; background:url(../images/logo_.jpg) left bottom no-repeat;}
#logoa img { border:0; }*/

/*  */
#bottom {background:url(../images/bottom_bg.jpg) #C1DBFF left top repeat-x; color:#fff; font-size:10px;
		position:absolute; bottom:0; left:0; right:0; height:35px; width:100%; padding:5px 0 0 0; }
#bottomlogo { background:url(../images/logodlc.gif) #FFF left bottom no-repeat; 
			position:absolute; bottom:0; left:0; height:80px; width:80px; margin-left:280px; }

#bottom a { margin:0 20px 0px 375px; color:#000; vertical-align:center; font-weight:bold;  text-decoration:none; white-space: nowrap; display: block;}
#bottom a:hover { text-decoration:underline; }

#bottom a.cms { color:#000; font-weight:normal; line-height:20px; padding-left:8px; font-size:10px; }

#rambler { position:absolute; bottom:0; left:0; height:35px; width:90px; margin-left:60px; vertical-align:top; }

/* форма поиска */
#search, .search_form { background:#EFF8FF; padding:7px 5px; margin:10px 0 0 0; height:22px; }
*html #search, *html .search_form { padding:9px 5px 2px 5px; height:18px; }
#search #query, .search_form .query { float:left; border:solid #ccc 1px; font-size:13px; height:18px; padding:1px 1px 0px 1px; margin:0;  }
#search #sch_btn, .search_form .sch_btn { float:left; background:#ddd; border:solid #ccc 1px; font-size:12px; 
		font-weight:bold; /*height:14px;*/ font-family:arial; padding:0 5px 2px 5px; margin:0 0 0 7px;  }
*html #search #sch_btn, *html .search_form .sch_btn  { padding:0 2px 1px 2px; }

#emblema { background:#fff; padding:10px 10px; margin:10px 0; text-align:left; } 
#emblema img { margin:0 0 0 20px; }

#clear {clear:both; padding-bottom:30px; }
*html #clear {padding-bottom:0px;}
/* позиционирование фотогалереи, убирает глюк проваливания под блок меню в ie */
/**html table.images { position:absolute; top:170px; left:295px; }*/
/* выравнивание подписей фотогалереи */
/*table.images td p { position:relative; top:-18px; }*/
table.images { margin: 0; border:0; border-collapse:collapse; }
table.images td p { position:relative; top:0px; margin: 3px 0 5px 0; border:0; border-collapse:collapse; }
table.images td { border:0; border-collapse:collapse; }

/* Верхнее меню */
#menu_top {font-weight: bold;}
#menu_top a {color: black; text-decoration: none;}
#menu_top ul {margin: 0px; padding: 0px; border-collapse: separate; width: auto; list-style-type: none; font-size: 0px;}
#menu_top li {text-align: center; background: url(../images/7.jpg); margin: 8px; padding: 6px 19px 6px 18px; width: auto; white-space: nowrap;
 margin: 2px 0 0 2px; font-weight: bold; display: inline-block; font-size: 12px;}
#menu_top li.active>a, #menu li.active>a { color: #555555; }
*html #menu_top li {float: left;}


.searchword {background-color: yellow;}

#gallery { float:left; /*clear:right;*/ border-top:solid #fff 1px; }
*html #gallery { float:left; padding:10px 0; width:650px; overflow-x: auto; overflow-y: hidden;  }

.text .YMaps-b-balloon-wrap table {margin: 0px}
#update-time {/*position: absolute; left: 10px; bottom: 50px;*/ text-align:right; font-size: 11px; color: gray;}
*:first-child+html #search #sch_btn, *:first-child+html .search_form .sch_btn { padding:0 2px 1px 2px; }
*:first-child+html #clear { padding-bottom:80px; }