body {
  padding-top: 20px;
  padding-bottom: 20px;
}

.header,
.footer {
  padding-right: 15px;
  padding-left: 15px;
}

.header {
  border-bottom: 1px solid #e5e5e5;
}

.footer {
  padding-top: 19px;
  color: #777;
  border-top: 1px solid #e5e5e5;
}

.container {
  max-width: 730px;
}

.jumbotron {
  cursor: pointer; /* the whole box toggles between date and month views */
  margin-top: 20px;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}

/* Footer: share button and copyright on one line, vertically centered. */
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Icon-only share button: line it up with the footer edge. */
.footer-bar .btn-link {
  padding-left: 0;
  color: #999; /* same gray as the copyright (.text-muted) */
}

.footer-bar .btn-link:hover,
.footer-bar .btn-link:focus {
  color: #777;
}

/* Thin outline icons, stroked in the current text color. */
.icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The check mark replaces the share icon for a moment after copying. */
#share .icon-check,
#share.copied .icon-share {
  display: none;
}

#share.copied .icon-check {
  display: inline-block;
}

/* Say "tap" instead of "click" on touchscreens. */
.hint-tap {
  display: none;
}

@media (pointer: coarse) {
  .hint-tap {
    display: inline;
  }

  .hint-click {
    display: none;
  }
}

/* Very narrow phones (320px): tighten padding so the 7-column grid fits. */
@media (max-width: 359px) {
  .jumbotron {
    padding-left: 10px;
    padding-right: 10px;
  }

  #calendar .table > thead > tr > th,
  #calendar .table > tbody > tr > td {
    padding: 6px 2px;
  }
}
