﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
}

html, body, app, .main {
    width: 100%;
    height: 100%;
    max-height: 100%;
}


/*body {*/
    /* Margin bottom by footer height */
    /*margin-bottom: 60px;
}*/

/*app {
    display: flex;
    flex-direction: column;
}*/

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

.drawer-container {
    margin: 30px auto;
    /* width: 70%;*/
    height: 100%;
}

.k-drawer {
    background-color: #525252;
    color: #fff;
}

.k-drawer-content {
    padding: 25px;
    font-size: 14px;
}

.k-drawer-container {
    position: relative;
    width: 100%;
    height: 95%;
}

.k-drawer .k-drawer-item {
    white-space: nowrap;
    overflow: hidden;
    font-size:inherit;
}

.k-icon {
    font-size: 20px;
}

.k-level-1 {
    padding-left: 20px;
}

.custom-toolbar {
    width: 100%;
    background-color: #525252;
    line-height: 10px;
    border-bottom: inset;
    border-bottom-width: 1px;
    padding: 3px 8px;
    color: #fff;
}

.s4ifa-notification {
    position: absolute;
}

    .s4ifa-notification .k-notification {
        width: 530px;
    }

.notification-parent {
    position: relative;
    height: 250px;
}

.k-notification-container {
    margin: 6px 0;
}

.top-row {
    height: 3rem;
    /*display: flex;
    align-items: center;*/
    left:0;
}

/* vertical scroll should happen in the main portion of the content - where the Body is
        This keeps the header sticky at the top
        */
.main {
    /*flex: 1;*/
    overflow-y: auto;
}

    .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;
        }


.card .card-header {
    background-color: lightgray;
    border-color: transparent;
}

.card {
    border-color: lightgray;
}

/* expand-collapse button for the drawer - position above the header */
.drawer-hamburger {
    position: absolute;
    z-index: 2;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.content {
    padding-top: 1.1rem;
}

#blazor-error-ui {
    display: none;
    padding: .75rem 1.25rem;
    position: fixed;
    width: 30vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    color: #856404;
    background-color: #fff3cd;
}

    #blazor-error-ui > div {
        padding: 1rem 0 .3rem 0;
    }

    #blazor-error-ui .reload {
        padding: .5rem;
        color: #212529;
        background-color: #ffc107;
        text-decoration: none;
    }

/*loading style for index.html*/
.loading-section {
    text-align: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .loading-section h2 {
        color: #ff0000;
    }

.loader-dot {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #ff0000;
    display: inline-block;
    -webkit-animation: grow 2.1s infinite ease-in-out both;
    animation: grow 2.1s infinite ease-in-out both;
}

    .loader-dot.dot1 {
        -webkit-animation-delay: -0.96s;
        animation-delay: -0.96s;
    }

    .loader-dot.dot2 {
        -webkit-animation-delay: -0.48s;
        animation-delay: -0.48s;
    }

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* Sticky footer styles
-------------------------------------------------- */

.footer {
  position: absolute;
  bottom: 0;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

@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;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    /* .navbar-toggler {
        display: none;
    }*/

    /*.sidebar .collapse {*/
    /* Never collapse the sidebar for wide screens */
    /*display: block;
    }*/

}

@-webkit-keyframes grow {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1.0)
    }
}