@import url('bootstrap-4.3.1.min.css') layer(bootstrap);
@import url('selectize.bootstrap3.css') layer(selectize);
@import url('fontawesome-free-5.15.4-web-all.min.css') layer(font_awesome);
@import url('new-user-fe.css') layer(worktour_base);
@import url('/back-end-skin-css.php') layer(skin_override);

.standard-completer {
}

.exhaustive-select {
}

/* display: none !important; */

@layer selectize_override {

    .standard-completer .selectize-input::after {
        content: url(https://cdn.worktour.com/images/keyboard-down-30x30-75pct.png);
        top: 0;
        right: 32px;
        margin-top: 0;
        border: none;
        position: absolute;
    }

    .standard-completer .selectize-input.ui-sortable::after {
        content: url(https://cdn.worktour.com/images/keyboard-down-30x30-75pct.png);
        top: 0;
        right: 3px;
        margin-top: 0;
        border: none;
        position: absolute;
    }
}

@layer bootstrap_override {
    body {
        /*noinspection CssNoGenericFontName*/
        font-family: var(--corporate-main-font-family);
    }
    h1, h2, h3, h4 {
        /*noinspection CssNoGenericFontName*/
        font-family: var(--corporate-heading-font-family);
    }

    .popover-header {
        background-color: var(--corporate-main-color-dark);
        color: white;
    }
    .popover {
        border: 1px solid black;
    }

    .btn-primary {
        color: white;
        background-color: var(--corporate-main-color-dark);
        border: solid var(--corporate-main-color-dark) 1px;
    }

    .btn-secondary {
        color: white;
        background-color: var(--corporate-secondary-color-gray);
        border: solid var(--corporate-secondary-color-gray) 1px;
    }

    .btn-admin {
        color: white;
        background-color: black;
    }
}

/* ========================== Core template styles =========================*/

@layer bootstrap_override {

    @media (min-width: 768px) and (hover: none) and (min-resolution: 2dppx)  {
        .container {
            max-width: 920px;
        }
    }

    @media (hover: none) and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1400px) {
        .container {
            max-width: 920px;
        }
    }

}

.avoid-status-bar {
    /* Do nothing */
}

/* Detect devices that aren't capable of hover, i.e., mobile */
@media (hover: none) and (max-width: 1400px) and (-webkit-min-device-pixel-ratio: 2),
       (hover: none) and (max-width: 1400px) and (min-resolution: 2dppx) {

    .avoid-status-bar {
        height: 200px;
    }

}

/* The following joins the content to the footer into a single scrolling
   region on iPhones.

   N.B.  This i s a little experimental for now.
         Perhaps we should also scroll the header?

         Perhaps we should also add an avoid-status-bar rule to make
         the orange footer be 200px taller, thereby always guaranteeing
         that it will be visible if you scroll far enough to the bottom.
*/
@media (hover: none) and (max-width: 1400px) and (-webkit-min-device-pixel-ratio: 2),
       (hover: none) and (max-width: 1400px) and (min-resolution: 2dppx) {

    .content-and-footer {
        width: 100%;
    }

    .end-user-template .content-and-footer > footer,
    .admin-template    .content-and-footer > footer {
        position: relative;
    }

    .content-and-footer .content {
        margin-top: 0;
    }

    .end-user-template .content-and-footer .content,
    .admin-template    .content-and-footer .content {
        overflow-y :auto;
    }

    .content-and-footer .content {
        top: initial; /* WTF-233 */
    }

}


@layer worktour_base {

    @media (hover: none) and (max-width: 1400px) and (-webkit-min-device-pixel-ratio: 2),
           (hover: none) and (max-width: 1400px) and (min-resolution: 2dppx) {

        .content-and-footer {
            position: relative;
            top:  calc(var(--end-user-breadcrumbs-height) +
                       var(--end-user-header-height));
        }

        .content-and-footer .content {
            min-height: var(--end-user-body-height-mobile);
        }

        .content-and-footer .container {
            overflow-x :auto;
        }

        .end-user-template .content-and-footer .content,
        .admin-template    .content-and-footer .content {
            overflow: initial;
        }

    }

    .mfa-type-button {
    }

    .send-code-button {
    }

    .mfa-input-widget {
    }
}

/* ========================== Core template styles =========================*/


#cross-links {
    display: inline-block;
}

#cartoon-background {
    position: fixed;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(50%);
    z-index: -1;
}

.popup-theme-orange {
    background-color: var(--corporate-main-color-dark);
    color: white;
}

.popup-theme-blue {
    background-color: var(--corporate-secondary-color-blue);
    color: white;
}

.popup-theme-green {
    background-color: var(--corporate-secondary-color-green);
    color: white;
}

.popup-theme-gray {
    background-color: var(--corporate-secondary-color-gray);
    color: white;
}

.dpr-1 {
}

.dpr-1-5 {
}

.dpr-2 {
}

.dpr-3 {
}

.anchored-button {
    text-decoration: none;
}

.test-options-table {
    border: solid black 1px;
    background-color: lightgray;
}

.test-description {
    padding: 10px;
    border: solid black 1px;
    background-color: lightblue;
    margin-bottom: 20px;
}

/* https://css-tricks.com/how-to-disable-links/ */
.disabled-link {
    color: currentColor;
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: none;
    pointer-events: none;
}

.swatch {
    width: 25px;
    height: 25px;
    border: solid black 1px;
    display: inline-block;
    margin-right: 15px;
    position: relative;
    top: 5px;
}
.needs-work {
    color: crimson;
    font-size: 80%;
    position: relative;
    bottom: 5px;
}

.is-inactive {
    color: var(--corporate-secondary-color-gray);
    font-style: italic;
    text-decoration: line-through;
}

.warning-text {
    color: var(--warning-color);
}

.analytics-bucket {
    color: var(--student-response-color);
}

.analytics-bucket .editorial {
    color: var(--corporate-secondary-color-medium-gray);
    font-size: 80%;
    font-style: italic;
}

a.is-inactive {
    color: var(--corporate-secondary-color-blue);
}

.best-class-name {
    color: #777;
}

A .best-class-name {
    color: #777;
}

.review-property {
    color: crimson;
}

.faint {
    color: #666;
    font-size: 80%;
}

.alert {
    z-index: 10000;
}

.number-cell {
    text-align: right;
}

.email-address {
    font-family: monospace;
}

.blur-user {
    filter: blur(5px);
}

.upload-input[type='file'] {
    display: none;
}

#bugAttachmentDropZone {
    margin: 2%;
    border: solid white 1px;
    height: 200px;
    display: block;
}

#bugAttachmentDropZone:hover {
    margin: 2%;
    border: dotted black 1px;
}

.dotted-rule {
    border-top: dotted var(--corporate-main-color-dark) 3px;
    padding-top: 16px;
    margin-top: 16px;
}

.solid-rule {
    border-top: solid var(--corporate-main-color-dark) 3px;
    padding-top: 16px;
    margin-top: 16px;
}

.user-address {
    font-family: monospace;
}

.auto-scale-root {
}

.auto-scale-text {
    /* Intentionally has no padding or margins */
    position: relative;
    transform: translate(0, -50%);
    top: 50%;
}

.add_please_explain_block {
    padding-left: 5%;
    padding-top: 10px;
}

.add_please_explain_title {
    color: black;
}

.discrete-option-block {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-bottom: 15px;
    margin-top: 25px;
    justify-content: space-around;
    width: 100%;
    position: relative;
}

.discrete-option {
    padding: 5px;
    border: solid white 3px;
    border-radius: 10px;
    margin: 5px;
    flex: 1 1 0;
    width: 0;
    text-align: center;
    min-height: 80px;
    position: relative;
    cursor: pointer;
    color: white;
    font-size: 150%;
}

.discrete-option.selected {
    border: solid black 3px;
}

.discrete-option div {
    transform: translate(0,-50%);
    top: 50%;
    position: relative;
}

.discrete-text-block {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-bottom: 15px;
    margin-top: 0;
    justify-content: space-around;
    width: 100%;
    position: relative;
    font-weight: bold;
}

.discrete-text {
    padding: 0;
    margin: 0;
    flex: 1 1 0;
    width: 0;
    text-align: center;
    min-height: 80px;
    position: relative;
    color: white;
}

.discrete-option div:hover {
    color: black;
    font-weight: bold;
}

.runtime_text {
}

.runtime_html {
}

.runtime_number {
}

.runtime_date {
}

.runtime_date_time {
}

.runtime_number_with_commas {
}

.runtime_object_link {
}

/* START https://stackoverflow.com/questions/23635271/how-to-make-an-elements-border-flash */

@-webkit-keyframes borderBlink {
    from, to {
        border-color: #ced4da
    }
    50% {
        border-color: red
    }
}
@keyframes borderBlink {
    from, to {
        border-color: #ced4da
    }
    50% {
        border-color: red
    }
}
.borderBlink{
    border:1px solid #ced4da;
    -webkit-animation: borderBlink 1s step-end infinite;
    animation: borderBlink 1s step-end 6;
}

/* END https://stackoverflow.com/questions/23635271/how-to-make-an-elements-border-flash */


@layer mobile_override {

    @media /* Portrait mobile */
           (hover: none) and (max-width: 1139px) and (max-aspect-ratio: 1 / 1) and (-webkit-min-device-pixel-ratio: 2),
           (hover: none) and (max-width: 1139px) and (max-aspect-ratio: 1 / 1) and (min-resolution: 2dppx) {

        .discrete-scale {
            font-size: 75%;
        }

        .alert {
            font-size: 200%;
        }

    }
} /* End of layer */

.analytics-activity-rendering {
    width: 100%;
}

.mfa-option-row {
    min-height: 40px;
}

.monospaced {
    font-family: monospace;
}

.top-aligned-table th, .top-aligned-table td {
    vertical-align: top;
}

.license-table th:not(:first-child),
.license-table td:not(:first-child){
    border-left: solid black 1px;
}

.transparent-iframe-body {
    background-color: transparent;
}

 .hover-show {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
 }

 .hover-show:hover {
    overflow: initial;
    overflow-wrap: anywhere;
    white-space: initial;
    text-overflow: initial;
    max-height: initial;
 }

.parti-coloured {
}

.parti-coloured:nth-child(even) {
    background: #DDD;
}

.parti-coloured:nth-child(odd) {
    background: #FFF;
}

.parti-coloured-even {
    background: #DDD;
}

.parti-coloured-odd {
    background: #FFF;
}

tr.part-row {
    font-size: 90%;
    color: var(--corporate-secondary-color-gray);
}

td.part-label {
    text-align: right;
    padding-right: 3rem;
}

.center-horizontally {
    transform: translate(-50%, 0);
    left: 50%;
    position: absolute;
}

.center-vertically {
    transform: translate(0, -50%);
    top: 50%;
    position: absolute;
}

.center-in-parent {
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    position: absolute;
}

.legal-footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10000;
    background-color: #DDD;
    padding-top: 8px;
}

.legal-footer ul {
    list-style-type: none;
}

.legal-footer ul li {
    display: inline;
    padding-left: 30px;
    padding-right: 30px;
}

.profile-value {
    font-weight: initial;
}

.sql-trace {
    color: black;
    background-color: white;
    z-index: 40000;
    position: relative;;
    white-space: pre;
}

.debug-block {
    display: block;
    unicode-bidi: embed;
    white-space: pre-wrap;
    max-width: 60%;
    overflow-wrap: anywhere;
    position: relative;
    left: 20%;
    top: 20px;
    font-family: monospace;
    background-color: transparent;
    padding-right: 1.5em;
    padding-bottom: 1.5em;
    padding-left: 1.5em;
    margin: 5px;
    z-index: 10000;
}

.debug-block-link {
    font-weight: bold;
    font-size: 150%;
    text-align: center;
    border: solid #FFF 2px;
    padding: 10px;
    background-color: #222;
    color: #FFF;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
}

.tour-node-thumbnail {
    max-width: 100px;
    max-height: 100px;
    border: solid black 1px;
}

.avatar-thumbnail {
    max-width: 100px;
    max-height: 100px;
    border: solid black 1px;
}

.hotspot-icon {
    max-width:  35px;
    max-height: 35px;
}

.linked-table-row:hover {
    background-color: #fff900;
    cursor: pointer;
}

body.alpha header, body.alpha footer {
    background-color: purple;
}

body.alpha header .hamburger-menu button {
    background-color: purple;
}

body.alpha header .header-user {
    background-color: purple;
}

body.beta header, body.beta footer {
    background-color: darkgreen;
}

body.beta header .hamburger-menu button {
    background-color: darkgreen;
}

body.beta header .header-user {
    background-color: darkgreen;
}

body.staging header, body.staging footer,
body.stagingnew header, body.stagingnew footer
{
    background-color: turquoise;
}

body.staging header .hamburger-menu button,
body.stagingnew header .hamburger-menu button
{
    background-color: turquoise;
}

body.staging header .header-user,
body.stagingnew header .header-user {
    background-color: turquoise;
}

.js-error-message {
    text-align: left;
    overflow-x: auto;
    font-size: 75%;
    white-space: pre;
    padding-left: 0;
}

.standard-body {
}

.standard-body .row {
    margin-top: 10px;
}

.standard-body .param-label {
    font-weight: bold;
}

.passwordCheck-notValid-customizable {
    font-family: Arial, sans-serif;
    color: #DF3312;
}

.passwordCheck-valid-customizable {
    font-family: Arial, sans-serif;
    color: #19BF00;
}

input[type="password"]
{
    font-family: monospace;
}

.profile-value a {
    font-weight: 700;
}

.sortable .list-group-item {
    cursor: grab;
}

.tour-launcher {
    color: var(--corporate-secondary-color-blue);
}

.manage-trunc-col {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 15vw;
}

.manage-trunc-col p {
    margin-bottom: 0;
}

.manage-grade-col {
    width: 130px;
}

.manage-important-date-col {
    width: 200px;
    white-space: nowrap;
}

.manage-currency-col {
    width: 100px;
    text-align: right;
}

.manage-year-col {
    width: 120px;
}

.manage-class-code-col {
    font-family: monospace;
    width: 220px;
    cursor:copy;
}

.manage-md5-col {
    width: 220px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor:copy;
}

td.manage-md5-col {
    font-family: monospace;
}

.manage-upload-col {
}

.manage-upload-col button {
    color: white;
    background-color: var(--corporate-main-color-dark);
}

#manage-enrollment-results {
    border: solid var(--corporate-main-color-dark) 1px;
    padding: 3px;
    overflow-y: auto;
    max-height: 200px;
    margin: 5px;
    white-space: initial;
}

#manage-enrollment-results h4 {
    font-size: 0.9rem;
}

#manage-enrollment-results ul {
    font-size: 0.8rem;
    font-family: monospace;
}

.corporate-footer {
    display: inline-flex;
    padding-top: 15px;
    padding-bottom: 15px;
}

.banner-corporate-logo {
    display: none;
}

/* ----------------- Start Assignment stuff ------------------- */

.required-star {
    color: red;
}

.modal-required-star {
    color: red;
    font-size: 50%;
    position: relative;
    bottom: 10px;
    padding-left: 3px;
}

.phase {
    font-weight: bold;
    padding-left: 20px;
}

.phase-separator {
    border-top: 1px solid var(--corporate-main-color-dark);
    width: 75%;
    padding-bottom: 15px;
}

.phase-title {
}

.phase-question-list {
    border: solid var(--corporate-secondary-color-gray) 1px;
    margin-bottom: 20px;
    padding: 10px;
}

.question-index {

}

.contingent-visibility .question-index {
    /* display: none; */
}

.contingent-visibility label.param-label {
    font-weight: initial;
}

.contingent-visibility {
    padding-left: 2rem;
}

/* ----------------- End Assignment stuff ------------------- */

/* ----------------- Start Magic pages ------------------- */

.magic-page-item-name {
    color: #000;
}

.magic-page-item-description {
    font-size: 90%;
    color: #333;
}

/* ----------------- End magic pages   ------------------- */

/* ----------------- Start SimpleCompleter ------------------- */

.simple-completer {
    max-height: 24px;
}

.simple-completer-completions {
    border: solid black 1px;
    padding-top: 0;
    margin-top: 0;
    width: 100%;
    list-style-type: none;
    padding-left: 3px;
    padding-right: 0;
    z-index: 10000;
    position: relative;
    background-color: white;
}

.simple-completer-completions li {
    border: solid white 1px;
}

.simple-completer-completions li .selected {
    border: solid black 1px;
}

.simple-completer-completions li:hover {
    background-color: #FFA;
}

.simple-completer-selected-completion {
    background-color: #FFA;
}

.simple-completer-partial-completion {
    font-style: italic;
}

.simple-completer-full-completion {
    font-weight: bold;
}

/* ----------------- End SimpleCompleter ------------------- */

/* ----------------- Start Bug Reporting ------------------- */

#recordedMediaContainer audio {
    transform: translate(-50%,0);
    left: 50%;
    position: relative;
    margin-top: 50px;
}

#recordedMediaContainer video {
    transform: translate(-50%,0);
    left: 50%;
    position: relative;
    margin-top: 50px;
}

/* ----------------- End Bug Reporting   ------------------- */







/* ----------------- From standardTemplate   ------------------- */

@layer worktour_base {
    .content .fa.required-star{
        position: relative;
        bottom: 15px;
        font-size: 50% !important;
    }

    .avatar {
        max-width: 120px;
        max-height: 120px;
        overflow: hidden;
        border: solid 1px #000;
        border-radius: 50%;
    }

    .completer-poster {
        width: 60px;
        height: 40px;
        overflow: hidden;
        border: solid 1px #000;
        background-color: #fff;
        object-fit: cover;
    }

    .completer-avatar {
        width: 40px;
        height: 40px;
        overflow: hidden;
        border: solid 1px #000;
        border-radius: 50%;
        background-color: #fff;
        object-fit: cover;
    }

    .tabulated-avatar {
        max-width: 60px;
        max-height: 60px;
        overflow: hidden;
        border: solid 1px #000;
        border-radius: 50%;
        background-color: #fff;
    }

    .organization-avatar {
        width: 40px;
        height: 40px;
        overflow: hidden;
        border: solid 1px #000;
        object-fit: contain;
        /*
        border-radius: 50%;
        background-color: #fff;
        */
    }

    .account-menu-avatar {
        width: 40px;
        height: 40px;
        overflow: hidden;
        border: solid 1px #000;
        border-radius: 50%;
        background-color: #fff;
        object-fit: cover;
    }

    .header-avatar {
        width: 60px;
        height: 60px;
        overflow: hidden;
        border: solid 2px white;
        border-radius: 50%;
        background-color: #fff;
        object-fit: cover;
    }

    .avatar-admin {
        padding: 5px;
        margin: 5px;
    }

    .career-selector-icon {
        max-width: 50px;
        max-height: 50px;
        transform: translate(0, -50%);
        top: 50%;
        position: absolute;
    }

    .career-selector-text {
        padding-left: 50px;
    }

    #end-user-corporate-footer {
    }

    #end-user-corporate-footer img {
        top: 0.1rem;
        left:2rem;
        max-height: 3.5rem
    }

    #end-user-corporate-footer div {
        position: absolute;
        left: 7rem;
        font-size: 0.75rem;
        transform: translate(0, -50%);
        top: 50%;
    }

    #dashboard-assignments-list {

    }

    #dashboard-assignments-list li {
        padding-left: 5rem;
        text-indent: -4rem;
    }

    #dashboard-assignments-list li a {
        padding-left: 4rem;
    }

    optgroup {

    }

    .analytics-dashboard {
        background-color: var(--corporate-secondary-color-green);
        color: black;
        width: 100%;
        max-height: 40vh;
        border-radius: 20px;
        padding: 15px;
        font-size: 1rem;
        overflow: auto;
        margin-top: 20px;
    }

    /* https://stackoverflow.com/questions/17067294/html-table-with-100-width-with-vertical-scroll-inside-tbody */
    .analytics-table {
        width: 100%;
        /*
        display: flex;
        flex-flow: column;
        height: 100%;
        max-height: calc(40vh - 50px);
        */
    }

    .analytics-table thead {
        /* head takes the height it requires,
        and it's not scaled when table is resized
        flex: 0 0 auto;
        width: calc(100% - 0.9em);
         */
    }
    .analytics-table tbody {
        /* body takes all the remaining available space
        flex: 1 1 auto;
        display: block;
        overflow-y: auto;
         */
    }
    .analytics-table tbody tr {
        width: 100%;
    }
    .analytics-table thead, tbody tr {
        /*
         display: table;
         table-layout: fixed;
         */
    }

    .analytics-table th {
        color: white;
    }

    .analytics-table td {
        border: solid white 1px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .content-and-footer {
        position: relative;
    }

    #sortable-assignments li {
        border: solid var(--corporate-main-color-dark) 1px;
    }

    #sortable-assignments {
        font-size: 1.3rem;
    }

    #sortable-assignments li {
        padding: 3px;
    }

    .content {
        margin-bottom: var(--end-user-footer-height);
    }

    #in-app-notification-wrapper {
        margin-right: 5px;
        display: none;
        font-size: 150%;
        position: relative;
    }

    #in-app-notification-wrapper.with-notifications {
        display: inline-block;
    }

    #in-app-notification-wrapper em {
    }

    .in-app-notification-list.admin-notification-list {
        position: relative;
        top: 0;
    }

    .in-app-notification-list.show {
        display: block;
    }

    .in-app-notification-list {
        display: none;
        border: solid black 1px;
        position: absolute;
        width: min(300px, 25vw);
        background-color: white;
        color: black;
        transform: translate(0,0);
        top: 40px;
        right: 0;
        font-size: 75%;
        max-height: max(70vh, 100px);
        overflow-y: auto;
        z-index: 10;
    }

    #in-app-notification-counter {
        position: absolute;
        color: var(--corporate-main-color-dark);
        transform: translate(-50%,-50%);
        left: 50%;
        top: 50%;
        font-size: 60%;
        cursor: pointer;
    }

    .notification-wrapper {
        border: solid var(--corporate-main-color-dark) 1px;
        background-color: var(--corporate-secondary-color-light-gray);
        position: relative;
        transition: opacity 1s;
    }

    .notification-text {

    }

    .notification-close {
        position: absolute;
        top: -2px;
        right: 3px;
        cursor: pointer;
    }

    .notification-date {

    }

    .alert {
        position: fixed;
        top: 0;
        width: 100%;
    }

    #login-page-body .alert {
        position: relative;
    }

    .hamburger-menu .dropdown-menu {
        top: 3px !important;
        left: -5px !important;
        border: solid black 2px;
        margin-top: -3px;
        max-height: 95vh;
        overflow-y: auto;
    }

    .hamburger-menu button {
        background-color: var(--corporate-main-color-dark);
        border: none;
        font-size: 3.0rem;
        padding-bottom: 12px;
    }

    .hamburger-menu button:hover {
        color: var(--corporate-main-color-dark);
        background-color: white;
        border: none;
    }

    .logo-img {
        max-height: 70px;
        position: absolute;
        left: 4.0rem;
        top: 10px;
    }

    header {
        color: white;
        background-color: var(--corporate-main-color-dark);
        position: fixed;
        top: 0;
        height: var(--end-user-header-height);
        width: 100%;
        z-index: 1000;
    }

    header h1 {
        position: absolute;
        left: 10.0rem;
        top: 1rem;
        font-weight: 700;
        font-size: 2.5rem;
        max-width: 60%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .header-user {
        position: absolute;
        right: 0.7rem;
        top: 0.2rem;
        z-index: 1000;
        background-color: var(--corporate-main-color-dark);
    }

    .header-user span {
        font-size: 1.3rem;
        font-style: italic;
        color: black;
        cursor: pointer;
    }

    #last-tour {
        width: 30%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    #last-tour span {
        cursor: pointer;
    }

    .deployment-time {
        position: absolute;
        right: 0.7rem;
        bottom: 0.2rem;
        z-index: 1000;
        background-color: var(--corporate-main-color-dark);
        font-size: 1.3rem;
    }

    footer {
        color: white;
        background-color: var(--corporate-main-color-dark);
        position: relative;
        bottom: 0;
        height: var(--end-user-footer-height);
        width: 100%;
        z-index: 10;
    }

    .end-user-template footer,
    .admin-template    footer {
        position: fixed;
    }

    .content {
        margin-bottom: 0;
        min-height: var(--end-user-body-height);
        font-size: 1.7rem;
        top: calc(var(--end-user-breadcrumbs-height) + var(--end-user-header-height));
        position: relative;
    }

    .end-user-template .content,
    .admin-template    .content {
        height: calc(100vh - (var(--end-user-header-height) +
                              var(--end-user-breadcrumbs-height) +
                              var(--end-user-footer-height)));
        overflow: auto;
        padding-bottom: 0;
        min-height: unset;
    }

    .end-user-template .standard-body,
    .admin-template    .standard-body {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .standard-body {
        padding-top: 20px;
        padding-bottom: calc(10px + var(--end-user-footer-height));
    }

    .highlight-box {
        position: relative;
        color: white;
        background-color: var(--corporate-secondary-color-blue);
        min-height: 180px;
        border-radius: 20px;
        padding: 20px 50px;
        font-weight: 500;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .highlight-box ul {
        list-style-type: none;
    }

    .avatar-wrapper {
        top: 10px;
        position: absolute;
        right: 50px;
        text-align: center;
        font-style: italic;
        font-size: 0.8rem;
        padding: 2px;
        border: solid var(--corporate-secondary-color-blue) 3px;
    }

    .avatar-wrapper-editable:hover {
        cursor: pointer;
        border: dashed var(--corporate-main-color-dark) 3px;
    }

    .avatar {
        overflow: hidden;
        border: solid 4px white;
        border-radius: 50%;
        object-fit: cover;
        width: 130px;
        height: 130px;
    }

    .thumb-to-inject {
        max-width: 100px;
        max-height: 90px;
        transform: translate(-50%, 0);
        left: 50%;
        position: relative;
        padding-top: 1rem;
    }

    .video-graph {
        position: absolute;
        height: 20%;
        width: 100%;
        bottom: 0;
        display: inline-flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0;
        z-index: 100;
    }

    .video-graph > div {
        flex-grow: 1;
        height: 100%;
        position: relative;
    }

    .video-graph > div > div {
        background-color: darkgray;
        border: solid black 1px;
        opacity: 75%;
        position: absolute;
        bottom: 0;
        width: 100%;
        min-width: 1px;
        cursor: pointer;
    }

    .video-graph > div > div:hover {
        background-color: yellow;
        opacity: 1.0;
    }

    .video-container {
        position: relative;
        min-width: 600px;
    }

    .video-stream {
        width: 100%;
        height: 100%;
        position: absolute;
        transform: translate(-50%, 0);
        left: 50%;
    }

    .video_embed_iframe {

    }

    .video_embed {
    }

    .video_embed .video-stream {
        position: relative;
        transform: unset;
        left: unset;
    }

    .video_embed .fa-video {

    }

    .video_embed video {

    }

    .padded-table th, .padded-table td {
        padding-left: 3px;
        padding-right: 3px;
    }

    #force-login-wrapper.muffled.force-login {
        pointer-events: initial;
    }

    #force-login-wrapper.muffled .force-login-group {
        display: none;
    }

} /* end layer worktour_base */

@layer worktour_base {

    .profile-body {
        margin-top: 50px;
    }

    .profile-body  a {
        color: var(--corporate-main-color-dark);
    }

    .profile-body  h3 {
        padding-top: 10px;
        font-size: 2.0rem;
    }

    .profile-body  h4 {
        padding-top: 10px;
    }

    .profile-body  h4  a {
        font-weight: bold;
    }

    #breadcrumbs-wrapper {
        width: 100%;
        display: flex;
        padding: 0.5rem 1rem;
        background-color: var(--corporate-secondary-color-light-gray);
        font-size: 1.3rem;
        position: fixed;
        top: var(--end-user-header-height);
        height: var(--end-user-breadcrumbs-height);
        z-index: 100;
    }

    #breadcrumbs {
        width: 80%;
        padding-right: 15px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .modal-subtitle {
        font-size: 1.0rem;
        line-height: 1.1rem;
    }

    .end-user-modal .modal-header {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        background-color: var(--corporate-main-color-dark);
        color: white;
    }

    .end-user-modal .modal-header a {
        color: var(--corporate-secondary-color-blue);
    }

    .end-user-modal .modal-header a:hover {
        color: var(--corporate-secondary-color-light-gray);
    }

    .end-user-modal .modal-content {
        border-radius: 20px;
    }

    .end-user-modal .modal-footer {
        background-color: var(--corporate-main-color-dark);
        color: white;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .end-user-modal .modal-footer .btn-primary {
        background-color: white;
        border-color: black;
        color: var(--corporate-main-color-dark) !important;
    }

    .end-user-modal .modal-body .btn-primary {
        background-color: var(--corporate-main-color-dark);
        border-color: var(--corporate-main-color-medium);
        color: white;
    }

    .end-user-modal .password-check-block {
        font-size: 1.0rem;
    }

    .end-user-modal label {
        font-size: 1.5rem;
    }

    .end-user-parti-coloured {
    }

    .end-user-parti-coloured.selected {
        background-color: yellow;
        font-weight: bold;
    }

    .end-user-parti-coloured:nth-child(even) {
        background: var(--corporate-main-color-light);
    }

    .end-user-parti-coloured:nth-child(odd) {
        background: #FFF;
    }

    .password-reveal {
        cursor: pointer;
        position: absolute;
        right: 8px;
        top: 10%;
        z-index: 1000;
        max-width: 25px;
        max-height: 80%;
    }

    .favorite-careers {
        list-style-type: none;
    }

    #favorite-careers-heart {
        max-width: 30px;
        max-height: 30px;
        padding-right: 5px;
        border-radius: 50%;
    }

    .favorite-careers img {
        max-height: 30px;
        max-width: 30px;
        padding-right: 5px;
        border-radius: 50%;
    }

    .multiple-choice-radio-group .row,
    .multiple-choice-checkbox-group .row,
    .checkbox-singleton .row {
        margin-left: 2px;
    }

    .analytics-assignment-rendering {
        border: solid black 1px;
    }

    .analytics-mode-buttons {
        padding-bottom: 20px;
    }

    .analytics-mode-button-text {
        padding-left: 30px;
    }

    #analytics-question-rendering {
        margin-top: 70px;
        padding: 10px;
        border: solid black 1px;
        background-color: #f2f2f2;
    }

    #analytics-aggregation-rendering {
        margin-top: 20px;
        padding: 10px;
        border: solid black 1px;
    }

    .classes-table tr:hover {
        background-color: var(--corporate-secondary-color-light-gray);
        cursor: pointer;
    }

    .classes-table {
        width: 100%;
        font-size: 1.3rem;
    }

    .classes-table tr {
        width: 100%;
        border: solid var(--corporate-main-color-dark) 1px;
    }

    .classes-table td {

    }

    .classes-table .action-cell {
        text-align: center;
    }

    #class-code-to-share {
        font-family: monospace;
        background-color: var(--corporate-main-color-dark);
        color: white;
    }

    .activity-modal-radio {
        transform: scale(2);
        margin-right: 0.5rem;
    }

    .coloured-bar-chart-bottom-label-row {
        position: relative;
        bottom: 80px;
    }

    .coloured-bar-chart-bottom-label {
        text-align: center;
        vertical-align: top;
        font-size: 60%;
        font-weight: 800;
    }

}

.coming-soon {
    font-style: italic;
    color: var(--corporate-secondary-color-medium-gray);
}

.little-add-button {
    background-color: var(--corporate-main-color-dark);
    color: white;
    border: none;
    font-size: 50%;
    position: relative;
}

h1 .little-add-button {
    top: -3px;
}

.profile-body .btn-primary {
    background-color: var(--corporate-main-color-dark);
    border-color: var(--corporate-main-color-medium);
    color: white;
}

/* ----------------- Start Definition stuff ------------------- */

@layer worktour_base {

    .injected-pano-link {
        cursor: pointer;
        color: var(--corporate-main-color-dark);
        text-decoration: underline;
        text-decoration-style: dotted;
    }

    .injected-pano-link img {
        max-width: 150px;
        max-height: 50px;
        border: solid black 1px;
        margin-right: 0.5rem;
    }

    .info-popup-wrapper .injected-pano-link {
        color: white;
    }

    .popup-banner-overlay .injected-pano-link {
        color: white;
    }

    .associated-class {
        font-weight: bold;
    }

    .associated-classes {
        padding-top: 0.5rem;
    }

    .injected-tour {

    }

    .injected-tour-node {

    }

    .injected-hotspot {

    }

    .has-popup-definition {
        cursor: pointer;
        color: var(--corporate-main-color-dark);
        text-decoration: underline;
        text-decoration-style: dotted;
    }

    .admin-template .has-popup-definition::before {
        content: '\AB'
    }

    .admin-template .has-popup-definition::after {
        content: '\BB'
    }

    .definition-popup {
        cursor: initial;
        width: 375px;
        position: absolute;
        border: solid var(--corporate-main-color-dark) 2px;
        border-radius: 20px;
        background-color: white;
        color: black;
        z-index: 10;
    }

    .definition-popup .thumbnail {
        position: relative;
        left: 0;
        top: 0;
    }

    .definition-popup .thumbnail img {
        width: 50px;
        max-height: 50px;
    }

    .definition-popup .title_html {
        position: relative;
        right: 0;
        top: 0;
        padding: 3px;
        width: 100%;
        font-weight: bold;
    }

    .definition-popup .title {
        width: 100%;
        background-color: white;
        color: black;
        overflow: hidden;
        display: inline-flex;
    }

    .definition-popup .body_html {
        padding: 3px;
        font-size: 80%;
        max-height: 95px;
        overflow: auto;
    }

    .glossary-select {
        position: absolute !important;
        left: 20px;
        top: 20px;
        z-index: 20000;
        width: 500px !important;
        border: solid black 3px !important;
        background-color: #ececec !important;
        margin: 20px !important;
        padding: 10px !important;
        display: none;
    }
}

@layer mobile_override {

    @media (hover: none) and (max-width: 1400px) and (-webkit-min-device-pixel-ratio: 2),
           (hover: none) and (max-width: 1400px) and (min-resolution: 2dppx) {

        .definition-popup {
            cursor: initial;
            width: 750px;
        }

        .definition-popup .thumbnail {
            padding: 6px;
        }

        .definition-popup .thumbnail img {
            width: 100px;
            max-height: 100px;
        }

        .definition-popup .title_html {
            padding: 6px;
        }

        .definition-popup .body_html {
            padding: 6px;
            max-height: 190px;
        }
    }

    @media /* Portrait mobile */
           (hover: none) and (max-width: 1139px) and (max-aspect-ratio: 1 / 1) and (-webkit-min-device-pixel-ratio: 2),
           (hover: none) and (max-width: 1139px) and (max-aspect-ratio: 1 / 1) and (min-resolution: 2dppx) {

        .activity-modal-radio {
            transform: scale(4);
            margin-right: 2rem;
            margin-left: 1.5rem;
        }

    }
}


/* ----------------- End Definition stuff ------------------- */

/* ----------------- Start New login stuff ------------------- */

@layer worktour_base {

    #force-login-wrapper {
        position:relative;
        z-index: 40000;
        height: 100vh;
        width: 100vw;
    }

    .force-login-group {
        display: none;
        /*noinspection CssNoGenericFontName*/
        font-family: var(--corporate-main-font-family);
    }

    #force-login-backdrop {
        backdrop-filter: blur(3px);
        position: absolute;
        width: 100vw;
        height: 100vh;
        left: 0;
        top: 0;
        pointer-events: none;
        z-index: 400001;
    }

    #force-login-box {
        position: absolute;
        transform: translate(-50%, -50%);
        left: 50%;
        top: 50%;
        color: black;
        z-index: 400002;
        pointer-events: auto;
        /* background-color: white; */
        border-radius: 1rem;
    }

    #force-login-box::after,
    #force-login-box::before {
        box-sizing: border-box;
    }

    #force-login-wrapper.force-login {
        pointer-events: none;
    }

    .force-login .force-login-group {
        pointer-events: none;
        display: inherit;
    }

    .login-box-header {
        position: relative;
        top: 0;
        left: 0;
        border-left: solid black 0.1rem;
        border-top: solid black 0.1rem;
        border-right: solid black 0.1rem;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
        background-color: var(--corporate-main-color-dark);
        color: white;
        font-size: 2rem;
        width: 100%;
        height: 3.5rem;
        padding-left: 2rem;
        padding-right: 2rem;
        box-sizing: border-box;
    }

    .login-box-cancel {
        position: absolute;
        right: 0.5rem;
        top: 0;
        cursor: pointer;
    }

    .login-box-body {
        position: relative;
        border-left:  solid black 0.1rem;
        border-right: solid black 0.1rem;
        background-color: white;
        width: 100%;
        justify-content: space-around;
        padding: 1rem;
        max-height: calc(95vh - 7rem);
        max-width: 95vw;
        overflow-x: hidden;
        overflow-y: auto;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .login-box-body img {
        transform: translate(-50%, 0);
        left: 50%;
        position: relative;
        height: 5rem;
    }

    .login-box-body div {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .login-box-body a {
        font-size: 1rem;
    }

    .login-box-body h2 {
        font-size: 1.8rem;
    }

    .login-box-body h3 {
        font-size: 1.5rem;
    }

    .login-box-create-account-button {
        font-weight: bold;
        transform: translate(-50%, 0);
        left: 50%;
        position: relative;
        background-color: white;
        border: solid 0.3rem var(--corporate-main-color-dark);
        border-radius: 1.5rem;
        font-size: 1.5rem;
        padding-left: 3rem;
        padding-right: 3rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .login-box-body a {
        color: var(--corporate-main-color-dark);
    }

    .login-box-footer {
        position: relative;
        bottom: 0;
        left: 0;
        border-left: solid black 0.1rem;
        border-bottom: solid black 0.1rem;
        border-right: solid black 0.1rem;
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
        background-color: var(--corporate-main-color-dark);
        color: white;
        width: 100%;
        height: 3.5rem;
        box-sizing: border-box;
    }

}

/* ----------------- End New login stuff ------------------- */

/* ----------------- Start New result-table ------------------- */

@layer worktour_base {

    .parti-coloured-result-table {
        border: solid black 1px;
        width: calc(min(90vw, 50rem));
    }

    .parti-coloured-result-table.three-params {
        width: calc(min(90vw, 75rem));
    }

    .parti-coloured-result-table th, .parti-coloured-result-table td {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 25%;
        height: 4rem;
    }

    .parti-coloured-result-table.three-params th, .parti-coloured-result-table.three-params td {
        width: 16.7%;
    }

    .parti-coloured-result-table th {
        background-color: var(--corporate-secondary-color-medium-gray);
        font-weight: 800;
        font-size: 2rem;
    }

    .parti-coloured-result-table td {
        text-align: center;
        padding-right: 5px;
        font-weight: 800;
        font-size: 3rem;
    }

    @media (max-width: 950px) {

        .parti-coloured-result-table th {
            font-size: calc(0.75 * 2rem);
        }

        .parti-coloured-result-table td {
            font-size: calc(0.75 * 3rem);
        }

    }

    @media (max-width: 800px) {

        .parti-coloured-result-table th {
            font-size: calc(0.6 * 2rem);
        }

        .parti-coloured-result-table td {
            font-size: calc(0.6 * 3rem);
        }

    }

    .simple-user-table-block {
        background-color: white;
        color: black;
        width: 100%;
        padding: 15px;
        font-size: 1rem;
        overflow: auto;
        margin-top: 20px;
    }

    .simple-user-table-block .simple-user-table th, .simple-user-table td {
        padding-left:  5px;
        padding-right: 5px;
    }

    .simple-user-table-block .simple-user-table td {
        font-size: 1rem;
        font-weight: normal;
    }

    .simple-user-table-block .simple-user-table th {
        font-size: 1.25rem;
    }

    .simple-user-table-block .parti-coloured-result-table th, .parti-coloured-result-table td {
        width: unset;
    }
    .simple-user-table-block .parti-coloured-result-table td {
        text-align: left;
    }

    .assignment-question {
        border: solid white 1px;
        margin-top: 2px;
        margin-bottom: 15px;
        padding-bottom: 3px;
        position: relative;
    }

    .show-barfs {
        position: absolute;
        top: 3px;
        right: 3px;
        cursor: pointer;
    }
    .assignment-question-required, .inner-alert-star {
        color: red;
    }

    .assignment-question.highlight-lite {
        border: solid red 1px;
    }

    .accordion {
        padding-top: 20px;
    }

    .accordion-card-icon {
        position: absolute;
        max-height: 50px;
        transform: translate(-50%, -50%);
        left: 50%;
        top: 50%;
        padding-left: 20px;
    }

    .accordion-card-icon-wrapper {
        width: 75px;
        height: 75px;
        display: inline-block;
        position: relative;
    }

    .skill-card-icon-wrapper {
        display: inline-block;
        position: relative;
    }

    .accordion-card-label-wrapper {
        position: absolute;
        transform: translate(0, -50%);
        top: 50%;
        width: 100%;
    }

    .accordion-card-label-text {
        position: absolute;
        left: 100px;
        top: 0;
    }

    button.accordion-card-btn-label {
        position: relative;
        padding-top: 70px;
        font-size: inherit;
    }

}

@layer mobile_override {

    @media /* Portrait mobile */
           (hover: none) and (max-width: 1139px) and (max-aspect-ratio: 1 / 1) and (-webkit-min-device-pixel-ratio: 2),
           (hover: none) and (max-width: 1139px) and (max-aspect-ratio: 1 / 1) and (min-resolution: 2dppx) {

        .parti-coloured-result-table {
            border: solid black 3px;
        }

    }
}
/* ----------------- End Definition stuff ------------------- */

@layer print_override {

    .for-printing .content {
        top: 10px;
        height: initial;
    }

    .for-printing .hide-for-printing {
        display: none;
    }

    .for-printing .fa.show-barfs {
        display: none !important;
    }

    .for-printing .assignment-question.highlight-lite {
        border: solid white 1px;
    }

    /* https://css-tricks.com/how-to-disable-links/ */
    .for-printing .injected-pano-link {
        color: currentColor;
        cursor: not-allowed;
        opacity: 0.5;
        text-decoration: none;
        pointer-events: none;
    }

}