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

section {
  text-align: justify;
}

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

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

article section.section {
  margin-top: 3rem;
}

article section.subsection h3 {
  font-size: 1.5rem;
}

#lead {
  background-color: #e9ecef;
  padding: 1.5rem 1.5rem .5rem;
  border-radius: .3rem;
  margin-bottom: 1rem;
}

#topics .event-list {
  margin-top: 1rem;
}

#topics .event-list th {
  position: relative;
  width: 5.5rem;
  font-weight: normal;
  text-align: right; vertical-align: top;
  white-space: nowrap;
}

#topics .event-list th::before {
  width: 2rem;
  position: absolute; left: 0;
  content: "⭐";
}

#topics .event-list .event-list-all th::before {
  content: '📅';
}

#topics .event-list th + td {
  width: 3rem;
  font-size: .8rem; line-height: 1.5rem;
  text-align: center; vertical-align: top;
  white-space: nowrap;
}

#topics .event-list th.sat,
#topics .event-list th.sat + td {
  color: #00f;
}

#topics .event-list th.sun,
#topics .event-list th.sun + td,
#topics .event-list th.hol,
#topics .event-list th.hol + td {
  color: #f00;
}

#topics .event-list-all.table-info {
  background-color: #f0ffff;
}

#planet section.subsection {
  padding: .5rem 1rem;
  margin-bottom: 1rem;
}

#planet section.subsection:nth-of-type(2n) {
  background-color: var(--bs-gray-200);
}

#planet section.subsection + section.subsection {
  padding-top: 1rem;
}

#planet section.subsection h3 {
  border-bottom: dotted 1px var(--bs-gray-600);
}
#planet section.subsection:nth-of-type(2n) h3 {
  border-bottom-color: var(--bs-gray-800);
}

#planet section.subsection h3::before {
  display: inline-block;
  width: 1.2em; height: 1.2em;
  content: '';
  background-position: center center;
  background-repeat: no-repat;
  background-size: contain;
  vertical-align: bottom;
  margin-right: .25em;
}

#planet section#moon h3::before {
  background-image: url(../../image/icon/moon.png);
}

#planet section#mercury h3::before {
  background-image: url(../../image/icon/mercury.png);
}

#planet section#venus h3::before {
  background-image: url(../../image/icon/venus.png);
}

#planet section#mars h3::before {
  background-image: url(../../image/icon/mars.png);
}

#planet section#jupiter h3::before {
  background-image: url(../../image/icon/jupiter.png);
}

#planet section#saturn h3::before {
  background-image: url(../../image/icon/saturn.png);
}

#planet section#uranus h3::before {
  background-image: url(../../image/icon/uranus.png);
}

#planet section#neptune h3::before {
  background-image: url(../../image/icon/neptune.png);
}

#planet section#mpc h3::before {
  background-image: url(../../image/icon/mpc.png);
}

#planet span.special-page {
  font-size: 1rem;
  padding-left: 1em;
}

#planet h3 span.limit {
  font-size: 1rem;
}

#planet section.subsection h4 {
  font-size: 1.2rem;
}

#planet ul + ul {
  margin-top: -.5rem;
}

#planet ul li {
  display: inline;
}

#planet ul li:not(:last-of-type)::after {
  content: ' ／ ';
  color: #999;
  font-size: .9rem;
}

#planet .table th,
#planet .table td {
  padding-top: 0; padding-bottom: 0;
}

#planet .table th {
  width: 3.5rem;
  font-weight: normal;
  text-align: left; vertical-align: top;
  white-space: nowrap;
  padding-left: 0;
}

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

#planet .table tbody td img {
  margin: .2rem 0;
}
