html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y:hidden;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    float: right;
    background: #5cb85c;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE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b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


.page {
    flex-direction: column !important;
    flex-grow: 1;
}

.nav-item.px-3 {
    display: inline-block !important;
}

/*.nav-scrollable {
    display: inline-block !important;
}
*/
.navbar {
    display: inline-block !important;
}

.nav-link {
    color: #000000;
}







/* ------------------------ */
/* Dialog Component - Start */


.bm-container {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10007;
}

.bm-overlay {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: rgba(0,0,0,0.5);
}

.bm-active {
    display: flex;
}

.blazor-modal {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    max-height: 88vh;
    width: min(92vw, 720px);
    background-color: #fff;
    border-radius: 16px;
    border: none;
    padding: 0;
    z-index: 1010;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.bm-header {
    background: linear-gradient(135deg, #2f4a29 0%, #3a5a30 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
}

.bm-title {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    padding: 0;
}

.bm-close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    cursor: pointer;
    font-size: 1.75rem;
    font-weight: 600;
    background-color: #efd5d75e;
}

.bm-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: white;
    padding: 4px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}


    .bm-content .section,
    .bm-content .section .shadow,
    .bm-content .section .shadow form,
    #PanelContactForm,
    #PanelContactForm .ContactFormControls,
    #PanelContactForm .ContactFormControl .messageRows,
    #PanelContactForm .ContactFormControls .messageRows div,
    #PanelContactForm .ContactFormControls .messageRows div textarea {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }



/* Dialog Component - End */
/* ---------------------- */
.submittedDiv {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    font-weight: bold;
}

    .submittedDiv p {
        position: relative;
        top: 50%;
        text-align: center;
    }

.px-6 {
    display: inline-block;
    border-color: #bbbbec8c;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    background-color: #7f8fff0d;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
}



/**/





/**/

.row {
    margin-top: 2px;
    margin-left: 2px;
    margin-right: 2px;
    margin-bottom: 2px;
}

/* */



/* Account related */

/* ------------------------ */
/* Accounts Component - Start */



.accountsButton {
    display: flex;
    flex-direction: row;
    background-color: white;
    color: blue;
    border: black solid 1px;
    padding-right: 10px;
    padding-left: 10px;
    font-weight: 600;
    margin-top: 2px;
    margin-right: 3px;
}

.dropdown:hover .accountsButton {
    color: white;
    background-color: #007bff;
}

.accountDropdownContent {
    right: 0;


}

    .accountDropdownContent > a {
        color: blue;
        background-color: white;
    }

    .accountDropdownContent a:hover {
        color: white;
        background-color: #007bff;
    }

.userPhotoDiv {
    margin-left: 10px;
    height: 48px;
}

    .userPhotoDiv > img {
        max-height: 100%;
        height: 48px;
    }




.accountDetailsItemWrapper {
    position: relative;
    border: solid;
    border-width: 1px;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    max-width: 100%;
}



.form-group {
    display: flex;
    flex-direction: row;
    margin-bottom: 0.25rem;
}


.form-control {
    width: auto;
}

.contact-message.form-control {
    width: 100%;
}


.form-group > label {
    vertical-align: middle;
    display: inline-block;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    width: 9rem;
}


.account-button {
    margin-left: auto;
    display: block;
}

/* Accounts Component - End */
/* ---------------------- */



.dropdown-content {
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 6px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.loading {
    display: none;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 10;
    background-color: rgb(0 0 0 / 18%);
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
    animation-direction: alternate-reverse;
    animation-name: loadingProcessingAnimate;
    animation-duration: 1s;
}

    .loading.active {
        display: block;
    }

@keyframes loadingProcessingAnimate {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.loaderWrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.success {
    display: none;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: rgb(0 0 0 / 18%);
    z-index: 12;
}

    .success.active {
        display: block;
    }

.successWrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: black;
    border-radius: 5px;
}



.errorResponse {
    display: none;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: rgb(0 0 0 / 18%);
    z-index: 12;
}

    .errorResponse.active {
        display: block;
    }

.errorResponseWrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: black;
    border-radius: 5px;
}



.DialogClose {
    display: none;
    position: absolute;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 600;
    background-color: white;
    right: 4px;
    top: 4px;
    border: 1px;
    border-style: solid;
    border-color: red;
    border-radius: 4px;
    line-height: 1.5rem;
    top: 10px;
    right: 15px;
    background: white;
    padding: 6px;
    border-radius: 15px;
    border-width: 2px;
    z-index: 10;


}

    .DialogClose:hover {
        background-color: blue;
        color: #fff;
        border-color: #0a58ca;
    }



    .DialogClose.active {
        display: inline-block;
    }



.checkboxlabel {
    width: 220px !important;
}



#adminUserImage {
    max-width: 224px;
    padding: 0px;
    cursor: pointer;
    width: auto;
    width: 128px;
    height: auto;
}




.adminModal .modal-dialog {
    max-height: 100%;
    height: 100%;
    margin: auto;
    z-index: 5;
    max-width: 100%;
}

.adminModal .modal-content {
    max-height: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    width: auto;
}

.adminModal .modal-body {
    overflow: auto;
    /*max-width: 1200px;*/
}

.accountDetailsWrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
}


.accountDetailsItemWrapper {
    flex-grow: 1;
    max-width: 100%;
    margin: 5px;
    background-color: white;
}

.AccountsBackdrop {
    display: none;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 5;
    background-color: rgba(0,0,0,0.5);
    animation-fill-mode: forwards;
    animation-name: accountBackdropLoad;
    animation-duration: 3s;
    opacity: 0;
}

@keyframes accountBackdropLoad {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.password-form-control {
    width: 154px;
    flex-grow: 1;
}


.AccountsBackdrop-active {
    display: flex;
}



/* */


/* App specific */

.navbar-brand {
    font-weight: 900;
    font-size: 1.5em;
}

.nav-scrollable.flex-column {
    flex-direction: row !important;
}


@media(max-width:600px) {
    .navbar-brand {
        font-weight: 900;
        font-size: 1em;
    }
    .employerTitle {
        
    }
/*    .header-top-row {
        flex-direction: column-reverse;
    }*/
    .nav-section {
        margin-right:0px;
    }


    .nav-scrollable.flex-column {
        flex-direction: column !important;
    }


    .logoDiv {
        margin-right: 0px !important;
    }

    .dropdown-item {
        white-space:wrap;
    }
}



.employer-button {
    background-color: #28a745 !important;
    color: white;
    font-weight: 900;
    font-size: 1.25em;
    border-radius: 15px;
}
    .employer-button:hover {
        background-color: white !important;
        color: #28a745 !important;
    }


.employee-button {
    background-color: #ff9900 !important;
    color: white;
    font-weight: 900;
    font-size: 1.25em;
    border-radius: 15px;
}
    .employee-button:hover {
        background-color: white !important;
        color: #ff9900 !important;
    }


    /* contact us */

.ContactFormControls .col-sm-4 > input {
    width: 100%;
}



/* */


.main-article-default {
}


@media (min-width: 641px) {
    .main-default {
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .main-default > article {
        padding-left: 2rem;
        padding-right: 1.5rem;
    }


    .main-admin > article {
        padding: 0px;
        height: 100%;
    }

    .main-admin > article > .content {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
}

.main-admin > article {
    padding: 0px;
}

.main-admin article.content {
    display: flex;
}


.footer-default {
}

.footer-admin {
    display:none;
}

.admin-simple { padding: 1rem 0.25rem 2rem; }
.admin-simple h3 { color: #2f4a29; margin: 0 0 0.8rem; }
.admin-hint { color: #66715c; font-size: 0.9rem; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table th, .admin-table td { padding: 0.45rem 0.65rem; border-bottom: 1px solid #e6e9e0; text-align: left; font-size: 0.88rem; }
.admin-table th { color: #66715c; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; }

/* Compact public-section heroes — title + one-line lead + action, not a billboard. */
.page-hero {
    padding: 0.85rem 1rem 0.9rem !important;
    text-align: left !important;
}
.page-hero .container {
    max-width: 1100px !important;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
}
.page-hero-copy { flex: 1 1 16rem; min-width: 0; }
.page-hero-icon { display: none !important; }
.page-hero h1 {
    font-size: 1.35rem !important;
    font-weight: 800;
    margin: 0 0 0.2rem !important;
    line-height: 1.2;
}
.page-hero-lead,
.page-hero p[class*="-lead"] {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    max-width: 46rem !important;
    opacity: 0.92;
}
.page-hero [class*="-btn"] {
    flex: 0 0 auto;
    padding: 0.4rem 0.95rem !important;
    font-size: 0.85rem !important;
}

.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.4rem 1rem 2.6rem;
    color: #3a4234;
    line-height: 1.65;
}
.legal-draft {
    border: 1px dashed #e8873a;
    background: #fff8ef;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.3rem;
    color: #5a5246;
    font-size: 0.92rem;
}
.legal-page h1 { color: #2f4a29; font-size: 1.7rem; margin: 0 0 0.35rem; }
.legal-meta { color: #6b7460; font-size: 0.88rem; margin: 0 0 1.2rem; }
.legal-page h2 { color: #2f4a29; font-size: 1.15rem; margin: 1.4rem 0 0.45rem; }
.legal-page p, .legal-page li { margin: 0 0 0.7rem; }
.legal-page ul { padding-left: 1.2rem; }
.legal-page a, .legal-page button.footer-btn {
    color: #c2621b;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}




