@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, body {
	height: 100%;
}
body {
	padding: 70px 15px 15px 15px;
	background: #f8f8f8;
	font-family: "open sans";
	color: #444444;
}

#loading_panel {
	background: #FFFFFF;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	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;
	z-index: 99999;
}
.icon-only i {
	font-size: 18px;
	color: #ffffff;
	margin-top: 2px;
}

.width10 { width: 10%; }
.width20 { width: 20%; }
.width33 { width: 33.33333%; }
.width40 { width: 40%; }
.width45 { width: 45%; }
.width50 { width: 50%; }
.width100 { width: 100%; }
.clearfix { display: table; width: 100%; }
.block1 { padding-right: 5px; }
.block2 { padding-left: 5px; }

.object-item {
	display: table;
	width: 100%;
	cursor: pointer;
}

a,
a:hover { text-decoration: none; color: #2b82d4; }
b, strong{ font-weight: 600; }

#page_object_list .visible,
#page_object_list .follow,
#page_object_list .details {
	cursor: pointer;
}

#event_list_page {
	text-align: left;
	border: none;
}
#event_list_page option {
	text-align: center;
}

/*#################################################*/
/* PAGES
/*#################################################*/

.page
{
	display: none;
	overflow-x: hidden;
	overflow-y: auto;
}

.page-map { padding: 0px; position: absolute; top: 50px; bottom: 0px; left: 0px; right: 0px; }

/*#################################################*/
/* MAP DIVS
/*#################################################*/

#map { position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; }

#map_layer
{
	border: none;
}

#history_playback
{
	display: none;
	position: absolute;
	bottom: 49px;
	left: 15px;
	background-color: #ffffff;
	padding: 1px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
	z-index: 10;
	font-size: 12px;
}

#history_playback a
{
	color: #6f6f6f;
	margin: 5px;
}

#history_playback select
{
	height: 24px;
	padding: 0px;
}

.leaflet-left .leaflet-control
{
	margin-top: 15px;
	margin-left: 15px;
}

/*#################################################*/
/* DATALIST
/*#################################################*/

#bottom_panel {
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;	
	display: none;
	background: #ffffff;
}

.datalist {
	padding: 10px;
}

.datalist-object-name {
	display: block;
	width: 100%;
	height: 26px;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
	z-index: 999999;	
	background-color: #f5f5f5;
	font-weight: 600;
	font-size: 11px;
}

.datalist-object-name-close-icon {
	float: right;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 10px 10px;
	width: 16px;
	height: 16px;
	margin-left: 10px;
}

.datalist-item-list {	
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-content: flex-start;
	overflow-x: auto;
	height: 96px;
	font-size: 11px;
}

.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: flex;
	float: left;
	width: 270px;
	min-width: 270px;
	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: 80px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.datalist-item-value {
	display: inline-block;
	width: 156px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: right;
}

/*#################################################*/
/* PLACES NAVBAR
/*#################################################*/

#places_navbar
{
	min-height: 0px;
}


/*#################################################*/
/* sub cuentas
/*#################################################*/






/*#################################################*/
/* MARKERS, ROUTES, ZONES PANEL
/*#################################################*/

.markers-panel,
.routes-panel,
.zones-panel {
	display: none;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background-color: #f8f8f8;
	padding-top: 70px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
	z-index: 10;
	overflow-x: hidden;
	overflow-y: auto;
}

/*#################################################*/
/* SUBACCOUNTS, VIEW, CREATE
/*#################################################*/

#subaccounts_panel {
    display: block; /* Hacer que subaccounts_panel sea visible al cargar la página */
}

.subaccounts-creation-panel {
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #f8f8f8;
    padding-top: 70px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    z-index: 10;
    overflow-x: hidden;
    overflow-y: auto;
}

#subaccounts_navbar {
    min-height: 0px;
}

.subaccounts-panel,
.subaccounts-creation-panel {
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #f8f8f8;
    padding-top: 70px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    z-index: 10;
    overflow-x: hidden;
    overflow-y: auto;
}


/*#################################################*/
/* SHARE POSITION, VIEW, CREATE
/*#################################################*/

#shareposition_panel {
    display: block; /* Hacer que shareposition_panel sea visible al cargar la página */
}

.shareposition-creation-panel {
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #f8f8f8;
    padding-top: 70px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    z-index: 10;
    overflow-x: hidden;
    overflow-y: auto;
}

#shareposition_navbar {
    min-height: 0px;
}

.shareposition-panel,
.shareposition-creation-panel {
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #f8f8f8;
    padding-top: 70px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    z-index: 10;
    overflow-x: hidden;
    overflow-y: auto;
}

/*#################################################*/
/* REPORTS, GENERATED, ADD
/*#################################################*/


#reports_panel {
    display: block; /* Hacer que reports_panel sea visible al cargar la página */
}

.reports-generated-panel,
.reports-add-panel {
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #f8f8f8;
    padding-top: 70px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    z-index: 10;
    overflow-x: hidden;
    overflow-y: auto;
}

#reports_navbar {
    min-height: 0px;
}

.reports-panel,
.reports-generated-panel,
.reports-add-panel {
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #f8f8f8;
    padding-top: 70px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    z-index: 10;
    overflow-x: hidden;
    overflow-y: auto;
}



#page_subaccounts .close-page-button {
	font-size: 16px;
	position: absolute;
	z-index: 1;
	right: 25px;
}
#page_subaccounts.page {
	padding-bottom: 0;
}
#page_subaccounts .subaccounts-section {
	display: none;
	min-height: calc(100vh - 90px);
	overflow-y: auto;
}
#page_subaccounts .subaccounts-section .list-group {
	border: 1px solid #ddd;
	border-radius: 5px;
	max-height: calc(100vh - 200px);
	overflow-y: auto;
}
#page_subaccounts .list-group-item {
	border: none;
	border-bottom: 1px solid #ddd;
	margin-bottom: 0;
}
#page_subaccounts .list-group-item:last-child {
	border-bottom: none;
}
#page_subaccounts .subaccounts-section.active {
	display: block;
}
#page_subaccounts .subaccounts-section .form-group {
	margin: 15px 0;
}
#page_subaccounts .subaccounts-section button.btn {
	width: auto;
	margin: 10px 0;
}
.subaccounts-control {
	text-align: center;
}
.subaccounts-control .button {
	display: block;
	padding: 10px;
	outline: none;
	text-decoration: none;
}
.subaccounts-control .button svg {
	width: 16px;
	height: 16px;
	color: #999;
	display: table;
	width: 100%;
	margin-bottom: 5px;
}
.subaccounts-control .button span.label {
	color: #444;
	font-size: 14px;
	font-weight: normal;
	padding: 5px 0;
	display: table;
	width: 100%;
}
.subaccounts-control .button.active svg,
.subaccounts-control .button.active span.label {
	color: #4389eb;
}


/*#################################################*/
/* HISTORY NAVBAR
/*#################################################*/

#history_navbar
{
	display: none;
	min-height: 0px;
}

#history_navbar a
{
	color: #6f6f6f;
}

#history_navbar_map
{
	display: none;
}

#history_navbar_graph
{
	display: block;
}

#history_navbar_details
{
	display: block;
}

/*#################################################*/
/* GRAPH PANEL
/*#################################################*/

.graph-panel {
	display: none;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background-color: #f8f8f8;
	padding-top: 20px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
	z-index: 20;
	overflow: hidden;
}
.graph-panel-label
{
	position: absolute;
	right: 25px;
	top: 75px;
}
.graph-panel-plot
{
	height: 100%;
	width: 100%;
}

.graph-controls
{
	margin-bottom: 10px;
	display: table;
	width: 100%;
}
.graph-controls div
{
	display: inline-block;
	vertical-align: middle;
}
.graph-controls-left
{
	float: left;
}
.graph-controls-right
{
	float: right;
}
.graph-controls a
{
	margin: 5px;
	display: inline-block;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.graph-controls a:hover { opacity: 0.9; }

/*#################################################*/
/* ROUTE PANEL
/*#################################################*/

.details-panel {
	display: none;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background-color: #f8f8f8;
	padding-top: 20px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
	z-index: 20;
	overflow-x: hidden;
	overflow-y: auto;
}

/*#################################################*/
/* LOGIN PAGE
/*#################################################*/

.login-page .navbar-brand {
        height: auto;
}

.login-page {
        padding: 0 15px 15px 15px;
}

.login-page .navbar-default {
        margin-left: -15px;
        margin-right: -15px;
}

.login-page .buttons-block {
	padding-top: 30px;
	border-top: 1px solid #dddddd;
}

.login-page .remember-me
{
	padding-top: 6px;
}

.login-page .btn-remember-me
{
	padding-right: 10px;
}

/*#################################################*/
/* LOGO, INFORMATION, MESSAGES
/*#################################################*/

.logo { border:0px; width:250px; height:56px; margin-top: 5px; margin-bottom: 20px;}

/*#################################################*/
/* MENU PANEL
/*#################################################*/

.show-menu {
	margin-top: 15px;
}
.page-menu .page-title {
	box-sizing: border-box;
	margin-bottom: 15px;
	font-size: 18px;
	line-height: 50px;
	padding: 0 15px;
	height: 50px;
	display: table;
	width: 100%;
	color: #ffffff;
	background-color: #2b82d4;
}
.page-menu .title-block i {
	color: #ffffff;
	position: absolute;
	right: 15px;
	top: 20px;
}
.page-menu .button-block {
	margin: 30px auto;
	display: table;
}
.page-menu .button-block a {
	color: #444444;
}
.page-menu {
	display: none;
}
.menu-block {
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0px;
	width: 100%;
	height: 100%;
	color: #696969;
	z-index: 999999;
	box-shadow: 3px 0px 3px 0px rgba(0, 0, 0, 0.3);
	background: #f8f8f8;
	display: table;
	
	margin: auto;
}
.page-menu ul {
	padding: 0 15px 30px 0;
	margin: 0;
	display: table;
	width: 100%;
	list-style: none;
}
.page-menu ul li {
	width: 33.333%;
	float: left;
	padding-top: 15px;
	padding-left: 15px;
	box-sizing: border-box;
	
}
.page-menu ul li a {
	color: #696969 !important;
	font-size: 14px;
	padding: 20px 10px;
	display: block;
	text-decoration: none;
	position: relative;
	font-weight: 400;
	text-align: center;
	background: #ffffff;
	-webkit-box-shadow: 0 0 5px 0 #eaeaea;
	box-shadow: 0 0 5px 0 #eaeaea;
}
.page-menu ul li a:hover { opacity: 0.8; }
.page-menu ul li a.selected { }
.page-menu ul li a i {
	width: 100%;
	font-size: 25px;
	margin-bottom: 10px;
}

/*#################################################*/
/* ICONS
/*#################################################*/

.leaflet-control-zoom-in,
.leaflet-control-zoom-out,
.leaflet-control a span {
	display: table;
	width: 100%;
	height: 100%;
	background-size: 12px 12px;
	background-repeat: no-repeat;
	background-position: center center;
}
.leaflet-control a span.disabled {
	opacity: 0.5;
}
.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-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-clusters { background-image: url(images/clusters.svg); }
.icon-traffic { background-image: url(images/traffic.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-close { background-image: url(images/remove.svg); }

.leaflet-control a span.disabled {
	opacity: 0.5;
}

/*#################################################*/
/* BUTTONS
/*#################################################*/

a i,
.btn i { margin-right: 5px; }
.btn.btn-green { background-color: #9CC602; color: #ffffff; border-color: #9CC602; }
.btn.btn-blue { background-color: #2b82d4; color: #ffffff; border-color: #2b82d4; }

.btn.back-btn {
	margin-bottom: 15px;
}

.btn.login-btn {
	margin-bottom: 15px;
}

.btn.desktop-btn {
	margin-bottom: 15px;
}

/*#################################################*/
/* TABLELESS STYLING
/*#################################################*/

.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;
}

/*#################################################*/
/* BOOTSTRAP
/*#################################################*/

/*THEME*/

@font-face {
  font-family: 'Glyphicons Halflings';

  src: url('../theme/fonts/custom/glyphicons-custom.eot');
  src: url('../theme/fonts/custom/glyphicons-custom.eot?#iefix') format('embedded-opentype'), url('../theme/fonts/custom/glyphicons-custom.woff2') format('woff2'), url('../theme/fonts/custom/glyphicons-custom.woff') format('woff'), url('../theme/fonts/custom/glyphicons-custom.ttf') format('truetype'), url('../theme/fonts/custom/glyphicons-custom.svg#glyphicons_halflingsregular') format('svg');
}

.modal-content { border-radius: 0px; }
.modal-body { padding: 20px 15px 15px 15px; }
.btn-primary, .btn-primary:hover, .btn-primary:focus { background-color: #2b82d4; border: 1px; border-color: #2b82d4; }
.btn-group { width: 100%; }
.btn { border-radius: 0px; border-color: #e8e8e8; overflow: hidden; }
.panel { border-radius: 0px; border-color: #e8e8e8; box-shadow: none;}
.form-control { border-radius: 0px; border-color: #e8e8e8; }
.input-group-addon { border-radius: 0px; border-color: #e8e8e8; }
.list-group-item:first-child { border-radius: 0px; border-color: #e8e8e8; }
.list-group-item:last-child { border-radius: 0px; border-color: #e8e8e8; }
.dropdown-menu {
	min-width: auto;
	width: 100%;
}
.dropdown-toggle {
	min-width: auto;
	width: 100%;
}
.vertical-align {
    display: flex;
    align-items: center;
}
.form-control {
	box-shadow: none;
}
@media (min-width: 768px) {
  .navbar > .container .navbar-brand,
  .navbar > .container-fluid .navbar-brand {
    margin-left: 0;
  }
}
/* CUSTOM ICONS */

.glyphicon-desktop:before {
  content: "\e261";
}
.glyphicon-exit:before {
  content: "\e262";
}
.glyphicon-cheeckbook:before {
  content: "\e263";
}
.glyphicon-history:before {
  content: "\e264";
}
.glyphicon-openlock:before {
  content: "\e265";
}

/*SEARCH*/

.search-clear {
    position: absolute;
	right: 25px;
    top: 80px;
    cursor: pointer;
    color: #ccc;
	z-index: 1;
}

/* DATEPICKER */
.dtpicker-content {
	background: #fff;
	height: 200px;
}
.dtpicker-components .dtpicker-comp {
	border: 1px solid #e8e8e8;
	margin-right: 3px;
}
.dtpicker-components .dtpicker-compValue {
	margin: 0;
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
}
.dtpicker-buttonCont {
	margin: 10px 0;
	padding: 5px 0;
}
.dtpicker-components .dtpicker-compButton,
.dtpicker-components .dtpicker-compButton:hover {
	background: #f8f8f8;
	color: #444444;
	text-decoration: none;
}
.dtpicker-components .dtpicker-compValue,
.dtpicker-components .dtpicker-compValue:hover {
	color: #444444;
}

/*LIST GROUP*/

#page_object_list a
{
	color: none;
}

#page_object_list_header .row,
#page_object_list .row {
	margin-left: 0px;
	margin-right: 0px;
}

#page_object_list_header
{
	margin-bottom: -1px;
}

#page_object_list_header .object-group
{
	margin-bottom: -1px;
}

#page_object_list_header .list-group-item
{
	padding: 1px 7px;
}

#page_object_list_header .object-list-item .name
{
	display: table-cell;
	vertical-align: middle;
	height: 30px;
	text-align: center;
	font-size: 14px;
	color: #999;
}

#page_object_list_header .object-list-item .details
{
	width: 19px;
}

.list-group-btn { border: 0px; }
.list-group-item { padding: 5px 7px; font-size: 12px; }
.list-group-item .icon { float:left; margin-top: 4px; margin-right: 10px; }

.object-list-item {
	height: 30px;	
	width: 100%;
}
.object-list-item .left {
	float: left;
	width: 120px;
}
.object-list-item .right {
	display: table;
	height: 100%;
	float: right;
}
.object-list-item .name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.object-list-item .status {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #808080;
	font-size: 10px;
}
.object-list-item .speed,
.object-list-item .engine,
.object-list-item .connection,
.object-list-item .visible,
.object-list-item .follow,
.object-list-item .details {
	display: table-cell;
	vertical-align: middle;
	height: 100%;
	text-align: center;
	padding: 3px;
}
.object-list-item .speed {
	max-width: 60px;
	text-overflow: ellipsis;
	overflow: hidden;
}
.object-list-item .visible,
.object-list-item .follow{
	font-size: 16px;
	color: #BBB;
}
.object-list-item .details{
	padding-right: 0px;
	font-size: 16px;
	color: #2b82d4;
}

.object-list-item .checked { color: #2b82d4; }

@media only screen and (max-width: 400px) {
	.list-group-item .icon {
		display: none;
	}
}

/*CHECKBOX*/

.form-group input[type="checkbox"] {
	display: none;
}

.form-group input[type="checkbox"] + .btn-group > label span {
	width: 20px;
}

.form-group input[type="checkbox"] + .btn-group > label span:first-child {
	display: none;
}

.form-group input[type="checkbox"] + .btn-group > label span:last-child {
	display: inline-block;   
}

.form-group input[type="checkbox"]:checked + .btn-group > label span:first-child {
	display: inline-block;
}

.form-group input[type="checkbox"]:checked + .btn-group > label span:last-child {
	display: none;   
}

/*NAVBAR*/

.navbar { border-radius: 0px; }
.navbar-default { background: #2b82d4; border: none; }
.navbar-default .navbar-brand,
.navbar-default .navbar-brand:hover { color: #ffffff; }

.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-collapse {
	margin-right: auto;
	margin-left: auto;
}

/*#################################################*/
/* 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;
}

/* Mobile camera media */
.mobile-media-page,
.mobile-live-page {
	padding-bottom: 24px;
}

.mobile-media-toolbar,
.mobile-live-toolbar {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #ffffff;
	border: 1px solid #e5e9ef;
	border-radius: 6px;
	padding: 12px;
	margin-bottom: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.mobile-media-toolbar label,
.mobile-live-toolbar label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	font-weight: 600;
}

.mobile-media-toolbar label span,
.mobile-live-toolbar label span {
	color: #6b7280;
	font-size: 11px;
	text-transform: uppercase;
}

.mobile-media-status,
.mobile-media-empty {
	background: #ffffff;
	border: 1px dashed #cbd5e1;
	border-radius: 6px;
	color: #64748b;
	padding: 16px;
	text-align: center;
}

.mobile-media-channels,
.mobile-live-duration,
.mobile-live-actions {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
	margin-bottom: 10px;
}

.mobile-media-channels button,
.mobile-live-duration button {
	background: #ffffff;
	border: 1px solid #ccd6e2;
	border-radius: 6px;
	color: #334155;
	font-weight: 600;
	line-height: 1.2;
	min-height: 42px;
	padding: 7px 8px;
}

.mobile-media-channels button.is-active,
.mobile-live-duration button.is-active {
	background: #2b82d4;
	border-color: #2b82d4;
	color: #ffffff;
}

.mobile-media-viewer,
.mobile-live-frame {
	background: #0f172a;
	border-radius: 6px;
	min-height: 210px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.mobile-media-viewer img,
.mobile-media-viewer video {
	background: #0f172a;
	display: block;
	height: auto;
	max-height: 72vh;
	object-fit: contain;
	width: 100%;
}

.mobile-media-viewer video,
.mobile-live-frame iframe {
	aspect-ratio: 16 / 9;
	height: auto;
	min-height: 210px;
	width: 100%;
}

.mobile-media-summary {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, 1fr);
	margin: 12px 0;
}

.mobile-media-summary div {
	background: #ffffff;
	border: 1px solid #e5e9ef;
	border-radius: 6px;
	padding: 10px;
	text-align: center;
}

.mobile-media-summary b {
	display: block;
	font-size: 17px;
	line-height: 1.2;
}

.mobile-media-summary span {
	color: #64748b;
	display: block;
	font-size: 10px;
	margin-top: 2px;
}

.mobile-media-meta {
	background: #ffffff;
	border: 1px solid #e5e9ef;
	border-radius: 6px;
	display: grid;
	gap: 6px;
	margin-bottom: 12px;
	padding: 12px;
}

.mobile-media-map {
	background: #e5e7eb;
	border-radius: 6px;
	height: 190px;
	margin-bottom: 12px;
	overflow: hidden;
	width: 100%;
}

.mobile-media-playbar {
	align-items: center;
	background: #ffffff;
	border: 1px solid #e5e9ef;
	border-radius: 6px;
	display: grid;
	gap: 8px;
	grid-template-columns: auto 1fr auto;
	margin-bottom: 12px;
	padding: 10px;
}

.mobile-media-playbar .btn,
.mobile-live-actions .btn,
.mobile-media-toolbar .btn {
	line-height: 1.25;
	min-height: 40px;
	white-space: nowrap;
}

.mobile-media-playbar input {
	min-width: 0;
	width: 100%;
}

.mobile-media-list {
	display: grid;
	gap: 8px;
}

.mobile-media-list h5 {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	margin: 10px 0 0;
	text-transform: uppercase;
}

.mobile-media-list button {
	align-items: center;
	background: #ffffff;
	border: 1px solid #e5e9ef;
	border-left: 4px solid #94a3b8;
	border-radius: 6px;
	display: grid;
	gap: 4px;
	grid-template-columns: 78px 1fr auto;
	min-height: 48px;
	padding: 9px 10px;
	text-align: left;
	width: 100%;
}

.mobile-media-list button.is-active {
	border-left-color: #2b82d4;
	box-shadow: inset 0 0 0 1px #2b82d4;
}

.mobile-media-list button.has-video {
	border-left-color: #10b981;
}

.mobile-media-list button.is-event {
	border-left-color: #f59e0b;
}

.mobile-media-list button strong,
.mobile-media-list button span,
.mobile-media-list button em {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mobile-media-list button em {
	color: #64748b;
	font-size: 11px;
	font-style: normal;
}

.mobile-media-pager {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-top: 12px;
}

@media only screen and (max-width: 420px) {
	body {
		padding-left: 10px;
		padding-right: 10px;
	}

	.mobile-media-summary {
		grid-template-columns: 1fr;
	}

	.mobile-media-list button {
		grid-template-columns: 64px 1fr;
	}

	.mobile-media-list button em {
		grid-column: 2;
	}
}
.loader span:nth-of-type(7) {
        animation-delay: 0.7s;
}

@keyframes loader {
        0% {
                opacity: 1;
        }
        100% {
                opacity: 0.1;
        }
}

/*#################################################*/
/* MOBILE VISUAL REFRESH
/*#################################################*/

:root {
	--monsat-bg: #f3f6f9;
	--monsat-surface: #ffffff;
	--monsat-surface-soft: #f8fafc;
	--monsat-border: #dce5ed;
	--monsat-text: #18212f;
	--monsat-muted: #667385;
	--monsat-primary: #1f7ad1;
	--monsat-primary-strong: #145da4;
	--monsat-accent: #10a37f;
	--monsat-warning: #f4a62a;
	--monsat-danger: #dc4c4c;
	--monsat-radius: 8px;
	--monsat-shadow: 0 12px 28px rgba(21, 41, 62, 0.12);
	--monsat-shadow-soft: 0 5px 16px rgba(21, 41, 62, 0.08);
	--monsat-shadow-lift: 0 14px 30px rgba(21, 41, 62, 0.14);
}

html {
	background: var(--monsat-bg);
}

body {
	background:
		linear-gradient(180deg, rgba(31, 122, 209, 0.08) 0, rgba(31, 122, 209, 0) 170px),
		var(--monsat-bg);
	color: var(--monsat-text);
	font-family: "Open Sans", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a,
a:hover {
	color: var(--monsat-primary);
}

.navbar-default {
	background: #ffffff;
	border: 0;
	box-shadow: 0 8px 22px rgba(17, 34, 51, 0.12);
}

.navbar-default .navbar-brand,
.navbar-default .navbar-brand:hover {
	color: var(--monsat-text);
	font-weight: 700;
	letter-spacing: 0;
}

.navbar-brand {
	max-width: calc(100vw - 130px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.icon-only {
	align-items: center;
	background: var(--monsat-primary);
	border-radius: 8px;
	display: inline-flex;
	height: 34px;
	justify-content: center;
	margin-left: 2px;
	margin-top: 8px;
	width: 38px;
}

.icon-only i {
	color: #ffffff;
	font-size: 17px;
	margin: 0;
}

#map_layer,
#event_list_page,
#event_subcount_page,
#marker_list_page,
#route_list_page,
#zone_list_page {
	background: var(--monsat-surface-soft);
	border: 1px solid var(--monsat-border);
	border-radius: 8px;
	box-shadow: none;
	color: var(--monsat-text);
	height: 34px;
	margin-top: 8px;
}

.form-control,
.inputbox,
select,
input[type="text"],
input[type="password"],
input[type="date"] {
	background-color: #ffffff;
	border: 1px solid var(--monsat-border);
	border-radius: 8px;
	box-shadow: none;
	color: var(--monsat-text);
	min-height: 40px;
	transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.form-control:focus,
.inputbox:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
select:focus {
	border-color: var(--monsat-primary);
	box-shadow: 0 0 0 3px rgba(31, 122, 209, 0.14);
	outline: none;
}

.input-group-addon {
	background: var(--monsat-surface-soft);
	border-color: var(--monsat-border);
	border-radius: 8px 0 0 8px;
	color: var(--monsat-primary);
	min-width: 42px;
}

.input-group .form-control {
	border-radius: 0 8px 8px 0;
}

.btn {
	border-radius: 8px;
	font-weight: 700;
	min-height: 38px;
	transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}

.btn:active {
	transform: translateY(1px);
}

.btn.btn-blue,
.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
	background: var(--monsat-primary);
	border-color: var(--monsat-primary);
	box-shadow: 0 8px 18px rgba(31, 122, 209, 0.22);
	color: #ffffff;
}

.btn.btn-green {
	background: var(--monsat-accent);
	border-color: var(--monsat-accent);
	box-shadow: 0 8px 18px rgba(16, 163, 127, 0.2);
	color: #ffffff;
}

.btn-default {
	background: #ffffff;
	border-color: var(--monsat-border);
	color: var(--monsat-text);
}

.panel,
.list-group-item,
.mobile-media-toolbar,
.mobile-live-toolbar,
.mobile-media-summary div,
.mobile-media-meta,
.mobile-media-playbar,
.mobile-media-list button {
	border-color: var(--monsat-border);
	border-radius: var(--monsat-radius);
	box-shadow: var(--monsat-shadow-soft);
}

.list-group-item {
	background: #ffffff;
	margin-bottom: 8px;
	padding: 10px 12px;
}

.list-group-item:first-child,
.list-group-item:last-child {
	border-radius: var(--monsat-radius);
}

.object-list-item {
	min-height: 42px;
}

.object-list-item .name {
	color: var(--monsat-text);
	font-size: 13px;
	font-weight: 700;
}

.object-list-item .status {
	color: var(--monsat-muted);
	font-size: 11px;
}

.object-list-item .visible,
.object-list-item .follow {
	color: #a9b4c1;
}

.object-list-item .checked,
.object-list-item .details {
	color: var(--monsat-primary);
}

#bottom_panel {
	background: rgba(255, 255, 255, 0.96);
	border-radius: 12px 12px 0 0;
	box-shadow: 0 -10px 30px rgba(17, 34, 51, 0.16);
	overflow: hidden;
}

.datalist-object-name {
	background: #ffffff;
	border-bottom: 1px solid var(--monsat-border);
	color: var(--monsat-text);
	font-size: 12px;
	height: auto;
	min-height: 34px;
}

.datalist-item.even,
.datalist-item.odd {
	background: transparent;
}

.datalist-item-name {
	color: var(--monsat-muted);
}

.datalist-item-value {
	color: var(--monsat-text);
	font-weight: 700;
}

#loading_panel {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 246, 249, 0.98));
}

#loading_data_panel {
	background-color: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(3px);
	opacity: 1;
}

.loader {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--monsat-border);
	border-radius: 14px;
	box-shadow: var(--monsat-shadow);
	display: inline-flex;
	gap: 7px;
	justify-content: center;
	margin: 25px auto;
	min-height: 58px;
	padding: 0 20px;
	width: auto;
}

.loader span {
	animation: monsat-loader 0.9s infinite ease-in-out;
	background: var(--monsat-primary);
	border-radius: 999px;
	float: none;
	height: 10px;
	margin: 0;
	opacity: 1;
	width: 10px;
}

.loader span:nth-of-type(2) { animation-delay: .08s; }
.loader span:nth-of-type(3) { animation-delay: .16s; }
.loader span:nth-of-type(4) { animation-delay: .24s; }
.loader span:nth-of-type(5) { animation-delay: .32s; }
.loader span:nth-of-type(6) { animation-delay: .40s; }
.loader span:nth-of-type(7) { animation-delay: .48s; }

@keyframes monsat-loader {
	0%, 100% {
		background: var(--monsat-primary);
		transform: translateY(0) scale(0.82);
	}
	45% {
		background: var(--monsat-accent);
		transform: translateY(-8px) scale(1);
	}
}

.login-page {
	background:
		linear-gradient(180deg, #ffffff 0, #eef5fb 42%, #f3f6f9 100%);
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 0 18px 22px;
}

.login-page .navbar-default {
	background: transparent;
	box-shadow: none;
	margin-left: -18px;
	margin-right: -18px;
}

.login-page .navbar-brand {
	color: var(--monsat-muted);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.login-page center {
	margin-top: 22px;
}

.logo {
	background: #ffffff;
	border: 1px solid var(--monsat-border);
	border-radius: 12px;
	box-shadow: var(--monsat-shadow-soft);
	height: auto;
	margin: 0 auto 20px;
	max-width: 250px;
	padding: 12px 18px;
	width: 78%;
}

.login-page form,
.login-page > .form-group {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid var(--monsat-border);
	border-radius: 14px;
	box-shadow: var(--monsat-shadow);
	margin: 0 auto;
	max-width: 390px;
	padding: 18px;
	width: 100%;
}

.login-page form > label:first-child {
	color: var(--monsat-text);
	display: block;
	font-size: 16px;
	font-weight: 800;
	margin-bottom: 14px;
}

.login-page .input-group {
	margin-bottom: 12px;
	width: 100%;
}

.login-page br {
	display: none;
}

.login-page .remember-me {
	color: var(--monsat-muted);
	font-size: 12px;
	font-weight: 700;
	padding-top: 9px;
}

.login-page .buttons-block {
	border-top: 1px solid var(--monsat-border);
	margin-top: 18px;
	padding-top: 18px;
}

.login-page .login-btn,
.login-page .desktop-btn {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	min-height: 42px;
	width: 100%;
}

.login-page #system_language {
	min-height: 42px;
}

.btn-remember-me label {
	border-radius: 8px;
	min-height: 34px;
}

.page-menu {
	background: rgba(15, 23, 42, 0.46);
}

.menu-block {
	background:
		linear-gradient(180deg, #ffffff 0, #f3f7fb 180px, #edf3f8 100%);
	box-shadow: var(--monsat-shadow);
	color: var(--monsat-text);
	display: block;
	overflow-y: auto;
	padding-bottom: env(safe-area-inset-bottom);
}

.page-menu .page-title {
	align-items: center;
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid rgba(220, 229, 237, 0.8);
	box-shadow: 0 10px 24px rgba(17, 34, 51, 0.08);
	color: var(--monsat-text);
	display: flex;
	font-size: 17px;
	font-weight: 800;
	height: 62px;
	line-height: normal;
	margin-bottom: 10px;
	padding: 0 20px;
	position: sticky;
	top: 0;
	z-index: 2;
}

.page-menu .page-title::after {
	background: var(--monsat-primary);
	border-radius: 999px;
	bottom: 12px;
	content: "";
	height: 3px;
	left: 20px;
	position: absolute;
	width: 34px;
}

.page-menu .title-block i {
	background: #ffffff;
	border: 1px solid rgba(220, 229, 237, 0.9);
	border-radius: 12px;
	box-shadow: var(--monsat-shadow-soft);
	color: var(--monsat-text);
	height: 38px;
	line-height: 36px;
	right: 16px;
	text-align: center;
	top: 12px;
	width: 38px;
	z-index: 3;
}

.page-menu ul {
	display: grid !important;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-flow: row;
	padding: 14px 14px 92px;
}

.page-menu ul li {
	display: block;
	float: none;
	grid-column: auto;
	padding: 0;
	width: auto;
}

.page-menu ul li:first-child {
	grid-column-start: 1;
}

.page-menu ul li {
	--tile-color: var(--monsat-primary);
	--tile-soft: rgba(31, 122, 209, 0.1);
}

.page-menu ul li:nth-child(2) {
	--tile-color: #0f9f8f;
	--tile-soft: rgba(15, 159, 143, 0.11);
}

.page-menu ul li:nth-child(3) {
	--tile-color: #f08a24;
	--tile-soft: rgba(240, 138, 36, 0.13);
}

.page-menu ul li:nth-child(4) {
	--tile-color: #6c63d9;
	--tile-soft: rgba(108, 99, 217, 0.12);
}

.page-menu ul li:nth-child(5) {
	--tile-color: #3377c9;
	--tile-soft: rgba(51, 119, 201, 0.12);
}

.page-menu ul li:nth-child(6) {
	--tile-color: #d85b7f;
	--tile-soft: rgba(216, 91, 127, 0.12);
}

.page-menu ul li:nth-child(7) {
	--tile-color: #59677a;
	--tile-soft: rgba(89, 103, 122, 0.12);
}

.page-menu ul li:nth-child(8) {
	--tile-color: #17a36f;
	--tile-soft: rgba(23, 163, 111, 0.12);
}

.page-menu ul li:nth-child(9) {
	--tile-color: #1683c7;
	--tile-soft: rgba(22, 131, 199, 0.12);
}

.page-menu ul li:nth-child(10) {
	--tile-color: #b653d7;
	--tile-soft: rgba(182, 83, 215, 0.12);
}

.page-menu ul li:nth-child(11) {
	--tile-color: #e85d3f;
	--tile-soft: rgba(232, 93, 63, 0.12);
}

.page-menu ul li a {
	align-items: center;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.96));
	border: 1px solid rgba(220, 229, 237, 0.88);
	border-radius: 14px;
	box-shadow: var(--monsat-shadow-soft);
	color: var(--monsat-text) !important;
	display: flex;
	flex-direction: column;
	font-size: 12.5px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.22;
	min-height: 108px;
	overflow: hidden;
	padding: 13px 8px 12px;
	text-align: center;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
	word-break: normal;
}

.page-menu ul li a::before {
	background: var(--tile-color);
	border-radius: 999px;
	content: "";
	height: 4px;
	left: 18px;
	opacity: 0.86;
	position: absolute;
	right: 18px;
	top: 0;
}

.page-menu ul li a:hover,
.page-menu ul li a:focus {
	border-color: var(--tile-color);
	box-shadow: var(--monsat-shadow-lift);
	opacity: 1;
	transform: translateY(-1px);
}

.page-menu ul li a:active {
	box-shadow: var(--monsat-shadow-soft);
	transform: translateY(0);
}

.page-menu ul li a.selected {
	border-color: var(--tile-color);
	box-shadow: 0 12px 26px rgba(21, 41, 62, 0.13);
}

.page-menu ul li a i {
	align-items: center;
	background: var(--tile-soft);
	border: 1px solid rgba(255, 255, 255, 0.74);
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
	color: var(--tile-color);
	display: inline-flex;
	font-size: 23px;
	height: 46px;
	justify-content: center;
	margin-bottom: 11px;
	width: 46px;
}

.page-menu .button-block {
	align-items: center;
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid rgba(220, 229, 237, 0.9);
	bottom: 0;
	box-shadow: 0 -8px 22px rgba(17, 34, 51, 0.08);
	display: flex;
	gap: 10px;
	justify-content: center;
	margin: 0;
	padding: 14px;
	position: sticky;
}

.page-menu .button-block a {
	align-items: center;
	background: #ffffff;
	border: 1px solid rgba(220, 229, 237, 0.95);
	border-radius: 12px;
	box-shadow: var(--monsat-shadow-soft);
	color: var(--monsat-text);
	display: inline-flex;
	flex: 1 1 0;
	font-weight: 700;
	justify-content: center;
	max-width: 180px;
	min-height: 42px;
	padding: 10px 12px;
	text-align: center;
}

.page-menu .button-block a i {
	margin-right: 6px;
}

.logout-btn {
	color: var(--monsat-danger) !important;
}

.mobile-media-toolbar,
.mobile-live-toolbar,
.mobile-media-summary div,
.mobile-media-meta,
.mobile-media-playbar,
.mobile-media-list button,
.mobile-media-status,
.mobile-media-empty {
	border-color: var(--monsat-border);
	box-shadow: var(--monsat-shadow-soft);
}

.mobile-media-channels button.is-active,
.mobile-live-duration button.is-active {
	background: var(--monsat-primary);
	border-color: var(--monsat-primary);
}

.mobile-media-list button.has-video {
	border-left-color: var(--monsat-accent);
}

.mobile-media-list button.is-event {
	border-left-color: var(--monsat-warning);
}

@media only screen and (max-width: 360px) {
	.login-page form,
	.login-page > .form-group {
		padding: 15px;
	}
}

@media only screen and (min-width: 520px) {
	.page-menu ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
