#printInstructions .instruction {
    margin: 8px 0;
}

#printInstructions .panel_body .fa {
    color: #666;
}
#printInstructions .panel_body .fa-print {
    color: #4e9df4;
}

#printInstructions .icon,
#printInstructions .text {
    float: left;
}

#printInstructions .icon {
    width: 24%;
    text-align: center;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}
#printInstructions .text {
    width: 75%;
}

.printQuick {
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
}

.printQuick > span {
    padding: 4px 8px;
    border-radius: 6px;
    background: #efefef;
}

.printQuick .fa {
    margin-right: 8px;
}

.choices {
    list-style-type: lower-alpha;
    page-break-inside: avoid;
    margin: 0 -20px;
}

.choice {
    padding: 0;
    margin: 2px 0;
    page-break-inside: avoid;
}

.choice.hasMath {
    margin: 12px 0;
}

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

.test {
    margin: 20px 14px;
    padding: 0;
}

.test.lesson {
    margin-top: 10px;
}

.test,
.test h2 {
    color: #000 !important;
}

.test a,
.test a:visited,
.test a:hover {
    color: #0000ee !important;
}

#content h2,
#content .test h1 {
    padding: 0 0 20px 0;
    border: 0;
    clear: both;
    text-align: center;
    font-size: medium;
    font-weight: bold;
}

#content h2 {
    padding-top: 15px;
}

.break {
    page-break-before: always;
}

.testHeader {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 10px 0;
    padding: 0;
}
.testHeader td,
.testHeader th {
    padding-top: 20px;
    vertical-align: bottom;
    white-space: nowrap;
}
.testHeader tr:first-child th,
.testHeader tr:first-child td {
    padding-top: 0;
}
.testHeader th {
    font-weight: normal;
    text-align: right;
}
.testHeader .spacer {
    width: 99%;
}
.testHeader .placeholder {
    display: inline-block;
    width: 210px;
    margin-left: 5px;
    border-bottom: 1px solid #000;
}

.testStyleMm .testHeader td,
.testStyleMm .testHeader th {
    font-family: arial, sans-serif;
    padding-top: 10px;
    border-bottom: 1px solid #000;
    font-size: 18px;
    font-weight: bold;
    padding-left: 5px;
    line-height: 1em;
}
.testStyleMm .testHeader .logo {
    border: 0;
    padding: 0 0 0 10px;
}

.instructions {
    padding: 0;
    margin: 10px 0 20px 0;
    text-align: justify;
}

.lessonGroup {
    margin: 10px 0 20px 0;
}
.lessonGroup + .lessonGroup {
    margin-top: -10px;
}
.lessonGroup .links {
    padding-top: 0;
}
.lessonGroup .links li {
    margin-bottom: 8px;
}

.lessonGroup > p {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 16px;
}

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

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

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

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

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

table.tableProcessor.pullLeft {
    float: left;
    margin: 0 10px 0 0;
}
table.tableProcessor.pullRight {
    float: right;
    margin: 0 0 0 10px;
}

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;
}

.testItems .questionRow {
    page-break-inside: avoid;
    /* Next two properties trick Webkit (PhantomJS) into not doing a page
     * break in the middle of a question. Webkit does not support
     * page-break-inside.
     */
    display: inline-block;
    width: 100%;
}

.testItems .questionRow.tall {
    display: block;
}

.testItems div {
    word-wrap: break-word;
    vertical-align: top;
}

.testItems .groupRow {
    padding-bottom: 8px;
}

.testItems .questionRow .clear {
    padding-bottom: 0;
    /* height needs to be on .clear, otherwise the floating will not work
     * properly in IE8 when printing.
     */
    height: 8px;
}

.testItems .groupItems {
    padding: 0;
    margin: 0 26px;
}

.testItems .index,
.testItems .questionRow .questionContent,
.testItems .questionRow .center {
    float: left;
}

.image {
    padding: 4px 0;
}
.image.pullLeft {
    float: left;
    margin-right: 10px;
}
.image.pullRight {
    float: right;
    margin-left: 10px;
}

.startLessonQuiz {
    text-align: center;
}
.startLessonQuiz .modernButton {
    font-size: 20px;
}
.takeTest .startLessonQuiz .modernButton {
    font-size: 16px;
    padding: 5px 10px;
    vertical-align: middle;
}

.lessonQuiz .dijitContentPane {
    padding: 0 8px;
}
.lessonQuiz .groupItems {
    margin: 0;
}
.lessonQuiz .testItems .groupRow .instructions {
    width: auto;
}
.lessonQuiz .choices {
    list-style-type: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}
.lessonQuiz .buttonGroup {
    margin: 5px 0 0 0;
    padding-top: 10px;
    text-align: right;
    border-top: 1px solid #39f;
}
.lessonQuiz .modernButton {
    font-size: 16px;
}
.lessonQuiz .incorrectMessage,
.lessonQuiz .correctMessage {
    display: none;
    float: left;
    line-height: 30px;
}
.lessonQuiz .incorrectMessage > *,
.lessonQuiz .correctMessage > * {
    vertical-align: middle;
}
.lessonQuiz .correctMessage {
    font-weight: bold;
    color: #006400;
}

.testItems .index {
    width: 4.5%;
}
.testItems .questionRow .questionContent,
.testItems .groupRow .instructions {
    width: 95.5%;
}
.testItems .twoColumns .index {
    width: 3.5%;
}
.testItems .questionRow.twoColumns .questionContent {
    width: 44.5%;
}
.testItems .questionRow.twoColumns .center {
    width: 4%;
}

.short-stack {
    font-family: 'Short Stack', cursive, sans-serif;
}
.times {
    font-family: Times, serif;
}

#content .size16 h2 {
    font-size: 16px;
}
.size11 .testItems,
.size11 .testHeader,
.size11 > .instructions {
    font-size: 11px;
    line-height: 1.2em;
}

#content .size16 h2 {
    font-size: 20px;
}
.size16 .testItems,
.size16 .testHeader,
.size16 > .instructions {
    font-size: 16px;
    line-height: 1.2em;
}
.size16 .testItems .index {
    width: 6%;
}
.size16 .testItems .questionRow {
    margin-top: 10px;
}
.size16 .testItems .questionRow:first-child {
    margin-top: 0;
}
.size16 .testItems .questionRow .questionContent,
.size16 .testItems .groupRow .instructions {
    width: 94%;
}
.size16 .testItems .twoColumns .index {
    width: 5%;
}
.size16 .testItems .questionRow.twoColumns .questionContent {
    width: 43%;
}
.size16 .testItems .questionRow.twoColumns .center {
    width: 4%;
}
.size16 .choices {
    margin-left: -16px;
}
.size16 .choice {
    margin: 4px 0;
}
.size16 .choice.hasMath {
    margin: 12px 0;
}

#content .size20 h2 {
    font-size: 22px;
}
.size20 .testItems,
.size20 .testHeader,
.size20 > .instructions {
    font-size: 20px;
    line-height: 1.2em;
}
.size20 .testItems .index {
    width: 8%;
}
.size20 .testItems .questionRow {
    margin-top: 10px;
}
.size20 .testItems .questionRow:first-child {
    margin-top: 0;
}
.size20 .testItems .questionRow .questionContent,
.size20 .testItems .groupRow .instructions {
    width: 92%;
}
.size20 .testItems .twoColumns .index {
    width: 7%;
}
.size20 .testItems .questionRow.twoColumns .questionContent {
    width: 41%;
}
.size20 .testItems .questionRow.twoColumns .center {
    width: 4%;
}
.size20 .choices {
    margin-left: -10px;
}
.size20 .choice {
    margin: 4px 0;
}
.size20 .choice.hasMath {
    margin: 8px 0;
}

@media only screen and (max-width: 979px) {
    .responsive .image {
        max-width: 100%;
        height: auto;
    }
}
@media only screen and (max-width: 600px) {
    .responsive .testHeader .placeholder {
        width: 90px;
    }
    .responsive .testItems .twoColumns .index {
        width: 4.5%;
    }
    .responsive .testItems .questionRow.twoColumns .questionContent {
        width: 95.5%;
    }
    .responsive .testItems .questionRow.twoColumns .center {
        clear: both;
        width: auto;
        height: 8px;
        float: none;
    }

    .responsive .size16 .testItems .twoColumns .index {
        width: 6%;
    }
    .responsive .size16 .testItems .questionRow.twoColumns .questionContent {
        width: 94%;
    }
    .responsive .size16 .testItems .questionRow.twoColumns .center {
        width: auto;
    }

    .responsive .size20 .testItems .twoColumns .index {
        width: 8%;
    }
    .responsive .size20 .testItems .questionRow.twoColumns .questionContent {
        width: 92%;
    }
    .responsive .size20 .testItems .questionRow.twoColumns .center {
        width: auto;
    }
}

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

.multiple_choice_table tr td:first-child {
    min-width: 20px;
}

.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;
}
