@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: 'BebasNeue';
    src: url('/fonts/BebasNeueBold.eot');
    src: url('/fonts/BebasNeueBold.eot?#iefix') format('embedded-opentype'),url('/fonts/BebasNeueBold.woff') format('woff'),url('/fonts/BebasNeueBold.ttf') format('truetype'),url('/fonts/BebasNeueBold.svg#Bebas') format('svg');
    font-weight: normal;
    font-style: normal
}

.sidebar .fa {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}


.subList {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -4px;
}


.white {
    color: white !important;
}

html {
    font-size: 14px !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-primary:disabled {
    color: #4f4f4f;
    background-color: #9e9e9e;
    border-color: #9e9e9e;
}

.button-link {
    background: none !important;
    border: none;
    padding: 0 !important;
    /*optional*/
    font-family: arial, sans-serif;
    /*input has OS specific font-family*/
    color: #069;
    text-decoration: underline;
    cursor: pointer;
}

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: #aaa !important;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-start;
        color: black !important;
        align-items:center;
        height:60px;
    }

        .main .top-row .navbar-brand {
            margin-left: -25px !important;
            padding-left: 60px;
            background-repeat: no-repeat;
            background-image: url(/images/logo_s.png);
            background-position: 0 3px;
            font-size: 32px;
            font-family: BebasNeue;
            letter-spacing: 1px;
            text-shadow: -2px -2px 0 #e26210, 2px 2px 0 #faa633;
            color: white !important;
        }

        .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(#f90,#FF770F);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
        height:60px;
    }

    .sidebar .navbar-brand {
        margin-left: 5px !important;
        padding-left: 60px;
        background-repeat: no-repeat;
        background-image: url(/images/logo_s.png);
        background-position: 0 3px;
        font-size: 32px;
        font-family: BebasNeue;
        letter-spacing: 1px;
        text-shadow: -2px -2px 0 #e26210, 2px 2px 0 #faa633;
        color: white !important;
    }

    .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: 1.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;
}
.Complete {
    color: green;
}

.dataTables_wrapper {
    margin-top: 15px;
}

.Error {
    color: red;
}

.card-body {
    height: 100px;
   
}

.card {
    width: 50%;
}

div.card-body:nth-of-type(3) p {
    border-bottom: 1px dashed #DADADA;
}

div.card-body:nth-last-of-type(2) {
    padding-bottom: 0px;
}

div.card-body:last-of-type {
    padding-top: 0px;
}

.centered {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(192,192,192,0.9);
    opacity: 0.8;
    z-index: 1001;
}


.overlay p {
    color: white;
    margin: auto;
    width: 50%;
    padding: 10px;
    font-size: xx-large;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(48,48,48);
    opacity: 0.8;
    z-index: 1001;
}

.load {
    opacity: .50;
    filter: Alpha(Opacity=50) !important;
    background-color: rgb(50, 50, 50) !important;
    background: rgba(192,192,192,0.9) !important;
}

.centered {
    position: fixed; /* or absolute */
}

#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;
    }

    /*These selectors were under the +768 media call*/
    .wb-header {
        background-image: linear-gradient(#f90,#f96302);
        border-bottom-color: #f96302 !important;
        min-height: 50px !important;
    }

    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
        font-family: 'BebasNeue';
        font-weight: 500;
        line-height: 1.1;
        color: inherit;
    }

p,div.container > div.row > div {
    line-height: 1em;
}

    /* - Grid Selector overides - */

div.card-header > div.container {
    margin: 0 !important;
    padding: 0 !important;
}

div.container > div.row {
    display: grid;
    grid-template-columns: 30% 45% 15%;
    grid-template-rows: 50% auto;
    grid-row-gap: 15px;
    grid-template-areas: "grid-case grid-info grid-data" "grid-status grid-status grid-status" ;
    margin: 0px !important;
}

.grid-case {
    grid-area: grid-case;
}
.grid-info {
    grid-area: grid-info;
}
.grid-data {
    grid-area: grid-data;
}
.grid-status {
    grid-area: grid-status;
}

@media (max-width: 767.98px) {

    div.container > div.row {
        margin: 0px;
        padding: 0px;
        grid-template-columns: 50% auto;
        grid-template-rows: 33% 33% 33%;
        grid-template-areas: "grid-case grid-case" "grid-info grid-info" "grid-status grid-data";
    }
    div.card-header {
        height: 205px;
    }
}




    @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;
        }

        .main div.top-row.px-3.wb-header {
        }

        .main div.top-row.px-3.titlebar {
            display: none;
        }

        div.main div.top-row .navbar-brand {
            margin-left: -10px !important;
        }
    }

    @media (min-width: 768px) {
        app {
            flex-direction: row;
        }

        .sidebar {
            width: 250px;
            position: sticky;
            top: 0;
        }

        .main .top-row {
            position: sticky;
            top: 0;
        }

        .main > div {
            padding-left: 2rem !important;
            padding-right: 1.5rem !important;
        }

        .navbar-toggler {
            display: none;
        }

        .navbar {
            background-color: #3498DB !important
        }

        .sidebar .collapse {
            /* Never collapse the sidebar for wide screens */
            display: block;
        }

        .navbar-wb {
            background-color: #ff4e00;
            background-image: linear-gradient(315deg, #ff4e00 0%, #ec9f05 74%);
        }

        /*.wb-header {
        font-size: .9em;
        padding: 2px 0;
        background-image: linear-gradient(#f90,#f96302);
        box-shadow: 0 1px 0 #888;
        border-color: #d85602 !important;
        min-height: 50px !important;
        
        margin-bottom: 25px;
    }*/



        .titlebar {
            background-color: #f7f7f7;
            margin-top: -.5px;
            justify-content: flex-start !important;
            border-top-color: #f96302 !important;
        }

        .btn-primary {
            color: #ffffff;
            background-color: #ffb200;
            border-color: #e6a000;
        }



        .titlebar h2 {
            margin: 0;
            font-size: 24px;
            padding-top: 5px;
        }

        div.container {
            max-width: 99%;        
        }
    }
