/* 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;
}

.sidebar-widget.widget-tasks ul li.view-settings::before {
    display: none;
}

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

div#mapid:not(.showing-history) .leaflet-tooltip-top::before, div#mapid:not(.showing-history) .leaflet-tooltip-bottom::before {
    content: none !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;
}

.popover {
    background-color: #808697;;
}

.popover .arrow {
    background: none;
}

.popover .popover-header {
    background-color: #282d36;
    border-bottom: 1px solid #1d2127;
}

/* .popover.bs-popover-right .arrow::after, 
.popover.bs-popover-left .arrow::after, 
.popover.bs-popover-top .arrow::after, 
.popover.bs-popover-bottom .arrow::after, 
.popover.bs-popover-auto[x-placement^="right"] .arrow::after,
.popover.bs-popover-auto[x-placement^="left"] .arrow::after,
.popover.bs-popover-auto[x-placement^="top"] .arrow::after,
.popover.bs-popover-auto[x-placement^="bottom"] .arrow::after {
    border-right-color: #808697;
} */

.select2-container--default.select2-container--open {
	z-index: 10013;
}

.select2-container--default .select2-selection--single {
	height: 38.5px;
	line-height: 1.7;
	padding: 6px 24px 6px 12px;
}

.select2-container--default .select2-selection--multiple {
	height: 38.5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
	line-height: 1.8;
}

@media (max-width: 991px) {
	.select2-container--default {
		width: auto !important;
	}
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: inherit;
    position: absolute;
    bottom: 0;
    right: 12px;
    top: 0;
    width: 4px;
}

/* Select 2 */
html.dark .select2-container--default .select2-selection,
html.dark .select2-container--default .select2-dropdown,
html.dark .select2-container--default .select2-choices .select2-search-field input,
html.dark .select2-container--default .select2-choice,
html.dark .select2-container--v .select2-choices {
	color: #EEE;
	background-color: #282d36;
	border-color: #282d36;
}

html.dark .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #EEE;
}

html.dark .select2-container--default .select2-results__option[aria-selected="true"],
html.dark .select2-container--default .select2-search--dropdown .select2-search__field {
	color: #EEE;
	background-color: #2e353e;
	border-color: #2e353e;
}

#flot-tooltip {
    font-size: 12px;
    font-family: Verdana, Arial, sans-serif;
    position: absolute;
    display: none;
    border: 2px solid;
    padding: 2px;
    background-color: #2f2f2f;
    opacity: 0.8;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

.flotTip {background-color: #333;background-color: rgba(0, 0, 0, 0.8); border-radius: 2px; color: #fff; padding:2px 6px;font-size:11px;line-height:17px}

html.dark body .tab-content {
    background-color: inherit;
    border-color: #21262d;
}

html.dark body .tabs .nav.nav-tabs {
    border-bottom-color: #21262d;

}

html body .tabs .nav-tabs li .nav-link, html.dark body .tabs .nav-tabs li .nav-link {
    background: #21262d;
    color: #fff;
    border-left-color: #21262d;
    border-right-color: #21262d;
    border-top-color: #808697;
}

html body .tabs .nav-tabs li.active .nav-link, html.dark body .tabs .nav-tabs li.active .nav-link {
    background: #2e353e;
    color: #4b96e1;
}

button.btn-din.btn-rounded {
    border-radius: 20px;
    cursor: default;
}

.card.block-ain .btn-ain span.value {
    font-size: 1.2rem;
}

.card.block-ain .btn-ain span.text-primary {
    font-size: 1rem;
}

.card.block-tin .btn-tin span.value {
    font-size: 1.2rem;
}
.card.block-tin .btn-tin span.text-primary {
    font-size: 1rem;
}
.card.block-tin .description-tin {
    font-size: 0.87em !important;
}

.disabled-control {
    opacity: 0.2;
}

.warning-control {
    background-color: #624646;
    border-radius: 50%;
}

.digital-input.status {
    /* display: none; */
}

btn.digital-input.list {
    border-radius: 10px;
    /* display: none; */
}

.icon-din .btn-default {
    background-color: initial !important;
    border-color: initial !important;
}

.icon-din i {
    font-size: 2.85rem;
}

.icon-din .btn-default {
    color: #282d36;
}

.icon-din .btn-success {
    color: initial;
    background-color: initial !important;
    border-color: initial !important;
}

.icon-din i.btn-success {
    color: #47a447;
}

.text-type-t {
    text-align: right;
}

.text-type-txt {
    text-align: left;
}

.text-type-i,
.text-type-o {
    text-align: center;
}

.table-header-narrow {
    line-height: 0.95rem;
}

.form-group.row.save-panel {
    display: none;
}

.b-row {
    line-height: initial;
    height: 50px;
}

.b-row .b-pipes {
    line-height: initial;
}

.b-pipes img {
    vertical-align: initial;
}

.heater_status_title.value-good {
    color: #47a447;
}
.heater_status_title.value-danger {
    color: #5f75c5;
}

.pump_status_title.value-good {
    color: #47a447;
}
.pump_status_title.value-danger {
    color: #5f75c5;
}

.temp_value.value-good {
    color: #47a447;
}
.temp_value.value-danger {
    color: #5f75c5;
}

.valve_status_title.value-good {
    color: #47a447;
}
.valve_status_title.value-danger {
    color: #5f75c5;
}
.valve_value.value-good {
    color: #47a447;
}
.valve_value.value-danger {
    color: #5f75c5;
}

.top-status-pill {
    padding: 8px; 
    border-radius: 5px; 
    width: 40px; 
    text-align: center;
    color: white; 
    display: inline-block;
}

.top-status-pill.status-grey,
.other-sensors.status-grey {
    background-color: #212524;
}

.top-status-pill.status-success,
.other-sensors.status-success {
    background-color: #47a447;
}

.top-status-pill.status-danger,
.other-sensors.status-danger {
    background-color: #d2322d;
}

.top-status-pill.status-warning,
.other-sensors.status-warning {
    background-color: #d4a518;
}

.top-status-pill.status-button {
    background-color: #212529; 
    border: 1px solid #5d636c;
}

.top-status-pill.status-lightgreen,
.other-sensors.status-lightgreen {
    background-color: #a8cd14; 
}

.value_icon.status-grey {
    color: #212524 !important;
}
.value_icon.status-warning {
    color: #d4a518 !important;
}
.value_icon.status-success {
    color: #47a447 !important;
}
.value_icon.status-danger {
    color: #d2322d !important;
}

.status-animate {
    filter: brightness(1);
    transition-property: -moz-filter, -ms-filter, -o-filter, -webkit-filter, filter;
    transition-duration: 1s;
}

.status-animate.status-animated {
    filter: brightness(0.6);
}


.card-header.card-warning {
    background-color: #ffab0e !important;
    border-color: #946611 !important;
}

.card-header.card-warning .card-title {
    color: #333 !important;
    font-weight: 600;
}
