/* NEW STYLES FOR THE NETM PROJECT */

/* Overwrites _site-vars.css */
.main-display {
    --header-height: 59px;
}

:root {
    /*--attest-title-height: 65px;*/
    --attest-row-1-height: 265px;
}



.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/** Focus and Accessibility */
.main-display *:focus-visible,
.main-display *:focus,
.signin-page *:focus-visible,
.signin-page *:focus,
.register-page *:focus-visible,
.register-page *:focus {
    outline: 2px inset var(--colour-secondary) !important;
    border-color: transparent !important;
    box-shadow: 0 0 8px var(--colour-secondary) !important;
    /*transform: scale(2);*/
}

/* Accessibility on standard elements */
select, button, a.btn, input, textarea {
    min-height: var(--accessible-min-height);
}

button,
a.btn {
    line-height: var(--accessible-min-height);
    padding-top: 0;
    padding-bottom: 0;
}

.accessibility-content {
    display: inline-block;
    width: 0px;
    text-indent: -10000px;
}

html {
    font-size: var(--base-font-size); /* Base size for Rems */
}

body {
    font-size: var(--font-size-sml);
}

.main-display .btn {
    font-size: 12px;
}

/* Top Nav Links */
body .main-display .navbar-top-links > li > button,
body .main-display .navbar-top-links > li > a,
body .main-display .navbar-top-links > .open > a,
body .main-display .navbar-top-links > .open > button {
    height: var(--header-height);
    min-width: 60px;
}

.navbar-top-links .head-list li a:hover,
.navbar-top-links .head-list li a:focus,
.navbar-top-links .head-list li a.activeOrganisation {
    background-color: var(--colour-secondary);
}

#dropdown-user .ic-user {
    height: var(--header-height);
    line-height: var(--header-height)
}

.username {
    line-height: var(--header-height);
}

body .main-display .navbar-top-links:first-child,
body .main-display .navbar-top-links:last-child {
    margin-left: 0px;
    margin-right: 0px;
}

@media (min-width: 768px) {
    .navbar-content {
        margin-left: var(--left-menu-open-width);
    }

    #container.mainnav-lg #content-container, #container.mainnav-lg #footer {
        padding-left: var(--left-menu-open-width);
    }
}

.wl-header {
    position: fixed;
    z-index: 500;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--wl-header-height);
    line-height: var(--wl-header-height);
    background-color: var(--colour-secondary);
    padding-left: 70px;
    color: #fff;
}

    .wl-header.attestation {
        position: relative;
        height: var(--wl-header-height-attest);
        line-height: var(--wl-header-height-attest);
    }

@media (max-width: 500px) {
    .wl-header {
        padding-left: 0;
        text-align: center;
    }
}

#navbar {
    top: var(--wl-header-height);
}

#mainnav-container {
    padding-top: calc(var(--header-height) + var(--wl-header-height));
}

@media (max-width: 768px) {
    #mainnav-container.collapsed {
        visibility: hidden; /* Hides from tabindex on mobile */
    }
}

@media (min-width: 768px) {
    #mainnav-container {
        width: var(--left-menu-open-width);
    }
}

.mainnav-profile .mnp-desc {
    opacity: 1;
    font-size: 14px;
}

.mainnav-profile .mnp-name {
    font-size: 13px;
    margin-bottom: 6px;
}

#container.mainnav-lg .navbar-brand {
    width: var(--left-menu-open-width);
}

@media (max-width: 768px) {
    #container.mainnav-lg .navbar-brand {
        width: var(--branding-width-mobile);
    }
}

#container.mainnav-fixed:not(.navbar-fixed) #mainnav-container.affix {
    top: calc(-1 * var(--header-height));
}

#container.mainnav-fixed:not(.navbar-fixed) #mainnav-container.affix-top #mainnav-menu-wrap > .nano > .nano-content {
    bottom: var(--header-height);
}

#container.aside-fixed:not(.navbar-fixed) #aside-container.affix {
    top: calc(-1 * var(--header-height));
}

.navbar-brand {
    height: var(--header-height);
}

.brand-icon,
.brand-title {
    line-height: var(--header-height);
}

#content-container {
    color: var(--text-color);
    padding-top: calc(var(--header-height) + var(--wl-header-height));
}

.page-heading {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

    .page-heading.margin-left {
        margin-left: 10px;
    }

body #mainnav {
    font-size: 16px;
}

#mainnav > li {
    background-color: #fff;
}

#mainnav-menu > .active {
    background-color: var(--colour-secondary);
}

body #mainnav-menu > li > a,
body #mainnav-menu > li > button {
    width: 100%;
    min-height: auto;
    line-height: normal;
    background-color: transparent;
}

    body #mainnav-menu > li > a:hover,
    body #mainnav-menu > li > button:hover {
        background-color: var(--colour-secondary);
    }

body #mainnav-container:not(.collapsed) li > button {
    text-align: left;
}

body #mainnav-menu .active-sub a,
body #mainnav-menu .active-sub a:hover,
body #mainnav-menu .active-sub a:hover i {
    border: none;
    box-shadow: none;
}

    body #mainnav-menu .active-sub a,
    body #mainnav-menu .active-sub a:hover {
        border-left: 2px solid var(--colour-tertiary);
    }

body #container .main-display #mainnav-menu a:not(:hover):not(:focus-visible) svg path,
body #container .main-display #mainnav-menu li.active-sub a svg path {
    fill: var(--colour-secondary);
}

body #container #mainnav-menu a:focus-visible svg path,
body #container #mainnav-menu a:focus svg path {
    fill: #fff;
}

/* BUTTONS */
body .btn {
    font-weight: var(--btn-font-weight);
    border-radius: var(--btn-radius);
    font-size: var(--btn-font-size);
    font-family: var(--btn-font-family);
}

a.btn i:first-child,
button.btn i:first-child {
    margin-right: 5px;
}

a.btn i:last-child,
button.btn i:last-child {
    margin-left: 5px;
}

.btn.larger-icon i {
    font-size: 18px;
    transform: translateY(2px);
}

.btn.btn-active-primary.active,
.btn.btn-active-primary:active {
    color: var(--btn-primary-color) !important;
    background-color: var(--btn-primary-bg) !important;
}

.btn-default,
.btn-default:focus,
.btn-default:focus-visible,
.btn-default:focus,
.btn-primary,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:focus {
    color: var(--btn-primary-color) !important;
    background-color: var(--btn-primary-bg) !important;
    border: var(--btn-primary-border);
}

    .btn-default:hover,
    .btn-default:focus-visible,
    .btn-default:focus,
    .btn-primary:hover,
    .btn-primary:focus-visible,
    .btn-primary:focus,
    .btn-success:hover,
    .btn-success:focus-visible,
    .btn-success:focus {
        color: var(--btn-primary-bg) !important;
        background-color: var(--btn-primary-color) !important;
    }

.btn-bordered {
    border: 2px solid var(--colour-secondary);
}

    .btn-bordered:hover {
        border-color: #fff;
    }

/** btn-reverse, btn-reverse-bordered, and btn-clear moved to nifty-openbadges.css for sitewide standards */

.btn-mild {
    background-color: #ccc;
}

.btn-danger-colour {
    color: #d43f3a;
}

button.add-badge:focus-visible i,
button.add-badge:focus i {
    color: var(--colour-secondary);
}
/* /BUTTONS */

/* MODALS */
.modal-content .modal-header,
.modal-body {
    padding: 20px;
}

    .modal-body .form-group {
        margin: 0;
    }

        .modal-body .form-group .col-sm-12 {
            padding: 0;
        }

.modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

    .modal-title i {
        display: none;
    }

.modal-footer {
    padding: 20px;
}

#dropdown-user .dropdown-menu {
    font-size: 12px;
}

.dropdown-toggle {
    text-align: left;
}

.btn svg {
    transform: translateY(2px);
}

.btn-primary svg path,
.btn-default svg path,
.btn:hover svg path,
.btn:focus-visible svg path,
.btn:focus svg path,
.btn-reverse:hover svg path,
.btn-reverse:focus-visible svg path,
.btn-reverse:focus svg path,
.btn-clear:hover svg path,
.btn-clear:focus-visible svg path,
.btn-clear:focus svg path {
    fill: #fff !important;
}

.control-filter-block {
    vertical-align: middle;
}

    .control-filter-block button {
        transform: translateX(-3px);
    }

        .control-filter-block button + button {
            margin-left: 4px;
        }

/* RTE Tool buttons */
.ta-toolbar .btn-default {
    background-color: #FFF !important;
    color: var(--colour-secondary) !important;
    padding: 4px;
    font-size: 10px;
    min-height: 30px;
}

.credentials-list-view .list-subject {
    width: auto !important;
}

.credentials-results-row {
    flex-basis: 100%;
    padding-left: 15px;
    margin-bottom: 8px;
}

.panel {
    box-shadow: none;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .credentials-list-view .flex {
        flex-direction: column;
    }

    .credentials-list-view .list-graphic,
    .credentials-list-view .list-subject,
    .credentials-list-view .list-attach,
    .credentials-list-view .list-details {
        width: 100% !important;
        flex-grow: 1;
        text-align: center;
    }

    .fsloader-inner {
        width: 85% !important;
    }
}

.credentials-list-view small {
    display: inline-block;
    font-size: 12px;
    margin-bottom: 5px;
}

.credential-title {
    font-size: 18px;
    height: 22px;
    line-height: 22px;
    margin-bottom: 6px;
    color: #000000;
}

/* SETTINGS MENU */
.menu-settings {
    visibility: hidden;
    transition: right 0.2s, visibility 0s 0.2s;
}

    .menu-settings.menu-open {
        visibility: visible;
    }

.right-pane {
    top: calc(var(--header-height) + var(--wl-header-height));
    right: calc(-1 * var(--right-menu-width));
    padding-bottom: var(--sign-out-button-block-height);
}

.right-pane-sub {
    top: calc(var(--header-height) + var(--wl-header-height));
    padding: 20px 0;
}

.right-pane-sub-section {
    padding-left: 35px;
    padding-right: 35px;
}

.right-pane-sub label {
    font-size: 13px;
    margin-bottom: 10px;
}

.right-pane-sub.emails .input-group-btn button i {
    font-size: 16px;
}

.right-pane .list-group button {
    border: 1px solid #D5D5D5;
}

.right-pane .list-group button {
    border-radius: 2px;
}

.right-pane button h4 {
    font-weight: 700;
}

.right-pane .menu-active,
.right-pane .menu-active h4,
.right-pane .menu-active p {
    color: #fff !important;
    background-color: var(--colour-secondary) !important;
}

@media (max-width: 768px) {
    .right-pane {
        width: var(--right-menu-width);
        max-width: var(--right-menu-width);
    }

    .right-pane-sub {
        width: var(--right-menu-width);
    }

    .menu-settings.menu-open .right-page-sub {
        right: calc(-1 * var(--right-menu-width) + 5vw);
    }

    .menu-settings.menu-open-deep .right-pane {
        right: calc(-1 * var(--right-menu-width) + 5vw);
    }

    .menu-settings.menu-open-deep .right-pane-sub.in-view {
        right: 5vw;
        max-width: var(--right-menu-width);
    }
}

.sign-out-block {
    --right-panel-height: 650px; /* Overwritten with Javascript */

    position: absolute;
    top: max(calc(100vh - var(--sign-out-button-block-height) - var(--header-height) - var(--wl-header-height)), var(--right-panel-height));
    width: 100%;
    height: var(--sign-out-button-block-height);
    padding-bottom: 15px;
}

    .sign-out-block a svg {
        transform: translateY(5px);
        margin-right: 8px;
    }

.product-version {
    display: none;
}

.extended-status-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .extended-status-check label {
        max-width: 80%;
        margin-bottom: 0;
    }

    .extended-status-check input {
        min-height: 0;
    }

.inp-add-another-credential {
    display: block;
    position: relative;
    width: 120px;
    height: 120px;
    text-indent: -1000px;
    border: 2px dashed #ddd;
    background-color: #f4f4f4;
    transition: 0.3s;
}

    .inp-add-another-credential:after {
        content: "\f055";
        position: absolute;
        top: 50%;
        left: 50%;
        font-family: "Font Awesome 5 Free";
        font-weight: 600 !important;
        font-size: 2.5em;
        text-indent: 0;
        color: var(--colour-primary);
        transform: translate(-50%, -50%);
    }

.settings-menu-subform-row + .settings-menu-subform-row {
    margin-top: 10px;
}

.settings-menu-subform-row p {
    margin-top: 10px;
    margin-bottom: 0;
}

.settings-menu-subform-row label {
    display: block;
    width: 100%;
    color: #000;
}

@media (max-width: 768px) {
    .bt-close-submenu {
        opacity: 1;
    }
}

.add-new-email-container {
    width: 100%;
}

    .add-new-email-container .form-container {
        width: 100%;
    }

.new-email-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    justify-items: start;
    width: 225px;
    color: #000;
    margin-top: 0;
    margin-bottom: 12px;
}

    .new-email-type-grid #new-email-type-personal-label,
    .new-email-type-grid #new-email-type-work-label,
    .new-email-type-grid #new-email-type-other-label {
        grid-row: 1;
        margin-bottom: 0;
    }

    .new-email-type-grid #new-email-type-personal,
    .new-email-type-grid #new-email-type-work,
    .new-email-type-grid #new-email-type-other {
        grid-row: 2;
        margin-top: 0;
    }

/* /SETTINGS MENU */

.bt-credential-for-upload {
    margin: 5px !important;
    padding: 0;
    cursor: pointer !important;
}

    .bt-credential-for-upload:focus-visible {
        background-color: #fff !important;
        border: 2px solid var(--colour-primary);
    }

.btn-square svg path {
    fill: var(--colour-secondary);
}

.btn-square.active {
    background-color: var(--colour-secondary);
}

.btn-square:hover {
    color: #fff;
    background-color: var(--colour-secondary);
}

/* FORM CONTROLS */
.form-control {
    border-color: var(--colour-primary)
}

    .form-control:focus {
        border-color: var(--colour-secondary);
    }

.input-group-addon {
    border-color: var(--colour-primary);
}

    .input-group-addon:last-child {
        background-color: #fff;
    }

input.next-sibling-addon {
    border-right: 0;
}

.input-group-addon .text-success {
    font-size: 20px;
    color: var(--colour-secondary);
}

.input-group-btn {
    padding-left: 8px;
}

.input-group-contact {
    display: flex;
}

.input-group-contact__email {
    flex: 8;
}

.fa__margin-right {
    margin-right: 1rem;
}

.input-group-contact__deleted__button {
    flex: 1;
}

.form-group:last-child {
    margin-bottom: 0;
}

.badge-container {
    border-color: transparent;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.05);
}

.badge-description {
    margin-top: 2px;
}

.badge-grid {
    padding: 10px;
    margin-left: 10px;
    margin-bottom: 15px;
}

    .badge-grid:last-of-type {
        margin-bottom: 0;
    }

    .badge-grid.stacked {
        border-left: 4px solid var(--colour-tertiary);
        background-color: #E8E8EA;
    }

.graphic-view {
    display: flex;
    flex-wrap: wrap;
}

    .graphic-view .badge-holder {
        min-width: min(100%, 285px);
        max-width: min(330px, 48%);
    }

.detailed-view .badge-container {
    padding: 20px;
}

.credential-stack-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    flex-basis: 100%;
    padding-left: 10px;
    margin-bottom: 10px;
}

.badge-summary .text-main {
    font-size: 16px;
}

.badge-summary {
    font-size: 11px;
}

.badge-confirm-overlay.selected:after,
.badge-confirm-overlay.selected:after {
    content: "\f00c";
    color: var(--colour-secondary);
}

.badge-collection-control {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media (min-width: 500px) {
    .badge-collection-control .no-creds-label {
        max-width: calc(100% - 120px);
    }
}

@media (max-width: 500px) {
    .badge-collection-control {
        justify-content: center;
    }
}

.add-badge-col {
    max-width: 45%;
}

    .add-badge-col .badge-name {
        font-size: 9px;
        background-color: rgba(0, 0, 0, 0.65);
    }

.collection-item .drag-badge-add,
.collection-item .drag-badge {
    max-width: 45%;
}


    .collection-item .drag-badge-add button {
        border-color: var(--colour-secondary);
    }

.collection-item > .img-thumbnail {
    border-radius: 2px;
    border-color: #F1F0F0;
}

.collection-item .img-thumbnail .img-thumbnail,
.add-credential-item .img-thumbnail .img-thumbnail {
    border: 0;
}

.btn-group-flex {
    display: flex;
    flex-wrap: nowrap;
}

    .btn-group-flex button {
        flex-grow: 1;
        padding-left: 0;
        padding-right: 0;
        border: 1px solid black;
    }

@media (max-width: 650px) {
    body .stackable-responsive-tabs [role="tab"].active {
        background-color: var(--colour-secondary);
    }
}

.control-upload-badge {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    min-width: 500px;
    min-height: 200px;
    width: 300%;
}

    .control-upload-badge:focus + div,
    .control-upload-badge:focus + div + div {
        color: var(--colour-primary);
        transform: scale(1.1);
        transition: transform 0.5s;
    }

.dropdown-menu .btn-dropdown-option {
    width: 100%;
    border: none;
}

    .dropdown-menu .btn-dropdown-option:hover,
    .dropdown-menu .btn-dropdown-option:focus {
        box-shadow: none;
        color: #ffffff;
        background-color: var(--colour-primary-interact);
    }

.collection-option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

    .collection-option-buttons button,
    .collection-option-buttons a {
        min-height: 30px;
        height: 30px;
        line-height: 29px;
        padding-top: 0;
        padding-bottom: 0;
    }

.customise-page-nav button.fa-info-circle {
    font-size: 24px;
    color: var(--colour-secondary);
}

#customise-menu .form-checkbox > input[type=checkbox],
#customise-menu .form-radio > input[type=radio] {
    visibility: inherit !important;
}

.customise-menu.in-view {
    padding-top: calc(var(--header-height) + var(--wl-header-height));
    left: var(--left-menu-open-width);
}

#customise-menu .input-group-btn {
    padding-left: 0;
}

@media (max-width: 768px) {
    .customise-menu.in-view {
        left: 0;
    }
}

.edit-button {
    padding: 5px 10px;
}

.mfa-code {
    padding: 4px;
    white-space: nowrap;
    background-color: #f2f2f2;
}

/* COLLECTIONS */
.add-menu {
    top: calc(var(--header-height) + var(--wl-header-height));
    padding-top: 20px;
}

@media (min-width: 768px) {
    .add-menu.in-view {
        left: var(--left-menu-open-width);
    }
}

.well {
    border-radius: 0;
    border-color: transparent;
    border-left: 3px solid var(--colour-tertiary);
    background-color: #E7EBF1;
}

    .well,
    .well h3 {
        color: var(--colour-secondary);
    }

.existing-credentials .add-badge-col {
    cursor: default;
}

.collection-item-name {
    font-size: 16px;
    font-weight: 700;
}


.link-with-icon {
    --left-spacing: 30px;
    position: relative;
    padding-left: var(--left-spacing) !important;
}

    .link-with-icon svg {
        position: absolute;
        left: 0;
        top: 0;
        width: 16px;
        height: 16px;
    }

        .link-with-icon svg path {
            fill: var(--colour-secondary);
        }

/** ATTESTATION */
.container.attest {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    padding-top: var(--wl-header-height-attestation);
}

.attest-loading {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    box-shadow: 2px 2px 2px rgb(0 0 0 / 20%);
    background-color: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
}

    .attest-loading .loader {
        margin: auto;
        top: 38px;
    }

.attest-layout {
    --gap-min: 15px;
    --light-grey: #DDD;
    --min-left-col: min(55px, 7%);
    display: grid;
    grid-template-columns: minmax(var(--min-left-col), auto) minmax(350px, 850px) 330px minmax(var(--gap-min), auto);
    grid-template-rows: auto auto auto auto auto;
    gap: var(--gap-min);
    margin: auto;
}

.bg-row-1 {
    position: relative;
    z-index: -1;
    grid-row: 1;
    grid-column: 1 / 5;
    background-color: #fff;
    height: calc(100% + var(--gap-min));
}

.bg-row-2 {
    position: relative;
    z-index: -1;
    grid-row: 2;
    grid-column: 1 / 5;
    background-color: black;
    height: calc(100% + var(--gap-min));
}

.bg-row-3 {
    position: relative;
    z-index: -1;
    grid-row: 3 / 10;
    grid-column: 1 / 5;
    background-color: #F2F2F2;
    height: calc(100% + var(--gap-min));
}

.container.attest .attest-title {
    display: block;
    grid-row: 1;
    grid-column: 2 / 5;
    width: 100%;
    /*height: calc(var(--attest-title-height) + var(--gap-min));*/
    margin: 0;
}

    .container.attest .attest-title h1 {
        color: #000;
        font-size: 26px;
        /* height: calc(var(--attest-title-height) + var(--gap-min));
        line-height: calc(var(--attest-title-height) + var(--gap-min));*/
        margin: 0;
        /*overflow: hidden;

        white-space: nowrap;*/


        padding-top: 20px;
    }

.container.attest .bt-back {
    grid-row: 1;
    grid-column: 1;
    position: absolute;
    left: var(--gap-min);
    top: var(--wl-header-height-attest);
    height: calc(var(--attest-title-height) + var(--gap-min));
    width: 35px;
    min-width: 35px;
    padding: 0;
}

    .container.attest .bt-back svg {
        max-width: 100%;
        margin-top: 50%;
    }

.attest-section-credential {
    grid-row: 2;
    grid-column: 2;
    display: flex;
    gap: calc(var(--gap-min) * 2);
    color: #fff;
    padding: calc(var(--gap-min) * 2) 0;
}

    .attest-section-credential .image {
        align-self: center;
        min-width: 200px;
        max-width: 30%;
    }

        .attest-section-credential .image img {
            object-fit: contain;
            object-position: top center;
            width: 100%;
            height: 100%;
        }

    .attest-section-credential h2 {
        color: #fff;
        margin: 0;
    }

    .attest-section-credential .text-label {
        text-transform: uppercase;
        margin-top: var(--gap-min);
        padding-left: 0;
    }

        .attest-section-credential .text-label:first-child {
            margin-top: 0;
        }

    .attest-section-credential p {
        margin-top: var(--gap-min);
        color: #fff;
    }

.attest-section-certificate {
    grid-row: 2;
    grid-column: 2;
    display: flex;
    gap: calc(var(--gap-min) * 2);
    color: #fff;
    padding: calc(var(--gap-min) * 2) 0;
    justify-content: space-between;
}

    .attest-section-certificate .details {
        width: 50%;
    }

    .attest-section-certificate .text-label {
        text-transform: uppercase;
        margin-top: var(--gap-min);
        padding-left: 0;
    }

    .attest-section-certificate h2 {
        color: #fff;
        margin-top: 1rem;
    }

.attest-section-document-brief {
    grid-row: 3;
    grid-column: 2;
    margin-top: var(--gap-min);
    font-size: 14px;
}

    .attest-section-document-brief h3 {
        font-weight: bold;
    }

.attest-section-criteria {
    grid-row: 4;
    grid-column: 2;
    margin-top: var(--gap-min);
    font-size: 14px;
}

    .attest-section-criteria h3 {
        font-weight: bold;
    }

.attest-section-certificate-images {
    grid-row: 5;
    grid-column: 2;
    margin-top: var(--gap-min);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

    .attest-section-certificate-images .attest-images-fullview {
        grid-column: span 3 / span 3;
    }

        .attest-section-certificate-images .attest-images-fullview img {
            width: 100%;
        }

    .attest-section-certificate-images .attest-images-review {
        grid-column: span 1 / span 1;
    }


        .attest-section-certificate-images .attest-images-review img {
            display: block;
            width: 100%;
            /*height: fit-content;
            object-fit: cover;*/
            cursor: pointer;
            margin-bottom: 8px;
            padding: 16px;
            background-color: #eceff0;
            border-radius: 4px;
        }

            .attest-section-certificate-images .attest-images-review img:hover {
                box-shadow: 0 0 2px 1px var(--colour-secondary);
            }

.attest-section-courseoverview {
    grid-row: 3;
    grid-column: 2;
    margin-top: var(--gap-min);
}

.attest-section-skills {
    grid-row: 4;
    grid-column: 2;
}

.attest-section-credentialattributes {
    grid-row: 5;
    grid-column: 2;
}

.attest-section-aboutskills {
    grid-row: 6;
    grid-column: 2;
}

.attest-section-endorsement {
    grid-row: 7;
    grid-column: 2;
}

    .attest-section-endorsement .endoresment {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: var(--gap-min);
    }

.attest-section-evidence {
    grid-row: 8;
    grid-column: 2;
}


.attest-section-verification {
    grid-row: 2 / 7;
    grid-column: 3;
}

@media print {
    .attest-section-verification {
        max-width: 40vw;
    }
}

.attest-section-verification .attest-section-panel {
    margin-top: 45px;
    border-radius: 8px;
}

    .attest-section-verification .attest-section-panel h3 {
        font-size: 10px;
    }

    .attest-section-verification .attest-section-panel hr {
        width: calc(100% + var(--gap-min) * 4);
        margin: 25px 0 25px calc(-1 * var(--gap-min) * 2);
        border-color: var(--light-grey);
    }

.attest-section-verification img.attest-img-76 {
    height: 76px;
}

.attest-section-verification .attest-logo-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.attest-verification-confirmation {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 250px;
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid;
}

    .attest-verification-confirmation.verified {
        color: #006605;
        border-color: #9CE3A2;
        background-color: #E4FFE5;
    }

    .attest-verification-confirmation.lapsed {
        color: #9A5200;
        border-color: #C58E4F;
        background-color: #FBEBD9;
    }

    .attest-verification-confirmation.verified svg path {
        fill: #006605;
    }

.attest-social-share {
    position: relative;
}

    .attest-social-share .get-link {
        position: relative;
    }

        .attest-social-share .get-link .bt-copy {
            position: absolute;
            top: 50%;
            right: 5px;
            transform: translateY(-50%);
        }

            .attest-social-share .get-link .bt-copy svg {
                display: block;
                width: 17px;
                height: 17px;
                vertical-align: middle;
            }

        .attest-social-share .get-link input {
            padding-right: 50px;
            overflow: hidden;
            text-overflow: ellipsis;
            border-color: transparent;
            background-color: #F6FAFF;
        }

    .attest-social-share #status-copied {
        position: absolute;
        width: 100%;
        text-align: center;
        margin-top: 6px;
        color: var(--colour-secondary);
        opacity: 1;
        visibility: hidden;
        transition: opacity 0.5s linear 2.5s;
    }

        .attest-social-share #status-copied.active {
            opacity: 0;
            visibility: visible;
        }

    .attest-social-share .bt-share {
        box-sizing: content-box;
        width: 30px;
        height: 30px;
        min-height: 30px;
        padding: 0;
        margin-right: 4px;
        border-radius: 4px;
    }

        .attest-social-share .bt-share .data-uri-icon,
        .attest-social-share .bt-share .data-uri-icon {
            background-color: #000;
            width: 16px;
            height: 16px;
        }

        .attest-social-share .bt-share:hover,
        .attest-social-share .bt-share:focus-visible {
            background-color: var(--colour-secondary);
        }

            .attest-social-share .bt-share:hover .data-uri-icon,
            .attest-social-share .bt-share:focus-visible .data-uri-icon {
                background-color: #fff;
            }

.attest-verification-confirmation svg,
.attest-verification-confirmation i {
    width: 35px;
}

.attest-verification-confirmation .status {
    font-size: 14px;
    font-weight: bold;
}

.attest-verification-confirmation .date {
    font-size: 11px;
}

.attest-logo-block {
    --gap-logo-blocks: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-logo-blocks);
    margin: var(--gap-min) 0;
    min-height: 60px;
}

.attest-logo-pair {
    /*  flex: 1;
    max-width: calc(50% - var(--gap-logo-blocks) / 2);
    min-width: 100px;*/
    display: flex;
    align-items: center;
    max-width: 15vh;
}

    .attest-logo-pair img {
        width: auto;
        max-width: 100%;
        border-radius: 2px;
        max-height: 60px;
    }

.attest-section-panel {
    padding: calc(var(--gap-min) * 2);
    border: 1px solid var(--light-grey);
    background-color: #fff;
}

    .attest-section-panel h3 {
        font-size: 16px;
        font-weight: 800;
        text-transform: uppercase;
        margin-top: 0;
    }

    .attest-section-panel h4 {
        font-size: 14px;
        margin-top: 22px;
    }

.attest-section-subheading {
    color: #666;
}

.attest-block-link,
.attest-section-panel a {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
    margin-bottom: 10px;
}

.attest-block-link {
    display: block;
}

.attest-section-panel p {
    margin: 14px 0;
}

    .attest-section-panel p:first-child {
        margin-top: 0;
    }

    .attest-section-panel p:last-child {
        margin-bottom: 0;
    }

.attest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.attest-tag {
    display: inline-block;
    font-weight: bold;
    font-size: 10px;
    padding: 4px 6px;
    border-radius: 2px;
    border: 1px solid #eee;
}

    .attest-tag:before {
        content: "";
        display: inline-block;
        vertical-align: middle;
        width: 12px;
        height: 12px;
        margin-right: 4px;
        background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+Cjxzdmcgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDIyIDIyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zOnNlcmlmPSJodHRwOi8vd3d3LnNlcmlmLmNvbS8iIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MjsiPgogICAgPGcgdHJhbnNmb3JtPSJtYXRyaXgoLTAuMDQwNjQ3NywwLDAsMC4wNDA2NDc3LDIxLjgzNCwwLjE1MjU5NCkiPgogICAgICAgIDxwYXRoIGQ9Ik00ODMuMjQsMEwzMzIuOTUsMEMzMDUuMzk0LDAgMjY2LjkxLDE1Ljk0IDI0Ny40MywzNS40MjRMMTQuNjIsMjY4LjIzNEMtNC44NjMsMjg3LjcxNyAtNC44NjMsMzE5LjYwNCAxNC42MiwzMzkuMDg0TDE5NC4yNiw1MTguNzI0QzIxMy43NDMsNTM4LjIwOCAyNDUuNjMsNTM4LjIwOCAyNjUuMTA5LDUxOC43MjRMNDk3LjkxOSwyODUuOTE0QzUxNy40MDIsMjY2LjQzIDUzMy4zNDMsMjI3Ljk0NSA1MzMuMzQzLDIwMC4zOTRMNTMzLjM0Myw1MC4xMDRDNTMzLjM0MywyMi41NSA1MTAuNzk5LDAuMDA0IDQ4My4yNDMsMC4wMDRNNDE2LjY3MywxNjYuNjc0QzM4OS4wNTksMTY2LjY3NCAzNjYuNjczLDE0NC4yODkgMzY2LjY3MywxMTYuNjc0QzM2Ni42NzMsODkuMDYgMzg5LjA1OSw2Ni42NzQgNDE2LjY3Myw2Ni42NzRDNDQ0LjI4Nyw2Ni42NzQgNDY2LjY3Myw4OS4wNiA0NjYuNjczLDExNi42NzRDNDY2LjY3MywxNDQuMjg4IDQ0NC4yODcsMTY2LjY3NCA0MTYuNjczLDE2Ni42NzRaIiBzdHlsZT0iZmlsbC1ydWxlOm5vbnplcm87Ii8+CiAgICA8L2c+Cjwvc3ZnPgo=);
        background-size: contain;
        background-repeat: no-repeat;
    }

.attest-evidence-box {
    padding: 8px;
    border-radius: 2px;
    border: 1px solid #eee;
    background-color: #fafafa;
}

.attest-evidence-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.attest-footer {
    box-sizing: content-box;
    ;
    height: 50px;
    text-align: right;
    padding: 15px 100px 15px 0;
    background-color: #222;
}

    .attest-footer img {
        height: 50px;
        width: auto;
    }

/* Let's reduce the gap to help mobile and mid-screens render better */
@media (max-width: 880px) {
    .attest-layout {
        --gap-min: 10px;
    }
}

/* Mobile and narrow views */
@media (max-width: 740px) {
    .attest-layout {
        grid-template-columns: minmax(var(--gap-min), auto) minmax(280px, 850px) minmax(var(--gap-min), auto);
        grid-template-rows: auto auto auto auto auto;
    }

    .container.attest .attest-title,
    .attest-section-credential {
        flex-direction: column;
        padding: var(--gap-min);
        grid-column: 2 / 3;
    }

    .container.attest .attest-title {
        display: flex;
        gap: 10px;
        text-align: center;
        height: calc(var(--attest-title-height));
    }

        .container.attest .attest-title .bt-back {
            position: relative;
            top: auto;
            left: auto;
            width: 28px;
            min-width: 28px;
        }

        .container.attest .attest-title h1 {
            font-size: 22px;
        }

    .attest-section-credential h2 {
        font-size: 18px;
    }

    .bg-row-1,
    .bg-row-2,
    .bg-row-3 {
        grid-column: 1 / 3;
    }

    .attest-section-verification {
        grid-column: 2;
        grid-row: 9;
    }

        .attest-section-verification .attest-section-panel {
            margin-top: 0;
            border-radius: 0;
        }
}

ul.no-text-decoration li {
    list-style-type: none;
    text-decoration: none;
}

ul.no-text-decoration.top {
    margin: 0;
    padding: 0;
}

ul.no-text-decoration.nested {
    margin: 0;
    padding: 0 0 0 2rem;
    border-left: 0.125rem solid grey;
}


.md-fab.md-fab-success {
    background-color: var(--colour-secondary);
    transition: all .25s;
}

    .md-fab.md-fab-success:hover,
    .md-fab-success__active {
        background-color: #fff !important
    }

    .md-fab.md-fab-success > md-icon {
        color: #fff;
        transition: all .25s;
    }

    .md-fab.md-fab-success:hover > md-icon,
    .md-fab.md-fab-success.md-fab-success__active > md-icon {
        color: var(--colour-secondary);
    }

.btn-fixed {
    width: min-content;
    position: fixed;
    right: 0;
    z-index: 100;
    bottom: 0;
}

.margin-right-md {
    margin-right: clamp(25px, 1rem, 1rem);
}

.margin-left-md {
    margin-left: 1rem;
}

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

.padding-sm {
    padding: .5rem;
}

.padding-top-lg {
    padding-bottom: 2rem;
}

.padding-lg {
    padding: 2rem;
}

.padding-bottom-sm {
    padding-bottom: .5rem;
}

.padding-top-sm {
    padding-top: .5rem;
}

.padding-top-md {
    padding-top: 1rem;
}

.padding-bottom-md {
    padding-bottom: 1rem;
}

.d-flex {
    display: flex;
}

.flex-direction-column {
    flex-direction: column;
}

.justify-content-space-between {
    justify-content: space-between;
}

.flex__warp {
    flex-wrap: wrap;
}

.flex__gap {
    gap: 30px;
}

.flex__gap--min {
    gap: 8px;
}

.flex-item {
    flex: 1 1 auto;
}

.postion-relative {
    position: relative;
}

.postion-absolute {
    position: absolute;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.word-break {
    word-break: break-all;
}


div.max-width:hover > h4 {
    margin-bottom: 0;
}

.cursor-pointer {
    cursor: pointer;
}

div.box-shadow:hover {
    transition: .25s all;
}

div.box-shadow:hover {
    box-shadow: 12px 20px 15px -3px rgba(0,0,0,0.1);
}

md-dialog.max-width {
    max-width: 100%;
}

md-dialog.max-height {
    max-height: 100%;
}

md-dialog.dialog-background {
    background-color: transparent
}

md-dialog.box-shadow__none {
    box-shadow: none;
}

md-backdrop.md-dialog-backdrop.md-opaque {
    z-index: 600;
    background-color: #000;
    opacity: 0.8;
}

.md-dialog-container {
    z-index: 2000 !important;
}

md-dialog iframe {
    align-self: center;
}

md-dialog.d-flex.dialog-background h4,
md-dialog.d-flex.dialog-background md-icon {
    color: #fff;
}


md-tooltip.md-tooltip {
    font-size: 12px;
}

@media (max-width: 1024px) {

    md-dialog iframe {
        width: 500px;
        height: 400px;
    }
}

.onboarding-container i {
    font-size: 12px;
}

    .onboarding-container i:nth-child(2) {
        font-size: 16px;
    }

.anchor-disabled {
    pointer-events: none;
    cursor: default;
    color: #ccc !important
}


.panel--max-height {
    height: 300px;
}

.panel.panel--max-height img {
    height: 200px;
}


/** Endorser */

@media only screen and (max-width: 1280px) {
    #managingCredCreateDetailsEndorse .preview-endorser i {
        display: inline-block !important;
        margin: 0 5px !important;
    }

    #managingCredCreateDetailsEndorse .preview-endorser span {
        display: none !important;
    }

    #managingCredCreateDetailsEndorse .input-group-btn {
        padding-left: 0px;
    }

    #managingCredCreateDetailsEndorse .btn {
        padding: 0px 6px;
    }
}

.dialog-actions {
    padding-left: 2rem;
    padding-right: 2rem;
}

    .dialog-actions > .modal-footer {
        padding: 20px 0;
    }

/*Socials report styles*/
.facebook {
    background-color: #3b5998;
}

.linkedin {
    background-color: #0e76a8;
}

.x {
    background-color: #000000;
}

.other {
    background-color: #17a2b8;
}

.unknown {
    background-color: #a9a9a9;
}

.share-icons {
    width: 32px;
    height: 32px;
    margin-right: 5px
}

.socials-legend {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: black;
    margin-top: 15px !important;
}

    .socials-legend li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 5px;
    }

    .socials-legend span {
        width: 12px;
        height: 12px;
        margin-right: 10px;
        border-radius: 50%;
        margin: 0 25px;
    }

.socials-doughnutView {
    min-height: 200px;
    min-width: 200px;
    max-width: 200px !important;
    max-height: 200px !important;
}

.socials-maintext {
    font-weight: bold;
    font-size: 24px;
    display: flex;
    justify-content: space-evenly
}

.socials-mainsubtext {
    font-size: 16px;
    display: flex;
    justify-content: space-evenly
}


.socials-doughnut-sum-text {
    max-width: 200px;
    width: 120px !important;
    position: absolute;
    top: 70px;
    line-height: 19px;
    text-align: center;
    margin: 0 40px;
}

/*For mobile/smaller screens*/
@media screen and (max-width: 767px) {
    .socials-viewTotals {
        display: inline-block;
    }

    .socials-viewSingle {
    }

    .socials-graphView {
        max-height: 425px;
        min-height: 300px;
        width: 100% !important;
        max-width: 100% !important;
        height: 425px;
    }
}

/*For larger screens*/
@media only screen and (min-width: 768px) {
    .socials-viewTotals {
        display: inline-block;
        display: flex;
    }

    .socials-viewSingle {
        flex: 1 1 0;
    }

    .socials-graphView {
        min-height: 300px;
        min-height: 300px;
        width: 100% !important;
        max-width: 100% !important;
        height: 300px !important;
    }
}
