/* Обнуление отступов, полей и границ */
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.gif) left top repeat-x; }
body { background:url(../images/f.gif) left bottom repeat-x; font:10pt 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 { color:#fff; font-size:24px; margin:0 20px 0 370px; }

#content { padding-bottom:80px; }
*html #content { width:1000px; }
#main { margin-left:290px; vertical-align:top; padding-right: 30px; /*width:650px;*/}
*html #main {overflow-x: auto; overflow-y: hidden;}


/* Оформление меню */
#menu { float:left; width:235px; font-size:110%; font-weight:700; margin:60px 45px 10px 10px; }
#menu h2 { font-size:12px; height:25px; text-decoration:none;  margin:0px 0 0 20px; background:none; color:#7C0900; }
#menu ul { margin:20px 0 0 0; padding:0; font-size:10pt; list-style-type:none; }
#menu li { color:#84797B;  margin:0; padding:0; }
#menu li a { display:block; background:url(../images/button2.gif) #F2F2F2 left top repeat-x; 
		margin:0; color:#000; 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:123px; width:355px; }
#logo img { border:0; }
#logoa { position:absolute; left:0; top:122px; height:76px; width:277px; }
#logoa img { border:0; }

/*  */
#bottom { background:url(../images/f.gif) #1E98CF left bottom repeat-x; color:#fff; font-size:70%;
		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 span { margin:0 20px 0 375px; color:#fff; vertical-align:center; font-weight:bold;  text-decoration:none; white-space: nowrap; display: block; white-space: nowrap;}
#bottom a:hover { text-decoration:underline; }
#bottom .cms {padding-left:8px; }
#bottom .cms a { color:#fff; font-weight:normal; font-size:10px; }
/*#bottom a { margin:0 20px 0px 375px; color:#fff; vertical-align:center; font-weight:bold;  text-decoration:none; white-space: nowrap; display: block; white-space: nowrap;}
#bottom a:hover { text-decoration:underline; }
#bottom a.cms { color:#fff; 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:#F2F2F2; 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 0px; margin:10px 0; text-align:left; } 
#emblema img { margin:0 0 0 20px; }

#clear {clear:both; padding-bottom:30px;}
/* позиционирование фотогалереи, убирает глюк проваливания под блок меню в 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 {position: relative; left: -20px; top: -12px; font-weight: bold;}
#menu_top a {color: black; text-decoration: none;}
#menu_top ul {list-style-type: none; margin: 0px; padding: 0px;}
*html #menu_top ul li {display: inline;}
#menu_top ul {font-size: 0px;}
#menu_top ul li {font-size: 13px;}
#menu_top ul li {display: inline-block; text-align: center; background: url(../images/7.jpg);  margin-top: 2px; margin-right: 2px;
    padding: 6px 19px 6px 18px; white-space: nowrap;}
#menu_top li.active>a, #menu li.active>a { color: #555555; }
.searchword {background-color: yellow;}

#gallery { float:left; /*clear:right;*/ border-top:solid #fff 1px; }
*html #gallery { float:left; padding:10px 0; overflow-x: hidden; overflow-y: hidden; width: auto}
#update-time {/*position: absolute; bottom: 45px; left: 10px;*/ 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; }
#main {border-top: 1px solid white;}

.__blind__ {
	margin-top: 45px;
}