﻿/* Generated by Glyphter (http://www.glyphter.com) on  Tue Jul 31 2018*/
@font-face {
    font-family: 'towncontrol';
    src: url('../fonts/towncontrol/towncontrol.eot');
    src: url('../fonts/towncontrol/towncontrol.eot?#iefix') format('embedded-opentype'), url('../fonts/towncontrol/towncontrol.woff') format('woff'), url('../fonts/towncontrol/towncontrol.ttf') format('truetype'), url('../fonts/towncontrol/towncontrol.svg#towncontrol') format('svg');
    font-weight: normal;
    font-style: normal;
}

.ad-police-personnel:before {
    font-family: 'towncontrol';
    font-style: normal;
    content: '\0041';
}

.ad-police-vehicle:before {
    font-family: 'towncontrol';
    font-style: normal;
    content: '\0042';
}

.ad-fire-personnel:before {
    font-family: 'towncontrol';
    font-style: normal;
    content: '\0043';
}

.ad-fire-vehicle:before {
    font-family: 'towncontrol';
    font-style: normal;
    content: '\0044';
}

.ad-medical-personnel:before {
    font-family: 'towncontrol';
    font-style: normal;
    content: '\0045';
}

.ad-medical-vehicle:before {
    font-family: 'towncontrol';
    font-style: normal;
    content: '\0046';
}

.ad-service-personnel:before {
    font-family: 'towncontrol';
    font-style: normal;
    content: '\0047';
}

.ad-service-vehcile:before {
    font-family: 'towncontrol';
    font-style: normal;
    content: '\0048';
}

.blazor-context-menu {
    background: #25293a !important;
}

.dispatch h6 {
    margin: 0;
}
.dispatch {
    border-radius: 8px;
    padding: .75em;
    height: calc(100vh - 9rem);
    position: sticky;
    top: 4rem;
    width: 100%;
    font-family: Arial;
    font-size: 12px;
    display: flex;
}

.dispatch .badge-dark {
    color: #fff;
    background-color: #343a40;
}
.dispatch-incident-callinfo {
    padding-left: .5em;
}

.dispatch textarea {
    padding: .5em !important;
    border: 0 !important;
}

.dispatch-unit {
    overflow: auto;
    height: calc(25% - .5em);
    border: 1px solid lightgray;
    border-radius: 3px;
    margin: .25em 0;
    width: 100%;
    flex: 1 1;
}

.dispatch-units {
    border-radius: 3px;
    margin: 0 0 0 .25em;
    width: calc(25% - .5em);
    flex-direction: column;
    display: flex;
    padding: .25em 0em;
    overflow-y: auto;
    height: 100%;
}

.dispatch-main {
    padding: .25em 0;
    width: 75%;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 0.25em;
}

.dispatch-chat-users {
    overflow: auto;
    padding: .5em;
    border-radius: 3px;
    magrin-top: .25em;
    margin-bottom: 0;
    border: 1px solid lightgray;
    flex: 1 1;
}

.dispatch-chat-messages {
    padding: 0;
    display: flex;
    flex-direction: column;
    margin-left: .5em;
    border-radius: 3px;
    width: 85%;
}

.dispatch-chat-messages-list .badge-pill {
    border-radius: 3px;
    font-size: 1em;
    padding: .5em;
    margin-bottom: .5em;
}

.dispatch-chat-messages-list {
    overflow: auto;
    display: flex;
    flex-direction: column-reverse;
    border-radius: 3px;
    padding: .5em;
    border: 1px solid lightgray;
    height: 70%;
    width: 100%;
    margin: 0;
    flex: 1 1;
}

.dispatch-chat-container {
    border-radius: 3px;
    border: 1px solid lightgray;
    width: 100%;
    margin-top: .25em;
    display: flex;
}

.dispatch-chat-box {
    padding: .5em;
    border: 0 !important;
    flex: 1 1;
}

.dispatch-chat-channel {
    border-radius: 0;
    border: 0px solid lightgray;
    border-left: 1px solid lightgray;
    width: 15%;
}

.dispatch-chat-send {
    width: 10%;
    border-radius: 0 3px 3px 0;
}

.dispatch-chat {
    height: calc(25% - .5em ) !important;
    display: flex;
    flex-direction: row;
    margin-top: .5em;
    margin-left: .25em;
    margin-bottom: .25em;
    width: 100%;
}

.dispatch nav {
    margin-left: .25em;
    width: 100%;
}

.dispatch .nav-tabs .nav-link {
    margin-bottom: -1px;
}

.dispatch .nav-tabs .active {
    border-color: lightgray;
    color: black;
    background: white;
    border: 1px solid lightgray;
    border-bottom: 0;
}

.dispatch-incidents {
    overflow: auto;
    margin-top: 0;
    margin-left: .25em;
    height: calc(75% - .5em );
    width: 100%;
    border-bottom: 1px solid lightgray;
    border-left: 1px solid lightgray;
    border-right: 1px solid lightgray;
    padding: .5em;
    border-radius: 0 0 3px 3px;
}

.dispatch-incident-units {
    overflow: auto;
    flex: 1 1;
}

.dispatch-incident-actions {
    font-size: 1.5em;
}

.dispatch .dispatch-incident-units .heading {
    top: 0;
    position: sticky;
}

.dispatch .heading {
    z-index: 100;
    line-height: 2em;
    vertical-align: bottom;
    font-family: Arial;
    border-bottom: 2px solid #dee2e6;
    font-weight: 700;
    color: ##495057;
    border-color: #dee2e6;
    padding-left: .5em;
    padding-right: .5em;
}

.dispatch-incident-event,
dispatch-incident-units,
.dispatch-incident-info {
    font-size: 1em;
    font-family: Lucida Console;
    border-right: 1px solid lightgray;
}

.dispatch-incident-event {
    font-weight: bold;
    display: flex;
    flex-direction: column;
    width: 45em;
}

.dispatch-incident-event-details {
    display: block;
    background: transparent;
    color: black;
    flex: 1 1;
    overflow: auto;
    font-size: 1em;
    border: 0;
    margin: 0;
    padding: .5em;
    margin-bottom: .25em;
}

.dispatch-incident-info {
    font-weight: bold;
    width: 18em;
}

dispatch-incident-info {
    padding: .5em;
}

.dispatch-incident-info a {
    font-size: 1.5em;
}

.dispatch-incident {
    max-height: 10em;
    margin-bottom: .5em;
    display: flex;
    border-radius: 3px;
    border: 1px solid lightgray;
}

.wrapper {
    width: 90%;
    margin: auto;
}

h6 {
    position: sticky;
    top: 0;
    font-size: 1.15em;
    padding: .3em;
    font-weight: bold;
    margin: 0;
}

.police, .police a {
    color: white;
    background: #2b90d9;
}

.fire, .fire a {
    color: white;
    background: #ff5252;
}

.medical, .medical a {
    color: black;
    background: #9ccc65;
}

.service, .service a {
    color: black;
    background: #ffba57;
}

.dispatch th {
    width: 33%;
}

.dispatch-incident-action {
    font-size: 1em;
}

.dark {
    color: white;
}

    .dark .dispatch-incident,
    .dark .dispatch-incident-event,
    .dark .dispatch-incident-units,
    .dark .dispatch-incident-info,
    .dark .dispatch-chat-container,
    .dark .dispatch-unit,
    .dark .dispatch-chat-users,
    .dark .dispatch-chat-messages-list {
        border: 1px solid #4a4a4a;
    }

.dispatch-chat-channel {
    border: 0px solid #4a4a4a;
    border-left: 1px solid #4a4a4a;
}

.dark select optgroup {
    background: #263238 !important;
}

.dark select option {
    background: #343a40 !important;
}

.dark input, .dark select {
    border: 1px solid #4a4a4a !important;
}

.dark textarea, .dark input, .dark select {
    color: white !important;
    background: #343a40 !important;
}

    .dark textarea:focus, .dark input:focus, .dark select:focus {
        background-color: #343a40 !important;
        color: white !important;
    }

.dark .dispatch-incidents {
    border-bottom: 1px solid #4a4a4a;
    border-left: 1px solid #4a4a4a;
    border-right: 1px solid #4a4a4a;
}

.dark .nav-tabs .active {
    background: #343a40;
    color: white;
    border-color: #4a4a4a;
    border-bottom: 0;
}

.dark nav {
    border-color: #4a4a4a;
}

.dark .dispatch-incident-event-details {
    color: white;
}

.dark .heading {
    border-bottom: 2px solid #5a5a5a;
}

.dispatch-incident-event-details {
    scrollbar-color: yellow blue;
    scrollbar-color: #87ceeb #ff5621;
    scrollbar-color: auto;
}

.table-sm td, .table-sm th {
    padding: .3em !important;
}

@media only screen and (max-width: 1360px) {
    .dispatch {
        font-size: .75em !important;
    }

        .dispatch textarea {
            font-size: 1em !important;
        }
    .dispatch-incident-event {
        width: 42em !important;
    }
    .dispatch-incident-info {
        width:18em !important;
    }

}
@media only screen and (max-width: 1280px) {
    .dispatch {
        font-size: .75em !important;
    }

        .dispatch textarea {
            font-size: 1em !important;
        }

    .dispatch-incident-event {
        width: 30em !important;
        overflow:auto;
    }

    .dispatch-incident-info {
        width: 15em !important;
    }
}
