﻿html {
    height: 100%
}

body {
    min-height: 100%;
    position: relative
}

.cube:nth-child(1), .cube:nth-child(1) div {
    z-index: 1;
    animation-delay: .08333s
}

.cube:nth-child(2), .cube:nth-child(2) div {
    z-index: 2;
    animation-delay: .16667s
}

.cube:nth-child(3), .cube:nth-child(3) div {
    z-index: 3;
    animation-delay: .25s
}

.cube:nth-child(4), .cube:nth-child(4) div {
    z-index: 4;
    animation-delay: .33333s
}

.cube:nth-child(5), .cube:nth-child(5) div {
    z-index: 5;
    animation-delay: .41667s
}

.cube:nth-child(6), .cube:nth-child(6) div {
    z-index: 6;
    animation-delay: .5s
}

.cube:nth-child(7), .cube:nth-child(7) div {
    z-index: 7;
    animation-delay: .58333s
}

.cube:nth-child(8), .cube:nth-child(8) div {
    z-index: 8;
    animation-delay: .66667s
}

#pos {
    width: 170px;
    margin: 0 auto
}

#loadingContainer {
    width: 100%;
    perspective: 2200px;
    padding: 20px 60px;
    position: relative;
    display: block;
    vertical-align: middle;
    height: 80px;
    margin-top: 7px
}

#success {
    display: block
}

    #success h4 {
        display: block;
        margin: 11px auto 11px auto;
        padding: 14px 0;
        text-align: center;
        color: #3869a5;
        font-weight: 400
    }

.cube {
    width: 13px;
    height: 33px;
    position: relative;
    margin-right: 8px;
    float: left;
    transform-style: preserve-3d;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    animation: animCube;
    animation-iteration-count: infinite
}

    .cube div {
        position: absolute;
        display: block;
        width: 13px;
        height: 33px
    }

    .cube .center {
        width: 13px;
        box-shadow: 0 0 3px rgba(0,0,0,0.3),inset 0 1px rgba(255,255,255,0.05);
        animation: animCenter;
        animation-iteration-count: infinite
    }

    .cube .bottom {
        width: 13px;
        height: 10px;
        bottom: 0;
        transform: rotateX(90deg);
        transform-origin: center bottom;
        animation: animBottom;
        animation-iteration-count: infinite
    }

    .cube .left {
        left: 0;
        transform: rotateY(90deg);
        transform-origin: left center;
        animation: animSide;
        animation-iteration-count: infinite
    }

    .cube .right {
        right: 0;
        transform: rotateY(-90deg);
        transform-origin: right center;
        animation: animSide;
        animation-iteration-count: infinite
    }

    .cube .left, .cube .center, .cube .right, .cube .bottom, .cube {
        animation-duration: 1.75s;
        animation-timing-function: ease-in-out
    }

        .cube .left, .cube .right {
            background-color: #2b2830;
            background-image: linear-gradient(to bottom,rgba(255,255,255,0.1),rgba(255,255,255,0))
        }

        .cube .center {
            background-color: #2e467e;
            background-image: linear-gradient(to bottom,rgba(255,255,255,0.15),rgba(255,255,255,0))
        }

        .cube .bottom {
            background-color: #3869a5;
            background-image: linear-gradient(to top,rgba(255,255,255,0.1),rgba(255,255,255,0))
        }

@keyframes animCube {
    30% {
        transform: translateZ(33px) translatex(0) translateY(0) rotatex(3deg) rotatey(0deg) rotateZ(0deg);
        box-shadow: 0 0 20px rgba(55,118,162,.2),0 12px 20px 1px rgba(55,118,162,.2)
    }

    100% {
        transform: translateZ(0px) rotatez(0deg);
        box-shadow: 0 0 15px rgba(0,0,0,0.5),0 0 0 0 transparent
    }
}

@keyframes animSide {
    30% {
        width: 13px;
        background-color: #3767a2
    }

    95% {
        width: 10px
    }
}

@keyframes animBottom {
    30% {
        height: 33px
    }

    95% {
        height: 10px
    }
}

@keyframes animCenter {
    20% {
        background-color: #3869a5;
        box-shadow: 0 0 3px rgba(255,255,255,0.15),inset 0 1px rgba(255,255,255,0.5)
    }

    65% {
        box-shadow: 0 0 3px rgba(255,255,255,0),inset 0 1px rgba(255,255,255,0.25)
    }
}

.btn-primary {
    background-color: #3870af;
    border-color: #2e6da4
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
}

.mhd {
    background: #f5f5f7;
    background: -moz-linear-gradient(top,rgba(245,245,247,1) 0,rgba(227,229,229,1) 100%);
    background: -webkit-linear-gradient(top,rgba(245,245,247,1) 0,rgba(227,229,229,1) 100%);
    background: linear-gradient(to bottom,rgba(245,245,247,1) 0,rgba(227,229,229,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f7',endColorstr='#e3e5e5',GradientType=0);
    font-size: 18px;
    font-weight: 700;
    padding: 15px 14px 9px 0;
    color: #2e467e;
    border-bottom: 1px solid #bbb;
    border-top: 1px solid #fff;
    -webkit-border-top-left-radius: 7px;
    -webkit-border-top-right-radius: 7px;
    -moz-border-radius-topleft: 7px;
    -moz-border-radius-topright: 7px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px
}

    .mhd h1 {
        margin: 0 0 0 19px;
        padding-bottom: 0;
        text-align: right;
        float: right;
        color: #6e7278;
        text-shadow: 0 2px 1px rgba(255,255,255,0.65);
        font-size: 21px;
        display: inline-block;
        vertical-align: middle;
        font-weight: 300;
        font-style: italic
    }

.loginCtn {
    padding-right: 21px
}

.loginLink {
    font-size: 14px;
    font-weight: 500;
    text-align: right
}

.loginDivide {
    margin: 0 7px
}

.userType {
    font-size: 14px;
    font-weight: 600
}

.login {
    font-style: italic;
    color: #2e467e;
    text-decoration: underline
}

.headerLinks {
    font-size: 13px;
    text-align: right;
    padding-top: 10px
}

.logoutBtn {
    margin-left: 7px
}

.commit {
    color: red
}

.mc {
    padding: 7px 14px 7px 17px
}

.mainRow {
    padding-bottom: 50px
}

.mc h1 {
    border-radius: 3px;
    -moz-border-radius: 3px;
    text-transform: uppercase;
    !important;
    font-weight: 500;
    font-size: 23px !important
}

h1 {
    color: #2e467e
}

.red {
    color: red
}

.blue {
    color: blue
}

.green {
    color: green
}

.yellow {
    color: #d3ba10
}

.grey {
    color: grey
}

.panel-heading {
    background: #6a7296;
    background: -moz-linear-gradient(top,rgba(106,114,150,1) 0,rgba(72,78,102,1) 100%);
    background: -webkit-linear-gradient(top,rgba(106,114,150,1) 0,rgba(72,78,102,1) 100%);
    background: linear-gradient(to bottom,rgba(106,114,150,1) 0,rgba(72,78,102,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6a7296',endColorstr='#484e66',GradientType=0);
    color: #fff !important;
    text-transform: uppercase
}

    .panel-heading span {
        margin-right: 7px
    }

    .panel-heading p {
        text-transform: none !important
    }

.explanationText {
    margin-bottom: 14px;
    font-style: italic
}

.hide {
    display: none
}

.tooltip-inner {
    width: 500px
}

.panel {
    -webkit-box-shadow: 0 5px 7px 0 rgba(0,0,0,0.07);
    -moz-box-shadow: 0 5px 7px 0 rgba(0,0,0,0.07);
    box-shadow: 0 5px 7px 0 rgba(0,0,0,0.07);
    background: rgba(255,255,255,0.65);
    max-width: 1000px
}

.bigPanel {
    max-width: 1300px !important
}

.panelGroup {
    border: 1px solid #ccc;
    margin-bottom: 14px;
    padding: 7px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    background: #f8f8f8
}

.panel h3 {
    font-size: 20px
}

.panel h4 {
    text-transform: uppercase;
    margin-top: 7px
}

.form-control {
    height: 28px
}

.ttIcon {
    color: #787878
}

.f {
    display: block;
    margin: 7px 0;
    clear: both
}

.ic {
    display: inline-block;
    margin-right: 7px
}

.l {
    float: left;
    text-align: right;
    font-weight: 600;
    margin: 0 14px 0 0;
    min-width: 150px
}

.i {
    float: left;
    text-align: left;
    font-weight: 400;
    padding-top: 7px
}

.pdlf0 {
    padding-left: 0
}

.clear {
    clear: both
}

.mm {
    padding-left: 0;
    padding-right: 0;
    width: 215px
}

#responsiveMenu {
    cursor: pointer;
    display: none;
    width: 100%
}

.rmh {
    float: left;
    padding: 7px 0 0 14px;
    display: none
}

.navbar-header {
    cursor: pointer
}

.ipCtn {
    width: 50px;
    display: inline-block;
    margin: 0 3px
}

.smallSelect {
    max-width: 150px !important
}

select.date {
    width: auto !important;
    display: inline
}

.note {
    font-style: italic;
    font-size: 12px;
    color: #676767
}

.subCtn {
    text-align: center;
    padding: 0
}

    .subCtn button {
        margin: 0 5px
    }

.form-group input, .form-group select {
    max-width: 300px
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-top: 78px;
    text-align: center;
    border-top: 1px solid #dedede;
    padding: 14px 0 3px 0;
    background: #f5f5f7;
    background: -moz-linear-gradient(top,rgba(245,245,247,1) 0,rgba(227,229,229,1) 100%);
    background: -webkit-linear-gradient(top,rgba(245,245,247,1) 0,rgba(227,229,229,1) 100%);
    background: linear-gradient(to bottom,rgba(245,245,247,1) 0,rgba(227,229,229,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f7',endColorstr='#e3e5e5',GradientType=0);
    -webkit-border-bottom-right-radius: 7px;
    -webkit-border-bottom-left-radius: 7px;
    -moz-border-radius-bottomright: 7px;
    -moz-border-radius-bottomleft: 7px;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px
}

.deviceStatus {
    color: #109f35
}

.addIO {
    text-align: right;
    border-top: 1px solid #ddd;
    display: block;
    margin: 14px 0 14px 0;
    padding: 14px 0 0 0
}

.modal-header {
    background-color: #f0f0f2;
    -moz-border-radius-topleft: 6px;
    -moz-border-radius-topright: 6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px
}

.modal-title {
    color: #2e467e !important
}

.widthAuto {
    width: auto !important
}

.taskForm {
    margin: 7px 14px
}

.addTaskBtn {
    margin: 10px 4px 0 0;
    float: right;
    display: inline-block;
    font-size: 13px
}

.well h5:first-child {
    margin-top: 0
}

.well h5 {
    font-weight: 600;
    font-size: 15px
}

.logCheck {
    padding: 0 3px;
    margin-right: 7px;
    border-radius: 4px !important
}

    .logCheck span.glyphicon {
        opacity: 0
    }

    .logCheck.active span.glyphicon {
        opacity: 1
    }

.andor {
    text-align: right;
    margin: 9px 0
}

.ioCtrlContain {
    border: 1px solid #ccc;
    padding: 7px 30px 7px 0;
    border-radius: 3px;
    background: #e2e2e3;
    position: relative;
    margin: 9px 0
}

    .ioCtrlContain h3 {
        margin-top: 10px;
        font-size: 19px;
        color: #454545
    }

    .ioCtrlContain h5 {
        padding: 2px 0;
        margin: 2px 0;
        text-transform: uppercase
    }

    .ioCtrlContain p {
        margin-top: 0
    }

.ioCtrl {
    border: 1px solid #ccc;
    padding: 8px 10px 5px 10px;
    background-color: #f8f8f8;
    border-radius: 3px;
    margin: 10px 0
}

    .ioCtrl .ioAdd {
        margin: 0 7px 0 0;
        float: right
    }

.ctrlOptions {
    text-align: center;
    border-right: 1px solid #ccc;
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #ccc;
    padding: 5px 0 7px 0;
    background: #e8e8e8
}

    .ctrlOptions:first-child {
        border-left: 1px solid #ccc
    }

    .ctrlOptions:last-child {
        border-right: 0
    }

.addBtn {
    float: right;
    margin: 7px 0 14px 0
}

.deleteBtn {
    position: absolute;
    right: -1px;
    top: -1px;
    color: #777;
    padding: 0 5px;
    border-radius: 3px;
    text-decoration: none
}

    .deleteBtn:hover {
        color: #444;
        text-decoration: none;
        background-color: rgba(255,255,255,0.4);
        border: 1px solid rgba(0,0,0,0.4)
    }

.btnCheckBox {
    margin: 4px 0 4px 0
}

.labelBtn {
    text-align: center;
    min-width: 125px;
    font-size: 13px;
    margin: 7px;
    border: 1px solid #aaa;
    border-radius: 7px;
    background: #e2e2e2;
    background: -moz-linear-gradient(top,rgba(226,226,226,1) 0,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(242,242,242,1) 100%);
    background: -webkit-linear-gradient(top,rgba(226,226,226,1) 0,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(242,242,242,1) 100%);
    background: linear-gradient(to bottom,rgba(226,226,226,1) 0,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(242,242,242,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e2e2e2',endColorstr='#f2f2f2',GradientType=0);
    padding: 1px 4px 5px 4px
}

.btnLabel {
    margin-top: 3px;
    display: inline-block;
    font-weight: 500 !important
}

.ctrlState .labelBtn {
    background: #eee !important;
    width: 95%
}

.labelBtn input, .labelBtn p {
    font-weight: 500
}

.labelBtn input {
    text-align: center
}

#checkboxCalendar label, #checkboxCalendar2 label {
    width: 35px !important;
    border-radius: 0 !important
}

#checkboxCalendarYear label, #checkboxCalendarYear2 label {
    width: 63px !important;
    border-radius: 0 !important
}

.disabled {
    color: #aaa !important
}

.bold {
    font-weight: 600
}

.well hr {
    border-top: 1px solid #dedede !important
}

#setTimer1, #setTimer2, #setTimer3, #sSetTimer1, #sSetTimer2 {
    margin-top: 7px
}

.cbCtn {
    border: 1px solid #ccc;
    padding: 0 0 5px 13px;
    border-radius: 4px;
    max-width: 100px;
    background: #fafafa
}

.inlineCheckboxes .btn.active {
    opacity: 1;
    background: #259fde;
    color: #fff
}

.inlineCheckboxes .btn.focus {
    outline: 0
}

#setTimeContain {
    border: 1px solid #ccc;
    padding: 7px;
    border-radius: 3px;
    margin: 14px 0 0 0
}

.timeContain:first-child {
    margin-top: 0
}

.timeContain {
    margin-top: 14px;
    display: block
}

.selectpicker {
    display: inline-block;
    height: 34px;
    border: 1px solid #bcbcbc;
    -webkit-appearance: menulist-button
}

.selectWide {
    min-width: 200px
}

.triggerStatus {
    display: block;
    margin: 14px 0
}

.actionStatus {
    margin-top: 14px
}

.ctrlDeviceContain {
    display: block;
    margin: 14px 0
}

#showEndTime {
    display: block;
    margin: 7px auto;
    width: 70%
}

.advFeatures {
    margin: 14px 0 0 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 14px 7px 7px 7px;
    background: #fcfcfe
}

.tile {
    color: #3a3a4d;
    position: relative;
    font-weight: bold
}

.tile {
    clear: both;
    margin-top: 10px;
    padding: 0
}

.scrubber {
    cursor: ns-resize;
    color: #777;
    margin: 1px 14px 0 0
}

.setup {
    background: rgba(150,150,155,0.35);
    padding: 14px;
    border-radius: 7px;
    clear: both
}

.noBold {
    font-weight: 400 !important
}

.setup .ioControlCtn {
    margin-left: 0;
    padding-left: 0
}

    .setup .ioControlCtn h3 {
        font-size: 18px;
        margin-bottom: 7px;
        margin-top: 5px
    }

.ctrlSetupEdit {
    border-left: 1px solid #dedede
}

    .ctrlSetupEdit button {
        max-width: 200px !important;
        display: inline-block;
        border-radius: 5px !important;
        background: #efefef !important
    }

.ioControlCtn {
    max-width: 1000px;
    margin: 13px 10px 0 14px;
    padding: 0 0 1px 0;
    vertical-align: middle;
    border-radius: 7px;
    border-bottom: 1px solid #a1abba;
    border-top: 1px solid #f8f8f8;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    background: #f9fcff;
    background: -moz-linear-gradient(top,rgba(249,252,255,1) 0,rgba(234,236,239,1) 100%);
    background: -webkit-linear-gradient(top,rgba(249,252,255,1) 0,rgba(234,236,239,1) 100%);
    background: linear-gradient(to bottom,rgba(249,252,255,1) 0,rgba(234,236,239,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9fcff',endColorstr='#eaecef',GradientType=0);
    -webkit-box-shadow: 0 10px 23px -10px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 10px 23px -10px rgba(0,0,0,0.3);
    box-shadow: 0 10px 23px -10px rgba(0,0,0,0.3)
}

.editDelete a {
    float: right;
    margin: 5px 4px 0 4px
}

.ioMainCtn {
    background: rgba(150,150,155,0.35);
    padding: 0 0 16px 0;
    border-radius: 7px;
    margin-left: 0;
    max-width: 1030px
}

.ioControlCtn h3 {
    margin: 12px 0 0 0;
    font-size: 17px;
    padding: 0
}

.ioControl button {
    text-shadow: 0 1px 2px rgba(255,255,255,1)
}

    .ioControl button:focus {
        outline: 0 !important
    }

.ioControl button, .ioControl p {
    width: 100%;
    padding: 4px 7px;
    max-width: 400px;
    margin: 7px auto 7px auto;
    display: inline-block;
    border-radius: 7px;
    background: #e2e2e2;
    background: -moz-linear-gradient(top,rgba(226,226,226,1) 0,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(242,242,242,1) 100%);
    background: -webkit-linear-gradient(top,rgba(226,226,226,1) 0,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(242,242,242,1) 100%);
    background: linear-gradient(to bottom,rgba(226,226,226,1) 0,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(242,242,242,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e2e2e2',endColorstr='#f2f2f2',GradientType=0)
}

.CtrlRedBtn {
    background: #e83630 !important;
    -webkit-box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.13) !important;
    -moz-box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.13) !important;
    box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.13) !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,1) !important
}

.CtrlBlueBtn {
    background: #194eb2 !important;
    -webkit-box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.13) !important;
    -moz-box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.13) !important;
    box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.13) !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,1) !important
}

.CtrlYellowBtn {
    background: #ffd432 !important;
    -webkit-box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.13) !important;
    -moz-box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.13) !important;
    box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.13) !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,1) !important
}

.CtrlGreenBtn {
    background: #2b980d !important;
    -webkit-box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.13) !important;
    -moz-box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.13) !important;
    box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.13) !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,1) !important
}

.CtrlBtnPressed {
    background: #adadad !important;
    background: -moz-linear-gradient(top,rgba(173,173,173,1) 0,rgba(183,183,183,1) 100%) !important;
    background: -webkit-linear-gradient(top,rgba(173,173,173,1) 0,rgba(183,183,183,1) 100%) !important;
    background: linear-gradient(to bottom,rgba(173,173,173,1) 0,rgba(183,183,183,1) 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#adadad',endColorstr='#b7b7b7',GradientType=0) !important;
    -webkit-box-shadow: inset 0 1px 5px 1px rgba(80,80,80,0.55) !important;
    -moz-box-shadow: inset 0 1px 5px 1px rgba(80,80,80,0.55) !important;
    box-shadow: inset 0 1px 5px 1px rgba(80,80,80,0.55) !important;
    color: #555 !important
}

.CtrlDisabledBtn {
    color: red !important;
    font-weight: 600 !important
}

.state {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7) !important;
    text-align: center;
    -webkit-box-shadow: inset 0 0 2px 1px rgba(0,0,0,0.15);
    -moz-box-shadow: inset 0 0 2px 1px rgba(0,0,0,0.15);
    box-shadow: inset 0 0 2px 1px rgba(0,0,0,0.15);
    cursor: default;
    border-radius: 4px !important
}

    .state:visited, .state:focus {
        color: #fff
    }

.noBorder {
    border: none !important
}

.stateCtn {
    border-right: 1px solid #dedede
}

.redbg {
    background: #eb1a1a !important
}

.greenbg {
    background: #2b980d !important
}

.bluebg {
    background: #165aae !important
}

.greybg {
    background: #9b9ca3 !important
}

.state:hover {
    color: #fff
}

.inputLabel {
    background: none !important;
    text-align: center;
    font-size: 11px;
    margin-top: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0
}

.menuIcon {
    font-size: 19px;
    margin: -5px 6px 0 7px;
    vertical-align: middle;
    display: inline-block
}

.menuIconBig {
    padding: 3px 0 0 0;
    font-size: 22px
}

.glyphicon-chevron-down {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    float: right;
    margin-top: 10px
}

.nav-side-menu {
    overflow: auto;
    max-width: 215px;
    min-height: calc(100vh - 121px);
    font-family: verdana;
    font-size: 14px;
    font-weight: 200;
    min-width: 215px;
    background-color: #e8eaeb;
    color: #fff;
    border-right: 1px solid #bcbcbf
}

.menu-items li a {
    display: inline-block;
    width: 100%
}

.nav-side-menu .toggle-btn {
    display: none
}

.nav-side-menu ul, .nav-side-menu li {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 35px;
    cursor: pointer;
    background-color: #484e66
}

.nav-side-menu li {
    padding: 5px 0
}

.nav-side-menu ul li {
    border-left: 3px solid #2563a8;
    border-bottom: 1px solid #fff
}

.navActive {
    background: #ddddde !important
}

    .navActive a {
        color: #2563a8 !important
    }

.nav-side-menu ul .active, .nav-side-menu li .active {
    border-left: 3px solid #2563a8
}

    .nav-side-menu li.active a {
        color: #98c6ff !important
    }

.nav-side-menu ul .sub-menu li.active, .nav-side-menu li .sub-menu li.active {
    color: #16487f
}

    .nav-side-menu ul .sub-menu li.active a, .nav-side-menu li .sub-menu li.active a {
        color: #2e467e
    }

.nav-side-menu ul .sub-menu li, .nav-side-menu li .sub-menu li {
    background-color: #ededef;
    color: #333;
    border: 0;
    line-height: 28px;
    border-bottom: 1px solid #fff;
    border-top: 1px solid #ddd;
    border-left: 3px solid #259fde;
    margin-left: 0
}

    .nav-side-menu ul .sub-menu li:hover, .nav-side-menu li .sub-menu li:hover {
        background-color: #c1c1c6
    }

.nav-side-menu li {
    padding: 5px 0;
    border-left: 3px solid #2e353d;
    border-bottom: 1px solid #23282e
}

    .nav-side-menu li a {
        text-decoration: none;
        color: #fff
    }

.sub-menu li {
    border-top: 1px solid #ddd
}

    .sub-menu li a {
        color: #333;
        display: inline-block;
        width: 100%;
        padding-left: 14px;
        font-size: 13px
    }

.nav-side-menu li a i {
    padding-left: 10px;
    width: 20px;
    padding-right: 20px
}

.nav-side-menu li:hover {
    border-left: 3px solid #259fde;
    background-color: #5d648f;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease
}

.mmText {
    display: none
}

@media(max-width:767px) {
    .rainCtn {
        width: 360px !important;
        float: none !important;
        clear: both
    }

    .rainInfoCtn {
        padding-bottom: 7px !important
    }

    #responsiveMenu {
        display: block
    }

    .menu-list {
        clear: both
    }

    .nav-side-menu {
        display: block;
        width: 100%;
        max-width: 100%;
        min-height: 52px;
        margin-bottom: 10px;
        border: 1px solid #ccc
    }

        .nav-side-menu li a {
            padding-left: 7px
        }

        .nav-side-menu li {
            padding: 8px 0
        }

    .sub-menu li a {
        font-size: 14px
    }

    .nav-side-menu .toggle-btn {
        display: block;
        cursor: pointer;
        right: 5px;
        top: 0;
        z-index: 10 !important;
        padding: 3px;
        color: #4969af;
        width: 40px;
        text-align: center;
        float: right;
        margin: 11px 0;
        font-size: 24px
    }

    .mmText {
        display: block;
        color: #555;
        float: right;
        margin-top: 14px;
        font-size: 17px;
        margin-right: 7px;
        font-weight: 500;
        text-transform: uppercase
    }

    .mm {
        width: 100%;
        margin-left: 3px
    }
}

@media(min-width:767px) {
    .nav-side-menu .menu-list .menu-content {
        display: block
    }
}

.ioContain {
    clear: both;
    margin-top: 21px;
    display: block
}

    .ioContain:first-child {
        margin-top: 0
    }

.responsiveTable table {
    width: 100%
}

.tableHead {
    padding: 0 5px 0 9px;
    background: rgba(0,0,0,0.13);
    border-radius: 2px;
    color: #333;
    border-bottom: 1px solid #98c6ff !important;
    border-right: 3px solid #fff !important
}

    .tableHead:last-child {
        margin-right: 0;
        width: 130px
    }

.table-bordered {
    border: 0
}

    .table-bordered > tbody > tr > td {
        border-bottom: 1px solid #ddd !important;
        border-right: none !important;
        border-left: none !important;
        border-top: none !important
    }

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f8f8f8
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #e9e9e9
}

.table-striped > tbody > tr {
    margin: 7px 0
}

.taskField {
    width: 100px
}

.editField {
    min-width: 137px;
    text-align: center
}

.ioNum {
    width: 75px;
    text-align: center
}

.localPanel .ioName {
    width: 66%
}

.remotePanel .ioName, .remotePanel .deviceName {
    width: 33%
}

.logTable th, .logTable td {
    text-align: center
}

.logTable .ioName {
    width: 37% !important;
    text-align: left
}

.inline-block {
    display: inline-block
}

@media only screen and (max-width:800px) {
    .localPanel .ioName, .localPanel .deviceName, .localPanel .ioNum, .logTable .ioName {
        width: auto !important
    }

    .remotePanel .ioName, .remotePanel .deviceName, .remotePanel .ioNum {
        width: auto
    }

    .responsiveTable table, .responsiveTable thead, .responsiveTable tbody, .responsiveTable th, .responsiveTable td, .responsiveTable tr {
        display: block
    }

    .responsiveTable table {
        padding: 4px 4px
    }

    .responsiveTable thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px
    }

    .table-striped > tbody > tr:nth-of-type(odd) {
        background-color: none !important
    }

    .table-striped > tbody > tr:nth-of-type(even) {
        background-color: none !important
    }

    .responsiveTable tr {
        border: 1px solid #ccc;
        margin-bottom: 14px;
        border-radius: 3px
    }

    .responsiveTable td {
        border: 0;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50% !important;
        white-space: normal;
        text-align: left
    }

        .responsiveTable td:before {
            position: absolute;
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold
        }

        .responsiveTable td:before {
            content: attr(data-title)
        }
}

section {
    padding-left: 15px
}

.ioCtn {
    margin-left: 10px
}

@media(max-width:991px) {
    .ioCtrlContain {
        padding: 7px;
        margin: 17px 0
    }

    .ioControlCtn h3 {
        text-align: center;
        margin-bottom: 7px
    }

    .ctrlSetupEdit button {
        max-width: 500px !important;
        width: 40% !important;
        display: inline-block;
        margin: 12px 14px;
        padding: 7px;
        font-size: 14px;
        border-radius: 5px
    }

    .stateCtn button {
        display: block;
        margin: 7px auto 10px auto;
        max-width: 100%
    }

    .ioCtn {
        margin-left: 0
    }

    .scrubber {
        float: left;
        top: 0;
        font-size: 18px
    }
}

@media(min-width:768px) {
    .main {
        position: absolute;
        width: calc(100% - 40px);
        margin-left: 40px;
        float: right
    }
}

@media(max-width:767px) {
    body {
        padding-top: 0
    }

    .mc {
        padding: 0 14px
    }

    .andor {
        text-align: left
    }

    .row-eq-height {
        display: block
    }

    .mhd {
        border-radius: 0;
        background: #6a7296;
        background: -moz-linear-gradient(top,rgba(106,114,150,1) 0,rgba(72,78,102,1) 100%);
        background: -webkit-linear-gradient(top,rgba(106,114,150,1) 0,rgba(72,78,102,1) 100%);
        background: linear-gradient(to bottom,rgba(106,114,150,1) 0,rgba(72,78,102,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6a7296',endColorstr='#484e66',GradientType=0);
        padding: 7px 0
    }

    .loginCtn, .loginLink, .loginLink a {
        color: #fff !important;
        text-align: center !important
    }

    .loginLink {
        border-top: 1px solid rgba(255,255,255,0.3);
        border-bottom: 1px solid rgba(255,255,255,0.3);
        padding: 7px 0;
        width: 50%
    }

    .mhd h1 {
        color: #fff;
        margin: 5px 0 10px 0;
        font-size: 21px;
        text-align: center;
        text-shadow: none;
        float: none;
        display: block;
        margin-top: 14px
    }

    .headerLinks {
        color: #fff;
        font-size: 13px;
        text-align: right;
        font-weight: 400;
        text-align: center
    }

    .form-control {
        height: 35px
    }

    .mc {
        clear: both
    }

    .mainRow {
        padding-bottom: 130px
    }

    .rmh {
        display: block
    }

    .addIO {
        text-align: center
    }

        .addIO button {
            font-size: 17px
        }

    .deleteBtn {
        padding: 0 7px;
        font-size: 18px
    }

    .footer p {
        text-align: center !important
    }

    .subCtn button {
        width: 30%;
        font-size: 17px
    }

    .ioCtrlContain h3 {
        text-align: center;
        margin-top: 5px;
        margin-bottom: 14px
    }

    .ctrlSetupEdit {
        border-top: 1px solid #dedede;
        margin-top: 7px;
        padding-top: 7px
    }

        .ctrlSetupEdit button {
            width: 100% !important;
            max-width: 400px !important
        }

    .scrubber {
        float: left;
        font-size: 26px
    }

    .ioControl button, p {
        margin: 7px auto 7px auto;
        display: block
    }

    .stateCtn {
        border-left: none
    }

        .stateCtn button {
            max-width: 400px
        }

    .labelBtn, .ctrlState .labelBtn {
        width: 98%
    }

    .addTaskBtn {
        display: block;
        width: 100%;
        float: none;
        font-size: 15px;
        padding: 10px 0
    }

    @media(max-width:485px) {
        .loginLink {
            width: 80%
        }
    }

    @media(max-width:400px) {
        .ioCtrlContain h3 {
            margin-top: 3px;
            text-align: center
        }
    }
}
