html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #cfed99 url('../images/bg.png') repeat-x;
  font-family: "Tahoma", "Verdana CE", "Verdana", "Arial CE", "Arial", sans-serif;
  font-size: 9pt;
  color: #000;
  text-align: center;
  }

  img { border: 0; }
  form {
    margin: 0;
    padding: 0;
    }
  a {
    cursor: pointer;
    text-decoration: none;
    }
    a:hover { text-decoration: underline; }
  h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: "Trebuchet MS", "Arial CE", "Arial", sans-serif;
    font-weight: normal;
    }
  div.clr {
    clear: both;
    display: block;
    height: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
    font-size: 0;
    overflow: hidden;
    }
  p { margin: 0; }
  input, textarea {
    font-family: "Tahoma", "Verdana CE", "Verdana", "Arial CE", "Arial", sans-serif;
    font-size: 9pt;
    margin: 0;
    }
  table {
    border-collapse: collapse;
    }
  abbr { cursor: help; }
  .hidden { display: none; }
  .invisible { visibility: hidden; }
  .center { text-align: center; }
  .small { font-size: 7pt; }

#main {
  width: 960px;
  margin: auto;
  text-align: left;
  padding-top: 193px;
  }

#header {
  position: absolute;
  top: 0;
  width: 960px;
  height: 110px;
  }
  #header div.logo {
    float: left;
    width: 215px;
    height: 110px;
    background: url('../images/logo.png') no-repeat left bottom;
    }
    #header div.logo a {
      display: block;
      width: 144px;
      height: 36px;
      }
      #header div.logo a:hover { text-decoration: none; }
    #header div.logo div.facebook {
      height: 20px;
      margin-top: 10px;
      margin-bottom: 44px;
      overflow: hidden;
      }

#menu {
  position: absolute;
  top: 134px;
  width: 960px;
  height: 37px;
  background: #73b54c url('../images/menu_bg.png') repeat-x;
  }
  #menu div.left, #menu div.right {
    position: absolute;
    width: 6px;
    height: 37px;
    }
    #menu div.left {
      background: url('../images/menu_left.png') no-repeat;
      }
    #menu div.right {
      margin-left: 954px;
      background: url('../images/menu_right.png') no-repeat;
      }
  #menu ul {
    margin: 0;
    padding: 0 0 0 14px;
    list-style-type: none;
    }
    #menu ul li {
      display: block;
      float: left;
      }
  #menu a {
    display: block;
    float: left;
    height: 37px;
    line-height: 37px;
    padding: 0 10px;
    vertical-align: middle;
    font-weight: bold;
    color: #392d1f;
    }
    #menu a:hover, #menu a.active {
      text-decoration: none;
      background: url('../images/menu_active.png') repeat-x;
      color: #fff;
      }
    #menu a span {
        display: block;
        float: left;
        width: 16px;
        height: 16px;
        margin-top: 11px;
        margin-right: 5px;
        background-position: center 0;
        background-repeat: no-repeat;
      }
      #menu a.active span, #menu a:hover span { background-position: center -16px; }
      #menu a.latest span { background-image: url('../images/latest.gif') }
      #menu a.best span { background-image: url('../images/best.gif') }
      #menu a.random span { background-image: url('../images/random.gif') }
      #menu a.all span { background-image: url('../images/all.gif') }
      #menu a.queue span { background-image: url('../images/queue.gif') }
      #menu a.add {
        color: #fff;
        }
        #menu a.add span { background-image: url('../images/add.gif') }
      #menu a.forum span { background-image: url('../images/forum.gif') }
      #menu a.help span {
        margin-right: 0;
        background-image: url('../images/help.gif')
        }
    #menu span.separator {
      float: left;
      width: 2px;
      height: 37px;
      padding: 0 16px;
      background: url('../images/menu_separator.png') no-repeat center top;
      font-size: 0;
      }
    #menu div.search {
      position: absolute;
      left: 643px;
      font-size: 0;
      }
      #menu div.search form { display: inline; }
      #menu div.search input.query {
        color: #392d1f;
        width: 176px;
        padding: 2px 5px;
        border: 1px solid #498526;
        margin-top: 7px;
        }
        #menu div.search input.query.inactive {
          color: #c2c2c2;
          }
      #menu div.search input.button {
        color: #392d1f;
        width: 78px;
        margin-left: 4px;
        margin-top: 7px;
        }

#wrap {
  background: url('../images/wrap.png') repeat-y;
  }
  #wrap div.ul, #wrap div.ur, #wrap div.bl, #wrap div.br {
    position: absolute;
    height: 5px;
    font-size: 0;
    }
  #wrap div.ul, #wrap div.ur { top: 193px; }
  #wrap div.ur, #wrap div.br { margin-left: 660px; }
  #wrap div.bl, #wrap div.br { margin-top: -5px; }
  #wrap div.ul, #wrap div.bl {
    width: 660px;
    }
    #wrap div.ul { background: #fff url('../images/corner_ul.png') no-repeat top left; }
    #wrap div.bl { background: #fff url('../images/corner_bl.png') no-repeat top left; }
  #wrap div.ur, #wrap div.br {
    width: 300px;
    }
    #wrap div.ur { background: #73b54c url('../images/corner_ur.png') no-repeat top right; }
    #wrap div.br { background: #73b54c url('../images/corner_br.png') no-repeat top right; }

#content, #sf_admin_content {
  float: left;
  width: 632px;
  padding: 31px 14px;
  background-color: #fff;
  }
  #content div.narrow { width: 498px; }
  #content div.wide { width: 632px; }
  #content h2, #facebox h2, #content h4, #facebox h4 {
    color: #73b54c;
    font-size: 13pt;
    font-weight: bold;
    font-variant: small-caps;
    border-bottom: 1px solid #73b54c;
    margin-bottom: 5px;
    }
  #content h4, #facebox h4 { font-size: 11pt; }
  #content a, #facebox a { color: #73b54c; }
  #content table tr td, #content table tr th, #facebox table tr td, #facebox table tr th {
    text-align: left;
    padding-right: 3px;
    }
    #content table tr th, #facebox table tr th {
      font-weight: normal;
      font-style: italic;
      }
  #content form {
    }
    #content form fieldset, #content form fieldset legend {
      background-color: #ededed;
      border: 1px solid #c2c2c2;
      padding-top: 5px;
      }
      #content form fieldset legend {
        padding: 5px 10px;
        color: #000;
        font-weight: bold;
        }
    #content form p.info, #facebox form p.info {
      border: 1px solid #c2c2c2;
      background: #ededed url('../images/info.gif') no-repeat 10px center;
      margin-bottom: 10px;
      padding: 10px 10px 10px 36px;
      font-style: italic;
      }
      #content form p.info.error, #facebox form p.info.error { background-image: url('../images/error.gif'); }
      #content form p.info a, #facebox form p.info a { color: #3e6328; }
    #content form div.row, #content form div.simplerow, #facebox form div.row, #sidecol form div.row {
      margin-bottom: 10px;
      }
      #content form div.row label, #facebox div.row label, #sidecol div.row label {
        display: block;
        font-weight: bold;
        }
        #sidecol div.row label { font-weight: normal; }
      #content form div.row input, #content form div.row textarea, #facebox div.row input, #facebox div.row textarea, #sidecol div.row input, #sidecol div.row textarea {
        float: left;
        width: 243px;
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-bottom: 1px solid #c2c2c2;
	border-right: 1px solid #c2c2c2;
	padding: 3px;
        }
        #facebox div.row textarea, #facebox div.row input {
          width: 370px;
          }
          #facebox div.row input#submit, #sidecol div.row input#submit { width: auto; }
        #sidecol div.row input { width: 270px; }
      #content form div.row ul.error_list, #content form#comment ul.error_list {
        float: left;
        margin: 0;
        padding-top: 4px;
        padding-left: 20px;
        list-style-type: none;
        }
        #content form div.row ul.error_list li, #facebox form div.row ul.error_list li, #content form#comment ul.error_list {
          color: #ff0000;
          font-weight: bold;
          }
        #content form div.row.full ul.error_list, #content form#comment ul.error_list {
          float: none;
          padding-left: 0;
          }
        #facebox form div.row ul.error_list {
          clear: both;
          padding-left: 20px;
          }
      #content form div.row div.help, #facebox div.row help {
        font-style: italic;
        }
      #content form div.simplerow label {
        font-weight: bold;
        vertical-align: middle;
        }
      #content form div.simplerow input {
        vertical-align: middle;
        }
  #content ul.simple, #content ol.simple, #facebox ul.simple, #facebox ol.simple {
    margin: 0;
    padding-left: 20px;
    }
  #content ul.none, form#contest ul.error_list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    }
    form#contest ul.error_list li {
      color: #ff0000;
      font-weight: bold;
      }
    form#contest { line-height: 120%; }
    form#contest ul.none { margin: 5px 0; }
    form#contest img { float: right; }
    div.contest {
      height: 16px;
      line-height: 16px;
      padding: 4px 21px;
      background-position: center left;
      background-repeat: no-repeat;
      }
      div.contest { background-image: url('../images/contest_facebook.gif'); }
      #quotes div.contest {
        border-bottom: 1px dashed #c2c2c2;
        padding: 8px auto;
        }

#sidecol, #sf_admin_bar {
  float: right;
  width: 278px;
  padding: 31px 10px;
  background-color: #73b54c;
  border-style: solid;
  border-color: #498526;
  border-width: 0 1px;
  color: #392d1f;
  }
  #sidecol h3 {
    color: #392d1f;
    font-size: 13pt;
    font-weight: bold;
    font-variant: small-caps;
    border-bottom: 1px solid #392d1f;
    margin-bottom: 5px;
    }
    #sidecol h3.compact { margin-bottom: 0; }
  #sidecol div.controls {
    position: absolute;
    width: 278px;
    margin-top: -25px;
    text-align: right;
    }
  #sidecol ul {
    margin: 0;
    padding-left: 20px;
    }
  #sidecol a {
    color: #fff;
    }
  #sidecol div.latest {
    border-bottom: 1px dashed #392d1f;
    padding: 4px 0;
    }
    #sidecol div.latest h4 { font-size: 9pt; }
    #sidecol div.latest p.info {
      float: right;
      text-align: right;
      }
  #sidecol div.avatar {
    float: right;
    width: 40px;
    height: 50px;
    line-height: 50px;
    border: 1px solid #498526;
    background-color: #ededed;
    text-align: center;
    font-size: 0;
    margin-left: 10px;
    }
    #sidecol div.avatar img { vertical-align: middle; }
  #sidecol span.userlist {
    margin: 40px 0 0 -94px;
    }
    #sidecol span.userlist a { color: #73b54c; }

address, #pages, #backlinks, #media {
  float: left;
  width: 660px;
  margin-top: 22px;
  padding: 0;
  color: #392d1f;
  font-style: normal;
  }
  #backlinks, #media {
    margin-top: 5px;
    margin-bottom: 10px;
    }
  #pages, #media {
    width: 300px;
    text-align: right;
    }
  address a, #pages a, #backlinks a, #media a {
    color: #392d1f;
    font-weight: normal;
    }

div.pager {
  }
  div.pager a, div.pager span {
    display: block;
    float: left;
    width: 30px;
    height: 20px;
    line-height: 20px;
    color: #cfed99;
    border: 1px solid #cfed99;
    text-align: center;
    vertical-align: center;
    margin-right: 3px;
    }
    div.pager a:hover, div.pager span {
      color: #73b54c;
      border: 1px solid #73b54c;
      background-color: #cfed99;
      }

span.userlist {
  display: none;
  position: absolute;
  background-color: #fff;
  width: 320px;
  margin: 20px 0 0 20px;
  padding: 20px;
  border: 1px solid #498526;
  z-index: 100;
  }
  span.userlist span.close {
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    margin-top: -15px;
    margin-left: 320px;
    background: url('../images/close.png') no-repeat;
    }

table#sources {
  width: 100%;
  }
  table#sources tr th {
    border-bottom: 1px solid #73b54c;
    }
  table#sources tr td {
    height: 16px;
    line-height: 16px;
    vertical-align: middle;
    padding-right: 5px;
    padding-bottom: 5px;
    }
    table#sources tr td.source, table#sources tr td.permission {
      padding-left: 21px;
      background-position: center left;
      background-repeat: no-repeat;
      }
      table#sources tr td.source.im { background-image: url('../images/icq.gif') }
      table#sources tr td.source.irc { background-image: url('../images/irc.gif') }
      table#sources tr td.source.chat { background-image: url('../images/chat.png') }
      table#sources tr td.source.email { background-image: url('../images/email.png') }
      table#sources tr td.source.facebook { background-image: url('../images/facebook.gif') }
      table#sources tr td.source.skype { background-image: url('../images/skype.png') }
      table#sources tr td.source.phone { background-image: url('../images/phone.png') }
      table#sources tr td.source.www { background-image: url('../images/link.gif') }
      table#sources tr td.source.jokes { background-image: url('../images/user.gif') }
      table#sources tr td.permission { white-space: nowrap; }
      table#sources tr td.permission.allowed { background-image: url('../images/tick.png') }
      table#sources tr td.permission.details { background-image: url('../images/info.gif') }
      table#sources tr td.permission.disallowed { background-image: url('../images/close.png') }

#sidecol .categoriesList ul { list-style: none; padding: 5px 0 5px 5px; }
#sidecol .categoriesList ul li { padding: 1px 0; }
#sidecol .categoriesList ul li label { padding: 0 10px; }

div.leaderboard {
  float: left;
  width: 745px;
  height: 110px;
  }
div.skyscraper {
  position: absolute;
  width: 120px;
  height: 610px;
  margin-top: 214px;
  margin-left: 526px;
  }
div.square {
  width: 250px;
  height: 260px;
  padding: 8px 0;
  }
div.advertisement {
  width: 100%;
  height: 10px;
  line-height: 10px;
  vertical-align: middle;
  font-size: 6pt;
  text-transform: uppercase;
  }