html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.tagify {
    position: unset;
}

.form-floating > .form-control.categories {
    height: unset;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

tbody > tr.footer {
    font-size: .8rem;
    text-align: center;
}

a.bg-header {
    background-image: url('/img/header.png');
    background-size: 36px 36px;
    background-repeat: no-repeat;
    padding-left: 40px;
    margin-right: 1rem;
    font-size: 1.25rem;
    text-decoration: none;
    white-space: nowrap;
    color: rgba(0,0,0,.9);
    margin-bottom: 0px;
}

a.bg-header > span {
    float: left;
    position: relative;
    font-size: 0.72rem;
    top: -2px;
    color: #A9A9A9;
}

.bg-orange {
    background-color: rgb(237,157,100);
    color: rgb(104,44,0);
}

div.future {
    background-color: rgb(222,223,224);
    font-style: italic;
}

.account-highlight {
    border: 2px solid rgb(237,157,100) !important;
    box-shadow: 0 0 0 0.15rem rgba(237,157,100,0.25);
}

.form-floating > .account-highlight ~ label {
    color: rgb(104,44,0);
    font-weight: 600;
}

.btn-xs {
    padding: .1rem .5rem;
    font-size: .750rem;
    border-radius: .2rem;
}

.icon {
    position: absolute;
    top: calc(50% - 12px);
    left: 1.25rem;
    z-index: 100;
}

.form-floating label, .form-floating .form-control {
    left: .5rem;
    padding-left: 3rem;
}

.form-floating .form-check {
    left: .5rem;
    padding-left: 5.3rem;
}

.form-floating .form-check .form-check-inline {
    padding-left: 2.6rem;
}

.form-floating .form-check label {
    left: .5rem;
    padding-left: 0.5rem;
}

.form-control.is-valid {
    padding-right: 0.75rem;
}

.form-control.is-invalid {
    padding-right: 0.75rem;
}

.switch.btn {
    width: 100%;
}

.category-name {
    font-size: .75rem;
    opacity: 0.6;
}

.card-sub-header {
    font-size: .72rem;
    opacity: 0.64;
}

.negative {
    color: red;
}

.positive {
    color: green;
}

div.positive {
    color: #14613D;
}

div.negative {
    color: #7E1E27;
}

.invisible {
    opacity: 0;
}

span.bg-success {
    --bs-bg-opacity: 0.1;
}

.bg-orange span.bg-success {
    background-color: #E1EEE9 !important;
    --bs-bg-opacity: 1;
}

.card-body hr:first-child {
    display: none;
}

.card-body hr:not(:first-child) {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    width: 92%;
    color: gray;
}

th.align-checkbox-center, td.align-checkbox-center {
    text-align: center;
    vertical-align: middle;
}

th > a {
    color: #212529;
}

a.inherit {
    text-decoration: none;
    color: inherit;
}

div.card-header {
    font-weight: bold;
}

div.card-footer {
    font-weight: bold;
}

.opacity-16 {
    opacity: 0.16;
}

.card-body legend {
    float: inherit;
    margin-bottom: 0rem;
    font-size: inherit;
    line-height: 30px;
    font-weight: 600;
    text-transform: uppercase;
    color: #555;
}

.card-body .row-header {
    font-weight: bolder;
    font-size: .8rem;
    opacity: 0.8;
}

.nav-link.active {
    font-weight: bold;
    border-bottom: 0.16rem solid;
    padding-bottom: calc(0.5rem - 0.16rem);
}

.nav-link.account-name {
    font-size: .84rem;
    opacity: 0.8;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        align-items: center;
    }

    .nav-item.nav-separator {
        border-left: 0.05rem dotted;
        height: 1.2rem;
    }
}

/* sm */
@media (max-width: 575.98px) {
}

/* md */
@media (max-width: 767.98px) {
    .container {
        font-size: .9em;
    }
}

/* lg */
@media (max-width: 991.98px) {
    .container {
        font-size: .95em;
    }

    .nav-item.nav-separator {
        border-top: 0.05rem dotted;
    }
}

/* xl */
@media (max-width: 1199.98px) {
}

/* xxl */
@media (max-width: 1399.98px) {
}

.sort-handle {
    cursor: grab;
}

.sort-handle:active {
    cursor: grabbing;
}

.delete-icon {
    color: #dc3545;
}