body {
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: #fff;
    padding: 0;
    margin: 0;
    background-image: url("images/marble-background.jpg");
    font-size: 1em;
    font-weight: 300;
    margin-bottom: 3em;
}

#background-dontyoumove {
    position: static;
    height: 0px;
    width: 0px;
    overflow: visible;
}

#background-image {
    /*background-image: url("images/dixiechicks-background.png");*/
    background-size: cover;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

#background {
    position: relative;
    width: 100%;
    z-index: 2;
    overflow: visible;
}

.page, .page-with-logo {
    padding-top: 10%;
    width: 70%
    max-width: 600px;
    margin: 0 auto;
}

.page-with-logo {
    padding-top: 5%;
}

#page2 {
    display: none;
}

#logo-wrapper {
    display: block;
    width: 100px;
    height: 100px;
    margin: 1em auto;
}

#itunes-logo {
    width: 100px;
    height: 100px;
    border: 0;
}

#spotify-logo {
    height: 100px;
    width: 82px;
    border: 0;
}

.page h1, .page-with-logo h1 {
    display: block;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 400;
}

.page h2, .page-with-logo h2 {
    text-align: center;
    margin: 1em auto;
    width: 50%;
    margin: 1em auto;
    border: 1px solid #fff;
    background-color: #4D4D51;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 300;
    font-size: 1.6rem;
    color: #fff;
}

.pagecontent {
    width: 70%;
    margin: 0 auto;
    letter-spacing: 1px;
    text-align: center;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 767px),
(min-device-width: 720px) and (max-device-width: 720px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait),
(min-device-width: 720px) and (max-device-width: 720px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape),
(min-device-width: 1280px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape),
(min-device-width: 768px) and (max-device-width: 1024px) {
    .page h1, .page-with-logo h1 { width: 98%; }
    .page h2, .page-with-logo h2 { width: 98%; }

    .pagecontent { width: 98%; }
}

a {
    color: #fff;
}

a:hover {
    color: #d5d9ce;
}

.pagebutton {
    margin-top: 1em;
    font-size: 1.4rem;
    padding: 0.5em 1em;
    color: #232323;
    border: 0;
    background-color: #0ff;
    width: 30%;
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
}

.pagebutton:hover {
    color: #232323;
    background-color: #0ee;
}

#page1 .pagebutton {
    min-width: 290px;
}

#page2 .pagebutton {
    font-size: 0.9rem;
}

#page1 .pagebutton.custompage {
    font-size: 0.9rem;
}


#instructionsbutton {
    margin-top: 1em;
    font-size: 1.4rem;
    padding: 0.5em 1em;
    color: #232323;
    border: 0;
    background-color: #0ff;
}

.contenthighlight {
    font-size: 1.1em;
    font-weight: 400;
}

#pagewrapper {
    padding-top: 1%;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}

#testing-page {
    width: 100%;
}

#testing-page fieldset {
    position: relative;
    border: 0;
    margin: 0.7em 0;
}

#testing-page fieldset div.fieldset-background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.3;
}

#controls-wrapper {
    position: relative;
    width: 100%;
}

.controls-header {
    text-align: center;
    text-transform: lowercase;
    padding-top: 0.2em;
    font-size: 1.4em;
    font-weight: 300;
    letter-spacing: 2px;
}

.controls {
    display: table;
    width: 100%;
}

.controls .buttons {
    display: table-row;
    width: 100%;
}

.controls .tablespacer {
    display: table-row;
    height: 5px;
}

.controls .buttons div {
    display: table-cell;
    width: 33%;
}

.controls .buttons div {
    text-align: center;
}

.controls .buttons div button {
    line-height: 1.8em;
    position: relative;
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 1.2em;
    width: 80%;
    font-weight: 300;
}

.controls .buttons div button:disabled {
    border: 1px solid #ccc;
    background-color: transparent;
    color: #ccc;
    opacity: 0.8;
}

.controls .buttons div button:disabled div {
    opacity: 0.4;
}

.controls .buttons div button div {
    z-index: -1;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #ccc;
    opacity: 0.1;
}

.controls .buttons div button:hover div {
    opacity: 0.3;
}

.controls .buttons div button.selected div, .controls .buttons div button.selected:hover div {
    background-color: #c00;
    opacity: 1;
}

.controls .buttons div button#next {
    text-transform: lowercase;
}


#album-details {
    padding-bottom: 1em;
}

#thumbnail {
    width: 80px;
    height: 80px;
    margin: 0px auto;
    padding-bottom: 0.5em;
}

#thumbnail img {
    width: 80px;
    height: 80px;
}

#thumbnail-hider {
    width: 0px;
    height: 80px;
    overflow: hidden;
}

#title {
    width: 100%;
    line-height: 2.3em;
}

#title span {
    text-align: center;
    display: block;
    clear: both;
}

#trackname {
    font-size: 1.6em;
}

#artistname {
    text-transform: uppercase;
    font-size: 1.2em;
}

span.smalltext {
    font-size: 0.6em;
}

span.smallishtext {
    font-size: 0.8em;
}

#completion-counter {
    margin: 1.5em auto 0 auto;
    width: 50%;
    padding: 0.2em;
    position: relative;
    border: 2px solid white;
    text-align: center;
    font-size: 1.2em;
}

#completion-counter div {
    z-index: -1;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.2;
}

.hidden {
    display: none;
}

#results-pane, #finalscores-pane {
    display: none;
    position: absolute;
    top: 10em;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#finalscores-pane {
    top: 1em;
}

#results-header, #finalscores-header {
    padding: 0.5em;
    font-size: 2em;
    text-align: center;
    font-weight: 400;
}

#finalscores-hungry {
    padding-top: 0.5em;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 400;
}

#results-wrapper, #finalscores-wrapper {
    position: relative;
    width: 350px;
    margin: 0 auto;
}

#results-body, #finalscores-body {
    position: relative;
    z-index: 100;
    padding: 1em 1em 3em 1em;
}

.results-line, .finalscores-line {
    padding-top: 1em;
    text-align: center;
    width: 100%;
}


#results-percentcorrect, #finalscores-percentcorrect {
    font-size: 1.1em;
}

#results-summary, #finalscores-summary {
    padding: 1em;
    text-align: center;
    padding: 1em;
}

#results-canihearit, #finalscores-canihearit {
    text-align: center;
    width: 100%;
    display: block;
    clear: both;
    font-size: 3em;
    font-weight: 500;
}

#finalscores-canihearit {
    font-size: 2.2em;
}

#results-pane .obscurer, #finalscores-pane .obscurer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 1;
    z-index: 99;
    border: 1px solid #ddd;
}

#finalscores-table {
    display: table;
    padding: 1em;
}

.finalscores-tablerow {
    display: table-row;
}

.finalscores-firstrow {
    font-weight: 600;
    font-size: 1.1em;
}

.finalscores-tableheader, .finalscores-tablecol {
    display: table-cell;
    padding: 4px;
}

.continue, .alt-continue {
    display: block;
    position: relative;
    line-height: 1.8em;
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 1.2em;
    width: 80%;
    margin: 0 auto;
    font-weight: 300;
    text-transform: uppercase;
    margin-top: 0.4rem;
}

.pvalue-helper, .randomlikelihood-helper {
    display: none;
    position: absolute;
    z-index: 200;
    top: 1em;
    left: 0;
    padding: 1em;
    background-color: #555;
    color: #eee;
    font-weight: 300;
    font-size: 1rem;
}

.pvaluewrapper {
    display: none;
    overflow: visible;
    position: absolute;
    width: 100%;
    top: 0;
}
.pvalue-hoverer, .randomlikelihood-hoverer {
    border: 0;
    background-color: transparent;
    color: #fff;
    text-decoration: underline;
    font-size: 1rem;
}

.pvalue-helper-closer, .randomlikelihood-helper-closer {
    position: absolute;
    text-decoration: underline;
    top: 2px;
    right: 2px;
}

.pvalue-helper-content, .randomlikelihood-helper-content {
    text-align: left;
    font-size: 0.9em;
}

#footerwrapper {
    position: fixed;
    bottom: 0.5em;
    width: 100%;
}

#footer, #footer a {
    margin-top: 5em;
    text-align: center;
    letter-spacing: 1px;
    font-size: .8em;
    color: #555555;
}

#footer a:hover {
    color: #ff977c;
}

.footnotes {
    text-align: left;
    margin-top: 2em;
    border-top: 1px solid #bbb;
    font-size: 0.8em;
}

#faq {
    display: none;
    width: 70%
    max-width: 600px;
    margin: 0 auto;
}

.faqcontent {
    width: 70%;
    margin: 0 auto;
    letter-spacing: 1px;
    text-align: left;
}

.footnote {
    vertical-align: super;
    font-size: .7em;
}

#abxinstructionswrapper {
    width: 100%;
    display: none;
    position: absolute;
    z-index: 200;
    top: 1em;
    left: 0;
}

#abxinstructionsinner {
    position: relative;
    padding: 1em;
    background-color: #555;
    color: #eee;
    font-weight: 300;
    font-size: 1rem;
    width: 60%;
    margin: 0 auto;
}

#abxinstructions-closer {
    position: absolute;
    text-decoration: underline;
    top: 2px;
    right: 2px;
}

#abxinstructionsinner td, #abxinstructionsinner th {
    padding-right: 1.5em;
}
#no-ie {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 0 0 1em 1em;
    background-color: #cccccc;
    color: #000;
    background: rgb(201,201,201); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(201,201,201,1) 0%, rgba(234,234,234,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(201,201,201,1)), color-stop(100%,rgba(234,234,234,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(201,201,201,1) 0%,rgba(234,234,234,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(201,201,201,1) 0%,rgba(234,234,234,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(201,201,201,1) 0%,rgba(234,234,234,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(201,201,201,1) 0%,rgba(234,234,234,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c9c9c9', endColorstr='#eaeaea',GradientType=0 ); /* IE6-9 */

}

#no-ie > div {
    padding: 0.5em 1em;
}

#no-ie > div > #no-ie-message {
    width: 70%;
    margin: 0 auto;
    text-align: center;
}

#no-ie a {
    color: #000;
    display: block;
    margin: 0 auto;
}

#no-ie a:hover {
    color: #525252;
}

#no-ie ul {
    display: table;
    width: 100%;
}

#no-ie ul li {
    display: table-cell;
    width: 50%;
}

#loader {
    display: none;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    padding-top: 10%;
}

#nodata-error {
    font-size: 1.2em;
    border: 1px solid white;
    background-color: #3a3a3a;
    border-radius: 1em;
    width: 300px;
    margin: 0 auto;
    padding: 2em;
    margin-top: 10%;
    color: white;
}

.numresults-wrapper {
    overflow: visible;
}

.numresults-wrapper-body {
    position: relative;
}

.numresults-wrapper-body {
    position: relative;
}

.numresults-switcher {
    display: table;
    width: 100%;
}

.numresults-switcher-column {
    display: table-cell;
    width: 50%;
}

.percentlikelihoodwrapper {
    position: absolute;
    width: 100%;
    top: 0;
}

.finalscores-pvalcolumn {
    display: none;
}


#share-to-facebook-post-scores {
    position: relative;
    width: 40px;
    height: 40px;
    overflow: visible;
}

#share-to-facebook-post-scores div {
    position: absolute;
    display: table;
    top: 0px;
    left: 0px;
    height: 40px;
    width: 40px;
}

#sociallinks-general {
    position: absolute;
    top: 1em;
    right: 1em;
}

#share-scores {
    display: block;
    line-height: 1.8em;
    color: #fff;
    font-size: 1.2em;
    width: 100%;
    text-align: center;
    font-weight: 300;
    margin-top: 0.4rem;
}

#share-scores-buttons {
    margin-top: 7px;
}