﻿#tasks-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 10px;
    width: 100%;
    height: 100%;
}

    #tasks-container #tasks-list {
        border-right: solid #dedede 5px;
        width: 20%;
        /*max-width: 200px;
        min-width: 100px;*/
    }

    #tasks-container #task-form-container {
        position: relative;
        width: 70%;
        height: auto;
    }

    #tasks-container #task-form {
        padding: 20px;
        width: 100%;
    }

        #tasks-container #task-form h2 {
            font-size: 23px;
            font-weight: 400;
            padding: 0px;
            margin: 17px 0px 18px 0px;
        }

        #tasks-container #task-form h4 {
            font-size: 14px;
            font-weight: 600;
            padding: 0px;
            margin: 19px 0px 18px 0px;
        }

        #tasks-container #task-form p {
            font-size: 18px;
            font-weight: 400;
        }

    #tasks-container #tasks-list ol {
        padding: 0px;
    }

#task-form .taskActionExecuteDisabled {
    border: 1px solid #999999;
    background-color: #cccccc;
}


.task-item {
    cursor: pointer;
    padding-left: 10px;
    margin-top: 5px;
    margin-bottom: 25px;
    padding: 0px 15px 0px 10px;
}

    .task-item:hover {
        border-left: solid #CBE7E5 3px;
        padding-left: 15px;
    }

    .task-item.selected {
        border-left: solid #80A0C2 3px;
        padding-left: 15px;
    }

    .task-item p.header {
        font-size: 16px;
        font-weight: 600;
        margin-top: 0px;
        margin-bottom: 10px;
    }

    .task-item p.assignee, .task-item p.owner {
        margin-top: 0px;
        margin-bottom: 5px;
        font-size: 14px;
        font-weight: 200;
    }

    .task-item p.created-date {
        margin: 0px;
        float: left;
    }

#tasks-container #task-form-container .spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #80A0C2;
    width: 120px;
    height: 120px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -60px;
    margin-top: -60px;
}

.user-input-block.task-form {
    float: none !important;
    clear: none !important;
}

#main-content.entity-tasks .task-actions-list li:hover {
    color: #80A0C2;
}


#main-content #sidebar a.selected {
    background-color: #ABBFD4;
}

.task-actions .task-actions-list {
    list-style: none;
}

    .task-actions .task-actions-list li {
        display: inline;
        margin-left: 10px;
        margin-right: 10px;
        color: #596376;
    }

        .task-actions .task-actions-list li .task-action-element-container .task-action-element a,
        .task-actions .task-actions-list li .task-action-element-container .task-action-element .task-action-text {
            margin-left: 10px;
            color: #596376;
        }

        .task-actions .task-actions-list li .task-action-element-container .task-action-element input.task-action-text {
            border: none;
            font-size: 16px;
            font-weight: 500;
            font-family: 'Ubuntu', "Trebuchet MS", Arial, Helvetica, sans-serif;
            width: 140px;
        }

.task-actions ul {
    display: inline;
    padding: 0px;
    margin-top: 10px;
    margin-bottom: 10px;
}

    .task-actions ul li {
        font-size: 16px;
    }

.task-actions #task-date-actions {
    float: left;
}

.task-actions #task-assign-actions {
    float: left;
}

#task-diagram div.canvas {
    height: 500px;
}

#tasks-list ol {
    overflow: hidden;
    position: relative;
    height: 100%;
}

.add-new-workflow {
    background-image: url('images/new-small.png');
    background-repeat: no-repeat;
    background-size: 28px 28px;
    margin-left: 16px;
    position: absolute;
    display: inline-block;
    width: 28px;
    height: 28px;
}

#task-form .btn-remove {
    float: none;
    display: inline;
}

#task-form .Contacts {
    width: 570px;
}

    #task-form .Contacts .Contacts-readonly {
        margin-top: 5px;
    }

#task-form input[type="text"], #task-form input[type="number"] {
    border: 1px solid #EAEAEA;
    border-radius: 3px;
    height: 34px;
    color: #596376;
    width: 242px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 14px;
}

#task-form textarea {
    width: 396px;
    border: 1px solid #EAEAEA;
    border-radius: 3px;
    color: #596376;
    padding: 4px 8px;
    height: 56px;
}

#task-form select:not([multiple]) {
    width: 258px;
    padding-left: 8px;
    padding-right: 8px;
    color: #596376;
    font-size: 14px;
    border: 1px solid #EAEAEA;
    border-radius: 3px;
    height: 38px;
}