﻿html,body {
    padding-top: 3.5em;
    background-color: #F0F0F0;
    height: 100%; /* Needed for container's min-height  */
}

hr {
    display: block;
    height: 1px;
    width:80%;
    border: 0;
    border-top: 1px solid #DFDFDF;
    margin-right: 10%;
    padding: 0;
}

.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
    max-height: 400px;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.themed-grid-head {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #333;
    color: #fff;
    border: 1px solid rgba(86, 61, 124, .2);
}

.themed-grid-col {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #fff;
    border: 1px solid rgba(86, 61, 124, .2);
}

@-webkit-keyframes spin {
    to {
        stroke-dashoffset: -264;
    }
}

@keyframes spin {
    to {
        stroke-dashoffset: -264;
    }
}

.spinner circle {
    fill: none;
    stroke: slategray;
    stroke-width: 16;
    stroke-linecap: round;
    stroke-dasharray: 0, 0, 70, 194;
    stroke-dashoffset: 0;
    animation: spin 1s infinite linear;
    -webkit-animation: spin 1s infinite linear;
}

.logo-container {
    text-align:center;

}

.visibilityButton {
    margin-left: -40px;
    cursor: pointer;
    vertical-align: middle;
}

div.overlay-login-background {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    top:0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1;
    background-color: #F0F0F0;
}
div.overlay-login {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    width: 90%;
    height: calc(100% - 20%);
    position: fixed; 
    overflow-y: auto;
    background: white;
    top: 60px;
    left: 0;
    z-index: 3;
    border-radius: 20px;
    margin-left: 5%;
}
div.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    width: 100%;
    position: fixed;
    height: calc(100% - 20%);
    overflow-y: auto;
    background: white;
    top: 50px;
    left: 0;
    z-index: 5;
}

/* Position the content inside the overlay */
div.overlay-content {
    position: relative;
    top: 5%; /* 25% from the top */
    width: 90%; /* 100% width */
    margin-left:5%;
    text-align: center; /* Centered text/links */   
    z-index: 4;
}

div.barcodeCamera {
    width: calc(100% - 50px);
}

.dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    background-color: gray;
}

.dot.dot-online{
    background-color: green; 
}
.dot.dot-offline {
    background-color: red;
}
.dot.dot-upload {
    background-color: blue;
}

.headerImg {
    height: 60px;
    width: auto;
}

.footerImg {
    height: 30px;
    width: auto;
    padding:5px;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #F0F0F0;
    color: white;
    text-align: center;
    min-height: 20%;
    margin-bottom: -60px; /* Put negative height of the footer here */
    padding-bottom: 30px; /* Put height of the footer here. Needed for higher than screen height pages */
    z-index: 2;
}

.btn {
    background-color: #1178ff;
    color: #FFFFFF;
    border-radius: 20px;
    width: 75%;
    margin-left: 12.5%;
}
.btn-danger{ background-color: red; 
             color: white; 
             border-radius: 20px;
}
.btn:hover {
    background-color: #FFFFFF;
    color: #1178ff;
}
.navbar{ 
    background-color: #FFFFFF ; 
    color: #000000;
    border-radius:0px;

}
.themed-grid-head {
    background-color: #1178ff;
    color: #FFFFFF;
}

.onlineStatus {
    float: right;
    height: 50px;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
    border-right: 1px solid lightgrey;
}

.navbar-toggle {
    position: relative;
    margin: 0;
    padding: 12.5px;
    float: right;
    width: 50px;
    height: 50px;
    background-color: transparent;
    background-image: none;
    border: none;
    border-radius: 0px;
}

.navbar-toggle:focus,
.navbar-toggle:active focus {
    color: #fff;
    background-color: #000; /*this is where the colour was green*/
    border-color: #122b40;
}

.navButtonLines {
    display: block;
    width: 25px;
    height: 2px;
    background-color: black;
    border-radius: 1px;
}

.navButtonLines + .navButtonLines {
    margin-top: 5px;
}

.touch-format-head {
    padding: 5px;
    color: white;
    background-color: #1178ff;
    border-top: 1px solid gray;
    border-left: 1px solid gray;
    border-right: 1px solid gray;
    font-size:80%;
}

.touch-format-head.bottom {
    border-bottom: 1px solid gray;
}

.touch-format-col {
    padding: 5px;
    color: gray;
    background-color: white;
    border-top: 1px solid gray;
    border-left: 1px solid gray;
    font-size: 80%;
}

.touch-format-col.bottom {
    border-bottom: 1px solid gray;
}

.alt-btn {
    background-color: white;
    color: black;
    border-radius: 20px;
    border: none;
}

.alt-btn:hover {
    background-color: #1178ff;
    color: white;
}

.hideHistory {
    display: none;
}

#table-wrapper {
    position: relative;
    width: 100%;
    border: 1px solid gray;
    background: white;
}

#table-scroll {
    height: 140px;
    overflow: auto;
    margin-top: 60px;
}

#table-wrapper table {
    width: 100%;
}

#table-wrapper table * {
    background: white;
    color: gray;
}

#table-wrapper table thead th .textFull {
    position: absolute;
    top: 0px;
    z-index: 2;
    height: 30px;
    width: 100%;
    background: #1178ff;
    color: white;
    padding: 5px;
   
}

#table-wrapper .text2 {
    position: absolute;
    top: 30px;
    z-index: 1;
    height: 30px;
    color: black;
    font-weight: bold;
    font-size: 75%;
    padding-top: 7px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    border-bottom: 1px solid gray; 
}

#table-wrapper .text2.moved {
    width: 20%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
   
}
#table-wrapper .text2.status {
    width: 22%;
    margin-left: auto;
    margin-right: auto; 
    text-align: left;
}
#table-wrapper .text2.location {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
   
    text-align: left;
}
#table-wrapper .text2.loctype {
    width: 20%;
    text-align: left;
}

#table-wrapper td {
    font-size: 70%;
    padding: 5px;
    vertical-align: top;
}

#table-wrapper td.med {
    width: 20%;
    border-bottom: 1px solid gray;
}

#table-wrapper td.wide {
    width: 40%;
    border-bottom: 1px solid gray;
}
#table-wrapper td.med-noborder {
    width: 20%;
    border:none;
}

#table-wrapper td.wide-noborder {
    width: 40%;
    border: none;
}
.environmentIndicator {
    text-align: center; 
    background-color:#ff115a; 
    color:white; 
    font-weight:bold; 
    font-size:75%; 
    padding:2px; 
    display:none;
}