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

html,
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #414042
}

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: 5.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 0px 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, #22292C 0%, #282018 70%);
}

    .sidebar .top-row {
    }

    .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;
            }

.content {
    padding-top: 4.1rem;
}

.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: 1200;
}

    #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;
        min-width: 250px;
        height: auto;
        min-height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 20rem !important;
        padding-right: 1.5rem !important;
        padding-top: 1.1rem;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    fieldset.scheduler-border {
        border: 1px groove #ddd !important;
        padding: 0 1.4em 1.4em 1.4em !important;
        margin: 0 0 1.5em 0 !important;
        -webkit-box-shadow: 0px 0px 0px 0px #000;
        box-shadow: 0px 0px 0px 0px #000;
        margin-top: 30px !important;
    }

    legend.scheduler-border {
        font-size: 1.2em !important;
        font-weight: bold !important;
        text-align: left !important;
        width: auto;
        padding: 0 10px;
        border-bottom: none;
        margin-top: -15px;
        background-color: white;
        color: black;
    }

    bg-color-yellow {
        background-color: #f8ff00 !important;
    }

    bg-color-green {
        background-color: #74ae19 !important;
    }

    bg-color-red {
        background-color: #ebac57 !important;
    }
}

input.bg-color-yellow {
    background: #ffff00 !important;
    width: 120px !important;
}

input.bg-color-blue-light {
    background: inherit;
    width: 120px !important;
}

input.bg-color-purple-light {
    background: #da8fff !important;
    width: 120px !important;
}

input.bg-color-pink-light {
    background: #fce4d6 !important;
    width: 120px !important;
}

input.bg-color-white {
    background: inherit;
    width: 120px !important;
}

input.bg-color-green-light {
    background: #c6e0b4 !important;
    width: 120px !important;
}

td.bg-color-blue-ultra-light {
    background: #e2efda !important;
}

input.bg-color-blue-ultra-light {
    background: inherit;
    width: 120px !important;
}

td.bg-color-yellow-ultra-light {
    background: #fff2cc !important;
}

input.bg-color-yellow-ultra-light {
    background: inherit;
    width: 120px !important;
}

th.bg-color-pink-light {
    background: #fce4d6 !important;
}

td.bg-color-gray-ultra-light {
    background: #d9e1f2 !important;
}

td.bg-color-green-light {
    background: #c6e0b4 !important;
}

td.bg-color-pink-light {
    background: #fce4d6 !important;
}

td.bg-color-blue-light {
    background: #bdd7ee !important;
}

td.bg-color-pink-ultra-light {
    background: #fce4d6 !important;
}

.bg-color-pink-ultra-light {
    background: #fce4d6 !important;
}

input.bg-color-big-yellow {
    background: #ffff00 !important;
    width: 220px !important;
}

.cozy-table > tbody > tr > td,
.cozy-table > tbody > tr > th,
.cozy-table > tfoot > tr > td,
.cozy-table > tfoot > tr > th,
.cozy-table > thead > tr > td,
.cozy-table > thead > tr > th {
    padding: 0px;
}

.input-group-text-color-yellow {
    background-color: yellow !important;
    border-color: yellow !important;
}

.input-currency {
    position: absolute;
    margin-left: 1px;
    margin-top: 7px;
}

.top-buffer {
    margin-top: 20px;
}

/*Dialog*/
#dialog.e-dialog .e-dlg-header-content .e-dlg-header {
    text-align: center;
    width: 100%;
    color: #333;
    font-weight: bold;
    font-size: 20px;
}

#input-container .e-float-input {
    /* csslint allow: adjoining-classes */
    margin: 17px 0;
}

.e-footer-content {
    padding: 20px 0 0;
    width: 100%;
}

.e-dialog .e-footer-content .e-btn {
    height: 36px;
}

#heading {
    color: #333;
    font-weight: bold;
    margin: 0 0 15px;
    text-align: center;
    font-size: 20px;
}

#dialog.e-dialog .e-footer-content {
    padding: 0 18px 18px;
}

    #dialog.e-dialog .e-footer-content .e-btn {
        margin-left: 0;
    }

.error-container {
    color: red;
}

.success-container {
    color: forestgreen;
}

.e-custom {
    border-radius: 0;
    height: 30px;
    width: 80px;
}

    .e-custom,
    .e-custom:hover,
    .e-custom:focus,
    .e-custom:active {
        background-color: #ff6e40;
        color: #fff;
    }

tr.height50 {
    line-height: 25px;
    min-height: 25px;
    height: 50px;
}

td.topboardert1px {
    border-top: 1px solid #000 !important;
}

td.topboardert2px {
    border-top: 2px solid #000 !important;
}

td.leftboardert1px {
    border-left: 1px solid #000 !important;
}

td.bottomboardert1px {
    border-bottom: 1px solid #000 !important;
}

td.rightboardert1px {
    border-right: 1px solid #000 !important;
}

table.outerboarder {
    outline-style: solid;
    outline-width: 1px;
}

.default-tab .e-content .e-item {
    padding: 10px !important;
    text-align: justify;
}


.template .e-dropdownbase.e-content {
    max-height: 200px !important;
    width: 500px !important;
}

/*.e-grid th.e-headercell {
    height: 35px !important;
    word-break: break-word !important;
}*/

/*.e-grid .e-headercelldiv {
    height: 35px !important;
    font-size: 11px !important;
    line-height: 11px !important;
}*/

.e-grid .e-rowcell {
    font-size: 12px !important;
}

.sf-input-right .e-numerictextbox {
    text-align: right !important;
}

.sf-input-center .e-numerictextbox {
    text-align: center !important;
}

.sf-input-bg-color-yellow .e-numerictextbox {
    background-color: #ffff00 !important;
}

.e-grid .e-rowcell.e-selectionbackground {
    background-color: aqua !important;
}

.header-bg {
    background-image: url("/images/header-bg.png");
    background-size: contain;
    background-position: inherit;
    background-repeat: repeat-x;
}

.vastue-logo {
    background-image: url("/images/vasture-logo.png");
    background-repeat: repeat-x;
    background-size: cover;
    background-position: inherit;
    bottom: 0;
}

.splitter {
    position: relative;
    margin-right: -20px;
    height: 100%;
    width: 20px;
    background-image: linear-gradient(180deg, #5A4222 0%, #49636A 70%);
}

.invert-icon {
    background: black;
    color: white;
    border-radius: 4px;
    padding-left: 3px;
    padding-bottom: 3px;
}

.invert-icon-plus {
    background: black;
    color: white;
    border-radius: 50%;
    height: 20px;
    padding-left: 5px;
    padding-top: 5px;
    width: 20px;
    font-size: x-small;
}

.page-background-class {
    background-image: url(../images/VastureHome.jpg)
}