body {
    font-family: 'Public Sans', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1em;
    color: #000000;
    background-color: #ffffff;
}

select {
    font-size: inherit;
}

h1 {
    font-family: 'Public Sans', Arial, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.25em;
    color: #002664;
    margin: 0px;
}

h2 {
    font-family: 'Public Sans', Arial, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.75em;
    color: #002664;
    margin-top: 0px;
    margin-bottom: 10px;
}

h3 {
    font-family: 'Public Sans', Arial, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.375em;
    color: #002664;
    margin-top: 0px;
    margin-bottom: 10px;
}

a {
    color: #002664;
}

a:link {
    text-decoration: underline;
}

a:visited {
    text-decoration: underline;
}

a:hover:not(.disabled) {
    text-decoration: underline;
}

ul, ol {
    margin-top: 16px;
    margin-bottom: 16px;
}

li {
    padding-top: 5px;
    padding-bottom: 5px;
}

table:not(.ninja) {
    border: 1px solid #e8e8e8;
    margin-bottom: 10px;
    border-collapse: collapse;
}

td, th {
    padding: 5px;
}

th, table:not(.ninja) tr:first-child td {
    background-color: #f2f2f2;
    border: 1px solid #e8e8e8;
}

div.item-content table:not(.ninja) tr:first-child td {
    background-color: inherit;
}

table:not(.ninja) td {
    text-align: left;
    vertical-align: top;
    border: 1px solid #e8e8e8;
}

button:not(.ninja), a.button {
    font-size: 18px;
    color: #ffffff;
    font-family: 'Public Sans', Arial, sans-serif;
    font-weight: 500;
    font-style: normal;
    border: 0px;
    padding: 7px 6px;
    background: #002664;
    margin-top: 10px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

button:not(.ninja).secondary, a.button.secondary {
    font-size: 17px;
    color: #002664;
    font-family: 'Public Sans', Arial, sans-serif;
    font-weight: 500;
    font-style: normal;
    border: 1px solid #002664;
    padding: 7px 6px;
    background: #ffffff;
    margin-top: 10px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

button:not(.ninja) i:not(.left-side) {
    padding-left: 10px;
}

button:not(.ninja) i.left-side {
    padding-right: 10px;
}

a.button {
    text-decoration: none !important;
}

button:not(.ninja):disabled {
    background: #9b9b9b;
}

.margin-wrapper {
    height: 100%;
    margin: 0 auto;
    padding: 5px 0;
    width: 900px;
}

.nsw-masthead {
    line-height: 1.5em;
    padding: 0.5rem 0;
    background-color: #002664;
    color: #fff;
}

.nsw-masthead-covid {
    background-color: #f9be00;
    color: #fff;
    padding-top: 1em;
    padding-bottom: 1em;
    font-weight: bold;
    text-align: center;
}

.nsw-masthead-covid a {
    color: black;
}

.nsw-container {
    margin: 0 auto;
    width: 900px;
}

header {
    background-color: #002664;
    color: #ffffff;
    margin: 0px;
    width: 100%;
}

header > * {
    margin: auto 25px;
}

header.external {
    background-color: white;
}

.banner {
    width: 100%;
    height: 50px;
    background-color: #f2f2f2;
}

.banner img {
    width: 100%;
    height: 50px;
}

footer {
    color: #ffffff;
    background-color: #22272B;
    margin: 10px 0px 0px 0px;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 16px 0px;
    text-align: center;
    height: 50px;
}

footer img {
    height: 50px;
}

.footer-main {
    padding-bottom: 8px;
}

.footer-secondary {
    font-weight: normal;
    font-size: 0.7em;
}

.test-footer {
    position: fixed;
    height: 10px;
    bottom: 0px;
    padding: 0px;
}

footer > * {
    margin: auto 25px;
}

footer a:link {
    color: #ffffff;
    text-decoration: underline;
}

footer a:visited {
    color: #ffffff;
    text-decoration: underline;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

img {
    border: 0px;
}

label {
    margin-bottom: 0px;
}

.feature {
    color: #000000;
    background-color: #f2f2f2;
    padding: 20px 20px 20px 20px;
    margin-bottom: 20px;
}

.feature.aqua {
    background-color: #CBEDFD;
    color: black;
}

.feature.aqua h1, .feature.aqua h2, .feature.aqua h3 {
    color: black;
}

.error {
    background-color: #FFE6EA;
    border: 1px solid #D7153A;
    font-weight: bold;
    font-size: 18px;
    padding: 30px 30px 30px 15px;

    display: none;
    margin-top: 10px;
    margin-bottom: 10px;
}

.error .fa-exclamation {
    margin-right: 16px;
}

.test-container {
    min-height: 100%;
    width: 100%;
    position: absolute;
}

.content {
    margin: 25px auto 150px auto;
    width: 900px;
}

.test-content {
    margin: 25px auto 150px auto;
    width: 900px;
}

.content img {
    max-width: 100%;
}

.accessibility-options {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: right;
}

.nav-toolbar .accessibility-options {
    position: relative;
}

.content:not(.test-content) .accessibility-options {
    right: 25px;
    bottom: 100px;
}

.accessibility-options a:link {
    color: #002664;
    text-decoration: underline;
}

.accessibility-options a:hover {
    font-weight: bold;
}

.nav-toolbar {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
}

.nav-toolbar-table {
    display: table;
    margin-left: auto;
    padding: 10px 0;
}

.nav-toolbar-cell {
    display: table-cell;
    border-left: solid 1px grey;
    text-align: right;
}

.nav-toolbar-cell i {
}

.nav-toolbar-cell:first-of-type {
    border-left: none;
}

.edit-icons-container {
    display: table-cell;
    border-left: solid 1px grey;
}

.clickable {
    cursor: pointer;
}

input {
    font-size: inherit;
}

textarea {
    font-size: inherit;
}

.modal-container {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.modal {
    width: 50% !important;
}

.modal-large {
    width: 90% !important;
}

.nav-bar {
    width: 100%;
    z-index: 2;
    background-color: #f2f2f2;
}

.nav-bar-inner {
    display: table;
    width: 100%;
    height: 100%;
}

.nav-bar .fa-info-circle {
    font-size: 1.5em;
    color: #d7153a;
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}

.nav-wrapper {
    text-align: left;
    display: table-cell;
    vertical-align: middle;
    pading-right: 20px;
}

nav {
    display: table;
    border-spacing: 8px;
    margin-left: -8px;
}

.nav-elem {
    background-color: #ffffff;
    border: 1px solid #002664;
    text-align: center;
    color: #002664;
    width: 2em;
    min-width: 2em;
    height: 2em;
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;
    position: relative;
}

.nav-elem:focus {
    box-shadow: 0px 0px 3px #2e2867;
}

.nav-elem-answered {
    position: absolute;
    top: -0.5em;
    right: -0.5em;
    color: #2ecc71;
}

.nav-elem-flagged {
    position: absolute;
    top: -1.1em;
    color: #d7153a;
    font-size: 0.7em;
}

.nav-elem-current {
    background-color: #002664;
    color: #ffffff;
}

.nav-elem-current-underline {
    position: absolute;
    bottom: -6px;
    left: -1px;
    height: 1px;
    width: calc(2em + 2px);
    background-color: #002664;
}

.left-stripe {
    border-left: solid 8px #002664;
}

.instructions {
    margin-top: 0px;
}

.instructions:empty {
    display: none;
}

.item-title {
    margin-bottom: 20px;
}

.item-title:empty {
    display: none;
}

.stimulus {
    margin-bottom: 20px;
}

.stimulus:empty {
    display: none;
}

.item-header {
    display: table;
    width: 100%;
}

.item-question {
    display: table-cell;
    width: 100%;
    vertical-align: top;
}

.item-visibility-button {
    display: table-cell;
    vertical-align: top;
    width: 100px;
    font-size: 1em !important;
    background-color: #ffffff !important;
    color: #002664 !important;
    border: 1px solid #002664 !important;
    padding-left: 16px;
}

.header-container {
    display: table;
    height: 100%;
    width: 100%;
    padding: 10px 0px 0px 0px;
}

.header-logo-container {
    display: table-cell;
    padding: 8px 0px 0px 0px;
    width: 120px;
}

.header-titles-container {
    display: table-cell;
    vertical-align: middle;
}

.header-titles-container h1, .header-titles-container h3 {
    text-transform: capitalize;
}

.header-titles-container h1 {
    font-size: 1.5em;
}

.header-titles-container h3 {
    font-size: 1em;
    font-weight: 100;
}

.header-test {
}

.header-test-title {
    font-size: 1.25em;
    font-weight: bold;
    display: table-cell;
    vertical-align: middle;
}

.header-test-break {
    font-size: 1em;
    display: table-cell;
    vertical-align: middle;
}

.header-test-subtitle {
    text-align: right;
    font-size: 1em;
    display: table-cell;
    vertical-align: middle;
}

.action-bar {
    display: table;
    width: 100%;
}

.action-bar a:not(.disabled) {
    cursor: pointer;
}

.action-bar-elem {
    display: table-cell;
    width: 25%;
}

.action-bar-elem-left {
    text-align: left;
}

.action-bar-elem-center {
    text-align: center;
}

.action-bar-elem-right {
    text-align: right;
}

a.disabled {
    color: #9b9b9b;
    cursor: auto;
}

.item-group-wrapper {
    height: 100%;
}

.item-group-one-col {
    overflow-y: auto;
    margin-left: -30px;
    padding-left: 30px;
}

.item-group-table {
    width: 100%;
    height: 100%;
}

.item-group-column {
    width: 50%;
    position: absolute;
    height: 100%;
}

.item-group-column-inner {
    height: 100%;
    overflow-y: auto;
    overflow-x: auto;
}

.item-group-column-bigger-left {
    width: 66% !important;
    rigth: 34% !important;
}

.item-group-column-bigger-right {
    width: 66% !important;
    left: 34% !important;
}

.item-group-column-smaller-left {
    width: 34% !important;
    right: 66% !important;
}

.item-group-column-smaller-right {
    width: 34% !important;
    left: 66% !important;
}

.item-group-column-left {
    left: 0%;
    right: 50%;
}

.item-group-column-left-margin {
    margin-right: 12px;
    padding-right: 10px;
    margin-left: -30px;
    padding-left: 30px;
}

.item-group-column-right {
    left: 50%;
    right: 0%;
}

.item-group-column-right-margin {
    margin-left: 12px;
}

.item-group-table + * {
    clear: both;
}

.item {
    padding: 12px;
}

.item:first-of-type {
    margin-top: 0px;
}

a.finish-link {
    color: #002664;
    cursor: pointer;
}

a.dismiss-link {
    color: #ffffff;
    cursor: pointer;
}

.header-timer {
    font-weight: bold;
    display: table-cell;
    vertical-align: middle;
}

.header-link {
    display: table-cell;
    text-align: right;
    vertical-align: middle;
}

.modal-button-container {
    display: table;
    width: 100%;
}

.modal-button-container-left {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
}

.modal-button-container-right {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}

.cke_dialog_contents_body {
    height: auto !important;
}

.cke_focus .cke_top {
    position: sticky !important;
    top: 0;
}

.cke_toolgroup {
    transform-origin: left;
}

.popeye-modal-container {
    z-index: 10 !important;
}

::-webkit-scrollbar {
    width: 16px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background-color: #b7b7b7;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.info-content {
    line-height: 1.2em;
}

.calc * {
    box-sizing: border-box;
}

.calc {
    display: none;
    position: absolute;
    left: calc(100% - 250px);
    background-color: #fff;
    z-index: 2000;
}

.calc-header {
    font-size: 14px;
    height: 28px;
    background-color: #4d4d4d;
    cursor: url(/bundles/concertotest/nesa/css/DMZ-Black/pngs/24x24/grabbing.png), auto;
    touch-action: none;
}

.calc-draggable-icon {
    text-align: center;
    padding-top: 4px;
    cursor: url(/bundles/concertotest/nesa/css/DMZ-Black/pngs/24x24/grabbing.png), auto;
}

.calc-draggable-icon span {
    width: 4px;
    height: 4px;
    position: relative;
    margin-right: 1px;
    border-radius: 50%;
    display: inline-block;
    background-color: #888;
}

.calc-close-btn {
    background: none;
    border: none;
    right: 0;
    top: 5px;
    position: absolute;
    margin-right: 2px;
    color: #888;
    font-size: 16px;
}

.calc-close-btn:hover {
    cursor: default;
    color: #fff;
}

.calc-content {
    position: relative;
    border: 2px solid #4d4d4d;
    background: #ddd;
    display: flex;
    flex-direction: column;
    height: 312px;
    justify-content: space-between;
}

.calc-row {
    display: flex;
    flex-direction: row;
    width: 246px;
    justify-content: space-between;
}

.calc-btn {
    border: none;
    width: 60px;
    height: 60px;
    padding: 0;
    outline: none;
    font-size: 17px;
    background-color: #fbfbfb;
    color: #070707;
}

.calc-btn-accent {
    background-color: #e8e8e8;
}

.calc-btn:hover {
    cursor: pointer;
    background-color: #ddd;
}

.calc-btn:focus {
    -webkit-box-shadow: inset 0 0 0 1px #52a8ec;
    box-shadow: inset 0 0 0 1px #52a8ec;
}

.calc-btn:active {
    -webkit-box-shadow: inset 0 0 0 1px #52a8ec, inset 0 2px 12px #888;
    box-shadow: inset 0 0 0 1px #52a8ec, inset 0 2px 12px #888;
}

.calc-result {
    top: 0;
    right: 0;
    z-index: 1;
    background: #fff;
    line-height: 3.3;
    padding-left: 10px;
    padding-right: 10px;
    width: 184px;
    height: 60px;
    text-align: right;
    color: dimgray;
    border: none;
    cursor: auto;
    border-radius: 0;
    font-size: 18px;
    font-weight: 300;
    white-space: nowrap;
    overflow: auto;
}

.protractor * {
    box-sizing: border-box;
}

.protractor {
    display: none;
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2000;
    cursor: move;
    height: 200px;
    width: 385px;
    transform-origin: bottom center;
}

.protractor-img {
    height: 200px;
    width: 385px;
    display: block;
}

.protractor-rotate {
    touch-action: none;
    -ms-touch-action: none;
    cursor: move;
    position: absolute;
    background-size: 16px 59px;
    z-index: 2005;
    background: url(images/rotate-protractor.png) no-repeat 50%;
    width: 21px;
    height: 79px;
    bottom: -3px;
    margin-left: -28px;
    background-size: 20px 72px;
}

#protractor-wrapper {
    position: absolute;
}

.protractor-rotate:hover {
    background-size: 21px 79px;
}

@media only screen and (max-width: 600px) {
    .protractor, .protractor-img {
        height: 140px;
        width: 270px;
    }
}

.ruler * {
    box-sizing: border-box;
}

.ruler {
    display: none;
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2000;
    cursor: move;
    height: 43.5px;
    width: 500px;
}

.ruler-img {
    height: 43.5px;
    width: 500px;
    display: block;
}

.ruler-rotate {
    touch-action: none;
    -ms-touch-action: none;
    background: url(images/rotate-icon.png) no-repeat 50%;
    width: 19px;
    height: 65px;
    cursor: move;
    position: absolute;
    bottom: -11px;
    margin-left: -28px;
    background-size: 16px 59px;
    z-index: 2005;
}

#ruler-wrapper {
    position: absolute;
}

.ruler-rotate:hover {
    background-size: 19px 65px;
}

@media only screen and (max-width: 600px) {
    .ruler, .ruler-img {
        width: 350px;
        height: 30.5px;
    }
}
