body {background: #fae2b8; margin:0; padding:0;}
body, table tr td {font: 14px Georgia, Garamond, "Times New Roman", Times, Serif; color:black; line-height: 140%;}
p {margin-top:1em; margin-bottom:0.5em;}
h1 {font-size:29px; font-weight:normal; color:#660000; line-height: 100%; background: #fae2b8 url("./img/h1_bg.gif") bottom left no-repeat; margin:-10px 0 20px 0; padding: 20px 0 20px 40px;}
h2 {font-size:18px; font-weight:normal; line-height: 100%; margin: 2em 0 1em 0;}
h3 {font-size:16px; line-height: 100%; margin: 0;}
ul, ol {margin-top:0.5em; margin-bottom:0.5em;}
img {border:0;}
a:link, a:visited {color:#FF0000; text-decoration: underline;}
a:hover {color:#FF0000; text-decoration: none;}
form {margin:0; padding:0;}
select {font: 12px Georgia, Garamond, "Times New Roman", Times, Serif; color:black;}

table.body {background: #fae2b8 url("./img/body_bg.gif") center right repeat-y;}
table.body td.header {background: #e7bf8c; background:url("./img/head_bg.gif") top left repeat-x;}
table.body div.topline {background: url("./img/topline.gif");}
table.body div.logo {position:relative; margin-top: -210px; top:24px;}

table.body td.content {padding:40px 10px 120px 10px; background: url("./img/content_bg.gif") bottom right repeat-x;}
.page_navigation a:link, .page_navigation a:visited, .page_navigation a:active {background:#e7bf8c;; padding:0px 6px 2px; border: solid 1px #993300;}
.page_navigation b {padding:0px 6px 2px; border: solid 1px #993300;}
div.up {font-size: 12px; background: #fae2b8 url("./img/up.gif") center right no-repeat; padding:20px;}

div.footline {background: url("./img/footline.gif");}
div.footer {background: #e7bf8c; color: #333333; font-size:11px; text-align:center; padding:4px;}
a:link.admin, a:visited.admin{text-decoration: none; color:#333333;}
a:link.golovko, a:visited.golovko{text-decoration: none; cursor:default; color:#333333;}

/* МЕНЮ */
table.body td.menu {padding-left:10px;}
table.body td.div {background: url("./img/div_bg.gif") repeat-y;}
div.menu { font: 16px Georgia, Garamond, "Times New Roman", Times, Serif;}
div.menu a {display:block; border-bottom:1px solid #e7bf8c; width:100%; padding:10px 0;}
div.menu a:link, div.menu a:visited {color:#990000; text-decoration: none; background: #fae2b8 url("./img/menu_item.gif") center right no-repeat;}
div.menu a:hover {color:#990000; font-weight: bold; text-decoration: none; background: #e7bf8c url("./img/menu_item_hover.gif") right center no-repeat;}
div.menu a:link.active, div.menu a:visited.active {color:#006600; font-weight: bold; background:#fae2b8;  border-bottom:1px solid #e7bf8c; padding:10px 0;}

/* Главная страница */
table.body td.index {background: #fae2b8 url("./img/index_bg.gif") center left repeat-y; padding-right:10px;}
table.body td.div2 {background: url("./img/div_bg2.gif") repeat-y;}
div.welcome {padding: 0 0 1em 0; border-bottom:1px solid #e7bf8c; margin-bottom:0.5em;}

/* Календарь */
div.calendar {padding-bottom:10px; border-bottom:1px solid #e7bf8c;}
table.calendar {background:#fae2b8; margin-top:10px;}
table.calendar td {border: 1px solid #e7bf8c; text-align:center; width:20px;}
table.calendar th {font-size: 12px; background:#993300; color:white;}
table.calendar th.nav {font-size: 12px; color:white; cursor:pointer;}
table.calendar tr.week th {font-size: 11px;}
table.calendar tr.week th.end {color: #FFFF00;}
table.calendar td a {display:block; width:100%;}
table.calendar td a:link, table.calendar td a:visited {text-decoration: none; background-color: #fae2b8;}
table.calendar td a:hover {color:white; text-decoration: none; background-color:#993300 ;}

/* Новости на главной */
div.index_news {padding:10px 0 10px 0; border-bottom:1px solid #e7bf8c; margin-bottom:10px;}
div.index_news img{margin-right: 10px; }
div.index_news div.date {color:#993300; font-size:11px;}

/* Новости */
div.news_note {font-size:12px; color:#660000; margin: -10px 0 20px 0;}
tr.news_item td {border-bottom:1px solid #e7bf8c; padding-top:20px;}
tr.news_item td div.date {color:#993300;}

/* Галерея */
img#gallery_foto {border:1px solid;}
div.gallery_preview {overflow:scroll; overflow-x:hidden; height:460px; width:220px;}
div.gallery_preview img {border:1px solid; cursor:pointer;}


/* Гостевая книга */
div.guestbook {border-bottom:1px solid #e7bf8c; padding:10px 0;}
div.guestbook table.signature td {color:#993300; font-size:11px;}
