@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body
{
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body
{
    height: 100%;
    overflow: hidden;
}

.valid.modified:not([type=checkbox])
{
    outline: 1px solid #26b050;
}

.invalid
{
    outline: 1px solid red;
}

.validation-message
{
    color: red;
}

#blazor-error-ui
{
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss
    {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/*CUSTOM*/

.flexcontainer
{
    display: flex;
    flex-wrap: nowrap;
    align-content: flex-start;
    align-items: center;
}

    .flexcontainer .flexitem
    {
        margin-right: 4px;
    }

        .flexcontainer .flexitem.small
        {
            max-width: 70px;
        }

        .flexcontainer .flexitem.medium
        {
            max-width: 150px;
        }

input::placeholder
{
    font-size: 10pt;
    color: rgba(0, 0, 0, 0.2) !important;
    opacity: 1;
}

.flexcontainer.header
{
    font-size: 10pt;
}

    .flexcontainer.header .flexitem
    {
        margin-right: 20px;
    }

    .flexcontainer.header .header-action
    {
        border: solid 1px #e4e4e4;
        border-radius: 4px;
        padding: 0px 6px 0px 6px;
        font-size: 9pt;
        color: #8f8f8f;
        background-color: #f6f6f6;
        cursor: pointer;
    }

        .flexcontainer.header .header-action:hover
        {
            background-color: #ebebeb;
        }

.editform
{
}

    .editform textarea
    {
        font-size: 9pt;
    }

#myKanban
{
    overflow-x: auto;
    overflow-y: hidden;
    /*overflow:hidden;*/
    padding: 20px 0;
    /*max-height: calc(100% - 95px);*/
    height: calc(100% - 95px);
    max-height: calc(100% - 95px);
    scrollbar-height: thin;
}

    #myKanban::-webkit-scrollbar
    {
        height: 10px;
    }

    #myKanban::-webkit-scrollbar-track
    {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    }

    #myKanban::-webkit-scrollbar-thumb
    {
        background-color: darkgray;
        outline: 1px solid silver;
    }

.kanban-board
{
    overflow-y: auto;
    scrollbar-width: thin;
}

    .kanban-board::-webkit-scrollbar
    {
        width: 8px;
    }

    .kanban-board::-webkit-scrollbar-track
    {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    }

    .kanban-board::-webkit-scrollbar-thumb
    {
        background-color: darkgray;
        outline: 1px solid silver;
    }

    .kanban-board .card-item
    {
        font-size: 9pt;
        word-break: break-word;
    }

    .kanban-board hr
    {
        margin: 0px;
    }

    .kanban-board .card-item .head
    {
        white-space: nowrap;
    }

    .kanban-board .card-item .code
    {
        font-weight: 600;
        background-color: gainsboro;
        display: inline-block;
        padding: 2px 4px 2px 4px;
        border-radius: 4px;
        margin-right: 2px;
        font-size: 8pt;
    }

    .kanban-board .card-item .branch
    {
        background-color: papayawhip;
        display: inline-block;
        padding: 2px 4px 2px 4px;
        margin-right: 2px;
        font-size: 8pt;
    }

    .kanban-board .card-item .work-percent
    {
        display: inline-block;
        margin-right: 0px;
        font-size: 8pt;
    }

    .kanban-board .card-item .short-name
    {
        font-style: italic;
    }

    .kanban-board .card-item .subject
    {
        margin-top: 12px;
        margin-bottom: 8px;
    }

    .kanban-board .card-item .assigned-user-name
    {
        font-size: 8pt;
        display: inline-block;
        margin-top: 4px;
        margin-right: 0px;
        color: dimgray;
        border-radius: 50%;
    }

    .kanban-board .card-item .assigned-user-name-task
    {
        font-size: 8pt;
        display: inline-block;
        margin-right: 5px;
        color: dimgray;
    }

    .kanban-board .card-item .bundle-name
    {
        font-size: 8pt;
        color: #8f8f8f;
    }

    .kanban-board .card-item .keyword
    {
        font-size: 8pt;
        color: #8f8f8f;
        border: solid 1px #ccc;
        display: inline-block;
        border-radius: 4px;
        padding: 0px 4px 0px 4px;
        margin-top: 2px;
        margin-bottom: 4px;
    }

        .kanban-board .card-item .keyword.bug
        {
            background-color: red;
            color: white;
            border: solid 1px red;
        }

        .kanban-board .card-item .keyword.correcao
        {
            background-color: red;
            color: white;
            border: solid 1px red;
        }

        .kanban-board .card-item .keyword.hotfix
        {
            background-color: red;
            color: white;
            border: solid 1px red;
        }

        .kanban-board .card-item .keyword.melhoria
        {
            background-color: limegreen;
            color: white;
            border: solid 1px limegreen;
        }

        .kanban-board .card-item .keyword.projeto
        {
            background-color: cornflowerblue;
            color: white;
            border: solid 1px cornflowerblue;
        }

        .kanban-board .card-item .keyword.gestao
        {
            background-color: brown;
            color: white;
            border: solid 1px brown;
        }

        .kanban-board .card-item .keyword.urgente
        {
            background-color: red;
            color: white;
            border: solid 1px red;
        }

        .kanban-board .card-item .keyword.emergencial
        {
            background-color: red;
            color: white;
            border: solid 1px red;
        }

        .kanban-board .card-item .keyword.refazer
        {
            border: dashed 2px orange;
            background-color: #ffa5003d;
        }

    .kanban-board .card-item .sprint-name
    {
        font-size: 8pt;
        color: #8f8f8f;
    }

    .kanban-board .card-item .priority
    {
        font-size: 8pt;
        color: #8f8f8f;
    }

    .kanban-board .card-item .customer
    {
        font-size: 8pt;
        color: #8f8f8f;
        clear: both;
        display: block;
        text-align: left;
    }

        .kanban-board .card-item .customer.sorridents
        {
            border: solid 1px cornflowerblue;
            padding: 0px 2px 0px 2px;
            color: cornflowerblue;
        }

        .kanban-board .card-item .customer.docbiz
        {
            border: solid 1px #358f51;
            padding: 0px 2px 0px 2px;
            color: #358f51;
        }

    .kanban-board .counter
    {
        display: inline-block;
        float: right;
        font-size: 9pt;
        background-color: white;
        width: 16pt;
        height: 16pt;
        line-height: 16pt;
        padding-top: 1px;
        text-align: center;
        vertical-align: middle;
        border-radius: 50%;
        color: dimgray;
    }

    .kanban-board .card-item .comments-count
    {
        font-size: 8pt;
        color: #8f8f8f;
    }

    .kanban-board .card-item .open-issue
    {
        float: right;
        display: inline-block;
        position: relative;
        top: -12px;
        right: 0px;
        border: none;
        margin-right: 2px;
        width: 24px;
        height: 20px;
        text-align: center;
        vertical-align: middle;
        line-height: 18px;
        background-color: #efefef;
        cursor: pointer;
    }

    .kanban-board .card-item .get-details
    {
        float: right;
        display: inline-block;
        position: relative;
        top: -12px;
        right: 0px;
        border: none;
        margin-right: 2px;
    }

    .kanban-board .kanban-item
    {
    }

        .kanban-board .kanban-item.selected
        {
            /*border: solid 3px orange;*/
            /*background-color:#ffa5002e;*/
            box-shadow: 0px 0px 4px 4px orange;
        }


.modal-overlay
{
    text-align: center;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #8f8f8fa1;
    overflow-y: auto;
    padding: 10px;
}

    .modal-overlay .modal-content
    {
        margin: auto;
        max-width: 500px;
        padding: 20px;
    }

.editform
{
    text-align: center;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #8f8f8fa1;
    overflow-y: auto;
    padding: 10px;
}

    .editform form
    {
        margin: auto;
        max-width: 600px;
        min-height: 700px;
        text-align: left;
        border: solid 1px #ccc;
        border-radius: 4px;
        padding: 30px;
        background-color: white;
        font-size: 10pt;
        position: relative;
    }

    .editform input
    {
        font-size: 10pt;
        padding: 4px 8px 4px 8px;
        color: dimgray;
    }

    .editform .caption
    {
        font-size: 9pt;
        color: dimgray;
        margin-top: 10px;
        display: block;
    }

    .editform .comments
    {
        margin-bottom: 10px;
        max-height: 390px;
        overflow-y: auto;
    }

    .editform .comment
    {
        border: solid 1px #dee2e6;
        border-radius: 4px;
        margin-bottom: 8px;
        font-size: 10pt;
        padding: 2px 8px 2px 8px;
        color: dimgray;
        background-color: #dddddd4d;
    }

        .editform .comment:first-child
        {
            margin-top: 10px;
        }

        .editform .comment .comment-date
        {
            color: lightslategray;
            font-weight: 500;
            font-size: 0.9em;
            margin-bottom: 2px;
        }

        .editform .comment .comment-text
        {
            white-space: pre-wrap;
        }

    .editform .comment-advice
    {
        border: solid 1px #ccc;
        border-radius: 4px;
        margin-bottom: 15px;
        font-size: 10pt;
        padding: 2px 8px 2px 8px;
        color: dimgray;
        background-color: papayawhip;
        white-space: pre-wrap;
    }

    .editform .actions
    {
        margin-top: 15px;
        position: absolute;
        bottom: 20px;
        width: calc(100% - 60px);
        text-align: center;
    }


.best-issues
{
    max-height: 700px;
    overflow-y: auto;
}

    .best-issues .actions
    {
        text-align: center;
        justify-content: space-around;
    }

    .best-issues .empty-datasource
    {
        margin-top: 40px;
        font-size: 10pt;
    }

.best-issue
{
    /*background-color: whitesmoke;*/
    margin-top: 12px;
    padding: 4px 8px 4px 8px;
    font-size: 9pt;
    font-weight: 500;
    border: solid 1px #ccc;
    border-radius: 4px;
    text-align: left;
}

    .best-issue > div:first-child
    {
        border-bottom: solid 1px #b9b9b9;
        margin-bottom: 8px;
        padding-bottom: 4px;
    }

    .best-issue .error-message
    {
        color: red;
    }

    .best-issue .action
    {
        cursor: pointer;
        width: 20px;
        height: 20px;
        text-align: center;
        vertical-align: middle;
        line-height: 18px;
        float: right;
    }

        .best-issue .action:hover
        {
            background-color: whitesmoke;
        }

        .best-issue .action.ok
        {
            color: green;
        }

    .best-issue .code
    {
        font-weight: 600;
        background-color: gainsboro;
        display: inline-block;
        padding: 2px 4px 2px 4px;
        border-radius: 4px;
        margin-right: 2px;
        font-size: 8pt;
    }

    .best-issue .subject
    {
        font-weight: 600;
    }

    .best-issue .task
    {
        font-size: 8.7pt;
        font-weight: normal;
        color: #212529;
        margin-top: 2px;
        /*padding: 4px 4px 4px 14px;*/
        /*border: solid 1px #ebebeb;*/
        /*border-radius: 4px;*/
        /*background-color: #fdfdfd;*/
        position: relative;
        border-bottom: solid 1px #ebebeb;
        padding-top: 4px;
        padding-bottom: 4px;
    }

        .best-issue .task .task-content > span
        {
            margin-right: 10px;
            display: inline-block;
        }

        .best-issue .task .subject input
        {
            width: calc(100% - 70px);
        }

        .best-issue .task .time input
        {
            width: 40px;
            margin-right: 10px;
            border-radius: 4px;
            border: solid 1px #ccc;
            text-align: center;
        }

        .best-issue .task:last-child
        {
            border-bottom: none;
        }

        .best-issue .task .task-head
        {
            min-height: 30px;
        }

        .best-issue .task .task-content
        {
        }

        .best-issue .task .assigned-user-name
        {
            font-size: 8pt;
            display: inline-block;
            margin-top: 4px;
            margin-right: 10px;
            color: dimgray;
            border-radius: 50%;
            float: left;
        }

        .best-issue .task.justadded
        {
            background-color: #90ee9012;
        }

        .best-issue .task .subject
        {
            font-weight: normal;
        }

        .best-issue .task .date
        {
            clear: both;
            padding-left: 30px;
        }

        .best-issue .task .time
        {
        }

            .best-issue .task .time span
            {
                font-weight: 700;
            }

        .best-issue .task .action
        {
            cursor: pointer;
            font-size: 12pt;
            float: right;
            border-radius: 50%;
            width: 25px;
            height: 25px;
            text-align: center;
            vertical-align: middle;
            line-height: 22px;
            background-color: white;
        }

            .best-issue .task .action.stop
            {
                color: red;
                border: solid 2px red;
            }

            .best-issue .task .action.ok
            {
                color: limegreen;
            }
