/* 
   Изначально не я писал этот код... но сейчас он уже и не сохранил ничего от прежнего.
*/

body {padding: 0 10px 0 10px; background: #71270c; margin: 0px; font-family: Arial, Times New Roman, Arial; font-size: 100%; color: #000000;}

h1 {font-size: 200%; font-weight: normal; color: #534e1c; margin: 17px 0 0 30px; padding: 0 0 20px 0; line-height: 24px;}
h2 {font-size: 160%; font-weight: normal; color: #800000; line-height: 20px;}
h3 {font-size: 110%; font-weight: normal; color: #71270c; line-height: 18px;}
h4 {font-size: 100%; color: #888365;}

td {color: #514e2a; font-size: 13px;}

a {color: #ffffff; text-decoration: underline;}
a:hover {color: #888365;}

table.layout {position: relative; background: url(../images/bg-bottom-right.jpg) bottom right no-repeat; background-color: #b2ae91; height: 100%; }
table.layout td.LeftColumn {position: relative; height: 100%; background: url(/images/bg-left-top.jpg) top right #ffffff no-repeat;}
table.layout td.MiddleColumn {position: relative; background-color: #ffffff; height: 100%;}
table.layout td.RightColumn {position: relative; background: url(../images/bg-top-right.jpg) top left no-repeat; height: 100%;}

table.MainContentBlock {border-collapse: collapse;}
table.MainContentBlock td.MainText {padding: 20px 60px 0px 100px; font-size: 13px; line-height: 18px;}
table.MainContentBlock td.MainText a {color: #71270c;}
table.MainContentBlock td.MainText a:hover {color: #000000;}

.bg-left-top {position: relative; z-index: 1;}
.bg-left-top .bg {position: absolute; z-index: 2; top: 0; right: -10px;}

/* Левое меню */
table.MenuClassLeft {position: relative; z-index: 2;}
table.MenuClassLeft {background: url(../images/menu_bg.jpg) no-repeat #ffffff; height: 250px;}
table.MenuClassLeft td.Menu {padding: 50px 0px 20px 88px; vertical-align: top;}

div.MenuSub {padding: 5px 20px 5px 150px; text-align: right; line-height: 20px;}
div.MenuSub img {margin: 0 2px 0 15px;}
div.MenuSub a {font-family: Arial; font-weight: bold; font-size: 12px;}
div.MenuSub a:hover {color: #71270c; text-decoration: underline;}
div.MenuSub a.selected {text-decoration: none; color: #666344;}

/* Меню номер 2 (верхнее), а почему ниже 3-го, спросите Вы? А вот так получилось ;) */
table.TopMenu {height: 35px;}
table.TopMenu td.MenuCell {padding: 0 18px 0 0; vertical-align: bottom;}

/* Новости */
div.News {padding: 15px 0 0 0; margin: 0;}
div.News div.NewsItem {padding: 0 0 15px 0; margin: 0; line-height: 18px;}
div.News div.NewsItem a {color: #514e2a;}
div.News div.NewsItem a:hover {color: #71270c;}
div.News div.NewsItem p {padding: 0; margin: 2px 0 2px 0;}
div.News div.Date {padding: 0; margin: 0; font-size: 10px; color: #888362;}
div.News h1 {font-family: Arial; font-size: 18px; font-weight: normal; padding: 0 0 10px 0; margin: 0;}

/* Календарь */
div.calendar {margin: 0; padding: 0;}
div.calendar ul.navigation {list-style-type: none; font-size: 100%; margin: 30px 10px 10px 0; padding: 0;}
div.calendar ul.navigation li {clear; margin-right: 15px; display: inline;}

/* Последние новости */
div.LatestNews {margin: 0px 20px 20px 25px;}
div.NewsHeadline {font-size: 15px; font-family: Tahoma; font-weight: bold; color: #71270c; padding: 0 0 10px 0;}
div.IndexNewsDate {font-size: 80%; color: Gray;}
div.LatestNews div.NewsItem {padding: 5px 0 15px 0;}
div.LatestNews div.NewsItem a {font-size: 11px; font-weight: normal; color: #888365;}
div.LatestNews div.NewsItem a:hover {color: #71270c;}

div.LatestNewsArchive {text-align: right;}
div.LatestNewsArchive a {font-size: 90%; font-weight: normal; color: #888365;}
div.LatestNewsArchive a:hover {color: #000000;}

/* Модуль СТАТЕЙ */
div.articlesitem {padding: 20px 0 0 0;}
div.articlesitem a {color: #ffffff;}
div.articlesitem a:hover {color: #71270c;}
div.articlesitem h1 {font-size: 160%; color: #706c44; font-weight: normal; padding: 0; margin: 0;}
div.articlesitem h2 {font-size: 140%; color: #706c44; font-weight: normal;}
div.articlesitem h3 {font-size: 100%; color: #706c44; font-weight: normal;}

/* КАЛЕНДАРЬ */
div.calendar {padding: 0 0 15px 0;}
div.calendar ul {padding: 0; margin: 0;display: inline;}
div.calendar ul li {padding: 0 10px 0 0; margin: 0; display: inline;}

h1.copyright {font-family: tahoma; font-size: 11px; font-weight: normal; padding-bottom: 10px;}

.error {color: #c00c0c;}

/* Многоязыковая версия */
div.Lang {position: relative; top: 10px; right: 10px;}
div.Lang div.bg {position: absolute; top: 0; right: 0; background: #f7f5e7; width: 130px; height: 42px; -moz-opacity:0.6; opacity:0,6; filter:alpha(opacity=60);}
div.Lang div.r {position: absolute; top: 5px; right: 70px; text-align: center;}
div.Lang div.e {position: absolute; top: 5px; right: 10px; text-align: center;}
div.Lang p {margin: 1px 0 0 0; padding: 0; font-size: 11px; color: #71270c;}
div.Lang a {color: #000000;}
div.Lang a:hover {color: #71270c;}
div.Lang img {margin: 2px;}
div.Lang img#selected {border: 2px solid #cbc8b1; margin: 0 !important;}

/* МАГАЗИН */

/* Альтернативная навигация */
.ShopAltNavigation {position: relative; font-size: 14px; margin: 0 10px 20px 0;}
.ShopAltNavigation .alt-nav-arrow {font-size: 15px;}
.ShopAltNavigation .bread-mites {color: #000000;}
.ShopAltNavigation .bread-mites-active {font-size: 18px; color: #71270c;}

/* Вывод категорий */
#categories-list {padding-bottom: 5px; padding-top: 0px; width: 100%; border-bottom: 1px dashed #888365;}
#categories-list {margin: 0em 0 0 -1em; position: relative; display: inline-block; clear: both;}
#categories-list:after {content: ''; display: block; clear: both;}
#categories-list .category-row {position: relative; float: left; display: inline; overflow: hidden; margin: 0.5em 0 0 0; width: 140px; min-width: 140px;}
#categories-list .category-row .r {position: absolute; top: 0; width: 100%;}
#categories-list .category-row .r .cat-pic {margin: 0; padding: 2px; width: 100px; height: 100px; border: 1px dashed #6b6647;}
#categories-list .category-row .r .cat-name {font-size: 13px; margin-top: 3px; line-height: 15px;}
#categories-list .category-row .min {margin: 0 0 130px 0; height: 2em; width: 140px;}

/* Вывод списка товаров */
#goods-list {margin: 0em 0 0 -1em; padding-bottom: 15px; padding-top: 15px; width: 100%; border-bottom: 1px dashed #888365;}
#goods-list .good-head {margin: 0 20px 20px 0; font-size: 14px;}
#goods-list .good-row {width: 100%; clear: both; overflow: hidden; height: 1%; padding: 10px; margin: 5px 0 5px 0; background: #ada889;}
#goods-list .good-row .good-icon {margin: 0 10px 0 0; float: left;}
#goods-list .good-row .good-icon div {padding: 2px;  border: 1px solid #888365;} 
#goods-list .good-row .good-picture {margin: 10px 5px 10px 0; float: left;}
#goods-list .good-row .good-link-name {font-size: 14px;}
#goods-list .good-row p {margin: 3px 0 3px 0;}

/* Постраничка - чпымс */
#pagenavigate {margin: 10px; font-size: 14px;}
#pagenavigate .current_page {font-weight: bold;}

/* Вывод конкретного товара */
.good-name h1 {margin: 0; padding: 10px 0 10px 0; font-size: 24px; line-height: 24px;}

.good-top {clear: both; position: relative;}
.good-top .good-top-left {float: left; margin-right: 15px;}
.good-top .good-top-left div {padding: 2px; border: 1px solid #888365;} 
.good-top .good-top-right {font-size: 11px;}
.good-top .good-top-right .good-to-order {font-size: 18px;}
.good-top .good-top-right .good-price {color: #71270c; margin: 10px 0 5px 0;}
.good-top .good-top-right .good-producer {color: #71270c; margin: 10px 0 5px 0;}

.good-description {clear: both; padding: 10px 0 5px 0;}

/* Основное меню магазина */
.MenuClassShop {position: relative; z-index: 2;}
.MenuClassShop {background: url(../images/menu_bg.jpg) no-repeat #ffffff; height: 250px;}
.MenuClassShop td.Menu {padding: 50px 10px 20px 88px; vertical-align: top;}
.MenuClassShop td {padding: 5px 0 5px 0; line-height: 15px; color: #888365;  font-size: 12px;}
.MenuClassShop a {font-size: 100%; font-weight: normal; color: #888365;}
.MenuClassShop a:hover {color: #000000;}
.MenuClassShop .shop-menu-active {color: #71270C; font-weight: bold; display: block;}

/* Корзинка */
.ml {font-size: 18px;}

.basket-row {width: 100%; clear:both; overflow: hidden; height: 1%; padding-bottom: 5px; padding-top: 5px;}

.incorrect-input-data {color: #ab2800; font-style: italic;}

/* Гостевая книга */
table.Wall {font-size: 14px; color: #76726a;}
table.Wall td {vertical-align: top;}
table.Wall td.Left {width: 28%; padding: 5px 10px 5px 10px; border-right: #888365 1px dotted;}
table.Wall td.Left div.Descr {padding: 5px 5px 5px 0; margin: 0;}
table.Wall td.Right {width: 72%; padding: 5px 0 5px 5px;}
table.Wall td.Right div.Date {padding: 0 5px 0 5px; font-size: 11px; color: #71270c; border-bottom: #888365 1px dotted;}
table.Wall td.Right div.Com {padding: 10px 10px 10px 5px;}
table.Wall td.Right div.Answer {padding: 10px 10px 10px 25px; font-size: 0.9em; color: #aa3b17;}
hr.Sep {padding: 0px; margin: 0px; border-top: #888365 1px dotted; border-left: none; border-right: none; border-bottom: none;}

.AddReview {font-size: 13px;}

ul.WallErrors {color: #aa0b05;}

/* 
   Вот мы добрались и до самого низа. Путь теринистый. 
   Наверно уже заметили недочеты в коде? 
	Тогда на oleg-rozanov@rambler.ru жду ваших писем! 
*/
