@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;
}

#map_layer {
	border: none;
}
#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; }

.leaflet-left .leaflet-control{
	margin-top: 15px;
	margin-left: 15px;
}

/*#################################################*/
/* HISTORY NAVBAR
/*#################################################*/

#history_navbar {
	display: none;
	min-height: 0px;
}

#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: 10;
	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: 10;
	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;
}

/*#################################################*/
/* 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-clusters { background-image: url(images/clusters.svg); }
.icon-traffic { background-image: url(images/traffic.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 .row {
	margin-left: 0px;
	margin-right: 0px;
}

.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;
}
.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 .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: 450px) {
    .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;
}
.loader span:nth-of-type(7) {
        animation-delay: 0.7s;
}

@keyframes loader {
        0% {
                opacity: 1;
        }
        100% {
                opacity: 0.1;
        }
}