/* general */
html {
    background-color: #eeeeee;
    overflow-y: scroll;
}
body,
input, select, textarea {
    font-family: arial, helvetica, tahoma;
    font-size: 14px;
    color: #6a6a6a;
}

p {
    margin-top: 1em;
}
.red {
    color: #ed1c24;
}
.green {
    color: #24a900;
}
.hidden {
  display: none;
}

#siteWrapper {
    width: 908px;
}

#siteInner {
  width: 100%;
  float: left;
  padding-bottom: 100px;
}

#contentWrapper-top {
    width: 868px;
    height: 8px;
    padding: 0 20px;
    margin: 0px auto 0 auto;
    background: url(../img/iat/bodyBg-top.png) no-repeat left top;
}

#contentWrapper {
    width: 868px;
    min-height: 550px; /* needs IE6 hack */
    padding: 0 20px 20px 20px;
    margin: 0px auto 0 auto;
    background: url(../img/iat/bodyBg-middle.png) repeat left top;
}

#contentWrapper-bottom {
    width: 868px;
    height: 8px;
    padding: 0 20px;
    margin: 0px auto 0 auto;
    background: url(../img/iat/bodyBg-bottom.png) no-repeat left top;
}

/* logo */
h1 a {
    display: block;
    width: 210px;
    height: 83px;
    text-indent: -8000px;
    background: url(../img/iat/logo.png) no-repeat left bottom;
}

/* content */
#content {
    clear: both;
    width: 644px;
    margin: 0 auto;
    line-height: 20px;
    padding-top: 70px;
}

#content.wide {
    width: auto;
}

#content h2 {
    color: #3e3e3e;
    font-size: 22px;
    margin-bottom: 30px;
}

#content .note {
    color: #868686;
    font-size: 12px;   
}

#content form {
    width: 400px;
    margin: 45px auto 0 auto;
}
#content form ul {
    border-top: solid 1px #bfbfbf;
}
#content form ul li {
    padding: 10px 0;
    border-bottom: solid 1px #bfbfbf;
}
#content form ul li label {
    display: inline-block;
    width: 150px;
}
#content form ul li label.secondary {
    width: auto;
    margin-right: 10px;
}



/* buttons */
.btn {
    display: block;
    width: 220px;
    height: 29px;
    padding-top: 9px;
    margin: 70px auto 0 auto;
    color: #fff;
    font-family: "helvetica neue", helvetica, arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    background: url(../img/iat/btnRed.png) no-repeat left top;
    text-shadow: 0px -1px 1px rgba(0, 0, 0, .8);
}
.btn:hover {
    color: #fff;
    text-decoration: none;
    background-position: left center;
}
.btn:active {
    color: #fff;
    background-position: left bottom;
}

/* homepage */
#content.home {
    margin-top: 140px;
    text-align: center;
}
#content.home h2 {
    font-size: 47px;
    color: #d23c2a;
    line-height: 50px;
    min-height: 100px; /* requires IE6 fix */
}
#content.home h3 {
    font-size: 37px;
    font-style: italic;
    color: #aeaeae;
}
#content.home .btn {
    margin-top: 100px;
}

/* intro */
#content.intro .note {
    margin-top: 90px;
}

/* test pages */
#content.test {
    width: auto;
    margin-top: 10px;
    padding-top: 0;
}

#content.test img {
    position: relative;
    z-index: 256;
}

/* demographic */
#content.demographic h2 {
    text-align: center;
}

/* results */
#content.results h2 {
    margin-bottom: 15px;
}
#content.results .panel {
    border-top: solid 1px #bfbfbf;
}
#content.results .panel .resultGraphics {
    margin: 18px auto;
    width: 453px;
    height: 130px;
    position: relative;
}
#content.results .panel .resultGraphics .label {
    position: absolute;
    width: 64px;
    text-align: center;
    font-weight: bold;
    color: #000;
}
#content.results .panel .resultGraphics img.background {
    position: absolute;
    margin: 0;
    top: 30px;
}
#content.results .panel .resultGraphics img.wedge {
    position: absolute;
    margin: 0;
    top: 50px;
}
#content.results .panel .resultGraphics .wedgeText {
    position: absolute;
    top: 70px;
    width: 100px;
    text-align: center;
    color: #0099cc;
}
#content.results .panel .resultGraphics .legend {
    position: absolute;
    top: 90px;
    color: #000;
    font-size: 13px;
}
#content.results .panel .resultGraphics .leftLegend {
    left: 0;
    text-align: left;
}
#content.results .panel .resultGraphics .rightLegend {
    right: 0;
    text-align: right;
}
#content.results .panel img {
    display: block;
    margin: 18px auto;
}
#content.results .panel p {
    padding: 8px;
    background-color: #eeeeee;
    line-height: 24px;
}
#content.results .panel p#textResult {
    font-weight: bold;
    color: #404040;
    line-height: 22px;
    background-color: #e1e1e1;
    -moz-border-radius-topleft: 5px;
    border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    border-top-right-radius: 5px;
}
#content.results .panel p#socialShare {
    text-align: right;
    margin-top: 1px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    border-bottom-right-radius: 5px;
}

#content.results .panel p a {
    display: inline-block;
    margin-left: 4px;
}

#content.results .panel p img {
    display: inline;
    margin: 0;
    vertical-align: middle;
}

#content.results .btn {
    margin-top: 50px;
}

#about-link { 
    text-align: right;
    font-size: 13px;
    font-weight: bold;
}

#about-link-left { 
    font-size: 13px;
    font-weight: bold;
}