﻿.dashboard {
}

.progress-flow {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    flex-grow: 0;
    -webkit-flex-grow: 0;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    width: 100%;
}

    .progress-flow .filler {
        flex-grow: 1;
        -webkit-flex-grow: 1;
        box-shadow: inset 0.5px 1px 3px -1.5px rgba(20,20,20,1);
        min-width: 20px;
        margin: 17px 0;
        height: 15px;
        background: repeating-linear-gradient(
            -45deg,
            #F4F4F4,
            #F4F4F4 15px,
            #E4E4E4 15px,
            #E4E4E4 30px
        );
    }

        .progress-flow .filler:first-child {
            border-top-left-radius: 8px;
            border-bottom-left-radius: 8px;
            max-width: 110px;
        }

        .progress-flow .filler:last-child {
            border-top-right-radius: 8px;
            border-bottom-right-radius: 8px;
            max-width: 110px;
        }

        .progress-flow .filler.green {
            background: repeating-linear-gradient(
                -45deg,
                #5AD076,
                #5AD076 15px,
                #31C354 15px,
                #31C354 30px
            );
        }

        .progress-flow .filler.yellow {
            background: repeating-linear-gradient(
                -45deg,
                #FFF754,
                #FFF754 15px,
                #FFEB00 15px,
                #FFEB00 30px
            );
        }

        .progress-flow .filler.red {
            background: repeating-linear-gradient(
                -45deg,
                #FF3c3c,
                #FF3c3c 15px,
                #EE0000 15px,
                #EE0000 30px
            );
        }

    .progress-flow .state-container {
        text-align: center;
        z-index: 10;
    }

        .progress-flow .state-container .state {
            position: relative;
            width: 49px;
            height: 49px;
            margin: auto;
            border: 2px solid #FFF;
            border-radius: 25px;
            box-shadow: inset 1px 0.5px 5px -1.5px rgba(70,70,70,1);
            background-color: #E4E4E4;
            text-align: center;
            font-size: 15px;
            font-family: Nevis-Bold;
	        font-weight: normal;
            line-height: 45px;
            color: #FFF;
            text-shadow: 1px 1px 2px rgba(120,120,120,1);
        }

            .progress-flow .state-container .state:before {
                content: " ";
                position: absolute;
                z-index: -1;
                top: -2px;
                left: -2px;
                right: -2px;
                bottom: -2px;
                border: 1px solid #DDD;
                border-radius: 25px;
            }

        .progress-flow .state-container .state-name {
            color: #AAA;
            line-height: 1.3;
        }

        .progress-flow .state-container.green .state {
            background-color: #31C354;
        }

            .progress-flow .state-container.green .state:before {
                border-color: #31C354;
            }

        .progress-flow .state-container.green .state-name {
            color: #31C354;
        }

        .progress-flow .state-container.yellow .state {
            background-color: #FFEB00;
            color: #000;
        }

            .progress-flow .state-container.yellow .state:before {
                border-color: #FFEB00;
            }

        .progress-flow .state-container.yellow .state-name {
            color: #D2CE00;
        }

        .progress-flow .state-container.red .state {
            background-color: #EE0000;
        }

            .progress-flow .state-container.red .state:before {
                border-color: #EE0000;
            }

        .progress-flow .state-container.red .state-name {
            color: #EE0000;
        }

        .progress-flow .state-container.active {
        }

            .progress-flow .state-container.active .state-name {
                color: #000;
                font-family: 'Source Sans Pro', sans-serif;
	            font-weight: bold;
            }

@-moz-document url-prefix() {
    .progress-flow .state-container .state {
        box-shadow: inset 1px 0.5px 3px -1.5px rgba(70,70,70,1);
    }

    .progress-flow .filler {
        box-shadow: inset 0.5px 1px 1.5px -1.5px rgba(20,20,20,1);
    }
}

@supports (-ms-ime-align: auto) {
    .progress-flow .state-container .state {
        box-shadow: inset 1px 0.5px 6px -1.5px rgba(70,70,70,1);
    }

    .progress-flow .filler {
        box-shadow: inset 0.5px 1px 3px -1.5px rgba(20,20,20,1);
    }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .progress-flow .state-container .state {
        box-shadow: inset 1px 0.5px 6px -1.5px rgba(70,70,70,1);
    }

    .progress-flow .filler {
        box-shadow: inset 0.5px 1px 3px -1.5px rgba(20,20,20,1);
    }
}

.table > tbody > tr > td.td-comments {
    padding-top: 5px;
}

.td-comments {
    min-width: 200px;
}

    .td-comments textarea {
        resize: vertical;
    }

    .td-comments .comments-container {
        overflow-y: auto;
        max-height: 300px;
    }

.comment {
    padding: 0 5px;
    margin-bottom: 5px;
}

    .comment.my-comment {
        color: #1D5F75;
        background-color: #E0F1FB;
        border: 1px solid #5C8D9E;
        border-top: none;
        border-left: none;
        text-align: right;
        margin-left: 15px;
    }

    .comment.their-comment {
        color: #21731F;
        background-color: #ECFFEC;
        border: 1px solid #88B886;
        border-top: none;
        border-right: none;
        margin-right: 15px;
    }

    .comment.unread-comment {
    }

        .comment.unread-comment::after {
            content: "*";
            font-size: 20px;
            /* font-family: 'Glyphicons Halflings'; 
                font-size: 8px;
            */
            float: right;
            display: inline-block;
            margin-top: -4px;
            margin-right: -2px;
        }   

.dashboard-message {
    line-height: 1.4;
    color: #0082CA;
    font-weight: bold;
    margin: 0 40px;
}