html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

img {
    max-width: 100%;
}

.test-question {
    display:none;
}

.test-question.active {
    display: block;
}

.test-result-image {
    max-width: 200px;
}

.validation-summary-errors ul {
    margin-top: 1rem;
}

.validation-summary-errors {
    border: 2px solid #F00;
}

.gate-table td, .gate-table th {
    padding: 0.5em;
    border: 1px solid #EEE;
}

.gate-table {
    border-collapse: collapse;
}

.question-image {
    cursor: pointer;
    border: 1px solid #EEE;
    padding: 0.25em;
}

.scale-3x {
    /*transform: scale(3);*/
}

.nav-link {
    white-space: nowrap;
}

.dropdown-menu .nav-link:hover {
    background-color: #EEE;
}

@page {
    margin: 1.5cm;
    size: A4 portrait;
}

@media print {
    header {
        display: none;
    }

    h1 {
        font-size: 12pt;
        border-top: 1px solid #000;
        margin-top: 0.25em;
        text-align: center;
    }

        h1 img {
            max-height: 1em;
        }

    html {
        font-size: 10pt;
        print-color-adjust: exact;
    }
}

.print-spacer {
    background-color: #AAA !important;
    print-color-adjust: exact;
}

.table-print td, .table-print th {
    border: 1px solid #AAA;
    padding: 5px;
}

.table-print {
    border-collapse: collapse;
    border: 1px solid #AAA;
}

.highlight {
    background-color: #FF0;
    print-color-adjust: exact;
}

.page-block {
    /*Old system*/
    page-break-after: auto;
    page-break-before: auto;
    page-break-inside: avoid;
    /*New system*/
    break-after: auto;
    break-before: auto;
    break-inside: avoid;
}

.digital-0 {
    background-color: #FEE;
}

.digital-1 {
    background-color: #EFE;
}

.digital-table th img {
    width: 64px;
}

.imageformatting-new-line {
    display: block;
}

.imageformatting-one-row {
    max-width: 25%;
}

.cheatsheet-noprint {
    opacity: 0.2;
}

@media print {
    .cheatsheet-noprint {
        display: none;
    }
}
