/* ------- Customize browser scrollbar ------------------------------------------------------------------ */
* {
    scrollbar-width: thin;
    scrollbar-color: silver white;
}

::-webkit-scrollbar {
    width: 8px;
    height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0);
    background-color: #ffffff;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-width: 0 1px 0 1px;
    border-style: solid;
    border-color: #ffffff;
}

::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(0, 0, 0, 0.1);
}

/* ------- Preloader effect ------------------------------------------------------------------ */
.pace .pace-progress {
    background: #dd2b1c;
}

/* ------- Table Styling ------------------------------------------------------------------ */
table.dataTable thead th.sorting_disabled, table.dataTable thead td.sorting_disabled {
    padding: 10px 8px;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 10px 18px 10px 8px;
}

.table-bordered {
    border-width: 0 1px 1px 0;
    border-style: solid;
    border-color: #cccccc;
}

table.dataTable thead th, table.dataTable thead td {
    border-color: #cccccc;
}

.table-bordered th, .table-bordered td {
    border-width: 1px 0 0 1px;
    border-style: solid;
    border-color: #cccccc;
}

table.table-xs {
    font-size: 12px;
}

table.table-xs.dataTable thead th,
table.table-xs.dataTable thead td,
table.table-xs thead th,
table.table-xs th,
table.table-xs tbody td,
table.table-xs td {
    padding: 2px 5px;
}

.table-heading-rotate th {
    white-space: nowrap;
    height: 60PX;
    position: relative;
}

.table-heading-rotate th > div {
    transform: rotate(270deg);
    position: absolute;
    left: calc(50% - 13px);
    bottom: 15px;
    right: 0;
    width: 26px;
}

.first-td-align-left > tr > td:first-child,
.first-td-align-left > tbody > tr > td:first-child {
    text-align: left !important;
}

/* Table Header sticky */
table.table-header-sticky thead tr > th {
    background:#f5f5f5;
    position: sticky;
    padding:.5rem;
    z-index:1;
    top: -1px;
    color: #000000;
}

table.table-header-sticky thead tr > :first-child,
table.table-left-sticky thead tr > :first-child,
table.table-left-sticky-two thead tr > :nth-child(2) {
    z-index:2;
    left:-1px;
    top:-1px;
}

table.table-left-sticky-two thead tr > :nth-child(2) {
    left: 51px;
}

table.table-left-sticky tbody tr > :first-child,
table.table-left-sticky-two tbody tr > :nth-child(-n+2) {
    background:#f5f5f5;
    position: sticky;
    z-index:1;
    left:-1px;
    color: #000000;
}

table.table-left-sticky-two tbody tr > :nth-child(-n+2) {
    position: sticky;
}
table.table-left-sticky-two tbody tr > :nth-child(2) {
    left: 51px;
}

/* ------- Card hover effect ------------------------------------------------------------------ */
/*.card.card-main {
    box-shadow: 6px 8px 8px #ccc;
}

.card.card-main:hover {
    transform: translateY(6px);
    -webkit-transform: translateY(6px);
    box-shadow: 4px 4px 8px #ccc;
    -moz-box-shadow: 4px 4px 8px #ccc;
    -webkit-box-shadow: 4px 4px 8px #ccc;
}*/

/* ------- Select 2 ------------------------------------------------------------------------- */
.select2-block .select2, .select2 {
    display: block;
    width: 100% !important;
}

.card-heading .col-sm-3 .select2 {
    max-width: none;
    width: 100% !important;
}

.button-fixed .multiselect-native-select .btn-group {
    width: calc(100% - 96px) !important;
}

.select2-container--default .select2-selection--single {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #cccccc;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    height: auto;
}

.select2-dropdown, .select2-container--default .select2-search--dropdown .select2-search__field {
    border-color: #cccccc;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: inherit;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #17a2b8;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    font-family: 'Font Awesome 5 Pro';
    border: 0;
    margin: 0;
    top: 0;
    height: 36px;
    width: 11px;
    line-height: 36px;
    left: 6px;
    right: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b:before {
    content: "\f107";
}

/* ------- UI Date & Time Picker ------------------------------------------------------------------------- */
.ui-datepicker {
    padding: 10px;
}

.ui-widget-content {
    border: 1px solid #0f9aee;
    background: #ffffff;
    color: #888da8;
    font-family: 'Roboto', sans-serif;
}

.ui-widget-header {
    background: #ffffff none 0 0 repeat-x;
    color: #515365;
    font-weight: 500;
    border-width: 0 0 1px 0;
    border-color: #cccccc;
    border-style: solid;
}

.ui-widget-content dt {
    font-weight: 500;
}

.ui-datepicker th {
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: 1px solid #cccccc;
    background: #ffffff none 0 0 repeat-x;
    color: #888da8;
    font-weight: 400;
    border-radius: 4px;
}

.ui-datepicker td span, .ui-datepicker td a {
    text-align: center;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header.ui-state-highlight,
.ui-datepicker-current-day,
.ui-widget-content .ui-state-active {
    background: #0f9aee;
    color: #ffffff;
    font-weight: 500;
    border-radius: 4px;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    border-radius: 4px;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
    border-radius: 0;
}

.ui-widget.ui-widget-content {
    border: 1px solid #cccccc;
}

.ui_tpicker_hour_slider,
.ui_tpicker_minute_slider {
    height: 6px;
    border-radius: 4px;
    background-color: #f1f1f1;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -8px;
    margin-left: -9px;
    border-radius: 50%;
    background-color: #0f9aee;
}

.ui-widget-content dt.ui_tpicker_time_label {
    float: left;
    margin-right: 10px;
    color: #222222;
}

.ui-widget-content dt, .ui-widget-content dd {
    color: #515365;
    font-weight: 500;
}

.ui-widget-content dd, .ui_tpicker_hour_label, .ui_tpicker_minute_label {
    margin-bottom: 10px;
}

.ui_tpicker_hour, .ui_tpicker_second_label, .ui-datepicker-calendar {
    margin-bottom: 15px;
}

.ui-datepicker button.ui-datepicker-current,
.ui-datepicker button.ui-datepicker-close {
    margin: 10px 0 0;
    background-color: #291a78;
    border-color: #291a78;
    color: #ffffff;
    opacity: 1;
    padding: 6px 20px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 13px;
}

.ui-datepicker button.ui-datepicker-close {
    background-color: #28a745;
    border-color: #28a745;
}

.ui-datepicker-buttonpane {
    border: 1px solid #cccccc;
}

.side-nav {
    overflow: inherit;
}

/* ------- Custom CSS ------------------------------------------------------------------------- */
th.sorting_disabled {
    padding: 10px 8px;
}

.list-style-none li {
    list-style: none !important;
}

hr.hr-double {
    height: 1px;
    border-bottom: 1px solid #cccccc;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.theme-configurator .configurator-wrapper {
    z-index: 1053;
}

.custom-select {
    border-color: #cccccc;
    text-align: left;
}

.width-auto {
    width: auto !important;
}

.height-100vh {
    height: 100vh !important;
}

a#new_emergency_btn:hover {
    color: #dc3545;
    background-color: #232329;
}

.border-indigo, .border-primary {
    border-color: #291a78 !important;
}

input.form-control[type="date"], input.form-control[type="time"] {
    line-height: 1.4;
}

.side-panel-open.side-panel-full .chat .conversation .conversation-wrapper .conversation-fixed {
    position: absolute;
    top: -65px;
    width: calc(100% - 300px);
    display: inline-block;
    z-index: 0;
    opacity: 1;
}

.side-panel-full .chat .conversation .conversation-wrapper .conversation-fixed {
    opacity: 0;
}

.side-panel .side-panel-wrapper .nav.nav-tabs {
    justify-content: flex-end;
}

.breadcrumb li.breadcrumb-item a {
    color: #ffffff;
}

.breadcrumb li.breadcrumb-item a:hover {
    color: #dd2b1c;
}

.breadcrumb li.breadcrumb-item.active {
    color: #a0a0a0;
}
.textarea-height {
	height: 20px;
}

textarea.resize-none {
    resize: none;
	
}

table.dataTable tbody td {
    vertical-align: middle;
}

.col-mini .row,
.row.row-sm {
    margin-right: -7px;
    margin-left: -7px;
}

.col-mini .row [class*="col-"],
.row.row-sm > [class*="col-"] {
    padding-right: 7px;
    padding-left: 7px;
}

.map-filter {
    position: absolute;
    z-index: 3;
    top: 9px;
    right: 22px;
}

.map-filter select.form-control, .map-filter input {
    border-color: #d0d0d0;
}

.map-filter {
    position: absolute;
    z-index: 3;
    top: 9px;
    right: 22px;
    width: 438px;
}

.map-filter .form-group {
    width: 50%;
}

.map-filter .form-group .form-control {
    width: 100%;
}

.jq-toast-loader.jq-toast-loaded {
    background-color: rgba(255, 255, 255, 0.2) !important;
    top: 0;
    height: 3px;
}

.badge {
    padding: 5px 6px;
    font-size: 10px;
    font-weight: 400;
    border-radius: 3px;
    text-transform: uppercase;
}

.badge-sm {
    padding: 2px 4px 2px 4px;
    font-size: 9px;
    border-radius: 2px;
}

.color-code-badge {
    border-radius: 50%;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.col-mini .row .card,
.row.row-sm .card {
    margin-bottom: 16px;
}

.user-photo {
    position: relative;
    text-align: center;
    border: 1px solid #e3e8ec;
    padding: 15px 0;
    border-radius: 10px;
}

.user-photo figure {
    position: relative;
    border-radius: 50%;
    width: 175px;
    height: 175px;
    margin: 0 auto 15px;
    overflow: hidden;
}

.user-photo figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.user-photo input[type="file"] {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
}

.photo-section .user-photo img {
    width: 35%;
}

.status-section {
    background: #6b6868;
    padding: 10px 15px;
    color: #fff;
    border-radius: 0 0 10px 10px;
}

.status-section label {
    color: #fff;
}

.status-section {
    padding: 5px 10px;
}

.form-group {
    margin-bottom: 1rem;
}

.btn-xs {
    border-radius: 4px;
}

.input-group-prepend.btn {
    padding: 0;
    border-radius: 0 4px 4px 0;
    margin: 0;
}

.input-group-prepend.btn i {
    border: none;
    color: #ffffff;
    padding: 8px 16px;
}

.input-group-prepend.btn-sm i {
    padding: 2px 10px;
}

.border-radius-0 {
    border-radius: 0 !important;
}

.filter-sticky {
    position: fixed;
    z-index: 800;
    left: 75px;
    top: 14px;
}

@media (max-width: 767px) {
    .filter-sticky {
        position: relative;
        z-index: auto;
        left: inherit;
        top: inherit;
        width: 100%;
    }
}

nav[aria-label="breadcrumb"] {
    position: fixed;
    top: 22px;
    z-index: 800;
    left: 70px;
}

@media only screen and (min-width: 993px) {
    nav[aria-label="breadcrumb"] {
        left: 104px;
    }
}

.breadcrumb {
    padding-left: 0;
}

@media screen and (max-width: 639px) {
    .filter-sticky {
        position: relative;
        top: inherit;
        right: inherit;
        z-index: inherit;
        margin-bottom: 20px;
    }

}

/* ------- side panel-toggle ------------------------------------------------------------------------- */
.header .header-container .nav-right {
    margin-right: 65px;
}

.incident-detail-side {
    position: fixed;
    z-index: 1052;
}

#trips_show_btn {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1051;
    border-radius: 0;
    height: 65px;
    width: 65px;
    line-height: 65px;
    padding: 0;
}

#new_emergency_modal .modal-header {
    padding: 13px !important;
}

#ViewOrder .modal-header .modal-close {
    top: 14px;
    right: 75px;
    padding: 0;
    height: 36px;
    width: 36px;
    line-height: 37px;
    text-align: center;
}

/* ------- Map icons ------------------------------------------------------------------------- */
.leaflet-marker-pane .awesome-marker {
    background: none;
    font-family: 'icomoon' !important;
    position: relative;
}

.leaflet-shadow-pane {
    opacity: 0.3;
}

.leaflet-marker-pane .awesome-marker:before {
    content: "\e91f";
    font-size: 45px;
    line-height: 45px;
}

.leaflet-marker-pane .awesome-marker i {
    margin: 0;
    width: 28px;
    height: 29px;
    text-align: center;
    line-height: 28px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    left: 4px;
    right: 0;
    top: 1px;
    background-color: #ffffff;
    color: #333333;
    font-size: 21px;
}

.leaflet-marker-pane .awesome-marker i:before {
    color: #333333;
}

.leaflet-top.leaflet-left {
    width: 100%;
}

.leaflet-control-search .search-tooltip {
    width: 100%;
    box-shadow: none;
    border: 0;
    background: #ffffff;
    right: 0;
    max-width: inherit;
    min-width: inherit;
    max-height: 215px;
    margin-top: -2px;
    border-top: 1px solid #cccccc;
}

.leaflet-control-search .search-tooltip li.search-tip {
    border: 0;
    margin: 0;
    background-color: #ffffff;
    border-radius: 0;
    color: #5a5a5a;
}

.leaflet-control-search .search-tooltip li.search-tip:hover,
.leaflet-control-search .search-tooltip li.search-tip.search-tip-select {
    background: rgba(0, 0, 0, .06);
    color: #000000;
}

.leaflet-control-search .search-tooltip li.search-tip.search-tip-select {
    border: 3px solid #ffffff;
}

.leaflet-control-container .leaflet-control-search.leaflet-control,
#agents_vehicle_map .leaflet-control-container .leaflet-control-search.leaflet-control {
    position: absolute;
    right: 26px;
    min-width: 289px;
    top: 40px;
    border: 1px solid #cccccc;
}

.leaflet-control-container .only-location.leaflet-control-search.leaflet-control {
    top: 0 !important;
}

#agents_vehicle_map .leaflet-control-container .leaflet-control-search.leaflet-control {
    right: 19px;
}

.leaflet-control-container .leaflet-control-search.leaflet-control .search-input {
    margin: 0;
    border: 0;
    padding: 0.25rem 0.5rem;
    height: 29px;
    width: 400px;
    border-radius: 4px;
    /*transition: all ease-in-out 0.3s;*/
}

/*.leaflet-control-container .leaflet-control-search.leaflet-control .search-input:focus {
    width: 40vw;
    transition: all ease-in-out 0.3s;
}

#agents_vehicle_map .leaflet-control-container .leaflet-control-search.leaflet-control .search-input:focus {
    width: 32vw;
}*/

.leaflet-control-search .search-button {
    width: 28px;
    height: 28px;
    background-position: 4px 3px;
}

i.fa.fa-fass-number {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    line-height: 29px;
}

/* Icon size */
.leaflet-marker-pane .awesome-marker i[class*=" icon-engine-"] {
    font-size: 17px;
}

.leaflet-marker-pane .awesome-marker i.icon-electric-shock {
    font-size: 18px;
    line-height: 31px;
}

.leaflet-marker-pane .awesome-marker i.icon-suicide {
    font-size: 30px;
}

.leaflet-marker-pane .awesome-marker i.icon-delivery {
    font-size: 30px;
    line-height: 34px;
}

.leaflet-marker-pane .awesome-marker i.icon-medical {
    font-size: 17px;
}

.leaflet-marker-pane .awesome-marker i.icon-sports-injury {
    font-size: 24px;
    line-height: 34px;
}

.leaflet-marker-pane .awesome-marker i.icon-structure-collapse {
    line-height: 36px;
}

.leaflet-marker-pane .awesome-marker i.icon-play ,
.leaflet-marker-pane .awesome-marker i.icon-pause ,
.leaflet-marker-pane .awesome-marker i.icon-stop {
    font-size: 12px;
}

.leaflet-marker-pane .awesome-marker i.icon-braking {
    font-size: 24px;
}

.leaflet-marker-pane .awesome-marker i.icon-car {
    font-size: 18px;
}

.leaflet-marker-pane .awesome-marker i.icon-vehicle-recovery {
    font-size: 26px;
}

.leaflet-marker-pane .awesome-marker i.icon-parking {
    font-size: 16px;
}

.leaflet-marker-pane .awesome-marker i.icon-cars-crash {
    font-size: 24px;
}

.leaflet-marker-pane .awesome-marker i.icon-user {
    font-size: 25px;
    line-height: 34px;
}

.leaflet-marker-pane .awesome-marker i.icon-car-crash {
    font-size: 25px;
    line-height: 30px;
}

.leaflet-marker-pane .awesome-marker i.icon-ignition {
    font-size: 19px;
}

.leaflet-marker-pane .awesome-marker i.icon-door-open {
    font-size: 18px;
    line-height: 31px;
}

.leaflet-marker-pane .awesome-marker i.icon-corner {
    font-size: 18px;
    line-height: 24px;
}

.leaflet-marker-pane .awesome-marker i.fa-ambulance {
    font-size: 18px;
}

.leaflet-marker-pane .awesome-marker i.fa-bomb {
    line-height: 32px;
}

.leaflet-marker-pane .awesome-marker i.fa-virus {
    line-height: 30px;
}

.leaflet-marker-pane .awesome-marker i.fa-stretcher {
    font-size: 18px;
    line-height: 32px;
}

/* Colors */
.awesome-marker-icon-red:before {
    color: #dc3545;
}

.awesome-marker-icon-darkred:before {
    color: #333333;
}

.awesome-marker-icon-lightred:before {
    color: #9a9a9a;
}

.awesome-marker-icon-orange:before {
    color: #ff9c07;
}

.awesome-marker-icon-beige:before {
    color: #f5f5DC;
}

.awesome-marker-icon-green:before {
    color: #28a745;
}

.awesome-marker-icon-darkgreen:before {
    color: #007d1f;
}

.awesome-marker-icon-lightgreen:before {
    color: #11ff00;
}

.awesome-marker-icon-blue:before {
    color: #28a745;
}

.awesome-marker-icon-darkblue:before {
    color: #007bff;
}

.awesome-marker-icon-lightblue:before {
    color: #00cdff;
}

.awesome-marker-icon-purple:before {
    color: #800080;
}

.awesome-marker-icon-darkpurple:before {
    color: #291a78;
}

.awesome-marker-icon-pink:before {
    color: #FFC0CB;
}

.awesome-marker-icon-cadetblue:before {
    color: #5f9ea0;
}

.awesome-marker-icon-white:before {
    color: #ffffff;
}

.awesome-marker-icon-gray:before {
    color: #808080;
}

.awesome-marker-icon-lightgray:before {
    color: #D3D3D3;
}

.awesome-marker-icon-black:before {
    color: #000000;
}

.awesome-marker-icon-brown:before {
    color: #964B00;
}

.awesome-marker-icon-lightbrown:before {
    color: #9a7550;
}

/* -------  Leaflet ------------------------------------------------------------------------- */
/*.awesome-marker i {
    margin: 0;
    width: 30px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    border-radius: 50%;
    overflow: hidden;
}*/

.leaflet-popup-content-wrapper .leaflet-container {
    font-family: 'Roboto', sans-serif;
}

.leaflet-popup-content-wrapper {
    border-radius: 6px;
}

.leaflet-popup-content-wrapper .leaflet-popup-content {
    margin: 10px;
}

.leaflet-popup-content .tracking-title {
    margin-bottom: 10px;
    border-bottom: 1px solid #cccccc;
    position: relative;
    margin-top: -5px;
    padding-bottom: 4px;
}

.leaflet-popup-content .tracking-title h5 {
    font-weight: 600;
}

.leaflet-container a.leaflet-popup-close-button {
    top: -6px;
    right: -6px;
    padding: 0;
    width: 18px;
    height: 18px;
    font: 12px/18px Tahoma, Verdana, sans-serif;
    color: #ffffff;
    font-weight: 600;
    background: #dd2b1c;
    border-radius: 50%;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: #333333;
}

.leaflet-popup-content-wrapper .leaflet-popup-content .tracking-name label {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
}

#new_emergency_map .leaflet-top.leaflet-right {
    top: 38px;
}

.tracking-info-popup ol {
    padding: 0;
    margin: 0;
}

.tracking-info-popup ol li {
    display: inline-block;
    width: 100%;
    position: relative;
    margin: 4px 0;
}

.tracking-info-popup ol li label {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    margin: 0;
}

.tracking-info-popup ol li label i {
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin-right: 7px;
    font-size: 14px;
    text-align: center;
}

.tracking-info-popup ol li span {
    line-height: 20px;
    float: right;
}

.leaflet-container.leaflet-touch-drag {
    z-index: 1;
}

.leaflet-marker-icon.district-cluster {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    text-align: center;
    padding: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.leaflet-marker-icon.district-cluster > div {
    background-color: rgba(141, 214, 104, 0.7);
    line-height: 32px;
    border-radius: 50%;
    color: #222222;
}

.pointer-event {
    border-right: 3px solid #dd2b1c;
    font-size: 11px;
    padding: 4px 8px 4px 4px;
    margin: -4px;
}

/* -------  Custom CSS ------------------------------------------------------------------------- */
.width-max-content {
    width: max-content !important;
}

.icon-fa, .icon-fas, .icon-far, .icon-fal, .icon-fad {
    font-family: "Font Awesome 5 Pro" !important;
    font-weight: 900;
}
.icon-far {
    font-weight: 400;
}

.icon-fal {
    font-weight: 300;
}

.list-last-child-border-none li:last-child {
    border: none !important;
}

.modal-fs .modal-dialog {
    width: 100vw;
}

.modal-fs .modal-dialog .modal-content {
    height: auto;
    min-height: 100vh;
}

.error {
    color: red !important;
}

#map {
    position: absolute;
    top: 65px;
    bottom: 0;
    left: 70px;
    right: 0;
}

/* ------- Vehicles Status Detail Side Bar ------------------------------------------------------------------------- */
.app.is-collapsed .incident-detail-side.side-panel-full .side-panel-wrapper {
    width: calc(100% - 280px);
}

.app .incident-detail-side.side-panel-full .side-panel-wrapper {
    width: 100%;
}

.incident-detail-side .chat {
    padding: 0;
}

.incident-detail-side .chat .chat-user-list .trips-section {
    margin-bottom: 0;
}

.incident-detail-side .side-panel .side-panel-wrapper .nav-tabs > li > a > i {
    font-size: 20px;
}

.incident-detail-side .chat .chat-user-list .chat-user .user-info .user-name {
    font-weight: 600;
}

.incident-detail-side .chat .chat-user-list .chat-user {
    background-color: #ffffff;
    border-bottom: 1px solid #cccccc;
    position: relative;
    display: inline-block;
    width: 100%;
}

.incident-detail-side.side-panel-full .chat .chat-user-list .chat-user {
    border-left: 1px solid #cccccc;
    border-right: 4px solid #ffffff;
}

.incident-detail-side .chat .chat-user-list .chat-user:first-child {
    border-top: 0;
}

.incident-detail-side.side-panel-full .chat .chat-user-list .chat-user.active {
    border-left: 1px solid #ffffff;
}

.incident-detail-side .chat .chat-user-list .active.on_location,
.incident-detail-side .chat .chat-user-list .active.on_location:focus {
    border-right-color: #28a745;
    background-color: rgba(55, 201, 54, 0.05);
}

.incident-detail-side .chat .chat-user-list .active.on_location .user-name {
    color: #28a745;
}

.incident-detail-side .chat .chat-user-list .active.acknowledged,
.incident-detail-side .chat .chat-user-list .active.acknowledged:focus {
    border-right-color: #ffc107;
    background-color: rgba(255, 204, 0, 0.05);
}

.incident-detail-side .chat .chat-user-list .active.acknowledged .user-name {
    color: #ffc107;
}

.incident-detail-side .chat .chat-user-list .active.dispatched,
.incident-detail-side .chat .chat-user-list .active.dispatched:focus {
    border-right-color: #dc3545;
    background-color: rgba(255, 60, 126, 0.05);
}

.incident-detail-side .chat .chat-user-list .active.dispatched .user-name {
    color: #dc3545;
}

.incident-detail-side .chat .chat-user-list .active.finished,
.incident-detail-side .chat .chat-user-list .active.finished:focus {
    border-right-color: #291a78;
    background-color: rgba(119, 116, 231, 0.1);
}

.incident-detail-side .chat .chat-user-list .active.finished .user-name {
    color: #291a78;
}

.incident-detail-side .chat .chat-user-list .chat-user .user-info .prev-chat {
    color: #222222;
}

.incident-detail-side.side-panel-full .chat .chat-user-list:before {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: #cccccc;
    left: 0;
    top: 0;
}

.incident-detail-side .chat .chat-user-list .chat-user .status {
    top: 10px;
    right: 0;
}

.incident-detail-side .chat .chat-user-list .chat-user .thumb-img {
    margin-right: 15px;
}

.incident-detail-side .chat .chat-user-list .chat-user .user-info {
    height: auto;
    padding: 0;
    position: relative;
    display: inline-block;
    width: 100%;
    font-size: 12px;
}

.incident-detail-side .chat .chat-user-list .chat-user:hover {
    background-color: #f5f5f5;
}

.incident-detail-side .chat .chat-user-list .chat-user:focus {
    background-color: #ffffff;
}

.incident-detail-side.side-panel-full .chat .chat-user-list {
    width: 340px;
    left: inherit;
    float: right;
}

.incident-detail-side.side-panel-full .chat .conversation {
    right: inherit;
    left: 0;
    width: calc(100% - 340px);
}

/* ------- Agent Tabs ------------------------------------------------------------------------- */
.agent-tabs a {
    cursor: pointer;
}

.agent-tabs li.active a {
    opacity: 1;
}

.agent-tabs .nav-item {
    border-bottom: 2px solid rgba(0, 0, 0, 0);
}

.agent-tabs .nav-item.active {
    border-color: #3c2b99;
}

.agent-tabs .nav-item.active[data-status=""] {
    border-color: #3c2b99;
    background-color: #3c2b99;
}

.agent-tabs .nav-item.active[data-status="acknowledged"] {
    border-color: #ffc107;
    background-color: #ffc107;
}

.agent-tabs .nav-item.active[data-status="dispatched"] {
    border-color: #dc3545;
    color: #dc3545;
    background-color: #dc3545;
}

.agent-tabs .nav-item.active[data-status="on_location"] {
    border-color: #28a745;
    color: #28a745;
    background-color: #28a745;
}

.agent-tabs .nav-item.active[data-status="finished"] {
    border-color: #3c2b99;
    color: #3c2b99;
    background-color: #3c2b99;
}

.agent-tabs .nav-item[data-status=""]:hover a,
.agent-tabs .nav-item.active[data-status=""] a {
    color: #3c2b99 !important;
}

.agent-tabs .nav-item[data-status="acknowledged"]:hover a,
.agent-tabs .nav-item.active[data-status="acknowledged"] a {
    color: #ffc107 !important;
}

.agent-tabs .nav-item[data-status="dispatched"]:hover a,
.agent-tabs .nav-item.active[data-status="dispatched"] a {
    color: #dc3545 !important;
}

.agent-tabs .nav-item[data-status="on_location"]:hover a,
.agent-tabs .nav-item.active[data-status="on_location"] a {
    color: #28a745 !important;
}

.agent-tabs .nav-item[data-status="finished"]:hover a,
.agent-tabs .nav-item.active[data-status="finished"] a {
    color: #3c2b99 !important;
}

.agent-tabs .nav-item.active[data-status=""] a,
.agent-tabs .nav-item.active[data-status="acknowledged"] a,
.agent-tabs .nav-item.active[data-status="dispatched"] a,
.agent-tabs .nav-item.active[data-status="on_location"] a,
.agent-tabs .nav-item.active[data-status="finished"] a {
    color: #ffffff !important;
}

/* ------- Online Agents ------------------------------------------------------------------------- */
#agent_status_container .agent-district-header.border-top:first-child {
    border-top: 0 solid transparent !important;
}

#agent_status_container .agent-district-header:first-child h6 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#agent_status_container .agent-district-header.border-top {
    border-top-style: double !important;
    border-top-width: 3px !important;
    margin: 0 -16px;
}

/* ------- Map Sidebar ------------------------------------------------------------------------- */
.map-controller-sidebar {
    width: 0;
    transition: all ease-in-out 0.3s;
    position: fixed;
    z-index: 999;
    height: calc(100% - 95px);
    right: 0;
}

.map-controller-sidebar.active {
    width: 350px;
    transition: all ease-in-out 0.3s;
}

.map-controller-sidebar .map-controller {
    background: #ffffff;
    color: #2a2a2a;
    margin: 10px 0;
    height: calc(100% - 20px);
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.21);
}

.map-controller-sidebar .map-controller > div {
    margin: 12px 0;
    height: calc(100% - 24px);
    width: 350px;
}

.map-controller-sidebar .controller-handel {
    position: absolute;
    left: -40px;
    width: 40px;
    height: 40px;
    line-height: 20px;
    top: 100px;
    border-radius: 0;
    padding: 0;
    text-align: center;
    margin: 0;
}

.event-history {
    height: calc(100vh - 326px);
    overflow-x: hidden;
    overflow-y: auto;
}

/* ------- TimeLine Start ------------------------------------------------------------------------- */
.timeline {
    list-style: none;
    margin: 15px 0 0 0;
    padding: 0 0 0 16px;
    font-size: 12px;
    width: 100%;
    position: relative;
}

.timeline li {
    position: relative;
    margin: 0;
    border-left: 2px solid #cccccc;
    padding: 38px 0 11px 15px;
}

.timeline li.blue {
    border-color: var(--blue);
}

.timeline li.blue i, .timeline li.blue .title {
    color: var(--blue);
}

.timeline li.blue .time > i {
    background-color: var(--blue);
}

.timeline li.yellow {
    border-color: var(--yellow);
}

.timeline li.yellow i, .timeline li.green .title {
    color: var(--yellow);
}

.timeline li.yellow .time > i {
    background-color: var(--yellow);
}

.timeline li.red {
    border-color: var(--red);
}

.timeline li.red i, .timeline li.red .title {
    color: var(--red);
}

.timeline li.red .time > i {
    background-color: var(--red);
}

.timeline li.green {
    border-color: var(--green);
}

.timeline li.green i, .timeline li.green .title {
    color: var(--green);
}

.timeline li.green .time > i {
    background-color: var(--green);
}

.timeline li.purple {
    border-color: var(--purple);
}

.timeline li.purple i, .timeline li.green .title {
    color: var(--purple);
}

.timeline li.purple .time > i {
    background-color: var(--purple);
}

.timeline li.date-change {
    margin-top: 60px;
}

.timeline li .day {
    position: absolute;
    top: -46px;
    left: -50px;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 90px;
    color: #fff;
    background: #dd2b1c;
}

/*.timeline li .event {
    border-bottom: 1px dotted #e0e0e0;
    padding-bottom: 20px;
}*/

.event .show_clickable {
    color: black;
    text-decoration: none;
    display: inline-block;
}

.timeline li .time {
    position: absolute;
    left: -18px;
    top: 0;
    border-radius: 90px;
    background-color: #fff;
    padding: 4px 8px 4px 4px;
    border: 2px solid #cccccc;
}

.timeline li .title {
    font-size: 14px;
    margin: 0 0 5px;
    font-weight: 600;
    color: #000;
}

.timeline li:last-of-type .event {
    border: 0;
    padding-bottom: 0;
}

.timeline li:last-of-type:before {
    left: -7px;
}

.timeline li .information {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.timeline li .location {
    font-size: 14px;
    font-weight: 400;
}

.timeline li .time {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.54);
}

.timeline li .time > i {
    width: 22px;
    height: 22px;
    margin-right: 4px;
    background-color: #dd2b1c;
    color: #ffffff;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.timeline li .time > i.speeding {

}

.timeline li p {
    margin: 0 0 10px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
}

.mainMapContainer .leaflet-left {
    height: 100%;
}

.mainMapContainer .leaflet-left .leaflet-control {
    margin: 10px !Important;
    height: calc(100% - 18px);
}

/* ------- Map Searchbar ------------------------------------------------------------------------- */
.pac-container {
    z-index: 9999 !important;
}

.leaflet-gac-wrapper {
    height: 30px;
}

.leaflet-control-container .leaflet-gac-control {
    width: 293px;
    height: 30px;
    padding: 0 10px;
    border-radius: 3px;
    border: 1px solid #d0d0d0;
}

.leaflet-control-container .leaflet-right .leaflet-gac-control {
    position: absolute;
    right: 0;
    transition: width .3s ease .15s;
}

.leaflet-control-container .leaflet-gac-control:focus {
    outline: none;
}

.leaflet-control-container .leaflet-gac-search-btn {
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 4px;
}

.leaflet-control-container .leaflet-gac-search-btn .leaflet-gac-search-icon {
    cursor: pointer;
    width: 100%;
    height: 100%;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABOUlEQVQ4T6XTLUgmQRgH8N+Ligd+FOu1ww+wKPhxlwxXxHYnqCAGQZtgMBgU4eWaXLhyCgYxiAYVk6igJotgEaNiNYgGL6kHJwOzsO+yGzw3zszzm5nnP1vyzq+UU9+JUbTiCWdYw13eXmmgCr8wlbPwERPYys6lgVA8jSvM4RQfMIQF1KIfR2kkAdpxiRv04CGzUx9OcI02/EvmE+AH5jGG9YK+bmMQ3TjPApsYQXPcJc+Ywc/Y4I0ssIpxdOCi4ATl2Ivv2M0Ck1jBImZzgOrYoxZ8xG0WqI9Hb4pX2UkhNViKMe5jIC+FMPYVezGu4xhjHb7hUyx6wXDeFRK0C79jlMnYX4SmhZfZiwok7ymHwpBGyPs5RnaPRhzicxopAop+sYAc4Av+BPStQIAbsByffPl/gIrTvQLbJDoR8K3H6QAAAABJRU5ErkJggg==") no-repeat center center;
}

.leaflet-control-container .leaflet-gac-hidden {
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    transition: width .3s ease .15s;
}

.input-icon i {
    top: calc(50% - 7px);
    width: 14px;
    height: 14px;
}

.input-icon-right {
    position: relative;
}

.input-icon-right i {
    position: absolute;
    top: calc(50% - 7px);
    right: 10px;
    width: 14px;
    height: 14px;
}

.input-icon-right .form-control {
    padding-right: 40px;
}

.emer-status {
    background-color: #cccccc;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 6px;
    margin-left: 10px;
    font-size: 16px;
    letter-spacing: 1px;
}

.text-overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

/* ------- Reposition Agent Map Place Search Input ----------------------- */
#new_emergency_map .leaflet-top.leaflet-right,
#agents_vehicle_map .leaflet-top.leaflet-right {
    display: inline-block;
    width: calc(100% - 69px);
    top: 47px;
    right: 19px;
}

#new_emergency_map .leaflet-top.leaflet-right {
    width: calc(70% - 69px);
}

#new_emergency_map .leaflet-top.leaflet-right {
    right: 26px;
}

#new_emergency_map .leaflet-top.leaflet-right .leaflet-gac-container,
#agents_vehicle_map .leaflet-top.leaflet-right .leaflet-gac-container {
    display: contents;
}

#new_emergency_map .leaflet-top.leaflet-right input.leaflet-gac-control.pac-target-input:focus,
#agents_vehicle_map .leaflet-top.leaflet-right input.leaflet-gac-control.pac-target-input:focus {
    width: 100%;
}

/* ------- Make Readonly Input elements looks like Normal Elem ------------------------ */
input[readonly], select[readonly], textarea[readonly] {
    background-color: #fff !important;
}


.device-deactivated .tracking-title h5 {
    color: #dd2b1c;
}

.device-deactivated .tracking-title:after {
    content: '';
    position: absolute;
    left: -11px;
    right: -11px;
    top: -6px;
    height: 6px;
    background-color: #dd2b1c;
    border-radius: 10px 0;
}

.device-deactivated .tracking-title:before {
    content: 'Not Synced';
    position: absolute;
    background-color: #dd2b1c;
    color: #ffffff;
    right: 6px;
    padding: 2px 6px;
    border-radius: 3px;
    top: -3px;
}

.trd-col-ver tr td:nth-child(3) {
    vertical-align: top;
}

.btn-cluster {
    background-color: rgba(255, 255, 255, 1);
    width: 35px;
    height: 35px;
    display: inline-block;
    line-height: 36px;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    font-size: 18px;
    outline: none;
}

.btn-cluster.active {
    box-shadow: none;
    background-color: #dd2b1c;
    color: #ffffff;
}

/* Gear Animation */
.machine {
    fill: #3eb049;
}

.machine > g {
    -webkit-animation: counter-rotation 2.5s infinite linear;
    -moz-animation: counter-rotation 2.5s infinite linear;
    -o-animation: counter-rotation 2.5s infinite linear;
    animation: counter-rotation 2.5s infinite linear;
    -webkit-transform-origin: 100.136px 225.345px;
    -ms-transform-origin: 100.136px 225.345px;
    transform-origin: 100.136px 225.345px;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

@-webkit-keyframes counter-rotation {
    from {
        -webkit-transform: rotate(359deg);
    }
    to {
        -webkit-transform: rotate(0deg);
    }
}

@-moz-keyframes counter-rotation {
    from {
        -moz-transform: rotate(359deg);
    }
    to {
        -moz-transform: rotate(0deg);
    }
}

@-o-keyframes counter-rotation {
    from {
        -o-transform: rotate(359deg);
    }
    to {
        -o-transform: rotate(0deg);
    }
}

@keyframes counter-rotation {
    from {
        transform: rotate(359deg);
    }
    to {
        transform: rotate(0deg);
    }
}

/* /-Gear Animation */

/* Calling Animation */
.call-animation {
    background: #28a745;
    width: 100px;
    height: 100px;
    position: relative;
    margin: 30px auto 50px;
    border-radius: 100%;
    border: solid 5px #fff;
    color: #ffffff;
    font-size: 40px;
    line-height: 92px;
    animation: play 2s ease infinite;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;

}

@keyframes play {
    0% {
        transform: scale(1);
    }
    15% {
        box-shadow: 0 0 0 5px rgba(40, 167, 69, 0.4);
    }
    25% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0.4), 0 0 0 20px rgba(40, 167, 69, 0.2);
    }
    25% {
        box-shadow: 0 0 0 15px rgba(40, 167, 69, 0.4), 0 0 0 30px rgba(40, 167, 69, 0.2);
    }
}

.call-counter {
    position: absolute;
    right: 6px;
    background-color: #dd2b1c;
    border-radius: 50px;
    font-size: 10px;
}

/* /-Calling Animation */

.scrolling {
    height: calc(100vh - 148px);
    overflow-y: auto;
    overflow-x: hidden;
}

.scrolling-map {
    height: calc(100vh - 190px);
    overflow: hidden;
}

#agents_vehicle_map {
    width: 100%;
    height: calc(100vh - 306px);
    position: relative;
    outline: none;
}

.app.is-collapsed .side-nav .side-nav-inner .side-nav-logo .mobile-toggle {
    margin-right: -40px;
}

@media only screen and (max-width: 992px) {
    .side-nav .side-nav-inner .side-nav-menu > li > a .title {
        display: inline-block;
    }

    .side-nav {
        width: 280px;
    }

    #map {
        left: 0;
    }
}

/* Waterfall Grid */
.waterfall {
    position: relative;
    overflow: hidden;
}

.waterfall .grid-block {
    width: calc(25% - 2px);
}

.waterfall .grid-block > div {
    padding: 20px;
    display: block;
    margin: 7px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 0.30rem;
    transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

/* /-Waterfall Grid */

#agent_status_container {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100% - 66px);
}

#agent_status_container .list-info .info .sub-title {
    max-width: 100%;
}

#agent_status_container .list-info:last-child {
    margin-bottom:  0 !important;
}

/*---------------Styling for Shimmer Effect---------------*/
.shimmer {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    font-size: 0px !important;
    color: #f6f7f8;
    background-repeat: no-repeat;
    position: relative;

    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-name: placeholderShimmer;
    -webkit-animation-timing-function: linear;
}

.shimmer * {
    font-size: 0px !important;
    color: #f6f7f8;
}

@-webkit-keyframes placeholderShimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}
/*---------------/Styling for Shimmer Effect---------------*/

.first-hr-hide hr:first-child {
    display: none;
}

.shifts-radio .radio {
    position: relative;
    padding: 0;
    display: inline-block;
}

.shifts-radio .radio label {
    margin-bottom: 0;
    margin-right: 5px;
}

.shifts-radio .radio input[type=radio] + label:before {
    display: none;
}

.shifts-radio .radio input[type=radio] {
    margin: 0;
    display: none;
    width: 22px;
}

.shifts-radio .radio input[type=radio] + label {
    padding-left: 0;
}

.shifts-radio .radio input[type=radio] + label {
    width: 28px;
    height: 28px;
    line-height: 28px;
    display: inline-block;
    border: 1px solid #cccccc;
    border-radius: 50%;
    margin-right: 3px !important;
    font-size: 10px;
    font-weight: 400;
    vertical-align: bottom;
    text-align: center;
    background-color: #ffffff;
    cursor: pointer;
    margin-bottom: 0;
}

.shifts-radio .radio input[type=radio]:checked + label {
    background: #0f9aee;
    border-color: #0f9aee;
    color: #ffffff;
}

.shifts-radio .radio.day-off input[type=radio]:checked + label {
    background: #dd2b1c;
    border-color: #dd2b1c;
}

.shifts-radio .radio.disabled input[type=radio]:checked + label,
.shifts-radio .radio.disabled input[type=radio] + label {
    background: #dddddd;
    border-color: #dddddd;
    cursor: default;
}

.hasDatepicker {
    background-repeat: no-repeat;
    background-position: calc(100% - 17px) 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M400 64h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V160h352v298c0 3.3-2.7 6-6 6z'/></svg>");
    background-size: auto 18px;
}

.hasDatepicker[type="date"],
.hasDatepicker[type="month"],
.hasDatepicker[type="year"] {
    background: none;
}


/* Login Captcha */
.login-captcha .captcha {
    position: absolute;
    right: 20px;
    top: 5px;
}

.login-captcha .captcha img {
    height: 28px;
    border-radius: 4px;
}

.dataTables_filter input[type="search"] {
    padding: 0 5px;
}

textarea#io_element_data {
    width: 100%;
    border: 0;
    height: calc(100vh - 120px);
    resize: none;
    margin-top: 15px;
}

.z-index-1 {
    z-index: 1 !important;
}

#conference_call_modal {
    z-index: 1052;
}

ul.stepper .step .step-content .step-actions.tost-bottom, .btn-vitals.tost-bottom {
    bottom: 70px !important;
}



