body
  font-family: Helvetica, Arial
  margin: 0px
  margin-top: 0px
  background: url(../../images/bg.png)
  .clear
    clear: both
    line-height: 0px
  
  #topheader
    background: url(../images/bg_dark.jpg)
    padding: 5px
    padding-right: 0px
    margin-right: 0px
    color: $color_2
    text-align: right
    font-size: 12px
    border-bottom: 1px solid #787878
    box-shadow: 0px 4px 3px #888
    -webkit-box-shadow: 0px 4px 3px #888
    -moz-box-shadow: 0px 4px 3px #888
    
    .inner
      width: 1200px
      margin: 0 auto
      color: $color_2 * 1.4
      
      h1
        margin: 0px
        padding-bottom: 10px
        a:link,
        a:visited
          color: white
          text-decoration: none
          font-size: 24px
          float: left
        a:hover
          color: #ffff99
      
      a:link, a:visited
        text-decoration: none
        color: $color_2 * 1.4
        font-size: 12px
        text-decoration: underline
      
      a:hover
        color: #fff
        text-decoration: underline

      img
        border: 0px
        padding: 1px
        background: white
        vertical-align: middle
  
  #wrapper
    width: $min_width
    margin: 0 auto
    padding: 0 5%
    
    
    #header
      width: $min_width
      h1
        
        width: 400px
        float: left
        margin-bottom: 0px
        font: 24px  helvetica,arial,sans-serif
        
        a:link,
        a:visited
          color: $color_1
          text-decoration: none
          font-weight: bold
        a:hover
          
          color: $color_2
      form
        float: left
        margin-top: 12px

        input
          background: $color_5 * 1.2
          padding: 5px
          border: 1px solid #e9e9e9
          font-size: 1.07em
          width: 100%
          color: $color_2
          +border_radius

        input.active
          color: $color_2
          border-color: black


      #menu
        margin-top: 10px
        ul
          float: left
          margin-left: 0
          padding-left: 0

          li.active
            background: $color_2

          li
            background: $color_1
            list-style: none
            display: inline
            margin-right: 10px
            +border_radius
            padding: 10px
            line-height: 34px
            +text_shadow
            padding-top: 17px
            vertical-align: middle
            cursor: pointer

            a:link, a:visited
              font-size: 24px
              text-decoration: none
              color: white
              font-weight: bold
              line-height: 10px


          li:hover
            background: black
                  
  #content
    float: left
    width: 75%
    
    input.active
      color: $color_2
      border-color: black
    
    h2
      margin: 0px
      display: block
      font-size: 34px
      margin-bottom: 10px
      margin-top: 30px
      border-bottom: 3px solid #000
  
  .header-with-tabs
    position: relative
    margin-top: 45px !important
    margin-bottom: 10px
    border-bottom: 3px solid black
    
    .tabs
      width: 400px
      background: transparent
      
    h2
      z-index: 100
      position: absolute
      bottom: 0
      border: 0px !important
      display: inline
      margin: 0px !important
      
      .tagged
        color: $color_4
        font-size: 0.5em
        padding-left: 10px
      
      a:link
        text-decoration: none
        color: black

      a:visited
        text-decoration: none
        color: decoration

      a:hover
        color: black
        text-decoration: none
  
    form
      div.error
        color: #7F0000
        div.formError
          font-size: 12px
          color: #7F0000
          font-weight: bold
          width: 100%
        
        input
          border-color: #7F0000
        textarea
          border-color: #7F0000
        
  a:focus
    outline: 0px

  .tabs
    width: 300px
    float: right
    text-align: right
    margin-bottom: 2px
    position: relative
    z-index: 100

    ul
      margin: 0px
      padding: 0px
      margin-right: 10px

      li.active
        
        a
          padding-bottom: 6px
          
        a:link, a:visited
          background: url(../../images/bg.png)
          color: $color_2
          padding-bottom: 6px
        a:hover
          background: url(../../images/bg.png)
          color: $color_2_hover
          padding-bottom: 6px
      li
        display: inline
        list-style: none
        margin-left: 8px
        
        a
          border-top: 1px solid black
          border-right: 2px solid black
          border-left: 1px solid black
          font-size: 13px
          font-weight: bold
          
        a:link, a:visited
          color: #737373
          padding: 5px
          text-decoration: none
        
        a:hover
          color: black