@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,700);

/* General structure */
.container>.row {
    margin-top: 15px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 
    End General structure
    General components 
*/

.ecui-transitions { /* Use to enable all transitions. Copied from light-bootstrap-dashboard.css. */
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}

.btn-success:focus, .btn-success:hover {
    background-position: initial !important;
}
.btn-success {
    color: white !important;
}

/* 
    End components
    Controllers 
*/

.controller {
    background-color: #eee;
	 /*border: 1px solid #ddd;*/
    min-width: 150px;
    
    margin-bottom: 0.5em;
    padding: 0.5em;
    
    text-transform: uppercase;
}

.controller-nouppercase {
    background-color: #eee;
	 /*border: 1px solid #ddd;*/
    min-width: 150px;
    
    margin-bottom: 0.5em;
    padding: 0.5em;
}

.controller h1 {
    font-size: 1em;
    font-weight: 100;
    text-transform: uppercase;
    margin: 1em 0;
}

#air-filtered { /* GuiComponent_DashBoardComponent_AirFiltered */
    height: 400px;
}

/* 
    End Controllers
    Card headers 
*/

.card .card-header {
    padding: 0;
}
.card.sensors-card .header {
    font-size: 16px;
}
.card .card-header .row {
    margin-top: 0;
}

body.edit-mode a.edit-button,
body.edit-mode a.share-button {
    color: #ddd;
}

body.edit-mode .share-button {
    cursor: not-allowed;
}

input.form-control.editable-text {
    border: none;
    display: inline-block;
    width: auto;
    border: 1px solid transparent;
}

body.edit-mode .editable-text {
    border: 1px solid #AAAAAA !important;
}

.card .card-header .form-control {
    padding: 2px 5px;
    height: auto;
}
.card .card-header .form-control[readonly] {
    background-color: transparent;
    cursor: default;
}

.form-control.title {
    font-size: 22px;
    width: auto;
}

/* 
    End card headers
    Double + Single Value 
*/
.ec-single-value {
/*    background-color: #eee;
    min-width: 150px;

    margin-bottom: 0.5em;
    padding: 0.5em;

    text-transform: uppercase;
*/


    text-align: center;
    margin-bottom: 0.5em;
    padding: 0.5em;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
/*    text-transform: uppercase;*/

    color: white;
    background-color: #2C906D;
/*    background-color: #bfe0d5;
    background-color: #66b59a;*/
}

.ec-single-value table {
    display: inline-block;
    vertical-align: middle;
}

.ec-single-value table {
    line-height: 50px;
}

.ec-single-value th {
    padding-right: 10px;
    font-weight: normal;
}

.ec-single-value tr.outside td:last-child {
    font-weight: bold;
}

.ec-single-value i {
    display: inline-block;
    width: 40px;
    color: white;
    text-align: center;
    vertical-align: bottom;
    padding-right: 10px;

/*    color: black;
    background-color: #bfe0d5;
    background-color: #66b59a;*/
}

.ec-single-value .fa {
    font-size: 38px;
    line-height: 48px;
}

.ec-single-value .wi {
    font-size: 38px;
    line-height: 46px;
}

.double-value table,
.single-value table {
    display: inline-block;
    vertical-align: middle;
}

.double-value table {
    line-height: 25px;
}
.single-value table {
    line-height: 50px;
}

.double-value,
.single-value {
    
}

.double-value th,
.single-value th {
    padding-right: 10px;
    font-weight: normal;
}

.double-value tr.outside td:last-child,
.single-value tr.outside td:last-child {
    font-weight: bold;
}
.double-value tr.after td:last-child {
    font-weight: bold;
    color: green;
}

.double-value i,
.single-value i {
    display: inline-block;
    width: 40px;
    color: green;
    text-align: center;
    vertical-align: bottom;
}

.double-value .fa,
.single-value .fa {
    font-size: 48px;
}

.double-value .wi,
.single-value .wi {
    font-size: 38px;
    line-height: 46px;
}

/* End Double + Single Value */
/* Legend */

.legend {
    text-transform: none;
    font-size: 16px;
}

.legend.horizontal li {
    display: inline-block;
    margin-right: 15px;
}

.legend ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.legend li * {
    margin-right: 5px;
}

.legend ul i {
    height: 7px;
    width: 20px;
    display: inline-block;
    border-top: 2px solid;
}

.legend label {
    font-weight: initial;
    margin: 0;
}

.legend label.all-none {
    font-weight: 100;
    margin-top: 5px;
}

.red { color: red; }
.green { color: green; }
.blue { color: blue; }
.pink { color: pink; }

/* End Legend */


/* Breadcrumbs */

.ec-breadcrumb {
  margin: 7px 0px;
  padding: 15px 15px;
  list-style: none;
  border-radius: 4px;	
}
.ec-breadcrumb > li {
  display: inline-block;
}
.ec-breadcrumb > li + li:before {
  padding: 0 5px;
  color: #ccc;
  content: "/\00a0";
}
.ec-breadcrumb > .active {
  color: #777;
}
/* End breadcrumbs */

/* Clickable rows */
.clickable-row:hover {
	cursor: pointer;
}

.container-full {
  margin: 0 auto;
  width: 100%;
}
/* From old Style.css */

/* Generals */
html {
    position: relative;
    min-height: 100%;
}

.text-muted {
    font-weight: 100;
}
.text-concat,
.graph-box h2 {
    text-overflow:ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.full-width {
    padding-left: 0;
    padding-right: 0;
}

/* End generals
Main page blocks (footer / header / navigation) */

.page-header {
    background-color: #00673e;
    margin: 0;
    padding: 0.8em 1.5em;
}

.nav {
    margin:0;
    padding:0;
}
.nav>li>a {
    padding: 5px 15px;
}
.right {
    float:right;
}

/* End main page blocks */ 

/* Login box */
#login-wrapper {
    margin-top: 5%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    padding-top: 20px;
    padding-bottom: 50px;
    
    background-color: #eee;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.form-signin .checkbox {
    width: 45%;
    float: left;
}
.form-signin #forgot-password {
    width: 52%;
    float: right;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: right;
    font-size: inherit;
}

.form-signin .form-control {
    height: auto;
    padding: 10px;
    font-size: 16px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
#input-login {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
#input-password {
    border-top: none;
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* End login box */

/* Graphs and Graph overview */
#diagrams-matrix {
    margin-top: 20px;
}
.row { 
}

.graph-box {
    background-color: #f8f8f8;
    border-radius: 5px;
    border: 1px solid #efefef;
    padding: 10px;
    margin-bottom: 20px;
    width: 100%;
    height: 100%;
    
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);
    /*background-image: linear-gradient(to bottom,#fff 0,#f8f8f8 100%);*/
}
.graph-box h2 {
    font-size: 1.1em;
    font-weight: 100;
    padding-top: 0;
    padding-bottom:5px;
    margin: 0;
}
.graph-box figcaption {
    margin-top: 5px;
    font-size: 95%;
}
.graph-box figcaption p {
    font-style: italic;
    overflow: hidden;
    line-height: 1.15em;
    height: 2.3em;
}

.graph-box .graph-menu {
    
}

.graph-box img {
    width: 100%;
    border: 1px solid #ccc;
}

#diagrams-matrix a {
    color: #555;
}
#diagrams-matrix a:hover{
    text-decoration: none;
}
.graph-box:hover {
    background-color: #efefef;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
}

.grapharea-ratio-box {
	height: 0;
	min-width: 160px;
	min-height: 100px;
	overflow: hidden;
	position: relative;
}

.grapharea-fit-parent {
	width: 100%;
	height: 100%;
}

.grapharea-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* End Graphs and Graph overview */

/* EULA */

.eula table, 
.eula th, 
.eula td {
	border:1px solid #545454;
	padding: 2px 2px 2px 2px;
}
.eula table {
	border-collapse: collapse;
	border-bottom:0;
	border-left:0;
}
.eula td, 
.eula th {
	vertical-align: top;
	border-top:0;
	border-right:0;
}

/* Search box */

.typeahead,
.tt-query,
.tt-hint {
  width: 396px;
  height: 30px;
  padding: 8px 12px;
  font-size: 24px;
  line-height: 30px;
  border: 2px solid #ccc;
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  outline: none;
}

.typeahead {
  background-color: #fff;
}

.typeahead:focus {
  border: 2px solid #0097cf;
}

.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999
}

.tt-menu {
  width: 422px;
  margin: 12px 0;
  padding: 8px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
  padding: 3px 20px;
/*  font-size: 16px; */
  line-height: 24px;
}

.tt-suggestion:hover {
  cursor: pointer;
  color: #fff;
  background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #0097cf;
}

.tt-suggestion p {
  margin: 0;
}

/* Edit controls */
.edit-controls {
	font-size: 26px;
	float: right;
	padding: 15px;
	z-index: 5;
}

body.edit-mode .editable-text {
	border: 1px solid #AAAAAA !important;
}

body.edit-mode .button {
	cursor: not-allowed;
}

/* ec-widgets */
/*.ec-widget {
    font-size: calc(1em + 1vw);
}*/
.ec-zoomable {
    /*transition: transform .2s;
    -webkit-transition:width 300ms ease-in-out, height 300ms ease-in-out;
    -moz-transition:width 300ms ease-in-out, height 300ms ease-in-out;
    -o-transition:width 300ms ease-in-out, height 300ms ease-in-out;
    transition:width 300ms ease-in-out, height 300ms ease-in-out;*/
    cursor: zoom-in;
}

.ec-zoomable:hover {
    /*z-index: 9999;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    -webkit-transition:width 300ms ease-in-out, height 300ms ease-in-out;
    -moz-transition:width 300ms ease-in-out, height 300ms ease-in-out;
    -o-transition:width 300ms ease-in-out, height 300ms ease-in-out;
    transition:width 300ms ease-in-out, height 300ms ease-in-out;

    transform: scale(1.02);
    position: absolute;
    width: 104%;
    height: 104%;
    top: -2%;
    left: -2%;

    z-index: 10;

    border: 1px solid #000000 !important;
*/
}

/*
 * Maps
 */

.ec-map-sensor-leaflet>div {
    transform: translate(-50%,-100%)
}

.ec-map-sensor-cluster-table>tbody {
    vertical-align: top;
    padding-left: 2px;
    padding-right: 2px;
}

.ec-map-sensor-cluster hr {
    margin-top: 2px;
    margin-bottom: 2px;
}

.ec-map-sensor-cluster {
    position: absolute;
    border-radius: .4em;
/*    width: 140px;

    height: 300px;*/
    margin: 0;
    background-color: white;
/*    position: fixed;*/
    z-index: 100;
    font-size: 12px;
    font-weight: 100;
    line-height: normal;
    color: #999;
    padding: 5px 5px;

    opacity: 0.8;
}

.ec-map-sensor table {

}

.ec-map-sensor table td {
/*    height: 42px;*/
/*    vertical-align: middle;*/
}

.ec-map-sensor-image {
    height: 42px;
    padding: 3px 3px 3px 3px;
}

.ec-map-sensor-image img {
    width: 40px;
    height: 40px;
    vertical-align: middle;
}

.ec-map-sensor-circle {
    height: 42px;
    padding: 3px 3px 3px 5px;
    vertical-align: middle;
}

.ec-map-sensor-circle-circle {
/*    margin: 10px 10px 10px 10px;*/
    height: 20px;
    width: 20px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid;
}

.ec-map-sensor-value {
    height: 42px;
    padding: 1px 1px 1px 1px;
    min-width: 28px;
    text-align: right;
    font-size: 24px;
    font-weight: bold;
}

.ec-map-sensor-unit {
    height: 42px;
    padding: 1px 1px 1px 3px;
    font-size: 10px;
    font-weight: normal;
}

.ec-map-sensor-filterstatus {
    padding: 1px 1px 1px 1px;
    min-width: 28px;
    text-align: center;
    font-size: 14px;
}


.ec-map-sensor table td img {
}

.ec-map-sensor-title {
    width: 138px;
    font-size: 14px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ec-map-legend-colormap {
    width: 400px;
    height: 50px;
    margin-bottom: 10px;
    margin-left: 20px;
}

.ec-map-legend-colormap p {
    font-size: 12px;
    font-weight: normal;
    margin: 2px;
}

.ec-map-legend-colormap-scale {
    display: block;
    height: 100%;
}

.ec-map-legend-colormap-scale section {
    width: 100%;
    height: 20px;
}

.ec-map-legend-colormap-scale span {
    display: inline-block;
    height: 100%;
    font-size: 10px;
}

.ec-map-legend-colormap-scale-gradient {
    border: 1px solid black;
    opacity: 0.8;
}

.ec-map-legend-colormap-scale section>span:nth-child(1) { width: 15%; }
.ec-map-legend-colormap-scale section>span:nth-child(2) { width: 35%; }
.ec-map-legend-colormap-scale section>span:nth-child(3) { width: 35%; }
.ec-map-legend-colormap-scale section>span:nth-child(4) { width: 15%; }

.ec-map-legend-colormap-scale-gradient>span:nth-child(1) { background-image: linear-gradient(to right, #fff, #00ff00);    }
.ec-map-legend-colormap-scale-gradient>span:nth-child(2) { background-image: linear-gradient(to right, #00ff00, #ffff00); }
.ec-map-legend-colormap-scale-gradient>span:nth-child(3) { background-image: linear-gradient(to right, #ffff00, #ff0000); }
.ec-map-legend-colormap-scale-gradient>span:nth-child(4) { background-image: linear-gradient(to right, #ff0000, #000);    }



.ec-map-sensor {
    padding: 2px;
}

.ec-map-sensor:hover {
    padding: 1px;
    border: 1px dashed #ccc;
}


.ec-map-sensor:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 16px solid transparent;
    border-top-color: white;
    border-bottom: 0;
    margin-left: -16px;
    margin-bottom: -16px;

    opacity: 0.8;
}

.ec-sensor-marker {
    padding: 2px 7px;
    color: white;
    font-size: 10px;
    border-width: 1px;
    border-radius: 30px;
    background-color: #2C906D;
    line-height: 1.3;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
/*    border: 1px solid black;
 */
}