html { background: url(images/bg-html.jpg) repeat left top; }
body { background: url(images/bg-body.jpg) repeat-x left top; font: 13px "Trebuchet MS", Arial, Helvetica, sans-serif; color: #333; }
a { color: #e00; }
.highlight, .highlight a { color: #c00; }
#main-container { margin: 0 auto; width: 845px; border: 1px solid transparent; background: #fff; padding: 0 15px; -webkit-box-shadow: 0 0 30px 0 #999; -moz-box-shadow: 0 0 30px 0 #999; box-shadow: 0 0 30px 0 #999; }
#header { position: relative; margin-top: 15px; margin-bottom: 14px; height: 175px; border-bottom: 1px solid #fff; }
#header #logo { position: absolute; display: block; width: 345px; height: 120px; background: url(images/logo.png); }
#header #contacts { position: absolute; top: 0; right: 0; font-weight: bold; white-space: nowrap; text-align: right; }
#header #main-menu { position: absolute; bottom: 5px; left: 0; width: 100%; border: 1px solid #aaa; -webkit-box-shadow: 5px 5px 5px 0 #ccc; -moz-box-shadow: 5px 5px 5px 0 #ccc; box-shadow: 5px 5px 5px 0 #ccc; }
#header #main-menu>tbody>tr>td { padding-right: 7px; text-align: center; }
#header #main-menu>tbody>tr>td:first-child { padding-left: 7px; }
#header #main-menu>tbody>tr>td>div>a { display: block; padding: 7px 0; white-space: nowrap; font-size: 12px; font-weight: bold; text-decoration: none; }
#header #main-menu>tbody>tr>td>div>a:hover { background: #e00; color: #ddd; }
#content { margin: 15px 0; }
#content img { max-width: 100%; }
#content .page-image, #content .map-container { margin: 1em auto; }
#content img.page-image, #content .page-image img { display: block; margin-left: auto; margin-right: auto; }
#content .content-decorator { background: url(images/bg-h1.gif) repeat-x left top; padding: 1px; }
#content .content-decorator>.content-decorator-inner { margin: 19px; margin-bottom: 0; }
table.prices-grid, table.prices-list { margin: 1em 0; min-width: 33%; }
table.prices-grid>thead>tr>th, table.prices-grid>thead>tr>td, table.prices-grid>tbody>tr>th, table.prices-grid>tbody>tr>td, table.prices-grid>tfoot>tr>th, table.prices-grid>tfoot>tr>td, table.prices-list>thead>tr>th, table.prices-list>thead>tr>td, table.prices-list>tbody>tr>th, table.prices-list>tbody>tr>td, table.prices-list>tfoot>tr>th, table.prices-list>tfoot>tr>td { border: 1px solid #666; padding: 7px; vertical-align: middle; text-align: left; }
table.prices-grid>thead>tr>th, table.prices-grid>tbody>tr>th, table.prices-grid>tfoot>tr>th, table.prices-list>thead>tr>th, table.prices-list>tbody>tr>th, table.prices-list>tfoot>tr>th { font-weight: bold; }
table.prices-grid>thead>tr>th, table.prices-grid>thead>tr>td, table.prices-list>thead>tr>th, table.prices-list>thead>tr>td { white-space: nowrap; }
table.prices-list>thead>tr>td, table.prices-list>tbody>tr>td, table.prices-list>tfoot>tr>td { width: 160px; }
table.prices-list>thead>tr>td:first-child, table.prices-list>tbody>tr>td:first-child, table.prices-list>tfoot>tr>td:first-child { width: 500px; }
.counters { margin: 1em auto; }
.images { display: block; margin-top: -20px; margin-bottom: 20px; text-align: center; font-size: 0; line-height: 0; }
.images * { display: inline-block; vertical-align: middle; }
.images img { margin: 20px 10px 0; }
.form-input { display: block; margin: 1em 0; width: 100%; }
.form-input-inline-group { margin: 1em 0; width: 100%; }
.form-input-inline-group td { padding: 0; vertical-align: middle; }
.form-input-inline-group input, .form-input-inline-group select, .form-input-inline-group textarea { display: block; width: 100%; }
.form-label { display: block; margin: 1em 0; }
.form-label + .form-input, .form-label + .form-input-inline-group { margin-top: -0.75em; margin-bottom: 1.75em; }
.form-label input, .form-label select, .form-label textarea, .form-label button { display: inline-block; vertical-align: middle; margin-top: -0.1em; }
table.form { margin: 1em 0; }
table.form>thead>tr>th, table.form>thead>tr>td, table.form>tbody>tr>th, table.form>tbody>tr>td, table.form>tfoot>tr>th, table.form>tfoot>tr>td { padding-top: 1em; padding-left: 1em; text-align: left; vertical-align: top; }
table.form>thead>tr>th:first-child, table.form>thead>tr>td:first-child, table.form>tbody>tr>th:first-child, table.form>tbody>tr>td:first-child, table.form>tfoot>tr>th:first-child, table.form>tfoot>tr>td:first-child { padding-left: 0; }
table.form>thead:first-child>tr:first-child>th, table.form>thead:first-child>tr:first-child>td, table.form>tbody:first-child>tr:first-child>th, table.form>tbody:first-child>tr:first-child>td, table.form>tfoot:first-child>tr:first-child>th, table.form>tfoot:first-child>tr:first-child>td { padding-top: 0; }
table.form.message-only>tbody, table.form.message-only>tfoot { display: none; }
table.form label { display: block; margin-top: 0.17em; }
table.form .required label::after { content: '*'; display: inline-block; margin-left: 0.1em; color: #c00; font-weight: bold; }
table.form input, table.form select, table.form textarea { width: 20em; }
table.form textarea { height: 5em; }
table.form input[type="checkbox"], table.form input[type="radio"], table.form input[type="button"], table.form input[type="submit"], table.form input[type="rest"], table.form input[type="image"] { width: auto; }
table.form .error { color: #c00; font-weight: bold; }
table.form .success { color: #0c0; font-weight: bold; }
table.calculator-results>thead>tr>td, table.calculator-results>thead>tr>th, table.calculator-results>tbody>tr>td, table.calculator-results>tbody>tr>th, table.calculator-results>tfoot>tr>td, table.calculator-results>tfoot>tr>th { vertical-align: top; text-align: left; padding-top: 0.75em; padding-left: 0.5em; }
table.calculator-results>thead>tr>td:first-child, table.calculator-results>thead>tr>th:first-child, table.calculator-results>tbody>tr>td:first-child, table.calculator-results>tbody>tr>th:first-child, table.calculator-results>tfoot>tr>td:first-child, table.calculator-results>tfoot>tr>th:first-child { padding-left: 0; }
table.calculator-results>thead>tr>td.result-title, table.calculator-results>thead>tr>th.result-title, table.calculator-results>tbody>tr>td.result-title, table.calculator-results>tbody>tr>th.result-title, table.calculator-results>tfoot>tr>td.result-title, table.calculator-results>tfoot>tr>th.result-title { padding-right: 0.5em; }
table.calculator-results>thead>tr>td.result-title:last-child, table.calculator-results>thead>tr>th.result-title:last-child, table.calculator-results>tbody>tr>td.result-title:last-child, table.calculator-results>tbody>tr>th.result-title:last-child, table.calculator-results>tfoot>tr>td.result-title:last-child, table.calculator-results>tfoot>tr>th.result-title:last-child { padding-right: 0; }
table.calculator-results>thead>tr>td.result-number, table.calculator-results>thead>tr>th.result-number, table.calculator-results>tbody>tr>td.result-number, table.calculator-results>tbody>tr>th.result-number, table.calculator-results>tfoot>tr>td.result-number, table.calculator-results>tfoot>tr>th.result-number { text-align: right; white-space: nowrap; }
table.calculator-results>thead:first-child > tr:first-child>th, table.calculator-results>thead:first-child > tr:first-child>td, table.calculator-results>tbody:first-child > tr:first-child>th, table.calculator-results>tbody:first-child > tr:first-child>td, table.calculator-results>tfoot:first-child > tr:first-child>th, table.calculator-results>tfoot:first-child > tr:first-child>td { padding-top: 0; }
table.calculator-results .results-summary { font-weight: bold; }
ul.gallery { margin: 7px 0; padding: 0; list-style: none; font-size: 0; line-height: 0; }
ul.gallery>li { display: inline-block; vertical-align: middle; margin: 7px; }
ul.gallery>li>a { display: block; font-size: 0; line-height: 0; text-decoration: none; }
ul.gallery>li>a>img { display: block; }
table.content { margin: 1em 0; width: 100%; }
table.content.large { font-size: 0.85em; }
table.content th, table.content td { border: 1px solid #000; padding: 0.45em; vertical-align: middle; }
