:root {
    --purple-gradient: linear-gradient(135.12deg, #7E3CD6 0%, #6428B4 100%);
    --purple: red;
    --light-purple: #9D54FF;;
    --dark-gray: #434343;
    --light-gray: #F5F8F7;
    --dark-purple: #4B0082;
}

html, body {
    color: #212529;
    background-color: #c9c9c9;
    font-size: 1rem;
}

a, a:hover {
    text-decoration: none;
    color: unset
}

/* header */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.normalFont {
    font-weight: normal;
    color: #212529;
    font-size: 1rem
}

.badge-sbh-green {
    background-color: #79b22b;
    color: #fff;
}

header .container {
    height: 65px;
    box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.3);
}

main {
    padding-top: 65px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
    }
}

/* Login */
.card {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.card.disabled {
    background: #00000006;
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown > .dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.dropdown-menu {
    margin: 0;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #79b22b;
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #79b22b;
}

.btn-primary {
    color: #fff;
    background-color: #79b22b;
    border-color: #79b22b;
}

.btn-primary:hover {
    color: #fff;
    background-color: #659e17;
    border-color: #609912;
}

.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(101, 158, 23, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #79b22b;
    border-color: #79b22b;
}

.font-small {
    font-size: 0.7em;
}

.font-big {
    font-size: 1.5em;
}

.font-bigger {
    font-size: 1.3em;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #609912;
    border-color: #518812;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(101, 158, 23, 0.5);
}


/* nav */
.navbar-nav .nav-item {
    white-space: nowrap;
}


h1, h2, h3, h4, h5 {
    color: #79b22b;
}

h1, h2, h3 {
    font-weight: 600;
}

.rotate-icon {
    float: right;
}


.tablesorter-default tfoot th,
.tablesorter-default tfoot td {
    border: 0;
}

.tablesorter-default .header,
.tablesorter-default .tablesorter-header {
    background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
    background-position: center right;
    background-repeat: no-repeat;
    cursor: pointer;
    white-space: normal;
}

.tablesorter-default thead .headerSortUp,
.tablesorter-default thead .tablesorter-headerSortUp,
.tablesorter-default thead .tablesorter-headerAsc {
    background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
    border-bottom: #000 2px solid;
}

.tablesorter-default thead .headerSortDown,
.tablesorter-default thead .tablesorter-headerSortDown,
.tablesorter-default thead .tablesorter-headerDesc {
    background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
    border-bottom: #000 2px solid;
}

table#pramienlisttable_list td .sbh-badge {
    font-size: 14px;
    padding: 3px 0.4em;
}

table#pramienlisttable_list td .ampel {
    width: 13px;
    height: 13px;
}

table#pramienlisttable_list td a.btn {
    padding: .0rem .25rem;
    line-height: 1.3;
}

div.progress, .progress-height {
    height: 1.3rem;
}

.progress-height {
    height: 1.3rem;
}

div.progress_row label {
    margin-bottom: 0;
}

div.progress_row label span {
    color: #4d4d4d;
}

div.pramienlisttable span.totalsum {
    font-size: 24px;
    font-weight: 400;
}

div.progress-height.progress-height-margin-top {
    margin-top: -2px;
}

div.progress-height span.badge {
    font-size: 13px;
}


@media only screen and (max-width: 991px) {

    div#navbarNav.navbar-collapse {
        margin-top: 12px;
        background-color: white;
        box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.3);
        padding: 10px;
    }

}

.header-only {
    border-bottom: unset;
}

.hidden {
    overflow: hidden;
    border: 1px solid #ced4da;
    padding: 1rem;
    border-radius: .25rem;
}

.scroll-300 {
    overflow-y: scroll;
    max-height: 300px;
}

.sbh-table {
    font-size: 0.9rem;
}

.sbh-table td {
    width: auto;
}

.sbh-table td.min {
    width: 1%;
    white-space: nowrap;
}

.card-body.top-line {
    border-top: 1px solid rgba(0, 0, 0, .125);
}

.top-line-m {
    margin: 1rem -1.25rem;
    border-top: 1px solid rgba(0, 0, 0, .125);
}

a.add {
    color: #79b22b !important;
}

a.edit {
    color: #FFC107 !important;;
}

a.delete {
    color: #E34724 !important;;
}

.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 5px;
    right: 5px;
    display: none;
    z-index: 99999;
}

.back-to-top.display-block {
    display: inline !important;
}

.tooltip-inner {
    min-width: 100px;
    max-width: 100%;
}

.tooltip-inner ul {
    list-style-type: none;
    list-style-position: outside;
    margin: 5px 0;
    padding: 0;
}

.c3-lines path {
    stroke-width: 6px !important;
}

.hidden-true {
    display: none;
}

.color-waerme {
    color: rgb(227, 6, 19)
}

.color-waerme-bg {
    background-color: rgb(227, 6, 19)
}

.color-strom {
    color: rgb(255, 204, 0)
}

.color-strom-bg {
    background-color: rgb(255, 204, 0)
}

.color-wasser {
    color: rgb(0, 159, 227)
}

.color-wasser-bg {
    background-color: rgb(0, 159, 227)
}

.color-abfall {
    color: rgb(0, 124, 52)
}

.color-abfall-bg {
    background-color: rgb(0, 124, 52)
}

.faktor-edit {
    position: absolute;

}

.faktor-edit a {
    position: relative;
    left: 15px;
    top: 15px;
    padding: 12px;
    z-index: 1;
}

.faktor-edit a i {
    position: absolute;
    font-size: 0.8em;
    color: lightgray;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

.select2-filter option {
    display: none
}

.root-card {
    height: 400px;
    transition: border-color 500ms ease;
}

.root-card:hover {
    border: 2px solid #79b22b;
}

.root-card h1 {
    margin: auto;
}

.alert-secondary {
    color: #383d41;
    background-color: #f3f3f3;
    border-color: #d6d8db
}

.alert-secondary hr {
    border-top-color: #c8cbcf
}

.alert-secondary .alert-link {
    color: #202326
}

.nav-tabs .nav-item {
    white-space: nowrap;
}

.nav-jumper {
    font-style: italic;
    font-weight: 800;
}

.schul-switch {
    padding: 0;
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.jetzt-neu {
    position: absolute;
    background: #79b22b;
    right: -22px;
    font-size: 45%;
    top: -11px;
}

.logo-link {
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.logo-link img {
    max-height: 27px;
}

.logo-link img.fix {
    padding-top: 2px;
    padding-bottom: 2px;
}

@media only screen and (max-width: 991px) {
    .logo-link img {
        max-height: 20px;
    }

    .jetzt-neu {
        font-size: 40%;
        right: -10px;
        top: -11px;
    }
}

.logo-link:hover {
    transform: scale(1.05);
    opacity: 0.85;
    cursor: pointer;
}