body {
    background: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
}

.navbar {
    padding: 0;
}

.navbar a.nav-link {
    padding: 15px 20px !important;
    font-size: 12px;
    position: relative;
    top: 2px;
}

.navbar .profile-image {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 5px;
    position: relative;
    top: -2px;
}

.navbar .profile-box {
    position: relative;
}

.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
}

#sidebar {
    background: #fbfbfb;
    border-right: 1px solid rgba(236, 236, 236, 1);
    max-width: 220px;
    min-width: 220px;
    z-index: 999;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
}

.sidebar-logo {
    padding: 1.15rem 1.5rem;
}

.sidebar-logo a img {
    width:80%;
    margin-left: -5px;
}

.sidebar-nav {
    padding: 0;
}

.sidebar-header {
    color: #1f1f1f;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 15px;
    opacity: 0.5;
    font-size: 9px;
}

a.sidebar-link {
    padding: 5px 25px;
    color: #1f1f1f;
    position: relative;
    display: block;
    font-size: 12px;
    text-decoration: none;
}

.sidebar-badge {
    color: white;
    background: #015aaa;
    height: 18px;
    min-width: 18px;
    text-align: center;
    padding: 5px;
    line-height: 8px;
    position: relative;
    top: -1px;
    left: 2px;
}

a.sidebar-link.active {
    font-weight: bold;
}

.show-menu {
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
    color: #5e5e5e;
    position: absolute;
    background: white;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50px;
}

.hide-menu {
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
    color: #5e5e5e;
    position: absolute;
    background: white;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50px;
    left: 180px;
    top: 10px;
}

.menu-visible .hide-menu {
    display: block;
}

.menu-visible .show-menu {
    display: none;
}

.menu-hidden .hide-menu {
    display: none;
}

.menu-hidden .show-menu {
    display: block;
}

.menu-hidden #sidebar {
    display: none;
}

.module-area {
    margin-top: -45px;
    padding: 20px;
    padding-bottom: 100px;
}

/* alert override */
.alert-info {
    background: #bad3fb;
    border: none;
    color: black;
    font-size: 14px;
    padding: 25px 20px;
}

/* card overrides */

.card {
    border: 1px solid rgba(236, 236, 236, 1);
    box-shadow: 0px 2px 2px -3px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.gray-card {
    background: rgba(250, 250, 250, 0.8);
    box-shadow: none;
    border: none;
}

.card-body h5 {
    font-size: 14px;
}

.card-header {
    padding-top: 15px;
    border-bottom: 1px solid transparent;
    background: transparent;
}

.card-header i {
    margin-right: 5px;
}

.card-header h5 {
    font-size: 14px;
    display: inline-block;
    padding: 0;
    margin-top: 10px;
    opacity: 0.8;
}

.card-header .app-btn {
    float: right;
}

.card-footer {
    border-top: 1px solid #eee;
}

hr {
    opacity: 1;
    border-top: 1px solid rgba(236, 236, 236, 1);
}


/* navs overrides */

.nav-tabs-list {
    border-bottom: 1px solid rgba(236, 236, 236, 1);
}

.nav-tabs-list .nav-item {
    padding: 0;
    padding-right: 20px;
}

.nav-tabs-list .nav-item a {
    padding: 15px 5px;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    color: rgb(109, 109, 109);
}

.nav-tabs-list .nav-item a.active {
    color: #015aaa;
    border-bottom: 3px solid #015aaa;

    font-weight: 500;
}


/* pills overrides */

.rounded-pill {
    padding: 7px;
    border-radius: 8px !important;
    opacity: 0.9;
}

.rounded-pill.switch {
    border: none;
}

.rounded-pill.switch:after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

/* buttons overrides */

.dropdown-item {
    font-size: 14px;
    cursor: pointer;
}


.app-btn {
    border: 1px solid rgba(236, 236, 236, 1);
    box-shadow: 0px 2px 4px -3px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 12px;

    padding: 7px 15px;
    line-height: 20px;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;

    position: relative;

    cursor: pointer;
}

.app-btn.disabled {
    opacity: 0.5;
}

.app-btn i {
    margin-right: 5px;
}

.app-btn span.point {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 7px;
    height: 7px;
    background: #0d6efd;
    border-radius: 50%;
    display: none;
}

.app-btn.mark span.point {
    display: block;
}

.app-btn-no-margin i {
    margin-right: 0px;
}

.app-btn-group {
    display: inline-block;
}

.app-btn-left {
    border-right: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    margin: 0;
}

.app-btn-right {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    margin-left:-4px;
}

.app-btn-center {
    border-radius: 0px;
    margin-left:-4px;
}

.app-btn-default {
    color: black;
    background: #f5f5f5;
}

.app-btn-default:hover {
    color: black;
    background: #eee;
}

.app-btn-primary {
    color: white;
    background: #015aaa;
    border-color: #015aaa;
}

.app-btn-primary:hover {
    color: white;
    opacity: 0.8;
}

.app-btn-danger {
    color: white;
    background: #e74c3c;
    border-color: #e74c3c;
}

.app-btn-danger:hover {
    color: white;
    opacity: 0.8;
}

.app-btn-action {
    color: white;
    background: black;
    font-weight: bold;
}

.app-btn-action:hover {
    color: white;
    background: black;
    opacity: 0.8;
}


.search-box-container {
    display: inline-block;
}

.search-box-container .search-box {
    border: 1px solid rgba(236, 236, 236, 1);
    box-shadow: 0px 2px 4px -3px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 12px;
    padding: 8px 12px;
    min-width: 250px;
}

.btn {
    border-radius: 8px;
    border: 2px solid #eee;
    font-size: 12px;
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.btn i {
    margin-right: 5px;
}

.btn-gold {
    background: #c8ac7e;
    color: black;
}

.btn-gold.disabled {
    background: #212529;
    color: white;
    opacity: 0.5;
    border: 2px solid #eee;
}

.btn-gold:hover,
.btn-gold:focus,
.btn-gold:active {
    background: #212529 !important;
    color: #c8ac7e;
    opacity: 0.8;
}

.btn-primary {
    background: #212529;
    color: white;
}

.btn-primary.disabled {
    background: #212529;
    color: white;
    opacity: 0.5;
    border: 2px solid #eee;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: #212529 !important;
    color: white;
    opacity: 0.8;
}

.btn-secondary {
    background: #ececec;
    color: black;
}

.dropdown-toggle:focus,
.dropdown-toggle:active,
.dropdown-toggle.show {
    background: #ececec !important;
    color: black;
    border-color: #eee !important;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: transparent;
    color: black;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background: #ececec;
    color: black;
    opacity: 0.8;
}

.btn:hover {
    background: #f8f8f8;
    border: 2px solid #eee;
}

.btn-block {
    width: 100%;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    background-color: black;
    border-color: black;
}

.form-label {
    font-weight: bold;
    font-size: 12px;
}

.input-group .dropdown-menu {
    margin-top: 60px;
}

.invalid-feedback-form {
    display: none;
}

.is-invalid .form-control {
    border-color: indianred;
}

.is-invalid .invalid-feedback {
    display: block;
}

.is-invalid .form-label {
    color: indianred;
}

.invalid-feedback-form {
    color: red;
    font-weight: bold;
}

/* page-header overrides */

.page-header {
    padding-bottom: 20px;
}

.page-header .col-md-12 {
    margin-bottom: 0px;
}

.page-header small {

}

.page-header h2 {
    font-weight: 400;
    font-size: 18px;
    display: inline-block;
}

.page-header p {
    font-weight: 300;
    opacity: 0.7;
}


/* modal overrides */

.modal-dialog .modal-content {
    border: 1px solid rgba(236, 236, 236, 1) !important;
    box-shadow: 0px 4px 4px -3px rgba(0, 0, 0, 0.1) !important;
    border-radius: 15px !important;
}

.modal-dialog .modal-header {
    border: 0px;
    padding: 25px;
}

.modal-dialog .modal-header .modal-title {
    font-weight: 300;
    font-size: 16px;
}

.modal-dialog .modal-body {
    padding: 30px 25px;
}

.modal-dialog .modal-body p {
    font-size: 14px;
}

.modal-dialog .modal-footer {
    border: 0px;
    padding: 25px;
    padding-bottom: 10px;
}

.modal-dialog .mask-box,
.modal-dialog .alert {
    display: none;
}

.modal-dialog table {
    font-size: 12px;
}

.modal-dialog .mask {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: grid;
    text-align: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    align-content: center;
    font-weight: bold;
}

.modal-dialog .mask .fa {
    margin: 10px auto;
}

.modal-dialog .filler {
    cursor: pointer;
}

.modal-dialog .filler-bubble {
    background: #eee;
    color: black;
    border-radius: 50px;
    padding: 5px 10px;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
}

.page-size-container {
    display: inline-block;
    position: relative;
    top: -24px;
}

.page-size-container span {
    font-size: 12px;
    margin-right: 5px;
}

.page-size-container select {
    font-size: 14px;
}

.product-row {
    margin-bottom: 5px;
}

.product-row .remove {
    position: relative;
    top: 8px;
    cursor: pointer;
    display: block;
}

.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 15px;
    right: 15px;
    font-size: 14px;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}
.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: #015aaa !important;
    color: #ffffff;
}

.autocomplete-box .dropdown-menu span {
    padding: 0;
}

.autocomplete-box .dropdown-menu span a {
    color: black;
    text-decoration: none;
    padding: 8px 10px;
    display: block;
}

.counter {
    font-size: 10px;
    background: #015aaa;
    font-weight: bold;
    color: white;
    min-width: 20px;
    display: inline-block;
    margin-right: 3px;
    padding: 0px 8px;
    border-radius: 50px;
}

.app-btn-primary .counter {
    background: white;
    color: #015aaa;
}

.app-btn-danger .counter {
    background: white;
    color: #e74c3c;
}

.clear a {
    font-weight: bold;
    cursor: pointer;
    margin-left: 5px;
    font-size: 10px;
}


.detail-header {
    position: relative;
    opacity: 0.8;
}

.detail-header i {
    margin-right: 5px;
}

.detail {
    margin-bottom: 20px;
}

.detail label {
    margin-bottom: 5px;
    display: block;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
    text-transform: uppercase;
}

.detail span {
    display: block;
    font-size: 12px;
}

.detail span.tech {
    font-family: "Fira Code", monospace;
}


/* history modal */

.log-action {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    opacity: 0.6;
    display: block;
}

.log-date {
    font-size: 12px;
    display: block;
}

.log-comment {
    font-size: 12px;
}

.log-login {
    font-weight: bold;
    font-size: 12px;
    opacity: 0.6;
}

.log-change {
    padding:0;
    margin: 0;
    padding-left: 10px;
    margin-top:10px;
}

.log-change li {
    margin: 0;
    padding:0;
    font-size: 12px;
}

.log-property {
    font-weight: bold;
    opacity: 0.7;
}

.log-activity {
    margin-left:10px;
    padding-left: 0;
    padding-bottom: 5px;
    border-left: 1px solid #eee;
}

.log-activity > li {
    list-style: none;
    display: block;
    margin-left: -10px;
    margin-bottom: 50px;
}

.log-activity > li > .row {
    margin-left: 20px;
}

.log-activity > li .icon {
    width: 19px;
    height: 19px;
    background: #eee;
    border-radius: 50%;
    position: absolute;
    border:4px solid #eee;
    margin-top: 0px;
}

.log-activity > li .icon.icon-update {
    background: #3498db;
}

.log-activity > li .icon.icon-remove {
    background: #e74c3c;
}

.log-activity > li .icon.icon-create {
    background: #2ecc71;
}

.log-activity > li .icon.icon-auto {
    background: #1abc9c;
}

.rate-override-icon {
    margin-right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    background: #eee;
    display: inline-block;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}

.rate-override-icon.rate {
    background: #0d6efd;
    color: white;
}

.rate-override-icon.supplement {
    background: #0aa100;
    color: white;
}
.rate-override-icon.individual {
    background: #6900a1;
    color: white;
}

.last-used td {
    background: rgba(0, 98, 143, 0.2);
}