html, body {
    height: 100%;
}

body {
    font-size: 12px;
    background: #fff;
    font-family: Arial, sans-serif;
    font-weight:400;
    font-stretch:normal;
    color: #666;
    position:relative;
}

.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -155px; /* the bottom margin is the negative value of the footer's height */
}
.footer, .push {
    height: 155px; /* .push must be the same height as .footer */
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
    line-height: 1.4em;
    margin-bottom: .8em;
}

h2 {
    font-size: 1.5em;
}


h1, #second h2 {
    color: #fff;
    font-size: 2em;
    margin-bottom: 2em;
    font-weight: 500;
    line-height: 1.1em;
}

h1, #second h2 em {
    font-family: Arial, sans-serif;
    text-transform: lowercase;
    font-weight: normal;
    color: #ffcc00;
}

h3 {
    font-size: 1.8em;
}

h4 {
    font-size: .8em;
    margin: 2em 0;
}

label,
legend.radio-set {
    margin: .5em 0;
    line-height: 1.25em;
    font-size: 1.5em;
    color: #666;
}

label.error,
legend.radio-set.error {
    font-size: 1em;
    font-weight: normal;
    color: #990000;
}
label.error a,
legend.radio-set.error a {
    font-size: 1em;
    font-weight: normal;
    color: #990000;
    text-decoration:none;
}

legend.radio-set {
    border: none;
}

select, input {
    width: 100%;
}

.radio, .checkbox {
    padding-left: 0px;
}

.checkboxes,
.radio-buttons  {
    font-size: 1.2em;
    margin: 7px 0 20px;
}

input[type="checkbox"],
input[type="radio"] {
    margin: 5px 10px 10px 0;
}

.checkboxes input[type="checkbox"],
.radio-buttons input[type="radio"] {
    float: left;
    margin-top: .7em;
}

.checkboxes label,
.radio-buttons label {
    float: left;
    width: 85%;
    margin: 4px 0;
    font-size: 1.25em;
}

.radio-option {
    clear: both;
}

.radio-option:last-child {
    margin-bottom: 2em;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.container img {
    padding: 15px 15px 15px 0;
}

ul,
ol {
  margin: 0 0 9px 15px;
}

.top {
    height: 65px;
}

#identity-bar {
    position:absolute;
    left:0;
    top:65px; /* This value is dependant on height of .top */
    width:100%;
    margin:0;
    padding:0;
    z-index:-1;
}

#identity-bar #background-image {
    height:340px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center 0;
}

.progress {
    box-shadow: none;
    padding-top:.5em;
}

.progress .bar {
    height: 200%;
    margin-top: -5em;
    background: none;
}

.progress-markers {
    margin: 10px 0 20px;
    position: relative;
}

#first .progress p.progress-percentage {
    text-align: right;
    position:relative;
    z-index:1000;
    font-size: 1em;
    font-style: italic;
    margin-right: 15px;
    line-height: 2em;
}

.progress-markers .s0,
.progress-markers .s1,
.progress-markers .s2 {
    display: block;
    position:absolute;
    background-color: #D7D7D7;
    background-image: none;
    border-radius: 0.75em;
    color: #FFFFFF;
    float: left;
    font-family: franklin-gothic-urw-cond;
    font-size: 0.8em;
    font-weight: bold;
    height: 1.5em;
    line-height: 1.5em;
    margin: 1px;
    margin-left: -2%;
    text-align: center;
    text-indent: 0;
    width: 1.5em;
}

h2#program-logo {
/*    text-indent:-99999px;*/
}
#program-logo img {
    padding: 0px;
    vertical-align:top;

}

#first .box {
    padding: 2em;
    margin-bottom: 1em;
    min-height: 500px;
    position:relative;
}

#first .box .span3 {
    width:44.2%;
}

#first p {
    font-size: 1.5em;
    padding-bottom: .8em;
}

#first p.privacy {
    float: left;
    font-size: 1em;
    font-style: italic;
    line-height: 33px;
    padding-right: 35px;
    position: absolute;
    bottom: 0.5em;
    background: url('../common-images/lock.png') 100% 0 no-repeat;
}

#second {
    margin-top: 306px;
}

#second p.about {
    color: #000;
    border-bottom: 1px solid #E2E2E2;
    font-family: Georgia,serif;
    font-style: italic;
    margin-bottom: 1.5em;
    padding-bottom: 1.5em;
}

#second .box {
    padding: 0 1em;
}

.small-logo {
    position: absolute;
    right: 2em;
}

#second .tabbable {
    margin-top: 0px;
}

#second .tabbable .nav {
    margin-bottom: 0;
}

#second .tabbable .nav li {
    list-style-image:none;
}

#second .tabbable .nav li a {
    font-size: 11.5px;
    font-weight: bold;
    line-height: 1.5em;
    text-align: center;
    color: #000;
    border: 1px solid #bebebe;
    margin-right: -1px;

    background: #e4e4e4; /* Old browsers */
    background: -moz-linear-gradient(top,  #e4e4e4 0%, #e2e2e2 50%, #cfcfcf 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e4e4e4), color-stop(50%,#e2e2e2), color-stop(100%,#cfcfcf)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #e4e4e4 0%,#e2e2e2 50%,#cfcfcf 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #e4e4e4 0%,#e2e2e2 50%,#cfcfcf 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #e4e4e4 0%,#e2e2e2 50%,#cfcfcf 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #e4e4e4 0%,#e2e2e2 50%,#cfcfcf 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4e4e4', endColorstr='#cfcfcf',GradientType=0 ); /* IE6-9 */
}

#second .tabbable .nav li.active a,
#second .tabbable .nav li a:hover {
    color: #fff;
}

#second .tabbable .tab-content {
    background: #fff;
    padding-top: 1em;
}

#second .tabbable .tab-content li {
    padding-bottom: 0.8em;
}

#second img {
    float: right;
    padding: 0.5em 0em 0.25em 2em;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16/9 ratio */
    padding-top: 30px; /* IE6 workaround*/
    height: 0;
    overflow: hidden;
}

.video-embed iframe,
.video-embed object,
.video-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer h3,
.footer h3 {
    font-size: 1em;
    text-align: left;
    padding-left: 20px;
}
footer p,
.footer p {
    font-size: .9em;
    padding-left: 20px;
}

.footnote {
    font-size: .95em;
}

/* Button overrides */

.btn {
    margin: 20px 0 40px;
    text-transform: uppercase;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
    outline: 0;
    background-position: 0;
}


/* Collapse styles */

#accordion2 {
    display:none;
}

.accordion-group {
    margin-bottom:0;
    border-radius:0;
    border: none;
}

.accordion-heading .accordion-toggle span {
    text-indent: -99999px;
    display:block;
    float:right;
}

.accordion-heading .accordion-toggle {
    color: #fff;
    outline: 0;
    font-size: 1.2em;
}

.accordion-heading .accordion-toggle:hover,
.accordion-heading .accordion-toggle:active {
    text-decoration: none;
}

.accordion-inner {
    padding-left:0;
    padding-right:0;
    background: #fff;
}
.accordion-inner li {
    padding-bottom: 0.8em;
}

 .visuallyHidden {
    border: 0 none;
    clip: rect(0px, 0px, 0px, 0px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
#validationSummary h3 {
    color:#990000;
    text-transform: none;
    font-size:1.4em;
}
input.error,select.error,text.error,checkbox.error{
    border:2px solid #990000;
}
h2#program-logo {
    font-size:2em !important;
}

/* Width specific styles */

@media (min-width: 980px) {
    #identity-bar #background-image {
       height: 276px;
    }

    #second {
        margin-top:241px;
    }
}

@media (max-width: 979px) and (min-width: 768px){
    #identity-bar #background-image {
        height: 212px;
    }

    #content {
        padding-left: 20px;
        background-color: rgba(255,255,255,0.6);
    }

    #second {
        margin-top:230px;
        margin-left: 10px;
    }

    #second img {
        float: none;
        padding: 10px;
        margin: 0 auto;
        display:block;
    }

    p, ul {
        font-size: 1em;
        line-height: 1.5em;
    }
    #first h2 {
        font-size: 1.8em;
    }
    #first p {
        font-size:1.4em;
    }
    label,
    legend.radio-set {
        font-size:1.2em;
    }
    .checkboxes label {
        font-size:1em;
    }
    .tabbable {
        display:none;
    }
    #accordion2 {
        display:block;
    }
    #first .progress p.progress-percentage {
        font-size: 1em;
    }
    #first .box .span3 {
        width: 94%;
    }

    div.container {
        width: 95%;
    }

    div#content.container {
        width: 95%;
    }
    div.container.footer {
        width: 95%;
    }
}

@media (max-width: 767px) {
    body {
        padding: 0;
    }
    body .row, footer {
        padding-left:40px;
        padding-right:40px;
    }
    p, ul {
        font-size: 1.1em;
    }
    #first .box {
        min-height: 100px;
    }

    #content {
        padding-left: 20px;
        background-color: rgba(255,255,255,0.75);
    }
    #first .box .row {
        padding-left:0;
        padding-right:0;
    }
    #first .box .span3 {
        width: 100%;
    }
    #first .progress p.progress-percentage {
        font-size: 1em;
    }
    #second {
        margin-top:0;
        margin-left: 0;
    }
    #second .box {
        padding: 0;
    }
    select {
        width:102%;
    }

    div.container {
        width: 95%;
    }

    div#content.container {
        width: 95%;
    }
    div.container.footer {
        width: 95%;
    }
}

@media (max-width: 700px) {
    #first h2 {
        font-size: 1.5em;
    }
    #first p {
        font-size: 1.2em;
    }
    #second p.about {
        display: none;
    }
    body .row, footer {
        padding-left:1em;
        padding-right:1em;
    }

    div.container {
        width: 95%;
    }

    div#content.container {
        width: 95%;
    }

    div.container.footer {
        width: 95%;
    }
}

@media (max-width: 480px) {
    select {
        width:104%;
    }

    div.container {
        width: 95%;
    }

    div#content.container {
        width: 95%;
    }

    div.container.footer {
        width: 95%;
    }
}

@media (max-width: 400px) {
    select {
        width:104%;
    }

    div.container {
        width: 95%;
    }

    div#content.container {
        width: 95%;
    }

    div.container.footer {
        width: 95%;
    }

    div.message {
        width: 95%;
    }
}
