.center {
    text-align: center;
    padding: 5px 0 40px;
}

h1.title {text-align: center}

.graphicButton[disabled=disabled] {
    opacity: 0.3;
}

#questions {
    width: 800px;
    text-align: center;
    min-height: 500px;
    margin: 0 auto;
    padding: 30px;
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#question-container {
    width: 800px;
    left: 0;
    margin-top: 40px;
    position: absolute;
}

#question-container i.loading {
    font-size: 100px;
    margin-top: 40px;
}

#content-main p.question {
    font-size: 1.4em;
    text-align: center;
    color: #888B8D;
    font-weight:bold;
}

p.question .hint {
    display: block;
    font-size: 12px;
}

.choiceButton:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.choiceButton:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.choiceButton, .graphicButton {
    font-size: 2em;
    background: linear-gradient(to bottom, #00c3f3 0%, #00b0ee 100%);
    border: none;
    color: #efefef;
    text-decoration: none;
    margin: 0 auto 10px;
    padding: 0.5em;
    width: 70%;
    text-align: center;
    display: block;
}

.choiceButton:hover,
.choiceButton:active,
.choiceButton:focus,
.continueButton:hover,
.continueButton:active,
.continueButton:focus,
.selectButton:hover,
.selectButton:active,
.selectButton:focus{

    text-decoration: none;
    color: #fff;
    outline:none;
    text-shadow: 0 0 5px #aaa;
}

.choiceSelect {
    font-size: 1.5em;
    line-height: 2em;
    height:2.8em;
    background: #FFF;
    border: none;
    color: #888B8D;
    text-decoration: none;
    margin: 0 auto 10px;
    padding-left: .5em;
    padding-right: .5em;
    width: 70%;
    text-align: center;
    display:block;
    -webkit-box-shadow: 3px 3px 7px #888B8D;
    -moz-box-shadow: 3px 3px 7px #888B8D;
    box-shadow: 3px 3px 7px #888B8D;
}

.choiceSelect:focus {
    outline: none;
}

.graphicInput.invalid {
    border-color: #900;
}

input[type=range] {
    -webkit-appearance: none;
    margin: 18px auto;
    width: 100%;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: #3071a9;
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -14px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #367ebd;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: #3071a9;
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}

input[type=range]::-moz-range-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #2a6495;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-fill-upper {
    background: #3071a9;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
    background: #3071a9;
}

input[type=range]:focus::-ms-fill-upper {
    background: #367ebd;
}

.sliderValue {
    font-size: 1.5em;
    color: #3071A9;
    margin-top: 30px;
}
#graphicMessage {
    font-weight:bold;
    color: #900;
}

.graphicInput, .choiceSelect {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/*==========  Non-Mobile First Method  ==========*/

@media only screen and (min-width: 993px) {
    .graphicInput {
        width: 70% !important;
        font-size: 1.3em !important;
        padding: 5px 5px 0px 15px !important;
        height: 2.5em !important;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    #questions {
        width: 680px;

        padding: 15%;
    }

    #question-container {
        width: 680px;
        left: 0;
        position: absolute;
    }

    #content-main p.question {
        font-size: 1.5em;
        text-align: center;
        color: #888B8D;
        font-weight:bold;
    }

    p.question .hint {
        display: block;
        font-size: 12px;
    }

    .choiceButton:first-child {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .choiceButton:last-child {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .choiceButton, .graphicButton {
        font-size: 2em;
    }

    .choiceSelect {
        font-size: 1.4em;
        line-height: 2.2em;
        height:2.8em;
        padding-left: .4em;
        padding-right: .4em;
    }

    .choiceSelect:focus {
        outline: none;
    }

    .graphicInput {
        width: 70% !important;
        font-size: 1.4em !important;
        padding: 5px 5px 0px 15px !important;
        height: 2.8em;
    }
    .graphicInput.invalid {
        border-color: #900;
    }
    input[type=range] {
        -webkit-appearance: none;
        margin: 18px auto;
        width: 100%;
    }
    input[type=range]:focus {
        outline: none;
    }
    input[type=range]::-webkit-slider-runnable-track {
        width: 100%;
        height: 8.4px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        background: #3071a9;
        border-radius: 1.3px;
        border: 0.2px solid #010101;
    }
    input[type=range]::-webkit-slider-thumb {
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        border: 1px solid #000000;
        height: 36px;
        width: 16px;
        border-radius: 3px;
        background: #ffffff;
        cursor: pointer;
        -webkit-appearance: none;
        margin-top: -14px;
    }
    input[type=range]:focus::-webkit-slider-runnable-track {
        background: #367ebd;
    }
    input[type=range]::-moz-range-track {
        width: 100%;
        height: 8.4px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        background: #3071a9;
        border-radius: 1.3px;
        border: 0.2px solid #010101;
    }
    input[type=range]::-moz-range-thumb {
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        border: 1px solid #000000;
        height: 36px;
        width: 16px;
        border-radius: 3px;
        background: #ffffff;
        cursor: pointer;
    }
    input[type=range]::-ms-track {
        width: 100%;
        height: 8.4px;
        cursor: pointer;
        animate: 0.2s;
        background: transparent;
        border-color: transparent;
        border-width: 16px 0;
        color: transparent;
    }
    input[type=range]::-ms-fill-lower {
        background: #2a6495;
        border: 0.2px solid #010101;
        border-radius: 2.6px;
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    }
    input[type=range]::-ms-fill-upper {
        background: #3071a9;
        border: 0.2px solid #010101;
        border-radius: 2.6px;
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    }
    input[type=range]::-ms-thumb {
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        border: 1px solid #000000;
        height: 36px;
        width: 16px;
        border-radius: 3px;
        background: #ffffff;
        cursor: pointer;
    }

    .sliderValue {
        font-size: 1.4em;
    }

}

/* Small Devices, Tablets */
@media only screen and (max-width : 700px) {

    #questions {
        width: 90%;
    }

    #question-container {
        width: 100%;
    }

    #content-main p.question {
        font-size: 1.0em;
        text-align: center;
        color: #888B8D;
        font-weight:bold;
        line-height:inherit;
    }

    p.question .hint {
        display: block;
        font-size: 9px;
    }

    .choiceButton:first-child {
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }

    .choiceButton:last-child {
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .choiceButton, .graphicButton {
        font-size: 1em;
    }

    .choiceSelect {
        font-size: 1em;
        line-height: 1.6em;
        height:2em;
        padding-left: .3em;
        padding-right: .3em;
    }

    .choiceSelect:focus {
        outline: none;
    }

    .graphicInput {
        width: 70% !important;
        font-size: 0.8em !important;
        padding: 5px 10px !important;
        height: 2em;
    }
    .graphicInput.invalid {
        border-color: #900;
    }
    input[type=range] {
        -webkit-appearance: none;
        margin: 14px auto;
        width: 100%;
    }
    input[type=range]:focus {
        outline: none;
    }
    input[type=range]::-webkit-slider-runnable-track {
        width: 100%;
        height: 6.4px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        background: #ccc;
        border-radius: 1.3px;
        border: 0.2px solid #010101;
    }
    input[type=range]::-webkit-slider-thumb {
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        border: 1px solid #000000;
        height: 30px;
        width: 14px;
        border-radius: 3px;
        background: #ffffff;
        cursor: pointer;
        -webkit-appearance: none;
        margin-top: -12px;
    }
    input[type=range]:focus::-webkit-slider-runnable-track {
        background: #888b8d;
    }
    input[type=range]::-moz-range-track {
        width: 100%;
        height: 7.4px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        background: #ccc;
        border-radius: 1.2px;
        border: 0.2px solid #010101;
    }
    input[type=range]::-moz-range-thumb {
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        border: 1px solid #000000;
        height: 30px;
        width: 14px;
        border-radius: 3px;
        background: #ffffff;
        cursor: pointer;
    }
    input[type=range]::-ms-track {
        width: 100%;
        height: 7.4px;
        cursor: pointer;
        animate: 0.2s;
        background: transparent;
        border-color: transparent;
        border-width: 14px 0;
        color: transparent;
    }
    input[type=range]::-ms-fill-lower {
        background: #888b8d;
        border: 0.2px solid #010101;
        border-radius: 2.6px;
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    }
    input[type=range]::-ms-fill-upper {
        background: #ccc;
        border: 0.2px solid #010101;
        border-radius: 2.6px;
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    }
    input[type=range]::-ms-thumb {
        box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
        border: 1px solid #000000;
        height: 30px;
        width: 14px;
        border-radius: 3px;
        background: #ffffff;
        cursor: pointer;
    }

    .sliderValue {
        font-size: 1.2em;
    }

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}
