﻿/* --- Basics (side navigation, body, ... ) --- */

.vertical-nav {
    min-width: 17rem;
    width: 17rem;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
}

.page-content {
    width: calc(100% - 17rem);
    margin-left: 17rem;
    transition: all 0.4s;
}

/* for toggle behavior */

#sidebar.active {
    margin-left: -17rem;
}

#content.active {
    width: 100%;
    margin: 0;
}

@media (max-width: 768px) {

    #sidebar {
        margin-left: -17rem;
    }

        #sidebar.active {
            margin-left: 0;
        }

    #content {
        width: 100%;
        margin: 0;
    }

        #content.active {
            margin-left: 17rem;
            width: calc(100% - 17rem);
        }
}

body {
    background: var(--bs-primary);
    /*background: -webkit-linear-gradient(to right, #336cc8, #0047BB);
    background: linear-gradient(to right, #336cc8, #0047BB);*/
    min-height: 100vh;
    overflow-x: hidden;
}

    body.light {
        background: #ecf4fc;
        /*background: -webkit-linear-gradient(to right, #336cc8, #0047BB);
    background: linear-gradient(to right, #336cc8, #0047BB);*/
        min-height: 100vh;
        overflow-x: hidden;
    }

.wrapper-login {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.cursor-pointer {
    cursor: pointer;
}


.input-group-with-icon > .icon {
    background-color: white;
    border-right: 0;
}

.input-group-with-icon > .form-control {
    border-left: 0;
}

.table thead th {
    font-weight: normal;
    color: #6c757d;
    font-size: .875em;
}

table tbody tr.selected {
    background-color: var(--bs-gray-100) !important;
    font-weight: 500;
}

.table tbody tr:last-child td {
    border-bottom: 0;
}


.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button, .jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button {
    text-transform: none;
    font-weight: normal;
}

.border-xl {
    border-width: 20px !important;
}

.mheight-20 {
    min-height: 20em;
}

.list-group-item.active i {
    color: white;
}

.list-group-item i {
    color: var(--bs-primary);
}

.list-group-item:not(.active):hover {
    background-color: var(--bs-secondary);
}

.pageheader {
    background-size: cover;
    background-position-y: center;
}

    .pageheader h1 {
        padding-top: 3em;
        padding-left: 0.5em;
        padding-bottom: 0.5em;
        color: white;
        font-weight: 600;
    }
