/*  0C4A60 / EF6C33 / ABDFF1 / E1DDDB */
html, body {
    height: 100%;
}

/* Ensure <picture> elements never overflow their container */
picture {
    max-width: 100%;
}

body, h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
}

@media screen and (max-width: 39.9375em) {
    body {
        height: 40em;
    }
}

h1 {
    font-size: 30pt;
    color: #0D4A60;
    margin-bottom: 0.2em;
    line-height: 1em;
}

h1.large {
    font-weight: 300;
    font-size: 80pt;
    line-height: 60pt;
    color: #ADAFAF;
    margin-top: 20px;
}

h2 {
    font-weight: 500;
    font-size: 24pt;
    line-height: 30pt;
    color: #0D4A60;
}


h2.large {
    font-weight: 300;
    font-size: 32pt;
    line-height: 30pt;
    color: #ADAFAF;
}

h2.subtext {
    line-height: 26pt;
    color: white;
}

h3.subtext {
    margin-top: 1em;
    color: white;
}

h4.subtext {
    margin-top: 1em;
    color: white;
}

h3 {
    font-weight: 500;
    font-size: 18pt;
    line-height: 20pt;
    color: #0D4A60;
    margin-bottom: 0.6em;
}

.h3 p {
    font-weight: 700;
    font-size: 18pt;
    line-height: 20pt;
    color: #0D4A60;
    margin-bottom: 0.6em;
}

h3.light {
    font-weight: 300;
}

h3.subtitle {
    color: #4A4A4A;
}

h4 {
    font-weight: 500;
    font-size: 16pt;
    line-height: 20pt;
    color: #0D4A60;
}

h4:not(:first-child) {
    margin-top: 1rem;
}

.h4 p {
    font-weight: 700;
    font-size: 16pt;
    line-height: 20pt;
    color: #0D4A60;
}

h5 {
    color: #0D4A60;
}

h6 {
    color: #0D4A60;
}

h4.light {
    color: #ADAFAF
}

p {
    font-weight: 300;
    font-size: 12pt;
    line-height: 20pt;
    color: #4A4A4A;
}

p.introText {
    color: #4A4A4A;
    font-size: 18pt;
    line-height: 28pt;
}

p.introTextBold {
    font-weight: 500;
    color: #4A4A4A;
}

p.subtitle {
    font-weight: 500;
    color: #4A4A4A;
    margin-bottom: 0;
}

p.subtext {
    font-size: 10pt;
    line-height: 14pt;
}

p.highlight {
    color: #0C7BA6;
    font-weight: 500;
}

.fineprint {
    font-size: 10pt;
    line-height: 14pt;
    color: #0D4A60;
}

dl dt {
    color: #4A4A4A;
}

li::marker {
    color: #4A4A4A;
    font-weight: 300;
}

a {
    color: #0C7BA6;
}

a:hover {
    color: #0D4A60;
}

legend {
    color: #4A4A4A;
}

span.right img {
    float: right;
    margin: 1em;
}

span.left img {
    float: left;
    margin: 1em;
}

.notSelectable {
    user-select: none;
    -webkit-user-select: none;
}

.header-menu > li {
    padding: 0em 0em 0 0.7em;
}

.header-menu > li > a {
    padding: 0 1.5rem 0 0 !important;
    font-size: 11pt;
}

.header-menu .is-dropdown-submenu {
    background-color: #0C7BA6;
}

.header-menu.dropdown.menu > li.is-dropdown-submenu-parent > a::after {
    border-color: #ffffff transparent transparent !important;
}

.header-menu.dropdown.menu > li.is-active > a::after {
    border-color: #1779ba transparent transparent !important;
}

.header-menu > li:last-child {
    padding-left: 1.5em;
}

@media screen and (max-width: 39.9375em) {
    .header-menu > li:last-child {
        padding-left: 2em;
    }
}

.submenu {
    z-index: 100;
}

.menu .is-active > a {
    background: none;
    color: #0C7BA6;
}

.menu .is-active > a {
    background: #ddf0fc;
}

.menu .selected > a {
    background: #1779ba;
    color: #fefefe;
}

a.menu:hover {
    color: #0D4A60;
}

.menu .disabled_link {
    line-height: 1;
    text-decoration: none;
    display: block;
    font-weight: 500;
    padding: 0.7rem 1rem;
    margin-bottom: 0;
    color: #ADAFAF;
    cursor: not-allowed;
}

@media screen and (max-width: 39.9375em) {
    h1 {
        font-size: 26pt;
        line-height: 1em;
    }

    h1.homePage {
        line-height: 40pt;
    }

    h1.large {
        font-size: 80pt;
    }

    h2 {
        font-size: 18pt;
        line-height: 1.5em;
    }

    h2.large {
        font-size: 28pt;
        line-height: 28pt;
    }

    h2.subtext {
        line-height: 20pt;
    }

    h3 {
        font-size: 16pt;
        line-height: 20pt;
    }

    h4 {
        font-size: 14pt;
        line-height: 18pt;
    }

    p {
        font-size: 12pt;
        line-height: 20pt;
    }

    p.introText {
        font-size: 14pt;
        line-height: 22pt;
    }

    p.small {
        font-size: 10pt;
        line-height: 16pt;
    }
}

.section {
    padding: 1em 0;
}

@media screen and (min-width: 40em) {
    .training-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

.training-section a {
    word-wrap: break-word;
}

#page-container {
    min-height: 80%;
}

#error-section {
    background: image-set(url("/images/generated/404_reef-3293x2000-1920w.webp") type("image/webp"), url("/images/404_reef.jpg") type("image/jpeg")) top no-repeat;
    background-size: cover;
}

@media screen and (min-width: 40em) and (max-width: 99.9375em) {
    #error-section {
        height: 45em;
    }
}

@media screen and (min-width: 100em) {
    #error-section {
        height: 50em;
    }
}

.error-section {
    padding-top: 160px;
}

.error-section h1 {
    color: white;
}

.error-section h2 {
    color: white;
}

.error-bottom {
    background-color: #0D4A60BB;
    padding-top: 1em;
}

.error-bottom p {
    color: white;
}

.dashboard-profile {
    background-color: #EFEFEF;
    padding: 1rem;
}

.callout.contrast {
    background-color: #EFEFEF;
    border-color: #EFEFEF;
    padding: 1rem;
}

#footer {
    width: 100%;
}

#footer p {
    color: #EFEFEF;
}

p.small {
    font-size: 10pt;
    line-height: 18pt;
}

#footer h4 {
    color: #EFEFEF;
    font-weight: 500;
    font-size: 12pt;
}

.footer-divider {
    max-width: 100%;
}

.bottomwave {
    margin-bottom: -2px;
}

.footerwave {
    transform: scaleY(-1);
}

#footer-section {
    padding: 15px 3em 2em 3em;
}

.footer {
    background-color: #051f29;
}

#signup-header {
    background: #EFEFEF;
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
}

li {
    line-height: 18pt;
    font-size: 12pt
}

.content li {
    font-weight: 200;
    line-height: 22pt;
    color: #4A4A4A;
}

.axis {
    font-weight: 400;
    font-size: 14pt;
    line-height: 22pt;
    color: #4A4A4A;
}

.training_highlight {
    background-color: #d7ecfa;
    margin-top: 1em !important;
    margin-bottom: -1em !important;
}

.avelo_mode_highlight {
    background-color: #EFEFEF;
    margin-top: 1em !important;
    margin-bottom: -1em !important;
}

.accordion-title {
    font-weight: 500;
    font-size: 14pt;
    line-height: 14pt;
    color: #4A4A4A;
}

.signup-walkthrough .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 2.1em;
    height: 2.1em;
    min-width: 2.1em;
    padding: 0;
    border-radius: 50%;
    font-size: 1em;
}

.correct {
    background-color: lightgreen;
}

.incorrect {
    background-color: lightcoral;
}

.title {
    font-weight: 400;
    font-size: 12pt;
    line-height: 22pt;
    margin-top: .5em;
    color: #0D4A60;
}

.slider {
    width: 100%;
}

.equipment-status-indicator-current {
    color: green;
}

.equipment-status-indicator-due {
    color: orange;
}

.equipment-status-indicator-expired {
    color: red;
}

table.specifications {
    font-size: 14pt;
    line-height: 22pt;
}

.sort-button {
    position: relative;
    cursor: pointer;
    padding-right: 1.5em;
}

.sort-button::after {
    content: "";
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    background-repeat: no-repeat;
    background-size: contain;
}

.sort-button.sort::after {
    background-image: url('/images/TableSort.svg');
}

.sort-button.sort-up::after {
    background-image: url('/images/TableSort_upArrow.svg');
}

.sort-button.sort-down::after {
    background-image: url('/images/TableSort_downArrow.svg');
}

.table_csv_download {
    float: left;
    margin-top: 1em;
}

.vertical-center {
    margin: 0;
    position: relative;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.brand {
    font-family: 'Righteous', sans-serif;
    font-weight: normal;
}

.top-bar {
    width: 100%;
    padding: 0 3em;
}

.no-js .top-bar {
    display: none;
}

@media screen and (min-width: 40em) {
    .no-js .top-bar {
        display: block;
    }

    .no-js .title-bar {
        display: none;
    }
}

#sticky-header.is-stuck .top-bar, #sticky-header.is-stuck .title-bar {
    padding-top: 0;
    padding-bottom: 0;
    transition: padding 0.25s ease;
}

.sticky {
    z-index: 5;
}

.sticky-container {
    min-height: 100%;
}

@keyframes pulse {
    from, to {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.loader {
    animation: pulse 2s infinite;
}

.spinnerParent {
    position: relative;
}

.spinner {
    position: absolute;
    left: 50%;
    margin-left: -0.5em;
}

.spinnerContent {
    color: transparent;
}

.title-bar {
    background-color: #051f29;
}

.logo {
    margin: .7em 0 .5em 0;
}

.tagline {
    font-size: 3em;
    text-align: center;
    font-weight: bold;
}

.short {
    font-size: 1.2em;
    color: #373737;
}

.callout {
    border-radius: 4px;
    border-style: solid;
}

.callout.no-border {
    border-width: 0;
}

.callout.alert {
    border-color: #ff8989;
}

.callout.highlight {
    background: var(--ice);
    border-width: 0;
}

#trainingcontent ol {
    margin-left: 1.25rem;
}

#trainingcontent ul {
    margin-left: 1.25rem;
}

#trainingcontent ul.accordion {
    margin-left: 0;
}

#trainingcontent ul.tabs {
    margin-left: 0;
}

.fa-ul {
    list-style-type: none;
    margin-left: var(--fa-li-margin, 1.75em);
    padding-left: 0;
}

.exampleblock {
    padding: 1em;
    width: 80%;
}

.sidebarblock {
    border-radius: 4px;
    background-color: #ddf0fc;
    border-color: #b4d9f3;
    border-style: solid;
    border-width: 2px;
    padding: .5em 1em 0 1em;
    margin-bottom: 1em;
}

.sidebarblock .title:first-child {
    font-weight: 700;
    line-height: 20pt;
    color: #4A4A4A;
    margin-bottom: .5em;
}

div.callout.success {
    border-radius: 4px;
    border-color: #b4f3c0;
}

.callout.blue   { background-color: var(--edu); border-color: var(--brand-light-blue); color: var(--dk); }
.callout.green  { background-color: var(--pro); border-color: var(--status-good); color: var(--dk); }
.callout.purple { background-color: #FFFFFF; border-color: #8B57BD; color: var(--dk); }

.callout.blue   .title { color: var(--sc); }
.callout.green  .title { color: var(--teal); }
.callout.purple .title { color: #3A016E; }

.radpro {
    background-color: #e1faea;
    border-color: #b4f3c0;
}

.headline p {
    margin-top: 1.5em;
    margin-bottom: 1em;
    font-weight: 500;
    font-size: 18pt;
    line-height: 20pt;
    color: #0D4A60;
}

.admonitionblock > table {
    border-collapse: separate;
    border: 0;
    background: none;
    width: 100%;
}

.admonitionblock > table tbody tr {
    background: #FFFFFF00;
}

.admonitionblock > table tbody {
    background: #FFFFFF00 !important;
}

.admonitionblock > table td.icon {
    text-align: center;
    width: 80px;
    background: #FFFFFF00 !important;
    border: 0;
}

.admonitionblock > table td.content {
    padding-left: 1.125em;
    padding-right: 1.25em;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
    border-left: 2px solid #ddd;
    background: #FFFFFF00 !important;
    color: #0D4A60;
    
    a {
        word-break: break-all;
    }
}

.admonitionblock > table td.content p {
    color: #0D4A60;
}

.admonitionblock td.icon [class^="fa icon-"] {
    font-size: 1.5em;
    cursor: default;
}

.attribution {
    font-weight: 300;
    font-size: 14pt;
    line-height: 20pt;
    color: #4A4A4A;
}

.icon-note:before {
    content: "\f05a";
    color: #0D4A60;
}

.icon-tip:before {
    content: "\f0eb";
    color: #111;
}

.icon-danger:before {
    content: "\f256";
    color: #bf0000;
}

.icon-warning:before {
    content: "\f071";
    color: #bf0000;
}

.icon-important:before {
    content: "\f06a";
    color: #bf0000;
}

.icon-caution:before {
    content: "\f06a";
    color: orange;
}

.menu-hamburger {
    color: #24B0F0;
}

#trainingcontent {
    margin-bottom: 100px;
}

#toc {
    border-radius: 4px;
    background-color: #ddf0fc;
    border-color: #b4d9f3;
    border-style: solid;
    border-width: 2px;
    padding: .5em 1em 0 1em;
    margin-bottom: 1em;
}

@media screen and (min-width: 40em) {
    #training-toc {
        z-index: 0;
        position: sticky;
        top: 4em;
    }
}

ul.subtoc li {
    list-style-type: none;
}

ul.subtoc {
    margin-left: 0;
}

ul .toc-icon {
    width: 1.5em;
    float: left;
}

ul .toc-title {
    margin-left: 1.5em;
}

.progress_bar {
    margin-top: 1em;
}

.progress_bar .fa-square {
    color: #1779ba;
}

.progress_bar .fa-times-circle {
    color: white;
}

.progress_bar .fa-check-square {
    color: white;
}

.fa-li {
    top: 0 !important;
}

.fa-file-circle-exclamation {
    margin-left: 6px;
}

.progress_bar_fill {
    background-color: #1779ba;
    padding: 0.3em 0;
}

.progress_bar_empty {
    background-color: #EFEFEF;
    padding: 0.3em 0;
}

.progress_text {
    font-style: italic;
    font-weight: 300;
    margin: 0.4em 0 0 0.4em;
}

.answer {
    padding: 0 0.3em;
}

.sect1 {
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    display: none;

    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
}

.document .sect1 {
    opacity: 1;
    display: block;
}

.underline {
    text-decoration: underline;
    text-decoration-color: #4A4A4A;
}

.half {
    width: 50%;
}

.full {
    width: 100%;
}

.play {
    background: url("/images/Play.svg") center no-repeat;
    height: 2em;
    width: 2em;
    cursor: pointer;
    margin: auto;
}

.play:hover {
    background: url("/images/Play Hover.svg") center no-repeat;
}

.play:focus {
    background: url("/images/Play Focus.svg") center no-repeat;
}

.pause {
    background: url("/images/Pause.svg") center no-repeat;
    height: 2em;
    width: 2em;
    cursor: pointer;
    margin: auto;
}

.pause:hover {
    background: url("/images/Pause Hover.svg") center no-repeat;
}

.pause:focus {
    background: url("/images/Pause Focus.svg") center no-repeat;
}

.fullscreen {
    background: url("/images/Expand.svg") center no-repeat;
    height: 2em;
    width: 2em;
    cursor: pointer;
    margin: auto;
}

.fullscreen:hover {
    background: url("/images/Expand Hover.svg") center no-repeat;
}

.fullscreen:focus {
    background: url("/images/Expand Focus.svg") center no-repeat;
}

@media print {
    .sect1 {
        opacity: 1;
        display: block;
    }
}

.step {
    display: none;
}

.unit_imperial {
    display: none;
}

.unit_metric {
    display: none;
}

span.unit_showing {
    display: inline;
}

div.unit_showing {
    display: block;
}

.showing {
    opacity: 1;
    z-index: 2;
    display: block;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
}

label {
    font-size: 1em;
    color: #4A4A4A;
}

#toc-accordion .accordion-content {
    display: none;
    padding: 0;
    border-width: 0;
    background-color: #00000000;
}

.toc .toc-group-item {
    border-top: 1px solid var(--border-blue-light);
}

.toc .toc-group-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 0;
    background: none;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    cursor: pointer;
    color: var(--pr);
}

.toc .toc-group-header:hover {
    color: var(--sc);
}

.toc .toc-group-header:focus-visible {
    outline: 2px solid var(--sc);
    outline-offset: 2px;
}

.toc .toc-group-caret {
    display: inline-block;
    transition: transform 0.15s ease;
    color: var(--sc);
}

.toc .toc-group-caret.open {
    transform: rotate(90deg);
}

.toc .toc-group-member {
    margin-left: 0.9rem;
}

.toc .toc-group-hidden {
    display: none;
}

.toc .toc-group-count {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sc);
    background: var(--ice);
    padding: 0.05rem 0.45rem;
    border-radius: 9px;
}

.is-submenu-item .menu {
    background-color: #EFEFEF;
}

.is-submenu-item .menu:hover {
    background-color: #0C7BA6;
    color: white;
}

.is-dropdown-submenu {
    left: 100% !important;
    border: none !important;
}

.indicator {
    padding: .2em 0 0 .5em;
}

.fa-check-square {
    color: #1779ba;
}

.fa-square {
    color: #1779ba;
}

.white {
    color: white;
}

.red {
    color: red;
}

.darkred {
    color: darkred;
}

.incomplete {
    color: #ADAFAF;
}

.error {
    color: #a3282c;
}

.green {
    color: green;
}

.blue {
    color: #0D4A60;
}

.noMargin {
    margin: 0;
}

.noPadding {
    padding: 0 !important;
}

.align-right {
    text-align: right;
}

/* Dashboard header: line up the Avelo store button with the cart icon */
#dashboard .dashboard-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

#dashboard .dashboard-header-actions .button {
    margin: 0;
}

.todo {
    background-color: red;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #707070;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #707070;
    opacity: 1;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #707070;
    opacity: 1;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #707070;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #707070;
}

::placeholder { /* Most modern browsers support this now. */
    color: #707070;
}

.fancybox-content {
    width: 80%;
    height: 90%;
    max-width: 80%;
    max-height: 90%;
    margin: 0;
}

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

.fancybox-content title {
    margin-top: 2em;
}

ul.checklist {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.socialMediaLink {
    width: 2em;
    margin: .2em 0 .2em .5em;
}

.grecaptcha-badge {
    visibility: hidden;
}

.is-stuck .socialMediaLink {
    display: none;
}

.youtube {
    background-color: #000;
    margin-bottom: 30px;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
}

.youtube img {
    width: 100%;
    top: -16.84%;
    left: 0;
    opacity: 0.7;
}

.youtube .play-button {
    width: 90px;
    height: 60px;
    background-color: #333;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    z-index: 1;
    opacity: 0.8;
    border-radius: 6px;
}

.youtube .play-button:before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26.0px;
    border-color: transparent transparent transparent #fff;
}

.youtube img,
.youtube .play-button {
    cursor: pointer;
}

.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
    position: absolute;
}

.youtube .play-button,
.youtube .play-button:before {
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.youtube iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

/* Material UI / Zurb Foundation compatibility */

.MuiInputBase-input {
    border: none !important;
    -webkit-box-shadow: none;
    box-shadow: none !important;
    background-color: white !important;
}

.MuiInputBase-root {
    margin: 0 0 1rem 0;
    border: none;
}

.MuiSwitch-track {
    background-color: #11A6E1 !important;
    opacity: 1;
}

.MuiSwitch-thumb {
    background-color: #1779ba !important;
}

.MuiTablePagination-displayedRows {
    margin-bottom: 0;
}

.certification_card_container {
    width: 24em;
    max-width: 90%;
    margin: auto;
}

.certification_card {
    border-radius: 16px;
    border-width: 0;

    h2:not(:first-child) { margin-top: 0; }
    h3:not(:first-child) { margin-top: 0; }
    h4:not(:first-child) { margin-top: 0; }
}

.certification_card_img_loaded_hide {
    display: none;
}

.certification_card_rad {
    background-color: #051f29;
}

.certification_card_pro {
    background-color: #0d4a60;
}

.certification_card_ait {
    background-color: #0d4a60;
}

.certification_card_att {
    background-color: #0d4a60;
}

.certification_card_technician {
    background-color: #0d4a60;
}

.certification_card_avelodiver {
    background-color: #0C7BA6;
}

.certification_card h2 {
    color: white;
    font-size: 15pt;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    line-height: 19pt;
}

.certification_card h3 {
    color: white;
    font-weight: 400;
    font-size: 11pt;
    line-height: 12pt;
    margin-bottom: 0;
}

.certification_card h4 {
    color: white;
    font-weight: 400;
    font-size: 9pt;
    line-height: 15pt;
    margin-top: 0em;
    margin-bottom: 0;
}

.certification_card p {
    margin-bottom: 0;
    line-height: 14pt;
}

.certification_card .certification_card_description {
    color: white;
    font-size: 7pt;
    line-height: 9pt;
}

.certification_card_hero {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.certification_card_hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.instructor_title {
    color: #0C7BA6;
    font-size: 8pt;
}

h4.instructor_title {
    margin-top: 0.4em;
}

.certification_card_rad .instructor_title {
    color: #0C7BA6;
}

.certification_card_avelodiver .instructor_title {
    color: #0d4a60;
}

.certification_card_pro .instructor_title {
    color: #AFAFAF;
}

.certification_card_ait .instructor_title {
    color: #AFAFAF;
}

.certification_card_att .instructor_title {
    color: #AFAFAF;
}

.certification_card_technician .instructor_title {
    color: #AFAFAF;
}

.certification-card-padding>.cell{
    padding: 0.7em;
}

.certification_card_instructions {
    text-align: center;
    margin-top: 2em;
}

@media print {
    .certification_card_img_loaded_hide {
        display: block;
    }

    .certification_card_img_loaded_show {
        display: none;
    }
}

.signature {
    width: 100%;
    max-width: 500px;
    height: 150px;
}

.signature-pad {
    margin-bottom: 0.5em;
}

.filepicker {
    margin-bottom: 0.5em;
}

.no_bottom_margin {
    margin-bottom: 0;
}

.passport-social-button {
    margin: 0 0.5em;
}

.passport-social-button {
    margin: 0 0.5em;
}

.no-border {
    border: 0;
}

.no-margin {
    margin: 0;
}

.no-wrap {
    white-space: nowrap;
}

.questionGradedCorrect {
    position: relative;
}

.questionGradedCorrect::before {
    content: "\f00c";
    font: var(--fa-font-solid);
    font-weight: 500;
    font-size: 18pt;
    line-height: 20pt;
    color: #0D4A60;
    position: absolute;
    left: -0.5em;
    top: 0;
    transform: translateX(-100%);
}

.questionGradedIncorrect {
    position: relative;
}

.questionGradedIncorrect::before {
    content: "\f00d";
    font: var(--fa-font-solid);
    font-weight: 500;
    font-size: 18pt;
    line-height: 20pt;
    color: #0D4A60;
    position: absolute;
    left: -0.5em;
    top: 0;
    transform: translateX(-100%);
}

.bootAwardFooter {
    color: #EFEFEF;
    font-weight: 500;
    font-size: 15pt;
}

label.radio-with-wide-spacing {
    margin-right: 32px;
}

#certified-rad-count-statement {
    font-weight: bold;
}

#choose-instructor-subtext {
    margin-top: -10px;
    margin-bottom: 5px;
}

.passport-section {
    margin: 10px 10px 25px 10px;
}

.passports {
    display: flex;
    align-items: flex-start;
}

.passport-name {
    line-height: 1.2;
    margin-top: 0.2em;
    margin-bottom: 0.5em;
    color: #0D4A60;
}

.nowrap-ellipsis-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#recent-dives-table {
    .title {
        width: 15%;
    }

    .depth {
        width: 10%;
    }
}

#students-in-progress {
    table-layout: auto;

    .student-name {
        width: 25%;
    }

    .email {
        width: 20%;
    }

    .dive-center-name {
        width: 15%;
    }
}

.circle-list-style {
    list-style-type: circle;
}

.product {
    border: 2px solid #00000000;
}

.product.selected {
    border: 2px solid #1779ba;
}

.shop-image {
    height: 140px;
    width: 100%;
    object-fit: contain;
    cursor: pointer;
    margin-bottom: 8px;
}

.showcase-image {
    height: 600px;
    width: 100%;
    object-fit: contain;
}

.cartBubble {
    color: #9a2323;
    transform: translate(20%,20%);
}

.cartButton:hover .cartBubble {
    color: #7b1c1c;
}

.cartBubbleCount {
    font-size: 6pt;
    transform: translate(20%,20%);
}

.shopify-bar {
    margin: -1em -15px 8px;

    .bar-left {
        background-color: #0C7BA6;
        padding: 8px;
        font-size: 24px;
        a {
            color: white;
        }
    }
    .bar-right {
        background-color: #f3f3f3;
        color: #0C7BA6;
        padding: 0.5em;

        .bar-right-content {
            display: flex;
            justify-content: space-around;
            align-items: center;

        }

        .bar-right-mobile {
            justify-content: flex-end;
        }

        .react-dropdown-menu {
            padding: 0;
            a {
                font-weight: 500;
                position: relative;
                padding-right: 1.5em;
            }
            a::after {
                display: block;
                position: absolute;
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 6px;
                content: '';
                border-bottom-width: 0;
                border-color: #11a6e1 transparent transparent;
                right: 5px;
                left: auto;
                top: 50%;
                margin-top: -3px;
            }
        }
    }
}

@media screen and (max-width: 39.9375em) {
    .shopify-bar {
        .bar-right {
            .hamburger {
                color: #0C7BA6;
            }
        }
    }
}

.bar-right.react-dropdown-menu--item {
    color: #0C7BA6;
    background-color: #f3f3f3;
    font-weight: 500;
    width: 125px;

    a {
        display: block;
    }
}

.store-callout {
    background-color: #eaeaea;
    border-color: #eaeaea;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.store-callout:hover {
    border-color: #1779ba;
    background-color: #d1d1d1;
}

.store-callout--image {
    width: 75%;
    object-fit: scale-down;
    max-height: 9em;
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .store-callout--image {
        max-height: 7em;
    }
}

.shop-crumbs {
    padding-bottom: 16px;
}

/* styling referenced from https://base-ui.com/react/components/number-field */
.number-input {
    .number-input--input {
        width: 4rem;
        height: 2.25em;
        text-align: center;
        margin: 0;
    }

    .number-input--increment, .number-input--decrement {
        height: 2.25rem;
        min-width: 2rem;
        background-color: #0C7BA6;
        color: #f3f3f3;

        @media (hover: hover) {
            &:hover {
                background-color: #1779ba;
            }
        }

        &:hover, &:active {
            &:not([disabled]) {
                background-color: #1779ba;
            }
        }

        &:disabled {
            opacity: 0.25;
        }
    }

    .number-input--buttons {
        display: flex;
    }

    .number-input--buttons.center {
        justify-content: center;
    }
}

@media screen and (max-width: 39.9375em) {
    .tour-item {
        margin-bottom: 32px;
    }
}

.product-quantity{
    display: flex;

    .quantity {
        margin-right: 16px;
    }
}

.cart-detail-image {
    height: 100px;
    object-fit: contain;
}

.mobile-cart-item {
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;

    .product-information {
        text-align: center;
    }

    .mobile-cart-item--price {
        margin-bottom: 8px;
    }
}

.react-dropdown-menu {
    .react-dropdown-menu--icon {
        padding-left: 8px;
    }
}

.react-dropdown-menu--item {
    padding: 8px;
    outline: 0;

    &:focus-visible  {
       outline: 0;
    }
}

.Positioner {
    outline: 0;
}

.product-collection {
    margin-bottom: 50px;
}

.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(128,128,128,0.40);
}

.image-outofstock {
    z-index: 1;
    position: absolute;
    color: white;
}

.product-row {
    padding-bottom: 32px;

    .number-input {
        padding-bottom: 16px;
        padding-right: 8px;
    }
}

.product-listing {
    .number-input {
        padding-bottom: 8px;
    }
}

.option-toggle-group {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;

    .option-toggle-group--toggle {
        border: 3px solid #0C7BA6;
        border-radius: 20px;
        padding: 8px 16px;
        user-select: none;
        margin: 4px;

        &:focus-visible, &:hover, &[data-pressed] {
            /* background-color: #d1d1d1; */
            border: 3px solid #0C7BA6;
        }

        &:disabled {
            border: 3px solid grey;
            color: grey;
        }
    }

    .option-toggle-group--toggle-selected {
        /* border: 3px solid #1779ba; */
        background-color: #0C7BA6;
        color: white;
    }

    .option-toggle-group--toggle-disabled {
        border: 3px solid grey;
        color: grey;
        &:hover {
            border: 3px solid grey;
        }
    }
}

/* picture wraps the img when WebP is used — fill the <a> and let img scale inside */

.training-toc {
    margin-top: 0.5em;
    margin-bottom: 1em;

    .mobile-toc {
        .fa-solid {
            margin-right: 0.5em;
            color: #11A6E1
        }
    }
}

@media screen and (max-width: 39.9375em) {
    .floating-mobile-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 8px;
        z-index: 100;
        background: rgb(254, 254, 254);
        display: flex;
        justify-content: center;
    }

    body:has(.floating-mobile-bar) #page-container {
        padding-bottom: 5rem;
    }

    body:has(.floating-mobile-bar) .site-footer {
        display: none;
    }
}

table.tableblock {
    display: block;
    overflow-x: auto;
    border: none;
}

.admin_passport_image {
    text-align: center;
}

.admin_passport_image img {
    max-width: 80px;
    max-height: 80px;
    display: block;
    margin: 0 auto;
}

.column-grid {
    column-count: 3;
    column-gap: 1em;
}

.column-grid-cell {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}

@media screen and (max-width: 63.9375em) {
    .column-grid {
        column-count: 2;
    }
}

@media screen and (max-width: 39.9375em) {
    .column-grid {
        column-count: 1;
    }
}

.instructor-requirements {
    p {
        color: white;
        font-size: 10pt;
        margin: 0;
    }

    .fa-solid {
        margin-right: 4px;
    }

    .fa-file-circle-exclamation {
        margin-left: 2px;
    }
}

.yellow {
    color: #ffdc00;
}

.instructor-status {
    .fa-circle-info {
        color: grey;
    }
    margin-bottom: 0;
}

.diver-details {
    margin: 16px 0;
}

.stat-display {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
    color: #4A4A4A;

    .stat {
        font-size: 24px;
        white-space: nowrap;
    }

    .stat.small {
        font-size: 14px;
    }

    .stat.medium {
        font-size: 18px;
    }

    .stat-subtext {
        font-size: 12px;
        color: #676767;
        white-space: nowrap;
    }

    .stat-unit {
        margin-left: 4px !important;
    }
}

.stat-display.left {
    align-items: flex-start;
}

.stat-display.center {
    align-items: center;
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1em;
    gap: 8px;
}

.flex-row.centered {
    align-items: center;
}

.flex-row.end {
    justify-content: flex-end;
}

/* Buttons space via the row's gap, not block-flow margins — the default
   .button bottom margin would otherwise skew align-items centering. */
.flex-row .button {
    margin: 0;
}

.dive-summary {
    .score {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 32px;
        cursor: pointer;
        margin-bottom: 16px;
    
        p {
            margin-bottom: 0;
        }

    }
}

.dive-summary:hover {
    background-color: #ededeb;
}

.MuiPickersSelectionList-root {
    width: auto;
}

.graph-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.dive-analysis-tool {
    width: 100%;

    .dive-analysis-menu {
        border-right: 1px #DADADA solid;
        padding: 0 !important;
        box-shadow: 5px 0 5px -5px #DADADA;
    }

    .dive-analysis-view {
        padding: 8px 36px;
    }

    /* ── Semantic colour helpers ── */
    .score-good    { color: #16a34a; font-weight: 600; }
    .score-action  { color: #1d4ed8; font-weight: 600; }
    .score-link    { color: #1d4ed8; font-weight: 600; text-decoration: underline; }
    .score-value   { color: #16a34a; font-weight: 600; }
    .score-big     { font-weight: 600; }
    .text-muted { color: #64748b; }
    .entry-good    { color: #16a34a; font-weight: 600; }
    .entry-bad     { color: #dc2626; font-weight: 600; }

    /* ── Compliance list ── */
    .compliance-item  { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; color: #4A4A4A; }
    .compliance-label { min-width: 3.5rem; text-align: center; }
}

.dive-log-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.insight-val {
    font-weight: 400;
}

.editable-title {
    a {
        margin-left: 16px;
    }

    h2 {
        margin: 0;
    }

    .fa-check {
        padding-bottom: 1em;
    }

    .MuiFormControl-root {
        width: 100%;
        min-width: 0;
    }
}

.margin-bottom {
    margin-bottom: 1rem;
}

.full-width {
    width: 100%;
}

.phase-table {
    margin-bottom: 16px;
}

.callout.callout--white {
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid #DCE5EC;
    box-shadow: 0 12px 36px rgba(0, 51, 99, 0.12), 0 1px 2px rgba(0, 51, 99, 0.06);
}

.callout.callout--blue {
    background-color: var(--ice);
    border-radius: 15px;
    border: 1px solid #DCE5EC;
}

.pill {
    display: inline-block;
    border-radius: 15px;
    padding: 2px 8px;
    font-size: 0.8em;
    font-weight: 600;
    margin-top: 8px;
}

.pill--wide-padding {
    padding-left: 16px;
    padding-right: 16px;
}

.MuiPickersInputBase-root {
    background-color: white;
    margin-bottom: 1rem;
}
