/*Write your custom css in this file.*/
.title-leave-balance {
    padding-right: 10px;
    font-size: 16px;
    font-weight: 600;
}
.timeline-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.timeline-images .file-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    place-content: center;
    align-items: center;
}
.nav-tabs.title .tab-title {
    line-height: 60px;
}

.check--all {
    justify-content: right;
    display: flex;
}
.float-left {
    float: left;
}
.font-size-16 {
    font-size: 16px;
}

.app-alert.alert-danger,  .app-alert.alert-success{
    z-index: 9999!important;
}

.kanban-clear-accepted {
    cursor: pointer;
}
.cursor-pointer {
    cursor: pointer;
}

.switch {
    position: relative;
    display: inline-block;
    width: 125px;
    height: 33px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/*input:checked + .slider {*/
/*    background-color: #2196F3;*/
/*}*/
/*input#toggle_view + .slider:before {*/
/*    transform: translateX(75px);*/
/*}*/
input#toggle_view:not(:checked) + .slider:before {
    transform: translateX(89px);
}

input#toggle_view:checked + .slider {
    padding-left: 30px;
}

input#toggle_view:not(:checked) + .slider {
    padding-right: 30px;
}

#list_view {
    display: none;
}

input#toggle_view:checked ~ #strip_view {
    display: block;
}

input#toggle_view:not(:checked) ~ #list_view {
    display: block;
}
.toggle-labels {
    display: flex;
    justify-content: space-between;
    width: 60px;
}

.label-off, .label-on {
    display: none;
}

input#toggle_view:not(:checked) ~ .toggle-labels .label-off {
    display: inline;
}

input#toggle_view:checked ~ .toggle-labels .label-on {
    display: inline;
}

#milestone-task-table .sub-task-icon, #task-table .sub-task-icon {
    padding: 1px 4px;
    margin-right: 5px;
}

#project-tasks_kanban-section .sub-task-icon {
    padding: 2px 3px;
}

.badge {
    margin-left: 3px;
    margin-right: 3px;
}

.tooltip.show {
    z-index: 9999;
}

.badge-task-url {
    margin-bottom: 1px;
    display: inline-block;
    caret-color: transparent!important;
    .badge {
        margin-right: 0;
        vertical-align: text-top;
        padding: 4px 3px 2px 3px;
        font-size: 75%;
        margin-top: 1px!important;
    }
}
.task-label {
    transition: all 0.5s;
    border-radius: var(--bs-border-radius) !important;
    color: #fff;
    padding: 1px 3px 1px 4px;
    cursor: pointer;
    line-height: 22px;
}
.task-url {
    display: inline-block;
}
.inlineNodeViewAddZeroWidthSpace {
    display: inline-block;
    height: 0;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

/* p:has(.badge-task-url) {
    display: inline-block !important;
} */

.aspect-square {
    aspect-ratio: 1;
}
button[type="submit"]:disabled {
    cursor: not-allowed;
}

.modal-header .modal-title {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 70%;
    overflow: hidden;
}

.modal-header .modal-title a {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

#page-view .page-title.clearfix,
.task-view-modal-body .page-title.clearfix {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

#page-view .page-title h1,
.task-view-modal-body .page-title h1 {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0;
    line-height: normal;
    flex: 1;
    min-width: 0;
}

#page-view .page-title .title-button-group,
.task-view-modal-body .page-title .title-button-group {
    flex-shrink: 0;
    margin-left: 15px;
    margin-bottom: 15px;
}

#page-view .page-title h1 a,
.task-view-modal-body .page-title h1 a {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
    display: inline-block;
    max-width: 80%;
}

.page-title h1 a,
.page-title h1 a:link,
.page-title h1 a:visited {
    flex: 0 1 auto !important;
}

.page-title .copy--link {
    display: flex;
    padding-top: 5px;
    align-items: center;
}

.app-popover .app-popover-arrow.left-arrow {
  left: -6px;
  right: unset;
  top: 30%;
  transform: translateY(-50%) rotate(135deg);
}

.app-popover .app-popover-arrow.right-arrow {
  right: -6px;
  left: unset;
  top: 30%;
  transform: translateY(-50%) rotate(-45deg);
}