﻿body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding: 15px;
    margin-top: 50px;
    max-width: 100% !important;
}

/* navbar */
.navbar {
    list-style: none;
    display: block;
}

    .navbar ul {
        padding: 0;
        list-style: none;
    }


    .navbar > nav {
        margin: 10px;
    }

.navbar-horizotal {
    position: fixed;
    left: 0;
    right: 0;
}

.navbar-vertical {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: 250px;
    color: #fff;
    background-color: #212b36;
    overflow-y: auto;
}

.navbar-brand {
    padding: 1rem 1.5rem 1.5rem;
    margin-right: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
}

.navbar-top {
    top: 0;
    background-color: var(--bs-body-bg);
    box-shadow: 0 2px 4px rgba(0,0,20,.08), 0 1px 2px rgba(0,0,20,.08);
    z-index: 99;
}

#wrapper-content .navbar-vertical {
    width: 250px;
    transition: width 0.25s;
}

#wrapper-content .navbar-horizotal {
    left: 251px;
    transition: all 0.25s;
}

#wrapper-content .body-content {
    margin-left: 251px;
    width: calc(100% - 251px);
    transition: margin 0.25s ease-out;
}

#wrapper-content.toggled .navbar-vertical {
    width: 0;
}

#wrapper-content.toggled .navbar-horizotal {
    left: 0;
}

#wrapper-content.toggled .body-content {
    margin-left: 0;
    width: 100%;
}

/* dropdown */
.show {
    display: block;
}

.hide {
    display: none;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    font-size: .875rem;
    line-height: 1.375rem;
    color: #454f5b;
    background-color: var(--bs-body-bg);
    border: none;
    box-shadow: 0 0 1px rgba(60,66,87,.05), 0 3px 6px rgba(60,66,87,.1), 0 9px 24px rgba(60,66,87,.2);
    border-radius: 0.5rem;
    z-index: 1040;
    min-width: 150px;
    list-style: none;
    display: none;
}

.dropdown.show .dropdown-menu {
    display: block;
}

.dropdown-menu-right {
    right: 0;
}

.dropdown-item {
    --bs-color-hover: #eee;
    display: block;
    font-size: .875rem;
    line-height: 28px;
    font-weight: 500;
    color: #161c24;
    padding: 0.125rem 1.2rem;
}

    .dropdown-item:hover {
        background-color: var(--bs-color-hover);
        color: #624bff !important;
    }


    .dropdown-item.menu-seperator {
        border-top: 1px solid var(--bs-color-hover);
    }


.nav-link {
    --bs-nav-link-font-size: 1rem;

    font-weight: 500;
    font-size: var(--bs-nav-link-font-size);
}

/* vertical-menu */
.navbar-vertical .navbar-brand {
    font-size: 1.3rem;
    color: #fff !important;
}

.navbar-vertical .nav-heading {
    padding: 0.5rem 1.2rem;
    color: #454f5b;
    text-transform: uppercase;
    letter-spacing: .08rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.navbar-vertical .navbar .nav-item {
}

.navbar-vertical .nav-item .nav-link {
    cursor: pointer;
    padding: 0.125rem 1.2rem;
    align-items: center;
    line-height: 1.8;
    text-wrap: nowrap;
    display: flex;
    justify-content: space-between;
    color: #919eab;
    transition: color 0.3s;
}

    .navbar-vertical .nav-item .nav-link:hover {
        color: white;
    }

.navbar-vertical .nav-item .fa {
    width: 24px;
}

.navbar-vertical .nav-item .nav-link > i {
    transform: scale(0.8);
}

.navbar-vertical li li.nav-item .nav-link {
    padding-left: calc(1.2rem + 24px);
}

.navbar-vertical li li li.nav-item .nav-link {
    padding-left: calc(2.4rem + 24px);
}

.navbar-vertical li li li li.nav-item .nav-link {
    padding-left: calc(3.6rem + 24px);
}

.navbar-vertical li.collapsed > ul {
    max-height: 0;
    opacity: 0;
    transition: all 0.3s;
}

.navbar-vertical li.show > ul {
    max-height: unset;
    opacity: 1;
}

/* layout */
svg.icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    stroke: #999;
    transition: all 0.5s;
}

    svg.icon:hover {
        stroke: #111;
    }

.justify {
    justify-content: space-between !important;
}

.v-center {
    align-items: center;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }


.navbar-top {
    padding: 0;
}

    .navbar-top .toolbar-item {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 1.7rem;
        height: 1.7rem;
        cursor: pointer;
        color: rgba(60,66,87,.5);
        transition: all 0.3s;
    }

        .navbar-top .toolbar-item:hover {
            background-color: var(--bs-primary);
            color: #fff;
        }

.avatar {
    width: 2rem;
    height: 2rem;
    background-color: var(--bs-primary) !important;
    color: white !important;
}

/* FORM */
.form-label {
    cursor: pointer;
}

    .form-label.required::after {
        content: ' *';
        color: red;
    }

.form-check .form-label,
.form-control::placeholder {
    color: var(--bs-primary);
    opacity: 0.75;
}

pre.form-control {
    min-height: 10em;
}

.import-box {
    max-height: 15em;
}
    .import-box table th,
    .import-box table td {
        border: 1px solid var(--bs-secondary);
    }
    .import-box table th {
        background-color: var(--bs-info);
        color: white;
    }

.import-columns::before {
    content: 'Columns: ';
    font-weight: 600;
    font-size: 0.8em;
}
.import-columns small {
}
.import-columns small:not(:last-child)::after {
    content: ', '
}
/* toast */
#toast-container {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1090;
}

/* profile */
#dropdownUser > a {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    padding-right: 4rem;
}
#dropdownUser > a > i {
    width: 24px !important;
    margin-right: 0.25rem;
    text-align: center;
    opacity: 0.5;
}