.global-message {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999999;
    background: white;
}

.global-message[hidden] {
    display: none !important;
}

body {
    padding-bottom: 60px;
}

footer.controls {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #f5f5f5;
}

div.timeline-section {
    border: solid #ddd thin;
    padding: 0.25rem;
    margin-top: 0.25rem;
}

div.timeline-section img {
    max-height: 7em;
    max-width: 7em;
}


/* tasks */
.v-item span {
    grid-column: 2;
}

.v-item::before {
    font-family: bootstrap-icons !important;
    content: "\f26e";
    opacity: 0;
}

.v-item.selected::before {
    opacity: 1;
}

.v-item.selected {
    font-weight: bolder;
}


.navbar-task-filter .navbar-nav .dropdown-menu {
    position: absolute
}

.navbar-task-filter > ul {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    flex-direction: row;
    align-items: center;
}

.navbar-task-filter .dropdown-menu.show {
    overflow-y: auto;
    overflow-x: visible;
    max-height: 80vh;
}

.tasks-number-total {
    background: gainsboro;
    padding: 0 0.5rem;
}

.tasks-number-total>div {
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
}

/*.tasks-number-total>div>div {*/
/*    align-self: center;*/
/*}*/

.tasks-number-total>div:not(:last-child) {
    padding-left: 1.5rem;
    margin-left: 1.5rem;
    border-left: solid grey thin;
}

.ti-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    margin-bottom: 0.65rem;
    background: white;
    transition: border-color 0.25s ease-in-out;
    cursor: pointer;
}

.ti-item.important {
    background-color: #ffdcdc;

}

.ti-item:hover {
    box-shadow: 0 0 0.25rem grey;
    border-color: grey;
}

.ti-item > .ti-header input[type="checkbox"] {
    margin: 0 0.15rem 0 0.5rem;
}

.ti-item > .ti-header {
    display: flex;
}


.ti-checkbox input[type="checkbox"] {
    display: none;
}

.ti-checkbox {
    border-left: solid lightgray thin;;
    border-bottom: solid lightgray thin;;
    padding: 0.27rem;
    width: 1.5rem;
    border-radius: 0 0.25rem;
    cursor: pointer;
    color: white;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.ti-checkbox:hover {
    background: grey;
}

.ti-checkbox.selected {
    background: rgb(58, 71, 255);
}

.ti-item .ti-header span.ti-for-item {
    background: rgb(233, 233, 233);
    border-radius: 0.25rem;
    margin: 0 0.25rem;
    padding: 0 0.4rem;
}

.ti-tags {
    font-size: 75%;
    margin: 0.15rem 0.75rem;
}


.ti-item .ti-header span.ti-tag-item {
    background: #aca7a7;
    color: white;
    border-radius: 0.25rem;
    margin: 0 0.25rem;
    padding: 0 0.4rem;
}

.ti-item > .ti-subject {
    font-weight: bolder;
    font-size: 120%;
    padding: 0rem 0.5rem;
}

.ti-item > .ti-description {
    font-size: 105%;
    padding: 0rem 0.5rem;
}

.ti-item > .ti-date {
    border-top: solid #ddd thin;
    display: flex;
    font-size: 90%;
    gap: 1rem;
    background: rgb(233, 233, 233);
    padding: 0rem 0.5rem;
    align-items: center;
    border-radius: 0 0 0.25rem 0.25rem;
}

.ti-dep {
    flex-grow: 1;
    text-align: end;
    color: #5a4d9f;
    font-weight: bolder;
}

.ti-circle {
    background-color: #00ba00;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    /* background-color: #ddd; */
    box-shadow: 0 0 0.2rem 0.07rem rgba(0, 255, 0, 0.7);
    transition: background-color 0.3s ease-in-out;
    display: inline-block;
    margin-bottom: -0.10rem;
}


/* task-create-edit-view */
.tags-area {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    padding: 0.375rem 0.75rem 0.375rem 2.25rem;
    padding-top: 1.625rem;
}

.tags-area ~ label {
    opacity: .65;
    transform: scale(.85) translateY(-0.5rem) translateX(-0.15rem);
}

/* END task-create-edit-view */

/* settings */
.list-settings > li {
    list-style: none;
    border-bottom: solid grey thin;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 17rem;
}

.s-btn-group {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: 0.25rem;
}
.s-btn-group > button {
    padding: 0.1rem 0.5rem;
}

