body {
    /* margin: 8px 0 10px 0; */
    /* margin: 0; */
    padding: 0;
    background: lightgray;
    font-family: sans-serif;
}

div.experiment_area {
    width: 800px;
    height: 650px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

/* Consent */

div.consent-text {
    padding: 1px 20px 1px 20px;
    text-align: justify;
}

div.consent-container {
    position: relative;
    /* background-color: white; */
    background-color: rgb(230,240,255);
    /* padding: 5px 0 5px 0px; */
    text-align: center;
    width: 100%;
    font-family: sans-serif;
}

/* demographic survey */

div.full-message-body {
    position: relative;
    /* background-color: white; */
    background-color: rgb(230,240,255);
    /* padding: 5px 0 5px 0px; */
    text-align: center;
    height: 100%;
    width: 100%;
}

div.question {
    display: block;
    background-color: lightblue;
    padding: 5px;
    text-align: left;
    /* width: 65%; */
    margin: 0px 0px 1px 0px;
    padding: 5px 15px 5px 15px;
}

div.wide-question {
    display: inline-block;
    background-color: lightblue;
    text-align: left;
    margin: 0px 0px 1px 0px;
    padding: 10px 0px 10px 10px;
    width: 100%;
    box-sizing: border-box;
}

div.narrow-question-column {
    width: 65%;
    text-align: center;
    padding: 0px 0px 0px 0px;
    /* background-color: orange; */
    margin: 0 auto;
}

div.wide-question-column {
    /* float: left; */
    /* width: 65%; */
    text-align: center;
    /* background: orange; */
    padding: 0px 20px 0px 20px;
}


div.info {
    padding: 10px 10px 10px 10px;
    font-weight: normal;
    font-family: sans-serif;
    font-size: 16px;
    background-color: rgb(230,240,255);
    margin-bottom: 5px;
}

div.text { font-weight: bold; padding: 0 0 5px 0;}

div.qtext {
    display: inline-block;
    background: orange;
}

.warning {
    visibility: hidden;
    color: white;
    background-color: red;
    padding: 2px 10px 2px 10px;
    border-radius: 20px;
    font-weight: normal;
    font-family: sans-serif;
    font-size: 12px;
    /* margin: 0 0 0 10px; */
}

input.sat {
    width: 5em;
}

div.demographic-submit-area {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    /* background-color: orange; */
}

div.submit-area {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    /* background-color: orange; */
}

textarea {
    width: 95%;
}

div.error {
    background-color: rgb(255,100,100);
    color: white;
}

tr.genre-row {
    border: 1px solid black;
}

td.genre {
    padding-right: 5px;
    text-align:right;
    border-right: 1px solid black;
}

td.sh {
    text-align: center;
    border-bottom: 1px solid black;
    width: 3.5em;
}

td.o {
    text-align:center;
    border-right: 1px solid black;
}

/* message screen */

div.message-container {
    display: table;
    height: 100%;
    width: 100%;
}

div.message-body {
    position: relative;
    /* background-color: white; */
    background-color: rgb(230,240,255);
    /* padding: 5px 0 5px 0px; */
    text-align: center;


    display: table-cell;
    vertical-align: middle;

    font-family: sans-serif;
}

/* full message screen */

div.full-message-body {
    position: relative;
    /* background-color: white; */
    background-color: rgb(230,240,255);
    /* padding: 5px 0 5px 0px; */
    text-align: center;
    height: 100%;
    width: 100%;
}

div.message-text {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 1px;
    padding-bottom: 1px;
    font-weight: normal;
    font-family: sans-serif;
    font-size: 18px;
    /* height: 75%; */
    text-align: left;
}

div.footer-continue-area {
    position: absolute;
    bottom: 15px;
    text-align: center;
    width: 100%;
}

/* game */

div.canvasarea {
    background: #000000;
    width: 710px;
    margin-left: auto;
    margin-right: auto;
}

div.sending {
    width: 400px;
    font-family: sans-serif;
    text-align: center;
    border-radius: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

div.sendfail {
    background: #EE3333;
}

.sendsuccess {
    /* background: #33DD33; */
    background: #CCCCCC;
}

div.sendprogress {
    background: #CCCCCC;
}

/* controls */

div.instr {
    display: inline-block;
    font-size: 18px;
    margin: 0 15px 0 15px;
}

span.keyblock {
    background-color: rgb(50,50,50);
    color: white;
    display: inline-block;
    padding: 5px;
    min-width: 30px;
    border-radius: 5px;
}

span.spaceblock {
    background-color: rgb(50,50,50);
    color: white;
    display: inline-block;
    padding: 5px 15px 5px 15px;
    border-radius: 5px;
}

span.keyinstr {
    margin: 3px;
    /* background-color: gray; */
    /* color: white; */
    display: inline-block;
    padding: 5px;
    color: gray;
}

/* loading screen */

div.loading {
    /* text-align: center; */
    background-color: rgb(230,240,255);
    /* height: 100%; */
}

div.loadingline {
    font-weight: bold;
    font-family: sans-serif;
    font-size: 48px;
    line-height: 630px;
    text-align: center;
}

#button_area input[type=button] {
    margin-right: 0.5em;
    min-width: 2em;
}

input.footer-continue {
    width: 120px;
    margin-left: 5px;
    margin-right: 5px;
}

div.pagenum {
    font-family: sans-serif;
    font-size: 16px;
    margin-bottom: 5px;
}

/* reject screen */

div.reject-container {
    text-align: center;
    width: 800px;
    height: 630px;
    display: table;

}

div.reject-body {
    background-color: rgb(230,240,255);
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

div.feedback-question {
    display:inline-block;
    text-align: left;
    width: 65%;
    background: lightblue;
    margin-bottom: 1px;
    padding: 10px 20px 0px 20px;
}

div.feedback-header {
    font-family: sans-serif;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1em;
}

td.gq-question {
    text-align: left;
    /* width: 100%; */
    background: lightblue;
    margin-bottom: 1px;
    padding: 10px 20px 0px 20px;
}

td.header {
    padding: 10px;
    background: #CCCCFF;
}

td.score {
    padding: 10px;
    background: #AAAAFF;
}

p.remind {
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
}
