html {
  height: 100vh;
}

body {
  font-family: 'Exo';
  font-size: 13px;
  height: 100vh;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0
}

body * {
  box-sizing: border-box;
}

.map-area {
  height: 100%;
  margin-left: 290px;
}

#map {
  height: 100%;
  margin-bottom: 200px;
}

.logo {
  display: block;
  height: 40px;
  margin-top: 18px;
  margin-right: 10px;
  float: right;
  cursor: pointer;
}


/*-- left menu --*/

.left-toolbar {
  width: 290px;
  height: calc(100% - 70px);
  float: left;
  background: #1e5799;
  /* Old browsers */
  background: -moz-linear-gradient(right, #262a33 0%, #151921 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(right, #262a33 0%, #151921 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to left, #262a33 0%, #151921 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  box-shadow: 0 0 9px 4px #00000059;
}

/* -- left menu END -- */

/* -- search input -- */

@-webkit-keyframes gradient {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 0;
  }
}

@keyframes gradient {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 0;
  }
}

.webflow-style-input {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 2px;
  background: rgba(57, 63, 84, 0.8);
}

.webflow-style-input:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  height: 2px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  background-position: 0% 0%;
  background: linear-gradient(to right, #b294ff, #57e6e6, #feffb8, #57e6e6, #b294ff, #57e6e6);
  background-size: 500% auto;
  -webkit-animation: gradient 3s linear infinite;
  animation: gradient 3s linear infinite;
}

.webflow-style-input input {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  color: #bfd2ff;
  font-size: 16px;
  vertical-align: middle;
  padding-left: 10px;
  font-family: "Exo";
}

.webflow-style-input input::-webkit-input-placeholder {
  color: #7881a1;
}

.filters {
  color: #9396a7;
  font-size: 0;
  border-bottom: 1px solid #fff;
}

.filters span {
  width: 25%;
  font-size: 28px;
  cursor: pointer;
  text-align: center;
  margin: 7px 0;
}

.filters span:hover,
.filters span.active {
  font-weight: bold;
  color: #0792D5;
}

.webflow-style-input button {
  color: #7881a1;
  font-size: 42px;
  vertical-align: middle;
  -webkit-transition: color .25s;
  transition: color .25s;
}

.webflow-style-input button:hover {
  color: #bfd2ff;
}

input {
  border-style: none;
  background: transparent;
  outline: none;
}

button {
  padding: 0;
  background: none;
  border: none;
  outline: none;
}

/* -- search input -- */

.fx-wrap {
  display: inline-block;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  overflow: hidden;
  width:100%;
}
.fx-wrap .card {
  height: 115px;
  position: relative;
}
.fx-wrap .card>.front{
  transition: transform 3s, z-index 3s 0s, box-shadow 3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  will-change: transform;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 4px ;
  background-color: #2c303a;
  backface-visibility: hidden;
}
.fx-wrap .card>.front:before,

.fx-wrap .card>.front>* {
  height: 100%;
  color: #fff;
}

.fx-wrap .card > .front:hover{
  background-color: #3d4352;
  cursor: pointer;
}
.fx-wrap .card>.front .image {
  float: left;
}
.fx-wrap .card>.front .text {

  flex-direction: column;
  justify-content: space-between;
  width: 190px;
  float: right;
}
.fx-wrap .card>.front .text div.flip{
  border-radius: 9999em;
  width: 20px;
  height: 20px;
  margin: 10px;
  border: 0;
  color: #4caf50;
  font-size: 1.5em;
  float: right;
  flex: 1;
  outline: 0;
  transition: background-color 0.3s ease-in, transform 0.4s;
  transition-delay: 0.1s;
}
.fx-wrap .card>.front .text div.flip-disconnect{
  color: #ff0000 !important;
}

.flip-container{
  overflow-y: scroll;
  height: calc(100% - 91px);
}
.flip-device-id{
  text-transform: uppercase;
  font-size: 15px;
  padding-top: 10px;
}

.flip-device-data{
  margin-top: 8px;
}
 .flip-informations{
  font-size: 12px;
  color: #ffffff94;
}

.flip-info-value{
  color: #fff;
}

.fx-wrap .card>.front .text a{
  text-transform: uppercase;
  margin: 10px auto;
  text-align: right;
  width: 80%;
  display: block;
  flex: 1;
}
.fx-wrap .card>.front .image{
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  background-size: cover;
  width: 65px;
  max-height: 105px;
  position: relative;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 5px;
  margin-top: 8px;
}

.fx-wrap .card>.front .luna-emg { 
  background-image: url('images/luna-320x474.png');
}

.fx-wrap .card>.front .stella-bio { 
  background-image: url('images/stella-320x320.png');
}

.fx-wrap .card>.front .image .heading {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 10px;
  font-size: 1.5em;
  text-align: right;
  color: #fff;
  text-transform: uppercase;
}
.fx-wrap .card>.front {
  z-index: 2;
  transform: rotateY(0deg);
}

.fx-wrap .card.flip-it>.front {
  transform: rotateY(-180deg);
  z-index: 1;
}

.fx-wrap .card.flip-it>.front:before {
  background-position: -324px 0;
}

.hide{
  display: none;
}


/* -- -- */

/* -- LOADER -- */
.loader-container{
background-color: #fff;
z-index: 5000;
width: 100%;
height: 100%;
position: absolute;
}

.loader-text{
  width: 100px;
  height: 100px;
  position: absolute;
  top: 65%;
  left: 50%;
  margin-left: -50px;
  margin-top: -65px;
  font-size: 14px;
}

.loader-text-graph{
  width: 100px;
height: 100px;
position: absolute;
top: 260px;
left: 50%;
margin-left: -50px;
margin-top: -65px;
font-size: 14px;
}

.loader-container-graph{
  background-color: #fff;
  z-index: 5000;
  width: 100%;
  height: 100%;
  position: absolute;
}


.loader {
  border: 5px solid transparent;
   border-top: 5px solid #2c303a;
  border-radius: 200px;
   -webkit-animation: spin 2s infinite linear;
}

.first {
   width: 100px;
   height: 100px;
   position: absolute;
   top: 50%;
   left: 50%;
   margin-left: -50px;
   margin-top: -50px;
}

.second {
   width: 80px;
   height: 80px;
   margin: 10px;
}

.third {
   width: 60px;
   height: 60px;
   margin: 10px;
}

@-webkit-keyframes spin {
  0% {-webkit-transform: rotateZ(0deg);}
  100% {-webkit-transform: rotateZ(360deg);}
}
/* -- -- */


.controller-uid {
  font-size: 37px;
  padding-left: 20px;
  text-transform: uppercase;
}

.controller-uid span {
  vertical-align: middle;
}

.controller-uid span:first-child {
  color: #0191d6;
}

.controller-uid span:last-child {
  color: #fff;
  font-size: 20px;
}

.controller-last-activity {
  font-size: 77px;
  padding-left: 20px;
  line-height: 16px;
}

.controller-last-activity span {
  vertical-align: middle;
  margin-top: 10px;
}

.controller-last-activity span:first-child {
  color: #0191d6;
}

.controller-last-activity span:last-child {
  color: #fff;
  font-size: 35px;
}

.controller-status {
  font-size: 20px;
  padding-left: 35px;
}

.controller-status span {
  vertical-align: middle;
}

.controller-status span:first-child {
  color: #0191d6;
}

.controller-status span:last-child {
  color: #fff;
}

.mapLegend {
  position: absolute;
  bottom: 90px;
  left: 50%;
  background: #fff;
}

.mapLegend_list {
  list-style: none;
  font-size: 0;
  padding: 5px 0;
  height: 29px;
}

.mapLegend_position {
  position: relative;
  display: inline-block;
  width: 80px;
  font-size: 10px;
  text-align: center;
}

.mapLegend_position::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 5px;
  background-color: #76ca2e;
}

.mapLegend_position:nth-of-type(2)::after {
  background-color: #d1cf1e;
}

.mapLegend_position:nth-of-type(3)::after {
  background-color: #efbb0f;
}

.mapLegend_position:nth-of-type(4)::after {
  background-color: #aaa;
}

.footer {
  position: absolute;
  bottom: 0;
  background-color: #262a33;
  height: 70px;
  width: 100%;
  box-shadow: 2px -2px 10px #00000059;
  z-index: 2;
}

.params {
  display: inline-block;
  height: 100%;
}

.param {
  padding: 10px 10px;
  color: #fff;
  position: relative;
  display: inline-block;
  height: 100%;
}

.param>span {
  display: block;
}

.param span:first-child {
  font-size: 30px;
  text-align: center;
}

.param span:first-child span {
  font-size: 30px;
}

.param span:nth-of-type(2) {
  font-size: 12px;
  text-transform: uppercase;
  color: #019de69c;
  text-align: center;
}

.param:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 30%;
  height: 40%;
  border-right: 1px solid #d5d5d5;
}

.device-info {
  position: absolute;
  left: 0px;
  background-color: #fff;
  width: 100px;
  height: 100%;
  box-shadow: 2px -2px 10px #00000059;
}

#clock {
  font-size: 50px;
  color: #2270a2;
  position: absolute;
  top: 23px;
  left: 23px;
}

.panels {
  position: absolute;
  bottom: 0;
}

.panels.active {
  -webkit-animation: panels-animation forwards;
  /* Safari 4.0 - 8.0 */
  -webkit-animation-duration: 4s;
  /* Safari 4.0 - 8.0 */
  animation: panels-animation forwards;
  animation-duration: 2s;
  z-index: 0;
}

@-webkit-keyframes panels-animation {
  0% {
    bottom: 0;
    left: 21%;
    right: 21%
  }
  50% {
    /* bottom: 320px; */
    left: 21%;
    right: 21%;
  }
  100% {
    /* bottom: 320px; */
    left: 0;
    right: 0;
  }
}

@keyframes panels-animation {
  0% {
    bottom: 0;
    left: 21%;
    right: 21%
  }
  50% {
    bottom: 320px;
    left: 21%;
    right: 21%;
  }
  100% {
    bottom: 320px;
    left: 0;
    right: 0;
  }
}

.panels.hide {
  -webkit-animation: panels-animation-hide forwards;
  /* Safari 4.0 - 8.0 */
  -webkit-animation-duration: 4s;
  /* Safari 4.0 - 8.0 */
  animation: panels-animation-hide forwards;
  animation-duration: 2s;
  z-index: 0;
}

@-webkit-keyframes panels-animation-hide {
  0% {
    bottom: 320px;
    left: 0;
    right: 0;
  }
  50% {
    bottom: 320px;
    left: 21%;
    right: 21%;
  }
  100% {
    bottom: 0;
    left: 21%;
    right: 21%
  }
}

@keyframes panels-animation-hide {
  0% {
    bottom: 320px;
    left: 0;
    right: 0;
  }
  50% {
    bottom: 320px;
    left: 21%;
    right: 21%;
  }
  100% {
    bottom: 0;
    left: 21%;
    right: 21%
  }
}

.panel {
  position: absolute;
  width: 22%;
  height: 200px;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1e5799+0,262a33+100 */
  background: #1e5799;
  /* Old browsers */
  background: -moz-linear-gradient(left, #262a33 0%, #151921 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #262a33 0%, #151921 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #262a33 0%, #151921 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  box-shadow: 0px 0px 9px 4px #00000059;
}

.panel:first-child {
  top: 25px;
  left: 0;
}

.panel:last-child {
  top: 25px;
  right: 0;
}

.panel:last-child>.panel_title {
  margin-left: 35px;
}

.panel-center {
  z-index: 1;
  left: 21%;
  height: 250px;
  width: 58%;
}

.panel_title {
  margin: 20px 20px 10px 20px;
  text-transform: uppercase;
  font-size: 18px;
  color: #fff;
}

.active-card {
  background-color: #3d4352 !important;
}


.highcharts-root{
  font-size: 11px !important;
}

.highcharts-title{
  font-size: 14px !important;
}

.highcharts-axis-labels .highcharts-xaxis-labels{
  font-size: 10px !important;
}
