@media screen {
  /* Reset */
  html, body, div, h1, h2, h3, p, ul, ol, li, img, form {
    margin: 0;
    padding: 0;
    border: none;
  }
  html, body {
    width: 100%;
    height: 100%;
  }

  /* Common settings */
  body {
    color: #000;
    background: #f0f0f0 url(http://www.modellmix.su/_images/design/bg_page.png) top left scroll repeat-x;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    line-height: 1.5em;
  }
  img.button {
    width: 88px;
    height: 31px;
  }
  a {
    text-decoration: underline;
  }
  a:link, a:link font {
    color: #339;
  }
  a:visited, a:visited font {
    color: #939;
  }
  a:hover {
    text-decoration: none;
  }
  a:active, a:active font {
    color: #c00;
  }

  /* The whole page */
  div#wrapper {
    width: 80%;
    min-width: 980px;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
    text-align: left;
  }
  div#page {
    background: #fff;
  }

  /* Header */
  div#header {
    position: relative;
    width: 100%;
    height: 109px;
    overflow: hidden;
    background: url(http://www.modellmix.su/_images/design/bg_header.png) scroll repeat-x;
  }
  div#logo, div#phone, div#email, div#language, div#home, div#up, div#contacts {
    position: absolute;
  }
  div#logo {
    top: 10px;
    left: 20px;
    width: 757px;
    height: 88px;
  }
  div#phone {
    top: 20px;
    right: 20px;
    width: 130px;
    height: 22px;
  }
  div#email {
    top: 49px;
    right: 20px;
    width: 130px;
    height: 13px;
  }
  div#language {
    top: 74px;
    right: 127px;
    width: 23px;
    height: 15px;
  }
  div#home {
    top: 73px;
    right: 93px;
    width: 17px;
    height: 16px;
  }
  div#up {
    top: 74px;
    right: 60px;
    width: 16px;
    height: 15px;
  }
  div#contacts {
    top: 74px;
    right: 20px;
    width: 20px;
    height: 15px;
  }

  /* Menu */
  table#menu {
    width: 100%;
    border-collapse: collapse;
  }
  table#menu td {
    width: 20%;
    background: #fc0 url(http://www.modellmix.su/_images/design/bg_menu.png) bottom left scroll repeat-x;
    border: solid 1px #fff;
    padding: 5px 20px;
    vertical-align: middle;
    text-align: center;
    font-family: "Arial Narrow", "Helvetica Narrow", Arial, Helvetica, sans-serif;
    font-weight: bold;
  }
  table#menu td#first {
    border-left: none;
  }
  table#menu td#last {
    border-right: none;
  }
  table#menu td a, table#menu td a:link, table#menu td a:visited, table#menu td a:hover, table#menu td a:active {
    color: #000;
    text-decoration: none;
  }

  /* Search string and social networks */
  div#social {
    padding: 2px 20px;
    font-family: "Arial Narrow", "Helvetica Narrow", Arial, Helvetica, sans-serif;
    text-align: center;
    background: #ccc url(http://www.modellmix.su/_images/design/bg_social.png) bottom left scroll repeat-x;
  }
  div#social input.field {
    padding: 1px;
    border: solid 1px #999;
  }
  div#social input.button {
    color: #fff;
    background: #069;
    padding: 0px 10px;
    border: solid 1px;
    border-color: #09c #036 #036 #09c;
    margin-right: 1.5em;
  }

  /* Content area */
  div#content {
    padding: 20px;
    border-top: solid 1px #ccc;
  }
  div#content h1, div#content h2, div#content h3, div#content h4 {
    font-family: "Arial Narrow", "Helvetica Narrow", Arial, Helvetica, sans-serif;
    margin-bottom: .5em;
  }
  div#content h2, div#content h3, div#content h4 {
    margin-top: 1em;
  }
  div#content h1 {
    font-size: 1.6em;
    color: #069;
  }
  div#content h2 {
    font-size: 1.4em;
    color: #036;
  }
  div#content h2.inverted {
    clear: both;
    color: #fff;
    background: #036;
    padding: 5px 20px;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
  }
  div#content h3 {
    font-size: 1.2em;
  }
  div#content h4 {
    font-size: 1em;
  }
  div#content p {
    margin-bottom: 1em;
    line-height: 1.5em;
  }
  div#content ul, div#content ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
  }
  div#content ul {
    list-style-type: disc;
  }
  div#content ul ul {
    margin-top: 1em;
  }
  div#content li {
    margin-bottom: 1em;
    line-height: 1.5em;
  }
  div#content table {
    border-collapse: collapse;
    border: none;
  }
  div#content table th, div#content table td {
    vertical-align: top;
  }

  /* Phorum custom settings */
  div#content textarea.PhorumBodyArea {
    width: 500px;
  }
  div#content table.PhorumListTable {
    border: solid #036 1px;
    font-size: .9em;
  }
  div#content table td.PhorumListHeader {
    font-weight: bold;
  }
  div#content table td.PhorumTableHeader {
    font-weight: bold;
  }
  div#content font.PhorumNewFlag {
    font-size: .7em;
    color: #c00;
  }

  /* Footer */
  div#footer {
    border-top: solid 1px #ccc;
    padding: 20px 20px 30px 20px;
    background: url(http://www.modellmix.su/_images/design/bg_footer.png) bottom left scroll repeat-x;
    font-size: .8em;
  }
  div#footer div#counters {
    float: right;
    clear: right;
    margin: 0 0 20px 20px;
  }
}
