﻿#schedulingchart,
#tasks-sidebar {
    /*    background-color: var(--pagecolor);
    padding: 10px 0 10px 0;*/
    height: 700px;
}

.planned-task {
    /*max-height: 30px;*/
    height: 34px;
    display: inline-block;
    overflow: hidden;
    border-radius: 3px 3px 0px 0px;
    background-color: transparent;
    opacity: 0.2;
    margin-top: 3px;
}

.planned-task-wrapper {
    padding: 8px;
    /*    color: #fff;*/
}

#schedulingchart-row {
    display: block;
    grid-template-areas: 'tasks-sidebar gantt-chart';
    grid-template-columns: 200px 1fr;
    column-gap: 10px;
    min-width: 1000px;
    min-height: 100%;
    width: 100%;
    height: 75vh;
    grid-auto-flow: row;
}


#tasks-sidebar {
    display: none;
    grid-area: tasks-sidebar;
    background-color: var(--menucolor);
    width: 200px;
}

#tasks-container {
    height: 661px;
}

#hide-tasks {
    float: right;
    padding: 10px;
}

.dx-viewport {
    grid-area: gantt-chart;
}


#hide-tasks {
    cursor: pointer;
}

.sidebar-task {
    cursor: pointer;
    margin-bottom: 10px;
    height: 40px;
    white-space: nowrap;
}


.sidebar-task-wrapper {
    /*margin: 6px;*/
    color: var(--normaltextcolor);
    /*margin: 5px 6px 6px 5px;*/
    padding: 5px;
}

.sidebar-task-title {
    font-weight: normal;
    font-size: 15px;
    overflow: hidden;
}

.sidebar-task-row {
    font-size: 15px;
    overflow: hidden;
}


#tasks-scrollable {
    overflow: auto;
    display: inline-block;
    margin: 0px 5px 0px 0px;
    width: 200px;
}

.custom-task {
    height: 98%;
    display: inline-block;
    overflow: hidden;
    position: absolute;
    margin-top: 1px;
    cursor: pointer;
}

.custom-task-wrapper {
    margin: 6px;
    color: var(--normaltextcolor);
    margin: 5px 6px 6px 5px;
}

    .custom-task-wrapper > * {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.custom-task-title {
    font-weight: normal;
    font-size: 15px;
}

.custom-task-row {
    font-size: 15px;
}

.custom-task-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.dx-gantt .dx-row {
    height: 39px;
}

.dx-widget {
    font-family: YanoneKaffeesatz !important;
    font-size: 17px; /* this is default font-size */
    font-weight: normal;
    line-height: normal;
    background-color: var(--menucolor) !important;
    color: var(--textcolor);
}

.dx-scrollable-scrollbar {
    background-color: transparent !important;
}

    .dx-scrollable-scrollbar.dx-state-hover,
    .dx-scrollable-scrollbar-active {
        background-color: var(--sectioncolor) !important;
    }

.dx-splitter {
    background-color: var(--sectioncolor);
}

    .dx-splitter.dx-splitter-inactive {
        background-color: var(--sectioncolor);
    }

.dx-gantt .dx-treelist-text-content:hover {
    color: var(--confirmcolor);
}

.now-strip { /* this is for the today stripline */
    border-left: 3px dashed var(--confirmcolor) !important;
}


.inactive-days {
    border-left: 1px dashed var(--sectioncolor) !important;
    border-right: 1px dashed var(--sectioncolor) !important;
    background-color: var(--sectioncolor) !important;
    opacity: 0.3 !important;
}

#schedulezoomin,
#schedulezoomout,
#schedulestartpage,
#scheduleprevpage,
#scheduleendpage,
#schedulenextpage,
#schedulenow {
    float: right;
    display: inline;
    padding-right: 15px;
    padding-top: 10px;
}



.schedulingchart-img:hover,
.schedulingchartsmall-img:hover {
    cursor: pointer;
}

.schedulingchart-img {
    width: 25px;
    height: 25px;
}


.schedulingchartsmall-img {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.dx-gantt .dx-gantt-main-wrapper {
    margin-top: 10px;
}


.separator-span {
    border-left: 2px solid var(--textcolor);
    padding-left: 12px;
    height: 35px;
    float: right;
    margin-right: 0px;
    margin-top: 5px;
}


.timelineinfo-tooltip {
    text-decoration: none;
    position: relative;
    display: none;
    z-index: 10000;
    border: none;
}


.customtask-tooltip {
    position: absolute;
    padding: 8px 12px;
    background-color: var(--sectioncolor);
    color: var(--normaltextcolor);
    border-radius: 0px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1000;
}
