﻿/* Works on Chrome/Edge/Safari */
*::-webkit-scrollbar {
    width: 4px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: #cccccc;
    border-radius: 20px;
}

body {
    overflow-y: overlay;
    counter-reset: field;
}

a {
    transition: color 0.25s;
}

header,
footer {
    flex: none;
}

footer {
    background-color: var(--dark);
    color: white;
}

header {
    background-color: var(--light);
    color: white;
    transition: all 0.3s ease-in-out;
    position: sticky;
    top: 0; 
    z-index: 1030;
}

.sticky-header {
    background-color: var(--light);
    box-shadow: 0 3px 5px rgba(0,0,0,.2);
}

.too-long {
    display: none;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
}

.svg-logo {
    height: 40px;
}

@media (min-width: 576px) {
    .svg-logo {
        height: 80px;
    }
}

.badge {
    color: #fff;
}

.page {
    position: relative;
    min-width: fit-content;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.main {
    flex-grow: 1;
}

.content {
    flex: 1 0 auto;
}

.accordion .card-header {
    cursor: pointer;
}

.accordion-content {
    max-height: 500px;
    transition: all 0.3s ease-in-out;
}

.accordion-collapse {
    max-height: 0 !important;
}

.accordion-icon {
    transition: transform ease-in-out 0.20s
}

.footer {
    display: block;
}

.footer-links {
    padding: 0.5em;
}

h3.footer-link-item {
    font-size: 0.8rem;
}

li.footer-link-item {
    font-size: 0.7rem;
}

a.footer-link {
    color: white;
}

a.footer-link[disabled] {
    cursor: default;
}
    a.footer-link[disabled]:hover {
        text-decoration: none;
    }

.footer-link-group {
    padding-right: 3em;
}

.footer-link-list {
    list-style-type: none;
    list-style-position: outside;
    margin: 0;
    padding: 0;
}

.footer-link-item {

}

.footer-link {

}

.nav-mr-auto {
    margin-right: auto !important;
}

.navigation-list {
    list-style-type: none;
    list-style-position: outside;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: left;
    position: relative;
}

a.navigation-list {
    color: unset;
}

.navigation-submenu {
    visibility: hidden;
    opacity: 0;
    margin-left: 50%;
    margin-right: 50%;
    margin-top: 0.5em;
    z-index: 100;
    position: absolute;
    background-color: #fff;
    left: 0;
    width: 0;
    overflow-y: auto;
    padding: 1em;
    transition-delay: 0.3s;
    transition-property: width, margin, opacity, visibility;
    transition-duration: 0.4s;
    transition-timing-function: ease-in-out;
}

.navigation-list-item:hover .navigation-submenu {
    visibility: visible;
    opacity: 1;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.navigation-submenu-list {
    list-style-type: none;
    list-style-position: outside;
    display: flex;
    flex-direction: row;
    justify-content: left;
    margin: 0;
    padding: 0;
}

.navigation-submenu-list-item {
    width: 15%;
}

.navigation-submenu-header {
    color: var(--dark);
}

.bg-navigation {
    border-top: 1px solid black;
    background-color: #efefef;
}

.navigation-link:hover,
.navigation-submenu-title-link:hover,
.navigation-submenu-link:hover {
    text-decoration: none;
}

.navigation-link {
    color: unset;
    transition: color 0s;
}

    .navigation-link:hover {
        color: unset;
    }

.navigation-link-text {

}

.navigation-list-item {
    padding: 0.5em;
    color: var(--dark);
}

.nav-link-img {
    height: 2.5rem;
}

.navigation-list-item:hover {
    color: white;
    background-color: var(--primary);
}

.validation-message {
    color: var(--danger);
    width: 100%;
    font-size: 80%;
    position: relative;
}

.hidden {
    display: none !important;
}

.show {
    display: block !important;
}

.modal {
    background-color: rgba(0, 0, 0, 0.25);
    animation-name: fadeIn;
    animation-duration: 0.3s !important;
    animation-fill-mode: forwards;
}

.modal-header,
.modal-header .close {
    color: white !important;
}

.htmlEditor {
    background-color: transparent;
}

.floating-container {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 35px 25px;
}

.floating-button {
    padding: 1rem;
    background: var(--secondary-opacity-50);
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    left: 0;
    right: 0;
    margin: auto;
    color: white;
    text-align: center;
    font-size: 14px;
    z-index: 100;
    box-shadow: 0 4px 12px 0 rgb(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s;
}

    .floating-button:hover {
        border: 2px solid var(--secondary-darker);
        background: var(--secondary);
        color: white;
        box-shadow: 2px 6px 12px 0 rgb(0, 0, 0, 0.25);
    }

.fixed-fullscreen {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.fixed-local {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    z-index: 1031;
    overflow: auto;
}

.foreground {
    z-index: 10;
}

.loading-text {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
}

.form-group {
    position: relative;
}

.form-question {
    font-weight: 500;
}

.form-answer {
    margin-top: 0.8em;
    display: block;
}

.fadeIn {
    animation-name: fadeIn;
    animation-duration: 0.8s !important;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.fadeOut {
    animation-name: fadeOut;
    animation-duration: 0.5s !important;
    animation-fill-mode: forwards;
}

@keyframes fadeOut {
    100% { opacity: 0; }
    0% { opacity: 1; }
}

.search-panel {
    border: 1px solid #cdcdcd;
    border-radius: 4px;
    padding: 1em;
    position: relative;
}

.e-richtexteditor .e-rte-content .e-content,
.e-richtexteditor .e-source-content .e-content {
    font-size: 20px;
}

.e-richtexteditor .e-rte-content,
.e-richtexteditor .e-source-content {
    background-color: #e3bf90;
    color: var(--dark);
}

.e-rte-srctextarea {
    font-family: var(--font-family-monospace);
    font-size: 14px;
    background-color: white !important;
}

.e-rte-full-screen {
    z-index: 1040 !important;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1040;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.mega-search {
    width: 600px;
}

.mega-search input {
    width: 100%;
    height: 68px;
}

@media (max-width: 992px) {
    .mega-search {
        width: 100%;
    }

    .mega-search input {
        height: 56px;
    }
}

.oi-rotate-180 {
    transform: rotate(180deg);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.appointment-card {
    box-shadow: 0 4px 12px 0 rgb(0, 0, 0, 0.15);
    transition: box-shadow 0.25s ease-in-out;
}

    .appointment-card:hover {
        box-shadow: 2px 6px 12px 0 rgb(0, 0, 0, 0.25);
    }

.search-card {
    cursor: pointer;
    padding: 0;
    box-shadow: 0 4px 12px 0 rgb(0, 0, 0, 0.15);
    transition: box-shadow 0.25s ease-in-out;
}

    .search-card:hover {
        box-shadow: 2px 6px 12px 0 rgb(0, 0, 0, 0.25);
    }

    .search-card h4 {
        margin: 0;
        padding: 0;
    }

.job-count {
    color: var(--info);
}

.modal-body {
    max-height: calc(100vh - 115px);
    overflow-y: auto;
}

.login-content {
    background: linear-gradient(to bottom, var(--highlight), var(--primary), var(--info));
    padding: 0;
}

.login-container {
    height: 100vh;
    flex-direction: column;
    backdrop-filter: saturate(200%) blur(30px);
    background-color: rgba(255, 255, 255, 0.8) !important;
    padding: 2rem;
    margin: 0 -15px;
    overflow: hidden;
    overflow-y: auto;
    position: relative;
}

.login-buttons {
    display: flex;
    gap: 1rem;
}

.app-logo {
    display: inline-block;
    max-height: 8rem;
    margin: 0.5rem;
    max-width: 50%;
}

.job-header:not(.header) {
    position: sticky;
    top: 4.75rem;
    background-color: var(--body-lightest);
    z-index: 100;
    padding-top: 0.5rem;
    margin-bottom: 1rem;
}

.modal #jobHeader,
.modal .job-header {
    position: relative;
    top: 0;
}

@media print {

    .job-header {
        position: static;
    }
} 

.e-handle,
.e-range {
    background-color: var(--info) !important;
    border-color: var(--info) !important;
}

/* horizontal scroll and carousel support classes */
.hs-wrapper {
    position: relative;
}

.hs-container {
    display: flex;
    overflow-x: auto;
    max-width: 410px;
}

.hs-button-back {
    left: 12px;
}

.hs-button-next {
    right: 12px;
}

@media (min-width:576px) {
    .hs-container {
        max-width: unset;
    }

    .hs-button-back {
        left: 0;
    }

    .hs-button-next {
        right: 0;
    }
}

.hs-container::-webkit-scrollbar {
    display: none;
}

.hs-item {
    z-index: 60;
}

.hs-button {
    position: absolute;
    top: 30%;
    background-color: rgba(255,255,255,0.4);
    border: none;
    color: var(--body);
    border-radius: 0.5rem;
    z-index: 80;
    padding: 1rem;
    box-shadow: 0 4px 12px 0 rgb(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

    .hs-button:hover {
        background-color: rgba(255,255,255,0.9);
    }

    .hs-button:focus {
        outline: none;
    }

.clickable:hover {
    cursor: pointer;
}

/* CMS Layout classes */
.cms-canvas {
    display: flex;
}

.cms-layout {
    display: flex;
    flex-grow: 1;
    position: relative;
}

.cms-container {
    flex-grow: 1;
    background-clip: padding-box;
    position: relative;
}

    .cms-container > div {
        padding: 1rem;
    }

.cms-row {
    flex-direction: row;
}

.cms-column {
    flex-direction: column;
}

@media (max-width: 800px) {
    .cms-row {
        flex-direction: column;
    }

    .cms-column {
        width: unset !important;
    }
}
 
*[data-anchor="true"] {
    scroll-margin-top: 6rem;
}

.btn-linked-in {
    background: url('../images/linked-in-default.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 160px;
    height: 31px;
    transition: background 0.25s ease-in-out
}

    .btn-linked-in:hover {
        background: url('../images/linked-in-hover.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .btn-linked-in:active {
        background: url('../images/linked-in-active.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

.btn-microsoft {
    border: 1px solid var(--secondary);
}

    .btn-microsoft:hover {
        background-color: var(--secondary);
        color: white; 
    }

    .btn-microsoft #ms-white {
        display: none;
    }
    .btn-microsoft:hover #ms-white {
        display: inline;
    }

    .btn-microsoft #ms-dark {
        display: inline;
    }
    .btn-microsoft:hover #ms-dark {
        display: none;
}

.doc-field {
    background-color: var(--info-opacity-25);
    border-radius: 1em;
}

    .doc-field:before {
        counter-increment: field;
        content: counter(field);
        background-color: var(--info);
        border-radius: 1em;
        display: inline-block;
        color: white;
        font-size: 0.75em;
        padding: 0.2em 0.5em;
        margin-right: 0.2em;
        line-height: normal;
    }