html {
    height: 100%;
}

@media screen and (min-width: 800px) {
    body {
        color: black;
    }
}

.SiteLogo {
    width: 5in;
    height: auto;
    max-width: 50%;
}

.LikertTable input[type=radio] {
    left: 0px;
    opacity: 1;
    width: 13px;
}

body {
    -webkit-text-size-adjust: 100%;

    font-size: large;
    font-family: sans-serif;

    background-color: #b5cad8;

    background-image: linear-gradient(to bottom, #b5cad8, #56829e);
    background-image: -moz-linear-gradient(top, #b5cad8, #56829e);
    background-image: -webkit-linear-gradient(top, #b5cad8, #56829e);

    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

select, input {
    font-family: inherit;
}

input {
    font-size: inherit;
}

select {
    font-size: medium;
}

.BarcodeDisplay {
    width: 2in;
    max-width: 99%;
}

.MainViewFrame {
    border: 1px solid;
    border-color: #56829e;
    border-radius: 0.5em;
    background-color: white;
    padding: 1em;
    margin: 1em;

    box-shadow: 0em 0em 1em 0.1em #56829e;
    -moz-box-shadow: 0em 0em 1em 0.1em #56829e;
    -webkit-box-shadow: 0em 0em 1em 0.1em #56829e;
}

select, input[type=text] {
    color: #5e5e5e;
    background-color: white;
    border-radius: 0.15em;
    border: 1px solid;
    border-color: #999999;
    line-height: 1.25em;
}

input[type=button] {
    color: black;
    padding: 1em 1.5em;
    margin: 0.25em;

    border: 1px solid;
    border-radius: 0.25em;
    border-color: #999999;
    background-color: #EEEEEE;

    box-shadow: 0px 0px 1px 1px #AAAAAA;
    -moz-box-shadow: 0px 0px 1px 1px #AAAAAA;
    -webkit-box-shadow: 0px 0px 1px 1px #AAAAAA;

    background-image: linear-gradient(to bottom, #EEEEEE, #c1c1c1);
    background-image: -moz-linear-gradient(top, #EEEEEE, #c1c1c1);
    background-image: -webkit-linear-gradient(top, #EEEEEE, #c1c1c1);
}

input[type=button]:disabled {
    color: gray;
}

div.QuestionContent {
}

.AssessmentConfigSelectionContainer {
    margin-bottom: 0.5em;
    padding: 0 0.5em;
    background-color: white;
    border-radius: 0.15em;
    border: 1px solid;
    border-color: #999999;

    max-width: 100%;
    overflow:hidden
}

.AssessmentConfigSelectionContainer > select {
    z-index: 2;
    vertical-align: middle;
    opacity: 0;

    line-height: 3.25em;
    height: 3.25em;
}

.AssessmentConfigSelectionContainer > label {
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    line-height: 2.75em;
}

.CenteredContent {
    text-align: center;
}

.BarcodeReferenceNumber {
    color:cornflowerblue;
    font-weight: bold;
}

input[type=radio], input[type=checkbox] {
    position: relative;
    opacity: 0;
    left: -2000px;
    width: 0px;
}

input[type=radio] ~ label, input[type=checkbox] ~ label {
    height: 1em;
    line-height: 1em;
    padding: 0.2em;
}

input[type=radio] ~ label:before, input[type=checkbox] ~ label:before {
    content: '\a0';

    font-weight: bolder;
    display: inline-block;
    text-align: center;
    width: 1em;
    height: 1em;
    line-height: 1em;
    padding: 0.2em;
    margin: 0.2em;
    border: 1px solid #555555;
    border-radius: 0.35em;
    background-image: linear-gradient(to bottom, #FFFFFF, #EEEEEE);
}

.input[type=radio]:focus ~ label:before, input[type=checkbox]:focus ~ label:before {
    border-style: dashed;
}

input[type=radio]:checked ~ label:before, input[type=checkbox]:checked ~ label:before {
    content: '\2713';
}

select ~ label {
    display: none;
}

.SmallSelectContainer > select, .MediumSelectContainer > select, .TinySelectContainer > select {
    width: initial;
}

.QuestionLabel, label {
    color: #2b2b2b;
    text-shadow: 0px 1px 1px #d6d6d6;
    margin-bottom: 0.25em;
}

.ErrorMessageDiv {
    margin-top: 0.25em;
    font-size: 75%;
    color: red;
    text-shadow: 0px 1px 1px #d6d6d6;
}

.QuestionDisplayElement {
    padding-top: 0.75em;
    padding-bottom: 0.75em;
}

.QuestionnaireHeading {
    font-family: serif;
    font-size: larger;

    color: #56829e;
    text-shadow: 1px 1px 1px #2d4453;
    
    border-top: 1px solid #87CEFA;
    border-bottom: 1px solid #87CEFA;
    padding: 5px;
    margin-bottom:6px;
    margin-top: 10px;
}


.ListItemContainer {
    display:table-row
}

.ListDisplayTable {
    display: table;
    table-layout: fixed;
    border: solid 1px #AAAAAA;
    border-radius: 0.25em;

    padding: 0.5em;
    margin: 0.25em;

    max-width: 92%;

    box-shadow: 0px 0px 1px 1px #AAAAAA;
    -moz-box-shadow: 0px 0px 1px 1px #AAAAAA;
    -webkit-box-shadow: 0px 0px 1px 1px #AAAAAA;
}

.ListDisplayElementContainer {
    display: table-row;
    width: 100%;
}

.ListQuestionDisplayElement {
    display: table-cell;
}

.ListButtonDisplayElement {
    display: table-cell;
}

.ListButton {
    color: black;
    width: 2em;
    height: 2em;

    border: 1px solid;
    border-radius: 0.25em;
    border-color: #999999;
    background-color: #EEEEEE;

    box-shadow: 0px 0px 1px 1px #AAAAAA;
    -moz-box-shadow: 0px 0px 1px 1px #AAAAAA;
    -webkit-box-shadow: 0px 0px 1px 1px #AAAAAA;

    background-image: linear-gradient(to bottom, #EEEEEE, #c1c1c1);
    background-image: -moz-linear-gradient(top, #EEEEEE, #c1c1c1);
    background-image: -webkit-linear-gradient(top, #EEEEEE, #c1c1c1);

    cursor: pointer;
}

.ReviewListButton {
    display: none;
}

.AssessmentDisplayFrame {
    left: 15%;
    right: 15%;
}

.CheckBoxBlock {
    display: inline-block;
    text-align: left !important;
    width:30em;
    max-width: 100%;
}

/*media query to prevent list question boxes from bleeding over
  the edge of the screen on android phones. 350 pixels is the
  width where the bleeding over seems to begin.
*/
@media only screen and (max-width: 350px) {
    .ListQuestionDisplayElement input[type=text] {
        width: 100%;
    }
}