﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

body {
    background-color: rgba(227, 228, 227, 1) !important;
    --complementaryColor: #984135;
    height: 100vh;
    --footerHeight: 80px;
    --headerHeight: 56px;
    --borderLineHeight: 1px;
    --mainContent-min-height: 766px;
    --viewPortHeight: 100vh;
    --logoContainerWidth: 230px;
    background-size: cover;
    background-repeat: repeat-y;
    background-position: center;
}

.root {
    height: calc(var(--viewPortHeight) - calc(var(--headerHeight) + var(--borderLineHeight)+ var(--footerHeight)));
    /*min-height: var(--mainContent-min-height);*/
}

header {
    background-color: var(--primaryColor);
    color: #fff;
    min-height: var(--headerHeight);
}

a {
    color: var(--primaryColor);
}

    a.nav-link {
        color: #fff;
    }

.page-header {
    font-weight: 600;
    font-size: 1.2em;
    color: #04644C;
    border-bottom: solid 1px #04644C;
}

.menu-button {
    background-color: var(--primaryColor) !important;
    border-width: 0 !important;
    border-color: var(--primaryColor) !important;
}

    .menu-button > span {
        color: white;
    }

.menu-button, .menu-button, .menu-button, .menu-button {
    border-width: 0 !important;
}

.dropdown-item > span {
    margin-right: 8px;
}

.nav-link > span {
    font-size: 18px;
    font-weight: lighter;
}

.nav-item {
    margin-left: 12px;
}

.page-container {
    margin-top: 12px;
}

.control-container {
    margin-top: 6px;
}

.grid-container {
    margin-top: 6px;
    padding: 6px;
    background-color: white;
    border-radius: 4px;
    font-size: 13px;
}

.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
    align-content: center;
    justify-content: center;
    align-items: center;
    background-color: #00000099;
}
#appLoader {
    height: 75px;
    width: 75px;
    fill: var(--primaryColor);
}
    .login-container > div {
        width: 500px;
        padding: 8px;
        background-color: rgba(255, 255, 255, .75);
    }
.candidateEntry-container {
    background-color: #00000099;
    display: flex;
    justify-content: center;
}
.maincontent {
    min-height: calc(var(--viewPortHeight) - calc(var(--headerHeight) + var(--footerHeight)))
}

h4 {
    color: var(--primaryColor);
    border-bottom: solid 1px var(--primaryColor);
}

.sidebar {
    /*background-color: rgba(123, 122, 123, 1);*/
    height: 100%;
    padding: 5px;
}

    .sidebar .top-row {
        background-color: var(--primaryColor);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

#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: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.e-expand::before {
    content: '\e82e';
}

.e-collapse::before {
    content: '\e834';
}

.e-approve::before {
    content: '\e60c';
}

.e-group::before {
    content: '\e5a7';
}

.loading-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.table-sticky-header th {
    position: sticky;
    top: 0px;
    background-color: white;
    z-index: 999;
}

.table-nested {
    border-style: solid;
    border-left-width: 0px;
    border-right-width: 0px;
    border-top-width: 2px;
    border-bottom-width: 2px;
    margin-bottom: 0 !important;
}

.table-depth-1 {
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
    border-color: chocolate !important;
}

.table-depth-2 {
    border-color: #04644C !important;
}

.table-depth-3 {
    border-color: #4B1C00 !important;
}

.table-depth-4 {
    border-color: #9A3D06 !important;
}

.table-depth-5 {
    border-color: #7B7A7B !important;
}

.table-positive-cell {
    background-color: green !important;
    color: white !important;
}

.table-negative-cell {
    background-color: maroon !important;
    color: white !important;
}

.table-neutral-cell {
    background-color: lightgray !important;
}

.table-warning-cell {
    background-color: #FFCC00 !important;
}

.table-selected-cell {
    background-color: #dee2e6;
    font-weight: bold;
}

/* Force drop downs on top of dialogs */
.ui-dropdown-panel {
    z-index: 9999999 !important;
}

.team-depth-1 {
    padding-left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

.team-depth-2 {
    padding-left: 12px;
    font-weight: bold;
    font-size: 1.1em;
}

.team-depth-3 {
    padding-left: 24px;
    font-weight: bold;
    font-size: 1.0em;
}

.plant-summary .e-caret {
    color: white !important;
}

.breadcrumb {
    background-color: rgb(13, 22, 34) !important;
}

    .breadcrumb .breadcrumb-item {
        color: #ccc !important;
    }

        .breadcrumb .breadcrumb-item.active {
            color: #ccc !important;
        }

        .breadcrumb .breadcrumb-item a {
            color: white !important;
        }

            .breadcrumb .breadcrumb-item a:hover {
                color: #ccc !important;
                text-decoration: none;
            }

.e-destructive {
    background-color: maroon !important;
}

    .e-destructive > span {
        color: white !important;
    }

.e-highlight {
    background-color: var(--primaryColor) !important;
}

    .e-highlight > span {
        color: white !important;
    }

.e-primary .e-approve {
    color: white !important;
}

.dashboard-item-large, .dashboard-item-large > a, .dashboard-item-large > a:hover {
    font-size: 1.5em;
    color: var(--complementaryColor) !important;
}
/*.ease-out:hover{
	
	color:var(--complementaryColor)!important;
    border: 1px solid var(--complementaryColor);
    border-radius: 4px;
    box-shadow: 0 0 5px #aaa;
    transform: scale(1.05);
    z-index: 11;
    transition: 0.25s ease-out;
}*/

a.box {
    padding: 10px;
    margin: 10px;
    background: white;
    width: 30%;
    box-shadow: 0 2px 3px 0px rgba(0,0,0,0.25);
    border-radius: 3px;
    transition: .2s all;
    color: var(--complementaryColor) !important;
    max-height: 80px;
    text-overflow: ellipsis;
    overflow-x: hidden;
    white-space: nowrap;
    border: 1px solid var(--complementaryColor);
}

.box-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .box-wrap:hover .box:hover {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 8px 20px 0px #d6d6d6;
    }

.dashboard-item-small, .dashboard-item-small > a, .dashboard-item-small > a:hover {
    color: var(--complementaryColor) !important;
    border: none;
}

.e-trash-icon:before {
    content: '\e84e';
}

.e-grid .e-altrow {
    background-color: #f3f2f1;
}

.e-search-icon:before {
    content: '\e993';
}

.e-reply-icon:before {
    content: '\e815';
}

.flip-y {
    transform: rotateY(180deg);
}

.e-uploader:before {
    content: '\e60f';
}

.e-excel-export:before {
    content: '\e242';
}
/*.slowFadeOut {
	filter: opacity(0%);
	-webkit-filter: opacity(0%);
	-ms-filter: opacity(0%);
	-o-filter: opacity(0%);
	transition: 1s;
}*/


.e-treeview1:before {
    content: '\e22c'
}

.e-check-mark-01:before {
    content: '✔';
    color: #00cc00;
}

#app-footer {
    width: 100%;
    bottom: 0px;
    height: var(--footerHeight);
    background-color: rgb(13, 22, 34);
    color: rgb(255, 255, 255);
    padding-top: 16px;
    padding-bottom: 16px;
}

.e-sidebar {
    max-height: calc(var(--viewPortHeight) - calc(var(--headerHeight) + var(--borderLineHeight) + var(--footerHeight)));
    box-shadow: 1px 0px 4px 1px #666;
    border-right: solid 1px;
}

.e-close-icon::before {
    content: '\e7fc'
}

.alert-close-button, .error-message-close-button {
    background-color: transparent !important;
    border: none !important;
}

.error-message-action-link {
    cursor: pointer;
}

    .error-message-action-link:hover {
        text-decoration: underline !important;
    }
@media screen and (min-width: 768px) {

    .error-message-display-text {
        overflow-x: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

.error-message-display-text {
    align-self: center;
    padding: 0;
}

    .error-message-detail {
        font-family: monospace;
        overflow-y: scroll;
        max-height: 200px;
    }

    .e-error-dropdown {
        border-color: #a80000;
    }

    .e-info:before {
        content: '\e607'
    }

    .e-spinner-custom {
        position: relative;
        display: flex;
        width: inherit;
    }

    .e-upload-success-msg {
        display: flex;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        padding: 5px;
        color: var(--success);
    }

    .e-ft-copy:before {
        content: '\e60d';
    }

    .inspection-status {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 1.4em;
        text-shadow: 0px 0px 0px #aaa;
        padding: 5px;
        border-radius: 4px;
        min-height: 50px;
        min-width: 90px;
    }

    .inspection-status-in-progress {
        color: var(--yellow);
    }

    .inspection-status-complete {
        color: var(--green);
    }

    .inspection-details {
        display: flex;
        align-items: center;
    }

    .inspection-buttons {
        display: flex;
        margin: 5px;
        flex-direction: column;
    }

    .inspection-comments {
        display: flex;
        flex-direction: column;
        margin: 5px;
        flex-grow: 2;
    }

    .error-message-detail-container.hide {
        animation: fadeout ease-out 0.5s 1 normal forwards !important;
    }

    .error-message-detail-container.show {
        animation: fadein ease-out 0.5s 1 normal forwards !important;
    }

    .error-message-detail-container {
    }

    .error-message-is-sticky {
        position: sticky;
        top: 5px;
        z-index: 9999;
    }

    @keyframes fadeout {
        0% {
            opacity: 1;
            height: auto;
        }

        50% {
            opacity: .5;
            height: 100px;
        }

        100% {
            opacity: 0;
            height: 0;
            display: none;
        }
    }

    @keyframes fadein {

        0% {
            opacity: 0;
            height: 0px;
            display: block;
        }

        50% {
            opacity: .25;
            height: 100px;
        }

        100% {
            opacity: 1;
            height: auto;
        }
    }

    .e-ft-time-line-week:before {
        content: '\ea89';
    }

    .e-ft-time-line-day:before {
        content: '\ea86';
    }

    .e-checkbox-wrapper.e-wrapper.e-error .e-icons {
        border: solid 1px #a80000;
    }

    .no-border, .no-border-on-focus:focus {
        border: none !important;
    }

    .button-hover-gray:hover, .button-focus-gray:focus {
        background: #f4f4f4 !important;
    }

    .button-active:active {
        background: #d6eef1 !important;
    }

    .altrow {
        background-color: #f3f2f1;
    }

    .bg-blue, .bg-color1 {
        background-color: var(--blue) !important;
        color: white !important;
    }

    .bg-indigo, .bg-color2 {
        background-color: var(--indigo) !important;
        color: white !important;
    }

    .bg-purple, .bg-color3 {
        background-color: var(--purple) !important;
        color: white !important;
    }

    .bg-red, .bg-color4 {
        background-color: var(--red) !important;
        color: white !important;
    }

    .bg-orange, .bg-color5 {
        background-color: var(--orange) !important;
        color: white !important;
    }

    .bg-yellow, .bg-color6 {
        background-color: var(--yellow) !important;
        color: black !important;
    }

    .bg-green, .bg-color7 {
        background-color: var(--green) !important;
        color: white !important;
    }

    .bg-teal, .bg-color8 {
        background-color: var(--teal) !important;
        color: white !important;
    }

    .bg-cyan, .bg-color9 {
        background-color: var(--cyan) !important;
        color: white !important;
    }

    .bg-white {
        background-color: var(--white) !important;
        color: black !important;
    }

    .bg-gray {
        background-color: var(--gray);
    }

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


    /* Square Switch */
    .e-switch-wrapper.square .e-switch-inner,
    .e-switch-wrapper.square .e-switch-handle {
        border-radius: 0;
    }

    /* Customize Handle and Bar Switch */
    .e-switch-wrapper.custom-switch {
        width: 50px;
        height: 24px;
    }

        .e-switch-wrapper.custom-switch .e-switch-handle {
            width: 20px;
            height: 16px;
        }

        .e-switch-wrapper.custom-switch .e-switch-inner,
        .e-switch-wrapper.custom-switch .e-switch-handle {
            border-radius: 0;
        }

            .e-switch-wrapper.custom-switch .e-switch-handle.e-switch-active {
                left: 42px;
            }

    /* Customize Handle and Bar Switch */
    .e-switch-wrapper.handle-text {
        width: 118px;
        height: 24px;
    }

        .e-switch-wrapper.handle-text .e-switch-handle {
            width: 57px;
            height: 20px;
            left: 2px;
            background-color: var(--primaryColor);
        }

        .e-switch-wrapper.handle-text .e-switch-inner,
        .e-switch-wrapper.handle-text .e-switch-handle {
            border-radius: 0;
        }

            .e-switch-wrapper.handle-text .e-switch-handle.e-switch-active {
                left: 75px;
                background-color: var(--primaryColor);
            }

            .e-switch-wrapper.handle-text .e-switch-inner.e-switch-active,
            .e-switch-wrapper.handle-text:hover .e-switch-inner.e-switch-active .e-switch-on {
                background-color: #fff;
                border-color: #fff;
            }

        .e-switch-wrapper.handle-text .e-switch-inner,
        .e-switch-wrapper.handle-text .e-switch-off {
            background-color: #fff;
            border-color: #fff;
        }

            .e-switch-wrapper.handle-text .e-switch-inner:after,
            .e-switch-wrapper.handle-text .e-switch-inner:before {
                font-size: 14px;
                position: absolute;
                line-height: 21px;
                font-family: "Helvetica", sans-serif;
                z-index: 1;
                height: 100%;
                transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
            }

            .e-switch-wrapper.handle-text .e-switch-inner:before {
                font-variant: all-small-caps;
                color: #fff;
                left: 3px;
            }

            .e-switch-wrapper.handle-text .e-switch-inner:after {
                font-variant: all-small-caps;
                right: 5px;
                color: #6c757d;
            }

            .e-switch-wrapper.handle-text .e-switch-inner.e-switch-active:before {
                color: #6c757d;
            }

            .e-switch-wrapper.handle-text .e-switch-inner.e-switch-active:after {
                color: #fff;
            }

        .e-switch-wrapper.handle-text:not(.e-switch-disabled):hover .e-switch-handle:not(.e-switch-active) {
            background-color: var(--primaryColor);
        }

    .e-edit-dialog * label {
        font-variant: small-caps;
        font-size: 1.1em;
        font-weight: bolder;
    }

    .e-edit-dialog * .alert {
        font-variant: all-petite-caps;
        font-size: 1em !important;
        font-weight: bolder;
    }

    .e-dlg-header {
        font-variant: small-caps;
        font-weight: bolder !important;
    }

    .e-headertext {
        font-variant: small-caps;
    }

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

    label.e-error:before {
        content: '*';
        color: #a80000;
    }

    .e-icons.e-delete:before {
        content: '\e965';
    }

    .e-edit:before {
        content: '\e97c';
    }

    .e-toast .e-toast-close-icon::before, .e-toast .e-blazor-toast-close-icon::before {
        font-family: "e-icons";
    }

    .e-grid .e-icon-rowdragicon::before,
    .e-grid-menu .e-icon-rowdragicon::before {
        content: '\f0dc';
        font-family: 'Font Awesome 5 Pro';
    }

    .e-toolbar-item.e-overlay.pseudo-title, .e-toolbar-item.e-overlay.pseudo-title > button > span {
        background: transparent;
        opacity: 1;
        color: #666 !important;
    }

    @media screen and (min-width: 992px) {
        .display-lg {
            display: inherit;
        }
    }

@media screen and (max-width: 991px) {
    .hide-lg {
        display: none;
    }
}

.row {
    margin: 0;
}
.e-add:before {
    content: '\e7d5';
}