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: 1.13em;
    color: #ffffff;
    font-family: 'Roboto Medium', sans-serif;
    font-weight: 500;
    font-style: normal;
    border: 0px;
    padding: 7px 15px 7px 15px;
    background: #002664;
    margin-top: 10px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

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 25px;
    padding: 5px 0;
}

.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 {
    padding-left: 25px;
    padding-right: 25px;
    margin-left: auto;
    margin-right: auto;
}

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: #FFE9F6;
    border: 1px solid #CE007A;
    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 25px 150px 25px;
}

.test-content {
    position: fixed;
    top: 40px;
    bottom: 10px;
    left: 0;
    right: 0;
    margin-bottom: 10px;
}

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

.header-logo-container {
    display: table-cell;
    padding: 8px 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;
}