/* Обнуление отступов, полей и границ */
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/f.jpg) 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:#065800; font-size:18pt; 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; /* position:absolute; left:0; top:130px;*/ width:235px; font-size:110%; font-weight:700; margin:70px 45px 10px 10px; }
#menu h2 { font-size:12px; text-decoration:none;  margin:0px 0 10px 20px; background:none; color:#065800; }
#menu ul { margin:10px 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:123px; height:76px; width:277px; }
#logoa img { border:0; }

/*  */
#bottom { background:url(../images/f.jpg) #E6C261 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.jpg) #FFF left bottom no-repeat; 
			position:absolute; bottom:0; left:0; height:80px; width:78px; 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; }

#rambler { position:absolute; bottom:1px; left:0; height:35px; width:90px; margin:0; padding:0; margin-left:60px; margin-top:20px; }

/* форма поиска */
#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 { 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 table {margin: 0px; padding: 0px; border-collapse: separate; width: auto}
#menu_top td {text-align: center; background: url(../images/7.jpg); margin: 8px; padding: 6px 19px 6px 18px; width: auto; white-space: nowrap;}
#menu_top td.active a, #menu li.active a { color: #555555; } */


#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); padding: 6px 19px 6px 18px; width: auto; white-space: nowrap;
 margin: 3px 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;}
.text { color: #000; font:12px Tahoma, Sans-Serif; overflow: hidden; /*width:650px;*/ }

#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;  }
#update-time {/*position: absolute; bottom: 50px; 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: 0px solid red; margin-left: 0px}

.__blind__ {
	margin-top: 45px;
}