@import url(/common/2021/css/site.css);

article h1 {
  font-size: 2rem;
}

nav.prevnext,
nav.monthly {
  margin-top: .5rem;
}

nav.prevnext .nav-link,
nav.monthly .nav-link {
  padding: .2rem .6rem;
}

@media (max-width: 767.98px) { /* xs, sm */
  nav.monthly .nav-link {
    padding-left: .4rem; padding-right: .4rem;
  }
  @media (max-width: 575.98px) { /* xs */
    nav.monthly .nav-link {
      max-width: 1.3rem;
      font-size: .8rem; line-height: 1.2;
      padding-left: .15rem; padding-right: .15rem;
    }
  }
}

nav.monthly .nav-link.active {
  border-bottom: double 3px #0275c8;
}

#calendar .table {
  margin-top: 1.5rem;
}

#calendar .table thead th {
  border-top: solid 1px #333; border-bottom: solid 1px #333;
  background-color: #f3f3f3;
  text-align: center;
  font-weight: normal;
  white-space: nowrap;
}

#calendar .table td {
  text-align: center;
}

#calendar .table tbody tr.period {
  background-color: #fffff3;
}

#calendar .table tbody tr.sat {
  background-color: #eeeeff;
}

#calendar .table tbody tr.sat td:nth-child(2) {
  color: #0000ff;
}

#calendar .table tbody tr.sun,
#calendar .table tbody tr.hol {
  background-color: #ffeeee;
}

#calendar .table tbody tr.sun td:nth-child(2),
#calendar .table tbody tr.hol td:nth-child(2) {
  color: #ff0000;
}

#calendar .table .moonage {
  white-space: nowrap;
  border-left: solid 1px #dee2e6; border-right: solid 1px #dee2e6;
}

#calendar .table .phenomena {
  width: 100%;
  text-align: left;
  padding-left: .75rem;
}

#calendar .table .phenomena ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
