/* Основное */
html, body {margin: 0; padding: 0; width:100%;}
html { height: 100%;}
body {min-height: 100%; height: 100%; margin: 0px; padding: 0px; background: #FFFFFF;}
div.container {height: auto !important; height: 100%; width: 100%; min-height: 100%;}
div.footer_guard {height: 130px; clear: both; }
div.footer {height: 130px; margin-top: -130px;}

/* common styles */
div#measurer {position: absolute; width: 100%; top: 0; height: 1px; line-height: 1px;}
div.around {position: relative; min-height: 100%; min-width: 780px; max-width: 1200px;}
* html div.around {
height: 100%;
width: expression( ( document.getElementById('measurer') && document.getElementById('measurer').clientWidth < 780 )
?'780px' :( document.getElementById('measurer') && document.getElementById('measurer').clientWidth < 1200 )
?'100%' : '1200px');
}
div.page-bg-add {display: table; width: 100%; height: 100%;}

body, p, div, li {font-family: Verdana; font-size: 12px; color: #333333;}
table {empty-cells: show;}
h1 {font-size: 20px; margin: 0px 0px 12px 0px; font-family: Verdana; text-decoration: none; font-weight: normal; color: #CC0000;}
h2{font-size: 16px; text-decoration: none; font-weight: normal; margin: 0px 0px 16px 0px; padding: 0px; color: #000000;}
h3{font-size: 14px; color: #000000; text-decoration: none; font-weight: normal; margin: 0px 0px 4px 0px; padding: 0px; line-height: 20px;}
p {margin: 0px 0px 8px 0px;}

a:link, a:visited, a:active {text-decoration: underline; color: #339900;}
a:hover {text-decoration: underline; color: #cc9900;}

/* Menu */
#menu, #menu div {margin: 0px; padding: 0px;}
#menu .mm1 {padding-right: 8px; background: url(/i/bullit_01.gif) no-repeat right 4px;}
#menu .mm1 a:link, #menu .mm1 a:visited, #menu .mm1 a:active {display: block; color: #666666; text-decoration: none; border-bottom: 1px dashed #999999;}
#menu .mm1 a:hover {display: block; color: #333333; text-decoration: none; border-bottom: 1px dashed #666666;}
#menu .mm1 span {display: block; color: #333333; text-decoration: none; border-bottom: 1px dashed #666666;}

#menu .mm2 {padding-right: 8px;}
#menu .mm2 a:link, #menu .mm2 a:visited, #menu .mm2 a:active {display: block; color: #333333; text-decoration: none; border-bottom: 1px dashed #999999;}
#menu .mm2 a:hover {display: block; color: #666666; text-decoration: none; border-bottom: 1px dashed #666666;}
#menu .mm2 span {display: block; color: #333333; text-decoration: none; border-bottom: 1px dashed #666666;}

#menu .drop {border:1px solid #999999;background:url(/i/test.png);padding:4px;WHITE-SPACE: nowrap;DISPLAY:block;}
#menu .sub {margin:10px 0px;}
#menu .sub a:link,
#menu .sub a:visited,
#menu .sub a:active {text-decoration: none; color: #333333;}
#menu .sub a:hover {text-decoration: underline; color: #000000;}

#menu2 {font-size: 14px;}

#menu3, #menu3 div {margin: 0px; padding: 0px;}
#menu3 span {padding-right: 8px; background: url(/i/bullit_03.gif) no-repeat right 5px; font-size: 14px; color: #339900; border-bottom: 1px dashed #339900;}
#menu3 .m31 a:link, #menu3 .m31 a:visited, #menu3 .m31 a:active {display: block; color: #339900; text-decoration: none; border-bottom: 1px dashed #339900;}
#menu3 .m31 a:hover {display: block; color: #cc9900; text-decoration: none; border-bottom: 1px dashed #cc9900;}
#menu3 .m32 {padding-right: 8px;  font-size: 14px;}
#menu3 .m33 {padding-right: 0px;  font-size: 14px;}
#menu3 .m32 a:link, #menu3 .m32 a:visited, #menu3 .m32 a:active {display: block; color: #339900; text-decoration: none; border-bottom: 1px solid #339900;}
#menu3 .m32 a:hover {display: block; color: #cc9900; text-decoration: none; border-bottom: 1px solid #cc9900;}

#menu3 .sub {margin:10px 0px;}
#menu3 .sub a:link,
#menu3 .sub a:visited,
#menu3 .sub a:active {text-decoration: none; color: #339900;}
#menu3 .sub a:hover {text-decoration: underline; color: #cc9900;}
#menu3 .drop {border:1px solid #339900;background:url(/i/test.png);padding:4px;WHITE-SPACE: nowrap;DISPLAY:block;}

#treemenu div {padding: 3px 0px 0px 10px;}

#armor {padding-right: 26px; background: url(/i/bullit_02.gif) no-repeat right 3px;}
#armor a:link, #armor a:visited, #armor a:active {display: block; color: #336699; text-decoration: none; border-bottom: 1px dashed #336699;}
#armor a:hover {display: block; color: #6699CC; text-decoration: none; border-bottom: 1px dashed #6699CC;}

/* Sitemap */
#map li {margin-bottom:6px;margin-top:6px;}

/* Новости */
#news {}
#news .date {color: #999999; font-size: 10px; font-style: italic; margin: 0px 0px 8px 0px;}
#news .sbody {line-height: 20px;}

/* Search */
.search_form_field {border: 1px solid #999999; margin: 0px; padding: 3px 0px 2px 5px; width: 166px; color: #000000; font-size: 12px; font-family: Verdana; background: #FFFFFF;}
.surl {color: #666666; margin-bottom: 16px; font-size: 12px;}

/* Content */
#content {padding: 8px 30px 0px 0px; line-height: 20px; font-size: 12px;}
#content .date {color: #666666; font-style: italic; line-height: 24px;}
#content table {border:1px solid #000000; border-collapse: collapse; font-size: 12px;}
#content td, #content th {border:1px solid #000000; padding:4px;}

/* Cont */
#cont {padding: 8px 30px 0px 0px; line-height: 20px; font-size: 12px;}
#cont .date {color: #666666; font-style: italic; line-height: 24px;}

#italtext {font-size: 12px; color: #333333; font-style: italic; padding-left: 60px; line-height: 20px;}
#italtext1 {font-size: 12px; color: #333333; font-style: italic; padding-left: 0px; line-height: 20px;}
#skobtext p {font-size: 12px; line-height: 20px;}
.day {color: #666666; font-style: italic; line-height: 24px;}
#rtext p {font-size: 12px; line-height: 18px;}

/* Phone */
#phone {margin: 0px; padding: 0px;}
#phone .code {font-family: Georgia, Times new roman; font-size: 18px; color: #999999;}
#phone .number {font-family: Georgia, Times new roman; font-size: 32px; color: #000000; position: relative; top: -8px;}

/* Копирайт */
#copyright {font-size: 10px; color: #999999;}

/* Ссылка на разработчика */
#copy, #copy a:link, #copy a:visited, #copy a:active, #copy a:hover, #copy span {font-size: 11px; color: #999999; text-decoration: none;}
