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

/*/// General ///*/
html, body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}

a, .btn-link {
    color: #0366d6;
}

h1, h2, h3 {
    color: #0366d6 !important;
    padding-bottom: 1.1rem;
}

.btn-primary, .e-btn {
    color: #fff;
    background-color: #0366d6;
    border-color: #1861ac;
}

    a.button:hover, .e-btn:hover {
        cursor: pointer;
        background-color: darkred;
    }


.content {
    padding-top: 1.1rem;
}

.subtitle {
    color: darkblue;
    background-color: lightgray !important;
    border-bottom: solid;
    border-bottom-color: darkred;
    border-bottom-width: 3px;
    padding: 10px;
    font-size: large;
}

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

.invalid {
    outline: 1px solid --bs-red;
}

.validation-message {
    color: --bs-red;
}

.outer {
    display: grid;
    grid-template: 1fr / 1fr;
}

    .outer > * {
        grid-column: 1 / 1;
        grid-row: 1 / 1;
    }

    .outer .stack-bottom {
        top: 0px;
        left: 0px;
        z-index: 8;
    }

    .outer .stack-top {
        margin-top: 20px;
        margin-left: 10px;
        width: 50px;
        height: 50px;
        z-index: 9;
    }


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

/*/// SF Datagrid ///*/
.e-headercell {
    color: white;
    background-color: darkred !important;
    border-left: 1px solid !important;
    border-left-color: white !important;
}

.e-headercelldiv {
    vertical-align: middle !important;
    display: table-cell !important;
    line-height: 100% !important;
    white-space: normal !important;
}

.e-grid .e-altrow {
    background-color: #fafafa !important;
}

.e-grid .e-selectionbackground {
    background-color: #E3E3C1 !important;
}

.e-grid .e-gridcontent .e-groupcaption {
    background-color: #CBE1E3 !important;
}

.e-grid th.e-headercell[aria-sort="ascending"] .e-headertext, .e-grid th.e-headercell[aria-sort="descending"] .e-headertext, .e-grid th.e-headercell[aria-sort="ascending"] .e-sortfilterdiv, .e-grid th.e-headercell[aria-sort="descending"] .e-sortfilterdiv {
    color: white !important;
    opacity: 1;
}



/*/// SF Tabs ///*/
.e-tab .e-tab-header .e-tab-text {
    color: #5D5D5D !important;
}

.e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text,
.e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-icon {
    color: darkred !important;
    font-size: 1.3em;
}

.e-tab .e-tab-header .e-toolbar-item .e-tab-wrap:hover {
    background: #E3AEAC !important;
}

/*/// SF Toast Message ///*/
.e-toast-container .e-toast .e-toast-message .e-toast-title {
    color: darkblue;
    font-size: 18px;
    font-weight: bold;
}

.e-toast-container .e-toast .e-toast-message .e-toast-content {
    color: black;
    font-size: 13px;
    font-weight: normal;
}

.e-toast-container .e-toast .e-toast-icon {
    color: darkred;
    font-size: 2em;
}

.e-toast-container .e-toast {
    background-color: lightgrey;
}


/*/// Index table format ///*/
.tg {
    border-collapse: collapse;
    border-color: #9ABAD9;
    border-spacing: 0;
}

    .tg td {
        background-color: #EBF5FF;
        border-color: #9ABAD9;
        border-style: solid;
        border-width: 1px;
        color: #444;
        /*font-family: Arial, sans-serif;*/
        overflow: hidden;
        padding: 10px 5px;
        word-break: normal;
    }

    .tg th {
        background-color: #0366d6;
        border-color: #9ABAD9;
        border-style: solid;
        border-width: 1px;
        font-size: 14px;
        color: #fff;
        overflow: hidden;
        padding: 10px 5px;
        word-break: normal;
        width: 30%;
    }

    .tg .tg-0lax {
        text-align: left;
        vertical-align: top
    }
