﻿body {
    padding-top: 0;
}

.footer, #footer {
    display: none !important;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #b1b1b1;
    opacity: 1; /* Firefox */
    font-style: italic;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #b1b1b1;
    font-style: italic;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #b1b1b1;
    font-style: italic;
}

a:hover {
    text-decoration: none;
}


.modal-dialog.w1600 {
    max-width: 1000px
}


html, body, form {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.app .app-content {
    position: relative;
    margin-left: 0;
    width: auto;
    height: 100%;
}




.app {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .app .sidebar {
        position: fixed;
        top: 0;
        left: -400px;
        z-index: 10;
        background: #FFF;
        width: 400px;
        height: 100%;
        transition: left 0.5s;
        -moz-transition: left 0.5s;
        -webkit-transition: left 0.5s;
        -o-transition: left 0.5s;
        -moz-box-shadow: 4px 0 6px 0 rgba(0,0,0,.2);
        -webkit-box-shadow: 4px 0 6px 0 rgba(0,0,0,.2);
        box-shadow: 4px 0 6px 0 rgba(0,0,0,.2);
    }

    .app .app-content {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

    .app.active .sidebar {
        left: 0;
    }

    .app.active .app-content {
        left: 400px;
    }



    .app .sidebar .sidebar-toggle {
        position: absolute;
        top: 50px;
        right: -24px;
        width: 24px;
        line-height: 40px;
        color: #000;
        font-weight: normal;
        border-top: solid 1px #808080;
        border-right: solid 1px #808080;
        border-bottom: solid 1px #808080;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.80);
        text-decoration: none;
    }

        .app .sidebar .sidebar-toggle:hover {
            background-color: rgba(255, 255, 255, 1);
        }

    .app .sidebar .icon {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
    }

    .app .sidebar .sidebar-toggle:before {
        content: "\f054";
    }

    .app.active .sidebar .sidebar-toggle:before {
        content: "\f053";
    }

    .app .sidebar-bottom {
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        padding: .5rem;
        font-size: .65rem;
    }

        .app .sidebar-bottom > a, .app .site-info {
            display: inline-block;
        }

    .app .site-info {
        font-size: 0.45rem;
        line-height: 0.45rem;
        color: white;
        margin: 0;
        padding: 0;
    }

    .app .prev-version {
        font-size: 1rem;
    }

#sidebarBox {
    padding-bottom: 50px;
}


.app .sidebar-scroll {
    overflow-y: auto;
    height: calc(100% - 55px);
}

.app .sidebar-header {
    padding: .5rem;
    min-height: 60px;
    margin-left: 40px;
}

    .app .sidebar-header a, .app .sidebar-header h1 {
        display: inline-block;
    }

    .app .sidebar-header > a > img {
        width: 120px;
    }

    .app .sidebar-header > a {
        margin-left: .5rem;
    }

    .app .sidebar-header h1 {
        font-size: 1rem;
        margin: 0px 0px 0px .5rem;
        vertical-align: middle;
    }


.footer {
    padding: .5rem;
}

.copy {
    font-size: 0.65rem;
}


.menu .account {
    font-size: 2rem;
}

.menu .icon {
    margin-right: 10px;
    font-size: 1.5rem;
    color: #7f7f7f;
}

    .menu .icon.icon-account {
        font-size: 2rem;
    }

.menu .dropdown-divider {
    border-top-color: #c2c2c2;
}


.sidebar-dashboard {
    background: #fff;
}

    .sidebar-dashboard ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

.sub-menu li {
    padding: .5rem .5rem .5rem .5rem;
    border-bottom: solid 1px #e6e6e6;
}

.itemX {
    display: flex;
    flex-direction: row;
}

.item {
    display: flex;
    align-items: center;
}

    .item input.name, .item input.address, .item a.edit {
        margin-right: .15rem;
    }

    .item input.name {
        width: 30%;
    }

    .item input[type=checkbox], .search-box .toggle {
        margin-right: .5rem;
    }

    .item .grip {
        margin-right: .25rem;
        cursor: move;
        color: #2167ff;
    }

        .item .grip.start {
            color: #107c10;
        }

        .item .grip.finish {
            color: #e12d30;
        }

.dashboard a {
    text-align: center;
    font-size: 0.7rem;
}

/*.dashboard a span {
        display: block;
    }*/

.sidebar-dashboard .options a {
    font-size: .7rem;
}

    .sidebar-dashboard .options a span {
        display: block;
    }

#addLocation, #addVehicle {
    font-size: .9rem;
}

.progress-value {
    text-align: center;
    width: 100%;
}

#infobox {
    background-color: White;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    min-height: 200px;
    width: 276px;
    font-family: Verdana;
    font-size: 0.6rem;
    border-radius: 5px;
    position: relative;
}

#infoboxTitle {
    padding: 5px 5px 5px 5px;
    font-weight: bold;
    border-bottom: solid 1px black;
}

#infoboxDescription {
    padding: 0 5px 5px 5px;
    line-height: 12px;
}

#infobox .infobox-stalk {
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid black;
    bottom: -16px;
    left: 116px;
    position: absolute;
}

#infobox .buttons {
    margin-left: -5px;
    margin-right: -5px;
    padding: 5px 5px 0px;
    border-top: solid 1px black;
}

#infobox .address {
    border-bottom: dashed 1px #8b8b8b;
}

.routes-buttons {
    padding: .5rem;
    border-bottom: solid 1px #808080;
}

    .routes-buttons .btn-sm {
        font-size: .7rem;
    }

.route {
    border-bottom: 1px solid #467082;
}

.route-options {
    margin-right: .5rem;
    margin-left: .5rem;
}

.route .route-options-header {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.route-options-header .btn-sm {
    font-size: .7rem;
}

.route-options-header .btn-print {
    margin-right: 1rem;
}

.route .route-options-body {
    padding-bottom: .5rem;
}



.route-title {
    display: flex;
    align-items: center;
    padding: .5rem;
    background-color: #dcecf8;
    color: #000000;
}


    .route-title .name, .route-title .btn-sm {
        font-size: .8rem;
    }

    .route-title .name {
        flex-grow: 1;
    }

    .route-title .chevron {
        margin-right: .5rem;
        margin-left: .5rem;
        font-size: 1rem;
    }

.route-options-header .btn > span {
    display: block;
}

.route-stops {
    min-height: 2.8rem;
}

    .route-stops .options {
        padding-top: .5rem;
    }

        .route-stops .options ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
        }

            .route-stops .options ul li {
                display: inline-block;
            }

    .route-stops .route-stop-highlight, .draggable-highlight {
        height: 2.8rem;
        line-height: 2.8rem;
        background-color: #808080;
    }

    .route-stops .route-stop {
        background-color: #fff;
        border-top: 1px solid #467082;
        font-size: .9rem;
    }

        /*.route-stops .route-stop:hover {
            background-color: #dcecf8;
        }*/

        .route-stops .route-stop .title {
            padding: .5rem;
            display: flex;
            position: relative;
        }

            .route-stops .route-stop .title:hover {
                background-color: #dcecf8;
            }

        .route-stops .route-stop .summary {
            position: absolute;
            top: 0px;
            right: 45px;
        }

    .route-stops .name-wrap {
        flex-grow: 1;
        padding-left: .5rem;
        cursor: pointer;
        font-size: .7rem;
    }

    .route-stops .name {
        font-size: .9rem;
        color: black;
    }


.stop-num span {
    width: 100%;
}

.route-stops .stop-num {
    min-width: 2rem;
    cursor: move;
}

    .route-stops .stop-num .middle {
        background-color: #2167ff;
    }

    .route-stops .stop-num .start {
        background-color: #107c10;
    }

    .route-stops .stop-num .finish {
        background-color: #e12d30;
    }

.route-stops .more {
    margin-left: .5rem;
    font-size: .7rem;
}

.route a[aria-expanded=true] .collapse-icon {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}






.search-box {
    margin-top: .5rem;
    display: flex;
    align-items: center;
}

    .search-box .search {
        padding-left: 2rem;
    }



    .search-box .search-box-wrap {
        flex-grow: 1;
        position: relative;
    }

    .search-box .icon-search {
        position: absolute;
        left: .5rem;
        top: .5rem;
        color: #6c757d;
    }



#tabList .nav-link {
    font-size: .8rem;
}


/*Color of user icon*/
.menu .dropdown-toggle {
    color: #35bae0;
}

.section-header {
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    outline: 0;
    padding: .5rem 1rem;
    text-decoration: none;
    white-space: nowrap;
    background-color: #35bae0; /*#2fc5e6;*/ /*#2b799a;*/
    border-top: solid 1px #fff;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
    font-size: .8rem;
}

    .section-header:hover {
        text-decoration: none;
        color: #fff;
    }

    .section-header .section-icon {
        width: 2rem;
    }

    /*Font size for Locations, Vehicles, Routes.....*/
    .section-header .section-name {
        flex-grow: 1;
        font-size: 1.2rem;
    }

    .section-header .section-name.route-name {
        font-size: 0.9rem;
        text-overflow:ellipsis;
    }
    .section-header .collapse-icon {
        -webkit-transition: all .3s linear;
        transition: all .3s linear;
    }

    .section-header[aria-expanded=true] .collapse-icon {
        -webkit-transform: rotate(-180deg);
        transform: rotate(-180deg);
    }

    .section-header .section-close {
        color: #fff;
    }

.section-body, .section-body .toolbar .btn {
    font-size: .8rem;
}

    .section-body .toolbar, .section-body .notes {
        padding: .5rem;
    }


.btn-build {
    border-radius: 50%;
    width: 52px;
    height: 52px;
}



.btn-circle-small {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: solid 1px #eee;
}


#directionsBox {
    display: none;
}


.dir-instructions {
    display: none;
    font-size: .75rem;
    border-top: solid 1px #eee;
    padding: .5rem 0;
    width: 100%;
}

.dir-instruction-row {
    display: table-row;
    cursor: pointer;
}

    .dir-instruction-row:hover {
        background-color: #dcecf8;
    }

    .dir-instruction-row .dir-icon, .dir-instruction-row .dir-instruction, .dir-instruction-row .dir-distance, .dir-instruction-row .dir-time {
        display: table-cell;
    }

    .dir-instruction-row .dir-icon {
        width: 30px;
        text-align: center;
    }

        .dir-instruction-row .dir-icon img {
            width: 60%;
        }

    .dir-instruction-row .dir-instruction {
        padding-bottom: .5rem;
        padding-right: .25rem;
    }


    .dir-instruction-row .dir-distance {
        width: 40px;
    }

    .dir-instruction-row .dir-time {
        width: 40px;
        padding-right: .25rem;
    }


#mapView, #myMap {
    width: 100%;
    height: 100%;
}

#reportView, #gridView {
    display: none;
}

.tab-view, .tab-view iframe {
    width: 100%;
    height: 100%;
}

iframe {
    border: none;
}

    iframe:focus {
        outline: none;
    }

    iframe[seamless] {
        display: block;
    }

#iframePrint {
    display: none;
}

@media (min-width: 690px) {
    .item > .btn-sm {
        padding: 0 .15rem;
    }
}

/*@media (max-width: 576px)*/
@media (max-width: 690px) {

    .app .sidebar {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        height: 50%;
        width: auto;
    }

    .app.active .app-content, .app .app-content {
        margin: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 50%;
        margin-left: 0;
    }

    .app .sidebar .sidebar-toggle {
        display: none;
    }

    .app .sidebar {
        -moz-box-shadow: 0 -4px 6px 0 rgba(0,0,0,.2);
        -webkit-box-shadow: 0 -4px 6px 0 rgba(0,0,0,.2);
        box-shadow: 0 -4px 6px 0 rgba(0,0,0,.2);
    }

    .route-options-header .btn-report, .route-options-header .btn-grid {
        display: none;
    }

    .route-options-header .btn-print {
        margin-right: inherit;
    }
}


@media print {
    .route-options, .fa-caret-down, .route-stop .more, .route-stop-options {
        display: none;
    }
}



#modalEditRL .spinner, #modalImport .spinner {
    display: none;
}




.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

    .fileinput-button input {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        opacity: 0;
        -ms-filter: 'alpha(opacity=0)';
        font-size: 200px !important;
        direction: ltr;
        cursor: pointer;
    }

.content-excel, .content-xml {
    display: none;
}


.data-table-scroll {
    overflow: auto;
    max-height: 300px;
}

.data-table thead th {
    min-width: 150px;
}

.data-table td.status div {
    font-size: 0.75rem;
    line-height: 0.75rem;
}

.data-table thead th.status {
    min-width: 30px;
}

.data-table .spinner-border {
    width: 1rem;
    height: 1rem;
}


.delivery-list {
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
}







/*Edit Location tabs*/

.wrapper {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    padding: 5px;
    height: 50px;
    flex-grow: 1;
}

#myTabList {
    position: absolute;
    left: 0px;
    top: 0px;
    min-width: 3000px;
    margin-left: 12px;
    margin-top: 0px;
}

    #myTabList li {
        display: table-cell;
        position: relative;
        text-align: center;
        cursor: grab;
        cursor: -webkit-grab;
        color: #efefef;
        vertical-align: middle;
    }

.scroller {
    text-align: center;
    cursor: pointer;
    padding: 7px;
    padding-top: 11px;
    white-space: no-wrap;
    vertical-align: middle;
    background-color: #fff;
}

.tabHeader {
    display: flex;
}


/*END Edit Location tabs*/



.section-header.drivers > .checkbox {
    margin-left: -.5rem;
    margin-right: .2rem;
}

.section-header.drivers > .section-name {
    margin-right: .5rem;
}

.section-header.drivers > .date {
}

.driverInfo {
    color: black;
}

#trackbar {
    position: absolute;
    left: 2rem;
    top: .5rem;
    z-index: 1;
    width: 40%;
    max-width: 400px;
    background-color: white;
    border-radius: 4px;
    border: solid 2px #808080;
    display: none;
    padding: 1rem;
}

#time {
    font-size: small;
}

#drivers > li.active {
    background-color: #35bae0;
}

    #drivers > li.active > a {
        color: white;
    }

#drivers > li {
    display: flex;
}

    #drivers > li > a {
        margin-left: .5rem;
        flex-grow: 1;
    }


.MicrosoftMap .Infobox .infobox-info {
    padding-top: 0 !important;
    font-size: 8pt !important;
}

#time, #timeRange, #gpsTime, #gpsSpeed {
    font-size: 8pt;
}

#navbarTop {
    display: none;
}

#collapse-button {
    visibility: visible;
    position: absolute;
    left: 15px;
    top: 15px;
}

#prev, #forward, #play {
    padding: 2px;
}


#navBar {
    position: absolute;
    left: 0;
    top: -100px;
}


#top-menu-toggle-2 {
    position: fixed;
    left: 2px;
    top: .5rem;
    z-index: 11;
    color: white;
}


.MicrosoftMap .Infobox .infobox-title {
    padding: 2px 10px 0 2px !important;
    white-space: nowrap !important;
    font-size: 10px !important;
}

.MicrosoftMap .Infobox .infobox-info {
    padding: 0 2px 0 2px !important;
    white-space: nowrap !important;
    font-size: 10px !important;
}

.MicrosoftMap .infobox-close {
    top: -3px !important;
}
