/*
html, body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    color: #777788;
}
*/

.clearfix {
    clear: both;
}

header {
    padding: 50px 20px;
    text-align: center;
}

header > .title {
    display: inline-block;
    color: #3771A1;
    font-size: 40px;
    font-weight: bold;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    vertical-align: middle;
}

header img {
    vertical-align: middle;
    margin-right: 24px;
}

#content-area {
    margin-top: 55px;
    padding-top: 10px;
}

/*
main {
    margin: 0;
    padding: 15px;
}

footer {
    margin-top: 40px;
    border-top: 1px solid #CCCCCC;
    text-align: right;
}

footer a {
    display: inline-block;
    color: #777788;
    margin: 15px 10% 0 0;
}
*/

table tbody tr.rowlink td:not(.no-rowlink):hover {
    cursor: pointer;
}

.vertical-align {
  min-height: 100%;     // Fallback for browsers that do not support vh unit
  min-height: 100vh;
  display: flex;
  align-items: center;
}

// hacky css fix for django-autocomplete-light form field height issue
form div.form-group span.select2-container span.select2-selection--single.modelselect2 {
    height: 38px;
}

span.select2-selection--single.modelselect2 {
    height: 38px;
}

a.camo-link {
    color: #212529;
}

table tbody tr[data-active="False"] {
    color: red;
}

table tbody tr[data-active="False"] a.camo-link {
    color: red;
}

table tr[data-locked="True"] {
    color: #FF8C00;
}

table tr[data-locked="True"] a.camo-link {
    color: #FF8C00;
}

table.rollcall {
    cellpadding: 5px;
}

table.rollcall td {
    text-align: center;
}

table.rollcall td.present {
    color: green;
}

table.rollcall td.absent {
    color: red;
}

table.rollcall th.rotate {
  /* Something you can count on */
  height: 140px;
  white-space: nowrap;
}

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

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

#group-plan li.transfer {
  color: green;
}

#group-plan li.intake {
  color: purple;
}

