@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin,greek,greek-ext,cyrillic,cyrillic-ext,latin-ext,vietnamese);

html {
	height: 100%;
}

body {
	margin: 0px;
	padding: 6px 8px;
	font-size: 11px;
	font-family: "open sans";
	color: #444444;
	background: #F1F5FA;
	overflow: hidden;
}


#cpanel {
	overflow: hidden;
}

a,
a:hover { text-decoration: none; color: #2b82d4; }
b, strong{ font-weight: 600; }

*:focus { outline: 0; }

/*#################################################*/
/* FIX
/*#################################################*/

.clearfix { display: table; width: 100%; }

/*#################################################*/
/* INPUTBOXES, SELECT
/*#################################################*/



button { font-size: 11px; }
input.checkbox { vertical-align: middle;}
input[type="checkbox"] { 
	height: 14px;
	margin: 5px 0 5px 0;
}
.inputbox { width: 100%; padding: 0 5px;}
textarea.inputbox { padding: 5px; }
input, textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
input.color,
input.color:focus,
input.color:hover { border: none; }
input,
select,
.inputbox,
.textarea {
	margin: 0;
	height: 24px;
	border: 1px solid #f5f5f5;
	font-size: 11px;
	font-family: "open sans";
	color: #444444;
	background: #f5f5f5;
}
optgroup,
option {
	font-family: "open sans";
	color: #444444;
}
optgroup {
	font-style: normal;
	font-weight: 600;
}
input:focus,
textarea:focus,
select:focus { background-color: #f1f4fa; }

input:disabled,
textarea:disabled,
select:disabled { border: 1px solid #eeeeee; background-color: #eeeeee; }
.inputbox-calendar,
.inputbox-calendar-mmdd{
	color: #444444;
	border: 1px solid #f5f5f5;
	-webkit-inline-box: none;
	background: #f5f5f5 url("images/calendar.svg") right no-repeat;
	background-size: 16px 16px;
}
.inputbox-calendar:disabled,
.inputbox-calendar-mmdd:disabled{ -webkit-inline-box: none; background: #eeeeee url("images/calendar.svg") right no-repeat; background-size: 16px 16px;}

.inputbox-search {
	background-color: #f1f4fa;
	padding: 5px 0 5px 20px;
	border: 0;
	border-radius: 6px;
	position: relative;
	outline: 0;
	width: 100%;
	height: 28px;
	text-indent: 8px;
	background: #f5f5f5 url("/img/svg/searc-icon-color.svg") 10px center no-repeat;
	background-size: 14px 14px;
	float: left;
	width: 145px;
}

.inputbox-search-schedule{
	background-color: #f1f4fa;
	padding: 5px 0 5px 20px;
	border: 0;
	border-radius: 6px;
	position: relative;
	outline: 0;
	width: 100%;
	height: 28px;
	text-indent: 8px;
	background: #f5f5f5 url("/img/svg/searc-icon-color.svg") 10px center no-repeat;
	background-size: 14px 14px;
	float: left;
	width: 250px;
}

.inputbox-search-dialog {
	background-color: #f1f4fa;
	padding: 5px 0 5px 21px;
	border: 0;
	border-radius: 6px;
	position: relative;
	outline: 0;
	width: 100%;
	height: 28px;
	text-indent: 8px;
	background: #f5f5f5 url("/img/svg/search-icon.svg") 10px center no-repeat;
	background-size: 14px 14px;
	float: left;
	width: 145px;
}

.inputbox-search-dialog:hover,
.inputbox-search-dialog:focus {
	background-color: #f1f4fa;
}

.inputbox-search:hover,
.inputbox-search:focus {
	background-color: #f1f4fa;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #999999;
}
::-moz-placeholder { /* Firefox 19+ */
	color: #999999;
}
:-ms-input-placeholder { /* IE 10+ */
	color: #999999;
}
:-moz-placeholder { /* Firefox 18- */
	color: #999999;
}

/*#################################################*/
/* BUTTONS
/*#################################################*/

.panel-button img {
	display: block;
	padding: 6px;
	background-color: #e4dfed;
	border-radius: 6px;
}

/* .row3-input {
	background: #fc8230;
	color: #fff;
	border-radius: 4px;
	border: 1px solid #fc8230;
	font-size: 14px;
	font-weight: 500;
	line-height: 19.07px;
	padding: 8px 14px;
} */


input.button {
	border: 1px solid #f5f5f5;
	background-color: #f5f5f5;
	height: 24px;
	min-width: 80px;
	color: #444444;
	cursor: pointer;
	text-align: center;
	margin-bottom: 0px;
	padding: 0 5px;
}
input.button.icon {
	text-align: center;
	padding-left: 26px;
	padding-right: 10px;
	margin-bottom: 0;
	background-repeat: no-repeat;
	background-position: 10px center;
	background-size: 10px 10px;
}
input.button-32 {
	border: 1px solid #f5f5f5;
	background-color: #f5f5f5;
	height: 32px;
	min-width: 80px;
	color: #444444;
	cursor: pointer;
	text-align: center;
	margin-bottom: 0px;
	padding: 0 5px;
}
input.button-32.icon-16 {
	text-align: center;
	padding-left: 32px;
	padding-right: 10px;
	margin-bottom: 0;
	background-repeat: no-repeat;
	background-position: 10px center;
	background-size: 16px 16px;
}
input.button.no-text.icon {
	background-position: center center;
	padding: 0px;
}
input.button:hover { background-color: #f1f4fa; }
input.button:active { background-color: #f1f4fa; }
input.button:disabled { border: 1px solid #eeeeee; background-color: #eeeeee; }

input.button-32:hover { background-color: #ffffff; }
input.button-32:active { background-color: #ffffff; }
input.button-32:disabled { border: 1px solid #eeeeee; background-color: #eeeeee; }

input.button.panel {
	border: 1px solid #ffffff;
	background-color: #ffffff;
}
input.button.panel:hover { border: 1px solid #e5e5e5; background-color: #e5e5e5; }
input.button.panel:active { border: 1px solid #e5e5e5; background-color: #e5e5e5; }

/*#################################################*/
/* ICONS
/*#################################################*/

.icon-new { background-image: url(images/plus.svg); }
.icon-save { background-image: url(images/save.svg); }
.icon-follow { background-image: url(images/follow.svg); }
.icon-street { background-image: url(images/street-view.svg); }
.icon-create { background-image: url(images/create.svg); }
.icon-share { background-image: url(images/share.svg); }
.icon-show { background-image: url(images/eye.svg); }
.icon-hide { background-image: url(images/eye-crossed.svg); }
.icon-close-gray {background-image: url(images/remove-gray.svg);}
.icon-close { background-image: url(images/remove.svg); }
.icon-edit { background-image: url(images/edit.svg); }
.icon-search { background-image: url(images/search2.svg); }
.icon-time { background-image: url(images/history.svg); }
.icon-refresh { background-image: url(images/refresh.svg); }
.icon-check { background-image: url(images/tick.svg); }
.icon-play { background-image: url(images/play.svg); }
.icon-import { background-image: url(images/import.svg); }
.icon-export { background-image: url(images/export.svg); }
.icon-arrow-right { background-image: url(images/arrow-right.svg); }
.icon-import-arrow { background-image: url(images/import-arrow.svg); }
.icon-export-arrow { background-image: url(images/export-arrow.svg); }
.icon-import-export { background-image: url(images/import-export.svg); }
.icon-upload { background-image: url(images/upload.svg); }
.icon-erase { background-image: url(images/erase.svg); }
.icon-tick { background-image: url(images/tick.svg); }
.icon-remove3 { background-image: url(images/remove3.svg); }
.icon-action2 { background-image: url(images/action2.svg); }
.icon-key { background-image: url(images/key.svg); }
.icon-marker { background-image: url(images/marker.svg); }
.icon-markers { background-image: url(images/markers.svg); }
.icon-routes { background-image: url(images/routes.svg); }
.icon-zones { background-image: url(images/zones.svg); }
.icon-kml { background-image: url(images/kml.svg); }
.icon-tasks { background-image: url(images/tasks.svg); }
.icon-maintenance { background-image: url(images/maintenance.svg); }
.icon-gallery { background-image: url(images/gallery.svg); }

/* .icon-time { background-image: url(images/time.svg); } */
.icon-warning { background-image: url(images/warning.svg); }
.icon-nearest-marker { background-image: url(images/nearest-marker.svg); }
.icon-nearest-zone { background-image: url(images/nearest-zone.svg); }
.icon-address { background-image: url(images/address.svg); }
.icon-altitude { background-image: url(images/altitude.svg); }
.icon-angle { background-image: url(images/angle.svg); }
.icon-speed { background-image: url(images/speed.svg); }
.icon-engine-hours { background-image: url(images/engine-hours.svg); }
.icon-odometer { background-image: url(images/odometer.svg); }
.icon-model { background-image: url(images/model.svg); }
.icon-plate-number { background-image: url(images/plate-number.svg); }
.icon-sim { background-image: url(images/sim.svg); }
.icon-vin { background-image: url(images/vin.svg); }
.icon-user { background-image: url(images/user.svg); }
.icon-trailer { background-image: url(images/trailer.svg); }
.icon-default-custom-fields { background-image: url(images/default-custom-fields.svg); }
.icon-default-sensor { background-image: url(images/default-sensor.svg); }
.icon-status { background-image: url(images/status.svg); }
.icon-battery-lev-0 { background-image: url(images/battery-lev-0.svg); }
.icon-battery-lev-1 { background-image: url(images/battery-lev-1.svg); }
.icon-battery-lev-2 { background-image: url(images/battery-lev-2.svg); }
.icon-battery-lev-3 { background-image: url(images/battery-lev-3.svg); }
.icon-di { background-image: url(images/di.svg); }
.icon-do { background-image: url(images/do.svg); }
.icon-fuel { background-image: url(images/fuel.svg); }
.icon-engine { background-image: url(images/engine.svg); }
.icon-gsm { background-image: url(images/gsm.svg); }
.icon-gps { background-image: url(images/gps.svg); }
.icon-temperature { background-image: url(images/temperature.svg); }
.icon-billing { background-image: url(images/billing.svg); }

.leaflet-control-zoom-in,
.leaflet-control-zoom-out,
.leaflet-control a span,
.history-view-control span {
	display: table;
	width: 100%;
	height: 100%;
	background-size: 12px 12px;
	background-repeat: no-repeat;
	background-position: center center;
}

.history-view-control span.icon-close {
	background-size: 10px 10px;
}

.leaflet-control a span.disabled,
.history-view-control a span.disabled {
	opacity: 0.5;
}

.icon-route-route { background-image: url(images/route-route.svg); }
.icon-route-snap { background-image: url(images/route-snap.svg); }
.icon-route-arrow { background-image: url(images/route-arrow.svg); }
.icon-route-data-point { background-image: url(images/route-data-point.svg); }
.icon-route-event { background-image: url(images/route-event.svg); }
.icon-route-stop { background-image: url(images/route-stop.svg); }

.leaflet-control-zoom-in { background-image: url(images/plus.svg); }
.leaflet-control-zoom-out { background-image: url(images/minus.svg); }
.icon-objects { background-image: url(images/object-arrow.svg); }
.icon-text { background-image: url(images/text.svg); }
.icon-clusters { background-image: url(images/clusters.svg); }
.icon-traffic { background-image: url(images/traffic.svg); }
.icon-fit-objects { background-image: url(images/fit.svg); }
.icon-ruler { background-image: url(images/ruler.svg); }
.icon-measure { background-image: url(images/measure.svg); }

.icon-places-marker,
.icon-object-edit {
	position: relative;
	width: 44px;
}

.icon-custom-delete {
	position: absolute;
	bottom: 0px;
	right: 0px;
}

/*#################################################*/
/* DIMENSIONS
/*#################################################*/

.width1 { width: 1%; }
.width2 { width: 2%; }
.width4 { width: 4%; }
.width5 { width: 5%; }
.width8 { width: 8%; }
.width9 { width: 9%; }
.width10 { width: 10%; }
.width11 { width: 11%; }
.width12 { width: 12%; }
.width13 { width: 13%; }
.width14 { width: 14%; }
.width15-left { width: 15%; float: left; }
.width15 { width: 15%; }
.width16 { width: 16%; }
.width17 { width: 17%; }
.width18 { width: 18%; }
.width19 { width: 19%; }
.width195 { width: 19.5%; }
.width20 { width: 20%; }
.width21 { width: 21%; }
.width235 { width: 23.5%; }
.width24 { width: 24%; }
.width245 { width: 24.5%; }
.width25 { width: 25%; }
.width27 { width: 27%; }
.width28 { width: 28%; }
.width29 { width: 29%; }
.width30 { width: 30%; }
.width31 { width: 31%; }
.width33 { width: 33.33333%; }
.width34 { width: 34%; }
.width35 { width: 35%; }
.width38 { width: 38%; }
.width39 { width: 39%; }
.width40 { width: 40%; }
.width41 { width: 41%; }
.width44 { width: 44%; }
.width45 { width: 45%; }
.width50 { width: 50%; }
.width55 { width: 55%; }
.width60 { width: 60%; }
.width65 { width: 65%; }
.width66 { width: 66%; }
.width70 { width: 70%; }
.width71 { width: 71%; }
.width75 { width: 75%; }
.width755 { width: 75.5%; }
.width76 { width: 76%; }
.width765 { width: 76.5%; }
.width80 { width: 80%; }
.width805 { width: 80.5%; }
.width83 { width: 83%; }
.width85 { width: 85%; }
.width90 { width: 90%; }
.width95 { width: 95%; }
.width100 { width: 100%; }
.width-1000 { max-width: 1000px; margin-left: auto; margin-right: auto;}

/*#################################################*/
/* FLOATING AND SPACING
/*#################################################*/

.float-left,
.block { float: left; }
.float-right { float: right; }
.container { margin-right: 10px; }
.container.last,
.last .title-block,
.container.last fieldset { margin-right: 0; }
.container.prev { margin-left: 10px; }
.absolute-right { position: absolute; right: 10px; top: 36px; margin: 0; }

/*#################################################*/
/* TABLELESS STYLING
/*#################################################*/

.row { margin-bottom: 10px; display: table; width: 100%; } /* FIX if something goes wrong with css. This row doesn't have vertical alignment, suitable just to split lines and add spacing at the bottom */
.row2 { padding-top: 6px; display: table; width: 100%; text-align: left; line-height: 12px; font-size: 0; }
.row2 div { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 600;} /* display: table-cell; */
.row2.empty,
.row2.text { height: 24px; }
.row2.right { text-align: right; }
.row3 { padding-top: 6px; display: table; width: 100%; line-height: 12px; font-size: 0; }
.row3 div { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 600; } /* display: table-cell; */
.row4 { margin-bottom: 0px; margin-top: 10px; display: table; width: 100%; text-align: left; line-height: 12px; font-size: 0; }
.row4 div { display: inline-block; padding-left: 1px; vertical-align: middle; font-size: 11px;} /* display: table-cell; */

.scroll-y { height: 100%; padding-right: 5px; overflow-y: scroll }

.title-block {
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid #f5f5f5;
	font-weight: 600;
	font-size: 12px;
	color: #2b82d4;
}

.table {
	display: table;
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

.table-cell {
	display: table-cell;
	margin: 0;
	padding: 0;
}

.center-middle {
	vertical-align: middle;
	text-align: center;
}

.margin-right-3 {
	margin-right: 3px;
}

.margin-left-3 {
	margin-left: 3px;
}

/*#################################################*/
/* LOADING AND BLOCKING PANELS
/*#################################################*/

#loading_panel {
	background-color: #ffffff;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	width: 100%;
	height: 100%;
	z-index: 99999;
}

#loading_data_panel {
	background-color: #FFFFFF;
	opacity: 0.6;
	filter: Alpha(Opacity=30);
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	width: 100%;
	height: 100%;
	z-index: 99999;
}

#blocking_panel {
	background-color: rgba(170, 170, 170, 0.3);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 99999;
}

#blocking_panel_text { background-color: #ffffff; padding: 20px; }

/*#################################################*/
/* LOADER
/*#################################################*/

.loader {
	width: 70px;
	display: block;
	margin: 25px auto;
}

.loader span {
        float: left;
        vertical-align: middle;
        width: 8px;
        height: 8px;
        margin-right: 2px;
        background: #676767;
        opacity: 0.1;
        animation: loader 0.7s infinite alternate;
}

.loader span:nth-of-type(2) {
        animation-delay: 0.2s;
}
.loader span:nth-of-type(3) {
        animation-delay: 0.3s;
}
.loader span:nth-of-type(4) {
        animation-delay: 0.4s;
}
.loader span:nth-of-type(5) {
        animation-delay: 0.5s;
}
.loader span:nth-of-type(6) {
        animation-delay: 0.6s;
}
.loader span:nth-of-type(7) {
        animation-delay: 0.7s;
}

@keyframes loader {
        0% {
                opacity: 1;
        }
        100% {
                opacity: 0.1;
        }
}

/*#################################################*/
/* SPINNER
/*#################################################*/

.spinner {
  font-size: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  -webkit-animation: load5 1.1s infinite ease;
  animation: load5 1.1s infinite ease;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
@-webkit-keyframes load5 {
  0%,
  100% { box-shadow: 0em -2.6em 0em 0em #a7a7a7, 1.8em -1.8em 0 0em rgba(167,167,167, 0.2), 2.5em 0em 0 0em rgba(167,167,167, 0.2), 1.75em 1.75em 0 0em rgba(167,167,167, 0.2), 0em 2.5em 0 0em rgba(167,167,167, 0.2), -1.8em 1.8em 0 0em rgba(167,167,167, 0.2), -2.6em 0em 0 0em rgba(167,167,167, 0.5), -1.8em -1.8em 0 0em rgba(167,167,167, 0.7); }
  12.5% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.7), 1.8em -1.8em 0 0em #a7a7a7, 2.5em 0em 0 0em rgba(167,167,167, 0.2), 1.75em 1.75em 0 0em rgba(167,167,167, 0.2), 0em 2.5em 0 0em rgba(167,167,167, 0.2), -1.8em 1.8em 0 0em rgba(167,167,167, 0.2), -2.6em 0em 0 0em rgba(167,167,167, 0.2), -1.8em -1.8em 0 0em rgba(167,167,167, 0.5); }
  25% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.5), 1.8em -1.8em 0 0em rgba(167,167,167, 0.7), 2.5em 0em 0 0em #a7a7a7, 1.75em 1.75em 0 0em rgba(167,167,167, 0.2), 0em 2.5em 0 0em rgba(167,167,167, 0.2), -1.8em 1.8em 0 0em rgba(167,167,167, 0.2), -2.6em 0em 0 0em rgba(167,167,167, 0.2), -1.8em -1.8em 0 0em rgba(167,167,167, 0.2); }
  37.5% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.2), 1.8em -1.8em 0 0em rgba(167,167,167, 0.5), 2.5em 0em 0 0em rgba(167,167,167, 0.7), 1.75em 1.75em 0 0em #a7a7a7, 0em 2.5em 0 0em rgba(167,167,167, 0.2), -1.8em 1.8em 0 0em rgba(167,167,167, 0.2), -2.6em 0em 0 0em rgba(167,167,167, 0.2), -1.8em -1.8em 0 0em rgba(167,167,167, 0.2); }
  50% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.2), 1.8em -1.8em 0 0em rgba(167,167,167, 0.2), 2.5em 0em 0 0em rgba(167,167,167, 0.5), 1.75em 1.75em 0 0em rgba(167,167,167, 0.7), 0em 2.5em 0 0em #a7a7a7, -1.8em 1.8em 0 0em rgba(167,167,167, 0.2), -2.6em 0em 0 0em rgba(167,167,167, 0.2), -1.8em -1.8em 0 0em rgba(167,167,167, 0.2); }
  62.5% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.2), 1.8em -1.8em 0 0em rgba(167,167,167, 0.2), 2.5em 0em 0 0em rgba(167,167,167, 0.2), 1.75em 1.75em 0 0em rgba(167,167,167, 0.5), 0em 2.5em 0 0em rgba(167,167,167, 0.7), -1.8em 1.8em 0 0em #a7a7a7, -2.6em 0em 0 0em rgba(167,167,167, 0.2), -1.8em -1.8em 0 0em rgba(167,167,167, 0.2); }
  75% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.2), 1.8em -1.8em 0 0em rgba(167,167,167, 0.2), 2.5em 0em 0 0em rgba(167,167,167, 0.2), 1.75em 1.75em 0 0em rgba(167,167,167, 0.2), 0em 2.5em 0 0em rgba(167,167,167, 0.5), -1.8em 1.8em 0 0em rgba(167,167,167, 0.7), -2.6em 0em 0 0em #a7a7a7, -1.8em -1.8em 0 0em rgba(167,167,167, 0.2); }
  87.5% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.2), 1.8em -1.8em 0 0em rgba(167,167,167, 0.2), 2.5em 0em 0 0em rgba(167,167,167, 0.2), 1.75em 1.75em 0 0em rgba(167,167,167, 0.2), 0em 2.5em 0 0em rgba(167,167,167, 0.2), -1.8em 1.8em 0 0em rgba(167,167,167, 0.5), -2.6em 0em 0 0em rgba(167,167,167, 0.7), -1.8em -1.8em 0 0em #a7a7a7; }
}
@keyframes load5 {
  0%,
  100% { box-shadow: 0em -2.6em 0em 0em #a7a7a7, 1.8em -1.8em 0 0em rgba(167,167,167, 0.2), 2.5em 0em 0 0em rgba(167,167,167, 0.2), 1.75em 1.75em 0 0em rgba(167,167,167, 0.2), 0em 2.5em 0 0em rgba(167,167,167, 0.2), -1.8em 1.8em 0 0em rgba(167,167,167, 0.2), -2.6em 0em 0 0em rgba(167,167,167, 0.5), -1.8em -1.8em 0 0em rgba(167,167,167, 0.7); }
  12.5% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.7), 1.8em -1.8em 0 0em #a7a7a7, 2.5em 0em 0 0em rgba(167,167,167, 0.2), 1.75em 1.75em 0 0em rgba(167,167,167, 0.2), 0em 2.5em 0 0em rgba(167,167,167, 0.2), -1.8em 1.8em 0 0em rgba(167,167,167, 0.2), -2.6em 0em 0 0em rgba(167,167,167, 0.2), -1.8em -1.8em 0 0em rgba(167,167,167, 0.5); }
  25% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.5), 1.8em -1.8em 0 0em rgba(167,167,167, 0.7), 2.5em 0em 0 0em #a7a7a7, 1.75em 1.75em 0 0em rgba(167,167,167, 0.2), 0em 2.5em 0 0em rgba(167,167,167, 0.2), -1.8em 1.8em 0 0em rgba(167,167,167, 0.2), -2.6em 0em 0 0em rgba(167,167,167, 0.2), -1.8em -1.8em 0 0em rgba(167,167,167, 0.2); }
  37.5% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.2), 1.8em -1.8em 0 0em rgba(167,167,167, 0.5), 2.5em 0em 0 0em rgba(167,167,167, 0.7), 1.75em 1.75em 0 0em #a7a7a7, 0em 2.5em 0 0em rgba(167,167,167, 0.2), -1.8em 1.8em 0 0em rgba(167,167,167, 0.2), -2.6em 0em 0 0em rgba(167,167,167, 0.2), -1.8em -1.8em 0 0em rgba(167,167,167, 0.2); }
  50% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.2), 1.8em -1.8em 0 0em rgba(167,167,167, 0.2), 2.5em 0em 0 0em rgba(167,167,167, 0.5), 1.75em 1.75em 0 0em rgba(167,167,167, 0.7), 0em 2.5em 0 0em #a7a7a7, -1.8em 1.8em 0 0em rgba(167,167,167, 0.2), -2.6em 0em 0 0em rgba(167,167,167, 0.2), -1.8em -1.8em 0 0em rgba(167,167,167, 0.2); }
  62.5% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.2), 1.8em -1.8em 0 0em rgba(167,167,167, 0.2), 2.5em 0em 0 0em rgba(167,167,167, 0.2), 1.75em 1.75em 0 0em rgba(167,167,167, 0.5), 0em 2.5em 0 0em rgba(167,167,167, 0.7), -1.8em 1.8em 0 0em #a7a7a7, -2.6em 0em 0 0em rgba(167,167,167, 0.2), -1.8em -1.8em 0 0em rgba(167,167,167, 0.2); }
  75% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.2), 1.8em -1.8em 0 0em rgba(167,167,167, 0.2), 2.5em 0em 0 0em rgba(167,167,167, 0.2), 1.75em 1.75em 0 0em rgba(167,167,167, 0.2), 0em 2.5em 0 0em rgba(167,167,167, 0.5), -1.8em 1.8em 0 0em rgba(167,167,167, 0.7), -2.6em 0em 0 0em #a7a7a7, -1.8em -1.8em 0 0em rgba(167,167,167, 0.2); }
  87.5% { box-shadow: 0em -2.6em 0em 0em rgba(167,167,167, 0.2), 1.8em -1.8em 0 0em rgba(167,167,167, 0.2), 2.5em 0em 0 0em rgba(167,167,167, 0.2), 1.75em 1.75em 0 0em rgba(167,167,167, 0.2), 0em 2.5em 0 0em rgba(167,167,167, 0.2), -1.8em 1.8em 0 0em rgba(167,167,167, 0.5), -2.6em 0em 0 0em rgba(167,167,167, 0.7), -1.8em -1.8em 0 0em #a7a7a7; }
}

/*#################################################*/
/* JQGRID.CSS OVERRIDE
/*#################################################*/

.ui-jqgrid .loading {background: #ffffff; font-weight: normal;}
.ui-jqgrid .ui-jqgrid-bdiv {
		position: relative;
		margin: 0em;
		overflow: auto;
		text-align: left;
		overflow-x: hidden;
	}
.ui-jqgrid .ui-jqgrid-htable th div {
	align-items: center;
	font-size: 14px;
	font-weight: 600;
	line-height: 19.07px;
	color: #ffff;
	display: flex;
	padding-bottom: 1px
}
.ui-jqgrid tr.ui-row-ltr td {text-align:left;border-right-width: 0px; border-right-color: inherit; border-right-style: solid; border-color: transparent; font-size: 12px; font-weight: 600; color: #333; padding-bottom: 10px;} 
.ui-jqgrid .ui-jqgrid-pager { border-left: 0px none !important; border-right: 0px none !important; border-bottom: 0px none !important; position: relative; white-space: nowrap; overflow: hidden; }
.ui-jqgrid .ui-jqgrid-pager { background: #f5f5f5; border-top: 0px solid #e5e5e5; margin: 3px -15px -15px -15px !important; padding: 3px 15px 0px 15px !important; height: 25px; }
.ui-jqgrid .ui-jqgrid-pager { font-size: 11px; }
.ui-jqgrid .ui-pg-table td {font-weight:normal; vertical-align:middle; padding:0px;}
.ui-jqgrid .ui-pg-button  {border-left: 1px hidden; border-right: 1px hidden; border-top: 0px; border-bottom: 0px; height:19px !important;}
.ui-jqgrid .ui-state-disabled:hover {padding:0px;}
.ui-jqgrid .ui-jqgrid-view { font-size: 11px;}
.ui-jqgrid .ui-jqgrid-titlebar { padding: 0; }
#cpanel_user_list .ui-jqgrid .ui-jqgrid-htable th div {
	align-items: center;
	font-size: 12px;
	font-weight: 400;
	color: #ffff;
	display: flex;
}

#manage_server_server .ui-jqgrid .ui-jqgrid-htable th div,
#cpanel_manage_server .ui-jqgrid .ui-jqgrid-htable th div,
#manage_server_branding_ui .ui-jqgrid .ui-jqgrid-htable th div,
#cpanel_billing_plan_list .ui-jqgrid .ui-jqgrid-htable th div,
#cpanel_unused_object_list .ui-jqgrid .ui-jqgrid-htable th div,
#cpanel_object_list .ui-jqgrid .ui-jqgrid-htable th div,
#cpanel_user_list .ui-jqgrid .ui-jqgrid-htable th div { align-items: center; font-size: 12px; font-weight: 400; color: #ffff; display: flex; }
.ui-jqgrid .ui-jqgrid-htable th div { align-items: center; font-size: 14px; font-weight: 600; line-height: 19.07px; color: #ffff; display: flex; padding-bottom: 1px;}
.ui-jqgrid .ui-jqgrid-hdiv {
	margin-top: 10px;
	clear: both;
}
.ui-jqgrid .ui-jqgrid-hdiv thead { font-size: 12px; height: 24px; }
.ui-jqgrid .ui-jqgrid-htable th {height:13px;}
.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column { height: 24px; }
.ui-th-ltr, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr { padding-top: 0px; }
.ui-th-ltr:first-child, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr:first-child { border-left: none; }
.ui-jqgrid .ui-icon-asc,
.ui-jqgrid .ui-icon-desc {
	margin-left: 7px;
	height: 5px;
	width: 10px;
}
.ui-jqgrid .ui-pg-input { font-size: 11px; height: 18px; margin: 2px 0; text-align: center; }
.ui-jqgrid .ui-pg-selbox { display: block; font-size: 11px; height: 18px; line-height: 18px; margin: 0; }
.ui-jqgrid .ui-separator { height: 0; border: none; }
.ui-jqgrid .ui-pg-table { padding: 0; }
.ui-jqgrid tr.jqgrow td {
	padding: 1px 2px;
	width: 100%;
	overflow: hidden;
	white-space: pre;
}
.ui-jqgrid tr.ui-row-ltr td span { display: inline-block; height: 17px; }
.ui-jqgrid tr.ui-row-ltr td span.status { color: #808080; font-size: 11px; }
.ui-jqgrid .ui-jqgrid-btable {table-layout:fixed; margin:3px 0 0 0; outline-style: none;}
.ui-jqgrid th.ui-state-hover { background: none; }

.ui-jqgrid .ui-state-highlight, .ui-widget-content .ui-state-highlight, 
#side_panel_objects_object_list_grid tr.jqgrow td {
	background-color: transparent;
	overflow: visible;
}


.ui-widget-content input[type="checkbox"] {
	position: relative;
	width: 14px;
	height: 14px;
	margin: 0;
	margin-right: 4px;
}

.ui-widget-content input[type="checkbox"]:before {
	content: '';
	display: block;
	width: 14px;
	height: 14px;
	border-radius: 2px;
	border: 1px solid gray;
	background-color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	cursor: pointer;
}

.ui-widget-content input[type="checkbox"]::after {
	content: "";
	position: absolute;
	top: 19%;
	left: 36%;
	width: 4px;
	height: 6px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	visibility: hidden;
	transform: rotate(45deg);
}

.ui-widget-content input[type="checkbox"]:checked:before {
	background-color: #795da7;
	border-color: #795da7;
}

.ui-widget-content input[type="checkbox"]:checked::after {
	visibility: visible;
}

#side_panel_objects_object_list_grid .ui-widget-content input[type="checkbox"] {
    position: relative; 
    width: 19px; 
    height: 19px; 
    margin: 0; 
}

#side_panel_objects_object_list_grid .ui-widget-content input[type="checkbox"]:before {
    content: '';
    display: block;
    width: 19px;
    height: 19px;
    border-radius: 3px;
    border: 1px solid gray;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

#side_panel_objects_object_list_grid .ui-widget-content input[type="checkbox"]::after {
    content: "";
    position: absolute;
	top: 11%;
	left: 36%;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	visibility: hidden;
	transform: rotate(45deg);
}

#side_panel_objects_object_list_grid .ui-widget-content input[type="checkbox"]:checked:before {
    background-color: #795da7;
    border-color: #795da7;
}

#side_panel_objects_object_list_grid .ui-widget-content input[type="checkbox"]:checked::after {
    visibility: visible;
}

/*#################################################*/
/* JQGRID PAGER
/*#################################################*/

.ui-pg-div .ui-icon-plus { background: #51396a url(images/plus-white.svg ) center center no-repeat; padding: 6px; background-size: 10px 10px; }
.ui-pg-div .ui-icon-import { background: url(images/import.svg ) center center no-repeat; background-size: auto 14px; width: 24px; }
.ui-pg-div .ui-icon-export { background: url(images/export.svg ) center center no-repeat; background-size: auto 14px; width: 24px; }
.ui-pg-div .ui-icon-action { background: url(images/action2.svg ) center center no-repeat; background-size: auto 14px; width: 24px; }
.ui-pg-div .ui-icon-delete-all { background: url(images/remove.svg ) center center no-repeat; background-size: 10px 10px; width: 24px; }
.ui-jqgrid .ui-jqgrid-pager .ms-choice { margin-top: -6px; }

#cpanel #cpanel_user_list .ui-pg-div .ui-icon-plus,
#cpanel #cpanel_object_list .ui-pg-div .ui-icon-plus,
#cpanel #cpanel_unused_object_list .ui-pg-div .ui-icon-plus,
#cpanel #cpanel_billing_plan_list .ui-pg-div .ui-icon-plus,
#cpanel #dialog_user_edit .ui-pg-div .ui-icon-plus,
#dialog_settings .ui-pg-div .ui-icon-plus,
#dialog_settings_object_edit .ui-pg-div .ui-icon-plus,
#dialog_share_position .ui-pg-div .ui-icon-plus,
#dialog_reports .ui-pg-div .ui-icon-plus,
#dialog_tasks .ui-pg-div .ui-icon-plus,
#dialog_cmd .ui-pg-div .ui-icon-plus,
#dialog_maintenance .ui-pg-div .ui-icon-plus,
#dialog_expenses .ui-pg-div .ui-icon-plus,
#dialog_places_groups .ui-pg-div .ui-icon-plus,
#dialog_billing .ui-pg-div .ui-icon-plus {
	margin: -4px 0px -5px -15px;
}

#dialog_billing .ui-pg-div .ui-icon-plus {
	background-color: #9cc602;
}

#cpanel_user_list .ui-jqgrid .ui-jqgrid-hdiv {
	margin-top: 0;
}

#bottom_panel_tabs {
	padding: 10px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	overflow: hidden;
}

#bottom_panel_tabs > .ui-tabs-panel {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
	box-sizing: border-box;
}

#bottom_panel .datalist-item-list {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
	box-sizing: border-box;
}

#bottom_panel_tabs ul {
	display: flex;
	align-items: center;
	gap: 12px;
}

#bottom_panel_tabs ul::before {
	content: none;
}

/* #side_panel .ui-jqgrid .ui-jqgrid-pager,
#places_side_panel .ui-jqgrid .ui-jqgrid-pager,
#bottom_panel .ui-jqgrid .ui-jqgrid-pager
{
	border-top: none;
	padding-left: 10px !important;
	padding-right: 10px !important;
	margin-left: -10px !important;
	margin-bottom: 0px !important;
} */
	
#dialog_image_gallery .ui-jqgrid .ui-jqgrid-pager
{
	/* Keep the Image gallery pager fully inside the dialog. The global jqGrid
	   rule uses negative side/bottom margins, which clips this pager because
	   the dialog intentionally hides overflow. */
	margin: 10px 0 0 0 !important;
	padding: 3px 12px 0 12px !important;
	height: 25px !important;
	box-sizing: border-box;
}

/*#################################################*/
/* FORM
/*#################################################*/
.wasl-box {
	margin: 0;
}

#dialog_user_edit_identityNumber,
#dialog_user_edit_commercial_record_number,
#dialog_user_edit_commercial_record_issueDateHijri,
#dialog_user_edit_phone_number,
#dialog_user_email,
#dialog_user_edit_manager_mobile_number,
#dialog_user_edit_manager_phone_number,
#dialog_user_edit_manager_name,
#dialog_user_edit_extension_number {
	border-radius: 3px;
}

.wasl_form_box {
	display: flex;
	align-items: center;
	color: red;
	padding: 5px 0;
}

.wasl-img {
	width: 14px;
	margin-right: 4px;
}

/*#################################################*/
/* JQGRID CUSTOM
/*#################################################*/

.ui-jqgrid-btable a img
{
	padding: 0 2px;
}

.ui-jqgrid-btable img
{
	width: 14px;
}

.ui-jqgrid .tree-wrap-ltr
{
	float: right;
	margin-top: 0px;
	margin-right: 1px;
	margin-left: 8px;
}


#cpanel .ui-jqgrid tr.ui-row-ltr td { padding: 3px; }
/*#cpanel .ui-jqgrid .ui-jqgrid-title { float: right; margin: auto; }
#cpanel .ui-jqgrid .ui-jqgrid-titlebar { margin-bottom: 12px; }*/

#cpanel_user_list .ui-jqgrid .ui-jqgrid-title,
#cpanel_object_list .ui-jqgrid .ui-jqgrid-title,
#cpanel_unused_object_list .ui-jqgrid .ui-jqgrid-title,
#cpanel_billing_plan_list .ui-jqgrid .ui-jqgrid-title {
	float: right; margin: auto; 
}

#cpanel_user_list .ui-jqgrid .ui-jqgrid-titlebar,
#cpanel_object_list .ui-jqgrid .ui-jqgrid-titlebar,
#cpanel_unused_object_list .ui-jqgrid .ui-jqgrid-titlebar,
#cpanel_billing_plan_list .ui-jqgrid .ui-jqgrid-titlebar {
	margin-bottom: 12px;
}

#cpanel_user_list .ui-jqgrid .ui-jqgrid-hdiv {
	margin-top: 0;
}

#settings_object_sensor_list_grid_pager,
#settings_object_service_list_grid_pager,
#settings_object_custom_fields_list_grid_pager,
#settings_object_info_list_grid_pager {
	width: auto !important;
	margin: 0 !important;
}

#gview_image_gallery_list_grid {
	border-bottom: none;
	padding-bottom: 3px;
}
#gview_chat_object_list_grid,
#gview_settings_object_sensor_calibration_list_grid,
#gview_settings_object_sensor_dictionary_list_grid,
#gview_settings_event_param_sensor_condition_list_grid,
#gview_cpanel_manage_server_theme_list_grid,
#gview_cpanel_manage_server_custom_map_list_grid,
#gview_cpanel_manage_server_log_list_grid,
#gview_cpanel_manage_server_billing_plan_list_grid,
#gview_cpanel_manage_server_language_list_grid,
#gview_cpanel_manage_server_template_list_grid
{ border-bottom: 1px solid #f5f5f5; padding-bottom: 3px; }

.ui-jqgrid .ui-jqgrid-htable th#side_panel_objects_object_list_grid_show,
.ui-jqgrid .ui-jqgrid-htable th#side_panel_places_marker_list_grid_show,
.ui-jqgrid .ui-jqgrid-htable th#side_panel_places_route_list_grid_show,
.ui-jqgrid .ui-jqgrid-htable th#side_panel_places_zone_list_grid_show,
.ui-jqgrid .ui-jqgrid-htable th#side_panel_history_route_detail_list_grid_icon,
.ui-jqgrid .ui-jqgrid-htable th#chat_object_list_grid_icon
{ border-left: none; }


#gview_dialog_user_edit_subaccount_list_grid .ui-jqgrid-bdiv input[type=text]
{height: 17px; width: 100%; border: 0px; text-align: center;}

#gview_dialog_subaccounts_subaccount_list_grid .ui-jqgrid-bdiv input[type=text]
{height: 17px; width: 100%; border: 0px; text-align: center;}


/* #cpanel #cpanel_unused_object_list .ui-jqgrid .ui-jqgrid-hdiv, */
/* #cpanel #cpanel_billing_plan_list .ui-jqgrid .ui-jqgrid-hdiv, */
#cpanel #cpanel_manage_server .ui-jqgrid .ui-jqgrid-hdiv,
#cpanel #dialog_user_edit .ui-jqgrid .ui-jqgrid-hdiv,
#cpanel #dialog_subaccounts .ui-jqgrid .ui-jqgrid-hdiv
{ padding: 4px 0; }

#gview_side_panel_objects_object_list_grid .ui-jqgrid-hdiv {
	margin-top: 12px;
	margin-bottom: 10px;
	clear: both;
}

#gview_side_panel_history_route_detail_list_grid .ui-jqgrid-hdiv {
	margin-bottom: 10px;
}


/*#################################################*/
/* LOGIN PAGE
/*#################################################*/

body#login {
	background-image: url(../img/login-background.jpg);
	background-position: center center;
	background-size: cover;
	background-color: #ffffff;
	display: table;
	/* overflow: auto; */
	width: 100%;
	height: 100%;
}
#login .wrapper {
	display: table-cell;
	vertical-align: middle;
}
#login .wrapper .inner-wrapper {
	width: 450px;
	padding: 20px;
	margin: 50px auto;
	background: #ffffff;
	opacity: 0.9;
}
#login .wrapper .inner-wrapper .content {
	height: 250px;
	width: 100%;
	overflow: hidden;
}
#login .wrapper .inner-wrapper .content .content-block {
	height: 250px;
}
#login .logo-block {
	float: left;
}
#login .logo {
	margin-bottom: 20px;
}
#login .registration-closed {
	padding: 15px;
	background: #fab444;
	color: #ffffff;
	font-weight: bold;
	margin-bottom: 10px;
}
#login .server-select .ms-choice {
	background-image: url(images/server.svg);
	background-position: 15px center;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	height: 48px;
}
#login .server-select .ms-choice span {
	top: 12px;
	padding-left: 51px;
}
#login .server-select .ms-choice div {
	top: 14px;
}
#login .server-select .ms-drop {
	margin-top: 24px;
}
#login input.inputbox {
	height: 48px;
	background-color: #f5f5f5;
	border: 1px solid #f5f5f5;
	width: 100%;
	padding-left: 50px;
}
#login input.inputbox:hover {
	background-color: #ffffff; }
#login .icon {
	float: left;
	width: 48px;
	height: 48px;
	background-position: 15px center;
	background-repeat: no-repeat;
	background-size: 16px 16px;
}
.icon.icon-user { background-image: url(images/user.svg); }
.icon.icon-email { background-image: url(images/email.svg); }
.icon.icon-password { background-image: url(images/password.svg); }
.icon.icon-code { background-image: url(images/shield.svg); }

#login .wrapper .content-block input.button {
	background: #2b82d4;
	color: #ffffff;
	border: none;
	padding: 5px;
	height: 50px;
	width: 100%;
	font-weight: bold;
}
#login input.button:hover { opacity: 0.9; }
#login .content-block .reveal {
	position: absolute;
	right: 15px;
	top: 14px;
	width: 20px;
	height: 20px;
	background: url(images/eye-crossed.svg) center center no-repeat;
	background-size: 16px 16px;
	cursor: pointer;
}
#login .content-block .reveal.hide {
	background: url(images/eye.svg) center center no-repeat;
	background-size: 16px 16px;
}
#login .content-block .security-code {
	position: absolute;
	top: 15px;
	right: 10px;
}
#login .wrapper .content-block .submit-btn {
	position: relative;
}
#login .wrapper .content-block .submit-btn .remember-block {
	position: absolute;
	z-index: 1;
	top: 15px;
	right: 15px;
}
#login .submit-btn .remember-block input { display: none; }
#login .submit-btn .remember-block .custom-checkbox {
	cursor: pointer;
	width: 16px;
	height: 16px;
	background: url(images/lock-open.svg) center center no-repeat;
	background-size: 16px 16px;
	display: block;
}
#login .submit-btn .remember-block .custom-checkbox.checked {
	background: url(images/lock-closed.svg) center center no-repeat;
	background-size: 16px 16px;
}
#login .recover-register-block {
	text-align: center;
	padding: 0;
	margin: 35px 0;
}
#login .recover-register-block li {
	display: inline-block;
	list-style: none;
}
#login .recover-register-block li a {
	font-weight: bold;
	color: #676767;
}
#login .footer {
	height: 25px;
	padding-top: 10px;
	border-top: 1px solid #e4e4e4;
}
#login .footer .mobile-v {
	padding-left: 20px;
	color: #676767;
	background-image: url(images/mobile.svg);
	background-position: left center;
	background-size: 16px 16px;
	background-repeat: no-repeat;
}
#login .footer input.button.mobile-v { border: none; padding: none; }
#login .footer input.button.mobile-v:hover { color: #2b82d4; background: none; }
#login .text { border-top: none; }

/*#################################################*/
/* TOP PANEL
/*#################################################*/


#top_panel button.ms-choice {
    background: transparent;
    border: none;
	font-size: 16px;
}

#top_panel button.ms-choice:hover {
    background: transparent;
	
}

#top_panel .ms-choice span {
	color: white;
	font-weight: 700;
}

#top_panel {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 38px;
	background: #51396a;
	position: relative;
	z-index: 20;
	padding: 8px;
	border-radius: 6px;
    /* border: 1px solid lightgray; */
}

#top_panel img { display: block; width: 22px; height: 22px;}

#top_panel .about-btn img {
	display: block;
	width: 32px;
	border: 2px solid #fc8230;
	height: 32px;
	border-radius: 11px;
}
#top_panel .right-menu { display: flex; gap: 24px; align-items: center; }

#top_panel .cpanel-btn a { background: #fab444; border: none; }
#top_panel .billing-btn {
	width: 30px;
}
#top_panel .cpanel-btn a:hover { background: #fab444; opacity: 0.9; }
#top_panel .billing-btn a { background: transparent; border: none; }
#top_panel .billing-btn a:hover { background: transparent; opacity: 0.9; }
#top_panel .billing-btn-red a { background: #ff4e49; border: none; }
#top_panel .billing-btn-red a:hover { background: #ff4e49; opacity: 0.9; }
#top_panel .logout-btn img { width: 32px; height: 32px; }
#top_panel .user-btn {
	display: flex;
	gap: 8px;
	align-items: center;
}
#top_panel .user-btn img { 
	width: 30px;
	height: 30px;
	border-radius: 11px;
	border: 2px solid #fc8230;}
#top_panel .chat-btn span,
#top_panel .billing-btn span,
#top_panel .billing-btn-red span {
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	width: 16px;
	height: 16px;
	background-color: #fc8230;
	border-radius: 100px;
	text-align: center;
	position: absolute;
	top: -7px;
	right: -5px;
}

#top_panel .billing-btn-box {
	position: relative;
}

#top_panel .user-btn span {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 4px;
}
#top_panel .select-language { margin: 1px 0; padding: 5px 10px; }
#top_panel .select-language.cp { border: none; }

#settings_main_object_list_search_total,
#settings_main_object_list_search_idel,
#settings_main_object_list_search_problem,
#settings_main_object_list_search_online {
	width: 100%;
}

/* #cpanel_billing_plan_list_grid.ui-jqgrid-btable tbody tr.jqgrow td,
#cpanel_unused_object_list_grid.ui-jqgrid-btable tbody tr.jqgrow td,
#cpanel_object_list_grid.ui-jqgrid-btable tbody tr.jqgrow td,
#dialog_subaccounts_subaccount_list_grid.ui-jqgrid-btable tbody tr.jqgrow td,
#cpanel_user_list_grid.ui-jqgrid-btable tbody tr.jqgrow td,
#dialog_user_edit_subaccount_list_grid.ui-jqgrid-btable tbody tr.jqgrow td,
#dialog_user_edit_object_list_grid.ui-jqgrid-btable tbody tr.jqgrow td,
#dialog_user_edit_billing_plan_list_grid.ui-jqgrid-btable tbody tr.jqgrow td,
#dialog_user_edit_usage_list_grid.ui-jqgrid-btable tbody tr.jqgrow td,
#topHeader_status_object_list_grid.ui-jqgrid-btable tbody tr.jqgrow td */

#side_panel_objects_object_list_grid.ui-jqgrid-btable tbody tr.jqgrow td {
	border-bottom: none;
}

#side_panel_history_route_detail_list_grid.ui-jqgrid-btable tbody tr.jqgrow td {
	padding: 6px 0;
}

.ui-jqgrid-btable tbody tr.jqgrow td {
	border-bottom: 1px solid #f5f5f5;
	font-weight: 500;
	font-size: 12px;
}

#topHeader_status_object_online_list_grid.ui-jqgrid-btable tbody tr.jqgrow td {
	border-bottom: 1px solid #f5f5f5;
	font-weight: 500;
	font-size: 12px;
}

#topHeader_status_object_problem_list_grid.ui-jqgrid-btable tbody tr.jqgrow td {
	border-bottom: 1px solid #f5f5f5;
	font-weight: 500;
	font-size: 12px;
}

#topHeader_status_object_idel_list_grid.ui-jqgrid-btable tbody tr.jqgrow td {
	border-bottom: 1px solid #f5f5f5;
	font-weight: 500;
	font-size: 12px;
}
/*#################################################*/
/* LEFT PANEL
/*#################################################*/

#left_menu {
    position: relative;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 4px 10px 0 #0000001A;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid lightgray;
}

#left_menu > div {
	border-radius: 6px;
}

#left_menu > div:hover {
	background-color: #FC8230;
}

#left_menu>div:hover img {
	filter: brightness(0) invert(1);
}

#left_menu img {
	width: 19px;
    height: 19px;
    padding: 5px;
}

#left_menu > div.active {
    background: #6f6f6f;
}

#left_menu > div.active:not(:hover) img {
	/* filter: invert(61%) sepia(30%) saturate(2611%) hue-rotate(338deg) brightness(101%) contrast(98%); */
	filter: brightness(0) invert(1);
}


#side_panel, #places_side_panel {
	padding: 10px 12px;
	border-radius: 6px;
	max-width: 360px;
	background: #ffffff;
	z-index: 20;
	box-shadow: 0 4px 10px 0 #0000001A;
    border: 1px solid lightgray;
}



#side_panel .side-panel-content-list ul::before {
	display: none;
}

#places_side_panel {
	display: none;
}

.side-panel-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.side-panel-list li a {
	background: #fc8230;
	color: #fff;
	border-radius: 4px;
	border: 1px solid #fc8230;
	font-size: 14px;
	font-weight: 500;
	line-height: 19.07px;
	padding: 8px 14px;
}

.side-panel-list li {
	display: inline-flex;
}

.side-panel-content-list {
	border-bottom: 1px solid #dadada;
	padding-bottom: 10px;
}

.side-panel-content-list ul {
	display: flex;
	align-items: center;
	gap: 12px;
}

#side_panel_places { padding-left: 0px; padding-right: 0px;}

#side_panel_places .ui-tabs-nav
{
	border: 0px;
	margin-top: 10px;
}

#side_panel_places .ui-tabs-nav li
{
	border: 0px;
}

#side_panel_places .ui-tabs-nav li a
{
	padding: 8px 14px;
}

#side_panel_places .ui-tabs-nav li.ui-tabs-active a
{
	padding: 8px 14px;
}

#places_marker_icon_tabs {
	margin-left: -15px;
	margin-right: -15px;
	width: 324px;
}

#places_marker_icon_default_tab, #places_marker_icon_custom_tab {
	padding-bottom: 0px;
}

#places_marker_icon_default_list {
	position: relative;
	height: 245px;
	overflow-y: scroll;
	border: 1px solid #f5f5f5;
	padding: 5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#places_marker_icon_custom_list {
	position: relative;
	height: 211px;
	overflow-y: scroll;
	border: 1px solid #f5f5f5;
	padding: 5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/*#################################################*/
/* BOTTOM PANEL
/*#################################################*/

#bottom_panel {
	border-radius: 6px;
	display: none;
	background-color: #ffffff;
	position: relative;
    border: 1px solid lightgray;
}

#bottom_panel .controls {
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 30;
}

#bottom_panel .controls a {
	float: left;
	height: 16px;
	width: 16px;
	display: inline-block;
}

#bottom_panel .controls span.icon-close {
	display: table;
	width: 100%;
	height: 100%;
	background-image: url(images/remove.svg);
	background-size: 10px 10px;
	background-repeat: no-repeat;
	background-position: center center;
}

#bottom_panel_datalist,
#bottom_panel_graph {
	padding-top: 10px;
}
#bottom_panel_datalist,
#bottom_panel_graph,
#bottom_panel_msg  { background: #ffffff; }
#bottom_panel_graph_plot
{
	height: 100%;
	width: 100%;
}

.graph-controls
{
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-left: 15px;
}
.graph-controls div
{
	display: inline-block;
	vertical-align: middle;
	font-size: 11px;
}
.graph-controls-left
{
	float: left;
}
.graph-controls-right
{
	float: right;
}
.graph-label
{
	line-height: 24px;
	margin-right: 5px;
}

/*#################################################*/
/* OBJECT LIST
/*#################################################*/

.object-list-item {
	display: flex;
	align-items: center;
}

.object-list-item .left {
	padding-right: 30px;
	float: left;

}
.object-list-item .right {
	display: table;
	height: 100%;
	float: right;
}
.object-list-item .name {
	overflow: hidden;
	text-overflow: ellipsis;
}
.object-list-item .status {
	overflow: hidden;
	text-overflow: ellipsis;
	color: #808080;
	font-size: 10px;
}
.object-list-item .speed,
.object-list-item .engine,
.object-list-item .connection,
.object-list-item .messages {
	display: table-cell;
	vertical-align: middle;
	height: 100%;
	text-align: center;
	padding: 3px;
}
.object-list-item .speed {
	/* max-width: 25px; */
	text-overflow: ellipsis;
	overflow: hidden;
}
.object-list-item .messages {
	font-size: 11px;
	line-height: 12px;
	height: 12px;
	background: #f5f5f5;
	color: #808080;
	display: block;
	border-radius: 2px;
	margin-top: 4px;
}
.object-action-menu {
	border-radius: 2px;
	padding: 3px;
}


/*#################################################*/
/* NOTIFY/CONFIRM
/*#################################################*/

#dialog_notify,
#dialog_confirm{
	min-width: 250px;
}

#dialog_notify_text,
#dialog_confirm_text{
	line-height: 18px;
}

.ui-pnotify .ui-pnotify-text .row {
	margin-bottom: 0px;
}
.ui-pnotify .ui-pnotify-text .row2 {
	line-height: 18px;
}
.ui-pnotify .ui-pnotify-text .row2 div:last-child {
	overflow-wrap: break-word;
	word-wrap: break-word;
	-ms-word-break: break-all;
	word-break: break-all;
	word-break: break-word;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}

/*#################################################*/
/* MENU
/*#################################################*/

.ui-menu { position: absolute; min-width: 150px; white-space: nowrap; z-index: 99999999; }

.menu {
	background: #ffffff;
	-webkit-box-shadow: 0 0 5px 0 #9b9b9b;
	box-shadow: 0 0 5px 0 #9b9b9b;
	padding: 14px 0;
}
.menu ul {
	background: #ffffff;
	-webkit-box-shadow: 3px 0 5px 0 #9b9b9b;
	box-shadow: 3px 0 5px 0 #9b9b9b;
}

.menu li:first-child { border: none; }

.menu.ui-menu .ui-menu-item .arrow-icon {
	background-size: 10px 10px;
	padding: 10px 0px 10px 15px;
}

.menu .child {
	padding: 14px 0;
}

.menu ul li a,
.menu .ui-menu-icon { background: url(images/arrow-right.svg) left center no-repeat; background-size: 10px 10px; overflow: visible; }
.menu.ui-menu .ui-menu-item a {
	background-repeat: no-repeat;
	background-position: 0 center;
	background-size: 20px 20px;
	padding: 10px 0px 10px 30px;
	color: #444444;
	font-size: 12px;
	font-weight: 600;
	line-height: 16.34px;
	border-bottom: 1px solid #dadada;
}

/*#################################################*/
/* DRAGBARS
/*#################################################*/


#side_panel_objects_dragbar,
#side_panel_events_dragbar,
#side_panel_history_dragbar {
	margin: 3px -10px;
	height: 5px;
	background: #f5f5f5;
	cursor: row-resize;
}
#side_panel_objects_dragbar:hover,
#side_panel_events_dragbar:hover,
#side_panel_history_dragbar:hover { background-color: #eeeeee; }

/* .side-panel-objects-list-grid-box {
	margin-right: 10px;
	background-color: red;
} */

#side_panel_dragbar {
	/* position: absolute;
	top: 36px;
	bottom: 0px;
	left: 360px; */
	width: 5px;
	background: #f5f5f5;
	z-index: 20; 
	
} 

#side_panel_dragbar:hover { background-color: #eeeeee;}

#bottom_panel_dragbar {
	position: absolute;
	bottom: 0px;
	left: 95px;
	right: 0px;
	height: 5px;
	background: transparent;
	border-left: 0px;
}
#bottom_panel_dragbar:hover { background-color: #f5f5f5; }

/*#################################################*/
/* SETTINGS
/*#################################################*/

#dialog_settings_object_edit {
	padding: 15px;

}

#side_panel_places ul,
#settings_object > ul{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#side_panel_places_marker_list_grid_pager,
#side_panel_places_route_list_grid_pager,
#side_panel_places_zone_list_grid_pager,
#side_panel_events_event_list_grid_pager {
	background: #f5f5f5;
	border-top: 0px solid #e5e5e5;
	margin: 2px -15px -12px -12px !important;
	padding: 2px 13px 0px 11px !important;
	height: 25px;
	border-radius: 0px 0px 6px 6px;
}

#bottom_panel_msg_list_grid_pager {
	background: #f5f5f5;
	border-top: 0px solid #e5e5e5;
	margin: 2px -6px -10px -10px !important;
	padding: 1px 10px 0px 11px !important;
	height: 25px;
	border-radius: 0px 0px 6px 6px;
}

#side_panel_places ul::before,
#side_panel_places ul::after,
#settings_object > ul::before,
#settings_object > ul::after,
#reports_tabs ul::before,
#reports_tabs ul::after,
#dialog_cmd ul::before,
#dialog_cmd ul::after {
	display: none;
}



#dialog_settings { padding: 15px;}
#dialog_settings_object_edit_select_icon { padding: 0px; }
#dialog_settings_event_properties { padding-top: 0px; padding-left: 0px; padding-right: 0px; }
/* Keep Event properties form fields away from the dialog's left edge.
   The padding is applied to each tab panel (not to the tab navigation),
   and border-box prevents the two-column Main layout from overflowing. */
#dialog_settings_event_properties #settings_event > .ui-tabs-panel {
	padding-left: 10px !important;
	box-sizing: border-box;
}
#settings_main { height: 551px; margin-top: 0px; border-top: 0px; }
#settings_object { min-height: 471px; border-top: 0px; }
#settings_event { min-height: 417px; border-top: 0px; }
#settings_main_objects,
#settings_main_subaccounts { /*padding: 0 10px 10px 10px;*/ }
#settings_object_edit_select_icon_default_list {
	position: relative;
	height: 265px;
	overflow-y: scroll;
	border: 1px solid #f5f5f5;
	padding: 5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#settings_object_edit_select_icon_custom_list {
	position: relative;
	height: 231px;
	overflow-y: scroll;
	border: 1px solid #f5f5f5;
	padding: 5px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#settings_main ul{
	gap: 16px;
	align-items: center;
	display: flex;
	margin-bottom: 10px;
}

#settings_main ul::before {
	display: none;
}

/*#################################################*/
/* MAIN CONTENT
/*#################################################*/

#main_content {
	display: flex;
	gap: 8px;
	padding-top: 8px;
}

/*#################################################*/
/* MAP
/*#################################################*/

#map_panel {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	gap: 8px;
}

#map_wrapp {
	position: relative;
	width: 100%;
	display: block;
	height: 100%;
    box-shadow: 0 4px 10px 0 #0000001A;
	border: 1px solid lightgray;
    border-radius: 6px;
}

#map {
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 6px;
	width: 100%;
	height: 100%;
}

.map-layer-control
{
	position: absolute;
	top: 12px;
	right: 10px;
	background-color: #ffffff;
	padding: 2px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
	z-index: 20;
}

.map-layer-control .row4 {
	margin-top: 0;
}

.history-view-control
{
	display: none;
	position: absolute;
	width: 196px;
	top: 10px;
	left: 47px;
	background-color: #ffffff;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
	z-index: 20;
	float: left;
	clear: both;
}

.history-view-control a,
.history-view-control a:hover{
	float: left;
	height: 28px;
	width: 28px;
	display: inline-block;
}

.history-view-control a:hover {
	background-color: #f5f5f5;
}

.camera-control
{
	display: none;
	position: absolute;
	bottom: 16px;
	right: 10px;
	min-width: 236px;
	max-width: 316px;
	height: 177px;
	background-color: #ffffff;
	padding: 2px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
	z-index: 15;
	opacity: 0.75;
	line-height: 177px;
	font-size: 20px;
	text-align: center;
	vertical-align: middle;
	color: #aaaaaa;
}

.camera-control img
{
	width: 316px;
	height: 177px;
}

.street-view-control
{
	display: none;
	position: absolute;
	bottom: 16px;
	right: 10px;
	width: 316px;
	height: 177px;
	background-color: #ffffff;
	padding: 2px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
	z-index: 15;
	opacity: 0.75;
	line-height: 177px;
	font-size: 20px;
	text-align: center;
	vertical-align: middle;
	color: #aaaaaa;
}

.street-view-control img
{
	width: 316px;
	height: 177px;
}

.object-cluster-popup
{
	overflow-y: scroll;
	overflow-x: hidden;
	max-height: 200px;
	margin-top: 25px;
}

.view-all-btn-map {
	display: none;
	z-index: 99;
	color: #FFF;
	position: absolute;
	top: 45%;
	width: 30px;
	height: 30px;
	border-radius: 6px;
	background-color: #51396a;
	left: -22px;
	border: 0;
	align-items: center;
	/* display: flex; */
}

.view-all-btn-map .left-arrow {
	margin-left: 10px;
	transform: rotate(-45deg);
	border: solid #fff;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
}

.view-all-btn-map .right-arrow {
	margin-left: 12px;
	transform: rotate(135deg);
	border: solid #fff;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
}

/*#################################################*/
/* SHARE
/*#################################################*/

#map_share {
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
}

#side_panel_share {
	display: none;
	position: absolute;
	top: 75px;
	bottom: 0px;
	left: 0px;
	width: 280px;
	background-color: #ffffff;
	opacity: 0.8;
	z-index: 8;
	padding: 5px;
}

.object-share-control
{
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #ffffff;
	padding: 2px 2px 2px 5px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
	z-index: 20;
}

/*#################################################*/
/* FOLLOW
/*#################################################*/

#map_follow {
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
}

#side_panel_follow {
	display: none;
	position: absolute;
	top: 75px;
	bottom: 0px;
	left: 0px;
	width: 280px;
	background-color: #ffffff;
	opacity: 0.8;
	z-index: 8;
	padding: 5px;
}

.object-follow-control
{
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #ffffff;
	padding: 2px 2px 2px 5px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
	z-index: 20;
}

/*#################################################*/
/* DATALIST
/*#################################################*/

.datalist {
/*	width: 100%;
	height: 100%;*/
}

.datalist-item-list {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-content: flex-start;
	overflow-x: auto;
}

.data-item-text {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 20px;
	text-align: center;
	vertical-align: middle;
	color: #aaaaaa;
}

.datalist-item {
	display: table;
	float: left;
	width: 280px;
	min-width: 280px;
	margin-right: 15px;
	padding-left: 5px;
	padding-right: 5px;
	line-height: 24px;
}

.datalist-item.even {
	background-color: #f5f5f5;
}

.datalist-item.odd {
	background-color: #ffffff;
}

.datalist-item-icon {
	float: left;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 14px 14px;
	width: 24px;
	height: 24px;
}

.datalist-item-name {
	display: inline-block;
	width: 90px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.datalist-item-value {
	display: inline-block;
	width: 166px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: right;
}

/*#################################################*/
/* DASHBOARD
/*#################################################*/

#dialog_dashboard {
	background-color: #f1f5fa;
	overflow: hidden;
    border-radius: 0 0 6px 6px;
    padding: 10px;
}

#dialog_dashboard_mileage {
	height: auto;
}

.dialog_dashboard_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #ffff;
	padding: 8px;
	box-shadow: 0 4px 10px 0 #0000001A;
	border-radius: 6px;
	margin-bottom: 8px;
}

.dashboard-data_wrap {
	overflow-y: auto;
    height: 93%;
	display: flex;
	flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    border-radius: 6px;
}

.dashboard_second_left_list {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	margin: 0;
	height: 37px;
}

.dashboard-second-right {
	display: flex;
	gap: 10px;
	align-items: center;
}

.select-div-second-calender {
	display: flex;
	gap: 8px;
	align-items: center;
}

.select-div-second-calender label {
	font-size: 12px;
	font-weight: 600;
	line-height: 16.34px;
	text-align: left;
	margin-bottom: 0;
}

.dashboard_link {
	background-color: #f4f4f4;
	font-size: 14px;
	font-weight: 500;
	line-height: 19.07px;
	color: #333;
	cursor: pointer;
	border-radius: 4px;
	border: 1px solid #f4f4f4;
	transition: color 0.3s ease, 
	background-color 0.3s ease;
}

.dashboard_link {
	background-color: #f4f4f4;
	font-size: 14px;
	font-weight: 500;
	line-height: 19.07px;
	color: #333;
	cursor: pointer;
	border-radius: 4px;
	border: 1px solid #f4f4f4;
	transition: color 0.3s ease,
		background-color 0.3s ease;
		padding: 8px 14px;
}

.dashboard_link:hover {
	background-color: #fc8230;
	color: #fff;
}

.dashboard_link_active {
	background: #fc8230;
	color: #fff;
	border-radius: 4px;
	border: 1px solid #fc8230;
	font-size: 14px;
	font-weight: 500;
	line-height: 19.07px;
	padding: 8px 14px;
}

.dashboard_second_left_list li {
	list-style: none;
}

.dashboard-container-flex {
	flex-direction: row-reverse;
	display: flex;
	gap: 15px;
	align-items: center;

}

.dashboard-container-diagram-box {
	width: 100%;
	margin-bottom: 5px;
}

.dashboard-container {
	display: inline-block;
	width: 100%;
	background-color: #ffffff;
	height: 100%;
	box-shadow: 0 4px 10px 0 #0000001A;
	border-radius: 6px;
}

.dashboard-container-header {
	width: 100%;
	height: 30px;
	line-height: 30px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.dashboard-container-header a {
	display: flex;
	align-items: center;
}

.dashboard-container-header-flex {
	display: flex;
	align-items: center;
	min-width: 0;
}

.dashboard-container-flex ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dashboard-container-header-icon {
background: #e4dfed;
	text-align: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	margin-right: 10px;
}

.dashboard-container-header-icon img {
	width: 16px;
	height: 16px;
	padding: 6px;
}

.dashboard-container-header-icon span {
	display: inline-block;
	width: 100%;
	height: 100%;
	background-size: 15px 15px;
	background-repeat: no-repeat;
	background-position: center center;
}

.dashboard-container-header-title {
	float: none;
	font-size: 16px;
	font-weight: 700;
	line-height: 24.51px;
	text-align: left;
	color: #333;
	margin-bottom: 0;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dashboard-container-header-menu {
	float: none;
	margin-left: auto;
	flex: 0 0 auto;
}

.dashboard-container-header-menu span {
	display: inline-block;
	width: 100%;
	height: 100%;
	background-size: 15px 15px;
	background-repeat: no-repeat;
	background-position: center center;
}

.dashboard-container-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 20px;
	text-align: center;
	vertical-align: middle;
	color: #aaaaaa;
	margin-left: 10px;
	margin-right: 10px;
}

.dashboard-container-graph-plot {
	margin-left: 10px;
	margin-right: 10px;
}

.bar-track {
	height: 8px;
	clear: both;
	display: block;
	background: #f0f0f0;
	border-radius: 6px;
	overflow: visible;
	padding: 2px 3px;
}

.bar-active {
	border-radius: 6px;
	height: 100%;
}

.label-bar {
	width: 100%;
	margin-bottom: -15px;
	color: #333;
	font-size: 12px;
	font-weight: 600;
	line-height: 16.34px;
	text-align: left;
}

.percentage {
	width: 30%;
	float: right;
	font-size: 12px;
	font-weight: 600;
	line-height: 16.34px;
	color: #333;
	text-align: end;
}

.dashboard-container-shadow {
	box-shadow: 0 4px 10px 0 #0000001A;
	background: #ffff;
	padding: 12px;
	border-radius: 6px;
}

.latest-notification-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #ccc;
	padding: 10px 0;
}

.latest-notification-inner p {
	font-size: 14px;
	font-weight: 600;
	line-height: 19px;
	color: #333;
	margin: 0;
}

.unitet-statment-list {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #ccc;
}

.unitet-statment-list p {
	font-size: 14px;
	font-weight: 600;
	line-height: 19px;
	color: #333;
	margin: 0;
}

.geofences-span {
	background: #795da7;
	width: 18px;
	height: 18px;
	border-radius: 4px;
}

.unitet-main-left {
	display: flex;
	gap: 8px;
	align-items: center;
}

.flex-container {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}

.flex-container-main {
	display: flex;
	gap: 8px;
}
.canvas-connection {
	height:400px;
	width: 335px;
}

.width-box.dashboard-container-shadow {
	width: 100%;
}

.dashboard-container-shadow.width-box-motion {
	width: calc(40% - 32px);
}

.dashboard-flex-box {
	display: flex;
	flex-wrap: wrap;
    gap: 8px;
}

.dashboard-flex-box > div {
	width: calc(25% - 8px);
}


.dashboard-flex-diagraf {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dashboard-flex-diagraf>div {
}

.dashboard-flex-diagraf>div:first-child {
	flex: 0 0 calc(75% - 8px);
}

.dashboard-flex-diagraf>div:nth-child(2) {
	flex: 0 0 calc(25% - 8px);
}


@media (min-width: 1200px) {
	.col-xl-7 {
        flex: 0 0 calc(60% - 8px);
        max-width: calc(60% - 8px);
	}
}

@media (max-width: 1199px) {
	.flex-container-main {
		display: block;
	}

	.dashboard-flex-box>div {
		width: calc(50% - 8px);
	}

	.col-xl-7 {
		margin-bottom: 8px;
	}

	.canvas-connection {
		height: 400px;
		width: 700px;
	}

	.dashboard-container-shadow.width-box-motion {
		width: auto;
	}

	.dashboard-container-shadow {
		margin: 5px;
	}

}

@media (max-width: 990px) {
	.dashboard-flex-diagraf {
		display: block;
		margin-right: 10px;
		margin-bottom: 5px;
	}
}


@media (max-width: 990px) {
	.flex-container {
		display: block;
		margin-top: 10px;
	}

	.width-box-motion.dashboard-container-shadow {
		width: auto;
		margin-top: 10px;
	}

	.dashboard-container-shadow.width-box {
		width: auto;
	}

	.dashboard-container-shadow.connection-box {
		margin-bottom: 10px;
	}

}

@media (max-width: 770px) {
	.dashboard-flex-box>div {
		width: calc(100% - 10px);
	}
}


/*#################################################*/
/* HISTORY
/*#################################################*/

.history-controls { margin: 5px 0; }

/*#################################################*/
/* REPORTS
/*#################################################*/

#contentholder img {
width: 100px;
height: 100px;
}

#dialog_schedule_list_grid_pager {
	margin: 0 !important;
	padding: 0 !important;
}
#dialog_reports { padding: 15px; }

#reports_tabs ul {
	display: flex;
	gap: 15px;
}


#dialog_repor_schedule {
	padding-top: 15px;
	padding-right: 10px;
}

.dialog_repor_schedule_container {
	padding-right: 6px;
overflow-y: auto;
height: 430px;
}

.reports_schedule_wrapper div .row_schedule_line {
	flex-direction: row;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 24px;
}

.row_schedule label {
	margin-bottom: 4px;
}

.row_schedule input {
	padding-left: 10px;
}

.reports_schedule_wrapper {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;

}


.reports_schedule_wrapper div {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.schedule-days {
	display: flex;
	align-items: center;
	gap: 80px;
	margin-bottom: 20px;
}

.schedule-days-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.schedule_wrapper_box {
	display: flex;
	justify-content: space-between;
}
/*#################################################*/
/* OBJECT CONTROL
/*#################################################*/

#dialog_cmd { padding: 15px; }

#dialog_cmd  ul {
 	display: flex;
 	gap: 15px;
}
/*#################################################*/
/* IMAGE GALLERY
/*#################################################*/

#dialog_image_gallery { padding-bottom: 12px; overflow: hidden; box-sizing: border-box; }
#image_gallery_img {
	width: 640px;
	height: 480px;
	border: 1px solid #f5f5f5;
	text-align: center;
}
#image_gallery_img_data {
	background: #f5f5f5;
	height: 28px;
	width: 657px;
	margin-top: 5px;
	margin-right: -15px;
}
#image_gallery_img_data_address {
	white-space: nowrap;
}
#dialog_image_gallery .img-controls { width: 320px; }

/*#################################################*/
/* CHAT
/*#################################################*/

#dialog_chat { padding-bottom: 0; overflow: hidden; }

.chat-msgs-block {
	position: absolute;
	left: 252px;
	top: 15px;
	bottom: 49px;
	right: 15px;
}

.chat-msg-block {
	position: absolute;
	left: 252px;
	bottom: 15px;
	right: 15px;
	height: 24px;
}

#chat_msgs {
	position: absolute;
	left: 0px;
	top: 0px;
	bottom: 0px;
	right: 0px;
	overflow-x: hidden;
	overflow-y: scroll;
	border: 1px solid #f5f5f5;
	z-index: 9;
}

#chat_msgs_dt {
	font-size: 11px;
	display: none;
	position: relative;
	text-align: center;
        margin: 1px 1px 1px 1px;
        padding: 1px;
	z-index: 10;
	background: #eeeeee;
	opacity: 0.7;
}

.chat-msg-container
{
	width: 100%;
}

.chat-msg-status
{
	font-size: 11px;
	float: right;
	clear: both;
	margin: 3px;
	max-width: 60%;
	color: #bbbbbb;
}

.chat-msg-server
{
	text-align: left;
	float: right;
	clear: both;
	background: #DFE8F7;
	margin: 3px;
	padding: 3px 10px;
	max-width: 60%;
	border-radius: 2px;
	word-wrap: break-word;
}

.chat-msg-client
{
	text-align: left;
	float: left;
	clear: both;
	background: #F5F5F5;
	margin: 3px;
	padding: 3px 10px;
	max-width: 60%;
	border-radius: 2px;
	word-wrap: break-word;
}

.chat-msg-dt-server
{
	text-align: right;
	font-size: 10px;
	color: #888888;
}

.chat-msg-dt-client
{
	text-align: left;
	font-size: 10px;
	color: #888888;
}

/*#################################################*/
/* BILLING
/*#################################################*/

.side_panel_history_parameters_box {
	padding-top: 4px;
	padding-bottom: 16px;
	border-bottom: 1px solid #dadada;
}


.row3_input_btn {
	padding-top: 16px;
}

#side_panel_history_parameters .row3-input {
	height: auto;
	padding: 8px 14px;
	background-color: #f4f4f4;
    font-size: 14px;
    font-weight: 500;
    line-height: 19.07px;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #f4f4f4;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.row3-input:not(:last-child) {
	margin-right: 15px;
}

#side_panel_history_parameters .row3-input:hover,
#side_panel_history_parameters .row3-input:focus {
	background-color: #fc8230;
	color: #fff;
}

.dialog-billing-titlebar .ui-dialog-titlebar {
         background-color: #9cc602;
}

#billing_plan_purchase_list {
	width: 100%;
	height: 388px;
	font-size: 12px;
	overflow-y: scroll;
}
#billing_plan_purchase_list .row .row2 {
	margin-bottom: 0;
}
#billing_plan_purchase_list .row {
	border-bottom: 1px solid #f5f5f5;
	margin-bottom: 0;
	padding: 10px 0;
}
#billing_plan_purchase_list .row.header {
	font-weight: 600;
	color: #707070;
	background: #f5f5f5;
}
#billing_plan_purchase_list .row.even {
	background: #f5f5f5;
}
#billing_plan_purchase_list  div {
	text-align: center;
}
#billing_plan_purchase_list div.name {
	text-align: left;
}
#billing_plan_purchase_list i.arrow {
	width: 10px;
	height: 10px;
	display: block;
	float: left;
	margin-left: 8px;
	background: url(images/arrow-right.svg) center center no-repeat; background-size: 10px 10px;
}
#billing_plan_purchase_list i.purchase {
	width: 16px;
	height: 16px;
	margin: 0 auto;
	display: block;
	float: none;
	background: url(images/cart.svg) center center no-repeat; background-size: 16px 16px;
}

/*#################################################*/
/* LOGO, INFORMATION, MESSAGES
/*#################################################*/

.logo { border:0px; width:200px; height:200px; }
.logo_small { border:0px; width:32px; height:32px; }
.favicon { border:0px; width:32px; height:32px; }
.info { padding-bottom: 15px; height: 35px; display: table-cell; vertical-align: middle; }
.info2 { height: 22px; display: table-cell; vertical-align: middle; }
.subinfo {color: #949494; line-height: 12px;}

/*#################################################*/
/* DIALOG CONTROLS AND TABS
/*#################################################*/

.controls-block
{
	margin: -15px -15px 10px -15px;
	padding: 4px 15px 7px;
	background: #f5f5f5;
	height: 20px;
}



#settings_main_my_account .controls,
#settings_main_sms .controls,
#settings_main_user_interface .controls {
	position: absolute;
	right: -7px;
	top: 3px;
}

#settings_main_user_interface
{
	height: 505px;
}

#settings_main_my_account {
	height: 505px;
}


/* #settings_main_object_group_list,
#settings_main_object_driver_list,
#settings_main_object_passenger_list,
#settings_main_object_trailer_list,
#settings_main_objects_groups_drivers .ui-tabs-nav { margin: 0 -15px; } */

#settings_object_accuracy
{
	height: 410px;
}

/* Show the Accuracy scrollbar only when its content actually overflows. */
#settings_object_accuracy > .scroll-y
{
	overflow-y: auto;
}

.ui-tabs-anchor
{
	white-space: nowrap;
	max-width: 110px;
	overflow: hidden;
	text-overflow: ellipsis;
}

/*#################################################*/
/* CPANEL
/*#################################################*/

body#cpanel { background: #e5e5e5; }
#cpanel h1.title {
	margin: 0;
	color: #2b82d4;
	display: table;
	float: left;
}


#cpanel_user_list_grid.ui-jqgrid .ui-jqgrid-bdiv {
	padding-top: 0;
}

/* Track273: align the select-all checkbox with the row checkboxes. */
#cb_cpanel_user_list_grid,
#cpanel_user_list_grid input.cbox {
	display: block;
	width: 14px;
	height: 14px;
	margin: 0 auto !important;
}

/* The jqGrid header table has a left offset relative to the body table. */
#cb_cpanel_user_list_grid {
	position: relative;
	left: -6px;
}

/* Keep the main CPanel grids usable when browser zoom reduces the viewport width. */
body#cpanel #cpanel_user_list .ui-jqgrid-bdiv,
body#cpanel #cpanel_object_list .ui-jqgrid-bdiv,
body#cpanel #cpanel_unused_object_list .ui-jqgrid-bdiv,
body#cpanel #cpanel_billing_plan_list .ui-jqgrid-bdiv {
	overflow-x: auto;
}


.version { font-size: 10px; color: #808080; }
#cpanel_manage_server .cpanel-title { margin-bottom: 12px; }
#cpanel h1.title span { color: #808080; font-weight: normal; font-size: 22px;}

#cpanel_user_list,
#cpanel_object_list,
#cpanel_unused_object_list,
#cpanel_billing_plan_list,
#cpanel_manage_server {
	margin-top: 8px;
	padding: 15px;
	background: #ffffff;
	border-top: 3px solid #2b82d4;
}

#cpanel_user_list,
#cpanel_object_list,
#cpanel_unused_object_list,
#cpanel_billing_plan_list,
#cpanel_manage_server {
	border-top-color: #51396a;
}

.manage_server_input.button.panel.ms-save.icon-save.icon {
	background-color: #f4f4f4;
	height: 35px;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.3s ease, background-color 0,3s ease;
}

.manage_server_input.button.panel.ms-save.icon-save.icon:hover {
	background-color: #fc8230;
	color: #FFF;
}

#dialog_user_edit_tabs .ms-choice>div {
	width: 26px;
	height: 30px;
}

#dialog_user_edit_tabs .controls {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

#dialog_user_edit_tabs .controls input {
	background-color: #f4f4f4;
	border: #fff;
	font-weight: 500;
	transition: color 0.3s ease, background-color 0.3s ease;
}

#dialog_user_edit_tabs .controls input:hover {
	border: #fc8230;
	background-color: #fc8230;
	color: #FFF;
}



#dialog_user_edit_tabs { height: 555px; }
#dialog_user_edit { padding: 15px; }
#cpanel_user_list .inputbox-search,
#cpanel_object_list .inputbox-search,
#cpanel_unused_object_list .inputbox-search,
#cpanel_billing_plan_list .inputbox-search {
	width: 300px;
	margin-left: 4px;
}

#dialog_user_edit_tabs ul {
	display: flex;
	gap: 12px;
}

#dialog_user_edit_tabs ul::before {
	display: none;
}


.ui-tabs .ui-tabs-nav li.save-btn { float: right; }
#cpanel #dialog_user_edit_account .controls {
		flex-direction: row;
		display: flex;
		position: absolute;
		right: 58px;
		top: 37px;
		gap: 12px;
}
#cpanel #dialog_user_edit_contact_info .controls {
	position: absolute;
	right: 15px;
	top: 4px;
}
#cpanel #cpanel_manage_server .ui-tabs-nav {
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 10px 0;
	border-bottom: none;
}

#cpanel #cpanel_manage_server .ui-tabs .ui-tabs-nav li { border: none; }
#cpanel #cpanel_manage_server .ui-tabs .ui-tabs-nav li.ui-tabs-active a {
	background-color: #fc8230;
	color: #ffffff;
}
#cpanel #cpanel_manage_server .ui-tabs .ui-tabs-nav li a {
	font-size: 14px;
	font-weight: 500;
}

#cpanel_manage_server {
	height: 87vh;
	overflow: scroll;
}
.cpanel-tabs-content {
	overflow-y: auto;
}

#cpanel_manage_server .ui-img-container {
	display: flex;
	height: 160px;
	background-color: #f5f5f5; 
	border: 1px solid #f5f5f5;
	justify-content: center;
	align-items: center;
}
#cpanel_manage_server .logo {
	border: 0px;
	width: auto;
	height: auto;
	max-width: 215px;
	padding: 5px;
}
#cpanel_manage_server .login-background {
	border: 0px;
	width: auto;
	height: auto;
	max-width: 215px;
	max-height: 150px;
	padding: 5px;
}
#dialog_language_properties .row2 {
	overflow-wrap: break-word;
	word-wrap: break-word;
	-ms-word-break: break-all;
	word-break: break-all;
	word-break: break-word;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}

#gview_cpanel_unused_object_list_grid .ui-jqgrid-hbox,
#gview_cpanel_billing_plan_list_grid .ui-jqgrid-hbox{
	padding: 6px 5px;
}

/*#################################################*/
/* CPANEL TOP PANEL
/*#################################################*/

#top_panel .left-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}
#top_panel .top_panel_btn_container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-left: 18px;
	}

#top_panel .top_panel_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	width: 32px;
	border: 2px solid #fc8230;
	height: 32px;
	border-radius: 11px;
	text-align: center;
}
#top_panel .top_panel_btn.total { background-color: #8a5b97;}
#top_panel .top_panel_btn.active { background-color: #8a5b97;}
#top_panel .top_panel_btn.problems { background-color: #8a5b97;}
#top_panel .top_panel_btn.engine-on { background-color: #8a5b97;}

#top_panel .top_panel_btn span {
	color: white;
	font-size: 13px;
	font-weight: 600;
}

#top_panel .map-btn { width: 38px; height: 38px; border-radius: 11px; border: 2px solid #fc8230; justify-content: center; align-items: center; display: flex;}
#top_panel .select-view {
	width: 140px;
	min-width: 140px;
	max-width: 140px;
	flex: 0 0 140px;
}
#top_panel .user-btn img {float: left; margin-right: 4px; }
#top_panel .user-list-btn img,
#top_panel .object-list-btn img,
#top_panel .billing-plan-list-btn img,
#top_panel .unused-object-list-btn img { float: left; margin-right: 5px; }

/* #top_panel .user-btn span { margin-top: 8px; display: block; float: right;} */

#top_panel .user-list-btn span,
#top_panel .object-list-btn span,
#top_panel .billing-plan-list-btn span,
#top_panel .unused-object-list-btn span { display: block; float: right; margin-top: 3px; color: #fff; font-size: 12px; }

/*#################################################*/
/* @media
/*#################################################*/

/* @media (max-width: 1200px) {
	#top_panel .tp-menu div a {
		padding-left: 13px;
		padding-right: 13px; 
	}
} */

@media (max-width: 1150px) {
	/* #top_panel .user-btn span {
		display: none;
	} */
	#top_panel .user-btn img { margin-right: 0px;}
}

@media (max-width: 1100px) {
	/* #top_panel .user-btn {
		display: none;
	} */
	#top_panel .user-btn img { margin-right: 0px;}
}

/* @media (max-width: 1050px) {
	#top_panel .select-language {
		display: none;
	}
} */

@media (max-width: 1000px) {
	#bottom_panel_graph_label {
		display: none;
	}
}

/* @media (max-width: 950px) {
	#top_panel .billing-btn {
		display: none;
	}
	#top_panel .billing-btn-red {
		display: none;
	}
} */

@media (max-width: 850px) {
	#top_panel .cpanel-btn {
		display: none;
	}
	#top_panel .mobile-btn {
		display: none;
	}
	/* #top_panel .logout-btn {
		display: none;
	} */
}

@media (max-width: 800px) {
	.map-layer-control {
		display: none;
	}
}

@media (min-width: 640px)
{
	#side_panel_share {
		display: none;
		position: absolute;
		top: 0px;
		bottom: 0px;
		left: 0px;
		width: 280px;
		background-color: #ffffff;
		opacity: 1;
		padding: 5px;
	}
	
	#side_panel_follow {
		display: none;
		position: absolute;
		top: 0px;
		bottom: 0px;
		left: 0px;
		width: 280px;
		background-color: #ffffff;
		opacity: 1;
		padding: 5px;
	}
}

/* =========================================================
   Track166 feature compatibility for the design1 visual skin.
   The base layout above is kept identical to design1.
   ========================================================= */

/* Current object-status filters keep their behavior and use the target header chips. */
#top_panel .top_panel_dashboard_wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-left: 18px;
}
#top_panel .top_panel_dashboard_item {
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	background: transparent;
}
#top_panel .top_panel_dashboard_item:hover,
#top_panel .top_panel_dashboard_item.selected {
	color: #ffffff;
	background-color: #8a5b97;
}


/* Track210: live object-status counter colors requested by the client. */
#top_panel #top_panel_dashboard_total {
	background-color: #51396a;
}
#top_panel #top_panel_dashboard_moving {
	background-color: rgb(77, 167, 77);
}
#top_panel #top_panel_dashboard_offline {
	background-color: rgb(175, 216, 248);
	color: #444444;
}
#top_panel #top_panel_dashboard_idle {
	background-color: rgb(187, 123, 255);
}
#top_panel #top_panel_dashboard_stopped {
	background-color: rgb(223, 100, 100);
}
#top_panel #top_panel_dashboard_no_data {
	background-color: #9b9b9b;
}

#top_panel #top_panel_dashboard_total:hover,
#top_panel #top_panel_dashboard_moving:hover,
#top_panel #top_panel_dashboard_idle:hover,
#top_panel #top_panel_dashboard_stopped:hover,
#top_panel #top_panel_dashboard_no_data:hover {
	color: #ffffff;
	filter: brightness(0.96);
}
#top_panel #top_panel_dashboard_offline:hover {
	color: #444444;
	filter: brightness(0.96);
}

/* Object status details popup opened from the colored top counters. */
.object-status-details-dialog {
	padding: 10px !important;
	box-sizing: border-box;
	overflow: hidden !important;
}

.object-status-details-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 0 10px 0;
}

.object-status-details-summary {
	font-size: 12px;
	font-weight: 600;
	color: #444444;
}

.object-status-details-export {
	min-width: 105px;
	cursor: pointer;
}

.object-status-details-table-wrap {
	height: calc(100% - 42px);
	overflow: auto;
	border: 1px solid #e3e3e3;
	box-sizing: border-box;
}

.object-status-details-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 11px;
}

.object-status-details-table th {
	position: sticky;
	top: 0;
	z-index: 2;
	padding: 8px 7px;
	background: #333333;
	color: #ffffff;
	font-weight: 600;
	text-align: left;
}

.object-status-details-table td {
	padding: 7px;
	border-bottom: 1px solid #ededed;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
}

.object-status-details-table th:nth-child(1) { width: 24%; }
.object-status-details-table th:nth-child(2) { width: 22%; }
.object-status-details-table th:nth-child(3) { width: 16%; }
.object-status-details-table th:nth-child(4) { width: 24%; }
.object-status-details-table th:nth-child(5) { width: 14%; }

.object-status-details-loading,
.object-status-details-empty {
	padding: 25px !important;
	text-align: center;
	color: #888888;
}

.object-status-details-badge {
	display: inline-block;
	min-width: 70px;
	padding: 3px 7px;
	border-radius: 10px;
	text-align: center;
	font-size: 10px;
	font-weight: 600;
	color: #ffffff;
	box-sizing: border-box;
}
.object-status-details-badge.status-moving { background: rgb(77, 167, 77); }
.object-status-details-badge.status-offline { background: rgb(175, 216, 248); color: #444444; }
.object-status-details-badge.status-idle { background: rgb(187, 123, 255); }
.object-status-details-badge.status-stopped { background: rgb(223, 100, 100); }
.object-status-details-badge.status-no_data { background: #9b9b9b; }
.object-status-details-badge.status-maintenance { background: rgb(255, 166, 77); }

/* Current time widget, notifications and announcements in the design1 header. */
#top_panel .time-widget-wrap {
	display: flex;
	align-items: center;
}
#top_panel time-widget {
	display: inline-block;
	padding: 0;
	font-size: 12px;
	font-family: "open sans";
	font-weight: 600;
	color: #ffffff;
	background: transparent;
	white-space: nowrap;
}
#top_panel .alerts-dropdown-btn,
#top_panel .announcement-admin-btn {
	position: relative;
	display: flex;
	align-items: center;
}
#top_panel .alerts-dropdown-btn > a,
#top_panel .announcement-admin-btn > a,
#top_panel .mobile-btn > a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	min-height: 30px;
	border-radius: 6px;
}
#top_panel .alerts-dropdown-btn > a:hover,
#top_panel .announcement-admin-btn > a:hover,
#top_panel .mobile-btn > a:hover {
	background: rgba(252, 130, 48, 0.18);
}
#top_panel .announcement-admin-btn img,
#top_panel .alerts-dropdown-btn img,
#top_panel .mobile-btn img {
	width: 22px;
	height: 22px;
}
#top_panel #alerts_dropdown_count {
	position: absolute;
	top: -5px;
	right: -6px;
	min-width: 15px;
	height: 15px;
	padding: 0 3px;
	border-radius: 10px;
	background: #fc8230;
	color: #ffffff;
	font-size: 9px;
	font-weight: 700;
	line-height: 15px;
	text-align: center;
	box-sizing: border-box;
}
#top_panel #alerts_dropdown_panel {
	position: absolute;
	top: 38px;
	right: 0;
	width: 340px;
	max-width: calc(100vw - 24px);
	background: #ffffff;
	border: 1px solid #dedbe2;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(42, 27, 55, 0.24);
	z-index: 999999;
	overflow: hidden;
	color: #444444;
}
#top_panel #alerts_dropdown_panel div { float: none; }
#top_panel .alerts-dropdown-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	background: #51396a;
	color: #ffffff;
}
#top_panel .alerts-dropdown-header-title {
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
}
#top_panel .alerts-dropdown-header-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}
#top_panel .alerts-dropdown-period-select {
	height: 24px;
	min-width: 58px;
	padding: 0 4px;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 3px;
	background: #ffffff;
	color: #444444;
	font-size: 11px;
}
#top_panel .alerts-dropdown-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	padding: 0;
	color: #ffffff;
	font-size: 20px;
	line-height: 18px;
}
#top_panel .alerts-dropdown-list {
	max-height: 340px;
	overflow-y: auto;
	background: #ffffff;
}
#top_panel .alerts-dropdown-loading,
#top_panel .alerts-dropdown-empty {
	padding: 16px 12px;
	text-align: center;
	color: #777777;
}
#top_panel .alerts-dropdown-item {
	padding: 10px 12px;
	border-bottom: 1px solid #eeeeee;
	background: #ffffff;
}
#top_panel .alerts-dropdown-item:last-child { border-bottom: 0; }
#top_panel .alerts-dropdown-title { font-weight: 600; color: #444444; }
#top_panel .alerts-dropdown-meta { margin-top: 3px; font-size: 10px; color: #888888; }
#top_panel .alerts-dropdown-action { margin-top: 5px; }
#top_panel .alerts-dropdown-announcement {
	border-left: 4px solid #fc8230;
	background: #fffaf6;
}
#top_panel .alerts-dropdown-announcement .alerts-dropdown-title { color: #51396a; }
#top_panel .alerts-dropdown-announcement-message {
	white-space: normal;
	word-break: break-word;
	color: #333333;
}

/* Announcement editor. */
#dialog_announcement .announcement-message-input {
	width: 100%;
	height: 190px;
	min-height: 190px;
	padding: 8px;
	box-sizing: border-box;
	resize: vertical;
}
#dialog_announcement .announcement-message-help {
	margin-top: 5px;
	color: #888888;
	font-size: 11px;
	text-align: right;
}
#dialog_announcement .announcement-status {
	min-height: 18px;
	padding-top: 4px;
	text-align: center;
	color: #666666;
}

/* Left toolbar additions. */
#left_menu .chat-btn { position: relative; }
#left_menu #chat_msg_count {
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 14px;
	height: 14px;
	padding: 0 2px;
	border-radius: 9px;
	background: #fc8230;
	color: #ffffff;
	font-size: 9px;
	line-height: 14px;
	text-align: center;
}
#left_menu .tamm-btn img { object-fit: contain; }

/* CAPTCHA and two-factor fields expand the login card only when shown. */
#login .connect-captcha {
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
}
#login .connect-captcha-invisible { display: none; }
#login .connect-verification-code-container { width: 100%; }
#login .verification-code-legend {
	margin-bottom: 8px;
	font-size: 11px;
	line-height: 1.4;
	color: #676767;
}
#login .verification-code-legend p { margin: 3px 0; }
#login .connect-verification-code .inputbox { width: 100%; }
#login .wrapper .inner-wrapper:has(.connect-captcha:not(.connect-captcha-invisible)) .content,
#login .wrapper .inner-wrapper:has(.connect-captcha:not(.connect-captcha-invisible)) .content-block {
	height: 340px;
}
#login .wrapper .inner-wrapper:has(.connect-verification-code[style*="display: block"]) .content,
#login .wrapper .inner-wrapper:has(.connect-verification-code[style*="display: block"]) .content-block {
	height: 360px;
}

/* Current event/mileage filters follow the target form controls without changing page geometry. */
.events-date-filter,
.cms-tracking-mileage-controls {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
.cms-tracking-control-group,
.cms-tracking-button-group {
	display: flex;
	align-items: center;
	gap: 6px;
}
.cms-tracking-button-group { margin-left: auto; }
.cms-tracking-label { white-space: nowrap; }

@media (max-width: 1180px) {
	#top_panel time-widget { display: none; }
	#top_panel .right-menu { gap: 14px; }
	#top_panel .top_panel_dashboard_wrap { gap: 5px; margin-left: 10px; }
	#top_panel .top_panel_dashboard_item { width: 28px; height: 28px; border-radius: 9px; font-size: 11px; }
}


/* =========================================================
   Track167: compact object cards matching the design1 UI.
   Keeps the current object filters, WASL, sensors and video tools.
   ========================================================= */
#gview_side_panel_objects_object_list_grid,
#gview_side_panel_objects_object_list_grid .ui-jqgrid-view,
#gview_side_panel_objects_object_list_grid .ui-jqgrid-hdiv,
#gview_side_panel_objects_object_list_grid .ui-jqgrid-htable,
#gview_side_panel_objects_object_list_grid .ui-jqgrid-htable th,
#gview_side_panel_objects_object_list_grid .ui-jqgrid-htable th > div,
#gview_side_panel_objects_object_list_grid .ui-jqgrid-sortable {
	overflow: visible !important;
}

#gview_side_panel_objects_object_list_grid .ui-jqgrid-sortable,
#gview_side_panel_objects_object_list_grid .ui-jqgrid-sortable-pading-box {
	height: auto !important;
}

#gview_side_panel_objects_object_list_grid .ui-jqgrid-sortable-pading-box {
	overflow: visible !important;
}

#gview_side_panel_objects_object_list_grid .ui-jqgrid-hdiv {
	position: relative;
	z-index: 30;
}

#gview_side_panel_objects_object_list_grid .ui-jqgrid-htable th:first-child {
	position: relative !important;
	overflow: visible !important;
}

#gview_side_panel_objects_object_list_grid .status-filter-container {
	/* Keep the trigger in the dark grid header, but anchor the popup to the
	   first header cell so it opens as a vertical production-style menu. */
	position: static !important;
	display: inline-flex !important;
	align-items: center;
	vertical-align: middle;
}

#gview_side_panel_objects_object_list_grid #status_filter_icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 28px;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	box-sizing: border-box;
	cursor: pointer;
	vertical-align: middle;
}

#gview_side_panel_objects_object_list_grid #status_filter_icon:hover,
#gview_side_panel_objects_object_list_grid #status_filter_icon:focus,
#gview_side_panel_objects_object_list_grid #status_filter_icon:active,
#gview_side_panel_objects_object_list_grid #status_filter_icon[aria-expanded="true"],
#gview_side_panel_objects_object_list_grid #status_filter_icon.active {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
}

#gview_side_panel_objects_object_list_grid #status_filter_icon img {
	display: block;
	filter: none !important;
}

/* The id selectors are intentionally independent from .status-filter-container.
   jqGrid rebuilds/normalizes header HTML, so the menu must keep its layout even
   if the header markup is moved by the browser. */
#status_filter_dropdown.status-filter-dropdown {
	/* The global jqGrid header rule sets every header <div> to display:flex.
	   Force this popup itself to be a normal block menu so its options stack
	   vertically, one item per row, exactly like production. */
	display: none !important;
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	right: auto !important;
	z-index: 10050 !important;
	width: 225px !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 8px 10px !important;
	overflow: visible !important;
	border: 1px solid #c8c8c8 !important;
	border-radius: 3px !important;
	background: #ffffff !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.20) !important;
	box-sizing: border-box !important;
	color: #4b4f53 !important;
	text-align: left !important;
	white-space: normal !important;
}

#status_filter_dropdown.status-filter-dropdown.is-open {
	display: block !important;
}

#status_filter_dropdown .status-filter-item {
	display: flex !important;
	float: none !important;
	clear: both !important;
	align-items: center !important;
	gap: 10px !important;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 27px !important;
	margin: 0 !important;
	padding: 4px 8px !important;
	border: 1px solid transparent !important;
	border-radius: 3px !important;
	background: transparent !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	color: #4b4f53 !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 17px !important;
	text-align: left !important;
	text-transform: none !important;
	cursor: pointer;
	white-space: nowrap !important;
}

#status_filter_dropdown .status-filter-item:hover {
	background: #f5f7f8 !important;
}

#status_filter_dropdown .status-filter-item.selected,
#status_filter_dropdown .status-filter-item:focus-visible {
	border-color: #1597ed !important;
	background: #eaf5ff !important;
	color: #3f454a !important;
	outline: none !important;
}

#status_filter_dropdown .status-filter-item.selected .status-color-indicator {
	box-shadow: 0 0 0 2px #1597ed;
}

#status_filter_dropdown .status-color-indicator {
	display: inline-block !important;
	width: 11px !important;
	height: 11px !important;
	min-width: 11px !important;
	border-radius: 50% !important;
	flex: 0 0 11px !important;
	box-sizing: border-box !important;
}
#status_filter_dropdown .status-no-data { background: #9b9b9b !important; }
#status_filter_dropdown .status-offline { background: rgb(175, 216, 248) !important; }
#status_filter_dropdown .status-maintenance { background: rgb(255, 166, 77) !important; }
#status_filter_dropdown .status-stopped { background: rgb(223, 100, 100) !important; }
#status_filter_dropdown .status-moving { background: rgb(77, 167, 77) !important; }
#status_filter_dropdown .status-idle { background: rgb(187, 123, 255) !important; }

#side_panel_objects_object_list_grid.ui-jqgrid-btable tbody tr.jqgrow td {
	padding: 0 2px !important;
	vertical-align: top;
	white-space: normal;
	background: transparent !important;
}

#side_panel_objects_object_list_grid .side-panel-object-list-box {
	width: 304px;
	min-height: 66px;
	padding: 7px;
	margin: 0 0 10px 0;
	box-sizing: border-box;
	background: #f4f4f4;
	border: 1px solid transparent;
	border-left-width: 3px;
	border-radius: 6px;
	cursor: default;
}

/* The card itself is informational. Only real controls use the pointer cursor. */
#side_panel_objects_object_list_grid tr.jqgrow,
#side_panel_objects_object_list_grid tr.jqgrow > td,
#side_panel_objects_object_list_grid .side-panel-object-list,
#side_panel_objects_object_list_grid .object-list-item,
#side_panel_objects_object_list_grid .object-list-item * {
	cursor: default;
}

#side_panel_objects_object_list_grid input[type="checkbox"],
#side_panel_objects_object_list_grid input[type="checkbox"]::before,
#side_panel_objects_object_list_grid .side-panel-object-icon,
#side_panel_objects_object_list_grid .side-panel-object-icon *,
#side_panel_objects_object_list_grid .object-action-menu,
#side_panel_objects_object_list_grid .object-action-menu * {
	cursor: pointer;
}

#side_panel_objects_object_list_grid .side-panel-object-list {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	min-width: 0;
}

#side_panel_objects_object_list_grid .side-panel-object-list-check-box {
	flex: 0 0 auto;
	gap: 8px;
}

#side_panel_objects_object_list_grid .side-panel-object-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	min-width: 30px;
	height: 28px;
}

#side_panel_objects_object_list_grid .side-panel-object-icon img {
	display: block;
	max-width: 26px;
	max-height: 26px;
}

#side_panel_objects_object_list_grid .object-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	min-width: 0;
	flex: 1 1 auto;
}

#side_panel_objects_object_list_grid .object-list-item .left {
	float: none;
	min-width: 0;
	padding-right: 0;
	flex: 1 1 auto;
}

#side_panel_objects_object_list_grid .object-list-item .right {
	float: none;
	display: flex;
	align-items: center;
	height: auto;
	flex: 0 0 auto;
}

#side_panel_objects_object_list_grid .object-list-item .name {
	max-width: 126px;
	font-size: 12px;
	font-weight: 500;
	line-height: 16px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#side_panel_objects_object_list_grid .object-list-item .status {
	max-width: 126px;
	font-size: 10px;
	font-weight: 400;
	line-height: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#side_panel_objects_object_list_grid .object-list-item .speed {
	display: block;
	height: auto;
	min-width: 43px;
	max-width: 48px;
	padding: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	text-align: right;
	white-space: nowrap;
}

#side_panel_objects_object_list_grid .object-action-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 12px;
	min-width: 12px;
	min-height: 28px;
	padding: 0 1px;
	margin-left: auto;
}

#side_panel_objects_object_list_grid .object-action-menu > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

#side_panel_objects_object_list_grid .side-panel-object-list-connection {
	width: auto;
	min-height: 22px;
	margin-top: 6px;
	padding: 4px 6px;
	box-sizing: border-box;
	background: #e6e6e6;
	border-radius: 4px;
}

#side_panel_objects_object_list_grid .object-card-status-icons {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 14px;
}

#side_panel_objects_object_list_grid .object-card-status-icons > span,
#side_panel_objects_object_list_grid .object-card-status-icons > div {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 14px;
	height: 14px;
	padding: 0;
	flex: 0 0 auto;
}

#side_panel_objects_object_list_grid .object-card-status-icons img {
	display: block;
	width: auto;
	max-width: 14px;
	height: auto;
	max-height: 14px;
}

#side_panel_objects_object_list_grid .wasl-object-list-item {
	min-width: 14px;
}

#side_panel_objects_object_list_grid .wasl-object-list-icon {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	color: #ffffff;
	font-size: 9px;
	font-weight: 700;
	line-height: 14px;
	text-align: center;
}
#side_panel_objects_object_list_grid .wasl-object-list-icon--registered-issued { background: #24a148; }
#side_panel_objects_object_list_grid .wasl-object-list-icon--registered-not-issued { background: #f39c12; }
#side_panel_objects_object_list_grid .wasl-object-list-icon--not-registered { background: #d93025; }

#side_panel_objects_object_list_grid .saudi-plate-mini {
	display: flex;
	width: 86px;
	height: 28px;
	margin-top: 2px;
	border: 1px solid #1f1f1f;
	border-radius: 2px;
	background: #ffffff;
	overflow: hidden;
	font-family: Arial, sans-serif;
	box-sizing: border-box;
}
#side_panel_objects_object_list_grid .saudi-plate-mini .saudi-plate-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
#side_panel_objects_object_list_grid .saudi-plate-mini .saudi-plate-row {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 3px;
	border-bottom: 1px solid #1f1f1f;
	font-size: 8px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	box-sizing: border-box;
}
#side_panel_objects_object_list_grid .saudi-plate-mini .saudi-plate-row.en {
	border-bottom: 0;
	font-size: 7px;
}
#side_panel_objects_object_list_grid .saudi-plate-mini .saudi-plate-side {
	width: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-left: 1px solid #1f1f1f;
	font-size: 6px;
	font-weight: 700;
	writing-mode: vertical-rl;
	box-sizing: border-box;
}
#side_panel_objects_object_list_grid .saudi-plate-yellow .saudi-plate-side { background: #f3c21b; }
#side_panel_objects_object_list_grid .saudi-plate-blue .saudi-plate-side { background: #1f9bd1; color: #fff; }
#side_panel_objects_object_list_grid .saudi-plate-green .saudi-plate-side { background: #1f8a43; color: #fff; }
#side_panel_objects_object_list_grid .saudi-plate-red .saudi-plate-side,
#side_panel_objects_object_list_grid .saudi-plate-temporary .saudi-plate-side { background: #d61f1f; color: #fff; }
#side_panel_objects_object_list_grid .saudi-plate-orange .saudi-plate-side { background: #f28c22; color: #fff; }

#side_panel_objects_footer {
	margin: -2px 0 8px;
}

/* =========================================================
   Track169: exact design1 CPanel header and grid geometry.
   ========================================================= */

body#cpanel #top_panel .tp-menu {
	height: 100%;
	align-items: center;
}

body#cpanel #top_panel .tp-menu > div {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	box-sizing: border-box;
}

body#cpanel #top_panel .tp-menu > div > a {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

body#cpanel #top_panel .announcement-admin-btn > a {
	min-width: 0;
	min-height: 0;
	padding: 0 10px;
	border-radius: 0;
	box-sizing: border-box;
}

body#cpanel #top_panel .announcement-admin-btn img {
	display: block;
	width: 22px;
	height: 22px;
	margin: 0;
}

body#cpanel #top_panel .user-btn > a {
	flex: 0 0 auto;
}

body#cpanel #top_panel .user-btn > span {
	display: block;
	margin: 0 0 4px 0;
	white-space: nowrap;
}

body#cpanel #top_panel .logout-btn,
body#cpanel #top_panel .logout-btn > a {
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
}

body#cpanel #top_panel .logout-btn img {
	display: block;
	width: 32px;
	height: 32px;
	margin: 0;
}

/* =========================================================
   Track172: design1 manager/account selector.
   ========================================================= */
body#cpanel #top_panel .select-view {
	display: flex;
	align-items: center;
	width: 140px;
	min-width: 140px;
	max-width: 140px;
	flex: 0 0 140px;
	box-sizing: border-box;
	overflow: visible;
}

body#cpanel #top_panel .select-view .ms-parent,
body#cpanel #top_panel .select-view .ms-choice {
	width: 140px !important;
	min-width: 140px;
	max-width: 140px;
	box-sizing: border-box;
}

body#cpanel #top_panel .select-view .ms-choice > span {
	left: 0;
	right: 20px;
	padding-left: 5px;
	padding-right: 2px;
	color: #ffffff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body#cpanel #top_panel .select-view .ms-drop {
	box-sizing: border-box;
	overflow: hidden;
}

body#cpanel #top_panel .select-view .ms-drop ul {
	overflow-x: hidden;
}

body#cpanel #top_panel .select-view .ms-drop ul > li label {
	width: 100%;
	min-width: 100%;
	padding: 0 8px;
	box-sizing: border-box;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: clip;
}

/* =========================================================
   Track173: exact design1 geometry for the Objects/Events/History panel.
   The jqGrid "search" column provides the visible Object header only;
   its body must stay visually empty while server-side search remains active.
   ========================================================= */
body#tracking #gview_side_panel_objects_object_list_grid
.ui-jqgrid-btable td[aria-describedby="side_panel_objects_object_list_grid_search"] {
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none;
}



/* =========================================================
   Track175: exact design1 width for the tracking object panel.
   Keep the panel at the reference 340px content width and let
   object cards use the full jqGrid viewport up to the scrollbar.
   ========================================================= */
body#tracking #side_panel {
	width: 340px;
	min-width: 340px;
	max-width: 340px;
	flex: 0 0 340px;
	box-sizing: content-box;
}

body#tracking #gbox_side_panel_objects_object_list_grid,
body#tracking #gview_side_panel_objects_object_list_grid,
body#tracking #gview_side_panel_objects_object_list_grid .ui-jqgrid-view,
body#tracking #gview_side_panel_objects_object_list_grid .ui-jqgrid-hdiv,
body#tracking #gview_side_panel_objects_object_list_grid .ui-jqgrid-bdiv {
	width: 340px !important;
	max-width: 340px;
}

body#tracking #gview_side_panel_objects_object_list_grid .ui-jqgrid-bdiv {
	overflow-x: hidden !important;
}

body#tracking #side_panel_objects_object_list_grid .side-panel-object-list-box {
	width: 318px;
	max-width: 318px;
	box-sizing: border-box;
}

body#tracking #side_panel_objects_object_list_grid .side-panel-object-list-connection {
	width: 100%;
	box-sizing: border-box;
}

body#tracking #side_panel_objects_object_list_grid .object-list-item .name,
body#tracking #side_panel_objects_object_list_grid .object-list-item .status {
	max-width: 140px;
}


/* =========================================================
   Track193: match the design1 spacing between the black Object header
   and the first jqGrid group row. jqGrid places the group rows inside
   .ui-jqgrid-bdiv, so spacing on .ui-jqgrid-hdiv can be swallowed by
   the generated layout. Put the spacer on the scroll body itself.
   ========================================================= */
body#tracking #gview_side_panel_objects_object_list_grid .ui-jqgrid-hdiv {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
    box-sizing: border-box;
    clear: both;
}

body#tracking #gview_side_panel_objects_object_list_grid .ui-jqgrid-bdiv {
    padding-top: 10px !important;
    box-sizing: border-box;
}

/* Align the two group-level checkboxes with the checkbox columns in object cards.
   jqGrid inserts the collapse/expand <span> before the checkbox wrappers, so the
   first checkbox wrapper is the first DIV, not the first child of the TD. */
body#tracking #side_panel_objects_object_list_grid tr.jqgroup > td > div:first-of-type {
    margin-left: 4px;
}

body#tracking #side_panel_objects_footer[aria-hidden="true"] {
    display: none !important;
}

body#tracking #side_panel_events .events-date-filter-input {
    width: 106px !important;
    padding-left: 7px;
    padding-right: 25px;
    background-position: right 6px center;
    background-size: 14px 14px;
    text-overflow: clip;
}


/* =========================================================
   Track182: keep WASL log and Edit object dialogs inside the viewport.
   Only these two dialogs are affected; other popup dimensions stay intact.
   ========================================================= */
.ui-dialog[aria-describedby="dialog_wasl_log"],
.ui-dialog[aria-describedby="dialog_settings_object_edit"] {
    max-width: calc(100vw - 20px);
    box-sizing: border-box;
}

#dialog_wasl_log,
#dialog_settings_object_edit {
    box-sizing: border-box;
}

#dialog_wasl_log #gbox_wasl_log_list_grid,
#dialog_wasl_log #gview_wasl_log_list_grid,
#dialog_wasl_log .ui-jqgrid-view,
#dialog_wasl_log .ui-jqgrid-hdiv,
#dialog_wasl_log .ui-jqgrid-bdiv {
    max-width: 100%;
    box-sizing: border-box;
}

#dialog_settings_object_edit #settings_object > ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    white-space: nowrap;
}

#dialog_settings_object_edit #settings_object > ul > li {
    flex: 0 0 auto;
}


/* Dashboard design1 structure with project-specific advanced analytics preserved below. */
#dialog_dashboard .dashboard-container-inner {
    width: 100%;
    height: 100%;
}

#dialog_dashboard .dashboard-design-preview-image {
    display: block;
    max-width: 100%;
    object-fit: contain;
}

#dialog_dashboard .dashboard-advanced-section {
    flex: 0 0 auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 10px 0 #0000001A;
    margin-top: 8px;
    overflow: visible;
}

#dialog_dashboard .dashboard-advanced-section > summary {
    cursor: pointer;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    user-select: none;
}

#dialog_dashboard .dashboard-advanced-section[open] > summary {
    border-bottom: 1px solid #eee;
}

#dialog_dashboard .dialog-dashboard-filter {
    padding: 12px;
}

#dialog_dashboard .dashboard-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

#dialog_dashboard .dashboard-filter-cell {
    min-width: 150px;
    flex: 1 1 150px;
}

#dialog_dashboard .dashboard-filter-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

#dialog_dashboard .dashboard-filter-actions button,
#dialog_dashboard #dashboard-chart-settings-button {
    min-height: 30px;
    padding: 5px 10px;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

#dialog_dashboard .dashboard-chart-settings-cell {
    position: relative;
    flex: 0 0 auto;
    min-width: 80px;
}

#dialog_dashboard .dashboard-chart-settings-panel {
    display: none;
    position: absolute;
    z-index: 10;
    top: 36px;
    left: 0;
    min-width: 220px;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

#dialog_dashboard .dashboard-chart-settings-panel label {
    display: block;
    margin: 5px 0;
}

#dialog_dashboard .dashboard-chart-settings-title {
    font-weight: 600;
    margin-bottom: 8px;
}

#dialog_dashboard .dashboard-advanced-chart-row {
    padding: 0 12px 12px;
    box-sizing: border-box;
}

#dialog_dashboard .dashboard-advanced-chart-row > .block {
    padding: 4px;
    box-sizing: border-box;
}

#dialog_dashboard .dashboard-flex-box > .dashboard-chart-block,
#dialog_dashboard .dashboard-flex-diagraf > .dashboard-chart-block {
    min-width: 0;
}

@media (max-width: 900px) {
    .dialog_dashboard_header {
        align-items: flex-start;
        gap: 8px;
        flex-wrap: wrap;
    }
    .dashboard-second-right {
        flex-wrap: wrap;
    }
}


/* =========================================================
   Track198: keep CPanel Edit object dialog inside viewport.
   Only the dialog content scrolls; title bar stays visible.
   ========================================================= */
body#cpanel .ui-dialog[aria-describedby="dialog_object_edit"] {
    max-height: calc(100vh - 20px);
    box-sizing: border-box;
}

body#cpanel #dialog_object_edit {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

body#cpanel #dialog_object_edit > .row {
    width: 100%;
    box-sizing: border-box;
}

/* =========================================================
   Track279: General search
   - Replaces the old address-only search with a global search.
   - Keeps a compact search entry pinned in the tracking top bar.
   ========================================================= */
#top_panel .general-search-topbar {
	display: flex;
	align-items: center;
	gap: 7px;
	width: min(320px, 25vw);
	min-width: 230px;
	height: 32px;
	box-sizing: border-box;
	padding: 0 5px 0 10px;
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 9px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	flex: 0 1 320px;
}

#top_panel .general-search-topbar-icon {
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	opacity: 0.75;
}

#top_panel #general_search_topbar_input {
	min-width: 0;
	width: 100%;
	height: 28px;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #3f3f3f;
	font-size: 12px;
	font-weight: 500;
}

#top_panel #general_search_topbar_input::placeholder {
	color: #8a8a8a;
	opacity: 1;
}

#top_panel .general-search-topbar-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	padding: 0;
	border: 0;
	border-radius: 7px;
	background: #6c4c83;
	cursor: pointer;
	flex: 0 0 25px;
}

#top_panel .general-search-topbar-submit:hover {
	background: #7c5a94;
}

#top_panel .general-search-topbar-submit img {
	width: 13px;
	height: 13px;
	transform: rotate(45deg);
}

.general-search-dialog {
	width: 100%;
	box-sizing: border-box;
}

/* Track295: the General Search popup is intentionally wider so vehicle
   metadata stays readable instead of stacking on top of adjacent rows. */
.ui-dialog[aria-describedby="dialog_address_search"] {
	max-width: calc(100vw - 32px);
	box-sizing: border-box;
}

.general-search-query-row {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.general-search-dialog-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 34px !important;
	box-sizing: border-box;
}

.general-search-dialog-submit {
	flex: 0 0 auto;
	min-width: 92px;
}

.general-search-help {
	margin: 8px 0 10px;
	font-size: 11px;
	line-height: 1.45;
	color: #777777;
}

.general-search-results {
	max-height: min(430px, calc(100vh - 235px));
	overflow-y: auto;
	border: 1px solid #e1e1e1;
	border-radius: 6px;
	background: #ffffff;
}

.general-search-section-title {
	padding: 8px 10px 6px;
	border-bottom: 1px solid #eeeeee;
	background: #f7f7f7;
	color: #686868;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.35px;
}

.general-search-result-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 50px;
	height: auto !important;
	padding: 8px 10px;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid #eeeeee;
	background: #ffffff;
	text-align: left;
	line-height: normal;
	cursor: pointer;
}

.general-search-result-item:last-child {
	border-bottom: 0;
}

.general-search-result-item:hover,
.general-search-result-item:focus {
	background: #f6f2f9;
	outline: none;
}

.general-search-show-more {
	display: block;
	width: 100%;
	padding: 7px 10px;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid #eeeeee;
	background: #fafafa;
	color: #6c4c83;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
}

.general-search-show-more:hover,
.general-search-show-more:focus {
	background: #f3eef6;
	outline: none;
}

.general-search-result-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 700;
	flex: 0 0 28px;
}

.general-search-result-icon-vehicle {
	background: #f1e8f6;
	color: #5f3f74;
}

.general-search-result-icon-address {
	background: #e8f2f7;
	color: #42697b;
}

.general-search-result-content {
	display: block;
	min-width: 0;
	flex: 1 1 auto;
}

.general-search-result-title,
.general-search-result-meta {
	display: block;
	overflow: hidden;
}

.general-search-result-title {
	color: #3e3e3e;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.general-search-result-meta {
	margin-top: 2px;
	color: #7c7c7c;
	font-size: 10px;
	font-weight: 400;
	line-height: 14px;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: normal;
}

.general-search-empty,
.general-search-loading {
	padding: 18px 12px;
	text-align: center;
	color: #777777;
	font-size: 11px;
}

.general-search-loading {
	padding: 9px 12px;
	border-top: 1px solid #eeeeee;
	background: #fafafa;
}

.general-search-footer {
	margin-top: 10px;
	text-align: center;
}

@media (max-width: 620px) {
	.general-search-query-row {
		flex-wrap: wrap;
	}

	.general-search-dialog-submit {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 1300px) {
	#top_panel .general-search-topbar {
		width: 240px;
		min-width: 190px;
		flex-basis: 240px;
	}
	#top_panel #general_search_topbar_input {
		font-size: 11px;
	}
}

@media (max-width: 1040px) {
	#top_panel .general-search-topbar {
		display: none;
	}
}

/* Interactive dashboard overview (design1) */
#dialog_dashboard .dialog_dashboard_header {
    gap: 12px;
    flex-wrap: wrap;
}

#dialog_dashboard .dashboard-second-right {
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}

#dialog_dashboard .select-div-second-calender .inputbox-calendar {
    width: 125px;
    min-width: 110px;
    box-sizing: border-box;
}

#dialog_dashboard .dashboard-live-overview {
    align-items: stretch;
}

#dialog_dashboard .dashboard-live-overview .col-xl-7 {
    min-width: 0;
}

#dialog_dashboard .dashboard-live-top-row {
    align-items: stretch;
}

#dialog_dashboard .dashboard-live-top-row .connection-box {
    flex: 0 0 32%;
    min-width: 250px;
}

#dialog_dashboard .dashboard-live-top-row .width-box.dashboard-container-shadow {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

#dialog_dashboard .dashboard-live-overview-body {
    position: relative;
    min-height: 210px;
    overflow: hidden;
}

#dialog_dashboard .dashboard-live-list {
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
}

#dialog_dashboard .dashboard-notifications-card .dashboard-live-overview-body {
    min-height: 190px;
    max-height: 230px;
}

#dialog_dashboard .dashboard-container-shadow.width-box-motion {
    display: flex;
    flex-direction: column;
    min-width: 320px;
}

#dialog_dashboard .dashboard-container-shadow.width-box-motion .dashboard-live-overview-body {
    flex: 1 1 auto;
    min-height: 430px;
}

#dialog_dashboard .dashboard-overview-donut-wrap {
    min-height: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 4px 0 8px;
    box-sizing: border-box;
}

#dialog_dashboard .dashboard-overview-donut-shell {
    position: relative;
    width: min(210px, 92%);
    height: 165px;
    flex: 0 0 165px;
}

#dialog_dashboard .width-box-motion .dashboard-overview-donut-shell {
    width: min(285px, 92%);
    height: 245px;
    flex-basis: 245px;
}

#dialog_dashboard .dashboard-overview-donut-plot {
    width: 100%;
    height: 100%;
}

#dialog_dashboard .dashboard-overview-donut-total {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

#dialog_dashboard .width-box-motion .dashboard-overview-donut-total {
    font-size: 28px;
}

#dialog_dashboard .dashboard-overview-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 12px;
    width: 100%;
    font-size: 11px;
    line-height: 15px;
    color: #333;
}

#dialog_dashboard .dashboard-overview-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

#dialog_dashboard .dashboard-overview-legend-item strong {
    font-weight: 700;
}

#dialog_dashboard .dashboard-overview-legend-color {
    display: inline-block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 2px;
}

#dialog_dashboard .dashboard-live-empty {
    min-height: inherit;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    color: #aaa;
    font-size: 18px;
    line-height: 1.4;
}

#dialog_dashboard .unitet-statment-list,
#dialog_dashboard .latest-notification-inner {
    transition: background-color .15s ease;
}

#dialog_dashboard .unitet-statment-list:hover,
#dialog_dashboard .latest-notification-inner:hover {
    background-color: #f7f5fa;
}

#dialog_dashboard .unitet-main-left {
    min-width: 0;
    flex: 1 1 auto;
}

#dialog_dashboard .unitet-main-left p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#dialog_dashboard .latest-notification-inner {
    gap: 15px;
}

#dialog_dashboard .latest-notification-inner > p:first-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#dialog_dashboard .dashboard-notification-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#dialog_dashboard .dashboard-notification-object {
    color: #888;
    font-size: 11px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#dialog_dashboard .dashboard-notification-date {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    color: #666;
}

#dialog_dashboard .dashboard-container-header-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    min-height: 24px;
}

@media (max-width: 1199px) {
    #dialog_dashboard .dashboard-second-right {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }

    #dialog_dashboard .dashboard-live-top-row .connection-box {
        min-width: 220px;
    }

    #dialog_dashboard .dashboard-container-shadow.width-box-motion .dashboard-live-overview-body {
        min-height: 300px;
    }
}

@media (max-width: 990px) {
    #dialog_dashboard .dashboard-live-top-row {
        display: flex;
        flex-wrap: wrap;
    }

    #dialog_dashboard .dashboard-live-top-row .connection-box,
    #dialog_dashboard .dashboard-live-top-row .width-box.dashboard-container-shadow {
        flex: 1 1 100%;
        width: auto;
        min-width: 0;
    }

    #dialog_dashboard .dashboard-live-overview-body,
    #dialog_dashboard .dashboard-notifications-card .dashboard-live-overview-body,
    #dialog_dashboard .dashboard-container-shadow.width-box-motion .dashboard-live-overview-body {
        min-height: 220px;
    }
}

@media (max-width: 640px) {
    #dialog_dashboard .dashboard_second_left_list {
        height: auto;
        flex-wrap: wrap;
    }

    #dialog_dashboard .dashboard-second-right {
        gap: 6px;
    }

    #dialog_dashboard .select-div-second-calender {
        flex: 1 1 180px;
    }

    #dialog_dashboard .select-div-second-calender .inputbox-calendar {
        flex: 1 1 auto;
        width: auto;
    }

    #dialog_dashboard .latest-notification-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
