.hide-no-js {
    display: none;
}

.navbar-nav .show .dropdown-menu.dropdown-overlap {
    position: absolute;
    float: none;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: #fff;
    right: 0;
    left: auto;
}

.navbar-nav {
    padding-right: 0;
}

.form-group > label[for^="id_"] {
    color: #4e73df !important;
    font-weight: 700 !important;
}

.plain-label-wrapper .form-group > label[for^="id_"] {
    color: inherit !important;
    font-weight: normal !important;
}

.full-label-half-input .form-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.full-label-half-input .form-group > label {
    flex: 0 0 100%;
    width: 100%;
    text-align: right;
}

.full-label-half-input .form-group > div {
    flex: 0 0 50%;
    max-width: 50%;
    margin-left: auto;
}

.form-check-reversed.custom-control {
    padding-left: 0;
}

.form-check-reversed .custom-control-label {
    width: 100%;
    padding-right: 1.75rem; 
}

.form-check-reversed .custom-control-label::before {
    left: auto;
    right: 0;
}

.form-check-reversed .custom-control-label::after {
    left: auto;
    right: 0;
}

table .td-min {
    width: auto;
    text-align: center;
    white-space: nowrap;
}

table .td-max {
    width: 100%;
}

.input-group ~ .invalid-feedback {
    display: block;
}

.bootstrap-datetimepicker-widget.dropdown-menu.wider {
    width: auto;
}

a.dashboard-link,
a.daashboar-link:hover {
    text-decoration: none;
}

.dropdown-list {
    max-height: calc(100vh - 100px);
}

.sidebar-heading {
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-group-no-border .list-group-item {
    border-top-width: 0;
    border-bottom-width: 0;
}

.avatar {
    width: 100%;
    aspect-ratio: 1/1;
    display: inline-block;
    background-clip: padding-box;
    background-size: cover;
    background-position: center center;
    border-radius: 50%;
}

.avatar-tiny {
    width: 25px;
    aspect-ratio: 1/1;
    display: inline-block;
    background-clip: padding-box;
    background-size: cover;
    background-position: center center;
    border-radius: 50%;
}

.tiny-avatar {
    width: 20px;
    aspect-ratio: 1/1;
    display: inline-block;
    background-clip: padding-box;
    background-size: cover;
    background-position: center center;
    border-radius: 50%;
}

.asteriskField {
    margin-left: 5px;
    opacity: .75;
}

.custom-marker-pin {
    width: 3rem;
    height: 3rem;
    display: block;
    left: -1.5rem;
    top: -1.5rem;
    position: relative;
    border-radius: 3rem 3rem 0;
    transform: rotate(45deg) !important;
    border: 1px solid #FFFFFF;
    background-color: #0069b4;
}

.leaflet-top,
.leaflet-bottom {
    z-index: 999 !important;
}

.bi-fw {
    font-style: normal;
    display: inline-block;
    font-size: .85rem;
    margin-right: .25rem;
    width: 13.6px;
    text-align: center;
}
.bi-mr {
    margin-right: 0.25em;
}
.bi-2x {
    font-size: 2em;
}
.bi-sm {
    font-size: .875em;
}
.bi-spin {
    -webkit-animation: bi-spin 2s linear infinite;
    animation: bi-spin 2s linear infinite;
}

.bi-muetime::before {
    content: "µ";
    font-weight: bold !important;
}

@-webkit-keyframes bi-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

@keyframes bi-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

.sidebar #sidebarToggle::after {
    content: '\F284';
    font-family: 'bootstrap-icons' !important;
}
.sidebar.toggled #sidebarToggle::after {
    content: '\F285';
}

.ml-auto .dropdown-menu {
    left: auto !important;
    right: 0px;
}

.text-line-trough {
    text-decoration: line-through;
}

.text-underline {
    text-decoration: underline;
}

.text-transparent {
    color: transparent;
    opacity: 0;
}

.text-purple {
    color: #e600ff;
}

.list-group-border > .list-group-item {
    margin-bottom: 0;
}

.border-left-grey, .border-left-gray {
    border-left: 0.25rem solid #C0C0C0;
}
.border-bottom-lightgrey, .border-bottom-lightgray {
    border-bottom: 1px solid #EDEDED;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0 !important;
    margin-left: .1rem;
    margin-right: .1rem;
}
@media (min-width: 992px) {
    .dropdown-submenu .dropdown-menu {
        right: 100% !important;
    }
}

a > .badge-counter {
    position: absolute;
    transform: scale(0.7);
    transform-origin: top right;
    right: 5%;
    margin-top: -.25rem;
}

.ec-event-title {
    color: inherit;
    font-size: 120%;
}

.select2-selection__choice {
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.day-entry {
    border-top: 2px solid #858799;
}
.day-entry-collapse {
    background-color: #FBFBFB;
    border-bottom: 2px solid #858799;
}

.work-entry.highlight, .work-entry-collapse.highlight {
    background-color: #F5F5F5;
}

.info-alert {
    margin-top: -1.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    font-weight: bold;
    border-bottom: 1px solid #dee2e6;
}

.badge-light-gray {
    color: #858796;
    background-color: #FBFBFB;
    font-weight: 500;
}

.btn-light-gray {
    color: #3a3b45;
    background-color: #eeeded;
}
.btn-light-gray:hover {
    color: #3a3b45;
    background-color: #e3e3e3;
}

.opacity-75 {
    opacity: .75;
}
.opacity-50 {
    opacity: .5;
}
.opacity-25 {
    opacity: .25;
}

.font-size-105 {
    font-size: 105%;
}
.font-size-110 {
    font-size: 110%;
}
.font-size-115 {
    font-size: 115%;
}
.font-size-120 {
    font-size: 120%;
}
.font-size-125 {
    font-size: 125%;
}
.font-size-150 {
    font-size: 150%;
}

.min-width-50px {
    min-width: 50px;
}
.min-width-100px {
    min-width: 100px;
}
.min-width-150px {
    min-width: 150px;
}
.min-width-200px {
    min-width: 200px;
}
.min-width-250px {
    min-width: 250px;
}
.min-width-300px {
    min-width: 300px;
}

:root {
    --percentage-bar-direction: to top;
    --percentage-bar-first-color: green;
    --percentage-bar-second-color: red;
    --percentage-bar-percentage: 0%;
}
.percentage-bar {
    color: transparent;
    background-clip: text;
    background-image: linear-gradient(
            var(--percentage-bar-direction),
            var(--percentage-bar-first-color) var(--percentage-bar-percentage),
            var(--percentage-bar-second-color) var(--percentage-bar-percentage));
}

.table-total-row {
    border-top: 1px solid #007bff;
    border-bottom: 4px double #007bff;
    font-weight: bold;
    background-color: #f8f9fa;
}

.codehilite { background: #f8f8f8; padding: .5em; border-left: 4px solid #C0C0C0;margin-bottom:1em; }
.codehilite > pre { margin-bottom: 0; }
.codehilite .hll { background-color: #ffffcc }
.codehilite .c { color: #408080; font-style: italic } /* Comment */
.codehilite .err { border: 1px solid #FF0000 } /* Error */
.codehilite .k { color: #008000; font-weight: bold } /* Keyword */
.codehilite .o { color: #666666 } /* Operator */
.codehilite .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
.codehilite .cm { color: #408080; font-style: italic } /* Comment.Multiline */
.codehilite .cp { color: #BC7A00 } /* Comment.Preproc */
.codehilite .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
.codehilite .c1 { color: #408080; font-style: italic } /* Comment.Single */
.codehilite .cs { color: #408080; font-style: italic } /* Comment.Special */
.codehilite .gd { color: #A00000 } /* Generic.Deleted */
.codehilite .ge { font-style: italic } /* Generic.Emph */
.codehilite .gr { color: #FF0000 } /* Generic.Error */
.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.codehilite .gi { color: #00A000 } /* Generic.Inserted */
.codehilite .go { color: #888888 } /* Generic.Output */
.codehilite .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.codehilite .gs { font-weight: bold } /* Generic.Strong */
.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.codehilite .gt { color: #0044DD } /* Generic.Traceback */
.codehilite .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.codehilite .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.codehilite .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.codehilite .kp { color: #008000 } /* Keyword.Pseudo */
.codehilite .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.codehilite .kt { color: #B00040 } /* Keyword.Type */
.codehilite .m { color: #666666 } /* Literal.Number */
.codehilite .s { color: #BA2121 } /* Literal.String */
.codehilite .na { color: #7D9029 } /* Name.Attribute */
.codehilite .nb { color: #008000 } /* Name.Builtin */
.codehilite .nc { color: #0000FF; font-weight: bold } /* Name.Class */
.codehilite .no { color: #880000 } /* Name.Constant */
.codehilite .nd { color: #AA22FF } /* Name.Decorator */
.codehilite .ni { color: #999999; font-weight: bold } /* Name.Entity */
.codehilite .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
.codehilite .nf { color: #0000FF } /* Name.Function */
.codehilite .nl { color: #A0A000 } /* Name.Label */
.codehilite .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
.codehilite .nt { color: #008000; font-weight: bold } /* Name.Tag */
.codehilite .nv { color: #19177C } /* Name.Variable */
.codehilite .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
.codehilite .w { color: #bbbbbb } /* Text.Whitespace */
.codehilite .mb { color: #666666 } /* Literal.Number.Bin */
.codehilite .mf { color: #666666 } /* Literal.Number.Float */
.codehilite .mh { color: #666666 } /* Literal.Number.Hex */
.codehilite .mi { color: #666666 } /* Literal.Number.Integer */
.codehilite .mo { color: #666666 } /* Literal.Number.Oct */
.codehilite .sa { color: #BA2121 } /* Literal.String.Affix */
.codehilite .sb { color: #BA2121 } /* Literal.String.Backtick */
.codehilite .sc { color: #BA2121 } /* Literal.String.Char */
.codehilite .dl { color: #BA2121 } /* Literal.String.Delimiter */
.codehilite .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.codehilite .s2 { color: #BA2121 } /* Literal.String.Double */
.codehilite .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
.codehilite .sh { color: #BA2121 } /* Literal.String.Heredoc */
.codehilite .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
.codehilite .sx { color: #008000 } /* Literal.String.Other */
.codehilite .sr { color: #BB6688 } /* Literal.String.Regex */
.codehilite .s1 { color: #BA2121 } /* Literal.String.Single */
.codehilite .ss { color: #19177C } /* Literal.String.Symbol */
.codehilite .bp { color: #008000 } /* Name.Builtin.Pseudo */
.codehilite .fm { color: #0000FF } /* Name.Function.Magic */
.codehilite .vc { color: #19177C } /* Name.Variable.Class */
.codehilite .vg { color: #19177C } /* Name.Variable.Global */
.codehilite .vi { color: #19177C } /* Name.Variable.Instance */
.codehilite .vm { color: #19177C } /* Name.Variable.Magic */
.codehilite .il { color: #666666 } /* Literal.Number.Integer.Long */
