/* Custom Styles - overriding settings from bootstrap.min.css */
/* Icon reference:  https://icon-sets.iconify.design/wpf/	*/

.img-fluid {
    /* top: calc(var(--navbar-height)* 2 + 10px); */
    /*position: absolute;*/
    max-height: 235px !important;
    /*left: 10px;
    top: 10px;*/
}

.ms-1 {
    margin-left: 0px !important;*/
}

.app-profile {
    margin-left: -10px;
}

.app-login {
    margin-left: -6px;
}

.custom-icons {
    color: #fff;
    margin-top: 6px;
}

.sidebar-controls {
    /*margin-top: 210px;*/
    margin-left: 33px;
    margin-right: 5px;
    margin-top: -5px;
}

.sidebar-controlpanel {
    /* below for bottom positioning inline w/ username/logout */
    margin-left: 160px;
    margin-top: -75px;

    /* below for bottom positioning under username/logout*/
    /*margin-top: 5px;
    margin-left: 20px;*/

    /* below for top positioning */
    /*position: absolute;
    top: 5px;
    left: 175px;*/
}

.navbar {
    /* min-height: 42px; */
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 5px;
    padding-right: 0px;
    justify-content: unset;
    /* margin-left: 0px; */
    margin-right: 0px;
    /* height: var(--navbar-height); */
    /* max-width: 900px; */
    color: #fff;
    z-index: 9999;
}


.table > :not(caption) > * > * {
    box-shadow: none;
}

.table .form-control {
    background-color: #ffffff !important;
    border-width: 0.5px !important;
    border-bottom-color: #ccc !important;
    color: #000 !important;
}

.table .form-select {
    background-color: #ffffff !important;
    border-width: 0.5px !important;
    border-bottom-color: #ccc !important;
    color: #000 !important;
}

.table .btn-primary {
    background-color: var(--bs-primary);
}

.table .btn-secondary {
    background-color: var(--bs-secondary);
}

.alert-dismissible .btn-close {
    z-index: 1;
}

.breadcrumbs {
    background-color: #e6e6e6;
    border-bottom: 1px solid #d6d5d5;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
    margin-top: 10px;
}

    .main .top-row {
        /*background-color: #e6e6e6;*/
        /*background-color: #071A3A !important;*/
        /*border-bottom: 1px solid #d6d5d5;*/
    }

.sidebar {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background-color: #071A3A !important;
}

.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
}

.sidebar .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.sidebar .oi {
    /*
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
    */
}

.breadcrumb {
    margin-bottom: 0;
}

.app-menu .nav-item a.active {
    /* background-color: rgba(255, 255, 255, 0.25); */
    color: white;
    height: 40px;
    /*margin-top: 4px;*/
}

.app-menu .nav-item {

    /*font-size: 0.9rem;*/
    /*padding-bottom: 0.5rem;*/
}

.app-menu .nav-item:first-of-type {
    padding-top: 1rem;
}

.app-menu .nav-item:last-of-type {
    padding-bottom: 1rem;
}

.app-menu .nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    /*height: 3rem;*/
    height: 40px;
    display: flex;
    align-items: center;
    line-height: 3rem;
    padding-left: 1rem;
    width: 220px;
}

    .app-menu .nav-item a.active {
        /*background-color: rgba(255,255,255,0.25);*/
        /*background-color: #F40009;*/
        background-color: #C00000 !important;
        color: white;
    }

.app-menu .nav-item a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: #071A3A !important;
    margin: 0px;
}

.container-fluid {
    margin-top: 10px;
}




@media (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }

    .app-search {
        border-radius: 6px;
    }

        .app-search input {
            display: none !important;
        }

            .app-search input + button {
                position: initial;
                padding-top: 7px;
                padding-bottom: 7px;
            }

        .app-search:active, .app-search:hover {
            display: block;
            position: fixed;
            color: #fff;
            top: 0;
            min-height: 60px;
            width: 100%;
            left: 0;
            z-index: 999;
            border-radius: 0;
        }

            .app-search:active .app-form-inline, .app-search:hover .app-form-inline {
                margin: 10px auto;
                position: relative;
                display: block;
                max-width: 80%;
            }

                .app-search:active .app-form-inline input, .app-search:hover .app-form-inline input {
                    width: 100%;
                    display: block !important;
                }

                    .app-search:active .app-form-inline input + button, .app-search:hover .app-form-inline input + button {
                        position: absolute;
                        color: rgb(42, 159, 214);
                        padding-top: 6px;
                        padding-bottom: 6px;
                    }
}

/*@media (min-width: 768px) {*/
@media (min-width: 1080px) {
    app {
        flex-direction: row;
        display: block;
    }

    .app-logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .breadcrumbs {
        position: fixed;
        left: 275px;
        top: 15px;
        z-index: 6
    }

    .sidebar {
        width: 250px;
        min-height: 100vh;
        height: 100%;
        position: sticky;
        top: 0;
        z-index: 10;
        border-radius: 10px;
    }
        
    .main .top-row {
        position: sticky;
        top: 0;
        z-index: 5
    }

    .main > div {
        padding-left: 1.0rem !important;
        padding-right: 1.0rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .main > .container {
        margin-top: 0px;
    }

}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

@media (max-width: 767.98px) {
    .app-menu {
        width: 100%;
        min-width: 230px;
        margin-top: 0px;
        background-color: #071A3A !important;
    }

    .app-logo {
        height: 80px;
        display: flex;
        align-items: center;
    }

    .breadcrumbs {
        position: fixed;
        top: 150px;
        width: 100%;
        left: 0;
        z-index: 4;
    }

    .sidebar {
        /*margin-top: 3.5rem;*/
        position: fixed;
        width: 100%;
        z-index: 10;
    }

    .main .top-row {
        z-index: 4;
    }

    .main > .top-row.px-4 {
        display: flex;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
    }

    .ml-md-auto {
        margin-left: auto;
    }

    .main > .container {
        margin-top: 20px;
    }
}

@media (max-width: 440px) {
    .row {
        /* --bs-gutter-x: 2.5rem; */
    }
}

@media (max-width: 1080px) {
    .app-menu-toggler {
        position: absolute;
        top: -40px;
        /* left: 170px; */
        /* left: 0px; */
        /* display: unset !important; */
    }

    .app-menu {
        width: 100%;
        min-width: 230px;
        margin-top: 0px;
        background-color: #071A3A !important;
    }

    .sidebar-controls {
        margin-top: 10px;
        /*margin-left: 10px;
        margin-right: 10px;*/
        display: inline-flex;
        float: right;
    }

    .sidebar-controlpanel {
        /* this is relative to the base setting */
        position: absolute;
        left: -40px;
        top: 80px;
    }

    /*  For compact display, this is the top bar.   */
    .sidebar {
        height: 48px;
    }

    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        padding-right: 16px;
        padding-left: 16px;
        /* width: 100% !important; */
        /* max-width: 1600px; */
        /* max-width: 1600px; */
        /*font-size: 0.9em;*/
        margin-top: 5px;
    }
}


@media (min-width: 1080px) {

        .app-menu {
            width: 100%;
            margin-top: 235px;
        }
}

