/*


Layout
*/

html, body {
  background-color: #1C1C1C;
  color: #ccc;
}

body {
  background-image: url(../images/body.png);
  background-repeat: repeat-x;
  margin: 0;
  padding: 0;
  text-align: center;
}

body.home {
  background-image: url(../images/body.home.png);
}

  .shell {
    margin: auto;
    position: relative;
    width: 900px;
    text-align: left;
  }
  
  .content {
    text-align: left;
  }
  
    #head {
      background: url(../images/head.png) no-repeat;
      height: 100px;
      position: relative;
    }
    
      #head h1 {
        height: 50px;
        left: 20px;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 40px;
        width: 392px;
      }
        
        #head h1 a {
          text-decoration: none;
        }
          
          #head h1 a img {
            border: 0;
            height: 50px;
            width: 392px;
          }
    
    body.home #feature {
      height: 300px;
      margin-top: 1px;
      position: relative;
    }
      
      body.home #feature div.info {
        bottom: 10px;
        position: absolute;
        right: 11px;
        text-align: right;
        width: 250px;
      }
      
        body.home #feature div.info div.margin {
          margin: 10px;
        }
        
          body.home #feature div.info a {
            text-decoration: none;
          }
          
          body.home #feature div.info .name {
            margin-top: .75em;
          }
          
          body.home #feature div.info .category {
            margin-bottom: .5em;
          }
    
    #gallery {
      height: 400px;
      margin-top: 1px;
      position: relative;
    }
    
    #main {
      border-bottom: 1px solid #666;
      display: inline;
      float: right;
      margin-bottom: 40px;
      margin-right: 165px;
      margin-top: 20px;
      position: relative;
      width: 460px;
    }
    
    .interiorNormal #main, .interiorForm #main {
      border-top: 1px solid #666;
    }
    
    #sub {
      display: inline;
      float: left;
      margin-left: 20px;
      margin-top: 30px;
      position: relative;
      width: 230px;
    }
    
      /*
        TODO refactor
      */
      #sub.gallery {
        text-align: right;
      }
      
        #sub.gallery h3 {
          margin-top: 0;
        }
        
        #sub.gallery p, #sub.gallery h3 {
          margin-bottom: .3em;
        }
      
      .content hr.redLine {
        background-color: #9C2616; /* #8E1B0E */
        color: #9C2616;
      }

    #foot {
/*      background: transparent url(../images/foot.png) no-repeat left top;*/
      clear: both;
      font-size: 12px;
      padding-top: 1em;
      position: relative;
    }
      #foot * {
        position: relative;
        z-index: 1;
      }
      
      #footBackground {
        height: 11px;
        position: absolute;
        top: 0;
        width: 900px;
        z-index: 0;
      }
    /*
    
    Interior layout
    */
    body.interiorNormal #main {
      margin-right: 20px;
      margin-top: 30px;
      width: 575px;
    }
    
    body.interiorNormal #sub {
      margin-left: 0px;
      width: 250px;
    }
    
      .interiorNormal {
        border-bottom: 1px solid #333;
      }

    /*
    
    
    Interior Layout for the pages with forms
    */
    body.interiorForm #main {
      margin-right: 20px;
      margin-top: 30px;
      width: 460px;
    }

    body.interiorForm #sub {
      margin-left: 0px;
      width: 320px;
    }
    
/*


News
*/
.newsItem {
  border-top: 1px solid #333;
}
/*


Type
*/
body .content {
  color: #999;
}

.content a {
  color: #fff;
}

.content a:hover {
  color: #fff;
  text-decoration: underline;
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
  color: #fff;
}

/*

Navigation
*/
ul#navPrimary {
  bottom: 0;
  font-size: 20px;
  height: 70px;
  line-height: 70px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 10px;
  text-transform: uppercase;
  width: 400px;
}

  ul#navPrimary li {
    display: inline;
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    width: auto;
  }
  
    ul#navPrimary li a {
      color: #999;
      display: block;
      margin: 0;
      padding: 0 .7em;
      text-decoration: none;
    }
    
    ul#navPrimary li a:hover {
      color: #fff;
      text-decoration: underline;
    }
  

ul#navFoot {
  
}

  ul#navFoot li {
    display: inline;
    list-style: none;
  }
  
    ul#navFoot li a {
      padding: 1em;
      text-decoration: none;
    }
    
    ul#navFoot li a:hover {
    
    }

ul.navNews {
  margin: 0 0 1em 0;
  padding: 0 0 1em 0;
  text-align: right;
  width: 100%;
}

body.interiorNormal ul.navNews {
  padding-top: 1em;
  text-align: left;
}
  
  body.interiorNormal ul.navNews li {
    line-height: 1.25em;
    padding: 0 1em .5em 1em;
  }

  ul.navNews li {
    display: block;
    margin: 0;
    list-style: none;
  }
  
  .noMarginTop {
    padding: 0;
    margin-top: 0 !important;
  }
  
  ul.navNews li:first-child h5 {
    margin-top: 0;
  }
  
    ul.navNews li a {
      margin: 0;
      padding: 0;
      text-decoration: none;
      width: 100%;
    }
    
ul#navTop {
  font-size: 12px;
  height: 30px;
  line-height: 30px;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 10px;
  text-transform: uppercase;
  top: 0;
}
  
  ul#navTop li {
    display: inline;
    list-style: none;
    margin: 0;
    padding: 0;
  }
    
    ul#navTop li a {
      color: #999;
      padding: .5em;
      text-decoration: none;
    }
    
    ul#navPrimary li a.active, ul#navTop li a.active {
      color: #fff;
    }
    
    ul#navTop li a:hover {
      color: #fff;
      text-decoration: underline;
    }

/* special boxes used throughout the site */
.box {
  position: relative;
  color: #fff;
  z-index: 1;
}
  
  .box * {
    position: relative;
    z-index: 2;
  }
  
  .box div.background {
    background: #000;
    border-bottom: 1px solid #666;
    border-top: 1px solid #666;
    height: 100%;
    left: 0;
    opacity: .75; /* also manually written to the js class */
    position: absolute !important;
    width: 100%;
    top: 0;
    z-index: 1;
  }
/*


Gallery / Projects / Horizontal Slider
*/
/* from the horizontal prototype */
#gallery {
  height: 420px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
  
  #scroller {
    height: 400px;
    padding: 0; /* used to be l/r 170px */
    position: absolute;
  }
    
    #scroller a.picture {
      float: left;
/*      height: 324px;*/
      height: 400px;
      text-decoration: none;
    }
    
      #scroller img {
        border: 0;
        height: 400px;
      }
  
  #scrollerBar {
    background: url(../images/slider-track.png) repeat-x;
    bottom: 0px;
    height: 25px;
    position: absolute;
    width: 100%;
  }
  
    #scrollerHandle {
      background: url(../images/slider-handle-right.png) no-repeat right top;
      cursor: move;
      height: 20px;
      padding-right: 10px;
    }
      
      #scrollerHandleLeft {
        background: url(../images/slider-handle-left.png) no-repeat left top;
        height: 20px;
      }
      
      #scrollerHandle:hover {
        
      }
  
  #left {
    left: 10px;
  }
  
  #right {
    right: 10px;
  }
    
    #gallery .box {
      position: absolute;
      top: 10px;
      width: 150px;
    }
  
    #gallery .box h3 {
      border-bottom: 1px solid #8E1B0E;
      font-size: 14px;
      margin: 1em 10px 0 10px;
      padding-top: .5em;
      text-transform: uppercase;
    }
  
    ul.nav {
      font-size: 13px;
      margin: 0;
      padding: 1em 0;
      width: 100%;
    }
      
      ul.nav li {
        line-height: 1.15em;
        list-style: none;
        padding: 0;
        width: 100%;
      }
      
      ul.nav li.multiLine {
        line-height: 1.15em;
      }
      
        ul.nav li a, ul.nav li a.normal {
          color: #ccc;
          display: block;
          padding: 0 10px;
          margin: .5em 0 0 0;
          text-decoration: none;
        }
        
        ul.nav li a:hover {
          background: #000;
          text-decoration: underline;
        }
        
        ul.nav li a.active {
          color: #fff;
          font-weight: bold;
        }

/* used in the gallery, rule, guide, center line */
/*
#centerLine {
  background-color: #f0f;
  height: 100%;
  left: 50%;
  position: absolute;
  top: 0px;
  width: 1px;
  z-index: 9999;
}
*/
/*


Careers, Form, CareerApplicationFormShell
*/
.career {
  border-top: 1px solid #666;
  font-size: 12px;
}

#sub {
  
}

  #sub form {
    margin: 0 10px 10px 10px;
  }

  #sub form h4 {
    margin-top: 0px;
    padding-top: 1em;
  }
  
  #sub form input.text, #sub form select, #sub form textarea {
    background: url(../images/form-bg.png) no-repeat;
    color: #555;
    font-family: sans-serif;
    font-size: 12px;
    padding-bottom: .5em;
    padding-top: .5em;
  }
  
  #sub form select {
    padding: 0;
  }
  
    #sub form select option {
      padding-bottom: .15em;
      padding-top: .15em;
    }
  
  #sub form input.text:focus, #sub form select:focus, #sub form textarea:focus {
    background: url(../images/form-bg.png) no-repeat left -200px;
    color: #000;
  }
  
  form label {
    color: #999;
  }
  
  #sub div.columns label {
    display: inline;
    float: left;
    width: 80px;
    text-align: right;
  }
  
  #sub div.columns input, #sub div.columns select {
    display: inline;
    float: left;
    margin-left: .5em;
    width: 200px;
  }
  
  #sub form br {
    clear: both;
  }
  
  #sub div.fullWidth label, #sub div.fullWidth input, #sub div.fullWidth select, #sub div.fullWidth textarea {
    width: 95%;
  }
  
  #sub div.fullWidth textarea {
    height: 100px;
  }
  

/*


Misc
*/
#cocoDesign {
  background: url(../images/coco-design.png) no-repeat;
  display: block;
  height: 16px;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 52px;
}

  #cocoDesign span {
    display: none;
  }

* {
  margin: 0;
  padding: 0;
}

img {
  border: 0;
}
/*


Comes in Handy Sometimes
*/
.NoMargin {
  margin: 0 !important;
}
.clear, .clearme {
  clear: both;
}


/*


Default styles for BrainBuster logic captcha
*/
#captcha {
  margin: .5em 0 .5em 0;
  font-size: 13px;
}

#captcha_answer {
  margin-left: .5em;
}

.captcha_failed input {
  border-style: inset;
  border-color: red;
  border-width: 3px;
}