body {
    background: #F5F5F5;
    color: #333;
    letter-spacing: 0.03em;
}

a {
	color: #0070B7;
}

a:hover {
    color: #015e9a;
}

header {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: #FFF;
    box-shadow: 0 3px 3px #EEE;
    margin-bottom: 4rem;
}

footer {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: #333;
    margin-top: 4rem;
}

#menu-footer-nav {
    margin-top: .5rem;
}

footer#site-footer a {
    color: #EEE;
}

footer#site-footer a:hover {
    color: #999;
}

#candle {
    margin-top: 1rem;
    display: block;
}

.logo-container img {
    height: 50px;
}

#header-nav ul {
    list-style: none;
}

.menu#menu-header-nav {
    flex-direction: row-reverse;
}

#header-nav ul li {
    display: inline-block;
}

#header-nav ul {
    margin-top: .5rem;
    margin-bottom: 0
}

#site-header h1 {
    font-size: 24px;
    padding-top: 1.5rem;
    color: #333;
}

.diagnostic-introduction {
    margin-bottom: 2rem;
    text-align: left;
    padding: 1rem 2rem;
    background-color: #EFEFEF;
    border: solid 1px #DDD;
    border-radius: 25px;
}

.button#download-report {
    padding: 1.5rem;
    border-radius: 25px;
    font-size: 1.5em;
    font-weight: bold;
}

.button#download-report i {
    font-size: 2em;
    vertical-align:middle;
    margin-right: 1rem;
}


.diagnostic-download-intro {
    margin-bottom: 2rem;
    text-align: left;
    padding: 0 2rem;
    border-radius: 25px;
}

.callout {
    border: solid 1px #0EB2DC;
    border-radius: 25px;
    box-shadow: 5px 5px 5px #EEE;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 2rem;
    font-weight: bold;
}

h2 {
    font-weight: bold;
    font-size: 2.5em;
    line-height: 1.2em;
    margin-bottom: 2rem;
}

#section_container {
    overflow: hidden;
}
.section {
    float: left;
    text-align: center;
    box-sizing: border-box;
    position: relative;
}
.overflow-hidden {
    overflow: hidden;
}
input.warning {
    border: solid 1px #C00;
}

.callout.fields {
    padding-top: 4rem;
    padding-bottom: 3rem;
}

.callout.diagnostic {
    padding: 4rem 2rem 2rem;
}

.callout.fields input, .callout.fields select, .callout.fields textarea {
    border: solid 1px #0EB2DC;
    text-shadow: none;
}

.callout.fields label {
    margin-top: 0.5em;
}

.smallprint {
    color: #999;
    font-size: 0.6em;
    display: block;
    clear: both;
}

.question table thead th {
 background-color: #0EB2DC;
}

.question table thead th.question-title {
    background-color: transparent;
}



.question table thead th.th-answer-option_1 {
    color: #FFF;
    border: solid 2px #FFF;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.question table thead th.th-answer-option_2 {
    color: #FFF;
    border: solid 2px #FFF;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.question table thead th.th-answer-option_3 {
    color: #FFF;
    border: solid 2px #FFF;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.question table thead th.th-answer-option_4 {
    color: #FFF;
    border: solid 2px #FFF;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#back:hover {
    color: #999;
}

.answer-text {
    padding-top: 0.5rem;
    display: block;
}

.button:hover, .button:active, .button:focus {
    background-position: -100% 0;
    text-decoration: none;
}


.index-item h3 {
	font-size: 1em;
	font-weight: bold
}

.index-item {
	font-size: 0.8em;
	text-align: left
}

.index-item img {
	margin-bottom: 1rem;
}

.progressbar .progress {
	background: #CCC;
	background: rgba(0,0,0,.1);
}

.progressbar .progress-meter {
	background: #ea5310
}

#scorecard-intro-text {
    max-width: 34rem;
}

.question table {
    margin: 2rem 0;
}

.question table thead {
    background-color: transparent;
    border: none;
}

.question table thead th, .question table tbody td {
    text-align: center;
    border: solid 1px #EEE;
}

.question table tbody td.question-text {
    text-align: left;
    border-left: solid 2px #EEE;
}

tbody td.question-text p:last-of-type {
    margin-bottom: 0
}

.question thead .question-title {
    border: none;
}

table tbody tr:nth-child(2n) {
    border-bottom: 0;
    background-color: #f8f8f8;
}

table tbody tr td:nth-child(2n) {
    background-color: rgba(0,0,0,.025)
}

.question input {
    display: none;
}
.question label {
    display: block;
    background: transparent url('../images/uncheck.png') no-repeat center center;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 auto;
    font-size: 1em;
    clear: both;
    overflow: hidden;
    width: 100%;
    height: 35px;
    vertical-align: middle;
    background-size: 25px 25px;
}
.question label:hover {
    background: #EEE url('../images/uncheck.png') no-repeat center center;
    background-size: 25px 25px;
}
.question input[type="radio"]:checked+label {
    background: transparent url('../images/check.png') no-repeat center center;
    background-size: 25px 25px;
}

.quiz-navigation {
    overflow: hidden;
    clear: both;
}

.progressbar p {
    line-height: 1
}

.question-validation {
    color: #C00;
    font-style: italic;
    display: none;
    font-size: 0.8em;
}

.needsanswer .question-validation {
    display: block;
}

.question label .answer-text {
    display: none;
}

@media screen and (max-width:39.9375em) {
body, #site-header h1 {
    font-size: 16px;
}
h2 {
    font-size: 25px;
}
.answer-text {
    padding-top: 0;
}
#mainbody {
    margin-top: 1rem;
	padding-bottom: 3rem;
}
#logo {
    max-width: 75px;
    height: auto
}
h1 {
    display: none;
}

#mailinglist, #optin {
	margin-bottom: 0
}

.quickfield.medium-12 {
	margin-bottom: 1rem;
}

.quickfield.medium-12 label {
	line-height: 1.2em;
}

.progress-title, .progress-title p {
	margin-bottom: 0;
}

    #logo-container {
        width: 5rem;
        height: 5rem;
    }

    .button.alternate-scorecard img {
        top: 0.5rem;
    }

    .question label .answer-text {
        display: block;
    }

    .question label {
        width: 100%;
        height: auto;
    }

    .question input[type="radio"] + label {
        background-size: 10%;
        background-position: 95%;
    }

    .question input[type="radio"]:checked + label {
        background-size: 10%;
        background-position: 95%;
    }

    #section_container tbody {
        border: none
    }

    tr.question-answer {
        margin-top: 2rem;
    }

    tr.question-answer:first-of-type {
        margin-top: 0;
    }

    .question .question-text {
        background-color: #0EB2DC;
        color: #FFF;
    }

    .question .answer-text {
        max-width: 80%
    }

    .logo-container img {
        height: auto;
        max-height: 30px;
    }


    #footer-nav ul {
        margin: 1rem 0 -0.8rem;
    }

    #footer-nav li {
        width: 100%;
    }

    #footer-nav li a {
        padding: 0.5rem 0;
    }

}