html, body {
    color: #363636;
    font-family: Helvetica, sans-serif;
    font-weight: 200;
    height: 100vh;
    margin: 0;
}
body {

    background: #fefefe;
    background: -webkit-linear-gradient(to bottom, #ffffff, #fcfcfc);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #ffffff, #fcfcfc); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hide {
    display: none;
}

footer {
    text-align: center;
    height: 30px;
    padding-top: 15px;
    margin-top: 1em;
    background: #fdfbfb;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #fdfbfb, #ebedee);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}

.full-height {
    height: 100vh;
}

.flex-center {
    align-items: left;
    display: flex;
    justify-content: left;
    width: 96%;
    margin: 0 2%;
}

.body-center {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 96%;
    margin: 0 2%;
}

.position-ref {
    position: relative;
}

.top-right {
    position: absolute;
    right: 10px;
    top: 18px;
}

.content {
    text-align: left;
    width: 100%;
}

.content-center {
    text-align: center;
    width: 50%;
    display: block;
}

.title {
    font-size: 84px;
}

.links > a {
    color: #636b6f;
    padding: 0 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.m-b-md {
    margin-bottom: 30px;
}
.form-row {
    margin-bottom: 15px;
}

table {
    width: 100%;
    margin: 0.5em auto;
}

table, td, th {
    border: 1px solid #ccc;
    border-collapse: collapse;
}

td, th {
    padding: 6px;
}

th {
    background: #fdfbfb;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #fdfbfb, #ebedee);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}

tr:nth-child(even) td {
   background: #f6f6f6;
}

tr:nth-child(odd) td {
   background: #fcfcfc;
}

ul.pagination, ul.main-menu {
    display: table;
    margin: 0 auto;
}

ul.pagination li, ul.main-menu li {
    display: block;
    float: left;
    margin: 10px;
    padding: 5px;
    border: 1px solid #cccccc;
    text-align: center;
    background: #fdfbfb;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #fdfbfb, #ebedee);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    border-radius: 2px;
}

ul.main-menu li a {
    color: #343434;
}

ul.main-menu li:hover {
    background: #fdfbfb;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #fdfbfb, #ebedee);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    cursor: hand;
    cursor: pointer;
}

ul.main-menu li a:hover {
    color: #030303;
}

a, a:visited {
    text-decoration: none;
    color: #1b99e0;
}

a:hover {
    color: #000046;
}

.button {
    color: #dfffff;
    padding: 5px 15px;
    border: 1px solid #333333;
    font-weight: bold;
    cursor: pointer;
    cursor: hand;
    background: #1cb5e0;  /* fallback for old browsers */
    background: -webkit-linear-gradient(120deg, #1cb5e0, #000046);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(120deg, #1cb5e0, #000046); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.button:hover {
    color: #dfffff;
    background: #1cb5e0;  /* fallback for old browsers */
    background: -webkit-linear-gradient(0deg, #1cb5e0, #000046);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(0deg, #1cb5e0, #000046); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

form label {
    width: 20%;
    float: left;
}
div.users label {
    width: 100%;
    float: none;
}

form label span.info {
    color: #1b99e0;
    font-size: 80%;
}
form label span.info:hover {
    cursor: pointer;
}

.alert {
    color: #ff0000;
}
div.create-new {
    margin-bottom: 1em;
}

input[type=number], input[type=text], input[type=date], input[type=password], input[type=email] {
    width: 75%;
    padding: 5px 10px;
    border: 1px solid #cdcdcd;

}

.fr {
    float: right;
}
.center {
    text-align: center;
}

.bck-green {
    background: #16a596;
}

.bck-red {
    background: #aa3a3a;
}

.bck-grey {
    background: #bbbfca;
}

.btn {
    border: 1px solid #333333;
    padding: 3px 7px;
    background: #000046;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #1cb5e0, #000046);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #1cb5e0, #000046); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.btn:hover {
    background: #1cb5e0;  /* fallback for old browsers */
    background: -webkit-linear-gradient(120deg, #1cb5e0, #000046);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(120deg, #1cb5e0, #000046); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

a.btn {
    color: #ffffff;
}

.btn-link {
    border: 1px solid #dfe9f3;
    padding: 2px 7px;
    background: #e6f0fb;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #e6f0fb, #ffffff);  /* Chrome 10-25, Safari 5.1-6 */
    background-image: linear-gradient(to top, #e6f0fb 0%, #ffffff 100%);
    border-radius: 4px;
}

#signal-logo {
    float: right;
}

div.calendar-day{
    font-weight: bold;
    font-size: 120%;
}
table.weekly-calendar tr.estimate td {
    background-color: #b5d9ff;
}

table.weekly-calendar tr.test td {
    background-color: #ffeab5;
}

table.weekly-calendar tr.production td {
    background-color: #97ffb1;
}

table.weekly-calendar td.avail {
    background-color: #3dff37;
}
table.weekly-calendar td.nonavail {
    background-color: #ff5353;
}
#wc_date {
    width: 120px;
}

  .table-scroll {
    position: relative;
    width: 100%;
    padding-bottom:20px;
    /* max-width:980px; */
    z-index: 1;
    margin: auto;
    overflow: auto;
    height: 70vh;
    box-shadow: 10px 0px 10px rgba(0,0,0,0.3);
  }
  .table-scroll table {
    width: 100%;
    min-width: 1280px;
    margin: auto;
    border-collapse: separate;
    border-spacing: 0;
  }
  .table-wrap {
    position: relative;
  }
  .table-scroll th,
  .table-scroll td {
    font-size: 12px;
    padding: 5px 10px;
    border: 1px solid #999;
    background: #fff;
    vertical-align: top;
    /* writing-mode: vertical-rl; */
    /* text-orientation: upright; */
    min-width:50px;

  }
  .table-scroll thead th {
    font-size: 12px;
    background: #333;
    color: #fff;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }
  /* safari and ios need the tfoot itself to be position:sticky also */
  .table-scroll tfoot,
  .table-scroll tfoot th,
  .table-scroll tfoot td {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    background: #666;
    color: #fff;
    z-index: 4;
  }
  th:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
    background: #faf9f9;
    min-width:200px;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
  }
  thead th:first-child,
  tfoot th:first-child {
    z-index: 5;
  }

  .main-table td {
    background: linear-gradient(
      to left,
      #ccc,
      #ccc 10px,
      #eee 10px,
      #eee 49.5%,
      #ccc 49.5%,
      #ccc 50.5%,
      #eee 50.5%,
      #eee calc(100% - 10px),
      #ccc calc(100% - 10px)
    );
  }
  
.header-row time {
    display: table;
    margin: auto;
    text-align: center;
}
.header-row time span {
    flex: 1 0 100%;
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
}
tbody th {
    text-align: left;
}
tbody th span {
    font-size: smaller;
    font-weight: normal;
    display: block;
}

.event {
    border: 1px solid #000;
    min-height: 1.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    text-align: center;
    padding: 2px 3px;
    font-weight: normal;
}

.transfer-date {
    background:dodgerblue;
}
.document-date {
    background: red;
}
.bounce-day {
    background:yellow;
}
.bounce-day-regen {
    background:rgb(231, 220, 64);;
}
