﻿/********************* 
    General Style 
*********************/
body {
    font-family: Arial,sans-serif;
    font-size: 9pt;
    padding: 0;
    margin: 0;
    color: #333;
}

a {
    color: #428bca;
    text-decoration: none;
}

    a:hover {
        color: #2a6496;
        text-decoration: underline;
    }

.wrapper {
    width: 100%;
    display: block;
    clear: both;
}
/********************* 
    end General Style 
*********************/

/********************* 
    datatables 
*********************/
.dt-header {
    background: #343a40 !important;
    border-top: 1px solid #eee !important;
    padding: 1em 1em;
    color: #FFF;
}

.dt-wrapper.dt-light .dt-header {
    color: #333;
    background: #F5F5F5 !important;
    border-top: 1px solid #eee !important;
}

.dt-wrapper.dt-primary .dt-header {
    background: #223c59 !important;
    border-top: 1px solid #eee !important;
}

.dt-wrapper.dt-primary-light .dt-header {
    background: #428bca !important;
    border-top: 1px solid #eee !important;
}

.dt-wrapper.dt-info .dt-header {
    background: #5bc0de !important;
    border-top: 1px solid #eee !important;
}

.dt-wrapper.dt-danger .dt-header {
    background: #d9534f !important;
    border-top: 1px solid #eee !important;
}

.dt-wrapper.dt-warning .dt-header {
    background: #f0ad4e !important;
    border-top: 1px solid #eee !important;
}

.dt-wrapper.dt-success .dt-header {
    background: #5cb85c !important;
    border-top: 1px solid #eee !important;
}

.dt-footer {
    background: #F5F5F5;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    padding: 1em 1em;
}

.dt-header label {
    display: none !important;
}

td.details {
    background: #F0F0F0 !important;
}

.dt-breakdown {
    padding: 5px;
    background: #FFF;
}

.sort-group-begin-major {
    border-top: 2px solid #428bca;
}

.sort-cell-o, .sort-cell-e {
    font-weight: bold;
    border-bottom: none !important;
}

table.datatable > tbody > tr:not(:hover) > td.sort-cell-o:nth-child(2n+1) {
    background-color: #f9f9f9;
}

table.datatable > tbody > tr:not(:hover) > td.sort-cell-e:nth-child(2n+1) {
    background-color: #fff;
}

table.datatable > tbody > tr:not(:hover) > td.sort-cell-o:nth-child(2n) {
    background-color: #fff;
}

table.datatable > tbody > tr:not(:hover) > td.sort-cell-e:nth-child(2n) {
    background-color: #f9f9f9;
}


.sort-cell-o:not(.sort-group-begin-cell), .sort-cell-e:not(.sort-group-begin-cell) {
    border-top: none !important;
}

.dt-ordering-asc:not(.dt-orderable-none):after {
    /*content: "\f160" !important;*/
    content: "\f0de" !important;
}

.dt-ordering-desc:not(.dt-orderable-none):after {
    /*content: "\f161" !important;*/
    content: "\f0dd" !important;
}

.driver-dash .dt-ordering-asc:not(.dt-orderable-none):after {
    font: normal normal normal 14px/1 FontAwesome;
}

.driver-dash .dt-ordering-desc:not(.dt-orderable-none):after {
    font: normal normal normal 14px/1 FontAwesome;
}

.dt-dense {
    font-size: 8pt;
}

.dt-container {
    margin-top: 10px;
}

.dt-info {
    padding: 0.75em;
}

.dt-length {
    max-width: 265px;
}

.dt-filter {
    max-width: 300px;
    float: right;
}

@media (max-width: 768px) {
    .dt-length {
        max-width: 100%;
        width: 100%;
    }

    .dt-filter {
        max-width: 100%;
        width: 100%;
        float: none;
    }
}

.dt-processing {
    padding: 0.5% 5%;
    border: 1px solid #d1390a;
    text-align: center;
    font-size: 12pt;
    background: rgba(241, 89, 42, 0.78);
    color: #FFF;
    position: absolute;
    width: 100%;
    z-index: 500;
}

.datatable-wide {
    font-size: 8pt;
}

.control-icon {
    display: inline-block;
    margin: 0 !important;
}

    .control-icon .fa {
        font-size: 24px !important;
        font-weight: bold;
    }

.dt-wrapper.dt-light .btn-current, .btn-current {
    color: #fff !important;
    background: #343a40 !important;
    border-color: #343a40 !important;
}

.dt-wrapper.dt-primary .btn-current {
    background: #223c59 !important;
    border-color: #223c59 !important;
}

.dt-wrapper.dt-primary-light .btn-current {
    background: #428bca !important;
    border-color: #428bca !important;
}

.dt-wrapper.dt-info .btn-current {
    background: #5bc0de !important;
    border-color: #5bc0de !important;
}

.dt-wrapper.dt-danger .btn-current {
    background: #d9534f !important;
    border-color: #d9534f !important;
}

.dt-wrapper.dt-warning .btn-current {
    background: #f0ad4e !important;
    border-color: #f0ad4e !important;
}

.dt-wrapper.dt-success .btn-current {
    background: #5cb85c !important;
    border-color: #5cb85c !important;
}

/* Horizontal overflow patch */
.dt-container .row {
    width: 100% !important;
    margin: 0 !important;
}

    .dt-container .row > .col-xs-12 {
        padding: 0;
    }

.dt-header > .row, .dt-footer > .row {
    width: 100%;
    margin: 0;
}

/* Column Reordering */
body.dtcr-dragging {
    overflow-x: hidden;
}

table.dtcr-cloned.dataTable {
    position: absolute !important;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 202;
    border-radius: 4px;
}

table.dataTable tbody tr td.dtcr-moving {
    background-color: rgba(127, 127, 127, 0.15);
}

.dt-wrapper.dt-light table.dataTable tbody tr td:has(+ td.dtcr-moving-first),
.dt-wrapper.dt-light table.dataTable tbody tr td.dtcr-moving-last {
    border-right: 1px solid #F5F5F5;
}

.dt-wrapper.dt-primary table.dataTable tbody tr td:has(+ td.dtcr-moving-first),
.dt-wrapper.dt-primary table.dataTable tbody tr td.dtcr-moving-last {
    border-right: 1px solid #223c59;
}

.dt-wrapper.dt-primary-light table.dataTable tbody tr td:has(+ td.dtcr-moving-first),
.dt-wrapper.dt-primary-light table.dataTable tbody tr td.dtcr-moving-last {
    border-right: 1px solid #428bca;
}

.dt-wrapper.dt-info table.dataTable tbody tr td:has(+ td.dtcr-moving-first),
.dt-wrapper.dt-info table.dataTable tbody tr td.dtcr-moving-last {
    border-right: 1px solid #5bc0de;
}

.dt-wrapper.dt-danger table.dataTable tbody tr td:has(+ td.dtcr-moving-first),
.dt-wrapper.dt-danger table.dataTable tbody tr td.dtcr-moving-last {
    border-right: 1px solid #d9534f;
}

.dt-wrapper.dt-warning table.dataTable tbody tr td:has(+ td.dtcr-moving-first),
.dt-wrapper.dt-warning table.dataTable tbody tr td.dtcr-moving-last {
    border-right: 1px solid #f0ad4e;
}

.dt-wrapper.dt-success table.dataTable tbody tr td:has(+ td.dtcr-moving-first),
.dt-wrapper.dt-success table.dataTable tbody tr td.dtcr-moving-last {
    border-right: 1px solid #5cb85c;
}

html.dark table.dtcr-cloned.dataTable {
    background-color: rgba(33, 33, 33, 0.9);
}

/* Delay the appearance of the processing message */
.dt-processing {
    transition: visibility 0s 0.4s, opacity 0.4s linear;
    opacity: 0;
}
    /* Show the message when it's active */
    .dt-processing:not([style*="display: none"]) {
        transition: opacity 0.2s linear;
        opacity: 1;
    }

/*********************
    end datatables 
*********************/
/********************* 
    autocomplete 
*********************/
.autocompletex {
    width: 80px;
    border: 1px solid #cccccc;
    height: 18px;
    margin-top: 2px;
}

    .autocompletex .autolabel {
        overflow: hidden;
        font-size: 7pt;
        font-weight: bold;
        overflow: hidden;
        width: 75px;
        border: 1px solid #0f91b5;
        background-color: #0f91b5;
        margin: 2px 0px 0px 2px;
        height: 12px;
        color: #fff;
    }

.bigautocompletex {
    background-color: #ffebae;
    border-bottom: 1px solid #000000;
    height: 18px;
    width: 145px;
}

    .bigautocompletex .autolabel {
        overflow: hidden;
        font-size: 7pt;
        font-weight: bold;
        overflow: hidden;
        width: 130px;
        border: 1px solid #0f91b5;
        background-color: #0f91b5;
        margin: 2px 0px 0px 2px;
        height: 12px;
        color: #fff;
    }

.autolabel > a {
    color: #ffffff !important;
}
/********************* 
    end autocomplete 
*********************/

/*********************
    fontawsome 
*********************/
.fa-cancel-btn {
    font-size: 24px;
    margin-top: -5px;
}
/********************* 
    end fontawsome 
*********************/

/********************* 
    jquery-ui overrides 
*********************/
.ui-widget-header1, .ui-widget-header.ui-datepicker-header {
    border: 1px solid #223c59 !important;
    background: #F0F0F0 !important;
    color: #223c59 !important;
    font-weight: bold;
}

    .ui-widget-header1 a {
        color: #223c59 !important;
    }

.ui-widget-header {
    border: 1px solid #223c59;
    background: #F0F0F0;
    color: #223c59 !important;
    font-weight: bold;
}

    .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
        color: #333 !important;
        background: #fff !important;
        border: 1px solid #ccc !important;
    }

        .ui-state-default:hover, .ui-widget-content .ui-state-default:hover, .ui-widget-header .ui-state-default:hover {
            text-decoration: none !important;
            background-color: #ebebeb !important;
            border-color: #adadad !important;
        }

/********************* 
    end jquery-ui overrides 
*********************/

/********************* 
    checkbox follower 
*********************/
.checkbox-follower-pad {
    display: none;
    height: 32px;
}

.checkbox-follower {
    position: fixed;
    z-index: 99999;
    width: 300px;
    bottom: -32px;
    right: 5px;
    display: none;
    font-family: Arial,sans-serif;
    font-size: 8pt;
}

    .checkbox-follower .scroller {
        width: 298px;
        max-height: 750px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .checkbox-follower .drag-handle {
        cursor: pointer;
    }

    .checkbox-follower.collapsed {
        top: auto !important;
        left: auto !important;
        right: 5px !important;
        bottom: -32px !important;
    }

        .checkbox-follower.collapsed .drag-handle {
            cursor: pointer;
        }
/********************* 
    end checkbox follower
*********************/

/********************* 
    Notifications Control 
*********************/
.notification-control {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 350px;
    background: rgba(255, 255, 255, 0.8);
    padding: 0 !important;
    margin: 0 !important;
    -webkit-box-shadow: -5px 0px 15px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: -5px 0px 15px 0px rgba(0,0,0,0.75);
    box-shadow: -5px 0px 15px 0px rgba(0,0,0,0.75);
    z-index: 5000;
}

    .notification-control .notification-header {
        background: #428bca !important;
        border-bottom: 1px solid #eee !important;
        color: #FFF;
        padding: 1em 0.5em;
        border: none;
        height: 5vh;
    }

        .notification-control .notification-header h3 {
            margin: 0;
        }

        .notification-control .notification-header .close {
            margin-top: -5px;
        }

    .notification-control .notification-tabs {
        height: 5vh;
        background: #f5f5f5;
        border-bottom: 1px solid #f0f0f0;
    }

        .notification-control .notification-tabs .nav-pills {
            padding: 5px !important;
        }

    .notification-control .notification-body {
        margin: 0;
        height: 90vh;
        overflow-y: auto;
    }

        .notification-control .notification-body .notification {
            display: table;
            width: 325px;
            padding: 0.75em 1em;
            margin: 0.5em;
            background: #FFF;
            border: 1px solid #ccc;
            clear: both;
        }

            .notification-control .notification-body .notification > .notification-icon {
                width: 50px;
                display: table-cell;
                vertical-align: middle;
            }

            .notification-control .notification-body .notification.unread > .notification-icon .fa {
                color: #428bca;
            }

            .notification-control .notification-body .notification > .notification-icon .fa {
                font-size: 30px;
                color: #CCC;
            }

            .notification-control .notification-body .notification > .notification-content {
                display: table-cell;
                vertical-align: middle;
            }

            .notification-control .notification-body .notification .notification-date {
                display: block;
                width: 100%;
                text-align: left;
                font-size: 9pt;
                margin-top: 0.5em;
            }
/*********************
    end Notifications Control 
*********************/


/*********************
    Loadbuilder
*********************/
#document-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#main-table-body {
    flex: 0 0 auto;
    overflow-y: auto;
    position: relative;
}

body.load-builder-open {
    height: 100vh;
    overflow: hidden;
}

    body.load-builder-open .suppress-lb-filter {
        display: none !important;
    }

    body.load-builder-open #vehicles-table-filters {
        margin-top: 11px;
    }

    body.load-builder-open #document-body {
        margin-top: -11px;
        width: 100%;
    }

.load-builder {
    position: fixed;
    z-index: 1025;
    width: 100% !important;
    overflow-y: auto;
    bottom: 0 !important;
    left: 0 !important;
    top: unset !important;
    right: unset !important;
    display: none;
    flex: 1 1 auto;
}

    .load-builder .modal-stretch {
        width: 100% !important;
    }

    .load-builder .bl-minimize {
        max-height: 75vh;
        overflow-y: auto;
    }

    .load-builder .modal-header .fa {
        cursor: pointer !important;
    }


/*Queue Section*/
.queue-row > .queue-totals-cell {
    font-weight: normal;
}

.queue-row > .queue-empty-cell {
    height: 100px;
    background: #F0F0F0;
    font-size: 20px;
}

.queue-row.drop > .queue-empty-cell {
    background: #dff0d8;
}

.queue-row > .queue-vehicle-cell {
    background: #FFF;
}

    .queue-row > .queue-vehicle-cell .vehicle-info {
        line-height: 20px !important;
    }

.load-builder .asset-assignment > .input-group-addon {
    min-width: 0 !important;
    padding: 0 5px !important;
    height: 18px !important;
}

.load-builder .asset-assignment > .input-group-btn button {
    padding: 0 5px !important;
    height: 18px !important;
}

.load-builder .asset-assignment input {
    padding: 0 5px !important;
    height: 18px !important;
}

/*Map Section*/
.load-builder-map {
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .load-builder-map > .map-header {
        padding: 9px;
    }

    .load-builder-map > .map-body {
        display: flex;
        flex-direction: row;
        flex-grow: 1;
    }

        .load-builder-map > .map-body > .map-column {
            display: block;
            height: 100%;
        }

            .load-builder-map > .map-body > .map-column.map-container {
                display: flex;
                flex-grow: 1;
            }

            .load-builder-map > .map-body > .map-column.info-window {
                width: 300px;
                background: #fff;
                flex-grow: unset;
                display: flex;
                flex-direction: column;
            }

                .load-builder-map > .map-body > .map-column.info-window > .info-window-content {
                    flex: 1 1 auto;
                    overflow-y: auto;
                    height: 0px;
                }

                    .load-builder-map > .map-body > .map-column.info-window > .info-window-content .info-window-tab {
                        display: none;
                        word-wrap: break-word;
                        padding: 1em 0.5em;
                        width: 100%;
                        overflow-y: auto;
                    }

    .load-builder-map .badge-aging {
        border-radius: 25px;
    }

        .load-builder-map .badge-aging > .badge-aging-green {
            background: #8F8 !important;
            color: #4A4 !important;
        }

        .load-builder-map .badge-aging > .badge-aging-yellow {
            background: #FF8 !important;
            color: #AA4 !important;
        }

        .load-builder-map .badge-aging > .badge-aging-red {
            background: #F88 !important;
            color: #A44 !important;
        }

    .load-builder-map .marker-key {
        display: inline-block;
        padding: 0 1em;
        border-left: 1px solid #CCC;
        font-size: 12pt;
    }

        .load-builder-map .marker-key:nth-child(2) {
            border: none !important;
        }

        .load-builder-map .marker-key img {
            width: 16px;
        }

.map-info-location {
    background: #fff !important;
    border: 1px solid #ccc;
}

    .map-info-location > thead > tr > th {
        background: #F0F0F0;
    }

        .map-info-location > thead > tr > th h4 {
            margin: 0.25rem 0;
        }

    .map-info-location td {
        vertical-align: middle !important;
    }
/*********************
    end Loadbuilder 
*********************/

/********************* 
    common 
*********************/
.clearfix {
    clear: both;
}

.strong {
    font-weight: bold;
}

.text-bold {
    font-weight: bold;
}

.text-underline {
    text-decoration: underline;
}

.hidden {
    visibility: hidden;
    display: none;
}

.text-middle {
    vertical-align: middle !important;
}

.bullet-prefix::before {
    content: "\2022";
    padding-left: 0.25em;
    padding-right: 0.25em;
}

.dropdown-list-anchor {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.428571429;
    color: #333;
    white-space: nowrap;
}
/*********************
    end common 
*********************/


/*********************
    end special 
*********************/
.fa-deck-direction {
    rotate: -15deg;
}
/*********************
    end special 
*********************/
