body {
    font-family: "Nunito Sans", "Open Sans", sans-serif;
    font-size: .9em;
}

h1, .h1 {
    font-size: 1.8rem;
    font-weight: bold;
}
h2 {

}
h3, .h3 {
    font-size: 1.4rem;
    font-weight:bold;
}

a, a:active, a:focus {outline: none; }

tbody a,
tbody a:hover {
    color: #212529;
}

td > * {
    margin: 0;
}



/* bs4 overwrites */

.table-sm {
    font-size: .95em;
}

.bg-dark {
    background-color: #12263f !important;
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0px;
    font-size: .7rem;
}
.breadcrumb-item + .breadcrumb-item::before {
    padding-right: 0.25rem;
}
.breadcrumb a,
.breadcrumb .breadcrumb-item,
.thead-dark *,
.thead-dark a:hover {
    color:#fff;
}
.btn.rounded-circle > i.fa-sort-up {
    margin:0 2px;
}
.btn.rounded-circle > i.fa-sort-down {
    margin:0 2px;
}
.card-header {
    font-weight: bold;
    font-size: 1.1rem;
}
.card-header.card-header-btn {
    line-height:30px;
}

/* elements */

.caret-off::before {
    display: none;
}
.caret-off::after {
    display: none;
}

#messages .toast-body.text-white a {
    color:#fff;
}

#nav-global {
    display: none;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    width:0;
    z-index: 10;
}
#nav-global.show {
    width: 300px;
    display: block;
}
#nav-global a {
    color: #777;
    font-size: 0.8rem;
}
#nav-global a:hover {
    text-decoration: none;
}
#nav-global .submenu {
    margin-top:10px;
    margin-right:-20px;
    margin-bottom:-12px;
}
#nav-global .nav-global-toggler {
    font-size: 1.2rem;
}
.nav-global-toggler {
    cursor: pointer;
}

#sidebar {
    position: absolute;
    height: 100vh;
    top: 0;
    right:0;
    display: none;
    overflow-y: auto;
    width: 0;
    z-index: 1031;
}
#sidebar.show {
    display: block;
    width: 400px;
}
#sidebar .bg-dark {
    background-color: #000 !important;
}
#sidebar .sidebar-toggler {
    font-size: 1.2rem;
}
.sidebar-toggler {
    cursor: pointer;
}

#nav-bottom {
    padding: .5rem 0;
}

#site-header {
    height:150px;
}
#site-header .navbar .nav-link {
    padding: .5rem;
}
#site-header .dropdown-toggle::after {
    content: none;
}
body.popup #site-header {
    height: 135px;
    padding: 20px 0;
    margin-left: 0px;
}

#site-content {
    height: calc(100vh - 110px);
    overflow: auto;
    position: absolute;
    scrollbar-width: none;
    top: 110px;
    width: 100vw;
}
#site-content::-webkit-scrollbar {
    display: none;
}

body.popup #site-content {
    top:90px;
    margin-left: 0px;
    width: 100vw;
}
body.popup #content-main {
    padding-bottom:0;
}

#dashboard-widgets {
    column-count: 1;
    -webkit-column-count: 1;
    -moz-column-count: 1;
}
.dashboard-widget .card-body {
    font-size: .9em;
}

.filter-dropdown .btn-group button {
    font-size: .7rem;
    padding: .4rem .5rem;
}
.filter-dropdown .btn-group button.bg-white {
    border-color: rgba(0,0,0,.125);
}
.filter-dropdown .dropdown-menu {
    max-height:259px;
    overflow-y: auto;
    padding: 0;
}
.filter-dropdown .dropdown-menu a {
    font-size: .7rem;
}

#changelist-filter h3 > a.btn {
    padding: .1rem .46rem;
}
#changelist-filter .list-group-item.active {
    background: #6c757d;
    border-color: #6c757d;
}

@media (min-width:720px){
    #dashboard-widgets {
        column-count: 2;
        -webkit-column-count: 2;
        -moz-column-count: 2;
    }
}

@media (min-width:992px){
    #nav-global {
        width:300px;
        z-index: 1;
    }
    #nav-bottom {
        margin-left:300px;
    }
    #site-header {
        margin-left:300px;
    }
    #site-header .navbar .nav-link {
        padding: .5rem 1rem;
    }
    #site-content {
        margin-left:300px;
        width: calc(100vw - 300px);
    }
    body.change-form #site-content, body.change-list #site-content {
        height: calc(100vh - 150px);
    }
        body.popup #nav-bottom {
        margin-left: 0;
    }
    body.change-form.popup #site-content, body.change-list.popup #site-content {
        height: calc(100vh - 130px);
    }
    #content-main {
        margin-bottom:30px;
    }
}

@media (min-width: 1350px) {
    #dashboard-widgets {
        column-count: 3;
        -webkit-column-count: 3;
        -moz-column-count: 3;
    }
}
