.question {
    padding: 4px 0;
    margin: 0 5px;
    list-style-type: none;
    clear: both;
}

.question a {
    text-decoration: none;
}

.question a:hover {
    text-decoration: underline;
}

.group ol {
    list-style-type: upper-alpha;
}

.singleAnswer {
    list-style-type: none;
    margin: 8px 20px 0 20px;
    padding: 0;
}

.singleAnswer li {
    list-style-type: none;
    padding: 2px 0;
    margin: 0;
}

.answer {
    position: relative;
    list-style-type: lower-alpha;
    padding: 2px 0;
    margin: 0;
}

.answer.correct {
    font-style: italic;
    font-weight: bold;
}

.answer .fa {
    position: absolute;
    top: 5px;
    left: -45px;
}

.answer .fa-times,
.gradeLegend .fa-times {
    color: #ef1938;
}
.correct .fa-check {
    color: #6c0;
}

.incorrect .fa-times {
    color: #ef1938;
}

.blank {
    font-style: italic;
    text-decoration: underline;
    word-wrap: break-word;
}

.code {
    font-family: monospace;
    font-size: medium;
}

.group_instructions {
    background-color: #deedfd;
    margin: 8px 0;
    padding: 6px 8px;
}

.test_instructions {
    background-color: #dbfbc5;
    margin: 8px 5px;
    padding: 6px 8px;
}

.pageBreak {
    margin: 10px 4px 4px 4px;
    clear: both;
    padding: 0;
    text-align: center;
    border-top: 1px dotted #ff3;
    border-bottom: 1px dotted #ff3;
    background: #fdfddd;
}

.note {
    margin: 8px 5px;
    padding: 4px;
    background: #deedfd;
    border: 1px solid #39f;
}

.note em {
    color: #000;
}

.note .showAll {
    display: none;
}

.note.collapsed {
    height: 80px;
    overflow: hidden;
    position: relative;
}

.note.collapsed .showAll {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    background: #fff;
    opacity: 0.9;
}

table.tableProcessor {
    padding: 0;
    margin: 8px 12px 8px 12px;
    border: 1px solid #444;
    border-collapse: collapse;
    background-color: #fff;
}

table.tableProcessor th {
    padding: 4px;
    margin: 0;
    border: 1px solid #444;
    text-align: center;
}

table.tableProcessor td {
    padding: 4px;
    margin: 0;
    border: 1px solid #444;
}

table.tableProcessor.noBorder,
table.tableProcessor.noBorder th,
table.tableProcessor.noBorder td {
    border: 0;
}

table.tableProcessor .align-left {
    text-align: left;
}
table.tableProcessor .align-center {
    text-align: center;
}
table.tableProcessor .align-right {
    text-align: right;
}
table.tableProcessor .valign-top {
    vertical-align: top;
}
table.tableProcessor .valign-center {
    vertical-align: middle;
}
table.tableProcessor .valign-bottom {
    vertical-align: bottom;
}
table.tableProcessor.pullLeft {
    float: left;
    margin: 0 10px 10px 10px;
}
table.tableProcessor.pullRight {
    float: right;
    margin: 0 10px 10px 10px;
}

.selectAllQuestions {
    display: block;
    margin: 2px 5px;
    padding: 3px 0 3px 5px;
    background: #f5f5f5;
}

.selectAllQuestions input {
    margin-left: 0;
    margin-right: 4px;
}

.question_body {
    width: 100%;
    clear: both;
}

.question_body .number {
    float: left;
    margin: 0 0.25%;
    width: 3%;
}

.question_body .content {
    float: left;
    width: 100%;
}

.question_body .number + .content {
    width: 96.5%;
}

.question_body hr {
    margin: 5px 0;
}

.question_extra {
    margin-bottom: 4px;
    padding: 4px 0;
    border-top: 1px dotted #999;
    background: #f5f5f5;
}

.question_extra .checkbox {
    float: left;
    margin-left: 5px;
}

.question_extra .checkbox input {
    margin-left: 0;
    margin-right: 0;
}

.question_extra .taxonomy,
.question_extra .member {
    float: left;
    margin-left: 8px;
    font-weight: normal;
    font-size: 11px;
}

.question_extra .member {
    float: right;
    margin-right: 8px;
}

.question_extra .taxonomy > span {
    margin-left: 4px;
    float: left;
}
.question_extra .taxonomy > span:first-child {
    margin-left: 0;
}

.question_extra .taxonomy .fa {
    margin-right: 4px;
}

.question_extra .taxonomy h2 {
    display: inline;
    margin: 0;
    padding: 0;
    font-weight: inherit;
    font-size: inherit;
}

.question_extra a,
.question_extra a:hover {
    text-decoration: underline;
}

.question_extra .taxonomy .member {
    margin-left: 20px;
}

.question_extra .controls {
    float: right;
    margin-top: -1px;
}

.question_extra .iconButtons {
    padding-right: 6px;
    float: left;
}

.gradeControls {
    margin: 10px 0 5px 0;
    padding: 10px;
    background: #efefed;
    border-radius: 4px;
}
.gradeControls .checkGroup {
    margin-right: 10px;
}
.gradeControls .fa {
    color: #39f;
}

/* Reordering controls on left of questions on arrange page */
.reorder {
    border-top: 1px dotted #999;
    margin: 0 5px;
}
.question .reorder {
    padding: 0;
    margin: 0;
}
.question .reorder .question_extra,
.reorder .question:first-child .question_extra {
    border: 0;
}
.reorder .question:first-child {
    padding-top: 0;
}
.reorder > table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}
.reorder > table .question {
    margin: 0;
}
.reorder > table .orderColumn {
    width: 42px;
    background: #f5f5f5;
    padding: 4px 2px;
    text-align: center;
}
.reorder > table .orderColumn a {
    float: none;
}
.reorder > table .orderColumn .fa {
    margin-bottom: 4px;
}
.reorder > table .orderColumn input {
    text-align: right;
    font-size: small;
    margin-bottom: 12px;
}

@media only screen and (max-width: 979px) {
    .responsive .image {
        max-width: 100%;
        height: auto;
    }
}
@media only screen and (max-width: 400px) {
    .question_extra .checkbox {
        float: none;
    }
    .question_extra .taxonomy,
    .question_extra .member {
        float: none;
        margin: 5px 0 5px 5px;
    }
    .question_extra .taxonomy > span {
        float: none;
        display: block;
        margin-left: 0;
    }
    .question_extra .taxonomy .fa {
        display: none;
    }
    .question_extra .controls {
        float: none;
        clear: both;
        margin: 5px 0;
    }
}

.multiple_choice_table,
.multiple_choice_grid_table {
    width: 60%;
    text-align: left;
}

.multiple_choice_table tr td:first-child {
    min-width: 20px;
    /*border-bottom: 1px solid #000;*/
}

.multiple_choice_table tr td:nth-child(2) {
    padding-right: 40px;
}

.multiple_choice_table tr td:nth-child(3) {
    width: 20px;
    font-weight: bold;
}

#matching_with_grid_table {
    border-collapse: collapse;
}

#matching_with_grid_table td {
    padding: 5px;
    border: 1px solid #ccc;
}

.matching_with_grid_question {
    min-width: 195px;
}

.answer_option_header {
    min-width: 117px;
}

.answer_option {
    text-align: center;
}

#matching_with_grid_table_container {
    overflow: auto;
    max-width: 620px;
}
