@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;
  display: flex;
  justify-content: center;
}
.block2 {
  width: 60%;
  margin-left: auto;
}

.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;
  margin-right: 8px;
}

#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: 100px;
  left: -80px;
  width: 160px;
  margin-left: 50%;
  background-color: #ffffff;
  padding: 2px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  z-index: 9;
  font-size: 16px;
}

#history_playback a {
  color: #333;
  margin: 5px;
}

.leaflet-left .leaflet-control {
  margin-top: 15px;
  margin-left: 15px;
}

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

#history_navbar {
  display: none;
  min-height: 0px;
  bottom: 56px;
}

#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;
  background-image: linear-gradient(
      to right bottom,
      rgba(86, 180, 211, 0.8),
      rgba(52, 143, 80, 0.7)
    ),
    url("../bg1new3.jpg");
}

.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;
  margin-right: 10px;
}

.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; */
  background-color: #109379;
}
.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);
}
.icon-fit-objects {
  background-image: url(images/fit.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: #109379;
  color: #ffffff !important;
  border-color: #109379;
}

.btn.back-btn {
  margin-bottom: 15px;
}

.btn.login-btn {
  margin-bottom: 12px;
  border: 2px solid #fff;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.3px;
  height: auto;
}

.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;
  box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
  margin-bottom: 10px;
}
.list-group-item .icon {
  float: left;
  margin-top: 4px;
  margin-right: 10px;
}

.object-list-item {
  height: auto;
  width: 100%;
  display: flex;
}
.object-list-item .left {
  width: 80%;
}
.object-list-item .right {
  display: flex;
  height: 100%;
}
.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 {
  min-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: #109379;
}

.object-list-item .checked {
  color: #109379;
}

/* @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: #109379;
  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;
  }
}

#footer-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
}
.page {
  padding: 15px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.ui-page-theme-a {
  text-shadow: none;
}

.ui-page-theme-a .ui-btn.ui-btn-active {
  background-color: #109379;
  border-color: #15af90;
  color: #fff;
  text-shadow: 0 1px 0 #0e816a;
}
.ui-page-theme-a .ui-btn:focus {
  box-shadow: none;
}

.input-group {
  position: relative;
  display: table;
  border-collapse: separate;
}
.btn.btn-primary {
  background-color: #0e816a;
}
#page_object_details {
  overflow-y: auto;
  height: 90vh;
}
.adresse {
  font-size: 10px;
  text-overflow: ellipsis;
}
.form-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#login-form {
  width: 100%;
}

#login-form .input-group {
  margin-bottom: 15px;
  display: block;
  width: 90%;
  margin: 15px auto;
}
#login-form .form-control {
  border-radius: 5px;
  height: 45px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}
.login-page {
  overflow: hidden;
}
.login-logo {
  text-align: center;
  margin-bottom: 30px;
}
.block2 .form-group {
  width: 91%;
}
.menu {
  list-style: none;
  padding: 0;
}

.ui-panel-inner {
  padding: 0;
}
.menu li a,
.logout-btn {
  color: #555 !important;
  display: flex;
  width: 100%;
  padding: 10px;
}
.menu li a :hover,
.logout-btn:hover {
  background-color: #eee;
}
.menu li a i,
.logout-btn i {
  padding-right: 10px;
}

.marker {
  position: relative;
}

.pulse {
  width: 15px;
  height: 15px;
  border: 8px solid #1dc09f;

  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  background-color: #0e816a;
  z-index: 10;
  position: absolute;
}

.dot {
  position: absolute;
  height: 50px;
  width: 50px;
  top: -17px;
  left: -17px;
  z-index: 2;
  opacity: 0;
  border: 10px solid rgb(0, 205, 126);
  background: transparent;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  border-radius: 60px;
  -webkit-animation: flash 1.5s ease-out;
  -moz-animation: flash 1.5s ease-out;
  animation: flash 1.5s ease-out;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.copyright {
  color: #ddd;
  font-size: 11px;
  text-align: center;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
}

@-moz-keyframes pulse {
  0% {
    -moz-transform: scale(0);
    opacity: 0;
  }
  25% {
    -moz-transform: scale(0);
    opacity: 0.1;
  }
  50% {
    -moz-transform: scale(0.1);
    opacity: 0.3;
  }
  75% {
    -moz-transform: scale(0.5);
    opacity: 0.5;
  }
  100% {
    -moz-transform: scale(1);
    opacity: 0;
  }
}

@-webkit-keyframes flash {
  0% {
    -webkit-transform: scale(0);
    opacity: 0;
  }
  25% {
    -webkit-transform: scale(0);
    opacity: 0.1;
  }
  50% {
    -webkit-transform: scale(0.1);
    opacity: 0.3;
  }
  75% {
    -webkit-transform: scale(0.5);
    opacity: 0.5;
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
  background: rgba(16, 147, 121, 0.8) !important;
  color: white;
}
.leaflet-popup-tip {
  background: rgb(16, 147, 121) !important;
}
.leaflet-container a {
  color: yellow;
}
.modal-title:before {
  content: "";
  display: block;
  background: url("../icon.png") no-repeat center center;
  background-size: contain;
  width: 30px;
  height: 30px;
  float: left;
  margin: 0 6px 0 0;
}
.modal-header {
  background: orange;
}
.modal-content {
  border-radius: 10px;
}

#page_object_filter {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
}
#page_object_filter
  .stoped
  #page_object_filter
  .drived
  #page_object_filter
  .total
  #page_object_filter
  .paused {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}
#page_object_filter .stoped {
  background: #83150b;
  flex: 1;
  font-size: 10px;
  text-align: center;
  padding: 5px 0px;
  color: white;
}
#page_object_filter .drived {
  background: #04660c;
  flex: 1;
  font-size: 10px;
  text-align: center;
  padding: 5px 0px;
  color: white;
}
#page_object_filter .total {
  background: rgb(23, 46, 90);
  flex: 1;
  font-size: 10px;
  text-align: center;
  padding: 5px 0px;
  color: white;
}
#page_object_filter .paused {
  background: #a57f02;
  flex: 1;
  font-size: 10px;
  text-align: center;
  padding: 5px 0px;
  color: white;
}
#togglePassword {
  position: absolute;
  right: 7px;
  z-index: 10;
  top: 12px;
  font-size: 20px;
  color: #888;
}
#page_object_filter input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
}
#page_object_filter input[type="radio"]:checked ~ span {
  font-weight: bolder;
}
.input-group .form-control {
  float: none;
  box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
}
