=linear-gradient($pos, $G1, $G2: null, $G3: null, $G4: null, $G5: null, $G6: null, $G7: null, $G8: null, $G9: null, $G10: null, $fallback: null)
  // Detect what type of value exists in $pos
  $pos-type: type-of(nth($pos, 1))
  $pos-spec: null
  $pos-degree: null
  // If $pos is missing from mixin, reassign vars and add default position
  @if $pos-type == color or nth($pos, 1) == "transparent"
    $G10: $G9
    $G9: $G8
    $G8: $G7
    $G7: $G6
    $G6: $G5
    $G5: $G4
    $G4: $G3
    $G3: $G2
    $G2: $G1
    $G1: $pos
    $pos: null
  @if $pos
    $positions: _linear-positions-parser($pos)
    $pos-degree: nth($positions, 1)
    $pos-spec: nth($positions, 2)
  $full: $G1, $G2, $G3, $G4, $G5, $G6, $G7, $G8, $G9, $G10
  // Set $G1 as the default fallback color
  $fallback-color: nth($G1, 1)
  // If $fallback is a color use that color as the fallback color
  @if type-of($fallback) == color or $fallback == "transparent"
    $fallback-color: $fallback
  background-color: $fallback-color
  background-image: -webkit-linear-gradient($pos-degree $full)
  // Safari 5.1+, Chrome
  background-image: unquote("linear-gradient(#{$pos-spec}#{$full})")
body
  background-color: #333
  margin: 0
  padding: 0
  background-image: image-url('theme1/footer-bg.jpg')
  background-position: center top
  .header-nav-banner
    background-image: image-url('theme1/header.jpg') 
    background-position: center 25px
    #content-header
      position: relative
      height: $cth-height
      +content-top-background
      .container
        height: $cth-height
        margin: 0 auto
        background-image: image-url("theme1/no-banner-bg-left.png"), image-url('theme1/no-banner-bg-right.png')
        background-repeat: no-repeat, no-repeat
        background-position: left bottom, right bottom
        .top-ribbon
          background-image: image-url("theme1/no-banner-bg-middle.png")
          height: $cth-height
          background-repeat: repeat-x
          background-position: bottom
          margin: 0 68px 0 42px
    #main-wrap
      font-size: 14px
      font-family: $font-family-content
      line-height: 1.5
      color: $text-color
      position: relative
      h1
        font-size: 28px
        padding: 0.5em 0 0.2em 0
        line-height: 1.4
        font-family: $font-family-headers
        color: $header-color
      h2
        font-size: 24px
        padding: 0.5em 0 0.2em 0
        line-height: 1.2
        font-family: $font-family-headers
        color: $header-color

      background-image: image-url('theme1/wall-bg.jpg')
      background-position: center top
      overflow: visible
      position: relative
      .container
        margin: 0 auto
        max-width: $content-max-width
        .main-inner
          +linear-gradient(#d6d6d6 0, white 70px)
          position: relative
          padding: 10px 40px 30px 40px
          margin-left: 2px
          margin-right: 2px
          min-height: 400px
          @media (max-width: 680px)
            padding: 8px 15px
          h1.page-title
            margin: 0
            padding: 0
            margin-bottom: 12px
      &.with-subnavigation
        .container
          .main-inner
            margin: 0
  a
    color: $green
    text-decoration: none
    &:hover
      color: darken($green, 20%)
  .right
    float: right
  .left
    float: left
  .clearing
    clear: both
