/***** Elements *****/

* {
    box-sizing: border-box;
}
body {
    font-family: Arial;
    margin: 0;    
    padding: 0;
    background-color: #87bd67;
}
h1 { 
    text-align: center;
    font-size: 3em;
    font-weight: bold;
}
h2, h3, h4 {
    text-align: left;
    padding-bottom: 2%;
    font-weight: bold;
}
h4 {
    padding-top: 5%;
}
img {
    height: 1.5in;
}
input[type=checkbox] {
    margin: 1.5%;
}
input[type=text], input[type=password], select {
    width: 80%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}
input[type=username] {
    width: 60%;
}
input[type=password] {
    width: 40%;
}
input[type=submit] {
/*    background-color: #f5841e;*/
    background-color: #f5841e; /* orange */
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}

    input[type=submit]:hover {
        /*    background-color: #87bd67;*/
        background-color: #02aeef; /* blue */
        color: #fff;
        padding: 12px 25px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        float: right;
    }
label {
    padding-top: 2%;
}
table {
	width: 100%;
    font-size: smaller;
}
td {
    padding: 5px 5px 1px 5px;
    text-align: left;
    border: 1px solid #ccc;
}
th {
    text-align: left;
    background-color: #f5953f;
    border: 1px solid #ccc;
    padding: 10px 5px;
}
th a {
    color: black;
    text-decoration: underline;
}


/***** Classes *****/

.banner {
    border-top: 15px solid #098845;  /* jjsl dark green */
    margin: 0;
    padding: 20px;
    min-height: 135px;
}
.body-content {
    border-radius: 5px;
    background-color: #cceeb6;
    padding: 2.5%;
    width: 70%;
    margin: auto;
}
.body-content-reports {
    border-radius: 5px;
    background-color: #cceeb6;
    padding: 2.5%;
    width: 80%;
    margin: auto;
}

.breadcrumbs {
    font-size: smaller;
    padding: 1em 0;
}
.col-sm-3 {min-width: 20%;}
.col-sm-6 {
    padding-top:5%;
}

.errors {
    color: black;
    background: pink;
    border: 1px solid red;
    margin-bottom: 1em;
}
.errors li {
    padding-top: 4px;
}
fieldset.scheduler-border {
    border: 2px solid #87bd67 !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}

legend.scheduler-border {
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
    width: auto;
    padding: 0 10px;
    border-bottom: none;
}
.login {
    width: 80%;
    height: 250px;
    padding-left: 10%;
}
.no-bullets {
    list-style-type: none;
}
.row {
    margin: 2% 0 0 0;
    width:100%;
    float:left;
}
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.table-responsive {
    overflow-y: auto;
	max-height: 350px;
}
    .table-responsive thead th {
        position: sticky;
        top: 0;
        background-color: #f5841e;
        padding: 10px 5px;
    }




/* 	Responsive layout - when the screen is less than 800px wide, 
        make the two columns stack on top of each other instead of beside
        each other */
@media screen and (max-width: 800px) {
    .container, .col-25, .col-75, col-100, input[type=text], input[type=submit], input[type=password] {
        width: 100%;
    }
    img {
        height: 0.8in;
    }
    input[type=password] {
        margin-bottom: 1.5em;
    }
    h1 { font-size: 1.5em; }
    h2 { font-size: 1.2em; }
    .body-content {
        border-radius: 5px;
        background-color: #cceeb6;
        padding: 2.5%;
        width: 90%;
        margin: auto;
    }
    .table-responsive {
        width: 100%;
        max-height: 250px;
        margin-bottom: 15px;
        overflow-x: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #DDD;
    }
}
@media screen and (min-width: 801px) {
    .container, .col-25, .col-75, col-100, input[type=text], input[type=password] {
        width: 80%;
        margin-top: 0;
    }

}

table.log {
  white-space: nowrap;
}

table.log td.ua {
  white-space: normal;
}

.active-user-count {
  overflow: auto;
  max-height: 80vh;
}

.active-user-count table {
  width: auto;
}

.active-user-count th {
  position: sticky;
}

.active-user-count tr:first-child th {
  top: 0;
}

.active-user-count tr th:first-child {
  left: 0;
}

.active-user-count tr:first-child th:first-child {
  z-index: 1;
}

.active-user-count td {
  text-align: right;
}

