/* ----------- */
/* -- Fonts -- */
/* ----------- */

@font-face {
  font-display: swap;
  font-family: 'Source Sans 3';
  font-style: normal;
  src: url('../fonts/source-sans-3.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Source Sans 3';
  font-style: italic;
  src: url('../fonts/source-sans-3-italic.woff2') format('woff2');
}

/* ----------------- */
/* -- Body, reset -- */
/* ----------------- */
html, body {
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
    background-color: var(--boom-grey-blue-10);
    color: var(--text-body);
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

br.clearfix {
    clear: both;
}

hr {
    border: 1px solid var(--primary-border-default);
    margin-bottom: 24px;
}

/* ------------------------------------- */
/* -- Colors, borders, spacing, grids -- */
/* ------------------------------------- */
:root {
    --boom-blue-20: #BADEFF;
    --boom-blue-50: #47A4F8;
    --boom-blue-100: #0075CA;
    --boom-blue-120: #004D85;

    --boom-grey-blue-10: #EFF5F9;
    --boom-grey-blue-20: #D8E5F0;
    --boom-grey-blue-30: #B7D6EB;
    --boom-grey-blue-50: #81AECC;
    --boom-grey-blue-65: #4D7793;
    --boom-grey-blue-80: #3A546B;
    --boom-grey-blue-90: #2D3748;
    --boom-grey-blue-100: #212529;

    --boom-callout-10: #FCE6E5;
    --boom-callout-50: #F76760;
    --boom-callout-100: #B62D26;

    --boom-positive-10: #E3FBF1;
    --boom-positive-50: #56CD9B;
    --boom-positive-100: #147357;

    --surface-subtle: #EFF5F9;
    --surface-lighter: #D8E5F0;
    --surface-default: #B7D6EB;
    --surface-darker: #4D7793;
    --surface-disabled: #EFEFEF;

    --border-lighter: #EFF5F9;
    --border-default: #D8E5F0;
    --border-darker: #B7D6EB;
    --border-disabled: #EFEFEF;

    --text-body: #212529;
    --text-h1: #0075CA;
    --text-h2: #2D3748;
    --text-h3: #0075CA;
    --text-caption: #3A546B;
    --text-negative-white: #FFFFFF;
    --text-negative: #B7D6EB;
    --text-icon: #0075CA;

    --primary-surface-lighter: #FFFFFF;
    --primary-surface-default: #47A4F8;
    --primary-surface-darker: #0075CA;
    --primary-border-lighter: #B7D6EB;
    --primary-border-default: #81AECC;
    --primary-border-darker: #0075CA;
    --primary-text-label: #000000;
    --primary-form-feedback: #3A546B;

    --error-surface-lighter: #FCE6E5;
    --error-surface-default: #F76760;
    --error-surface-darker: #B62D26;
    --error-border-lighter: #F76760;
    --error-border-default: #B62D26;
    --error-border-darker: #B62D26;
    --error-text-label: #B62D26;
    --error-form-feedback: #B62D26;

    --success-surface-lighter: #E3FBF1;
    --success-surface-default: #56CD9B;
    --success-surface-darker: #147357;
    --success-border-lighter: #56CD9B;
    --success-border-default: #147357;
    --success-border-darker: #147357;
    --success-text-label: #147357;
    --success-form-feedback: #147357;

    --disabled-surface-lighter: #FFFFFF;
    --disabled-surface-default: #B0BBC4;
    --disabled-surface-darker: #B0BBC4;
    --disabled-border-lighter: #EFEFEF;
    --disabled-border-default: #B0BBC4;
    --disabled-border-darker: #B0BBC4;
    --disabled-text-label: #B0BBC4;
    --disabled-form-feedback: #B0BBC4;

    --vert-spacing-huge: 192px;
    --vert-spacing-big: 96px;
    --vert-spacing-medium: 32px;
    --vert-spacing-small: 16px;
    --vert-spacing-tiny: 8px;

    --size-1: 0.25rem;
    --size-2: 0.5rem;
    --size-3: 0.75rem;
    --size-4: 1rem;
    --size-5: 1.25rem;
    --size-6: 1.5rem;
    --size-8: 2rem;
    --size-10: 2.5rem;
    --size-12: 3rem;
    --size-16: 4rem;
    --size-20: 5rem;
    --size-24: 6rem;
    --size-32: 8rem;
    --size-40: 10rem;
    --size-48: 12rem;
    --size-56: 14rem;
    --size-64: 16rem;

    --title-xl: 3.375rem;
    --title-l: 2.5rem;
    --title-m: 1.875rem;
    --title-s: 1.375rem;
    --title-xs: 1rem;
    --body-l: 1.375rem;
    --body-m: 1.125rem;
    --body-s: 1rem;
    --body-xs: 0.875rem;
    --disclaimer: 0.75rem;
}

@media (min-width: 767px) and (max-width: 1255px) {
    :root {
        --vert-spacing-huge: 160px;
        --vert-spacing-big: 80px;
    }
}

@media(max-width: 767px) {
    :root {
        --vert-spacing-huge: 128px;
        --vert-spacing-big: 64px;
        --title-xl: 2.5rem;
        --title-l: 2rem;
    }


}

/* -------------- */
/* -- Headings -- */
/* -------------- */
h1 {
    font-size: var(--title-xl);
    color: var(--text-h1);
    font-weight: bold;
    margin: 0;
}

h2 {
    font-size: var(--title-l);
    font-weight: 600;
    color: var(--text-h2);
}

h2.subtitle {
    margin-top: 0;
}

h2.sub {
    font-size: var(--title-l);
    font-weight: 350;
    color: var(--text-h2);
    margin: 0;
}

h3 {
    font-size: var(--title-m);
    font-weight: 600;
    color: var(--text-h3);
}

h4 {
    font-size: var(--title-s);
    font-weight: 600;
}

h5 {
    font-size: var(--title-xs);
    font-weight: 600;
}

p {
    /* max-width: 870px; */
}

p, a, li {
    line-height: 160%;
    font-size: var(--body-m);
}

a {
    color: var(--boom-blue-100);
}

p.error {
    color: var(--error-text-label);
}

code {
    background-color: var(--boom-grey-blue-100);
    color: white;
    display: block;
    line-height: 150%;
    padding: 1rem;
}

/* ------------------------ */
/* - Default form styling - */
/* ------------------------ */
label {
    font-size: var(--title-s);
}

input[type=text], input[type=number], input[type=email], input[type=password] {
    border-radius: 4px;
    box-shadow: 2px 2px 0px 0px #B7D6EB inset;
    border: none;
    line-height: 35px;
    min-width: 200px;
    padding: 0 12px;
}

input[type=submit],
input[type=button],
button,
a.button {
    background-color: var(--primary-surface-darker);
    color: var(--text-negative-white);
    border-radius: 26px;
    min-width: 120px;
    line-height: 50px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    padding: 0px 20px;
}

a.small-button {
    zoom: 0.81;
}

input[type=submit]:disabled,
input[type=button]:disabled,
button:disabled,
a.button.disabled {
    background-color: var(--disabled-surface-darker);
    cursor: not-allowed;
    pointer-events: all !important;
}

a.button.error {
    background-color: var(--error-surface-darker);
    color: white;
}

select {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    outline: none;

    background-color: white;
    border-radius: 32px;
    padding: 0 24px;
    text-overflow: ellipsis;
    height: 40px;

    background-image: url(../images/icons/chevron_down.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 10px);
}


/* ------------ */
/* -- Quotes -- */
/* ------------ */
blockquote {
    font-weight: 600;
    margin-left: 0;
    padding-left: 25px;
    font-style: italic;
    border-left: solid 4px var(--primary-border-darker);
    color: var(--boom-blue-100);
    font-size: var(--body-m);
}

/* ---------------- */
/* -- Containers -- */
/* ---------------- */
.container {
    margin: 0 auto;
    max-width: 1192px;
    width: auto;
}

@media (min-width: 1256px) {
    .container p {
        padding-right: 80px;
    }
}

@media (min-width: 1448px) {
    .container {
        margin: auto 128px;
        max-width: 1192px;
    }
}

@media (min-width: 1256px) and (max-width: 1447px) {
    .container {
        max-width: 1192px;
        margin: auto 128px;
    }
}

@media (min-width: 1008px) and (max-width: 1256px) {
    .container {
        max-width: 944px;
        margin: auto 32px;
    }
}

@media (min-width: 768px) and (max-width: 1008px) {
    .container {
        max-width: 100%;
        margin: auto 32px;
    }
}

@media (max-width: 768px) {
    .container {
        margin: auto 16px;
    }
}

/* ------------ */
/* -- Header -- */
/* ------------ */
header.top {
    width: 100%;
    height: 72px;
    padding: 12px 24px;
    background-color: var(--primary-surface-lighter);
    border-bottom: 1px solid var(--boom-grey-blue-30);
}

header.top .container {
    max-height: 100%;
}

header.top a.logo {
    display: flex;
    width: auto;
    height: 100%;
    align-items: center;
}

header.top a.logo img {
    max-height: 35px;
    width: auto;
    height: auto;
    max-width: 250px;
}

header.top.logged-in {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

@media(max-width: 500px) {
    header.top.logged-in {
        grid-template-columns: 0.5fr auto 1fr;
    }

    header.top a.logo img {
        max-width: 80px;
    }
}

header.top a.back-to-overview {
    text-decoration: none;
    line-height: 47px;
    font-size: 1rem;
    color: var(--text-icon);
    font-weight: 500;
}

header.top a.back-to-overview img {
    vertical-align: text-bottom;
}

header.top div.title {
    line-height: 47px;
    text-align: center;
}

header.top nav.nav-left {
    text-align: left;
}

header.top div.nav-right {
    text-align: right;
    line-height: 47px;
}

header.top div.title {
    font-size: var(--title-s);
}

header.top div.nav-right summary {
    color: var(--text-icon);
    font-weight: 500;
}

header.top div.nav-right div.account details summary {
    background-image: url(../images/icons/chevron_down.svg);
    background-size: 24px 24px;
    background-position: right center;
    background-repeat: no-repeat;
    padding-right: 30px;
    cursor: pointer;
}

header.top div.nav-right div.account details[open] summary {
    background-image: url(../images/icons/chevron_up.svg);
}

header.top div.help {
    margin-right: 24px;
}

@media(max-width: 500px) {
    header.top div.help {
        margin-right: 5px;
    }
}

header.top div.help summary {
    position: relative;
    display: inline-block;
    top: 5px;
    background-color: var(--surface-subtle);
    border-radius: 30px;
    width: 35px;
    height: 35px;
    vertical-align: text-bottom;
    line-height: 54px;
    text-align: center;
    cursor: pointer;
    background-image: url(../images/icons/question_24.svg);
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
}


header.top div.help details:hover summary,
header.top div.help details[open] summary {
    background-color: black;
    background-image: url(../images/icons/question_24_white.svg);
}

header.top div.account,
header.top div.help {
    display: inline-block;
    position: relative;
    z-index: 5;
}

header.top nav.account-menu,
header.top nav.help-menu {
    position: absolute;
    top: calc(100% - 5px);
    right: 0;
    height: auto;
    min-width: 200px;
    background-color: white;

    background-color: var(--primary-surface-lighter);
    border: 1px solid var(--boom-grey-blue-30);
    border-radius: 8px;
    padding: 16px;
    z-index: 5;
}

@media(max-width: 500px) {
header.top nav.account-menu,
    header.top nav.help-menu {
        position: absolute;
        left: -100px;
    }
}

header.top nav.account-menu a,
header.top nav.help-menu a {
    display: block;
    text-align: left;
    line-height: 20px;
    font-size: var(--body-s);
    text-decoration: none;
    border-bottom: 1px solid var(--boom-grey-blue-30);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

header.top nav.account-menu a:hover,
header.top nav.help-menu a:hover {
    color: var(--text-body);
}


header.top nav.help-menu {
    min-width: 250px;
}

header.top nav.account-menu a:last-child,
header.top nav.help-menu a:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* --------------- */
/* -- Container -- */
/* --------------- */
div.main-wrap {
  position: relative;
  display: flex;
  min-height: calc(100vh - 72px);
  flex-direction: column;
}

/* No sidebar */
section.container {
    display: block;
    margin-top: 0;
    z-index: 2;
}

section.container.has-header-image {
    margin-top: 200px;
    background-color: var(--boom-grey-blue-10);
    margin-left: auto;
    margin-right: auto;
}

/* Sidebar */
section.container:has(aside) {
    display: grid;
    grid-template-columns: 320px auto;
    width: 100%;
    margin: 0;
    max-width: 100%;
}

/* ------------------ */
/* -- Header image -- */
/* ------------------ */
section.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    z-index: 1;
}

section.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------- */
/* -- Sidebar -- */
/* ------------- */
aside.sidebar {
    width: 100%;
    height: auto;
    background-color: var(--primary-surface-lighter);
    padding: 0;
}

section.progress {
    background-color: var(--primary-surface-darker);
    padding: 24px;
    border-bottom-right-radius: 10px;
}

section.progress span.title {
    font-size: var(--title-xs);
    color: var(--text-negative-white);
    font-weight: 600;
}

section.progress p {
    font-size: var(--body-xs);
    color: var(--text-negative-white);
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 5px;
}

section.progress progress {
    opacity: 0;
}

section.progress div.progress {
  position: relative;
  display: block;
  background: white;
  height: 8px;
  border-radius: 8px;
  overflow: hidden;
}

section.progress div.progress span.highlighted {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 75%;
  background: black;
}

aside details {
    display: block;
    margin-right: 24px;
    margin-top: 24px;
    outline: none;
}

aside details summary {
    background-color: var(--surface-lighter);
    padding: 12px 35px 12px 24px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    font-size: var(--body-s);
    font-weight: 600;
    background-image: url(../images/icons/plus.svg);
    background-size: 24px 24px;
    background-position: calc(100% - 12px) center;
    background-repeat: no-repeat;
    cursor: pointer;
}

details summary::-webkit-details-marker,
details summary::marker {
    display: none;
    content: "";
}

aside details[open] summary {
    background-image: url(../images/icons/minus.svg);
    background-size: 14px 3px;
    background-position: calc(100% - 18px) center;
}

aside section.resources-list {
    margin-top: 20px;
    padding: 12px 35px 12px 24px;
    text-align: right;
}

/* -------------- */
/* -- Overview -- */
/* -------------- */
section.overview-tests {
    margin-top: 50px;
    margin-bottom: 20px;
}

section.overview-tests a {
    margin-bottom: 12px;
}

main.overview header.overview {
    display: grid;
    grid-template-columns: auto 370px;
    column-gap: 20px;
    row-gap: 20px;
}

@media(max-width: 700px) {
    main.overview header.overview {
        grid-template-columns: 1fr;
    }
}

main.overview header.overview div.details {
    background-color: var(--primary-surface-darker);
    padding: 24px;
    border-radius: 6px;
}

main.overview header.overview div.details * {
    color: white;
}

main.overview header.overview div.details ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

main.overview header.overview div.details li {
    margin-bottom: 10px;
}

main.overview header.overview div.details img {
    width: 28px;
    height: 28px;
    filter: grayscale(100%) brightness(1000%);
    vertical-align: text-bottom;
    margin-right: 10px;
}

main.overview header.overview div.details > *:first-child {
    margin-top: 0;
}

main.overview section.progress {
    margin: 0;
    margin-bottom: 40px;
    padding: 0;
}

main.overview p.elearning-type {
    color: var(--boom-blue-100);
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 10px;
}

main.overview h1 {
    margin-top: 0;
}

main.overview p.short-description {
    color: var(--boom-blue-100);
}

section.overview {
    margin-top: 30px;
}

section.overview .part {
    display: block;
    background-color: white;
    border-radius: 6px;
    color: white;
    padding: 32px 40px 32px 40px;
    margin-bottom: 32px;
}

section.overview details.part {
    color: var(--boom-blue-100);
    box-shadow: 0px 2px 0px 0px var(--primary-border-lighter);
}

section.overview details.part summary {
    cursor: pointer;
    background-image: url(../images/icons/plus.svg);
    background-size: 24px 24px;
    background-position: calc(100% - 12px) center;
    background-repeat: no-repeat;
}

section.overview details.part[open] summary {
    background-image: url(../images/icons/minus.svg);
    background-size: 14px 3px;
    background-position: calc(100% - 18px) center;
}

section.overview details.part h4 {
    margin-bottom: 0;
}

section.overview .part:last-child {
    margin-bottom: 0;
}

section.overview .part h4,
section.overview .part h5 {
    margin-top: 0;
    padding-top: 0;
}

section.overview .part h5 {
   font-size: var(--size-6);
   font-weight: 350;
   margin-bottom: 5px;
}

section.overview .part span {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 24px;
    row-gap: 24px;
}

section.overview .part span div {
    text-align: right;
    display: inline-block;
    align-self: flex-end;
}

@media(max-width: 700px) {
    section.overview .part span {
        grid-template-columns: 1fr;
    }

    section.overview .part span div {
        text-align: center;
    }
}

section.overview .part span div a.button {
    display: inline-block;
    align-self: flex-end;
}

section.overview ul.lesson-overview {
    margin-top: 25px;
}

section.overview .part p {
    margin-top: 0;
    margin-bottom: 0;
}

section.overview .part a.button {
    background-color: white;
    color: black;
}

section.overview .part a.button.disabled {
    color: var(--disabled-text-label);
}

section.overview .part.test {
    background-color: var(--boom-blue-100);
}

section.overview .part h5 {

}

main.overview ul.tabs {
    margin-top: 80px;
}

main.overview ul.tabs-content > li {
    display: block;
    float: none;
}

ul.lesson-overview {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
    padding: 12px 24px 12px 24px;
}

section.overview ul.lesson-overview {
    padding: 0;
}

ul.lesson-overview li {
    position: relative;
    display: block;
    line-height: 160%;
    vertical-align: middle;
    padding: 7px 0 10px 50px;
    font-size: var(--body-s);
}

ul.lesson-overview li a {
    line-height: 160%;
    text-decoration: none;
    color: var(--text-body);
    font-size: var(--body-s);
}

ul.lesson-overview li::before {
    position: absolute;
    left: 0;
    top: 4px;
    content: "";
    width: 33px;
    height: 33px;
    border-radius: 33px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--primary-border-darker);
}

ul.lesson-overview li.done::before {
    background-image: url(../images/icons/right_check_positive.svg);
    background-position: center center;
    background-size: 60% 60%;
    background-repeat: no-repeat;
    background-color: var(--success-surface-lighter);
    border-color: var(--success-border-darker);
}

ul.lesson-overview li.current::before {
    background-image: url(../images/icons/play_light.svg);
    background-position: center center;
    background-size: 80% 80%;
    background-repeat: no-repeat;
    background-color: var(--primary-surface-darker);
    border-color: var(--primary-border-darker);
}

ul.lesson-overview li::after {
    position: absolute;
    content: "";
    left: 16px;
    height: calc(100% - 32px);
    bottom: -5px;
    width: 1px;
    background-color: var(--primary-border-darker);
}

ul.lesson-overview li:last-child::after {
    display: none;
}

section.experts {
    width: 100%;
    background-color: white;
    box-shadow: 0px 2px 0px 0px var(--primary-border-lighter);
    border-radius: 8px;
    padding: 80px;
}

section.experts h2 {
    font-weight: 350;
    margin-top: 0;
}

section.experts div.expert-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    column-gap: 32px;
    row-gap: 32px;
    margin-top: 50px;
}

@media(max-width: 700px) {
    section.experts div.expert-grid {
        grid-template-columns: 1fr;
        column-gap: 32px;
    }
}

section.experts div.expert {
    display: grid;
    grid-template-columns: 87px auto;
    column-gap: 24px;
}

section.experts div.expert h4 {
    color: var(--boom-blue-100);
    margin-top: 0;
    margin-bottom: 5px;
}

section.experts div.expert-photo img {
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    width: 87px;
    height: 87px;
    object-fit: cover;
}

section.experts div.expert a.expert-link {
    display: block;
    font-size: 1rem;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 14px;
    line-height: 22.5px;
    vertical-align: middle;
    margin-top: 20px;
}

section.experts div.expert a.expert-link img {
    vertical-align: bottom;
}


/* ---------- */
/* -- Main -- */
/* ---------- */
main.container {
    margin-top: 60px;
    margin-bottom: 50px;
}

main.container > *:first-child {
    margin-top: 0;
}

main.container > form:first-child > *:first-child {
    margin-top: 0;
}

main.container.dashboard {
   margin-top: 100px;
}

main section {
    margin-bottom: 38px;
}

/* --------------- */
/* -- Dashboard -- */
/* --------------- */
main.dashboard div.dashboard-top {
    display: grid;
    grid-template-columns: auto 350px;
    column-gap: var(--vert-spacing-medium);
}

main.dashboard div.activate-license {
    background-color: var(--boom-blue-100);
    color: white;
    padding: var(--vert-spacing-medium);
    border-radius: 6px;
}

main.dashboard div.activate-license h3 {
    color: white;
    margin: 0;
    padding: 0;
}

main.dashboard div.activate-license p img {
    vertical-align: sub;
}

main.dashboard div.activate-license input[type=text] {
    width: 100%;
}

main.dashboard div.activate-license input[type=submit] {
    background-color: white;
    color: black;
    float: right;
    margin-top: 20px;
}

@media(max-width: 700px) {
    main.dashboard div.dashboard-top {
        grid-template-columns: 1fr;
        row-gap: var(--vert-spacing-medium);
    }
}

main.dashboard h2.sub {
    color: var(--text-h3);
    font-weight: 300;
}

main.dashboard p.intro {
    color: var(--boom-blue-100);
    margin-top: 30px;
    font-size: var(--title-s);
}

main.dashboard h3 {
    color: black;
}

div.training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 32px;
    row-gap: 32px;
    margin-top: 30px;
}

div.training-grid div.training {
    width: 100%;
    height: auto;
    background-color: white;
    border-radius: 6px 6px 0px 0px;
}

div.training-grid div.training img {
    width: 100%;
    height: auto;
    aspect-ratio: 376 / 200;
    object-fit: cover;
    border-radius: 6px 6px 0px 0px;
}

div.training-grid div.training div {
    padding: 0px 40px 32px 40px;
}

div.training-grid div.training h3 {
    font-size: var(--title-m);
    font-weight: 300;
    color: var(--boom-blue-100);
    line-height: 2.25rem;
}

div.training-grid p {
    padding-right: 0;
    font-size: var(--body-s);
    margin-bottom: 24px;
}

div.training-grid span.buttons {
    display: block;
    text-align: right;
}


@media (min-width: 767px) and (max-width: 1255px) {
    div.training-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 767px) {
    div.training-grid {
        grid-template-columns: 1fr;
    }
}

div.certificate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 32px;
    row-gap: 32px;
    margin-top: 30px;
}

div.certificate-grid div.certificate {
    width: 100%;
    height: auto;
    background-color: white;
    border-radius: 6px 6px 0px 0px;
    padding: 40px;
    background-color: var(--boom-blue-20);
    box-shadow: 0px 2px 0px 0px var(--surface-default);
}

div.certificate-grid div.certificate h3 {
    font-size: var(--title-m);
    font-weight: 300;
    color: black;
    line-height: 2.25rem;
    margin-top: 0;
}

div.certificate-grid p {
    padding-right: 0;
    font-size: var(--body-s);
    margin-bottom: 24px;
}

div.certificate-grid div.certificate img {
    vertical-align: text-bottom;
}

/* ------------------- */
/* -- Regular login -- */
/* ------------------- */
img.boom-nascholing {
    width: 100%;
    max-width: 380px;
}

/* ------------------------- */
/* -- Accreditation login -- */
/* ------------------------- */
form.accreditation label,
form.accreditation input {
    display: block;
}

form.accreditation input {
    margin-bottom: 30px;
}

/* ------------- */
/* -- Buttons -- */
/* ------------- */
div.button-row {
    margin-top: 54px;
    text-align: right;
}

div.button-row a {
    margin-right: 20px;
}

div.button-row a:last-child {
    margin-right: 0;
}

a.button,
a.button-hollow {
    display: inline-block;
    background-color: var(--primary-surface-darker);
    color: var(--text-negative-white);
    text-align: center;
    border-radius: 26px;
    min-width: 120px;
    line-height: 50px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 0 32px;
}

a.button-hollow {
    background-color: transparent;
    color: var(--boom-grey-blue-100);
    border: solid;
    border-width: 1px;
    border-color: var(--primary-border-default);
}

a.button.alt,
button.alt {
    color: black;
    border: solid;
    border-color: var(--primary-border-default);
    background: white;
    border-width: 1px;
}


div.accreditor-buttons-pusher {
    position: relative;
    display: block;
    height: 40px;
}

div.accreditor-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
}

div.accreditor-buttons a.accreditor-button {
    display: inline-block;
    line-height: 60px;
    text-align: center;
    width: 60px;
    height: 60px;
    background-color: black;
    border-radius: 8px;
}

div.accreditor-buttons a.accreditor-button img {
    width: 32px;
    height: 32px;
    vertical-align: text-bottom;
}

/* ---------------------- */
/* -- Test page        -- */
/* ---------------------- */
div.timer {
    position: relative;
}

div.timer:before {
    position: absolute;
    left: -35px;
    top: 7px;
    content: "";
    background-image: url(../images/icons/time.svg);
    width: 28px;
    height: 28px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

/* ---------------------- */
/* -- Test result page -- */
/* ---------------------- */
section.test-result {
    display: grid;
    grid-template-columns: auto auto;
}

section.test-result div.score-box {
    display: flex;
    align-items:center;
    aspect-ratio: 16 / 9;
    border: solid;
    border-width: 1px;
    border-color: var(--primary-border-default);
    background-color: var(--primary-surface-lighter);
    text-align: center;
    margin-top: 30px;
    width: auto;
    max-width: 300px;
}

section.test-result div.score-box div.score {
    text-align: center;
    width: 100%;
    height: auto;
}

section.test-result div.score-box span.percentage {
   font-size: var(--title-xl);
   color: var(--text-h1);
}

section.test-result div.score-box small {
    display: block;
    font-size: 1rem;
    color: var(--text-h1);
}

section.test-result div.score-box.no-success {
    border-color: var(--error-border-default);
    background-color: var(--error-surface-lighter);
}

section.test-result div.score-box.no-success span.percentage {
   color: var(--error-text-label);
}

section.test-result div.score-box.no-success small {
    color: var(--error-text-label);
}

section.test-result div.score-box.success {
    border-color: var(--success-border-default);
    background-color: var(--success-surface-lighter);
}

section.test-result div.score-box.success span.percentage {
   color: var(--success-text-label);
}

section.test-result div.score-box.success small {
    color: var(--success-text-label);
}

section.test-result div.button-row {
    display: flex;
    align-items: end;
    justify-content: right;
}

section.test-answers {
    margin-top: 50px;
}

main.test-result p.question-note {
    display: none;
}

main.test-result section.test-answers section {
    border-bottom: none;
    margin-top: 0;
    margin-bottom: 0;
}

section.test-answers > section {
    border-bottom: solid;
    border-width: 2px;
    border-color: var(--primary-border-default);
    padding-bottom: 80px;
    margin-top: 50px;
    margin-bottom: 80px;
}


section.test-answers > section:last-child {
    border-bottom: none;
}

/* -------------- */
/* -- Messages -- */
/* -------------- */
section.messages div.message {
    display: grid;
    grid-template-columns: auto 140px;
    font-size: 1rem;
    column-gap: 30px;
    min-height: 50px;
    padding: 12px 24px;
}

section.messages div.message.neutral {
    background-color: var(--primary-form-feedback);
    color: white;
}

section.messages div.message.success {
    background-color: var(--success-form-feedback);
    color: white;
}

section.messages div.message.error {
    background-color: var(--error-form-feedback);
    color: white;
}

section.messages div.message span img {
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 8px;
}

section.messages span {
    display: block;
    min-height: 22px;
    margin-top: 5px;
    margin-bottom: 5px;
}

section.messages a {
    display:flex;
    text-align: right;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    min-height: 32px;
    align-items:center;
}


/* --------------- */
/* -- Resources -- */
/* --------------- */
section#resource:empty {
    display: none;
}

section#resource {
    position: fixed;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    background-color: white;
    z-index: 3;
}

section#resource header {
    display: grid;
    grid-template-columns: auto 42px;
    column-gap: 24px;
    width: 100%;
    min-height: 72px;
    background-color: var(--primary-surface-darker);
    border-bottom: 1px solid var(--boom-grey-blue-30);
    padding: 15px 24px 14px 40px;
}

section#resource header div.title-dropdown {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 24px;
    row-gap: 24px;
}

section#resource div.dropdown {
    display: flex;
    flex-grow: 100;
}

section#resource div.dropdown select {
    width: 100%;
    max-width: 400px;
}

section#resource header b.title {
    font-size: 1rem;
    color: var(--text-negative-white);
}

section#resource a.close-resource {
    float: right;
    display: inline-block;
    background-color: white;
    width: 42px;
    height: 42px;
    text-align: center;
    padding-top: 8px;
    border-radius: 30px;
}

section.resource-content {
    overflow: scroll;
    height: calc(100vh - 72px);
    padding: 15px 24px 14px 40px;
}

section.resource-content img,
section.resource-content video,
section.resource-content figure {
    max-width: 100%;
}

@media(max-width: 1200px) {
    section#resource {
        top: 0;
        left: 0;
        width: 100%;
    }
}

@media(max-width: 700px) {
    section#resource header div.title-dropdown {
        grid-template-columns: 1fr;
        align-items: center;
        column-gap: 24px;
    }
}

/* ------------- */
/* -- Profile -- */
/* ------------- */
p.profile-intro {
    font-size: var(--body-l);
    color: var(--boom-blue-100);
}

p.profile-intro a {
    font-size: var(--body-l);
}

main.profile div.user-info b {
    font-size: var(--body-s);
    color: var(--boom-blue-100);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

main.profile div.user-info span {
    display: block;
    margin-bottom: 40px;
    font-size: var(--body-m);
}

/* ------------ */
/* -- Footer -- */
/* ------------ */
footer {
    display: grid;
    grid-template-columns: 100px 1fr;
    width: 100%;
    background-color: black;
    min-height: 50px;
    height: auto;
    padding: 40px;
}

footer nav {
    text-align: right;
}

footer nav a {
    text-decoration: none;
    color: white;
    border-right: 1px solid white;
    padding-right: 8px;
    margin-right: 8px;
    font-size: var(--body-xs);
    line-height: var(--body-xs);
    column-gap: 10px;
}

footer nav a:hover {
    text-decoration: underline;
}

footer nav a:first-child {
    padding-left: 0;
}

footer nav a:last-child {
    border-right: none;
}

@media(max-width: 750px) {
    footer {
        grid-template-columns: 1fr;
    }

    footer nav {
        text-align: left;
        margin-top: 20px;
    }

    footer nav a span {
        white-space: nowrap;
    }
}

/* ---------------------- */
/* -- Content elements -- */
/* ---------------------- */
iframe.video, video {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 10px;
    margin-bottom: 10px;
    border: solid;
    border-color: rgba(183, 214, 235, 1);
    border-width: 1px;
}

section.rich-with-image {
    display: grid;
    grid-template-columns: calc(70% - 16px) calc(30% - 16px);
    grid-column-gap: 32px;
}

section.rich-with-image.left {
    grid-template-columns: 30% 70%;
    grid-column-gap: 32px;
}

section.rich-with-image div.image {
    display: grid;
    place-content: center;
}

section.rich-with-image div.image img {
    max-width: 100%;
    height: auto;
}

section.multiple-choice ul.answers {
    display: grid;
    list-style: none;
    grid-template-columns: calc(50% - 16px) calc(50% - 16px);
    grid-column-gap: 32px;
    grid-row-gap: 12px;
    margin: 0;
    padding: 0;
}

section.multiple-choice ul.answers li {
    display: flex;
}


section.multiple-choice ul.answers.long-answers {
    grid-template-columns: repeat(1, 1fr);
}

section.multiple-choice ul.answers input[type=radio],
section.multiple-choice ul.answers input[type=checkbox] {
    display: none;
}

section.multiple-choice ul.answers label {
    display: grid;
    grid-template-columns: 20px auto;
    background-color: var(--primary-surface-lighter);
    color: var(--primary-text-label);
    border-radius: 26px;
    padding: 10px 30px 10px 30px;
    box-shadow: 0px 2px 0px 0px var(--border-default);
    border: 1px solid transparent;
    cursor: pointer;
    width: 100%;
    font-size: var(--body-s);
}

section.multiple-choice ul.answers input:checked + label {
    box-shadow: 0px 2px 0px 0px var(--primary-border-darker);
    border: 1px solid var(--primary-surface-default);
    color: var(--boom-blue-100);
}

section.multiple-choice ul.answers input:not(:checked) + label:hover {
    box-shadow: 0px 2px 0px 0px var(--primary-border-darker);
}

section.multiple-choice ul.answers input.correct + label {
    color: var(--success-text-label);
    padding-right: 45px;
}

section.multiple-choice ul.answers input.correct:checked + label {
    border: 1px solid var(--success-surface-default);
    box-shadow: 0px 2px 0px 0px var(--success-border-lighter);
    background-color: var(--success-surface-lighter);
    background-image: url(../images/icons/right_check_positive.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
}

section.multiple-choice ul.answers input.correct + label span.letter {
    color: var(--success-text-label);
}

section.multiple-choice ul.answers input.incorrect + label {
    color: var(--error-text-label);
    padding-right: 45px;
}

section.multiple-choice ul.answers input.incorrect:checked + label {
    border: 1px solid var(--error-surface-default);
    box-shadow: 0px 2px 0px 0px var(--error-border-lighter);
    background-color: var(--error-surface-lighter);
    background-image: url(../images/icons/wrong_close_red.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
}

section.multiple-choice ul.answers input.incorrect + label span.letter {
    color: var(--error-text-label);
}

section.multiple-choice ul.answers span.letter {
    display: inline-block;
    font-weight: bold;
    color: var(--boom-blue-100);
    margin-right: 10px;
}

p.question {
    display: block;
    position: relative;
    font-weight: 600;
    padding-left: 25px;
    margin-bottom: 40px;
}

p.question::before {
    content: "";
    width: 4px;
    position: absolute;
    display: block;
    top: 5px;
    left: 0;
    height: calc(100% - 5px);
    border-left: solid 4px var(--primary-border-darker);
}

span.question-number {
    display: block;
    font-size: 1rem;
    color: var(--boom-blue-100);
    font-weight: 600;
}

div.feedback {
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border-darker);
    background-color: var(--primary-surface-lighter);
    padding: 16px 25px 16px 60px;
    margin-top: 40px;
}

div.feedback img {
    position: absolute;
    left: 16px;
    top: 16px;
    width: 30px;
    height: 30px;
}

div.feedback h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--boom-blue-100);
}

div.feedback p {
    margin-top: 0;
}

section.open-question textarea {
    width: 100%;
    height: 100px;
    box-shadow: 2px 2px 0px 0px var(--border-darker) inset;
    border: none;
    padding: 24px;
    border-radius: 4px;
    font-family: 'Source Sans 3', sans-serif;
}

section.open-question textarea::placeholder {
    color: var(--boom-grey-blue-65);
}

section.attachment {
    display: block;
}

section.attachment + section.attachment {
    margin-top: -60px;
}

p.question-note {
    font-size: var(--body-s);
    color: var(--primary-text-label);
    font-weight: 500;
    margin-top: 22px;
}

ol.matching-sources {
    list-style-type: lower-alpha;
    margin-left: 0;
    padding-left: 0;
    list-style-position: inside;
    margin-bottom: 40px;
}

ol.matching-sources li {
    font-size: 1rem;
}

div.ranking-grid div.ranking-option input,
div.matching-grid div.matching-option input {
    position: relative;
    width: 50px;
    height: 50px;
    max-width: 50px;
    min-width: auto;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    margin-bottom: 20px;
    margin-right: 20px;
    text-align: center;
    font-weight: bold;
    color: var(--primary-text-label);
}

div.ranking-grid div.ranking-option input.correct,
div.matching-grid div.matching-option input.correct {
    border: 1px solid var(--success-surface-default);
    box-shadow: 2px 2px 0px 0px var(--success-border-lighter) inset;
    background-color: var(--success-surface-lighter);
    background-image: url(../images/icons/right_check_positive.svg);
    background-repeat: no-repeat;
    background-position: 20px center;
    color: var(--success-text-label);
    text-align: left;
}

div.ranking-grid div.ranking-option input.incorrect,
div.matching-grid div.matching-option input.incorrect {
    border: 1px solid var(--error-surface-default);
    box-shadow: 2px 2px 0px 0px var(--error-border-lighter) inset;
    background: var(--error-surface-lighter);
    color: var(--error-text-label);
    background-image: url(../images/icons/wrong_close_red.svg);
    background-repeat: no-repeat;
    background-position: 20px 13px;
    text-align: left;
}

figure {
    position: relative;
    max-width: 100%;
}

figure img {
    max-width: 100%;
    height: auto;
}

figure figcaption {
    font-weight: bold;
}

figure a.enlarge-image {
    display: none;
}

figure:hover a.enlarge-image {
    display: inline-block;
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background-image: url(../images/icons/enlarge.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

figure.enlarged {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: white;
    z-index: 10;
}

figure.enlarged a.enlarge-image {
    display: inline-block;
    background-image: url(../images/icons/minimize.svg);
}

figure.enlarged img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

figure.enlarged figcaption {
    display: none;
}

/* Line above questions, when they're not the first element */
section.open-question:not(:first-child),
section.ranking-question:not(:first-child),
section.matching-question:not(:first-child),
section.multiple-choice:not(:first-child) {
    border-top: solid 1px;
    border-top-color: var(--primary-border-default);
    padding-top: 38px;
}

/* -- Tabs -- */
.tabs {
    width: 100%;
    float: none;
    list-style: none;
    position: relative;
    text-align: left;
    padding: 0;
}

.tabs:before {
    content: "";
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    background-color: var(--primary-border-darker);
    height: 2px;
}

.tabs-content {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tabs > li {
    float: left;
    display: block;
}

.tabs input[type="radio"] {
    position: absolute;
    top: 0;
    left: -9999px;
}

.tabs label {
    display: block;
    cursor: pointer;
    position: relative;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    color: black;
    font-size: var(--body-m);
    margin-right: 32px;
}

.tabs label:hover,
.tabs [id^="tab"]:checked + label {
    border-bottom: solid;
    border-color: var(--primary-border-darker);
    border-width: 2px;
    color: var(--boom-blue-100);
    font-weight: 500;
}

.tabs-content .tab-content {
  display: none;
  overflow: hidden;
  width: 100%;
  font-size: 17px;
  line-height: 25px;
  margin-top: 20px;
}

/* -- Hidden heartbeat section -- */
div.heartbeat {
    display: none;
}
