﻿html .header .header-logo {
    text-align: right;
    width: 120px !important;
    margin-left: -60px;
}

.theme-light .header .header-logo {
    background-image: url(../app/icons/app_32.png) !important;
    background-position: left center;
}

.theme-dark .header .header-logo {
    background-image: url(../app/icons/app-white.png) !important;
    background-position: left center;
}

.theme-light .header .header-logo {
    color: #000 !important;
}

.theme-dark .header .header-logo {
    color: #fff !important;
}

.button-add-task {
    position: relative;
    top: 5px;
    white-space: nowrap;
}

.add-task-form .first-row {
    max-width: 100% !important;
    box-sizing: border-box;
}

.add-task-form .first-row .col-11 {
    padding-right: 0px !important;
}

.add-task-form .first-row .col-1 {
    padding-left: 5px !important;
}

body {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    height: 100vh;
}

.page-content {
    min-height: 80vh;
}

#page {
    height: 100%;
}

.android #DueDate, .android #TaskDeadline, .android #DueTime {
    padding-top: 10px;
    font-size: 1em !important;
    line-height: 1em !important;
}

.add-task-form .image-preview-container .col {
    position: relative;
}

.add-task-form .image-preview-container .col .close-menu {
    position: absolute;
    right: 13px;
    top: 9px;
}

.add-task-form .image-preview-container .col .close-menu i {
    margin: 0px;
    padding: 0px;
    position: relative;
    line-height: 20px;
    top: -9px;
    left: -2px;
    color: white;
}

.date-row {
    margin: 0px !important;
    display: flex;
}

.date-row, #DueDate, #DueTime {
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

.date-row-col.col-left {
    display: flex;
    flex-wrap: nowrap;
    margin-right: 10px;
    justify-content: flex-start;
    align-items: center;
}

.col-right.date-row-col {
    flex-wrap: nowrap;
    display: flex;
}

.date-row .col-4 {
    width: 70px !important;
    line-height: 4em !important;
    padding-left: 0px !important;
}

.date-row .col-8 {
    padding-left: 0px !important;
    padding-right: 0px !important;
    width: calc(100% - 70px);
}

.due-interval-selection a {
    width: 45px;
    height: 100%;
    line-height: 45px;
}

.due-interval-selection {
    margin: 0px 0px 0px 10px
}

.date-row span.row-cell {
    line-height: 45px;
    margin-right: 10px;
}

@media (max-width: 478px) {
    .date-row span.row-cell {
        line-height: 35px;
    }
    .card-style {
        margin-left: 8px;
        margin-right: 8px;
    }
    .card>.content {
        margin: 20px 10px 20px 10px;
    }
    .due-interval-selection a {
        width: 35px;
        height: 100%;
        line-height: 35px;
    }
    .due-interval-selection a {
        min-width: 45px;
        line-height: 35px;
    }
    .task-progress-bar {
        top: 0px!important
    }
}

.date-row-col .stepper input {
    height: 100%;
    text-align: center;
    width: 42px;
}

.input-style.has-borders input, .input-style.has-borders select {
    height: 45px;
}

.button-add-task {
    max-width: 200px;
}

.date-row .stepper {
    width: auto !important;
    height: 45px;
}

.date-row .stepper a {
    width: 45px;
    height: 45px;
    line-height: 45px;
}

@media (max-width: 478px) {
    .date-row .stepper {
        width: 105px;
        height: 35px;
    }
    .date-row .stepper a {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    .date-row span.row-cell {
        line-height: 35px;
    }
    .card-style {
        margin-left: 8px;
        margin-right: 8px;
    }
    .due-interval-selection a {
        width: 35px;
        height: 100%;
        line-height: 35px;
    }
    .due-interval-selection a {
        min-width: 35px;
        line-height: 35px;
    }
    .date-row-col .stepper input {
        width: 33px !important;
    }
    .date-row {
        flex-direction: column;
    }
    .col-right.date-row-col {
        margin-top: 1em;
    }
}

.android #DueDate {
    width: 200px;
}

.android #DueTime {
    width: 100px;
}

.input-style.mb-0 {
    margin-bottom: 0px !important;
}

@media (max-width: 439px) {
    .bp-400 .m-text {
        display: none;
    }
    .bp-400 .d-text {
        display: inherit;
        font-size: 0.8em;
    }
}

@media (min-width: 440px) {
    .bp-400 .m-text {
        display: none;
    }
    .bp-400 .d-text {
        display: inherit;
    }
}

@media (max-width: 699px) {
    .bp-700 .m-text {
        display: inherit;
        font-size: 0.8em;
    }
    .bp-700 .d-text {
        display: none;
    }
}

@media (min-width: 700px) {
    .bp-700 .m-text {
        display: none;
    }
    .bp-700 .d-text {
        display: inherit;
    }
    .due-interval-selection a {
        min-width: 55px;
        height: 100%;
        line-height: 45px;
        white-space: nowrap;
        padding-left: 5px !important;
        padding-right: 5px !important;
        overflow: visible !important;
        display: block;
    }
}

.date-row-col .stepper input {
    height: auto;
    text-align: center;
    width: 42px;
    padding-top: 5px;
}

@media (max-width: 478px) {
    .android #TaskDeadline, .android #DueDate, .android #DueTime {
        padding-top: 15px !important;
    }
    .date-row-col .stepper input {
        padding-top: 1px;
    }
    .date-row .row-label {
        width: 4em;
    }
    .date-row-col.col-left, .col-right.date-row-col {
        margin-bottom: 10px;
    }
    .date-row:not(.time-row) {
        margin-bottom: 10px !important;
    }
}

#options1 {
    padding-bottom: 2em;
}

.date-row .col-left .row-label {
    min-width: 4em;
    white-space: nowrap;
}

.date-row .input-style {
    margin-bottom: 0px !important;
}

.upload-task-image-text {
    padding-bottom: 2.6em !important;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: 'Always Show Up/Down Arrows';
    opacity: 1;
    margin: 1px !important;
    min-height: 1.5em;
}

#TaskDescription:empty:before {
    content: attr(placeholder);
    color: #555;
}

.upload-file-text, input[type=file] {
    cursor: pointer;
}

.alert strong {
    display: block;
    padding-top: 10px;
    max-height: 80vh;
    overflow: auto;
}

/* Toasts */

html body .toast-tiny.app-toast {
    width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-align-center {
    text-align: center;
}

html body .confirm-page-buttons {
    position: relative;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

button.btn-full {
    width: 100%;
}

html body .login-action-sheet .custom-control.ios-switch {
    margin-top: 0px !important;
}

html body .login-action-sheet .custom-toggle-container {
    position: relative;
    top: 7px;
}

html .menu-box-bottom {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.app-additional-buttons {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    align-items: center;
    justify-content: space-between;
}

@media (max-width:448px) {
    .app-additional-buttons .btn {
        margin-bottom: 20px;
    }
}

html body .menu-box-bottom.menu-box-detached {
    bottom: 10px;
}

.close-menu {
    cursor: pointer;
}

@media (min-width:479px) {
    .date-row:not(.time-row) {
        margin-bottom: 20px !important;
    }
}

.add-task-form .list-custom-small a.other-options {
    border-top: solid 1px rgba(0, 0, 0, 0.05);
    border-bottom: 0px;
}

.add-task-form .list-custom-small a.other-options.collapsed {
    border-bottom: solid 1px rgba(0, 0, 0, 0.05);
}

.add-task-form .list-custom-small a.due-date-options {
    border-bottom: 0px none;
    border-top: solid 1px rgba(0, 0, 0, 0.05);
}

#collapse4 {
    border-bottom: solid 1px rgba(0, 0, 0, 0.05);
}

.image-preview-container i.fa-times-circle {
    border-radius: 20px;
    background-color: white;
}

.simple-editor:focus {
    height: 150px;
    transition: all 250ms ease !important;
}

.simple-editor {
    overflow: auto;
    height: 50px;
}

.simple-editor-container {
    overflow: hidden;
    position: relative;
}

.accordion-btn-task-options {
    border-bottom: solid 1px rgba(0, 0, 0, 0.05);
}

.list-custom-large a i.fa-2x:last-child {
    font-size: 2em !important;
}

.upload-file-container {
    border-bottom: solid 1px rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
}

.upload-file-container .file-name {
    white-space: nowrap;
    max-width: calc(100% - 180px);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-file-container>a {
    border-bottom: 0px none;
}

html body .list-custom-large a em {
    margin-right: 2em;
}

html body .list-custom-large a em i:first-child {
    width: 11px;
    height: 11px;
    line-height: 11px;
    margin-top: 0px;
    text-align: center;
    float: none !important;
    margin-right: 5px;
}

.anonymous .side-menu-button, .anonymous .edit-account-menu-button, .anonymous .account-settings, .anonymous .logout-action {
    display: none;
}

.profile-picture-container {
    position: relative;
    width: 100px;
    height: 100px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 5px 30px 0 rgb(0 0 0 / 11%), 0 5px 15px 0 rgb(0 0 0 / 8%) !important;
}

.profile-picture-container:hover .add-profile-picture {
    display: none;
}

.profile-picture-container input {
    position: absolute;
    height: 80px;
    width: auto;
    left: -70px;
    top: 40px;
    z-index: 2;
    opacity: 0;
}

.profile-picture-container img {
    width: 100%;
    /* height: 100%; */
}

.portrait-image img {
    height: auto;
    width: 100%;
}

.landscape-image img {
    width: auto;
    height: 100%;
    margin-left: -50px;
}

.add-profile-picture {
    position: absolute;
    left: 37px;
    top: 76px;
    opacity: 0.4;
    color: black;
    display: none;
    cursor: pointer;
}

.add-profile-picture i {
    font-size: 25px;
}

.account-title-container {
    width: calc(100% - 150px);
}

@media (max-width:460px) {
    .profile-picture-container {
        width: 70px;
        height: 70px;
    }
    .account-title-container {
        width: calc(100% - 120px);
    }
    .landscape-image img {
        width: auto;
        height: 100%;
        margin-left: -35px;
    }
    .add-profile-picture {
        top: 55px;
        left: 27px;
    }
    .add-profile-picture i {
        font-size: 18px;
    }
    .page-accountedit h1 {
        font-size: 20px;
    }
}

.profile-picture-upload-progress {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

img.profile-picture-thumb {
    height: 70%;
    border-radius: 50%;
    margin-right: 10px;
}

.android .header .header-logo {
    background-position: left 10px;
}

/* 
.android body .header{ padding-top:25px; height: calc(75px + (env(safe-area-inset-top))*0.8) !important;}
.android .header-clear-medium {
    padding-top: calc(100px + (env(safe-area-inset-top))*0.8) !important;
}

.android  body #SideMenu i { position: relative; top:5px !important}

.android body .menu-box-left { top: calc(25px + env(safe-area-inset-top))  !important;
height: calc(100vh - 25px - env(safe-area-inset-top))} */

html body .header {
    top: calc(10px+env(safe-area-inset-top)*2.8) !important;
    height: calc(50px + (env(safe-area-inset-top))*0.8) !important;
}

html body .header-clear-medium {
    padding-top: 70px !important;
}

html body .page-content {
    padding-bottom: 80px !important;
}

html body #footer-bar {
    min-height: 60px !important;
}

.side-menu-profile-picture img {
    width: 43px;
    border-radius: 30%;
}

#SystemInfo {
    max-height: 15em;
    overflow: auto;
}

.confirm-page-buttons {
    text-align: center
}

.confirm-page-buttons .btn {
    display: inline-block;
}

/* Tasks page */

.task-stats div.stats-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    padding: 10px 1rem !important;
}

.task-list .task .checkbox-done {
    display: none;
}

.task-list .task.status-2 .checkbox-done, .task-list .task.status-3 .checkbox-done {
    display: block;
}

.task-list .task.status-2 .checkbox-open, .task-list .task.status-3 .checkbox-open {
    display: none;
}

.task .checkbox-done {
    width: 32px;
    height: 32px;
    line-height: 32px;
    margin-top: 21px;
    text-align: center;
    float: left;
    margin-right: 15px;
}

.task .cell-name span, .task .cell-name strong {
    position: static !important;
    display: block;
    line-height: 1em;
    margin: 0px !important;
}

.task .cell-name strong {
    padding-top: 3px;
    word-break: break-all;
}

.task span.badge {
    position: static;
    margin: 0px;
}

.list-custom-large a.task {
    display: block;
}

.list-custom-large a.task .cell-arrow i:last-child {
    float: none;
    margin: 0px;
    width: 5px;
}

.task .cell-prio {
    visibility: hidden;
}

.task .cell-prio.prio-2, .task .cell-prio.prio-3 {
    visibility: visible;
}

.task .prio-3 span.badge, span.badge.prio-3 {
    background-color: #DA4453 !important;
    color: white;
}

.task .prio-2 span.badge, span.badge.prio-2 {
    background-color: #F6BB42 !important;
    color: white;
}
.today-task-list span.badge.prio-1, .today-task-list span.badge.prio-0 { display: none; }
.task .cell-deadline span.badge {
    color: #6c6c6c;
    font-size: 12px;
}

.task .cell-deadline {
    min-width: 130px;
    text-align: right;
}

.task.overdue-true .cell-name, .task.overdue-true .cell-deadline {
    color: #DA4453 !important;
}

.task .cell-prio {
    min-width: 80px;
    text-align: right;
}

.task .cell-name {
    position: relative;
}

.task .cell-name label {
    position: relative;
    left: 0px;
    top: 0px;
    display: block;
    padding-left: 30px;
}

/* Fancy todo checkboxes */

.todo {
    position: relative;
}

.todo__state {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.todo__text {
    /*color: saturate(#1B4A4E,15%);*/
    transition: all 0.4s linear 0.4s;
}

.todo__icon {
    position: absolute;
    top: -2px;
    bottom: 0;
    left: 0px;
    width: auto;
    height: 30px;
    margin: auto;
    fill: none;
    stroke: #27FDC7;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
}

@media (max-width:799px) {
    html .task .todo__icon {
        width: auto;
        height: 30px;
    }
}

.todo__line, .todo__box, .todo__check {
    transition: stroke-dashoffset 0.4s cubic-bezier(.9, .0, .5, 1);
}

.todo__circle {
    stroke: green/*#27FDC7*/
    ;
    stroke-dasharray: 1 6;
    stroke-width: 0;
    transform-origin: 13.5px 12.5px;
    transform: scale(0.4) rotate(0deg);
    animation: none 0.8s linear;
    /*//cubic-bezier(.08,.56,.04,.98);*/
}

@keyframes explode {
    0% {
        stroke-width: 0;
        transform: scale(0.5) rotate(0deg);
    }
    30% {
        stroke-width: 3;
        stroke-opacity: 1;
        transform: scale(0.8) rotate(40deg);
        animation-timing-function: cubic-bezier(.89, .01, .95, .51);
    }
    100% {
        stroke-width: 0;
        stroke-opacity: 0;
        transform: scale(1.1) rotate(60deg);
        animation-timing-function: cubic-bezier(.08, .56, .04, .98);
    }
}

.todo__box {
    stroke-dasharray: 56.1053, 56.1053;
    stroke-dashoffset: 0;
    transition-delay: 0.16s;
}

.todo__check {
    stroke: #27FDC7;
    stroke-dasharray: 9.8995, 9.8995;
    stroke-dashoffset: 9.8995;
    transition-duration: 0.32s;
}

.todo__line {
    stroke-dasharray: 168, 1684;
    stroke-dashoffset: 168;
    stroke-width: 1;
    opacity: 0.8;
}

.todo__circle {
    animation-delay: 0.56s;
    animation-duration: 0.56s;
}

.status-done .todo__text {
    transition-delay: 0s;
    color: darkgreen !important;
    opacity: 0.8 !important;
}

.status-done .todo__icon .todo__box {
    stroke-dashoffset: 56.1053;
    transition-delay: 0s;
}

.status-done .todo__icon .todo__line {
    stroke-dashoffset: -8;
}

.status-done .todo__icon .todo__check {
    stroke-dashoffset: 0;
    transition-delay: 0.48s;
}

.status-done .todo__icon .todo__circle {
    animation-name: explode;
}

.task-list .badge-mod-date {
    display: none
}

.task-list .status-done .badge-mod-date {
    display: block;
}

.task-list .status-done .badge-mod-date:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    margin-right: 3px;
}

.task-list .status-done .badge-deadline {
    display: none;
}

.task-list .task .checkbox-simulator {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    width: 30px;
    z-index: 10;
}

.task-action-sheet .details-1 strong {
    min-width: 5em;
    display: inline-block;
}

.task-action-sheet .task-prio .prio-3 .badge {
    background-color: #DA4453;
}

.task-action-sheet .task-prio .prio-2 .badge {
    background-color: #F6BB42;
}

.task-action-sheet .task-prio .prio-1 .badge {
    background-color: #4A89DC;
}

.task-action-sheet .task-prio .prio-0 .badge {
    background-color: #8CC152;
}

.task-action-sheet .task-deadline .badge {
    color: #6c6c6c;
}

.task-action-sheet, .task-action-sheet .content {
    overflow: visible;
}

/* .task .d-flex { border:solid 1px blue;  }
.task svg { border:solid 1px red;}
.task .checkbox-simulator { border:solid 1px green;} */

@media (max-width:500px) {
    .task-stats .card {
        border-radius: 10px;
        margin-bottom: 5px !important;
    }
    html body .task-stats div.stats-wrap {
        padding: 2px 10px !important;
    }
    html body .stats-wrap h4:not(.stat-number) {
        font-size: 0.7rem !important;
        font-weight: 500;
    }
    html body .stats-wrap h4.stat-number {
        font-size: 1.2rem !important;
        font-weight: 600;
        position: relative;
        top: -1px;
    }
    html body .task-stats .row .col-3 {
        padding-left: 0.2rem !important;
        padding-right: 0.2rem !important;
    }
    html body .task-stats .row .col-3:first-child {
        padding-left: 0.3rem !important;
    }
    html body .task-stats .row .col-3:last-child {
        padding-right: 0.3rem !important;
    }
    html body .task-stats {
        margin: 0px 15px 15px 15px !important;
    }
    html body .page-tasks .tasks-filter {
        line-height: 25px;
    }
    html body .page-tasks .tasks-filter a:first-child {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }
    html body .page-tasks .tasks-filter a:last-child {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    html body .page-tasks .list-custom-large a {
        line-height: 1;
        padding: 10px 0px;
    }
    html body .page-tasks h1 {
        font-size: 20px;
    }
    html body .task .d-flex {
        flex-wrap: wrap;
    }
    html body .task .cell-name {
        flex-basis: 80%;
        /* padding-bottom: 10px; */
    }
    html body .task .cell-prio {
        flex-basis: 20%;
        text-align: right;
        min-width: auto !important;
        align-self: baseline !IMPORTANT;
    }
    html body .task .cell-deadline {
        flex-basis: 90%;
        text-align: left;
        padding-left: 30px;
        min-width: auto !important;
    }
    html body .page-habits .task .cell-deadline { flex-basis: auto !important; }
    html body .page-habits .task .cell-actions { width: auto !important; }
    html body .task .cell-arrow {
        flex-basis: 10%;
    }
    html body .task .todo__icon {
        bottom: auto;
        top: 3px;
    }
    html body .task .cell-deadline span.badge {
        padding-left: 0px;
        text-align: left !important;
    }
    html body .task .cell-deadline span.badge:before {
        content: "\f133";
        font-family: "Font Awesome 5 Free";
        margin-right: 5px;
        display: inline-block;
    }
    html body .xs-fullwidth {
        border-radius: 0px;
        margin-left: 0px;
        margin-right: 0px;
        margin-bottom: 15px;
    }
    html body .xs-fullwidth .content {
        margin: 10px 10px 10px 10px;
        margin-bottom: 10px !important;
    }
    html body .add-task-form .button-container, html body .share-form .button-container {
        display: block !important;
    }
    html body .home-thumbs a .card p.font-10 {
        display: none;
    }
    html body .home-thumbs a .card p.font-11 {
        margin-bottom: 20px !important;
    }
    html body .home-thumbs a .card i.fa {
        margin-top: 1.5rem !important;
    }
    html body .task-action-sheet .task-buttons a.action-button {
        padding: 5px 10px !important;
    }
    html body .task-action-sheet .task-meta {
        width: 115px;
        flex-wrap: wrap;
    }
    html body .task-action-sheet .task-meta .task-prio, html body .task-action-sheet .task-meta .task-deadline {
        text-align: right;
    }
    html body .task-action-sheet .task-title {
        word-break: break-all;
    }
    html body .task-action-sheet .btn-group .btn-icon i {
        line-height: 28px;
    }
    html body .external-editor-container {
        height: 70vh;
    }
    .external-editor-container .note-toolbar>.note-btn-group {
        margin-right: 1px !important;
    }
    .external-editor-container .note-editor .note-toolbar {
        margin-left: 0px !important;
        margin-right: 0px !important;
        padding-left: 2px !important;
    }
}

.task-info-panel .image-preview-container img {
    box-shadow: 0 1px 5px 0 rgb(0 0 0) !important;
    border-radius: 0px !IMPORTANT;
}

.task-action-sheet .auto-scroll {
    max-height: 50vh;
    overflow: auto;
    /* min-height: 9em; */
}

.task-info-panel .image-preview-container {
    padding: 0px 5px;
}

.task-info-panel .list-custom-large a i:first-child {
    margin-top: 3px;
}

.task-info-panel .attachments-list a>.file-name {
    position: static !important;
    max-width: calc(100% - 110px);
}

.task-info-panel .upload-file-container {
    padding-bottom: 5px;
    padding-top: 3px;
}

.task-info-panel .upload-file-container>a {
    line-height: 40px;
}

.task-action-sheet .undo-button {
    display: none;
}

.task-action-sheet .status-done .complete-button, .task-action-sheet .status-done .badge-prio, .task-action-sheet .status-done .badge-deadline, .task-action-sheet .status-open .badge-completion-date {
    display: none;
}

.task-action-sheet .status-done .undo-button, .task-action-sheet .status-done .badge-completion-date {
    display: block;
}

.task-action-sheet .status-done .status-marker {
    color: darkgreen;
}

.task-action-sheet .status-open .status-marker {
    display: none;
}

.color-green, .task-action-sheet .task-deadline .badge.color-green {
    color: darkgreen;
}

.text-align-left {
    text-align: left;
}

.btn-group .btn {
    box-shadow: none;
}

.btn-group .btn-icon i {
    left: auto;
    right: 0px;
    line-height: 34px;
}

.btn-group .btn-icon {
    padding-right: 50px !important;
    padding-left: 20px !important;
}

.btn-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.dropdown-menu span.time {
    float: right;
}

.btn-group.open>.btn {
    outline: none !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

.task-action-sheet .dropdown-menu {
    bottom: 38px !important;
    width: 100%;
    right: 0;
    display: none;
    float: left;
    margin: 2px 0 0;
    margin-top: 1px;
    display: block;
    min-width: 250px;
}

.task-action-sheet .dropdown-menu, .dropdown-menu-snooze {
    position: absolute;
    z-index: 15;
    padding: 5px 0;
    list-style: none;
    font-size: 13px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid transparent;
    border-radius: 2px;
    -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    background-clip: padding-box;
    box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
    -webkit-transition: all;
    -o-transition: all;
    transition: all;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transform-origin: top left;
    -moz-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
}

.btn-group.open>.dropdown-menu, .dropdown-menu-snooze.active {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    filter: alpha(opacity=100);
    display: block;
}

.btn-group>a {
    margin-bottom: 0px;
}

.btn-group .dropdown-menu>li>a, .dropdown-menu-snooze>li>button {
    color: #4C4C4C;
}

.dropdown-menu li a {
    display: block;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    padding: 8px 17px !important;
    -webkit-transition: background-color;
    -o-transition: background-color;
    transition: background-color;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
}

.dropdown-menu li>a:hover, .dropdown-menu li>a:focus, .dropdown-menu-snooze li:hover, .dropdown-menu-snooze li:focus {
    text-decoration: none;
    color: #333333;
    background-color: rgba(0, 0, 0, 0.075);
}

.dropdown-menu .group-title {
    padding: 8px 17px !important;
    font-weight: 500;
}

.dropdown-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.dropdown-menu ul li a {
    padding-left: 30px !important;
}

.dropdown-menu ul li a i {
    margin-right: 5px;
}

.debug-info {
    display: none;
}

.debug-info.show {
    display: flex;
}

.anonymous #footer-bar {
    display: none;
}

.debu-info li pre {
    white-space: pre-line;
}

.debug-info li.msg-error {
    color: red;
}

.debug-info li.msg-warn {
    color: orangered;
}

.debug-info li.msg-info {
    color: maroon;
}

.task-action-sheet.shared-data .list-custom-large a i:first-child {
    margin-top: 0px !important;
}

.shared-data .button-container .btn {
    max-width: 250px;
}

.links-list i {
    width: 30px;
}

.list-custom-small.links-list a.link-url {
    border-bottom: 0px none;
}

.list-custom-small.links-list {
    line-height: 1;
}

.links-list .link-row {
    /* border-bottom: solid 1px rgba(0, 0, 0, 0.05);
    padding-top: 10px;
    padding-bottom: 10px; */
    margin-bottom: 10px;
    padding: 10px 10px 0px 10px;
    border-radius: 10px;
    border: solid 1px;
    border-color: transparent;
}

.links-list a.link-url {
    flex-basis: 100%;
}

.links-list span {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 10px;
}

.list-custom-small.links-list a.link-url>i:last-child {
    text-align: right;
    font-size: 14px;
    line-height: 1;
}

.list-custom-small.links-list a.link-url>i:first-child {
    font-size: 14px;
}

.links-list p.actions i {
    line-height: 1em !important;
    height: 1em !important;
}

.links-list p.actions {
    flex-basis: 100%;
    padding-bottom: 5px;
    padding-left: 0;
    padding-right: 30px;
    margin-top: 5px;
    margin-bottom: 0px;
}

.links-list p.actions a {
    font-weight: normal;
    line-height: 1.2em !important;
    border-bottom: 0px none;
    height: 1em !important;
}

.links-list p.actions b {
    margin-right: 1em;
    font-weight: normal;
    display: inline-block;
}

.links-list p.actions .button-delete {
    margin-right: 1em;
    display: inline-block;
    line-height: 1 !important;
}

@media (min-width:500px) {
    .links-list p.actions b, .links-list p.actions .button-delete {
        min-width: 10em;
    }
}

@media (max-width:499px) {
    .links-list p.actions {
        margin-top: 5px;
    }
}

.links-list p.actions i {
    margin: 0px 5px 0px 0px;
    width: auto;
    float: none
}

.links-list span strong, .links-list span p {
    line-height: 1.3;
    padding-bottom: 5px;
}

.links-list span p {
    margin: 0px;
    word-break: break-all;
}

.external-editor-button {
    position: absolute;
    left: 110px;
    top: 0px;
    z-index: 10;
    background-color: white;
    width: 20px;
}

.task-info-panel .external-editor-button {
    top: 4px;
}

.task-action-sheet .description-container {
    position: relative;
}

.external-editor-container {
    height: 280px;
    overflow: auto;
    border: solid 1px rgba(0, 0, 0, 0.05);
}

/* 
.external-editor-container .note-toolbar {
    padding:0px 5px !important;
    
}
.external-editor-container .note-toolbar .note-style 
,.external-editor-container .note-toolbar .note-fontname
,.external-editor-container .note-toolbar .note-color
,.external-editor-container .note-toolbar .note-table 
,.external-editor-container .note-toolbar .note-insert 
{
    display: none !important;
} */

.note-editor .dropdown-toggle::after {
    display: none;
}

.note-editor .note-toolbar .note-color-all .note-dropdown-menu, .note-popover .popover-content .note-color-all .note-dropdown-menu {
    min-width: 347px;
}

.menu .menu-title {
    position: relative;
}

#externalEditor.menu .menu-title>.close-menu {
    line-height: 75px !important;
}

.note-modal-backdrop {
    z-index: inherit !important
}

.btn {
    background-position: center;
    transition: background 0.8s;
    cursor: pointer;
    outline: none;
}

.btn:hover {
    background: radial-gradient(circle, transparent 1%, rgba(0, 0, 0, 0.15) 1%) center/15000%;
}

.btn:active {
    background-color: rgba(0, 0, 0, 0.8);
    background-size: 100%;
    transition: background 0s;
}

.page-task .simple-editor {
    min-height: 12em !important;
    outline: 0px none;
}

.page-task .input-style input[type=date] {
    width: 100%;
}

.edit-task-form.task-info-panel .upload-file-container>a {
    line-height: 50px;
}

.edit-task-form.task-info-panel .attachments-list {
    padding: 5px 0px;
}

.task-action-sheet #TaskDescription {
    min-height: 4em;
}

.image-preview-container img {
    max-width: 100%;
}

.task-action-sheet .image-cell .close-menu {
    display: none;
}

@media (max-width:450px) {
    .task-action-sheet .task-buttons>.col-4 {
        flex: 0 0 auto;
        width: 50%;
    }
}

.show-m, .show-s {
    display: none;
}

@media (max-width:560px) {
    .show-s {
        display: initial;
    }
}

@media (min-width:561px) {
    .show-m {
        display: initial;
    }
}

.task-action-sheet .upload-file-container .delete-button {
    display: none;
}

.page-task .accordion {
    border-bottom: solid 1px rgba(0, 0, 0, 0.05);
}

/* Progress bar */

.bar, .task-progress-bar {
    position: relative;
    border: 2px solid #0d96e0;
    border-radius: 20px;
}

.bar div, .task-progress-bar .task-progress {
    position: relative;
    width: 0;
    height: 9px;
    border-radius: 10px;
    background-color: #0d96e0;
}

.task-progress-bar {
    border-color: green;
    border-radius: 6px;
    border-width: 1px;
    top: -10px
}

.task-progress-bar .task-progress {
    background-color: green;
    height: 3px;
}

.task-progress {
    transition: width 1s ease-in-out;
}

.task-progress-bar.progress-0, .task-progress-bar.progress-100 {
    display: none;
}

.pogress-bar-container {
    padding: 15px 0px 10px 0px
}

.progress-info .range-slider {
    left: 0px;
    top: 12px;
    right: 0px;
}

.progress-info .classic-slider {
    border: 0px none
}

.progress-info .input-style.input-style-active label.progress-value {
    left: auto !important;
    right: 0px;
    padding: 0px !important;
}

.page-share .upload-file-container .file-name {
    position: static;
    margin-top: 0px;
    line-height: 26px !important;
}

html body .page-newtask .external-editor-button {
    left: 120px;
    top: 10px
}

.external-editor-button {
    line-height: 1em !important;
}

html body .page-task .external-editor-button {
    left: 105px;
    top: 10px;
    padding: 0px 10px;
    display: flex;
    justify-content: center
}

.app-version-info {
    text-align: right;
    line-height: 1em !important;
    margin: 0px !important;
    color: darkgrey;
    padding: 0px 1em !important;
}

.page-home {
    max-width: 800px;
}

.task-list a.task {
    width: 100%;
}

.task-list .cell-actions {
    width: 100px;
}

.task-list .cell-actions .action-button {
    margin: 0px 5px 0px 0px !important;
    padding: 3px !important;
    border: solid 1px transparent;
    border-color: transparent !important;
    border-radius: 3px;
    ;
}

a.task .cell-actions {
    display: none;
    
}
.page-habits a.task .cell-actions {
    display: flex;
    opacity: 0;
}

@media (min-width:960px) {
    a.task:hover .cell-actions {
        display: flex;
    }

  
}
.page-habits  a.task:hover .cell-actions {
    opacity: 1;    
}

.task-list .cell-actions .action-button, .task-list .cell-actions .action-button i {
    float: none;
    line-height: 1em;
}

.task-list .cell-actions .action-button i {
    margin: 0px !important;
    padding: 0px !important;
    width: 1em;
    height: 1em;
}

.task-list .cell-actions .action-button.icon:hover {
    color: initial;
    border-color: initial !important;
}

.task-list .dropdown-menu-snooze.active {
    display: block;
}

.task-list .dropdown-menu-snooze {
    display: none;
    position: absolute;
    min-width: 280px;
    top: 0px !important;
    left: auto !important;
    right: -20px !important;
}

.task-list .dropdown-menu-snooze li {
    line-height: 1em !important;
    padding: 8px 10px 8px 0px !important;
}

.task-list .dropdown-menu-snooze li i {
    margin: 0px 15px 0px 5px !important;
    width: 1em;
    height: 1em;
    line-height: 1em !important;
}

.task-list .dropdown-menu-snooze li span.time {
    margin-top: 0px !important;
    position: static !important;
    font-size: 13px;
}

.dropdown-menu-snooze>li>button {
    width: 100%;
    text-align: left;
    display: block;
}

.no-snooze-d .snooze-d-c {
    display: none;
}

.no-snooze-e .snooze-e-c {
    display: none;
}

.tasks-list-container .collapse {
    min-height: 17em;
}

.account-code {
    font-size: inherit;
    font-weight: bold;
}

.has-caption-false {
    display: none !important;
}

.note-editor.note-airframe {
    max-height: 30vh;
    overflow: auto;
}

.link-category .card-style {
    height: 100px;
}

@media (max-width:478px) {
    html body .note-editor.note-airframe {
        max-height: 60vh;
    }
    .link-category .card-style {
        height: 80px;
    }
    .link-category .card-style .icon-xxl {
        padding-left: 10px;
    }
    .link-category .card-style .icon-xxl i {
        width: 40px;
        line-height: 40px;
    }
    .link-category .link-category-count {
        top: 8px
    }
    .link-category h4 {
        font-size: 1rem;
        line-height: 1.05rem;
    }
}

.note-editor.note-airframe .note-editing-area {
    padding: 1em;
}

a.col-6.p-0.ui-droppable.ui-droppable-active.ui-droppable-hover {
    transform: scale(1.03);
}

.drag-handle {
    cursor: move;
}

.link-category-count {
    position: absolute;
    top: 18px;
    right: 1em
}

.link-category {
    position: relative;
    opacity: 0.81;
    transition: all 0.2s ease-in-out;
}

.link-category.selected {
    opacity: 1;
}

.link-category.selected h4:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-size: 16px;
    color: white;
    position: relative;
    display: inline-block;
    margin-right: 1em;
}

.input-dialog.menu-active {
    display: block;
}

.menu-active.menu {
    display: block;
}

.border-fade-aqua-dark {
    border-color: rgba(67, 74, 84, 0.7) !important;
}

.icons-selection, .colors-selection {
    height: 340px;
    overflow: auto;
    padding: 10px 10px 20px 10px;
}

a.icon-selector {
    display: inline-block;
    margin-left: 5px;
    margin-bottom: 5px;
    padding: 3px;
    border: solid 1px blue;
    border-radius: 10px;
    width: 30px;
    height: 30px;
    text-align: center;
}

a.icon-selector:hover {
    background-color: whitesmoke;
}

a.icon-selector.selected-icon {
    background-color: whitesmoke;
    transform: scale(1.5);
    margin: 10px;
}

span.current-selection-title {
    font-size: 13px;
}

a.color-selector {
    display: block;
    border: solid 1px rgb(0, 0, 0, 0.2);
    margin-bottom: 3px;
    padding: 4px 10px;
}

a.color-selector.selected-color {
    font-size: 19px;
    padding: 10px 10px;
}

.page-todo .task-name {
    position: relative;
    width: calc(100% - 30px);
}

.page-todo .task-name label {
    top: -22px;
}
.page-todo .task-selector {
    position: absolute;
    right: 0px;
    font-size: 20px;
    top: -1px;
    width: 30px;
    text-align: center;
    border-bottom: solid 2px rgba(0, 0, 0, 0.08);
}

.form-adding-tasks .first-row {
    position: relative;
    position: relative;
    overflow: visible;
}

.task-list-panel {
    position: absolute;
    display: none;
    top: 30px;
    clear: both;
    background-color: white;
    left: 0;
    right: auto;
    padding: 0px;
    width: 100%;
    max-height: 40vh;
    overflow: auto;
    box-shadow: 0px 2px 4px 0 rgb(0 0 0 / 25%);
    z-index: 10;
}

@media (max-width:738px) {
    html body .task-list-panel {
        width: 90vw;
    }
}

@media (max-width:600px) {
    html body .task-row-for-selection .left-col {
        width: calc(100% - 190px);
        overflow: hidden;
        text-overflow: ellipsis;
        /* background: yellow; */
        line-height: 1.2em;
        /* white-space: nowrap; */
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
    }
}

.card, .card-style {
    overflow: visible;
}

.task-row-for-selection .deadline, .task-row-for-selection i {
    float: right !important;
}

.task-list-panel a:hover {
    background-color: rgb(0 0 0 / 4%);
}

.task-list-panel a {
    padding: 0px 1em;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center
}

.task-row-for-selection>left-col {
    width: calc(100% - 140px);
}

.page-todo .buttons-row .btn-add-task {
    width: 200px
}

input::-webkit-textfield-decoration-container {
    min-height: 2em;
}

.edit-task-description {
    position: relative;
}

.edit-task-description::after {
    width: 20px;
    background-color: gainsboro;
    position: absolute;
    right: 0px;
    top: 0px;
    bottom: 0px;
    cursor: pointer;
    display: flex;
    content: "\f044";
    font-family: "Font Awesome 5 Free";
    align-items: center;
    justify-content: center
}

input.time-costs {
    border-width: 0px 0px 1px 0px;
}

.time-costs {
    width: 50px;
    margin-left: 1em;
}

span.time-costs.total-duration {
    display: inline-block;
}

.form-adding-tasks .task-name, .form-adding-tasks .task-duration {
    height: 30px;
    line-height: 30px;
}

.logfiles-stats .toolbar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin: 1em 0px;
    padding: 0.5em 0px;
}

.fancy-select-container {
    display: inline-block;
    margin-left: 1em;
}

.t-creation-date:before {
    content: "Datum: "
}

.t-deadline:before {
    content: "Fällig: "
}

.today-task-list {
    display: flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0px 8px;
}
.today-task-list .card.card-style {
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: calc(33.3% - 16px);
    margin:0px 8px 16px 8px;
}


@media (max-width:1240px){
    html body .today-task-list .card.card-style {
        flex-basis: calc(50% - 16px);
    }
}

@media (max-width:840px){
    html body .today-task-list {
        flex-direction: column;
    }
}

.t-description {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height:2em;
}

.page-todo .time-costs-total[value-str="0"],    
.page-todo .time-costs-total[value-str="0"]::-webkit-textfield-decoration-container{
    border: solid 2px red;
}
.page-todo .costs-today-0,.page-todo .costs-total-0{
    border: solid 1px red !important;
}


.today-task-list .card {
    background:-webkit-radial-gradient(top left, #ffffffFF, rgb(255,255,255,0.10));
}
.today-task-list .card:not(.initialized) .buttons .col-6 { display: none;}
.today-task-list .card:not(.initialized) .buttons .col-12 { display: block;}

.today-task-list .card.initialized {
    background:white !important
}


.today-task-list .card.initialized .buttons .col-12 { display: none;}


.search-box.diary-search-box .fa-search {
    left: 17px;
    
}