/* Common */
body,table,input,select,textarea { 
  font-family: Trebuchet MS, Arial, sans-serif; 
  font-size: 100%;
  line-height: 1.125em;
}

/* Remove padding and margin */
*
{
  margin: 0;
  padding: 0;
  border: 0;
}

body {   
  color: #000;  
  background: #463056 url('../images/i-background.gif') repeat-x;
}

h1 {
  display: block;
  background: #5d4073 url("../images/i-title.gif") repeat-x;
  line-height: 50px;
  font-size: 1.25em;
  color: #ffc937;
  padding: 0 30px;
  text-transform: uppercase;
}

h2 {
  margin: 10px 0;
  font-size: 1.125em;
  color: #5d4073;
  border-bottom: #dfd9e3 solid 1px;
  padding: 0 0 4px 0;
  text-transform: uppercase;
}

h3 {
  font-size: 1.125em;
  text-transform: uppercase;
  line-height: 30px;
  margin: 0 0 10px 0;
}

h4 {
  font-size: 0.875em;
}

h5 {
  font-size: 0.875em;
  font-weight: bold;
  text-transform: uppercase;
  color: #FFC937;
}

p { 
  margin: 1em 0;
  font: normal 0.875em Arial, Helvetica, sans-serif;  
}

#content ul, #content ol {
  margin: 1em 1.75em 1.5em 1.75em;
  font: normal 0.875em Arial, Helvetica, sans-serif; 
}

#content li {
  margin: 0 0 0.5em 0;
}

#content a {
  color: #5d4073;
}

#content a:hover {
  color: #ffc937;
}

dl.col {
  font-size: 0.875em;
  margin: 0 0 20px 0;
}

dl.col dt { 
  float: left; 
  width: 5em;
  font-weight: bold;
  text-transform: uppercase;
}

dl.col dd { 
  margin-left: 6em;
}

dl.col-wide dt { 
  width: 9em;
}

dl.col-wide dd { 
  margin-left: 10em;
}


.clear:after {
  content: ".";
  height: 1px;
  display: block;
  clear: both;
  visibility: hidden;
}

.clr {
  clear: both;
}

.clr-left {
  clear: left;
}

.right {
  float: right;
}

.left {
  float: left;
}

img.left {
  margin: 0 30px 30px 0;
  border: #ccc solid 1px;
}

/* messages / errors box */
.Msg {
  margin: 1em 0;
}

.Msg ul {
  padding: 0.5em;
  list-style-type: none;
}

.Messages ul {
  border: 1px solid darkblue;
  background-color: lightblue;
}

.Errors ul {
  border: 1px solid darkred;
  background-color: pink;
}

/* Layout */

#constrain {
  width: 1080px;
  margin: 0 auto;
}

#header {
  height: 141px;
  background: transparent url('../images/i-header.png') no-repeat;
  padding: 50px 0 0 60px;
}

#header img {
  display: block;  
}

  /* Navigation */
  
    /* Main Nav */
    
    #main-nav {
      padding: 0 0 0 19px;
    }
    
    #main-nav li {
      list-style: none;
      display: inline;
    }
  
    #main-nav a {
      text-decoration: none;
      color: #5d4073;
      text-transform: uppercase;
      font-size: 0.875em;
      font-weight: bold;
      line-height: 32px;
      padding: 0 8px;
      display: block;
      float: left;
    }
    
    #main-nav a:hover {
      background: #ccc url('../images/i-mainnav-hover.gif') repeat-x;
    }
  
    /* Footer Nav */
    
    #footer ul.nav-bottom {
      text-align: center;
    }
  
    #footer li {
      list-style: none;
      display: inline;
    }
  
    #footer li a {
      text-decoration: none;
      color: #fff;
      text-transform: uppercase;
      font-size: 0.75em;
      border-right: #fff solid 1px;
      padding: 0 5px 0 3px;
    }
    
    #footer li a.last {
      border: none;
    }
    
    #footer a:hover {
      text-decoration: underline;
      color: #ffc937;
    }

  /* Footer */
  
  #footer-contact {
    background: #463056 url('../images/i-contact.gif') repeat-x;
    padding: 20px 30px 0 30px;
    min-height: 50px;
  }
  
  #footer-contact dl {
    margin: 0;
  }
  
  #footer-contact dl.col dt {
    color: #ffc937;
  }
  
  #footer-contact dl.col dd {
    color: #fff;
  }
  
  #footer-contact a {
    color: #fff;
  }
  
  #footer-contact a:hover {
    color: #ffc937;
  }
  
  .column {
    width: 260px;
    float: left;
    margin: 0 30px 0 0;
  }
  
  .column-wide {
    width: 520px;
    float: left;
    margin: 0;
  }
  
  .column-narrow {
    width: 205px;
    float: left;
    margin: 0 10px;
  }
    
  #footer {
    background: transparent url('../images/i-footer.gif') no-repeat;
    padding: 40px 60px 20px 60px;   
  }
  
  /* Author */
  
  #author {
    text-align: center;
  }
  
  #author a {
    text-decoration: none;
    color: #7d668f;
    font-size: 0.75em;
  }  
  
  #affiliates {
    text-align: center;
    background-color: #fff;
    display: block;
    width: 290px;
    margin: 0 auto;
  }
  
  #affiliates img {
    margin: 0 3px;
  }
  
/* Content */

#content {
  background: transparent url('../images/i-shadow.gif') repeat-y;
  padding: 0 60px;
}

#content .textarea {
  padding: 20px 30px;
  min-height: 140px;
}

#content .narrow {
  margin: 0 320px 0 0;
}

#content .side-column {
  float: right;
  width: 290px;
  margin: 30px 30px 0 30px;
}

  /* Buttons */

  #content a.button {
    background: transparent url('../images/g-button-r.gif') no-repeat scroll top right;
    color:#fff;
    display: block;
    float: left;    
    font: bold 1em 'Trebuchet MS', Arial, sans-serif;
    text-transform: uppercase;
    height: 30px;    
    margin:5px 6px 5px 0;
    padding-right: 5px; /* sliding doors padding */
    text-decoration: none;    
  }

  #content a.button span {
    background: transparent url('../images/g-button-l.gif') no-repeat;
    display: block;
    line-height: 30px;
    padding: 0 8px 0 15px;
  }

  #content a:hover.button {
    background-position: bottom right;
  }

  #content a:hover.button span {
    background-position: bottom left;
  }  
  
  /* CTAs */
  
  .cta-consultation {
    background: #dfd9e3 url('../images/g-cta-consultation-t.gif') no-repeat;
    width: 290px;
    float: right;
    margin: 0 0 30px 15px;    
  }
  
  .cta-consultation h3 {
    text-align: right;
    margin: 0 20px 0 0;
  }
  
  .cta-consultation p {
    background-color: #f2f2f2;
    padding: 10px;
    margin: 0 20px 10px 20px;
  }
  
  #content a.button-cta-consultation {
    background: transparent url('../images/g-button-cta-consultation.gif') no-repeat;
    line-height: 26px;
    display: block;
    color: #000;
    text-decoration: none;
    text-align: right;
    text-transform: uppercase;
    padding: 0 40px 0 0;
  }
  
  #content a:hover.button-cta-consultation {
    background-position: left bottom;
    color: #2f203a; 
  }
  
  .cta {
    width: 290px;
    margin: 0 15px 0 0;
    float: left;
  }
  
  .last {
    margin: 0;
  }
  
  .cta-inner {
    background: #5d4073 url('../images/g-cta.gif') no-repeat;
    display: block;    
    height: 114px;
  }
  
  #content .cta p {
    font-size: 0.875em;
    color: #fff;
    padding: 20px 0 20px 20px;
    margin: 0;
  }
  
  .cta img {
    margin: 0 0 0 20px;
  }
  
  #content a.button-cta {
    background: transparent url('../images/g-button-cta.gif') no-repeat;
    line-height: 26px;
    display: block;
    color: #000;
    text-decoration: none;
    text-align: right;
    text-transform: uppercase;
    padding: 0 40px 0 0;
  }
  
  #content a:hover.button-cta {
    background-position: left bottom;
    color: #2f203a; 
  }
  
  #content .side-column .cta {
    margin-bottom: 30px;
  }
  
p.highlight {
  background-color: #dfd9e3;
  padding: 20px;
  font-weight: bold;  
}

.column-narrow p.highlight {
  padding: 8px;
}

.column img {
  border: #dfd9e3 solid 1px;
}
