/* CSS customizations */

.header {
    background: #336699;
    border-bottom: 1px solid #3e7bb9;
    border-top: 3px solid #3e7bb9;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.header .logo .img-mobile {
    display: none;
}
.header .logo .img-desktop {
    display: inline;
}

@media only screen and (max-width: 767px) {
    .header .logo-container {
        background: #336699;
        border-bottom: 1px solid #3e7bb9;
        border-top: 3px solid #3e7bb9;
        box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    }

    .header .logo .img-mobile {
        display: inline;
    }
    .header .logo .img-desktop {
        display: none;
    }

}

.header .toggle-sidebar-left {
    background: #fff;
    color: #336699;
}

.userbox .name {
    color: #fff;
}

.userbox.show .name {
    color: #336699;
}

.userbox .custom-caret {
    color: #fff;
}

@media only screen and (min-width: 768px) {
    html.left-sidebar-panel .sidebar-left {
        margin: 0 10px 45px;
    }
}

.header-nav-main nav > ul > li > a {
    color: #fff;
}

.header-nav-main nav > ul > li > a:focus {
	background: transparent;
	color: #ccc;
}

.header .separator {
    background-color: #3e7bb9;
    background-image: -webkit-linear-gradient(#3e7bb9 60%, #3e7bb9);
    background-image: linear-gradient(#3e7bb9 60%, #3e7bb9);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
	background-color: #3e7bb9;
}

.sidebar-left {
    width: 240px;
}

div#mapid:not(.showing-history) .leaflet-tooltip-top::before, div#mapid:not(.showing-history) .leaflet-tooltip-bottom::before {
    content: none !important;
}

/* div#mapid.showing-history .leaflet-tooltip-top::before {
    content: ' ';
} */

.sidebar-widget.widget-tasks ul li.view-settings::before {
    /*border: 5px solid #CCC;*/
    /*border-radius: 100px;*/
    /*content: '';*/
    /*display: inline-block;*/
    display: none;
    /*left: 0;*/
    /*margin: -5px 0 0;*/
    /*position: absolute;*/
    /*top: 50%;*/
    /*z-index: 999;*/
}

.sidebar-left hr.separator {
    margin: 0px 10px 20px;
}

/*i.top-menu-icon {
    display: none !important;
}

span.top-menu-title {
    display: block !important;
}

@media only screen and (max-width: 991px) {
    i.top-menu-icon {
        display: inline-block !important;
    }
    span.top-menu-title {
        display: none !important;
    }
    .header-nav.collapse {
        display: initial !important;
    }
}*/

img.ico-tooltip {
    height: 21px;
    width: 21px;
    border: none;
}

ul img.ico-side {
    margin-right: 5px;
}

ul .panel-side.type {
    margin-left: -45px;
    display: block;
    position: absolute;
    padding: 2px;
    font-size: 10px;     
}

ul .panel-side.speed {
    border-radius: 5px;
    background-color: #3e7bb9;
    color: white;
    display: inline-block;
    padding: 0 2px 0 2px;
    font-size: 10px;
    margin-right: 5px;
}

img.ico-device-type {
    height: 21px;
    width: auto;
    border: none;
}

.nav.nav-children .js_show_vehicle {
    min-height: 57px;
}

.leaflet-popup-content-wrapper {
    border-radius: 5px;
}

.leaflet-popup-content {
    min-width: 320px;
}

i.fa.ico-green, i.fas.ico-green {
    color: #28a745;
    font-size: 1.4em;
}

i.fa.ico-grey, i.fas.ico-grey {
    color: #868e96;
    font-size: 1.4em;
}

i.fa.ico-danger {
    color: #dc3545;
    font-size: 1.4em;
}

i.fa.clickable {
    cursor: pointer;
}

div#mapid:not(.showing-history) .leaflet-popup-close-button {
    display: none;
}

#device-history.sidebar-left {
    height: 200px;
    width: 300px;
    display: none;
}

#sidebar-left.sidebar-left.showing-history {
    display: none;
}

@media only screen and (max-width: 767px) {
    #sidebar-left.sidebar-left.showing-history {
        padding-top: 210px;
    }

    #device-history.sidebar-left.showing-history {
        padding-bottom: 10px;
        border-bottom: 4px solid #dadada;
    }
    #device-history.sidebar-left {
        height: 250px;
    }    

}

.daterangepicker table {
    font-size: 0.85rem;
}

.form-control:not(.form-control-sm):not(.form-control-lg) {
    min-height: 1.8rem;
}

a.logo img.img-desktop {
    height: 25px;
}

a.logo {
    line-height: 32px;
}

.body-sign .card-sign .card-title-sign .title {
    font-size: 0.9rem;
}

body.with-background {
    background-image: url(/media/img/large-bg-1250x800.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

@media only screen and (max-width: 767px) {
    body.with-background {
        background-image: url(/media/img/large-bg-768x640.jpg);
    }
}

#show-trips.sidebar-left {
    display: none; 
    height: 180px; 
    margin: auto 0px 10px;
}

.reports .nav.nav-children .js_show_vehicle {
    min-height: initial;
    padding-top: 3px;
    padding-bottom: 3px;
}

.reports .nav.nav-children .js_show_vehicle img {
    vertical-align: top;
}

.widget-summary.side-menu {
    background: #ecedf0;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 10px;
    cursor: pointer;
}

.widget-summary.side-menu.active {
    background-color: #9dbfe0;
}

.side-menu .widget-summary-col.widget-summary-col-icon {
    vertical-align: middle;
}

.side-menu .summary-icon {
    width: 36px;
    height: 36px;
    line-height: 34px;
    font-size: 1.3rem;
    margin-right: 10px;
}

.side-menu .widget-summary-col .summary {
    min-height: 35px;
}

ul .panel-side.type.link {
    display: none;
    padding: 0px;
}

ul li.nav-active > a.js_show_site .panel-side.type.link {
    display: block;
}

@media only screen and (max-width: 767px) {
    .header .header-right {
        background: inherit;
    }
}

.dataTables_wrapper .dataTables_filter input[type="search"] {
    width: initial !important;
}

/* .header-nav.collapse.stay-visible {
    display: block !important;
}

.header-nav.collapse.stay-visible .header-nav-main nav > ul {
    flex-direction: inherit !important;
}

@media (max-width: 767px) {
    .header-nav.collapse.stay-visible a.nav-link i {
        display: block;
    }
    .header-nav.collapse.stay-visible a.nav-link span.top-menu-title {
        display: none;
    }    

}
 */

tr.offhours {
    background-color: #fffebc;
}

.table-striped tbody tr.offhours:nth-of-type(odd) {
    background-color: #fdfb72;
}

