* { margin: 0; padding: 0; }
HTML, BODY { height: 100%; }
BODY { color: #595959; font-family: Tahoma, Arial, Geneva CY, sans-serif; font-size: 100.01%; }
H1, H2, H3 { margin: 0 0 0.5em 0; font-weight: normal; }
H1 { color: #F6A920; font-size: 1.6em; padding: 0 0 0.5em 0; position: relative; left: -17px; z-index: 10; }
H2 { font-size: 1.25em; margin-top: 1.3em; margin-top: expression( this.previousSibling && this.previousSibling.nodeName == 'H1' ? 0 : ( this.previousSibling && this.previousSibling.className == 'date' ? '0.65em' : '1.3em' ) );  }

H3 { font-size: 1.1em; margin-top: 1em; margin-top: expression( this.previousSibling && this.previousSibling.nodeName.match( /^H\d$/ ) ? 0 : '1em' ); }
H1+H2, H1+H3, H2+H3, H1+P, H2+P, H3+P, H1+TABLE, H2+TABLE, H3+TABLE,
H1+UL, H2+UL, H3+UL, H1+OL, H2+OL, H3+OL, H1+DL, H2+DL, H3+DL { margin-top: 0; }

A:link { color: #08752A; text-decoration: underline; }
A:visited { color: #08752A; text-decoration: underline; }
A:hover { color: #FB921C; }
A:active { color: #FB921C; }

TABLE, TH, TD { border-collapse: collapse; border-spacing: 0; }
IMG, TH, TD { border: none; }

* HTML INPUT, * HTML SELECT, * HTML TEXTAREA { font-size: 1em; }
.input-text { color: #999; }

UL { list-style: none; }
P, UL, OL, DL { font-size: 1em; }
P, UL, OL, DL, TABLE { margin: 1.05em 0; margin-top: expression(this.previousSibling && this.previousSibling.nodeName.match( /^H\d$/ ) ? 0 : '1em'); }
LI UL, LI OL, LI P, DL UL, DL OL, DL P, DL H2, DL H3 { font-size: 100%; }

/* common */
.clear { clear: both; font-size: 0; height: 1px; }
.nobr { white-space: nowrap; }
.relative { position: relative; }
.corner { position: absolute; z-index: 200; }
.corner-container { position: absolute; width: 100%; z-index: 100; }
.corner-container, .corner-container DIV { font-size: 0; }
.bottom { bottom: 0; }
.align-center { position: relative; width: 100%; }
.align-center:after { content: ''; display: block; clear: both; }
.align-center-to-left { position: relative; right: 50%; float: right; }
.align-center-to-right { position: relative; z-index: 1; right: -50%; }
.popup { padding-right: 20px; background: url(/i/popup.gif) no-repeat 100% 0.4em; }
.additional { font-size: 0.8em; margin: 1.8em 0 3em 0; }

#content LI { margin: 0.75em 0 0 1px; }
#content UL LI { background: url(/i/bullet.gif) no-repeat 0 0.5em; padding-left: 15px; }
#content UL UL { //list-style-image: url('li.gif'); margin-left: 1.25em; }
#content UL UL LI { background: none; padding: 0; behavior: expression( ( !this.before && parentNode && parentNode.tagName == 'UL' ) ? ( this.before = true ) & ( parentNode.style.listStyleImage = 'none' ) & ( ( this.firstChild && this.firstChild.firstChild ) ? ( this.firstChild.style.marginTop = '-1.2em' ) & ( this.firstChild.style.position = 'relative' ) : '' ) & ( eNOBR = document.createElement( '<nobr style="position: relative; display: block; left: -1.25em; margin: 0 0 -1.2em 0;" />' ) ) & ( eNOBR.innerHTML = '&mdash;&nbsp;' ) & ( this.insertBefore( eNOBR, this.firstChild ) ) : ''); }
#content UL UL>LI:before { content: '\2014\a0'; float: left; margin-left: -1.25em; }
#content UL UL SUP { position: relative; top: -0.5em; font-size: 0.75em; //font-size: 0.89em; line-height: 0; vertical-align: baseline; }
#content UL UL>LI>* { text-indent: 0; }

#content UL, OL { position: relative; }
OL { list-style-type: none; behavior: expression((this.counter) ? "" : (this.start) ?  this.counter = this.start - 1 : this.counter = 0); margin-left: 2.5em; }
OL LI { background: none; behavior: expression( ( !this.before && parentNode && parentNode.tagName == 'OL' ) ? ( this.before = true ) & ( parentNode.counter++ ) & ( parentNode.style.listStyleType = 'none' ) & ( eNOBR = document.createElement( '<div class="marker" />' ) ) & ( eNOBR.innerHTML = parentNode.counter + "." ) & ( this.insertBefore( eNOBR, this.firstChild ) ) : ''); position: relative; padding: 0; //width: 100%; margin-left: 2em; }
OL OL, #content UL UL { margin-top: 0; margin-bottom: 0; }
.marker { position: absolute; left: -107px; top: -0.3em; width: 100px; text-align: right; }
.marker, OL LI:before { color: #F49323; font-family: Arial, Helvetica, sans-serif; font-style: italic; font-size: 1.5em; }
OL { counter-reset: item; }
OL LI { display: block; }
OL LI:before { display: block; margin: 0 0 -1em -112px; width: 100px; text-align: right; content: counter(item) ". "; counter-increment: item; position: relative; top: -0.1em; }

#total { font-size: 0.8em; margin: -0.9em 0 3em 0; padding: 0 0 10px 20px; background: url(/i/total.gif) no-repeat 0 0.15em; }
#content #results { margin-bottom: 3.7em; }
#content #results OL { margin-left: 24px; }
#content #results LI { margin: 1.5em 0; width: 100%; }
#content #results P { font-size: 0.8em; }
#content #results H3 { font-weight: bold; font-size: 0.8em; margin-top: 0.05em; //margin-top: -0.15em; }

/* Таблицы */
.rounded-table { float: left; position: relative; margin-top: 3.7em; }
#content TABLE { background: #FCFCF1; margin: 5px; }
#content TH, #content TD { font-size: 0.8em; }
#content TH { color: #F59E21; text-align: left; padding: 1.6em 20px 1em 20px; }
#content TD { padding: 0.5em 20px 0.55em 20px; }
#content .table-header { position: absolute; top: -3em; width: 100%; text-align: center; color: #F59E21; }

/* Контакты */
.contacts-info, .work-hours P, .work-hours UL, .location { font-size: 0.8em; }
.contacts-info { line-height: 1.6em; margin: 2.6em 0 0 0; }
.work-hours { margin: 2em 0 0 0; }
.work-hours P { margin: 0.3em 0; margin: 0.4em 0; }
#content .work-hours LI { //background-position: 0 0.7em; }
.location { margin: 1.2em 0; }

.with-image { margin: 26px 0; }
.with-image:after { content: ''; display: block; clear: both; height: 1px; }
.with-image .rounded, .with-image .text { float: left; }
.with-image .rounded { margin-right: -100%; position: relative; z-index: 1; }
.with-image .reducer { padding-left: 177px !important; }
.with-image.horizontal .reducer { padding: 0 0 0 219px !important; }
.with-image .text { position: relative; }

.occupation { color: #1098E9; font-size: 0.8em; margin: 0; }

.rounded { border: 1px solid #E0D3A6; position: relative; }
.rounded.to-left, .rounded.to-right { margin: 5px 0 1.6em 0; }
.rounded.to-left { float: left; margin-right: 19px; //margin-right: 16px; }
.rounded.to-right { float: right; margin-left: 19px; //margin-left: 16px; }

.rounded IMG { margin: 5px; }
.rounded .corner { width: 39px; height: 39px; display: none; }
.rounded .top .left { background-image: url(/i/rounded_corner_tl.png); }
.rounded .top .right { background-image: url(/i/rounded_corner_tr.png); }
.rounded .bottom .left { background-image: url(/i/rounded_corner_bl.png); }
.rounded .bottom .right { background-image: url(/i/rounded_corner_br.png); }
.rounded .top { top: -1px; }
.rounded .bottom { bottom: 38px; }
.rounded .left { left: -1px; }
.rounded .right { right: -1px; }

.images { margin-bottom: 0.6em; position: relative; left: -15px; }
.images:after { content: ''; display: block; clear: both; height: 1px; }
.images .rounded { margin: 1.25em 15px 0 15px; float: left; display: inline; }


/* Партнеры */
.partner { margin-top: 2.5em; margin-top: expression(this.previousSibling && this.previousSibling.nodeName == 'IMG' ? '0.95em' : '2.5em'); }
IMG + .partner { margin-top: 0.95em; }
.partner-logo { margin-top: 2.5em; }


/* Новости */
.archives { margin-top: 1.8em; font-size: 0.8em; }
.archives SPAN, .archives A { margin-right: 1.2em; }
.archives SPAN { color: #EE9A02; font-weight: bold; }
.archives A { background: url(/i/arrow_archives.gif) no-repeat 0 0.5em; padding-left: 7px; }

.date { font-size: 0.95em; font-family: Arial, Helvetica, sans-serif; font-style: italic; margin: 0; }
.date + H2 { margin-top: 0.65em; }
.date .sep { margin: 0 0.25em 0 0.2em; }
.source { font-size: 0.8em; margin: -0.7em 0 0 0; }
.articles { margin-top: 1.3em; }
#content .articles LI { position: relative; margin: 1em 0; width: 100%; background: none; padding: 0; }
.articles P { margin: 0; }
.articles DIV { padding-left: 7em; padding-top: 1.3em; }
.articles P { font-size: 0.8em; }
.articles A { font-weight: bold; }
.articles .date { position: absolute; top: 0.35em; left: 0; font-size: 1.45em; }
.articles .date SPAN { float: left; }
.articles .date .day, .articles .date .month { padding-top: 0.16em; padding-bottom: 0.2em; }
.articles .date .month { background: url(/i/date_separator.gif) no-repeat; padding-left: 7px; //margin-left: -6px; }
.articles .date .year { color: #EE9A02; font-size: 0.6em; padding: 0.9em 0; //margin-left: -5px; }
.articles .source { margin: 0.3em 0 0.6em 0; }

/* Торговые точки */
.cities { font-size: 0.8em; font-weight: bold; margin: 2.35em 0; }
#content .cities LI { background: none; padding: 0; margin: 1.1em 0; }

/* Карта сайта */
.map H1 { margin: 2em 0 0 0; }
.map UL { clear: both; font-size: 0.8em; }
.map UL .border { background: url(/i/map_border.gif) repeat-y; }
.map UL .border DIV { position: relative; }
.map UL .border DIV DIV { background: url(/i/bg.jpg) no-repeat; width: 1px; height: 1.7em; position: absolute; top: -1.65em; }
.map LI { width: 31%; float: left; font-weight: bold; margin: 0.5em 0; }
.map UL UL { font-size: 100%; margin-top: 1.1em; }
.map UL UL LI { width: auto; float: none; font-weight: normal; background: url(/i/map_bullet.gif) no-repeat left; margin: 0.7em 0 0 0; padding-left: 28px; }
.map P { margin: 0; background: url(/i/map_top.gif) no-repeat 0 -3px; padding-left: 14px; position: relative; left: -2px; }
.map { padding: 0 75px; }
.map .container { width: 100%; }

/* Разметка */
#footer-container { clear: left; }