﻿html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
}

hr {
    border: none;
    margin: 0;
}

#nodemcu {
    font-size: 10pt;
    margin-top: 42px;
}

.iotpanel {
    display: inline-block;
    margin: 3px;
    width: 110px;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.iotproperty {
    font-size: 9pt;
    text-transform: capitalize;
    width: 80px;
}

body {
    margin: 0;
    margin-bottom: auto;
}

.ampm {
    display: inline;
    font-size: x-small;
}

#schedule {
    cursor: pointer;
    position: absolute;
    bottom: 14px;
    font-size: 11pt;
    left: 12px;
    padding-right: 14px;
}

#co2 {
    position: absolute;
    bottom: 60px;
    font-size: 9pt;
    left: 12px;
    padding-right: 14px;
}

#suntimes {
    position: absolute;
    bottom: 38px;
    font-size: 9pt;
    left: 12px;
    padding-right: 14px;
}

#minimise {
    display: inline-block;
    cursor: pointer;
    position: absolute;
    right: 4px;
    margin-top: 8px;
    margin-right: 8px;
}

#suspend {
    float: left;
    margin-top: 8px;
    cursor: pointer;
}

#chaos {
    display: inline-block;
}

#freeze {
    display: inline-block;
    cursor: pointer;
}

#camera {
    display: inline-block;
    cursor: pointer;
}

#flood {
    display: inline-block;
    cursor: pointer;
}

#supply {
    display: inline-block;
    cursor: pointer;
}

#dash {
    cursor: pointer;
}

#actions {
    left: 10px;
    top: 4px;
    position: absolute;
    font-size: 14pt;
    margin-top: 4px;
}

.spacer {
    width: 2px;
    height: 6px;
    display: inline-block;
}

#alerts {
    cursor: pointer;
    color: #555555;
}

.heatingicon {
    display: inline;
    padding: 4px;
}

#widgets {
    text-align: center;
    font-size: 17pt;
    width: 100%;
    top: 0;
    transition: all 0.5s ease 0s;
    bottom: 0;
    color: #ccc;
    position: fixed;
    background: linear-gradient(to bottom, #000, #222);
}

.rowsocket {
    background: linear-gradient(to bottom, #eaeaea, #fefefe);
    border-top: 4px solid #eeeeee;
    text-align: right;
    padding: 16px;
}

#sockets {
    display: none;
    width: 100%;
    margin-bottom: 100px;
}

.socketcontrol {
    display: inline-block;
}

.socketlabel {
    display: inline-block;
    font-size: 12pt;
    height: 100%;
    color: #808080;
    margin-right: 8px;
}

.switch {
    display: inline-block;
    margin-right: 8px;
}

.onoffswitch {
    position: absolute;
    width: 90px;
    margin-left: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: left;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #999999;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

    .onoffswitch-inner:before, .onoffswitch-inner:after {
        display: block;
        float: left;
        width: 50%;
        height: 30px;
        padding: 0;
        line-height: 30px;
        font-size: 14px;
        color: white;
        font-family: Trebuchet, Arial, sans-serif;
        font-weight: bold;
    }

    .onoffswitch-inner:before {
        content: "ON";
        padding-left: 10px;
        background-color: #EEEEEE;
        color: #dd0000;
    }

    .onoffswitch-inner:after {
        content: "OFF";
        padding-right: 10px;
        background-color: #EEEEEE;
        color: #999999;
        text-align: right;
    }

.onoffswitch-switch {
    display: block;
    width: 26px;
    margin: 0;
    background: #FFFFFF;
    position: absolute;
    top: 4px;
    bottom: 4px;
    right: 60px;
    border: 2px solid #999999;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 5px;
}

.nudge {
    display: inline-flex;
    width: 32px;
    height: 32px;
    color: #666;
    background-color: #fff;
    font-size: 12pt;
    border: solid 2px #aaa;
    padding: 6px;
    border-radius: 16px;
    cursor: pointer;
    user-select: none;
}

.temperatureTarget {
    display: inline-block;
    border-radius: 6px;
    border-width: 3px;
    width: 32px;
    text-align: center;
    margin-left: 8px;
    margin-right: 8px;
    font-size: 15pt;
    border-color: #ccc;
}

.timeinput {
    height: 30px;
    border: 1px solid #cccccc;
    width: 80px;
    text-align: center;
}

#rf {
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    top: auto !important;
    right: 12px;
    font-size: 24pt;
}

.rf {
    margin-bottom: 8px;
}

.rfbuttonon {
    padding-top: 3px;
    margin-right: 8px;
    width: 50px;
    height: 33px;
    background: yellow;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    text-align: center;
    display: inline-block;
    border: 1px solid #555555;
    cursor: pointer;
}

.rfbuttonoff {
    padding-top: 3px;
    margin-right: 8px;
    width: 50px;
    height: 33px;
    background: #808080;
    color: #ffffff;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    text-align: center;
    display: inline-block;
    border: 1px solid #555555;
    cursor: pointer;
}

.pulse {
    float: right;
    cursor: pointer;
    border: 1px solid #555555;
    border-radius: 6px;
    padding: 4px;
}
