html, body {
    width: 100%;
    height: 100%;
    font-family: "Open Sans", Verdana, Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #FFF;
    background-color: #212121;
    margin: 0;
    padding: 0;
}

.center {
    text-align: center;
}

.main-outer {
    width: 100%;
    height: 100%;
    position: relative;
}

.main-container {
    display: inline-block;
    margin: auto;
    width: 100%;
    text-align: center;
}

.main-table {
    margin: auto;
}

.section {
    padding: 14px;
    margin: auto;
}

.section.relative {
    display: inline-block;
    position: relative;
}

.section.hidden {
    max-height: 32px;
    overflow-y: hidden;
}

.section.hidden .expander {
    cursor: pointer;
    display: inline-block;
}

.section.hidden .expander:after {
    margin: 2px;
    content: '+';
    border: 1px solid white;
    color: white;
    border-radius: 14px;
    padding: 0px 5px;
}

.section.hidden .expander:hover:after {
    background-color: white;
    color: #212121;
}

.section.hidden .expander.collapser:after {
    content: '-';
    padding: 0px 8px;
}

.section.divider {
    height: 14px;
    padding-top: 28px;
}

.section.divider .line {
    height: 1px;
    background-color: white;
}

.lights {
    border-spacing: 4px;
    margin-left: -1px;
}

.lights td {
    height: 64px;
    width: 64px;
}

.lights td, .colour {
    text-align: center;
    vertical-align: middle;
}

.colour, .light-switch {
    display: inline-block;
    margin: 2px;
    height: 64px;
    width: 64px;
    padding: 2px;
    cursor: pointer;
    border: 2px solid white;
}

.label {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    color: #212121;
    opacity: 0.8;
    z-index: 10;
    font-size: 12px;
    line-height: 14px;
    font-weight: 600;
}

.light-switch {
    background-color: linen;
    color: #212121;
    font-size: 28px;
    position: relative;
}

.light-switch.on {
    border: 2px solid #00ff00;
}

.light-switch.inuse {
    border: 2px solid #ff0000;
}

input[type=checkbox] {
    display: none;
}

.colour:hover, .light-switch:hover {
    opacity: 0.8;
}

.colour.red {
    background-color: #ff0000;
}

.colour.orange {
    background-color: #ff7700;
}

.colour.yellow {
    background-color: #ffea00;
}

.colour.green {
    background-color: #65ff00;
}

.colour.turquoise {
    background-color: #00ffb4;
}

.colour.cyan {
    background-color: #00fdff;
}

.colour.midblue {
    background-color: #00a4ff;
}

.colour.blue {
    background-color: #0000ff;
}

.colour.purple {
    background-color: #8e3df9;
}

.colour.violet {
    background-color: #cd52ff;
}

.colour.pink {
    background-color: #ff00c3;
}

.colour.lightpink {
    background-color: #ff95b8;
}

.disabled {
    opacity: 0.3;
}

.disabled:hover {
    opacity: 0.5;
}

table.settings {
    text-align: left;
    margin: auto;
}

table.settings td {
    padding: 4px 8px;
}

input[type=text], input[type=number], input[type=button], select {
    padding: 6px;
    font-family: "Open Sans", Verdana, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 300;
}

input[type=number] {
    width: 52px;
}

select.large, input[type=text].large {
    font-size: 18px;
    padding: 10px 14px;
    width: 500px;
    box-sizing: border-box;
}

input[type=button] {
    background-color: #212121;
    border: 2px solid white;
    color: white;
    margin: 3px;
    cursor: pointer;
    padding: 3px;
    font-size: 13px;
}

input[type=button].large {
    padding: 6px;
    font-size: 16px;
}

input[type=button]:hover, input[type=button].selected {
    background-color: white;
    color: #212121;
}

input[type=button].save {
    border-color: #00ff00;
}

input[type=button].delete {
    border-color: #ff0000;
}

input[type=button].save:hover {
    background-color: #00ff00;
    color: white;
}

input[type=button].delete:hover {
    background-color: #ff0000;
    color: white;
}

div.absolute {
    display: inline-block;
    position: absolute;
    top: 50%;
}

div.absolute.left {
    left: 0;
    transform: translate(-100%,-50%);
}

div.absolute.right {
    right: 0;
    transform: translate(100%, -50%);
    min-width: 500px;
    text-align: left;
}

#section-main-container {
}

#section-main {
    padding-top: 24px;
    padding-left: 300px;
    padding-right: 25px
}

#section-ip, #section-login {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#section-settings, #section-gradient {
    max-width: 600px;
}

#section-programs {
    position: fixed;
    background-color: #2d3035;
    padding-top: 50px;
    width: 275px;
    height: 100%;
    left: 0;
    top: 0;
}

.program {
    padding: 6px;
    border: 2px solid white;
    margin: 14px;
    cursor: pointer;
}

.program:hover {
    background-color: #4c4c4c;
}

.program.selected {
    background-color: #f1f1f1;
    color: #212121;
}

a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}