.pointer {
    cursor: pointer
}

.move-row {
    cursor: row-resize;
}

.red {
    color: red
}

.orange {
    color: orange
}

.green {
    color: green
}

.transparent {
    opacity: 0;
}

.timetracker-list-task-name {
    font-size: 0.65em;
}

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

.row-delimiter-gray {
    background-color: #F5F5F5;
}

.img-preview-item-wrapper {
    position: relative;
}

.img-preview .img {
    width: 100%;
    padding-top: 100%;
    background-size: 100%;
}

.img-preview a.img {
    border: 1px solid #ced4da;
}

.img-preview a.delete, .file-preview a.delete {
    position: absolute;
    right: 7px;
    top: 3px;
    font-size: 1.5em;
    text-shadow: -0 -2px 2px #FFFFFF,
    0 -2px 2px #FFFFFF,
    -0 2px 2px #FFFFFF,
    0 2px 2px #FFFFFF,
    -2px -0 2px #FFFFFF,
    2px -0 2px #FFFFFF,
    -2px 0 2px #FFFFFF,
    2px 0 2px #FFFFFF,
    -1px -2px 2px #FFFFFF,
    1px -2px 2px #FFFFFF,
    -1px 2px 2px #FFFFFF,
    1px 2px 2px #FFFFFF,
    -2px -1px 2px #FFFFFF,
    2px -1px 2px #FFFFFF,
    -2px 1px 2px #FFFFFF,
    2px 1px 2px #FFFFFF,
    -2px -2px 2px #FFFFFF,
    2px -2px 2px #FFFFFF,
    -2px 2px 2px #FFFFFF,
    2px 2px 2px #FFFFFF,
    -2px -2px 2px #FFFFFF,
    2px -2px 2px #FFFFFF,
    -2px 2px 2px #FFFFFF,
    2px 2px 2px #FFFFFF;
}


.periodic-week {
    position: relative;
    display: flex;
    width: 100%;
    border-radius: 8px;
    height: 32px;
}

.periodic-week input[type='checkbox'] {
    display: none;
}

.periodic-week .week-day {
    position: relative;
    display: block;
    text-align: center;
    color: #495057;
    background-color: #fff;
    cursor: pointer;
    border: 1px solid #ced4da;
    border-radius: .25rem;

    margin: 0 2px;
    padding: 2px;
    width: 28px;
    min-width: 28px;

    transition: ease 0.1s;

    height: 28px;
    line-height: 22px;
}

.block-periodic-week label:nth-child(n+6) .week-day {
    background-color: #dc3545;
    color: #fff;
}

.periodic-week input:checked + .week-day {
    border-width: 2px;
    line-height: 20px;
    border-color: #000000;
}


.block-periodic-switch {
    position: relative;
    display: flex;
    width: 100%;
    border-radius: 8px;
    height: 32px;
    box-shadow: 0 0 0 1px #ced4da;
    border-radius: .25rem;
    margin: 0 0 8px 0;
}

.block-periodic-switch input[type='radio'] {
    display: none;
}

.block-periodic-switch label {
    position: relative;
    display: block;
    text-align: center;
    color: #495057;
    background-color: #fff;
    cursor: pointer;
    width: 50%;
    line-height: 32px;
}

.block-periodic-switch input:checked + .periodic-switch-item {
    background-color: #007bff;
    border-radius: .25rem;
    color: #fff;
}


.calendar-day {
    position: relative;
    display: inline-block;
    text-align: center;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    font-weight: 600;

    margin: 0 2px;
    min-width: 20px;

    height: 24px;
    line-height: 22px;
}

.project-time-badge {
    position: relative;
    display: inline-block;
    text-align: center;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    font-weight: 600;

    margin: 0 2px;
    min-width: 20px;
    padding: 0 4px;

    height: 24px;
    line-height: 22px;
}

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

.task-path-marker {
    width: 10px;
    height: 10px;
    border-left: #000000 solid 1px;
    border-bottom: #000000 solid 1px;
    margin: 0 5px 5px 0;
}

.block-task-breadscrumb {
    background-color: #e9ecef;
    border-radius: .25rem;
    padding: 0.25rem 0.5rem 0.25rem 1rem;
}

.card-project-item, .project-item {
    min-width: 1.8rem;
    border: #FFF solid 1px;
}

.card-project-item.selected, .project-item.selected {
    border: #BFBFBF solid 1px;
}

.task.hidden {
    display: none;
}

.crop-text-2 {
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.finance-list-project-icon {
    font-size: 2em;
    min-width: 1.15em
}

.operation-expense {
    background-color: #FFEAEA;
}

.operation-income {
    background-color: #E1FFE3
}

.operation-internal {
    color: #B9B9B9
}

.payment-del-btn {
    position: absolute;
    right: 10px;
    top: 2em;
}

.payment-hide-btn {
    position: absolute;
    right: 5px;
    top: 0;
}

.duration h4 {
    font-size: 1.2em;
}

.dd-items {
    max-height: 50vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

.dd-item {
    cursor: pointer;
}

.dd-item:hover {
    background-color: #f4f4f4;
}

/* bootstrap-selector with livesearch */
.bootstrap-select .dropdown-menu li a {
    white-space: normal;
}

table.border, table.border th, table.border td {
    border: 1px solid black;
    padding: 5px;
}

table.border caption {
    caption-side: top;
}

@media print {
    .header-container {
        display: none;
    }
}

a.btn i {
    line-height: inherit;
}

.img-preview-item-wrapper {
    margin-left: 0.5em;
}

.files-list-task-edit .img-preview-item-wrapper {
    margin-left: auto;
    margin-right: auto;
}

li.point-done {
    background-color: #ecfff0;
}
li.point-done .point-text {
    text-decoration: line-through;
}

.btn i.red {
    text-shadow:
            -0   -1px 1px #FFFFFF,
            0   -1px 1px #FFFFFF,
            -0    1px 1px #FFFFFF,
            0    1px 1px #FFFFFF,
            -1px -0   1px #FFFFFF,
            1px -0   1px #FFFFFF,
            -1px  0   1px #FFFFFF,
            1px  0   1px #FFFFFF,
            -1px -1px 1px #FFFFFF,
            1px -1px 1px #FFFFFF,
            -1px  1px 1px #FFFFFF,
            1px  1px 1px #FFFFFF,
            -1px -1px 1px #FFFFFF,
            1px -1px 1px #FFFFFF,
            -1px  1px 1px #FFFFFF,
            1px  1px 1px #FFFFFF;
}

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