body{
    font-family: verdana;
    -webkit-transform: translateZ(0);
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

*:not(input):not(textarea) {
    -webkit-user-select: none; /* disable selection/Copy of UIWebView */
    -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
}

.configButton {
    border: 1px solid grey;
    border-radius: 5px; 
    width:15px;
    padding:2px;
    touch-action: manipulation;
}
.configLine {
    border-top:2px solid grey; 
    margin:2;
}
.logger{
    font-size: 9px; 
}
.buttonZoom {
    display:inline-block;
    border: 1px solid grey;
    border-radius: 5px; 
    width:18px;
    height:18px;
    line-height:18px;
    touch-action: manipulation;
    margin-left:5px;
    _padding:3px;
    font-size: 10px; 
    font-weight : bold;
    text-align: center;
    justify-content: center;
    padding:1px; 
}
.statusbar {
    display:inline-block;
    _border: 1px solid grey;
    border-radius: 5px; 
    width:18px;
    height:18px;
    line-height:18px;
    touch-action: manipulation;
    margin-left:5px;
    _padding:3px;
    font-size: 10px; 
    _font-weight : bold;
    text-align: center;
    justify-content: center;
    padding:1px;
}
.timeTicker {
    display:inline-block;
    border-radius:5px; 
    border: 1px solid orange; 
    padding:1px; 
    touch-action: manipulation;
    font-size: 10px; 
    margin: 10px; 
    height: 18px;
    line-height:18px;
    width:180px;
}
h1{
    font-size: 15px; 
    font-weight : bold;
    text-align:center;
    font-variant: small-caps; 
    width:100%;  
    margin:2 0 10 0;
    vertical-align:middle;
}

.heatium{
    display:inline-block;
    text-align:center;
    font-variant: small-caps; 
    text-weight:bold; 
    width:100%;  
    --top:5px; 
    margin-bottom:10;
    --line-height:22px;
    --padding:4px;
    vertical-align:middle;
    border-bottom:1px solid  grey;
}
.jalert{
    width:100%;
    -line-height: 80px;
    height:80;
    display:block;
    top:0;
    vertical-align:middle;
    position:absolute;
    border-radius: 5px;
}


.RTFlagCount{
    color: orange;
    font-size: 7px; 
}

.RTFlag{
    position:absolute;
    top:3; 
    left:7;
    color: orange;
    display:block;
}
.RTLoop{
    border:none;
    top : 0;
    left: 0;
    border-radius:14px;
    width:28px;
    height:28px;
    margin:0px;
    display:none;
    padding:0px;
    position:absolute;
    background: linear-gradient(white, orange);
    opacity:0.4;
}

.copyright{
    font-size: 7px; 
    text-align:center;
}

.copyright a {
    color: rgb(50, 50,50);
}
.notes {
    font-size: 8px; 
    text-align:center;
}
.notes a {
    color: rgb(50, 50,50);
}

.RTLoopIn{
    _border:1px solid black;
    top : 2;
    left: 2;
    border:none;
    border-radius:12px;
    width:24px;
    height:24px;
    margin:0px;
    padding:0px;
    background: white;
    _opacity:0.4;
}
.setup{
    position:absolute;
    top:30px;
    right:20px;
    left:20px;
    border: 1px solid orange;
    background-color:white;
    box-shadow: 10px 10px 5px #888888;
    _box-shadow: 100px 100px 5px #888888,
                -100px -100px 5px #888888,
                100px -100px 5px #888888,
                -100px 100px 5px #888888
        ;
    height:400px;
    _width:80%;
    font-size: 10px; 
    margin:10px;
    padding:20px;
    opacity:1;
    display:none;

}
.setupLabel{
    width:70px;
    display:  inline-block;;

}            
.setupInput{
    width:100px;
    height:20px;
}
.setup span{
    display:block;
    margin: 2px;
}

.setupContainer {
    position:absolute;
    top:31;
    left:1;
    bottom:100;
    right:1;
    background-color:rgba(90,90,90,0.8);
    color:grey;               
}

.houseControl {
    --display:inline-block;
    display:hidden;
    width:100%;
}

.home {
    margin: 0 15 0 15;
    -border:1px solid black;
    display:inline-block; 
    --padding:5px;
    width:75px; 
    height:75px;

}
.a_home{
    display:block;
    width:100%;
    padding: 0 0 0 10;
    min-height: 100%;
    height:100%;
    -border: 0px solid red;
}
.a_home::after{
    content:"";
    background-image: url("/web/20180901073154im_/http://heatium.eu/heatium_house.png"); 
    background-repeat:no-repeat;
    background-size:contain;
    background-position: center;
    opacity:0.5;
    position: absolute;
    top: 100%-91;
    left: 25;
    height:50;
    width:50;
}

.a_home_temp_in{
    position:absolute;
    display:inline-block;
    height:50;
    margin:5 0 0 0px;
    line-height:50px;
    color: black;
    font-size: 12px; 
    font-weight : bold
}
.a_home_temp_out{
    font-size: 12px; 
    font-weight : bold
        color:blue;
}
.heatingZones{
    top:10px;
    right:10px;
    --display:inline-block; 
    display:none;
    visilibity:hidden;
    width:200; 
    height:100; 
    border:1px solid pink;
}

.heatingZones p{

    width:90px;
    border-radius:10px;
    border:1px solid blue;
    background-color:white;
    line-height:15px;
    touch-action: manipulation;
    margin:3px;
    font-size: 10px; 
    font-weight : bold;
    text-align: center;
    display:inline-block;
}

.popuptext_background {
    width:90%; // this sucks.
    display:inline-block;
    height:80%; 
    background-color:rgba(150,150,150,0.2); 
    touch-action: manipulation;
    position:absolute; 
    top:30;
    left: 0;
    padding:20;
    visibility: hidden;
}

/* The actual popup (appears on top) */
.popuptext {
    width: 180px;
    background-color: #555;
    color: #fff;
    --touch-action: manipulation;
    text-align: center;
    border-radius: 6px;
    margin-top:10;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
    --z-index: 1;
}

/* Popup arrow */
/*
.popuptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}*/
.show {
    display:inline-block;
    visibility: visible;
    -webkit-animation: fadeIn 0.2s;
    animation: fadeIn 0.2s
}
/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}

.action_popup{
    position:absolute;
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px ;
    position: absolute;
}
.action_area{
    font-size: 14px; 
    font-weight : bold;
    padding:10px;
    margin-bottom:5
}
.actions{
    margin-top:10px;
}
.actions button{
    font-size: 13px; 
    border: 1px solid white;
    background-color:#555;
    height:28px;
    color: white;
    width:120px;
    margin:10px;
    border-radius:14px;
}
.actions p{
    font-size: 13px; 
    background-color:#555;
    height:20px;
    color: white;
    width:120px;
    margin:5px;
}

/*----------------------------------------------------------------------------- */
.dygraph-legend {
    position: absolute;
    font-size: 14px;
    z-index: 10;
    width: 250px;  /* labelsDivWidth */
    /*
    dygraphs determines these based on the presence of chart labels.
    It might make more sense to create a wrapper div around the chart proper.
    top: 0px;
    right: 2px;
    */
    background: white;
    line-height: normal;
    text-align: left;
    overflow: hidden;
}

/* styles for a solid line in the legend */
.dygraph-legend-line {
    display: inline-block;
    position: relative;
    bottom: .5ex;
    padding-left: 1em;
    height: 1px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    /* border-bottom-color is set based on the series color */
}

/* styles for a dashed line in the legend, e.g. when strokePattern is set */
.dygraph-legend-dash {
    display: inline-block;
    position: relative;
    bottom: .5ex;
    height: 1px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    /* border-bottom-color is set based on the series color */
    /* margin-right is set based on the stroke pattern */
    /* padding-left is set based on the stroke pattern */
}

.dygraph-roller {
    position: absolute;
    z-index: 10;
}

/* This class is shared by all annotations, including those with icons */
.dygraph-annotation {
    position: absolute;
    z-index: 10;
    overflow: hidden;
}

/* This class only applies to annotations without icons */
/* Old class name: .dygraphDefaultAnnotation */
.dygraph-default-annotation {
    border: 1px solid black;
    background-color: white;
    text-align: center;
}

.dygraph-axis-label {
    /* position: absolute; */
    /* font-size: 14px; */
    z-index: 10;
    line-height: normal;
    overflow: hidden;
    color: black;  /* replaces old axisLabelColor option */
}

.dygraph-axis-label-x {
}

.dygraph-axis-label-y {
}

.dygraph-axis-label-y2 {
}

.dygraph-title {
    font-weight: bold;
    z-index: 10;
    text-align: center;
    /* font-size: based on titleHeight option */
}

.dygraph-xlabel {
    text-align: center;
    /* font-size: based on xLabelHeight option */
}

/* For y-axis label */
.dygraph-label-rotate-left {
    text-align: center;
    /* See http://caniuse.com/#feat=transforms2d */
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
}

/* For y2-axis label */
.dygraph-label-rotate-right {
    text-align: center;
    /* See http://caniuse.com/#feat=transforms2d */
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
} 
/*----------------------------------------------------------------------------- */

._dygraph-legend {
    background-color: rgba(200, 200, 255, 0.75) !important;
    padding: 4px;
    border: 1px solid #000;
    border-radius: 10px;
    box-shadow: 4px 4px 4px #888;
    pointer-events: none;
    width: 100px;
}


#chart{
    width: 100%;
    height: 100%;
    display: inline-block;
    font-size: 13px;
    font-family: verdana;
    border:0;
}

#chart-labels-full{
    width: 30%;
    padding:40;
    padding:10; 
    position:absolute;
    display:none;

    _display:inline-block;
    font-size:13;
    font-family: tahoma
}
