/*---Основной файл стилей элементов генерируемых процессором---*/
* {padding: 0; margin: 0;}
html, body, table {width: 100%; height: 100%;}
body {color: #555; font-family: sans-serif;}
img, table {border: none;}
table {border-collapse: collapse;}
li {list-style: none;}
a {text-decoration: none; color: #555;}
a:focus {outline: none;}

/*---Стили установленных элементов---*/
/*Диалоговое окно*/
#dialogwin {z-index: 1; display: none; position: absolute; background: white; border: 1px solid gray; opacity: 0; filter: alpha(opacity=0);}
table.dialog th.dwhead {background-color: #F6F6F6; font-size: 14px; text-align: left; padding: 2px 8px 4px 8px; cursor: default;}
table.dialog td.dwcls {background-color: #F6F6F6; text-align: right; padding: 2px 4px 4px 0;}
table.dialog td.dwcont {padding: 8px;}
.closewin {cursor: pointer;}

/* Логотип */
div.logo {float: left;}
div.logo img {width: 280px; height: 80px;}

/* Путь */
div.epath {font-size: 14px; margin-bottom: 10px;}
.epath a:hover {text-decoration: underline;}

/* Дерево */
div.etree {}
a.treelevel1 {}
a.treelevel2 {padding-left: 15px; background: url("../wimages/tie.gif") no-repeat 5px 0px;}
a.treelevel3 {padding-left: 30px; background: url("../wimages/tie.gif") no-repeat 20px 0px;}
a.treelevel4 {padding-left: 45px; background: url("../wimages/tie.gif") no-repeat 35px 0px;}
a.treelevel5 {padding-left: 60px; background: url("../wimages/tie.gif") no-repeat 50px 0px;}

/* Главное меню */
#mainmenu {float: right; margin-top: 15px;}
#mainmenu li {float: left; padding: 5px 30px 0 0; text-transform: uppercase; font-size: 22px;}
#mainmenu li a {color: #000;}
#mainmenu li a:hover {color: #ff0000;}
#mainmenu li.active a {color: #ff0000;}

/* Шаблон текущей страницы */
#curpage {padding: 50px 0 25px;}

/* Меню */
menu.emenu {font-size: 17px; margin: 20px 0;}
.emenu li {padding: 10px 0; border-bottom: 1px solid #dedede;}
.emenu li a:hover {text-decoration: underline;}
.emenu li.active a {color: #ff0000;}
menu.smenu {}
.smenu li.active {font-weight: bold;}

/* Списки, elist используется в types.htm */
ul.elist {float: right; font-size: 17px; font-weight: bolder;}
.elist li {float: left; margin: 10px;}
.elist li a {color: #000;}
.elist li a:hover {text-decoration: underline;}
.elist li.active a {text-decoration: underline;}
ul.slist {}
.slist li.active {font-weight: bold;}

/* Список ввиде рядов таблицы, erows используется в prices.htm */
div.inprice, div.inprice h1 {padding-top: 10px;}
table.erows {margin: 10px 25px; width: 300px; font-size: 16px;}
.erows td {padding: 2px 0;}
table.srows {}
.srows td {}

/* "Плитка" */
/* etile используется в types.htm */
div.etile {}
.etile .tile {float: left; padding: 10px 0;}
.etile .tile h1 {margin: 5px 0; font-size: 15px;}
.etile .tile h1 a {color: #000;}
.etile .tile ul{margin-left: 15px;}
.etile .tile li {margin: 5px 0; font-size: 16px; list-style: outside none disc;}

/* stile используется в main.htm */
div.stile {}
.stile .tile {float: left; padding: 25px 0;}
.stile .tile h1 {font-size: 20px; text-transform: uppercase; font-weight: normal; width: 75%;}
.stile .tile div {
	font-family: FontAwesome;
	font-size: 50px;
	color: #000;
	margin: 20px 0;
	width: 100px;
	height: 100px;
	line-height: 100px;
	border: 2px solid  #555;
	border-radius: 50%;
}
.stile .tile  a {color: #000;}
.stile .tile  a:hover {color: #ff0000;}
.stile .tile p {width: 80%; font-size: 14px;}

/* Изображения preimg используется в layout */
img.preimg {}
img.altimg {}
img.rollimg {}
img.loadimg {position: absolute; top: 10px; right: 10px;}

/* Текстовые поля */
div.naz {}
div.prim {}
div.pretext {}
div.pagetext {}

/* Файл загрузки */
div.loadfile {}
div.loadfile a {}

/* Поиск */
div.searchform {}
form.quickform {}
form.stringform {}
table.searchresult {}

/* Пейджер */
div.pager {width: 100%; float: left;}
div.pager a {margin: 0 10px;}
div.pager a.active {font-weight: bold;}
div.pager a.prev {}
div.pager a.next {}
div.pager a.rwd {}
div.pager a.fwd {}

/* Форма сообщения */
.mailform table {margin: 20px 10px;}
.mailform td {padding: 2px; vertical-align: top;}
.mailform td.code {position: relative;}
.mailform td.code input {position: absolute; top: 20px;}
.inbox {width: 500px; height: 22px;}
.inarea {width: 500px; height: 250px;}
.btnsend {margin-left: 400px; width: 100px;}
.backmsg {color: green;}