/** SIGNUP **/

.width100 {
    width: 100%;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0,0,0,0.75);
}

label.checkbox {
    float: none;
    cursor: pointer;
}

label.checkbox span.img {
    display: inline-block;
    width: 32px;
    height: 33px;
    background-image: url(/img/signup-checkbox-sprite.png);
    background-size: 32px 99px;
    background-position: 0 0;
}

label.checkbox span.img.checked {
    background-position: 0 -66px;
}

label.checkbox span.txt {
    position: relative;
    top: -6px;
    color: #840;
    font-weight: bold;
}

.pageControlContainer.stuck {
    background-color: #F4F4F4;
    position: fixed;
    left: 0;
    right: 0;
    box-shadow: 0 0 4px black;
}

tr.mobileOnly {
    display: none;
}

@media only screen and (max-width: 770px), only screen and (max-device-width: 770px) {

  #wrapper, #content {
    width: 100% !important;
    background: #ffffff !important;
  }
  #page {
    padding: 2em 5px !important;
  }
  #menu {
    width: 100% !important;
  }
  .signUpGeniusStatus br {
    display: inherit !important;
  }
  .filledPopup, .printPopup {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .printPopup {
    width: inherit !important;
    left: 20px;
    right: 20px;
  }
  .signupForm {
    width: initial !important;
    left: 0;
    right: 0;
    border-left: 0 !important;
    border-right: 0 !important;
    padding-top: 5px !important;
  }
  .signupForm button span {
    width: 91px !important;
    height: 39px !important;
    background-size: 91px 78px !important;
  }
  .signupForm button:hover span {
    background-position: 0 -39px !important;
  }
  .forceMobileOnly {
    display: inherit !important;
  }
  #signupSheetRefresh {
    font-size: 13px !important;
    text-align: center !important;
  }
  .clickToHideContainer {
    margin-top: 20px;
  }
  .clickToHide {
    font-size: 20px;
    font-variant: small-caps;
    background-color: #F1FFE3;
    padding: 5px 15px 8px 15px !important;
  }
  body.forceDesktop {
    background: #F8F8F8 !important;
  }
  body.forceDesktop #page {
    background: white;
  }
  body:not(.forceDesktop) td.date.mobileHide {
    display: none;
  }
  body:not(.forceDesktop) td.slot .empty label {
    width: inherit;
    display: block;
    text-align: left;
    border: 2px solid #815100;
    border-radius: 8px;
    background-color: #fed;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
    padding-left: 16px !important;
    margin-right: 10px;
  }
  body:not(.forceDesktop) .signupSheet td.slot .empty label span.signupImg {
    margin-bottom: 4px;
    margin-right: 8px;
  }
  body:not(.forceDesktop) .signupSheet h1 {
    margin-bottom: -20px !important;
  }
  body:not(.forceDesktop) .archiveDateContainer {
    display: block;
    margin-top: 16px;
    margin-bottom: -20px;
  }
  body:not(.forceDesktop) .signupSheet td.slot div.updated div.arrow-up {
    display: none;
  }
  body:not(.forceDesktop) .signupSheet td.slot div.updated {
    position: inherit !important;
    margin-left: 60px;
  }
  body:not(.forceDesktop) .signupSheet td.slot div.updated span.dateUpdatedContainer {
    display: none;
  }

  .signupSheet h1 {
    font-size: 36px !important;
  }

  ul#signupList {
    max-height: 50px !important;
  }

  .condensed {
    display: inherit !important;
  }
  .expanded {
    display: none;
  }

  .pageControlContainer {
    margin-left: -5px;
    margin-right: -5px;
  }

  .buttons {
    padding: 0 !important;
    margin: 0 !important;
  }

  .buttons span.button {
    line-height: 3.0em;
    border-size: 2px !important;
    padding: 5px !important;
    margin: 2px !important;
    font-size: 13px !important;
  }
  .buttons span.alt {
    display: inherit !important;
  }
  .buttons span.main {
    display: none;
  }
  body:not(.forceDesktop) tr.mobileOnly {
    display: block;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 500;
  }
  body:not(.forceDesktop) tr.desktopOnly {
    display: none !important;
  }
  body:not(.forceDesktop) td.date {
    display: block;
    text-align: left !important;
    font-size: 20px;
    margin-left: 0px;
    margin-top: 30px;
    border-bottom: 2px solid #B8E78B !important;
    background-color: #F1FFE3;
  }
  body:not(.forceDesktop) tr.desktopOnly td.date {
    display: none;
  }
  .pageControlContainer {
    position: inherit !important;
  }
  body:not(.forceDesktop) td.time {
    display: block;
    text-align: left !important;
    font-size: 20px;
    margin-left: 0px;
    margin-bottom: 10px;
  }
  body:not(.forceDesktop) td.time div.timeCol {
    display: inline-block;
  }
  body:not(.forceDesktop) td.time div.updated {
    position: relative !important;
    display: inline-block !important; 
    border: 0 !important;
    background-color: transparent !important;
    font-size: 16px !important;
    max-width: inherit !important;
    width: inherit !important;
  }
  body:not(.forceDesktop) td.time div.updated div.arrow-up {
    display: none;
  }
  body:not(.forceDesktop) tr.topBorder {
    border-top: 0 !important;
  }
  body:not(.forceDesktop) tr.even {
    background-color: #ffffff !important;
    display: block;
  }
  body:not(.forceDesktop) tr.odd {
    background-color: #ffffff !important;
    display: block;
  }
  body:not(.forceDesktop) div.mobileOnly {
    display: block !important;
  }
  body:not(.forceDesktop) span.mobileOnly {
    display: inline !important;
  }
  body:not(.forceDesktop) span.desktopOnly {
    display: none !important;
  }
  body:not(.forceDesktop) td.slot {
    display: block;
    text-align: left !important;
    font-size: 18px;
    border-bottom: 0 !important;
    margin-left: 0;
  }
  body:not(.forceDesktop) div.cell {
    padding-top: 25px !important;
  }
  body:not(.forceDesktop) td.slot div.cell {
    padding-top: 0px !important;
  }
  body:not(.forceDesktop) div.dateCol {
    padding-top: 10px !important;
    padding-bottom: 0px !important;
  }
  body:not(.forceDesktop) div.line {
    display: none;
  }
  body:not(.forceDesktop) .signupSheet tr:last-child {
    border-bottom: 0 !important;
  }
  body:not(.forceDesktop) table {
    margin-bottom: 70px;
  }
  body:not(.forceDesktop) tbody {
    display: block;
  }
  body:not(.forceDesktop) span.slotPrefix {
    display: none;
  }
  body:not(.forceDesktop) span.slotLabel {
    font-size: 16px;
    color: #542a00;
    margin-left: 16px;
    margin-right: 8px;
  }
  body:not(.forceDesktop) td.notneeded {
    display: none;
  }
  body:not(.forceDesktop) thead {
    display: none;
  }
}

.signupHeader {
  clear: both;
}

.forceMobileOnly {
  display: none;
}

div.mobileOnly, span.mobileOnly {
  display: none;
}
span.desktopOnly {
  display: inline;
}

span.lightbulb img {
  width: 88px;
  height: 113px;
}

a.signupSchedule {
  width: 327px;
  height: 65px;
  background-size: 327px 130px;
  background-image: url(/img/signup-view-schedule.png);
  display: block;
  background-position: 0 0;
  margin: 10px auto;
  border-bottom: 0;
}

a.signupSchedule:hover {
  background-position: 0 65px;
  border-bottom: 0;
}

ul.signupTips a {
  cursor: pointer;
}

.pageControlContainer {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  background-color: white;
  padding: 1px 0;
  z-index: 500;
}

.buttons {
  padding: 10px;
  margin: 10px 0 15px 0;
  text-align: center;
}

.buttons span.button {
  padding: 10px;
  border: 3px solid #613100;
  border-radius: 8px;
  background-color: #ffb466;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 15px;
  margin: 10px;
  cursor: pointer;
}

.buttons span.active:hover {
  background-color: #ffe5c9;
  border-color: #bb6e1f;
  color: #7b3e00;
}

.buttons span.alt {
  display: none;
}

.stuck .buttons {
  padding: 0;
  margin: 0 0 2px 0;
}

.stuck .buttons span.button {
  line-height: 3.0em;
  border-width: 2px;
  padding: 5px;
  margin: 4px;
  font-size: 12px;
}

/** SIGNUP SHEET LOADING **/

#loadingContainer {
  padding-bottom: 35px;
}

.signUpGeniusStatus {
  font-size: 10px;
  font-family: sans-serif;
  line-height: 140%;
  color: #ccc;
}

.signUpGeniusStatus br {
  display: none;
}

#loading {
  margin: 0 auto;
  background-image: url('/img/signup-loading-bg.png');
  width: 223px;
  height: 74px;
}

#loading .ldBar-label {
  text-align: center;
  font-family: sans-serif;
  font-weight: bold;
  background-color: #ffe0c0;
  border: 2px solid #eaac6c;
}

/** SIGNUP SHEET **/

.signupSheet {
  margin-bottom: 50px;
}

.signupSheet a.clickToHide, a.tipsToggle, #toggleDesktop, .filledPopup a.closePopup, .printPopup a.closePopup {
  cursor: pointer;  
  padding: 5px;
  border: 1px solid;
  border-radius: 7px;
}

.forceMobileOnly {
  margin-right: 8px;
}

.signupSheet.archive {
  margin-bottom: 20px;
  font-style: italic;
}

.signupSheet.archive h1 {
  padding-bottom: 0;
  font-style: italic;
}

.signupSheet th {
  border-bottom: 1px solid #AAA;
  padding: 10px;
  text-align: center;
}

.signupSheet tr.topBorder {
  border-top: 2px solid #444;
}

.signupSheet td {
  border-bottom: 1px solid #AAA;
  text-align: center;
  vertical-align: middle;
  padding: 2px;
}

.signupSheet td .bottomBorder {
  border-bottom: 1px solid #BBB;
}

.signupSheet div.cell {
  padding: 4px;
  margin: 3px;
}

.signupSheet div.filled {
  border: 1px solid transparent;
  cursor: default;
}

.filledPopup, .printPopup {
  background-color: #ffa;
  border: 3px solid red;
  border-radius: 10px;
  padding: 10px 20px;
  margin: 10px 30px 40px 30px;
  display: none;
}

.printPopup {
  position: fixed;
  width: 643px;
  top: 0;
  z-index: 9999;
}

.printPopup ul li {
  background: inherit;
}

.printPopup label.checkbox span.txt {
  font-size: 1.4em;
  color: inherit;
}

.printPopup ul li.footerSelection {
  border-top: 3px dotted #613100;
  padding-top: 1em;
}

.filledPopup ul {
  margin-left: 0;
}

.filledPopup ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.filledPopup ul li:before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  content: "☑️  ";
  font-size: 1.2em;
}

.filledCell {
  background-color: #ffa;
  border: 2px solid red !important;
}

.signupSheet div.arrow-up, 
.signupSheet div.arrow-up:after {
  width: 0;
  height: 0;
  position: absolute;
  margin-top: -14px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #777;
  margin-left: 20px;
}

.signupSheet div.arrow-up:after {
  content: " ";
  border-bottom-color: #ffc;
  border-left-width: 5px;
  border-right-width: 5px;
  border-bottom-width: 7px;
  bottom: 1px;
  margin-top: 0;
  margin-bottom: -9px;
  margin-left: -5px;
}

.signupSheet div.updated {
  position: absolute;
  margin-left: 20px;
  font-size: 12px;
  font-family: sans-serif;
  border: 1px solid #777;
  padding: 6px;
  background-color: #ffc;
  color: #444;
  line-height: 110%;
  display: none;
  cursor: default;
  z-index: 99;
  max-width: 200px;
  text-align: center;
}

.signupSheet div.updated span.comment {
  display: block;
  margin-bottom: 8px;
  color: #480
}

.signupSheet div.updated span.date {
  white-space: nowrap;
}

.signupSheet td .empty input {
  display: none;
}

.signupSheet td .empty label {
  float: none;
  color: transparent;
  padding: 0 0 0 8px;
  cursor: pointer;
}

.signupSheet td .empty label span.signupText {
  position: relative;
  top: -6px;
  color: #840;
  font-weight: bold;
}

.signupSheet td .empty label span.signupImg {
  display: inline-block;
  width: 32px;
  height: 33px;
  background-image: url(/img/signup-checkbox-sprite.png);
  background-size: 32px 99px;
  background-position: 0 0;
}

.signupSheet td .empty label:hover span.signupImg {
  background-position: 0 -33px;
}

.signupSheet td .empty label span.signupImg.checked {
  background-position: 0 -66px;
}

.signupForm {
  box-shadow: 0 0 10px black;
  position: fixed;
  background-color: lightyellow;
  padding: 10px;
  width: 729px;
  bottom: 0;
  border-bottom: 0;
  z-index: 999;
}

.signupForm a.removeAll {
  border: 2px solid limegreen;
  padding-left: 5px;
  padding-right: 5px;
  font-variant: small-caps;
  cursor: pointer;
}

.signupForm h3 {
  font-size: 1.3em;
}

.signupForm ul {
  margin: 0 0 10px 0;
  padding: 0;
  max-height: 100px;
  overflow: auto;
  border: 2px dashed transparent;
}

.signupForm ul.border {
  border: 2px dashed rgba(50, 205, 50, 0.25);
}

.signupForm ul li {
  padding-left: 20px;
  padding-bottom: 2px;
}

.condensed {
  display: none;
}

.signupForm button {
  color: transparent;
  background-color: transparent;
  border: 0;
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.signupForm button span {
  display: inline-block;
  width: 152px;
  height: 65px;
  background-image: url(/img/signup-next-sprite.png);
  background-size: 152px 130px;
  background-position: 0 0;
}

.signupForm button:hover span {
  background-position: 0 -65px;
}

.signupSheet tr:last-child {
  border-bottom: 2px solid #444;
}

.signupSheet tr.odd {
  background-color: #fff;
}

ul.signupTips a {
  font-weight: bold;
}

div.table {
  display: table;
  margin: 0 auto;
}

div.tableRow {
  display: table-row;
}

div.tableCell {
  display: table-cell;
  vertical-align: middle;
}

@media screen {
    .signupSheet tr.even {
      background-color: #ddd;
    }

    .signupSheet td.borderBottom {
      border-bottom: 2px solid #444;
    }
}

@media print {

    .hide {
      display: none;
    }

    .avoidPageBreak {
        page-break-inside: avoid;
    }

    .signupSheet {
        margin-bottom: 16px;
    }

    .signupSheet td .empty label {
        display: none;
    }

    .signupSheet td.emptySlot {
        background-color: #FF8;
    }

    .signupSheet td.emptySlot div.filled {
        background-color: white !important;
        margin: 0 !important;
        padding: 2px !important;
    }

    h1.signupHeader {
        margin: 0;
        font-size: 50px;
        border-bottom: none;
        text-align: center;
    }

    h2.signupHeader {
        margin: 8px 0 8px 0;
        text-align: center;
        font-size: 16px;
    }

    .signupSheet h1 {
        margin: 10px 0 5px 0;
        border-bottom: 0;
        font-size: 16pt;
    }

    .customFooter h1 {
        font-size: 16pt;
    }

    .customFooter h2 {
        font-size: 14pt;
    }

    .signupSheet.archive h1 {
        margin-bottom: 0;
    }

    .signupSheet table {
      width: 100%;
      border-spacing: 0;
    }

    .signupSheet th, 
    .signupSheet td {
      padding: 1px;
    }

    .signupSheet td {
      border: 1px solid #888;
      font-size: 8pt;
    }

    .signupSheet td .cell {
      padding: 0;
    }

    .signupSheet td .bottomBorder {
      border-bottom: 1px dashed #ddd;
    }

    .signupSheet tr.even {
      background-color: #fff;
    }
}
