﻿/*::-webkit-scrollbar {
    width: .65em; 
}
::-webkit-scrollbar-button {
     background: #555
}
::-webkit-scrollbar-track-piece {
    background: #555
}
::-webkit-scrollbar-thumb {
    background: #eee
}​*/
.k-widget.form-control, .form-control > .k-picker-wrap {
    height: 36px;
    border: none;
    font-size: 14px;
}

.k-textbox.form-control, .k-textbox.form-control.input-sm, .k-picker-wrap .form-control.k-input, .k-input.form-control.input-sm {
    color: #555555;
    height: inherit;
    background-color: #ffffff;
    border: 2px solid #cccccc;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 2px;
}

.k-widget.form-control .k-picker-wrap .k-select {
    border: 1px solid #cccccc;
    border-left: none;
    border-radius: 0 2px 2px 0;
}

.k-textbox.form-control.input-sm, .k-input.form-control.input-sm {
    font-size: 12px;
    padding: 5px 10px;
    line-height: 1.5;
}


[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

    .timeline:before {
        top: 0;
        bottom: 0;
        position: absolute;
        content: " ";
        width: 3px;
        background-color: #ddd;
        left: 10%;
        margin-left: -1.5px;
    }

    .timeline > li {
        margin-bottom: 20px;
        position: relative;
    }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li > .timeline-panel {
            width: 70%;
            background-color: #fff;
            float: left;
            border: 1px solid #d4d4d4;
            border-radius: 2px;
            padding: 5px;
            position: relative;
            -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
            box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
        }

            .timeline > li > .timeline-panel:before {
                position: absolute;
                top: 26px;
                right: -15px;
                display: inline-block;
                border-top: 15px solid transparent;
                border-left: 15px solid #ccc;
                border-right: 0 solid #ccc;
                border-bottom: 15px solid transparent;
                content: " ";
            }

            .timeline > li > .timeline-panel:after {
                position: absolute;
                top: 27px;
                right: -14px;
                display: inline-block;
                border-top: 14px solid transparent;
                border-left: 14px solid #fff;
                border-right: 0 solid #fff;
                border-bottom: 14px solid transparent;
                content: " ";
            }

        .timeline > li > .timeline-badge {
            color: #fff;
            width: 25px;
            height: 25px;
            line-height: 25px;
            font-size: .7em;
            text-align: center;
            position: absolute;
            top: 12px;
            left: 10%;
            margin-left: -12.5px;
            background-color: #999999;
            z-index: 100;
            border-radius: 50%;
        }

        .timeline > li.timeline-inverted > .timeline-panel {
            float: right;
            margin-right: 10px;
        }

            .timeline > li.timeline-inverted > .timeline-panel:before {
                border-left-width: 0;
                border-right-width: 15px;
                left: -15px;
                top: 8px;
                right: auto;
            }

            .timeline > li.timeline-inverted > .timeline-panel:after {
                border-left-width: 0;
                border-right-width: 14px;
                left: -13px;
                top: 8px;
                right: auto;
            }

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #3f903f !important;
}

.timeline-badge.warning {
    background-color: #f0ad4e !important;
}

.timeline-badge.danger {
    background-color: #d9534f !important;
}

.timeline-badge.info {
    background-color: #5bc0de !important;
}

.timeline-title {
    margin: 5px;
    font-size: .7em;
    font-weight: bolder;
    color: inherit;
}

.timeline-date {
    margin: 5px;
    font-size: .6em;
    font-weight: lighter;
    color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
    font-size: .8em;
}

    .timeline-body > p + p {
        margin-top: 5px;
    }

@media (max-width: 767px) {
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }

    ul.timeline > li > .timeline-badge {
        left: 15px;
        margin-left: 0;
        top: 16px;
    }

    ul.timeline > li > .timeline-panel {
        float: right;
    }

        ul.timeline > li > .timeline-panel:before {
            border-left-width: 0;
            border-right-width: 15px;
            left: -15px;
            right: auto;
        }

        ul.timeline > li > .timeline-panel:after {
            border-left-width: 0;
            border-right-width: 14px;
            left: -14px;
            right: auto;
        }
}

.user-agreement .modal-dialog {
    width: 700px;
    border: 2px solid #333;
    max-height: 85VH;
}

.windowed-form .modal-dialog {
    width: 90%;
    border: 2px solid #333;
    max-height: 90VH;
}

.windowed-form-content-no-toolbar {
    margin: 15px;
    height: calc(90VH - 135px);
    overflow: auto;
    overflow-x: hidden;
}

.windowed-form-content-with-toolbar {
    margin: 15px;
    height: calc(90VH - 170px);
    overflow: auto;
    overflow-x: hidden;
}

.list-group-md > .list-group-item {
    padding: 5px 8px;
}

.list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.list-group-item.active.blue {
    background-color: #004578 !important;
}

.navbar-nav {
    float: left;
    margin: 0;
    width: auto;
}

.navbar > .nav > li.divider-vertical {
    margin: 10px 3px 0;
    border-right: .75px solid #eee;
    border-left: .75px solid #eee;
    color: #fff;
    height: 2em;
}

.navbar-green {
    background-color: #5c966e;
    color: #fff;
}

    .navbar-green .nav > li.active > a {
        background-color: #497758 !important;
    }

.navbar-black {
    background-color: #333;
    color: #fff;
}

    .navbar-black .nav > li.active > a {
        background-color: #333 !important;
    }

    .navbar-black .nav > li:hover,
    .navbar-black .nav > li:focus {
        background-color: #222;
    }

.navbar-blue > .navbar-text.highlight {
    margin: 0;
    padding: 15px;
}

.navbar-inverse > .navbar-text.highlight {
    margin: 0;
    padding: 15px;
    color: #fff;
}

.navbar-blue {
    background-color: #0078d7 !important;
    color: #fff;
}

    .navbar-blue > .nav > li.navbar-text {
        margin: 0;
    }

        .navbar-blue > .nav > li.navbar-text:first-child {
            padding: 15px;
            margin: 0;
        }

        .navbar-blue > .nav > li.highlight > a, .navbar-blue > .nav > li.navbar-text.highlight, .navbar-blue > .navbar-text.highlight {
            background-color: #004578;
        }

.navbar-header.auto-width {
    width: auto;
}

.navbar-header-black {
    background-color: #333;
}

.nav > li.nav-breadcrumb > a {
    margin-right: 10px;
}

    .nav > li.nav-breadcrumb > a::after {
        margin-right: -10px;
        content: "";
        position: absolute;
        top: 50%;
        width: .75rem;
        height: .75rem;
        background: transparent;
        border-top: .2rem solid #fff;
        border-right: .2rem solid #fff;
        box-shadow: 0 0 0 lightgray;
        transition: all 200ms ease;
        right: 0;
        transform: translate3d(0,-50%,0) rotate(45deg);
    }

.nav > li.active > a::after,
.nav > li.active.inverse-triangle > a::after,
.nav > li.active.white-triangle > a::after,
.nav > li.active.blue-triangle > a::after,
.nav > li.green.inverse-triangle > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    margin-left: calc(50% - 6px);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

.nav > li.active.inverse-triangle > a::after {
    border-bottom: 6px solid #222;
}

.nav > li.active.white-triangle > a::after {
    border-bottom: 6px solid #fff;
}

.nav > li.active.blue-triangle > a::after {
    border-bottom: 6px solid #0078d7;
}

.nav > li.active.green-triangle > a::after {
    border-bottom: 6px solid #5c966e;
}

.navbar-green .navbar-toggle:hover,
.navbar-green .navbar-toggle:focus,
.navbar-blue .navbar-toggle:hover,
.navbar-blue .navbar-toggle:focus {
    background-color: #4c795a;
}

.navbar-green .navbar-toggle .icon-bar,
.navbar-blue .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-md > .nav > li.divider-vertical {
    height: 10px;
    margin: .25em 3px 0;
    border-right: .5px solid #b2b2b2;
    border-left: .5px solid #b2b2b2;
    color: #fff;
}

.navbar-md .navbar-brand,
.navbar-md .navbar-nav > li > a {
    padding: 6px 10px;
}

.navbar.navbar-md {
    min-height: 32px !important;
}

.navbar-md .navbar-brand,
.navbar-md .navbar-nav > li > a {
    font-size: 12px;
    text-transform: inherit;
}

.navbar-md .navbar-brand {
    padding-left: 20px;
    text-transform: capitalize;
    font-size: 14px;
    height: auto;
    line-height: 20px;
}


.shadow-widget {
    background-color: #fff;
    padding: 10px;
    -webkit-box-shadow: 3px 3px 8px 1px rgba(163,163,163,0.27);
    -moz-box-shadow: 3px 3px 8px 1px rgba(163,163,163,0.27);
    box-shadow: 3px 3px 8px 1px rgba(163,163,163,0.27);
}

.modal-content {
    background-color: #f0f3f4;
}



.navbar-nav.navbar-left {
    float: left;
    margin: 0;
    width: auto;
}

    .navbar-nav.navbar-left > li {
        float: left;
    }

.navbar-nav.navbar-right {
    float: left;
    margin: 0;
    width: auto;
}

    .navbar-nav.navbar-right > li {
        float: left;
    }


@media print {
    .page-break {
        page-break-after: always;
    }

    table.blue {
        margin: 10px 0;
        border: 1px solid #5fa3c7;
        width: 100%;
    }

        table.blue tr th {
            background-color: #5fa3c7;
            color: #fff;
            padding: 5px;
            text-align: center;
        }

        table.blue tr td {
            background-color: #f2f5ff;
            color: #333;
            border: .6px solid #5fa3c7;
            padding: 5px;
        }

    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: left;
    }

    .col-sm-12 {
        width: 100%;
    }

    .col-sm-11 {
        width: 91.66666667%;
    }

    .col-sm-10 {
        width: 83.33333333%;
    }

    .col-sm-9 {
        width: 75%;
    }

    .col-sm-8 {
        width: 66.66666667%;
    }

    .col-sm-7 {
        width: 58.33333333%;
    }

    .col-sm-6 {
        width: 50%;
    }

    .col-sm-5 {
        width: 41.66666667%;
    }

    .col-sm-4 {
        width: 33.33333333%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .col-sm-2 {
        width: 16.66666667%;
    }

    .col-sm-1 {
        width: 8.33333333%;
    }

    .col-sm-pull-12 {
        right: 100%;
    }

    .col-sm-pull-11 {
        right: 91.66666667%;
    }

    .col-sm-pull-10 {
        right: 83.33333333%;
    }

    .col-sm-pull-9 {
        right: 75%;
    }

    .col-sm-pull-8 {
        right: 66.66666667%;
    }

    .col-sm-pull-7 {
        right: 58.33333333%;
    }

    .col-sm-pull-6 {
        right: 50%;
    }

    .col-sm-pull-5 {
        right: 41.66666667%;
    }

    .col-sm-pull-4 {
        right: 33.33333333%;
    }

    .col-sm-pull-3 {
        right: 25%;
    }

    .col-sm-pull-2 {
        right: 16.66666667%;
    }

    .col-sm-pull-1 {
        right: 8.33333333%;
    }

    .col-sm-pull-0 {
        right: auto;
    }

    .col-sm-push-12 {
        left: 100%;
    }

    .col-sm-push-11 {
        left: 91.66666667%;
    }

    .col-sm-push-10 {
        left: 83.33333333%;
    }

    .col-sm-push-9 {
        left: 75%;
    }

    .col-sm-push-8 {
        left: 66.66666667%;
    }

    .col-sm-push-7 {
        left: 58.33333333%;
    }

    .col-sm-push-6 {
        left: 50%;
    }

    .col-sm-push-5 {
        left: 41.66666667%;
    }

    .col-sm-push-4 {
        left: 33.33333333%;
    }

    .col-sm-push-3 {
        left: 25%;
    }

    .col-sm-push-2 {
        left: 16.66666667%;
    }

    .col-sm-push-1 {
        left: 8.33333333%;
    }

    .col-sm-push-0 {
        left: auto;
    }

    .col-sm-offset-12 {
        margin-left: 100%;
    }

    .col-sm-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-sm-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-sm-offset-9 {
        margin-left: 75%;
    }

    .col-sm-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-sm-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-sm-offset-6 {
        margin-left: 50%;
    }

    .col-sm-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-sm-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-sm-offset-3 {
        margin-left: 25%;
    }

    .col-sm-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-sm-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-sm-offset-0 {
        margin-left: 0;
    }

    .visible-xs {
        display: none !important;
    }

    .hidden-xs {
        display: block !important;
    }

    table.hidden-xs {
        display: table;
    }

    tr.hidden-xs {
        display: table-row !important;
    }

    th.hidden-xs,
    td.hidden-xs {
        display: table-cell !important;
    }

    .hidden-xs.hidden-print {
        display: none !important;
    }

    .hidden-sm {
        display: none !important;
    }

    .visible-sm {
        display: block !important;
    }

    table.visible-sm {
        display: table;
    }

    tr.visible-sm {
        display: table-row !important;
    }

    th.visible-sm,
    td.visible-sm {
        display: table-cell !important;
    }
}

.print-window .modal-dialog {
    width: 80%;
    max-width: 900px;
    border: 2px solid #333;
    max-height: 90VH;
}


.form-container {
    font-size: 12px !important;
}

    .form-container .inline-block {
        display: inline-block;
    }

    .form-container .value {
        min-height: 10px;
        border-bottom: 1px solid black;
        margin: 0;
        padding: 0;
    }

    .form-container .value-label, .form-container .value-label-below {
        font-size: .85em;
        font-weight: bold;
        padding: 0;
        margin: 0 0 0 10px;
    }

    .form-container .value-label-below {
        margin-left: 10px;
    }

    .form-container label {
        font-size: 1em;
        font-weight: bold;
    }

    .form-container .step {
        background-color: #1c649e;
        color: #fff;
        padding: 5px;
        margin: 5px 0;
        font-weight: bold;
        font-size: .85em;
    }

table.blue {
    margin: 10px 0;
    border: 1px solid #5fa3c7;
    width: 100%;
}

    table.blue tr th {
        background-color: #5fa3c7;
        color: #fff;
        padding: 5px;
        text-align: center;
    }

    table.blue tr td {
        background-color: #f2f5ff;
        color: #333;
        border: .6px solid #5fa3c7;
        padding: 5px;
    }

.form-container .small {
    font-size: .8em;
}

textarea.ng-invalid, input.ng-invalid, .k-upload.ng-invalid {
    border: 1px solid #d9534f;
}

textarea.ng-invalid, input.ng-invalid, select.ng-invalid, .k-upload.ng-invalid {
    border: 1px solid #d9534f;
}

.disabled {
    pointer-events: none;
    user-select: none;
    cursor: default;
}

.spinner-loader-container {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.7);
    z-index: 9999;
    display: block;
}

    .spinner-loader-container .spinner-loader {
        content: '';
        display: block;
        position: absolute;
        border: none;
        -webkit-animation: spin .8s linear infinite;
        animation: spin .8s linear infinite;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


.warning-right-container {
    display: flex;
    justify-content: flex-end;
}

    .warning-right-container .warning-right-wrapper {
        display: flex;
        flex-direction: column;
    }

.large-warning-message {
    font-size: 18px;
    color: #d9534f;
}

.alert-list {
    overflow: auto;
    overflow-x: hidden;
    list-style-type: none;
}

    .alert-list .alert-item {
        border-bottom: .5px solid #ccc;
        padding: 10px;
        white-space: normal;
    }

.alert-seen {
    background-color: white;
}

.alert-unseen {
    background-color: lightblue;
}

.timeline-detail-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-weight: bold;
    padding: 15px 0;
}

.messages-dialog {
    height: calc(100vh - 88px);
    background-color: #fff;
    width: 100%;
}
.dialog-list-container {
    height: calc(100vh - 110px);
    min-height: 600px;
    overflow: hidden;
}
.message-list-container {
    height: calc(100vh - 330px);
    overflow: auto;
}
.user-modal .dialog-list-container {
    height: calc(100vh - 250px);
    min-height: 400px;
}

.user-modal .messages-dialog {
    height: calc(100vh - 220px);
}

.user-modal .message-list-container {
    height: calc(100vh - 480px);    
}


.user-modal .dialog-list {
    max-height: calc(100vh - 490px);
}

.dialogs-wrapper {
    margin-bottom: 5px;
}

.dialog {
    display: flex;
    flex: 1 1 100%;
    justify-content: space-between;
    background: #eeeeee;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    padding: 0 2px 0 8px;
    margin: 5px 0;
}

.admin-dialog .dialog.dialog-active {
    background: #5bc0de;
}

.public-dialog .dialog.dialog-active {
    background: #5bc0de;
}

.admin-dialog .dialog {
    border-top: 4px solid #337ab7;
}

.public-dialog .dialog {
    border-top: 4px solid #5c966e;
}

.card {
    display: flex;
    overflow: hidden;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
}

.dialog h3 {
    border-bottom: none;
    font-size: 20px;
    margin: 5px 0;
}

.dialog-list {
    max-height: calc(100vh - 385px);
    min-height:300px;
    overflow: auto;
    list-style-type: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.message-input {
    position: relative;
    width: 100%;
    margin-top: 15px;
    border: 1px solid #cccccc;
}
    .message-input form {
        position: relative;
        width: 100%;
    }
    .message-input textarea {
        width: 100%;
        padding-top: 15px;
        padding-left: 50px;
        padding-right: 50px;
        border: 0;
    }
    .message-input .message-input-icon {
        position: absolute;
        top: 10px;
        left: 10px;
    }
    .message-input .message-input-button {
        position: absolute;
        top: 10px;
        right: 10px;
    }

.search-term {
    margin: 5px 0;
    width: 100%;
}

    .search-term > input {
        width: 100%;
    }

.hover-highlight:hover {
    background-color: #eee;
}
 
.messages-list {
    overflow-y: auto;
    height: 65vh;
}
 
.input-form {
    width: 60%;
    border: 0;
    border-bottom: 1px solid #ccc;
}

.send-btn {
    border-radius: 50%;
}
 
.message-item {
    white-space: pre-wrap;
    word-break: break-word;
    padding: 10px 0; 
}
 
.message-container {
    border: 1px solid #cccccc;
    padding: 10px;
}
    .message-container.selected {
        background-color: #337ab7;
        color: #ffffff !important;
    }
    .message-container.updated {
        border-left: 3px solid #ffaa6e;
    }
    .message-container.unread {
        border-left: 3px solid #337ab7;
    }
    .message-container .archived {
        color: #ffaa6e;
        font-size: 9px;
    }
    .message {
    }
 
    .message .message-initials {
        color: #ffffff;
        background-color: hsl(207, 100%, 42%);
        border: 1px solid #cccccc;
        border-radius: 50%;
        padding: 10px;
        font-size: 12px;
        font-weight: bolder;
    }
    .message .message-current-user {
        color: #000000;
        background-color: hsl(190, 65%, 84%);
    }
    .message .message-subject {
        margin-left: 50px;
    }
    .message .message-admin-badge{
        color:#d9534f;
        margin-left:8px;
        font-size:9px;
    }
    .message .message-info {
        font-size: 11px;
        overflow: hidden;
        padding: 6px;
    }
        .message .message-info .message-date {
            font-size: 9px;
        }

.message-container .message-date, .message-container .message-assigned-to {
    font-size: 10px;
}

.chat-input-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.chat-input {
    margin: 5px 0;
    padding: 0;
    outline: 0;
    font-size: 14px;
    resize: none;
    border: 1px solid;
    width: 80%;
    border-radius: 5px;
    overflow: auto;
}

.chat-time {
    float: right;
    font-size: 10px;
}
.chat-item {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
}

.chat-box {
    position: fixed;
    right: 0;
    background: white;
    width: 375px;
    border: 2px solid black;
    border-radius: 1% 1% 0 0;
}

.footer-logo {
    width: 100%;
}

.footer-container {
    margin-top: 15px;
    width: 100%;
}

.content-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bottom-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.w-100 {
    width: 100%;
}

.select-boxes:has(.select-boxes.ng-invalid) {
    border: 1px solid #d9534f;
}