/*body { 
    padding-left:10px;
  padding-top: 10px;
  padding-right: 10px; 
    font-size: 12px;
    letter-spacing:0.5px;
}
body.page-template-page-home { 
rgba(0,60,136,0.4)

*/


@font-face {
  font-family: 'FFDINWeb';
  src:  url('fonts/2FA0A8_3_0.woff2') format('woff2');
}
@font-face {
  font-family: 'FFDINWebMedium';
  src:  url('fonts/2FA0A8_2_0.woff2') format('woff2');
}
@font-face {
  font-family: 'FFDINWebBold';
  src:  url('fonts/2FA0A8_1_0.woff2') format('woff2');
}

a {
    display: inline-block;
    color: yellow;
    transition: .3s;
    font-weight:bold;
    text-decoration:none;
}

a:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    color: white;
}

body { 

    overflow:hidden; 
    padding-left:0;
    padding-top: 22px;
    padding-right: 0; 
	height:100%;
	flex-grow: 1;
    overflow: auto;
    font-family: 'FFDINWebMedium','Arial';
    font-weight: normal;
    font-size: 14px;
    -webkit-font-smoothing: auto;
    letter-spacing: normal;
}

#sensors-selector {
    background-color: rgba(255,255,255,1) ;
    border: 0;
    border-radius: 0px;
    
    font-size: 14px;
    width:100%;
}


.custom , .ui-button{
    /* styling */
    background-color: rgba(255,255,255,1) ;
    border: 0;
    border-radius: 0px;
    
    color: black;
    line-height: 20px;
    padding: 5px;

    border-style: solid;
    border-width: 1px;
    border-color: rgba(128,128,128,0.7);

    /* reset */
    width: 100% !important;
    min-width: 0 !important;
    text-align: left;
    height: 35px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#settings-button {
    display:block;
    overflow: hidden;   
    border-radius: 30px;
    position:absolute;
    background: rgba(15,25,15,0.4);
    padding: 5px;
    cursor:pointer;
    width:60px;
    height:60px;
    left: 5px; 
    top: 10px; 
    z-index: 3;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(128,128,128,0.7);
    box-shadow: 5px 5px 10px #999;
}
#settings-cpm {
	display: block;
	overflow: hidden;
	border-radius: 30px;
	position: absolute;
	background: rgba(15,25,15,0.4);
	padding: 5px;
	cursor: pointer;
	width: 60px;
	height: 60px;
	right: 55px;
	top: 10px;
	z-index: 3;
	border-style: solid;
	border-width: 1px;
	border-color: rgba(128,128,128,0.7);
    box-shadow: 5px 5px 10px #999;
}
#settings-aqi {
    display:block;
    overflow: hidden;
    border-radius: 30px;
    position:absolute;
    background: rgba(15,25,15,0.4);
    padding: 5px;
    cursor:pointer;
    width:60px;
    height:60px;
    right: 120px;
    top: 10px;
    z-index: 3;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(128,128,128,0.7);
    box-shadow: 5px 5px 10px #999;
}
#details-title {
    min-height: 70px;
}

#close-button {
    float:right;    
    border-radius: 30px;
    padding: 2px;
    cursor:pointer;
    width:60px;
    height:60px;
    z-index: 3;
}
#email-link {
    float:right;    
}

#flag-button {
    float:right; 
    margin: 10px;
    margin-top: 16px;
    padding: 2px;
    cursor:pointer;
    max-width:40px !important;
    z-index: 4;
}

#chart-button {
    float:right; 
    margin: 10px;
    padding: 2px;
    cursor:pointer;
    width:40px;
    height:40px;
    z-index: 4;
}

#email-button {
    padding: 2px;
    width:40px;
    height:40px;
    margin: 10px;
    z-index: 3;   
}

#name {
    float:left;
    padding-left: 10px;
    max-width: 50%;
    word-wrap:break-word;
    font-size: 28px;
    line-height: 30px;
}

#status-online {
    float:left;    
    display: none;
    border-radius: 30px;
    background: rgb(55,220,20);
    text-align: center;
    cursor:pointer;
    margin-left: 10px;
    margin-top: 14px;
    padding: 10px;
	z-index: 3;
    border-style: solid;
    border-width: 3px;
    border-color: white;
}
#status-offline  {
    float:left;    
    border-radius: 30px;
    background: red;
    cursor:pointer;
    text-align: center;
    margin-left: 10px;
    margin-top: 14px;
    padding: 10px;
	z-index: 3;
    border-style: solid;
    border-width: 3px;
    border-color: gray;
}
.container-title {
    background-color: #ccc;
    width: auto;
    display: block;
    color: 0;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
}
#myProgress {
  width: 100%;
  background-color: rgb(220,220,220);
}

#myBar {
  width: 1%;
  height: 5px;
  background-color: rgba(15,25,15,0.4);
}
#sensors-container {
    position: absolute;
    overflow: hidden;  
    max-width: 300px; 
    display:none;
    padding: 20px;
    background: rgba(15,25,15,0.4);
    margin: 15px 0;
    display: block;
    float: left;
    z-index:4;
    left:10px;
    top:80px;
    color: white;
    background-size:100% 100%;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(128,128,128,0.7);
    box-shadow: 5px 5px 10px #999;
}

.badge {
    font-size: 24px;
}

#settings-label {
    display:block;
    position:absolute;
    color:white;
    font-family: 'FFDINWebBold';
    text-shadow: 1px 1px black;
    font-size: 24px;
    height:60px;
    left:80px; 
    top:28px; 
    z-index: 3;
}


#sensors-note {
    position: absolute;
    left: 80px;
    top: 52px;
    width: 70%;
    font-size: 18px;
    text-align: left;
    color: white;
    z-index: 3;
    font-family: 'FFDINWebBold';
    text-shadow: 1px 1px black;
    
}
#aqi-container {
    position: absolute;
    bottom:4em; 
    z-index: 3;
    margin-left: 15px;

    margin-right: auto;
    text-align:center;
    overflow: hidden;
    box-shadow: 5px 5px 10px #999;
}


.aqi-span {
    background: rgba(15,25,15,0.4);
    color: white;    
    height: auto;
    padding: 10px;
    position: relative;
    font-size: 18px;
    border-width: 1px;
    border-color: rgba(128,128,128,0.7);
    overflow: hidden;;

}

.flex-container {
  display: flex;
}
.flex-container > div {
  margin-right: 10px;
}
.aqi-green {
    color:rgba(0,255,0,1);
}
.aqi-yellow {
    color:rgba(255,255,0,1);
}
.aqi-red {
    color:rgba(255,0,0,1);
 }
.aqi-magenta {
    color:rgba(255,0,255,1);
 }


.selecter .selecter-selected { text-align: center; }

.ui-widget-content {
    background: lightgray;
    border:4px;
    border-style:solid;
    border-color: white;
    color: black;
}
.ui-datepicker-calendar {
    color: white;
}



#map-container {
    overflow: hidden;   
    position: fixed;
    z-index: 2;  /* change to -1 to have the section div above this and make scrolling easier: catch clicks and change CSS dynamically */
    width: 100%;
	height:100%;    
    padding: 0;
    margin: 0 auto; 
    margin-top: -24px;
    box-shadow: 5px 5px 10px #999;
}



#details-container {
    position: absolute;
    overflow: hidden;  
    display:none;
    width: 90%;
    left: 0; 
    right: 0;
    margin-left: auto; 
    margin-right: auto; 
    top: 11em;
    max-width:600px;
    color: white;
    background: rgba(15,25,15,0.4);
    z-index:4;
    border-width: 1px;
    border-color: rgba(128,128,128,0.7);
    box-shadow: 5px 5px 10px #999;
}

#details-container hr {
    border: 0;
    border-top: 1px dotted white;
    margin-top: 2px;
    margin-bottom: 2px;
}

#sensors-container hr {
    border: 0 !important;
    border-top: 1px dotted white !important;
}


#details-container .small {
    font-size: 12px;
}

#details-container h1 {
    font-stretch: ultra-condensed;
}

#details-warning {
    border: 1px;
    background-color: rgb(45,45,45);
    border-style: dashed;
    padding: 5px;
    font-size: 14px;
    font-family: "Arial Narrow";
    margin-bottom: 5px;
    min-height: 5em;
    text-align: vertical;
}
#details-warning img {
    width: 4em;
    height: 4em;
    float: left;
    margin-right: .5em;
}

#details-legend {
    right:.5em;
    width: 100%;
    text-align: center;
    padding: 2px;
    font-size: 75%;
}

#details-chart {
    display: block;
    height: 100%;
    padding:10px;
    max-height:200px;
    margin-left:5%;
    margin-right:5%;
    margin-bottom: 20px;
}
#details-clusters {
    display: none;
    height: 100%;
    max-height:200px;
    margin-left:5%;
    margin-right:5%;
}
.details-img {
    max-height: 240px;
}



@media only screen and (max-device-width : 640px) {

    #details-container {
        top: 5em;
        left:.5em;
        right:.5em;
    }
    #details-chart {
        max-height:150px;
        max-width: 90%;
    }
}


.left {
    float: left;
}
.right {
    float: right;
}

.red {
    color: red;
}

.green {
    color: green;
}

#status-loader {
    display: none;
}
.col-md-2 {
    height: 100%;
}

.col-md-2 img {
    width: 50%;
}

.col-md-2 .cpr {
    position: absolute;
    left:0;
    text-align: center;
    width: 100%;
    bottom: 0;
    padding-bottom: 10px;
}

/*img[id^="loader-"] {*/
.loader {
    width:16px !important;
    height:16px !important;
    margin-left:10px !important;
}

.checkbox {
    margin: 0;
    font-size: 12px;
    height: 32px;
}

.ol-mouse-position {
    top: 1.6em !important;
    margin-right: 4em;
    color: #fff;
    background-color: rgba(15,25,15,0.4);
    border-radius: 5px;
    padding: 2px;
    margin-top:1px;
    font-size: 75%;
}

.ol-overviewmap {
    margin-bottom: 3em;
    margin-top: 0.5em;
}

.ol-scale-line {}
.ol-control button {
    width: 2em !important;
    height: 2em !important;
}
.ol-zoom  {
    right: .5em !important;
    left: auto !important; 
}
.ol-full-screen {
    top: 8em !important;
}

#map-copyright {
    display: block;
    position: absolute; 
    left: 5px;
    bottom:5px; 
    font-size:75%;
    z-index:3;
    color: white;
text-shadow: 1px 1px black;
}

#map-logo {
    display: none;
    position: absolute; 
    right: .5em;
    bottom: 3em; 
    z-index:3;
    opacity: 0.7;
    padding: 2px;
    height:80px;
    border-radius: 2px;
}
#user-logo {
    padding: 10px;
    max-width: 250px;
}

#map-legend {
    display: none;
    position: absolute; 
    right: 5px;
    bottom: 5px; 
    font-size:75%;
    z-index:3;
    background: rgba(15,25,15,0.4);
    padding: 5px;
    color:white;
    border-radius: 2px;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(128,128,128,0.7);
    box-shadow: 5px 5px 10px #999;
}

.map-legend-element {
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    vertical-align: middle;
    margin: 1px;
}


.dygraph-legend {
    background: transparent !important;
    color: white;
}
.dygraph-axis-label  {
    color: white !important;
}
