html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    padding-top: 1px;
    padding-bottom: 1px;
    font-weight: 700;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

/*.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .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;
            }*/

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    /*app {
        flex-direction: row;
    }*/

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/*ej dialog css*/
/*! dialog layout */
.e-dialog {
    border: none;
    border-radius: 2px;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
}

    .e-dialog.e-popup {
        width: 100%;
    }

    .e-dialog.e-dlg-resizable {
        -ms-touch-action: none;
        touch-action: none;
    }

    .e-dialog .e-dlg-header-content {
        border-radius: 1px 1px 0 0;
        line-height: 30px;
    }

        .e-dialog .e-dlg-header-content + .e-dlg-content {
            padding-top: 0;
        }

    .e-dialog .e-dlg-header {
        display: block;
        font-size: 18px;
        font-weight: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
        vertical-align: top;
        white-space: nowrap;
        width: 80%;
    }

    .e-dialog .e-dlg-modal {
        position: fixed;
    }

    .e-dialog .e-scroll-disabled {
        overflow: hidden !important;
    }

    .e-dialog .e-dlg-content {
        display: block;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        font-size: 13px;
        font-weight: normal;
        line-height: normal;
        overflow: auto;
        overflow-x: hidden;
    }

    .e-dialog .e-footer-content {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top: none;
        bottom: 0;
        display: block;
        right: 0;
        width: 100%;
    }

    .e-dialog .e-footer-content {
        text-align: right;
    }

    .e-dialog .e-resize-handle {
        height: 15px;
        position: absolute;
        width: 15px;
    }

        .e-dialog .e-resize-handle.e-south-east {
            bottom: 0;
            cursor: nwse-resize;
            right: 0;
        }

.e-bigger.e-dialog .e-dlg-header-content,
.e-bigger .e-dialog .e-dlg-header-content {
    padding: 24px 24px 20px;
}

.e-bigger.e-dialog .e-dlg-header,
.e-bigger .e-dialog .e-dlg-header {
    font-size: 18px;
}

.e-bigger.e-dialog .e-dlg-content,
.e-bigger .e-dialog .e-dlg-content {
    font-size: 13px;
    padding: 24px;
}

.e-bigger.e-dialog .e-footer-content,
.e-bigger .e-dialog .e-footer-content {
    padding: 8px;
}

.e-bigger .e-dlg-header-content + .e-dlg-content {
    padding-top: 0;
}

.e-dialog .e-dlg-header-content {
    border-bottom: none;
    padding: 18px;
}

.e-dialog .e-dlg-content {
    padding: 18px;
}

.e-dialog .e-footer-content {
    padding: 8px;
}

    .e-dialog .e-footer-content .e-btn {
        margin-left: 6px;
    }

.e-rtl .e-footer-content .e-btn {
    margin-right: 6px;
}

.e-dialog.e-draggable .e-dlg-header-content {
    cursor: move;
}

.e-dialog {
    max-height: 98%;
    max-width: 100%;
    min-width: 240px;
}

.e-rtl .e-footer-content .e-btn {
    margin-left: 0;
}

.e-rtl .e-footer-content {
    text-align: left;
}

.e-rtl .e-footer-content {
    text-align: left;
}

.e-dialog.e-rtl .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
    float: left;
}

.e-dlg-content {
    background-color: #fff8dc;
}

.e-dialog .e-dlg-header {
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
    vertical-align: central;
    white-space: nowrap;
    width: 100%;
}

.e-dialog .e-dlg-header-content {
    background: linear-gradient(to bottom,#fac67d 0%,#8b4513 100%);
}

    .e-dialog .e-dlg-header-content .e-dlg-closeicon-btn {
        border-radius: 50%;
        bottom: 0;
        float: right;
        height: 30px;
        text-align: center;
        color: white;
        left: 6px;
        position: relative;
        width: 30px;
    }

.e-rtl.e-dialog .e-resize-handle.e-south-west {
    bottom: 2px;
    cursor: sw-resize;
    left: 2px;
    transform: rotate(90deg);
}

.e-input-group.e-success, .e-input-group.e-control-wrapper.e-success, .e-input-group.e-success:not(.e-float-icon-left), .e-input-group.e-control-wrapper.e-success:not(.e-float-icon-left) {
    border: none;
}

.e-dlg-target.e-scroll-disabled {
    overflow: hidden !important;
}

.e-dlg-overlay {
    height: 100%;
    left: 0;
    opacity: 0.5;
    position: fixed;
    top: 0;
    transition: opacity .15s linear;
    width: 100%;
}

    .e-dlg-overlay.e-fade {
        opacity: 0;
    }

.e-dlg-overflow-hidden {
    overflow: auto;
}

.e-dlg-fullscreen {
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
}

.e-popup.e-popup-open.e-dialog {
    display: -ms-inline-flexbox;
    display: inline-flex;
}

.e-dlg-container {
    -ms-flex-align: start;
    align-items: flex-start;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
}

.e-dlg-center-center {
    -webkit-align-items: center;
    -webkit-justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.e-dlg-left-center {
    -webkit-align-items: center;
    -webkit-justify-content: flex-start;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.e-dlg-right-center {
    -webkit-align-items: center;
    -webkit-justify-content: flex-end;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.e-dlg-left-top {
    -webkit-align-items: flex-start;
    -webkit-justify-content: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.e-dlg-right-top {
    -webkit-align-items: flex-start;
    -webkit-justify-content: flex-end;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.e-dlg-center-top {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-direction: column;
    flex-direction: column;
}

.e-dlg-left-bottom {
    -webkit-align-items: flex-end;
    -webkit-justify-content: flex-start;
    -ms-flex-align: end;
    align-items: flex-end;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.e-dlg-right-bottom {
    -webkit-align-items: flex-end;
    -webkit-justify-content: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.e-dlg-center-bottom {
    -webkit-align-items: center;
    -webkit-justify-content: flex-end;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.e-dialog .e-dlg-closeicon-btn:hover,
.e-dialog .e-dlg-closeicon-btn:focus,
.e-dialog .e-dlg-closeicon-btn:active {
    background-color: #e0e0e0;
    border-color: transparent;
    box-shadow: 0 0 0 transparent;
}

.e-content-placeholder.e-dialog.e-placeholder-dialog {
    background-size: 400px 210px;
    min-height: 210px;
}

.e-bigger .e-content-placeholder.e-dialog.e-placeholder-dialog,
.e-bigger.e-content-placeholder.e-dialog.e-placeholder-dialog {
    background-size: 400px 220px;
    min-height: 220px;
}

@media (min-width: 768px) {
    .e-alert-dialog.e-dialog.e-popup,
    .e-confirm-dialog.e-dialog.e-popup {
        margin: 30px auto;
        width: 600px;
    }
}

@media (max-width: 768px) {
    .e-alert-dialog.e-dialog.e-popup,
    .e-confirm-dialog.e-dialog.e-popup {
        margin: 30px auto;
        width: auto;
    }
}

.e-dlg-ref-element {
    display: none;
}

.e-dialog {
    background-color: #fff;
    box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);
}

.e-dlg-overlay {
    background-color: #383838;
}

.e-footer-content {
    background-color: #fff;
}

.e-dlg-header,
.e-dlg-header * {
    color: rgba(0, 0, 0, 0.87);
    font-size: 18px;
    font-weight: normal;
}

.e-dlg-content {
    color: rgba(0, 0, 0, 0.87);
}

.e-device .e-dlg-content,
.e-device .e-dlg-content * {
    font-size: 14px;
}

.e-dlg-header-content {
    background-color: #fff;
}

.e-icon-dlg-close {
    color: #000;
}

.e-dialog .e-dlg-closeicon-btn:hover span {
    color: #000;
}

.e-icon-dlg-close:active {
    border-radius: 50%;
    color: #000;
    opacity: 1;
}

.e-icon-dlg-close:hover {
    color: #000;
}

.e-dlg-header-content .e-dlg-closeicon-btn:hover {
    background-color: transparent;
}

.e-dlg-header-content .e-dlg-closeicon-btn:active {
    background-color: transparent;
}

.e-south-east,
.e-south-west {
    color: #000;
}

.e-dlg-modal {
    background-color: cornsilk;
}

.e-dialog .e-footer-content {
    width: auto;
}

.e-btn {
    border: 1px solid #8b4513;
    height: 35px;
    padding-left: 20px;
    padding-right: 20px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAIAAABrHEPqAAAAdElEQVQYlV3JQQ6CMBQAUb7QCBRiRO/j6TyeN0GNsRVIaeu282f3MvK436qixoxXelAeL+or2wlu7JnuT3RH1+1AHy1tOvhgWlhqU1pySviVCJ0znFOkY4BTWOEYFnrz9OrgffnQP2X/hoN/0e5Jf5XdXPoPefAuHw4H9GYAAAAASUVORK5CYII=) !important;
    font-family: Times New Roman !important;
    color: Maroon !important;
    text-align: center;
    font-size: large;
}

    .e-btn:hover {
        font-family: Times New Roman;
        color: #FFFFFF;
        background-color: #8B4513;
    }

.e-input-group:not(.e-float-input):not(.e-float-icon-left) .e-input:focus:not(.e-success):not(.e-warning):not(.e-error), .e-input-group.e-float-icon-left:not(.e-float-input) .e-input-in-wrap .e-input:focus:not(.e-success):not(.e-warning):not(.e-error), .e-input-group.e-control-wrapper:not(.e-float-input):not(.e-float-icon-left) .e-input:focus:not(.e-success):not(.e-warning):not(.e-error), .e-input-group.e-control-wrapper.e-float-icon-left:not(.e-float-input) .e-input-in-wrap .e-input:focus:not(.e-success):not(.e-warning):not(.e-error), .e-input-group:not(.e-float-input):not(.e-float-icon-left).e-input-focus .e-input:not(.e-success):not(.e-warning):not(.e-error), .e-input-group.e-float-icon-left:not(.e-float-input).e-input-focus .e-input-in-wrap .e-input:not(.e-success):not(.e-warning):not(.e-error), .e-input-group.e-control-wrapper:not(.e-float-input):not(.e-float-icon-left).e-input-focus .e-input:not(.e-success):not(.e-warning):not(.e-error), .e-input-group.e-control-wrapper.e-float-icon-left:not(.e-float-input).e-input-focus .e-input-in-wrap .e-input:not(.e-success):not(.e-warning):not(.e-error) {
    box-shadow: none;
    border: none;
}

.e-input-group:not(.e-success):not(.e-warning):not(.e-error), .e-input-group.e-control-wrapper:not(.e-success):not(.e-warning):not(.e-error) {
    border: none;
}

.e-input.e-success, .e-input.e-success:focus, .e-input-group.e-success input.e-input, .e-input-group.e-control-wrapper.e-success input.e-input, .e-input-group.e-success .e-input-group-icon, .e-input-group.e-control-wrapper.e-success .e-input-group-icon, .e-input-group.e-success textarea.e-input, .e-input-group.e-control-wrapper.e-success textarea.e-input {
    border: none;
    border-color: transparent;
    transition: none;
}

.e-control-wrapper e-date-wrapper e-control-container e-date-container e-input-group e-control-wrapper
e-control-container e-valid-input e-input-focus {
    border: none !important;
    box-shadow: none !important;
    border-color: transparent;
    transition: none;
}

.e-date-wrapper.e-control-wrapper,
.e-date-wrapper .e-input-group-icon.e-date-icon {
    border: none !important;
    box-shadow: none !important;
}

.e-time-wrapper.e-control-wrapper,
.e-time-wrapper .e-input-group-icon.e-time-icon {
    border: none !important;
    box-shadow: none !important;
}

.e-input[disabled], .e-input-group .e-input[disabled], .e-input-group.e-control-wrapper .e-input[disabled], .e-input-group.e-disabled, .e-input-group.e-control-wrapper.e-disabled, .e-float-input input[disabled], .e-float-input.e-control-wrapper input[disabled], .e-float-input textarea[disabled], .e-float-input.e-control-wrapper textarea[disabled], .e-float-input.e-disabled, .e-float-input.e-control-wrapper.e-disabled {
    -webkit-text-fill-color: #6c757d;
    background: none;
    color: #6c757d;
    border-color: #ced4da;
}
