﻿.custom-width-modal {
    width: 70vh;
}

.dropdown-menu {
    z-index: 1001;
}

@media (max-width: 489px) {
    .truncate {
        width: 100px;
        white-space: nowrap;
        overflow: hidden;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
    }
}

.colour-legend {
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    padding: 10px;
    max-width: 500px;
}

    .colour-legend .ripuli {
        max-height: 400px;
        min-width: 150px;
        overflow-y: auto;
    }

    .colour-legend ul {
        padding-left: 0px;
    }

        .colour-legend ul li {
            list-style-type: none;
        }

.caseName {
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: text;
    white-space: nowrap;
}

.case-popover {
    margin: -10px -15px;
    max-width: 500px;
    width: 350px;
    overflow-x: hidden;
}

strong.truncate {
    max-width: 314px;
    white-space: nowrap;
    overflow: hidden;
    display: inline-flex;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    vertical-align: middle;
    text-overflow: ellipsis;
}


.case-popover .pop-caselist {
    min-height: 50px;
    margin-bottom: 0;
    overflow-y: auto;
}

.case-popover .case-popover-content {
    display: none;
}

.case-popover .pop-caselist .list-group-item {
    border: 0;
    border-top: 1px solid #ddd;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

    .case-popover .pop-caselist .list-group-item:last-child {
        -webkit-border-bottom-left-radius: 4px;
        border-bottom-left-radius: 4px;
        -webkit-border-bottom-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    .case-popover .pop-caselist .list-group-item.highlight .list-group-item-heading {
        color: teal;
    }

.popover {
    max-width: 500px !important;
}

.case-summary {
    width: 350px;
    padding: 9px 14px;
}

.jumbotron {
    z-index: 16;
    background: white url(images/cartographer_@2X.png) center repeat;
    position: relative;
}

    .jumbotron:after {
        background: teal;
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        opacity: 0.5;
        z-index: -1;
    }


.splash {
    text-align: center;
    height: 100px;
    width: 200px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

    .splash .message {
        line-height: 43px;
        font-weight: bold;
        display: inline-block;
        vertical-align: middle;
    }

.page-host {
}

div.navbar {
    margin-bottom: 0px;
}

    div.navbar .brand {
        color: teal;
    }

.navbar-fixed-top .navbar-inner {
    padding-left: 1em;
    padding-right: 1em;
}

.navbar-fixed-top .icon-home {
    font-size: 18px;
}

@media (max-width: 979px) {
    .page-host {
        top: 0;
    }

    .navbar-fixed-top {
        margin-bottom: 0;
    }
}

.progress-dialog {
    width: 20vw;
    position: absolute;
    z-index: 1000;
    top: 2em;
    left: 2em;
}

.toolspinner {
    position: relative;
    width: 3em;
    height: 32px;
    margin: 9px 0px;
}

.labToolBar {
    margin: 0px;
    background: #f8f8f8;
    border-bottom: 1px solid #d8d8d8;
}

.toolbarProgress {
    margin-bottom: 15px;
    margin-top: 15px;
    vertical-align: middle;
    display: inline-block;
    width: 100%;
}

.toolbarElement {
    margin: 8px 0px;
    vertical-align: middle;
    display: inline-block;
}

.bordered-left {
    border-left: 1px solid #e6e6e6;
}

.toolbarText {
    overflow: hidden;
    padding: 7px 7px;
}

.toolbarDivider {
    margin-top: 15px;
    margin-bottom: 0px;
}

.navbar-sep {
    border-left: 1px solid #d8d8d8;
    padding-left: 0px;
    padding: 20px 0px;
    margin: 5px 15px;
}

.navbar {
    position: static;
}

#map {
    min-height: 100%;
}

#list {
    min-height: 100%;
}

.nomarg {
    margin-left: 0px;
    margin-right: 0px;
}

.nopad {
    padding-right: 0;
    padding-left: 0;
}

.pad {
    padding: 0px 15px;
}

.popover {
    max-width: 500px;
    width: auto;
}

.slider {
    width: 400px;
}

.yank-left {
    margin-left: -0.20em;
}

/* Animation keyframes - you need to add prefixes */
@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@-o-keyframes spin {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

form label.collapsed {
    cursor: pointer;
}

[data-toggle=collapse]:not(.collapsed) .shown-collapsed {
    display: none;
}

.collapsed .hidden-collapsed {
    display: none;
}

.collapsed .shown-collapsed {
    display: inline-block;
}

.navbar-text.narrow-sides {
    margin-left: 0px;
    margin-right: 0px;
}

/* Loading animation container */
.loading {
    position: relative;
    display: inline-block;
    height: 30px;
    margin: 0px 0px -12px -2px;
    width: 30px;
}

.navbar-text .loading {
    margin: -6px 0 -10px 0;
}

.loading .track {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0, 0.1);
}

/* Spinning circle (inner circle) */
.loading .maskedCircle {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    border: 1px solid teal;
}

/* Spinning circle mask */
.loading .mask {
    width: 15px;
    height: 15px;
    overflow: hidden;
}

/* Spinner */
.loading .spinner {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 30px;
    height: 30px;
    -webkit-animation: spin 0.5s infinite linear;
    -o-animation: spin 0.5s infinite linear;
    animation: spin 0.5s infinite linear;
}

.circularProgress {
    position: relative;
    display: inline-block;
    height: 30px;
    margin: -12px 0px -12px 6px;
    width: 30px;
}

    .circularProgress .track {
        position: absolute;
        top: 1px;
        left: 1px;
        width: 28px;
        height: 28px;
        border-radius: 15px;
        border: 3px solid rgba(0,0,0, 0.2);
    }

    .circularProgress .circle > .percent {
        position: absolute;
        top: 1em;
        left: 0;
        width: 30px;
        font-size: 9px;
        text-align: center;
    }

    .circularProgress .circle > #slice {
        position: absolute;
        width: 100%;
        height: 100%;
        clip: rect(0px,30px,30px,15px);
    }

        .circularProgress .circle > #slice.gt50 {
            clip: rect(auto, auto, auto, auto);
        }

        .circularProgress .circle > #slice > .innerCircle {
            border: 3px solid #e5501b;
            position: absolute;
            width: 30px; /* 1 - (2 * border width) */
            height: 30px; /* 1 - (2 * border width) */
            clip: rect(0px,15px,30px,0px);
            -moz-border-radius: 50%;
            -webkit-border-radius: 50%;
            border-radius: 50%;
        }

            .circularProgress .circle > #slice > .innerCircle.full {
                -moz-transform: rotate(180deg) !important;
                -webkit-transform: rotate(180deg) !important;
                -o-transform: rotate(180deg) !important;
                transform: rotate(180deg) !important;
            }

.form-signin {
    max-width: 330px;
}

    .form-signin .form-signin-heading,
    .form-signin .checkbox {
        margin-bottom: 10px;
    }

    .form-signin .checkbox {
        font-weight: normal;
    }

    .form-signin .form-control {
        position: relative;
        font-size: 16px;
        height: auto;
        padding: 10px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

        .form-signin .form-control:focus {
            z-index: 2;
        }

    .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.nfleet {
    font-size: 60px;
    background-color: #ccc;
    font-weight: 900;
    color: rgba(53, 126, 189, 0.2);
    text-shadow: 0px 2px 3px rgba(255,255,255,1);
}

.immense {
    font-size: 40px;
}

.huge {
    font-size: 30px;
}

.bigger {
    font-size: 23px;
}

.big {
    font-size: 16px;
}

.smaller {
    font-size: 12px;
}

.knobInfo {
    padding: 6px 15px;
}

.knob {
    visibility: hidden;
}

.knobs .kpi-container {
    padding: 10px 15px 5px 15px;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.row-clickable {
    cursor: pointer;
}


.leaflet-container {
    font-size: 14px;
    line-height: 1.42857143;
    font-family: "Lato", "Helvetica Neue", "Arial", sans-serif;
}

.leaflet-popup-content p {
    margin: 0;
}

#sidebarWrapper.list {
    width: 100%;
    position: absolute;
}

    #sidebarWrapper.list #list {
        overflow: auto;
        position: relative;
        height: 100%;
        transition: all 0.25s;
    }

    #sidebarWrapper.list #sidebar.sidebar-open + #list {
        margin-right: 400px;
        transition: all 0.25s;
    }

    #sidebarWrapper.list #sidebar {
        position: absolute;
    }

#sidebarWrapper {
    position: relative;
    overflow: hidden;
}

    #sidebarWrapper #sidebar {
        background: #fff;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 100;
        visibility: visible;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
        width: 400px;
        height: 100%;
        overflow: hidden;
        border-left: 1px solid #ccc;
        -webkit-transition: all 0.5s;
        transition: all 0.5s;
    }

        #sidebarWrapper #sidebar.sidebar-open {
            z-index: 2000;
            visibility: visible;
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
        }


.sidebar-link {
    font-size: 20px;
    color: #999;
}

    .sidebar-link:hover {
        color: #111;
    }

#sidebar .sidebarMenu {
    width: 40px;
    position: absolute;
    border-right: 1px solid #eee;
    height: 100%;
    overflow: hidden;
    background: #f8f8f8;
}

#sidebar .sidebarContent {
    width: 360px;
    margin-left: 40px;
    height: 100%;
    background: #eee;
    position: absolute;
    overflow: hidden;
    padding: 0;
}

#sidebar .sidebarMenu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    #sidebar .sidebarMenu ul li {
        margin: 0;
        padding: 0;
        text-align: center;
        font-size: 20px;
    }

    #sidebar .sidebarMenu ul.smaller li {
        font-size: 16px;
    }

    #sidebar .sidebarMenu ul li.sep {
        border-bottom: 1px solid #ddd;
    }

    #sidebar .sidebarMenu ul li a,
    #sidebar .sidebarMenu ul li .static {
        padding: 10px;
        display: block;
    }

        #sidebar .sidebarMenu ul li a.disabled {
            color: #ddd;
        }

        #sidebar .sidebarMenu ul li a:hover,
        #sidebar .sidebarMenu ul li.active a {
            color: teal;
        }

#sidebar .sidebarContent .sidebarHeading {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

#sidebar .sidebarContent .sidebarBody {
    overflow-x: auto;
    width: 100%;
    position: absolute;
}

#sidebar .white-bg {
    background: white;
}


#sidebar .sidebarContent .routeElement.selected {
    color: white;
}

    #sidebar .sidebarContent .routeElement.selected a,
    #sidebar .sidebarContent .routeElement.selected .text-muted,
    #sidebar .sidebarContent .routeElement.selected .text-success,
    #sidebar .sidebarContent .routeElement.selected .text-info,
    #sidebar .sidebarContent .routeElement.selected .text-dange,
    #sidebar .sidebarContent .routeElement.selected .text-warning {
        color: white;
    }

    #sidebar .sidebarContent .routeElement.selected .dropdown-menu a {
        color: #333;
    }

.sidebarBody h4 hr {
    display: none;
}

#sidebar .sidebarContent .routeElement {
    padding: 10px 15px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #dddddd;
    margin-left: 5px;
    box-shadow: -5px 0 0 0 transparent;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
}

    #sidebar .sidebarContent .routeElement.selected .btn.disabled {
        opacity: 1;
        background-color: #ddd;
    }

    #sidebar .sidebarContent .routeElement[data-type=Pickup].selected {
        background: teal;
        border-top: 1px solid #009090;
        border-bottom: 1px solid #006060;
    }

    #sidebar .sidebarContent .routeElement[data-type=Delivery].selected {
        background: #e5501b;
        border-top: 1px solid #f6612c;
        border-bottom: 1px solid #d4400a;
    }

    #sidebar .sidebarContent .routeElement[data-type=Pickup].höver,
    #sidebar .sidebarContent .routeElement[data-type=Pickup].häver,
    #sidebar .sidebarContent .routeElement[data-type=Pickup].selected {
        box-shadow: -5px 0 0 0 teal;
    }

    #sidebar .sidebarContent .routeElement[data-type=Delivery].höver,
    #sidebar .sidebarContent .routeElement[data-type=Delivery].häver,
    #sidebar .sidebarContent .routeElement[data-type=Delivery].selected {
        box-shadow: -5px 0 0 0 #e5501b;
    }

.sidebar-header {
    margin: 0.75em 0;
    padding-bottom: 0.5em;
}

    .sidebar-header .cont {
        background-color: white;
        padding-right: 0.5em;
    }

.sidebarContent .hiddenChevron {
    visibility: hidden;
}

#sidebar .sidebarContent .topRed {
    border-top: 2px solid red;
    border-bottom: none;
}

#sidebar .sidebarContent .bottomRed {
    border-bottom: 2px solid red;
    border-top: none;
}

.lockIcon:hover {
    color: teal;
}

#sidebar .sidebarRoot {
    position: absolute;
    height: 100%;
    width: 100%;
}

#sidebar .loadingFade,
#map.loadingFade {
    -webkit-filter: blur(7px);
    /* ReSharper disable once InvalidValue */
    filter: url("blur.svg#gaussian_blur");
    filter: blur(7px);
}

.loaderOverlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,0) !important;
}

    .loaderOverlay #loader {
        border-radius: 15px;
        border: 1px solid #eee;
        padding: 15px;
        background-color: white;
        filter: none;
        position: relative;
        left: 40%;
        top: 45%;
    }

.coral {
    color: #e5501b;
}

.bg-teal {
    background-color: rgba(0, 128, 128, 0.3);    
}

.bg-coral {
    background-color: rgba(229, 80, 29, 0.15);
}

.table > tbody > tr.narrower > td {
    padding: 5px 8px;
}

.toolbarElement.bigger {
    font-size: 125%;
    margin: 0px 0px;
}

.knob {
    visibility: hidden;
}

.navbar-default .navbar-brand {
    color: teal;
}

td .progress {
    width: 150px;
    margin-bottom: 0px;
}

table.caselist th {
    cursor: pointer;
}

table.caselist > thead > tr > th,
table.caselist > thead > tr > td,
table.caselist > tbody > tr > td,
table.caselist > tbody > tr > td {
    vertical-align: middle;
}

footer {
    border-top: 1px solid #ddd;
    margin-top: 1em;
    padding-top: 1.5em;
}

#sidebar .sidebarContent .routeElement.grey {
    background-color: #f9f9f9;
}

.routeElement a {
    color: #333;
}

    .routeElement a:hover {
        color: teal;
        text-decoration: none;
    }

a.disabled {
    pointer-events: none;
    cursor: default;
    color: grey;
}

a.neutral {
    color: #333;
}

.has-feedback > .row .form-control-feedback {
    right: 15px;
}

.bold {
    font-weight: bold;
}

.scrollable-menu {
    height: auto;
    max-height: 600px;
    overflow-x: hidden;
}

.inactive-cluster {
    background-color: rgba(196, 196, 196, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.inactive-cluster div {
    background-color: rgba(164, 164, 164, 0.6);
}

.blue-cluster {
    background-color: rgba(60, 170, 230, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.blue-cluster div {
    background-color: rgba(40, 150, 210, 0.6);
}


.green-cluster {
    background-color: rgba(111, 200, 37, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.green-cluster div {
    background-color: rgba(100, 151, 20, 0.6);
}



.orange-cluster {
    background-color: rgba(251, 178, 47, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.orange-cluster div {
    background-color: rgba(231, 128, 47, 0.6);
}



.lightred-cluster {
    background-color: rgba(255, 142, 117, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.lightred-cluster div {
    background-color: rgba(225, 122, 97, 0.6);
}



.beige-cluster {
    background-color: rgba(255, 220, 150, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.beige-cluster div {
    background-color: rgba(245, 180, 120, 0.6);
}



.darkgreen-cluster {
    background-color: rgba(134, 150, 46, 0.6);
   color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.darkgreen-cluster div {
    background-color: rgba(104, 120, 26, 0.6);
}



.lightgreen-cluster {
    background-color: rgba(184, 254, 123, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.lightgreen-cluster div {
    background-color: rgba(184, 224, 103, 0.6);
}



.darkblue-cluster {
    background-color: rgba(10, 121, 180, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.darkblue-cluster div {
    background-color: rgba(0, 81, 140, 0.6);
}



.lightblue-cluster {
    background-color: rgba(147, 239, 255, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.lightblue-cluster div {
    background-color: rgba(117, 209, 235, 0.6);
}



.purple-cluster {
    background-color: rgba(213, 99, 189, 0.6);
   color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.purple-cluster div {
    background-color: rgba(183, 59, 159, 0.6);
}



.darkpurple-cluster {
    background-color: rgba(109, 76, 125, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.darkpurple-cluster div {
    background-color: rgba(79, 46, 85, 0.6);
}



.pink-cluster {
    background-color: rgba(255, 164, 252, 0.6);
   color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.pink-cluster div {
    background-color: rgba(225, 124, 202, 0.6);
}



.cadetblue-cluster {
    background-color: rgba(87, 125, 140, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.cadetblue-cluster div {
    background-color: rgba(47, 85, 100, 0.6);
}


.red-cluster {
    background-color: rgba(255, 30, 30, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.red-cluster div {
    background-color: rgba(220, 0, 0, 0.6);
}



.gray-cluster {
    background-color: rgba(106, 106, 106, 0.6);
    color: #EEE;
    text-shadow: 1px 1px 2px black;
}

.gray-cluster div {
    background-color: rgba(76, 76, 76, 0.6);
}

.row-inactive {
  color: lightgray;
}

.row-highlighted {
    background-color: #e8e8e8
}