html {
     position: relative;
     min-height: 100%;
}

body {
     margin-bottom: 60px; /* Margin bottom by footer height */
     font-size: small;
}

/* Fixed table */
.table-fixed thead {
  top: 0;
  position: sticky;
}

.header img {
  float: left;
  width: 32px;
}

.header h1 {
  position: relative;
  left: 10px;
}

/* Sticky cols */
.sticky-col {
  position: -webkit-sticky;
  position: sticky;
  background-color: white;
  background-clip: padding-box;
}

.login_info {
  position: absolute;
  top: 20px;
  right: 20px;
}

/*.program_cell {
  border-bottom-color: black!important;
  border-bottom-width: 10px!important;
  border-bottom-style: solid;
}*/

.admin_tab {
  position: relative;
  width: 100%;
}

.admin_menu {
  position: fixed;
  left: 0px;
  width: 200px;
  background-color: #f5f5f5;
  border-right: 1px solid #eee;
}

.admin_view {
  position: absolute;
  top: 0px;
  left: 200px;
  
  /*height: 100%;*/
}

.admin_actor_row {
  visibility: hidden;
}

th.actor_header {
  /* Something you can count on */
  height: 140px;
  white-space: nowrap;
  border-right: hidden!important;
}

th.actor_header > div {
  transform: 
    /* Magic Numbers */
    translate(9px, 51px)
    /* 45 is really 360 - 45 */
    rotate(315deg);
  width: 30px;
}

th.actor_header > div > span {
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
}

th.tech_header {
  /* Something you can count on */
  height: 140px;
  white-space: nowrap;
  border-right: hidden!important;
}

th.tech_header > div {
  transform: 
    /* Magic Numbers */
    translate(9px, 51px)
    /* 45 is really 360 - 45 */
    rotate(315deg);
  width: 30px;
}

th.tech_header > div > span {
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
}

.presence_view {
  text-align:center;
  table-layout:fixed;
  width:100%;
}

.actor_view {
  text-align:center;
  table-layout:fixed;
  width:100%;
}

.presence_view input {
  height:20px;
}

.presence_view input[type=checkbox] {
  height:12px;
}

.actor_view input {
  height:20px;
}

/*.actor_view select {
  height:20px;
}*/

/*.sticky-nav {
  position: sticky;
  background-color: white;
  z-index: 200;
  top: 0;
}*/

.footer {
  position: fixed;
  bottom: 0px;
  width: 100%;
  height: 12px; /* Set the fixed height of the footer here */
  line-height: 12px; /* Vertically center the text there */
  background-color: #f5f5f5;
  font-size: 10px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

.spinner-tiny {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  margin-left: 10px;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.highlighted {
  background-color: yellow;
}

.overview_time {
  font-weight: bold;
}

input[type="text"] {
  font-size: small;
}

textarea {
  font-size: small!important;
}