﻿/* ==========================================================================
   AppCustom.css — Consolidated from style.css + AppCssCustom.css
   ========================================================================== */


/* ==========================================================================
   Base / Reset
   ========================================================================== */

html {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 14px;
    background-color: rgb(215, 215, 215);
    display: flex;
    flex-direction: column;
}

a {
    color: #136bae;
    text-decoration: none;
}

    a:hover {
        color: #5c9309;
        text-decoration: none;
    }


/* ==========================================================================
   Typography
   ========================================================================== */

h1 {
    font-size: 24px;
    margin: 0px 0px 10px 0px;
}

h5 {
    margin: 0px;
}

.bold {
    font-weight: bold;
}

label {
    font-weight: 500;
    font-size: 14px;
    color: var(--fx-text-muted) !important;
}

.control-label-large {
    font-size: 16px;
}

.control-label {
    margin-bottom: 3px;
}


/* ==========================================================================
   Layout Structure
   ========================================================================== */

div.layout-container {
    flex: auto;
    display: flex;
    flex-direction: column;
}

div.content-container {
    flex-direction: column;
    display: flex;
    background-color: #f0f2f5;
    flex: auto;
}

.page-content {
    padding-top: 10px;
    padding-bottom: 20px;
    flex: auto;
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 0px;
    padding-top: 0px;
    background-color: #d3d8dc;
    font-size: 20px;
    border-bottom: 1px #bababa solid;
    box-shadow: 0 0.09rem 0.2rem rgba(0,0,0,.15) !important;
    position: relative;
    z-index: 99999;
}

/* Brand */
img.logo {
    width: 40px;
    vertical-align: middle;
}

span.nav-appname {
    vertical-align: middle;
    font-size: 16px;
    font-weight: bold;
    color: #757575;
}


/* ==========================================================================
   User Profile
   ========================================================================== */

span.appuser-name {
    display: none;
}

.profile-circle {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    line-height: 36px;
    text-align: center;
    background: #4c85bb;
    background: radial-gradient(rgb(76 133 187 / 45%) 40%, rgb(0 0 0 / 26%));
    padding-top: 2px;
    margin-right: 3px;
}

.dropdown-profile .dropdown-menu {
    margin-top: -2px !important;
    box-shadow: 0 4px 6px rgba(30, 30, 100, 0.25) !important;
}

.dropdown-item-profile .nav-icon {
    font-size: 18px;
    line-height: 20px;
    vertical-align: middle;
    color: #757575;
}

.profile-toggle {
    padding: 10px;
    padding-right: 15px;
    font-size: 16px;
    line-height: 20px;
    color: #757575;
}


/* ==========================================================================
   Mobile Nav Toggle
   ========================================================================== */

.nav-header-toggle {
    display: block;
    padding-right: 15px;
}

.navbar-toggler {
    padding: 0.3rem 0.6rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    transition: box-shadow .15s ease-in-out;
}

    .navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        background-color: rgb(255, 255, 255, .3);
        box-shadow: 0 0 0 0.03rem;
    }

.cl-navbar-light,
.cl-navbar-toggler {
    color: rgba(0, 0, 0, .55);
    border-color: rgba(0, 0, 0, .4);
}


/* ==========================================================================
   Navigation
   ========================================================================== */

.container-site-nav {
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

div.side-nav {
    position: relative;
    width: 100%;
    background-color: #FAF9F8;
    box-shadow: 0px;
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    position: static;
}

.navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, .55);
    border-color: rgba(0, 0, 0, .35);
}

.navbar-nav .dropdown-menu {
    background-color: #fdfdfd;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: rgba(0,0,0,.7);
    background-color: #e9ecef;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link {
    color: rgba(44, 103, 165, 0.9);
    background-color: #f5f7fa;
}

.navbar-nav .nav-link {
    padding-top: .7rem;
    padding-right: .5rem;
    padding-left: .5rem;
    padding-bottom: .7rem;
    line-height: 20px;
    vertical-align: middle;
}

.site-nav .nav-item {
    border-bottom: 1px #d0d0d0 solid;
    background-color: #FAF9F8;
}

    .site-nav .nav-item .nav-link .nav-icon {
        font-size: 22px;
        line-height: 22px;
        vertical-align: middle;
    }

.menu-text {
    padding-left: 8px;
    vertical-align: middle;
    font-size: 13px;
    color: #757575;
}

/* Nav Dropdown Items */

.nav-item .dropdown-menu {
    font-size: 0.87rem;
    border-radius: 0;
    border: 0;
    padding: 0;
}

    .nav-item .dropdown-menu li {
        background-color: #fdfdfd;
        padding-left: 0px;
        border-bottom: 1px #d0d0d0 solid;
    }

        .nav-item .dropdown-menu li:last-child {
            border-bottom: 0px;
        }

        .nav-item .dropdown-menu li:first-child {
            border-top: 1px #d0d0d0 solid;
        }

        .nav-item .dropdown-menu li a {
            padding-top: .5rem;
            padding-bottom: .5rem;
            border-left: 0px solid rgba(0, 0, 0, .15);
        }

        .nav-item .dropdown-menu li .dropdown-item {
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
            padding-left: 1.5rem;
            color: rgba(0, 0, 0, .55);
            background-color: #fdfdfd;
        }

            .nav-item .dropdown-menu li .dropdown-item.active,
            .nav-item .dropdown-menu li .dropdown-item:active {
                color: rgb(27, 104, 151);
                text-decoration: none;
                background-color: #f5f7fa;
            }

            .nav-item .dropdown-menu li .dropdown-item:focus,
            .nav-item .dropdown-menu li .dropdown-item:hover {
                color: #1e2125;
                background-color: #e9ecef;
            }

.card-subheader {
    background-color: var(--fx-subheader);
    align-items: center;
    padding-top: 7px;
    padding-bottom: 7px;
    border-bottom: 0.5px var(--fx-border) solid;
    border-top: 0.5px var(--fx-border) solid;
    margin-bottom: 3px;
    margin-top: 3px;
}

    .card-subheader > div {
        display: inline-flex;
        align-items: center;
        padding-right: 20px;
        padding-left: 15px;
    }

        .card-subheader > div > label {
            min-width: 60px;
            color: var(--fx-text-muted);
        }
        .card-subheader > div > select {
            padding: .2rem .2rem;
            font-size: .75rem;
        }
.no-validate .input-validation-error {
    border-color: initial; /* or your normal border color */
    background-color: initial; /* or your normal background color */
}

/* ==========================================================================
   Page Titles & Buttons
   ========================================================================== */

div.page-title {
    border-bottom: 1px dotted #808080;
    padding-bottom: 4px;
    margin-bottom: 16px;
}

    div.page-title h1 {
        font-weight: 500 !important;
        font-size: 22px;
        line-height: 22px;
        margin-top: 2px;
        margin-bottom: 6px;
        padding-left: 0px;
        padding-bottom: 0px;
        color: #828282;
    }

div.page-buttons {
    text-align: right;
    padding-right: 8px;
    margin-bottom: 16px;
}

div.page-title-buttons {
    padding-top: 3px;
    padding-bottom: 0px;
    padding-right: 8px;
    text-align: right;
}

div.header-button {
    padding-top: 4px;
}


/* ==========================================================================
   Cards, Panels & Blocks
   ========================================================================== */

.shadow-smh {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 2px 0px !important;
}

.card-rounded {
    border-radius: 10px;
}

.card-header {
    background-color: rgba(0, 0, 0, .05);
}

.card-title {
    margin-bottom: 0;
    font-size: 16px;
}

div.panel-heading h4 {
    margin-top: 0px;
    margin-bottom: 1px;
}

.panel-heading {
    padding: 5px;
    padding-left: 4px;
    padding-top: 4px;
}

.HeaderBlock {
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid #878787;
    background-color: #f7f7f7;
    box-shadow: rgb(227, 227, 227) 2px 2px 2px;
}

.HeaderAddress {
    font-size: 18px;
}

.well {
    background-color: #fdfdfd;
}


/* ==========================================================================
   Tables
   ========================================================================== */

.table > tbody > tr > td,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    font-size: 13px;
    padding: 7px 12px;
    color: #5f5f5f;
}

.table > thead > tr {
    color: #707070;
    background: rgba(0,0,0,.03);
}

    .table > thead > tr > th {
        border-color: #dddddd;
        font-weight: bold;
        border-bottom-color: #d1d1d1 !important;
    }

.table-centered > tbody > tr > td {
    align-content: center !important;
    align-items: center !important;
}

.table-sortable {
    cursor: pointer;
}

/* Table Size Variants */

.table-smalltext > tbody > tr > td,
.table-smalltext > thead > tr > th {
    font-size: 12px;
    padding: 5px 8px;
}

.table-mediumtext > tbody > tr > td,
.table-mediumtext > thead > tr > th {
    font-size: 17px;
    padding: 6px;
}

.table-mediumtext > tbody > tr > td,
.table-mediumtext > tfoot > tr > td,
.table-mediumtext > thead > tr > td {
    vertical-align: middle;
}

.table-largetext > tbody > tr > td {
    font-size: 18px;
    padding: 5px;
}

.table-largetext > tbody > tr > td,
.table-largetext > tfoot > tr > td,
.table-largetext > thead > tr > td {
    vertical-align: middle;
}

.bg-accent {
    background-color: var(--fx-accent);
}


/* ==========================================================================
   Forms & Validation
   ========================================================================== */

button, input, select, textarea {
    font-family: inherit;
    font-size: 13px;
    line-height: inherit;
    padding: 2px;
    color: var(--fx-text);
    background-color: var(--fx-content-bg);
}

input, select, textarea {
    border-color: #ededed;
    border-width: 1px;
    box-sizing: border-box;
    outline: none;
    border: 1px solid var(--fx-border);
    width: 100%;
    border-radius: 2px;
}

    input:focus, select:focus, textarea:focus {
        border-color: #ededed;
        border-width: 1px;
        box-shadow: var(--fx-active-shadow);
        border-color: var(--fx-border);
    }

    /*input[type=checkbox], input[type=radio] {
        width: initial;
    }*/

select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .3rem;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: var(--fx-input);
    color: var(--fx-text);
    border: 1px solid var(--fx-border);
    border-radius: .25rem;
}

.form-control {
    padding: .375rem .55rem;
    font-size: .8rem;
    background-color: var(--fx-input);
    color: var(--fx-text);
    border: 1px solid var(--fx-border);
}
    .form-control.active, .form-control:focus {
        background-color: var(--fx-active-input);
        border-color: var(--fx-border);
        box-shadow: var(--fx-active-shadow);
        color: var(--fx-text);
    }

.form-textarea {
    font-size: .8rem;
    background-color: var(--fx-input);
    color: var(--fx-text);
    border: 1px solid var(--fx-border);
}

.form-select {
    padding: .375rem .55rem;
    font-size: .8rem;
    background-color: var(--fx-input);
    color: var(--fx-text);
    border: 1px solid var(--fx-border);
}

    .form-select.active, .form-select:focus, .form-select-thin.active, .form-select-thin:focus {
        background-color: var(--fx-active-input);
        border-color: var(--fx-border);
        box-shadow: var(--fx-active-shadow);
    }

    .form-select > option, .form-select > optgroup, .form-select-thin > option {
        background-color: var(--fx-input);
        color: var(--fx-text)
    }

div.form-text-value {
    padding-top: 5px;
    margin-bottom: 0;
    font-size: 13px;
}

span.field-validation-error {
    color: #fff;
    padding-left: 6px;
    padding-right: 6px;
    margin-left: 0px;
    margin-top: 2px;
    border: 1px solid;
    border-color: #d15b47 !important;
    background-color: #d15b47;
    display: block;
}

.input-validation-error {
    border-color: #d15b47 !important;
    background-color: #f2f2f2 !important;
    border-width: 1px;
}

.form-group {
    margin-bottom: 13px;
}

.input-task-title {
    font-size: 16px;
}

div.form-label {
    text-align: left;
}

div.note-header {
    font-size: 14px;
    padding-bottom: 4px;
}


/* ==========================================================================
   Tabs
   ========================================================================== */

.tabbable {
    border: 1px solid #cfd4d7;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
    border-radius: .25rem;
    position: relative;
    min-width: 0;
    background-clip: border-box;
    overflow: hidden;
}

    .tabbable .tab-content {
        background-color: #f9f9f9;
        padding: 10px;
    }

    .tabbable.tabs-left .tab-content,
    .tabbable.tabs-right .tab-content {
        overflow: hidden;
        padding-top: 2px;
        background-color: #fff;
    }

.nav-tabs {
    padding-left: 12px;
}

    .nav-tabs .nav-link {
        margin-right: 3px;
        background-color: #5882c1;
        color: #fff;
    }

        .nav-tabs .nav-item.show .nav-link,
        .nav-tabs .nav-link.active {
            background-color: #f9f9f9;
            border-top: 2px solid #4c8fbd;
            border-color: #7db4d8 #7db4d8 transparent;
        }


/* ==========================================================================
   Checkbox Toggle (On/Off) & Custom Checkboxes
   ========================================================================== */

.checkbox-on-off {
    position: relative;
    display: inline-block;
    width: 45px;
    padding-right: 2px;
    overflow: hidden;
    vertical-align: middle;
    margin-bottom: 0px;
    margin-left: 5px;
    margin-top: 0px;
}

    .checkbox-on-off input[type=checkbox] {
        position: absolute;
        bottom: 6px;
        opacity: 0;
        width: 40px;
        cursor: pointer;
    }

        .checkbox-on-off input[type=checkbox]:disabled {
            cursor: default;
        }

        .checkbox-on-off input[type=checkbox]:checked + label {
            background-color: #468fcc;
        }

        .checkbox-on-off input[type=checkbox]:disabled:checked + label {
            background-color: #7db4d8 !important;
        }

    .checkbox-on-off label {
        display: inline-block;
        border: 1px solid transparent;
        height: 18px;
        width: 100%;
        background: #b8b8b8;
        cursor: pointer;
        border-radius: 20px;
        margin-bottom: 0px;
        margin-top: 5px;
    }

    .checkbox-on-off input[type=checkbox]:checked + label .checked {
        display: inline;
    }

        .checkbox-on-off input[type=checkbox]:checked + label .checked:after {
            font-family: FontAwesome;
            content: "\f00c";
            position: absolute;
            bottom: 4px;
            left: 9px;
            color: #FFF;
            font-size: 100%;
            pointer-events: none;
        }

    .checkbox-on-off label .checked {
        display: none;
    }

    .checkbox-on-off input[type=checkbox]:checked + label .unchecked {
        display: none;
    }

    .checkbox-on-off label .unchecked {
        display: inline-block;
        float: right;
        padding-right: 3px;
    }

    .checkbox-on-off input[type=checkbox]:checked + label .toggle {
        float: right;
    }

    .checkbox-on-off label .toggle {
        float: left;
        background: #fbfbfb;
        height: 16px;
        width: 16px;
        border-radius: 20px;
    }

/* Checkbox & Radio Containers */

div.checkbox, div.radio {
    min-height: 27px;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 7px;
    position: relative;
    display: block;
}

    div.radio label, div.checkbox label {
        min-height: 20px;
        padding-left: 20px;
        margin-bottom: 0;
        font-weight: normal;
        cursor: pointer;
    }

/* Custom .basic Checkbox & Radio Styling */

input[type=checkbox].basic, input[type=radio].basic {
    opacity: 0;
    position: absolute;
    z-index: 1;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

label input[type=checkbox].basic, label input[type=radio].basic {
    z-index: -100 !important;
    width: 1px !important;
    height: 1px !important;
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
}

input[type=checkbox].basic:checked, input[type=radio].basic:checked, input[type=checkbox].basic:focus, input[type=radio].basic:focus {
    outline: none !important;
}

input[type=checkbox].basic + .lbl, input[type=radio].basic + .lbl {
    position: relative;
    display: inline-block;
    margin: 0;
    line-height: 20px;
    min-height: 18px;
    min-width: 18px;
    font-weight: normal;
    font-size: 14px;
    cursor: pointer;
}

.checkbox label input[type=checkbox].basic + .lbl, .radio label input[type=radio].basic + .lbl {
    margin-left: -10px;
}

input[type=checkbox].basic + .lbl::before, input[type=radio].basic + .lbl::before {
    cursor: pointer;
    font-family: fontAwesome;
    font-weight: normal;
    font-size: 16px;
    color: #32a3ce;
    content: "\a0";
    background-color: #FAFAFA;
    border: 1px solid #c8c8c8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    display: inline-block;
    text-align: center;
    height: 18px;
    line-height: 16px;
    min-width: 18px;
    margin-right: 1px;
    position: relative;
    top: -1px;
}

input[type=checkbox].basic:checked + .lbl::before, input[type=radio].basic:checked + .lbl::before {
    display: inline-block;
    content: '\f00c';
    background-color: #F5F8FC;
    border-color: #adb8c0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05), inset 15px 10px -12px rgba(255, 255, 255, 0.1);
}

.checkbox-cell {
    padding-top: 9px !important;
    font-size: 16px !important;
}

input[type=radio].basic + .lbl::before {
    border-radius: 100%;
    font-size: 11px;
    font-family: FontAwesome;
    text-shadow: 0 0 1px #32a3ce;
    line-height: 15px;
    height: 17px;
    min-width: 17px;
}

input[type=radio].basic:checked + .lbl::before {
    content: "\f111";
}


/* ==========================================================================
   Typeahead / Autocomplete
   ========================================================================== */

.typeahead,
.tt-query,
.tt-hint {
    width: 396px;
    padding: 8px 12px;
    line-height: 30px;
    font-family: inherit;
    font-size: 13px;
    line-height: inherit;
    padding: 2px;
    color: #5d5d5d;
    outline-color: rgb(77, 144, 254);
}

.typeahead {
    background-color: #fff;
}

.typeaheadxxx:focus {
    border: 2px solid #0097cf;
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999;
}

.tt-menu {
    width: 422px;
    margin: 4px 0;
    padding: 2px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 4px 10px;
    font-size: 14px;
    line-height: 24px;
    font-family: Arial, Helvetica, sans-serif;
}

    .tt-suggestion:hover {
        cursor: pointer;
        color: #fff;
        background-color: #7db4d8;
    }

    .tt-suggestion.tt-cursor {
        color: #fff;
        background-color: #0097cf;
    }

    .tt-suggestion p {
        margin: 0;
    }

.gist {
    font-size: 14px;
}


/* ==========================================================================
   Search Components
   ========================================================================== */

.task-search-item {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    margin-bottom: 8px;
    background-color: #fbfbfb;
    border: 1px solid silver;
    padding: 6px;
}

.task-search-button {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0px;
    margin-bottom: 8px;
    padding: 6px;
    padding-left: 0px;
}


/* ==========================================================================
   Map
   ========================================================================== */

#map-canvas {
    height: 100%;
    margin: 0;
    padding: 0;
}


/* ==========================================================================
   File Upload
   ========================================================================== */

.upload-msg {
    text-align: center;
    padding: 50px;
    font-size: 22px;
    color: #aaa;
    width: 260px;
    margin: 14px auto;
    border: 1px solid #aaa;
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-xs {
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 0.15rem;
}

.btn-primary {
    color: #fff;
    background-color: #5882c1;
    border-color: #5d6c83;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #496b9b;
        border-color: #5d6c83;
    }

.btn-success {
    color: #fff;
    background-color: #76af79;
    border-color: #198754;
}

    .btn-success:hover {
        color: #fff;
        background-color: #92bb88;
        border-color: #146c43;
    }

.btn-danger {
    color: #fff;
    background-color: #d9594b;
    border-color: #dc3545;
}


/* ==========================================================================
   Alerts
   ========================================================================== */

.alert-success {
    color: #0f5132;
    background-color: #d5e7d1;
    border-color: #badbcc;
}

.alert-warning {
    color: #664d03;
    background-color: #fdfade;
    border-color: #ffecb5;
}

.alert-info {
    color: #0d547c;
    background-color: #d8e9f1;
    border-color: #b6effb;
}


/* ==========================================================================
   Horizontal Rules
   ========================================================================== */

hr.hr-8 {
    margin-top: 8px;
    margin-bottom: 8px;
}

hr.hr-12 {
    margin-top: 12px;
    margin-bottom: 12px;
    border: 0;
    border-top: 1px solid #eee;
}

hr.hr-16 {
    margin-top: 16px;
    margin-bottom: 16px;
}

hr.hr-32 {
    margin-top: 32px;
    margin-bottom: 32px;
}

hr.hr-top-8 {
    margin-top: 8px;
    margin-bottom: 0px;
}

hr.hr-top-16 {
    margin-top: 16px;
    margin-bottom: 0px;
}

hr.hr-top-32 {
    margin-top: 32px;
    margin-bottom: 0px;
}

hr.hr-bottom-8 {
    margin-top: 0px;
    margin-bottom: 8px;
}


/* ==========================================================================
   Utility Classes
   ========================================================================== */

div.no-margin-bottom {
    margin-bottom: 0px;
}

.no-padding-right {
    padding-right: 0px;
}

.center, .align-center {
    text-align: center;
}

.space-12 {
    margin-top: 12px;
}

.select-time {
    width: 56px;
    padding: 3px;
}


/* ==========================================================================
   Icons, Colors & Status Labels
   ========================================================================== */

.app-icon {
    font-size: 20px;
}

.green {
    color: #609e27;
}

.grey {
    color: #609e27;
}

.red {
    color: #d15b47;
}

.delete {
    font-size: 17px;
}

.label-status {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 2px;
}

.bg-primary {
    background-color: rgba(60, 110, 180, 0.70) !important;
}

.bg-secondary {
    background-color: rgba(0, 0, 0, 0.06) !important;
}

.bg-success {
    background-color: rgba(60, 140, 70, 0.68) !important;
}

.bg-danger {
    background-color: rgba(195, 65, 55, 0.68) !important;
}

.bg-warning {
    background-color: rgb(247, 236, 135) !important
}

.bg-info {
    background-color: #d8e9f1 !important;
}

.bg-light {
    background-color: #fefefe !important;
}

.bg-dark {
    background-color: #d3d3d4 !important;
}

/* ==========================================================================
   Badges
   ========================================================================== */
.badge {
    text-shadow: none;
    font-size: 12px !important;
    padding: 4px 6px;
    border-radius: 4px;
    font-weight: normal;
    line-height: 15px !important;
    background-color: #abbac3;
}
    .badge.bg-warning {
        border: 1px solid #e8e364;
        color: #716009 !important;
    }

    .badge.bg-secondary {
        color: var(--fx-text-mid) !important;
    }

    .badge.bg-light {
        border: 1px solid #e8e364;
    }
    .badge.bg-dark {
        color: var(--fx-text-mid) !important;
    }

.rounded-pill {
    border-radius: 0.7rem !important;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .pagebreak {
        page-break-after: always;
    }
}


/* ==========================================================================
   Responsive — Mobile & Tablet
   ========================================================================== */

@media (max-width: 400px) {
    .table > tbody > tr > td,
    .table > tfoot > tr > td,
    .table > tfoot > tr > th,
    .table > thead > tr > td,
    .table > thead > tr > th {
        font-size: 10px;
        padding: 3px;
    }

    .table-normal-text > tbody > tr > td,
    .table-normal-text > tfoot > tr > td,
    .table-normal-text > tfoot > tr > th,
    .table-normal-text > thead > tr > td,
    .table > thead > tr > th {
        font-size: 14px;
        padding: 5px;
    }
}

@media (max-width: 767px) {
    .table > tbody > tr > td,
    .table > tfoot > tr > td,
    .table > tfoot > tr > th,
    .table > thead > tr > td,
    .table > thead > tr > th {
        font-size: 12px;
        padding: 5px;
    }

    .table-normal-text > tbody > tr > td,
    .table-normal-text > tfoot > tr > td,
    .table-normal-text > tfoot > tr > th,
    .table-normal-text > thead > tr > td,
    .table > thead > tr > th {
        font-size: 14px;
        padding: 5px;
    }
}

/* Mobile phone portrait sizing */
@media (min-width: 540px) {
    span.nav-appname {
        font-size: 22px;
    }
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        padding-top: 5px;
        margin-bottom: 0;
        text-align: right;
    }

    div.form-label {
        text-align: right !important;
        padding-right: 0px;
    }
}

/* Desktop nav breakpoint */
@media (min-width: 992px) {

    img.logo {
        width: 50px;
    }

    div.layout-container {
        flex-direction: row;
    }

    div.side-nav {
        display: block;
        width: 190px;
        flex-shrink: 0;
        box-shadow: 0 .5rem .3rem rgba(0,0,0,.15) !important;
    }

    .nav-header-toggle {
        display: none;
    }

    span.appuser-name {
        display: inline;
    }

    .navbar-expand-lg .navbar-nav {
        display: flex;
        flex-direction: column;
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
    }

    .navbar-expand-lg .navbar-collapse {
        display: block !important;
        flex-basis: 100%;
        flex-grow: 1;
    }

    .navbar-toggler {
        display: none;
    }

    .dropdown-menu[data-bs-popper] {
        margin-top: 0px;
    }
}
