@font-face {
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 400;
    src: local('Arimo Regular'), local('Arimo-Regular'), url(https://fonts.gstatic.com/s/arimo/v11/P5sMzZCDf9_T_10ZxCE.woff2) format('woff2');
}

/* Default Style */
* {
    padding: 0;
    margin: 0;
    border: none;
    font-family: 'Arimo';
    box-sizing: border-box;
}

/* Welcome Screen*/
.welcome-screen {
    background-image: url('/images/tekmarNet-splash_screen_desktop_80.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

#txt-welcome {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    margin-bottom: 12px;
    color: #FFF;
}

#txt-gateway {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 44px;
    margin-bottom: 48px;
    color: #FFF;
}

#signin {
    font-family: 'Roboto Condensed';
    font-size: 21px;
    color: #fff;
    background-color: #0067B1;
    height: 50px;
    width: 300px;
    border-radius: 5px;
}

/* Title Header */
header {
    height: 80px;
    width: 100%;
    color: #FFF;
    background-color: #005DB9;

}
header p {
    text-align: center;
    font-weight: 500;
    font-size: 2em;
}
header .nav {
    display: inline-block;
    height: 80px;
    line-height: 80px;
    padding: 0px 20px;
    font-size: 20px;
    cursor: pointer;
}
header .signout {
    padding: 0px 20px;
    font-size: 64px;
}
header a:hover {
    background-color: #2675C3 !important;
}

/* SuperScript */
sup {
    font-size: 0.5em;
}

/* Navigation Bar */
nav {
    line-height: 30px;
    padding: 5px 40px;
    color: #005DB9;
    background-color: #FFF;
}
.nav-icon {
    display: inline-block;
    margin: 0px 5px;
    cursor: pointer;
}
.nav-icon img, .nav-icon i {
    vertical-align: middle;
}
.nav-text {
    padding-right: 5px;
    margin-right:  5px;
    border-right:  1px solid #005DB9;
    cursor: pointer;
}
.fa, .icon {
    line-height: inherit !important;
}

/* Content Container */
content {
    display: block;
    position: fixed;
    top: 125px;
    height: calc(100% - 130px);
    width: 100%;
    overflow-x: hidden;
    padding: 10px 40px 40px 40px;
}

/* Center Container */
.center {
    width: 100%;
}

/* Row */
.row {
    width: 100%;
}

/* Column */
.w0, .w10, .w33, .w25, .w50, .w66, .w75, .w90, .w100 {
    display: inline-block;
    position: relative;
    width: 100%;
    -webkit-transition: width .4s;
    -ms-transition:     width .4s;
    transition:         width .4s;
}

/* Hyperlink */
a {
    color: inherit;
    text-decoration: none;
}

/* Input */
input, select {
    background: #EEE;
    border: none;
    padding: 2px;
    margin: 2px;
    -moz-appearance:none;
    -webkit-appearance:none;
}

/* Buttons */
button, label {
    display: block;
    font-size: 24px;
    min-width: 150px;
    padding: 10px 5px;
    margin: 5px auto;
    border-radius: 3px;
    text-align: center;
}
button:disabled {
    background-color: #CCC;
}

#info button {
    min-width: 0;
    padding: 0px 10px;
}

/* Text Box */
textarea {
    background-color: #CCC;
    margin-bottom: 10px;
    resize: none;
}

.file input[type='file'] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
}

input[type="time"]::-webkit-clear-button {
    display: none;
}

/* Select Highlight */
::selection {
    background-color: #EEE;
    color: #CCC;
}
::-webkit-selection {
    background-color: #EEE;
    color: #CCC;
}
::-moz-selection {
    background-color: #EEE;
    color: #CCC;
}
::-o-selection {
    background-color: #EEE;
    color: #CCC;
}
::-ms-selection {
    background-color: #EEE;
    color: #CCC;
}

/* Slider */
#slider {
    position:relative;
    padding: 5px;
    margin: 50px auto;
}
#slider .rs-path-color {
    background-color: #999;
}
#slider .rs-range-color {
    background-color: #999;
}
#slider .rs-handle {
    background-color: #FFF;
    border-style: solid;
    border-width: 4px;
}
#slider .rs-border {
    border: 0;
}

/* Hover/Focus */
.center input:focus, #info input {
    background-color: #CCC;
}

/* Information */
#info {
    height: 40px;
    line-height: 30px;
    width: 100%;
    color: #005DB9;
}
#info select, #info input {
    display: inline-block;
    background-color: #EEE;
    color: #000;
    cursor: pointer;
    font-size: 1em;
    padding: 0px 5px;
}
#info .fa, #info .icon {
    font-size: 30px;
}

/* Login Error */
#error {
    width: 100%;
    padding: 10px 0px;
    text-align: center;
    font-size: 2em;
}

/* Tiles */
.tiles {
    display: inline-block;
    width: 100%;
    color: #005DB9;
    border: 3px solid #005DB9;
    margin-bottom: 10px;
    margin-right: 5px;
}
.tiles:empty {
    display: none;
}
.tiles-name {
    display: block;
    text-align: center;
    color: #FFF;
    background-color: #005DB9;
    font-size: 32px;
}
.tile {
    position: relative;
    display: inline-block;
    height: 270px;
    width: 270px;
    margin: 10px;
    padding:10px;
    background-color: #EDEDED;
    cursor: pointer;
    font-size: 48px;
    overflow-y: auto;
}
body.mobile .tile {
    height: 160px;
    width:  calc(50% - 15px);
    padding: 5px;
    margin: 5px;
    font-size: 32px;
}
.tile-text {
    text-align: center;
    width: 100%;
    padding: 5px;
    font-size: 0.75em;
}
.tile-small {
    text-align: center;
    width: 100%;
    padding: 5px;
    font-size: 0.4em;
}
.tile-large {
    text-align: center;
    width: 100%;
    padding: 5px;
    font-size: 1em;
    font-weight: 700;
}
.tile-edit {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.5em;
}
.tile-edit div {
    line-height: 0.5em;
    font-size: 10px;
}
.tile-topleft {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 0.5em;
}
.tile-botleft {
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-size: 0.5em;
}
.tile-topright {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.5em;
}
.tile-botright {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 0.5em;
}
.tile-relay {
    border: grey solid 1px;
    border-radius: 5px;
    padding: 0px 2px;
    margin:  0px 2px;
}
.tile-relay-on {
    color: #EDEDED;
    background-color: #838489;
}
.tile-list {
    display: inline-block;
    color: #005DB9;
    width: 50%;
    padding: 0px 20px 0px 20px;
    margin: 0px;
    font-size: 0.2em;
}

/* Common Text */
.text-center {
    margin: 5px auto;
    text-align: center;
}
.text {
    font-size: 2em;
}
.text-small {
    font-size: 1em;
}
.text-large {
    font-size: 4em;
    margin-bottom: 5px;
}

/* Schedule */
.sched {
    float: left;
    padding: 10px;
    font-size: 24px;
}
body.mobile .sched {
    width: 100%;
    padding: 2px;
    overflow-x: auto;
    white-space: nowrap;
}
.sched-col {
    display: inline-block;
}
.sched-text {
    display: block;
    height: 40px;
    width:  80px;
    margin: 10px;
    padding: 5px;
    font-size: 16px;
}
.sched-title {
    text-align: center;
    font-weight: 700;
}
body.mobile .sched-title, body.mobile .sched-text {
    height: 20px;
    width:  60px;
    margin: 3px;
    padding: 3px;
    font-size: 0.5em;
}

/* Floorplan Text */
.floorplan {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    font-size: 24px;
    background-color: transparent;
    color: #CCC;
    cursor: pointer;
}

/* Schematic */
.schematic {
    position: absolute;
    color: #FFF;
    background-color: #005DB9;
    border-radius: 10px;
    padding: 3px 10px;
    font-size: 32px;
}
.schematic:empty {
    background-color: white;
    height: 50px;
    width: 100px;
}

/* Settings */
.dual {
    display: inline-block;
    float: left;
    height: 32px; 
    width: calc(50% - 10px);
    line-height: 32px;
    padding: 0px 5px;
    margin:  3px 0px;
    font-size: 20px
}
.cols > div, .cols input, .cols select {
    display: inline-block;
    height: 40px; 
    width: calc(50% - 15px);
    line-height: 32px;
    padding: 0px 5px;
    margin: 5px;
    font-size: 20px
}

/* Error */
.error {
    position: relative;
    display: inline-block;
    float: left;
    height: 100px;
    width: calc(50% - 20px);
    margin: 10px;
    background-color: #EDEDED;
}
.error-type {
    position: absolute;
    top: 0px;
    left: 10px;
    text-align: left;
    line-height: 100px;
    width: 50%;
    padding: 5px;
    font-size: 32px;
    overflow: hidden;
}
.error-name {
    position: absolute;
    top: 0px;
    right: 10px;
    text-align: right;
    line-height: 50px;
    height: 50px;
    width: 50%;
    font-size: 16px;
    overflow: hidden;
}
.error-date {
    position: absolute;
    bottom: 0px;
    right: 10px;
    text-align: right;
    line-height: 50px;
    height: 50px;
    width: 50%;
    font-size: 16px;
    overflow: hidden;
}

/* Hidden */
.hidden {
    display: none !important;
}

/* Table */
table {
    min-width: 100%;
    border-style: none;
    border-collapse: collapse;
    margin-bottom: 5px;
}
th {
    font-size: 1em;
    padding: 5px;
    color: #FFF;
    background: #555;
    cursor: cell;
}
tr {
    background-color: #CCC;
}
tr:nth-child(odd):not(.hidden) {
    background-color: #EEE;
}
td {
    white-space: nowrap;
    padding: 5px;
}

/* Context Menu */
.context {
    padding: 5px;
    color: #FFF;
    background-color: #555;
    position: fixed;
    z-index:  10;
    border: 3px solid #FFF;
    cursor: pointer;
}

/* Pop-up Window */
.popup {
    position:  absolute;
    top:            50%;
    left:           50%;
    width:        500px;
    height:       500px;
    margin-left: -200px;
    margin-top:  -200px;
    border: 3px solid #CCC;
}

/* Drop-Down */
.drop-down {
    min-width: 120px;
    background-color: #005DB9;
    color: #FFF;
    border: 3px solid #FFF;
    border-width: 0px 0px 3px 3px;
    cursor: pointer;
}
.drop-down a, .drop-down p {
    display: block;
    padding: 5px;
    text-align: center;
}

/* Input Field */
.error-msg {
    color: red;
    position: fixed;
    font-size: 12px;
}

.error-border {
    border: 2px solid red;
}

/* Desktop */
@media only screen and (min-width: 1024px) {
    header {
        min-height: 80px;
    }

    .header-sections {
        position: absolute;
        top: 0px;
        right: 0px;
    }
    .header-section {
        display: inline-block;
        height: 80px;
        border-right: 1px solid white;
    }

    #logo {
        float: left;
    }

    header .nav {
        display: inline-block;
        text-align: center;
    }

    nav {
        height: 40px;
    }

    .w0, .w10, .w33, .w25, .w50, .w66, .w75, .w90, .w100 {
        float: left;
        height: 100%;
        margin-right: 5px;
        overflow: hidden;
    }
    .w0   {width: calc(  0% - 5px);}
    .w10  {width: calc( 10% - 5px);}
    .w25  {width: calc( 25% - 5px);}
    .w33  {width: calc( 33% - 5px);}
    .w50  {width: calc( 50% - 5px);}
    .w66  {width: calc( 66% - 5px);}
    .w75  {width: calc( 75% - 5px);}
    .w90  {width: calc( 90% - 5px);}
    .w100 {width: calc(100% - 5px);}

    .center {
        position: absolute;
        top:  50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .vcenter {
        position: absolute;
        top:  50%;
        transform: translateY(-50%);
    }
    .hcenter {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Side-Menu */
    #side-menu {
        display: none;
    }

    #info {
        padding: 5px 40px;
    }
    #info:not(:empty) ~ content {
        top: 165px;
        height: calc(100% - 170px);
    }
}

/* Mobile */
@media only screen and (max-width: 1023px) {
    .header-sections {
        position: fixed;
        top: 40px;
        left: 0px;
        width: 50%;
        height: 100%;
    }
    .header-section {
        border-bottom: 1px solid white;
    }

    header {
        position: fixed;
        top: 0px;
        height: 40px;
        z-index: 150;
    }
    header .nav {
        display: block;
        height: 40px;
        line-height: 40px;
        overflow: hidden;
    }

    header .signout {
        font-size: 24px;
    }

    nav {
        position: relative;
        top: 40px;
        left: 0px;
        padding: 0px 5px;
    }

    content {
        position: relative;
        top: 40px;
        height: auto;
        padding: 5px;
    }
    #info {
        position: relative;
        top: 40px;
        padding: 5px;
    }

    .tile {
        width: calc(50% - 20px);
    }

    .hcenter {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .text-large {font-size: 2em;}
    .text       {font-size: 1em;}

    .error {
        width: calc(100% - 20px);
    }

    #logo {
        display: none;
    }

    footer {
        display: none;
    }
}

/* Background Colors */
.bk-white  {background-color: #FFFFFF; color: #005DB9;}
.bk-blue   {background-color: #005DB9; color: #FFFFFF;}
.bk-orange {background-color: #FF5B00; color: #FFFFFF;}
.bk-red    {background-color: #FF0000; color: #FFFFFF;}
.bk-lblue  {background-color: #0073E6; color: #FFFFFF;}
.bk-dblue  {background-color: #004080; color: #FFFFFF;}
.bk-cool   {background-color: #005DB9; color: #FFFFFF;}
.bk-grey   {background-color: #838489; color: #FFFFFF;}
.bk-dgrey  {background-color: #3D3E40; color: #FFFFFF;}
.bk-black  {background-color: #000000; color: #FFFFFF;}

/* Foreground Colors */
.black  {color: #000000;}
.white  {color: #FFFFFF;}
.blue   {color: #005DB9;}
.orange {color: #FF5B00;}
.green  {color: green;  }
.red    {color: #FF0000;}
.lblue  {color: #0073E6;}
.cool   {color: #005DB9;}
.grey   {color: #838489;}
.dgrey  {color: #3D3E40;}