@charset "UTF-8";
/**************************************
 * file: program.css
 * brief: program.html で使う設定
 * author: Y. Kamijima
 * date: 2018/07/10
 * details:
 **************************************/

.l-sideBySide {
  align-items: center;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
}

.l-fitting {
  max-width: 100%;
}

.l-rightJustification {
  text-align: right;
}

.venueMaps {
  background-color: #f5f5f5;
  border: solid 1px #708090;
  padding: 10px;
}

.venueMaps__list {
  counter-reset: listStyle;
  list-style-type: none;
  padding: 0;
}

.venueMaps__list > li {
  cursor: pointer;
  margin: 1.5rem 0;
}

.venueMaps__list > li::before {
  counter-increment: listStyle;
  content: counter(listStyle, upper-latin) " : ";
}

.venueMaps__list > li:hover {
  color: #96a621;
}

.venueMaps__increment::before {
  counter-reset: listStyle 18;
}

.tabMenu {
  display: flex;
  margin: 30px -1px 0;   /* 各タブの左右で空白を設けているため、両端ではそれを打ち消す。 */
  padding: 0;
}

/* タブ内のテキストを中央揃えにしたいが、この方法だと上揃えになる。
下記のようにするか、テキストに対して flexbox を使う。
.tabMenu__item {
  background-color: #f4f3dc;
  color: #563;
  display: table-cell;
  height: 40px;
  list-style-type: none;
  text-align: center;
  vertical-align: middle;
  width: 150px;
}*/

.tabMenu__item {
  border-radius: 10px 10px 0 0;
  flex: 1;
  list-style-type: none;
  margin: 0 1px;   /* タブ同士に間隔をつける。 */
  text-align: center;
  padding: 1rem 0;   /* 元々は高さを 40px に設定して、上下中央揃えをしていた。 */
}

.tabMenu > li:not(.selectedTab) {
  background-color: #f4f3dc;
  color: #563;
  cursor: pointer;
}

.tabMenu > li:hover {
  background-color: #96a621;
  color: #fff;
}

.selectedTab {
  background-color: #96a621;
  color: #fff;
  cursor: default;
}

.tabPanel {
  color: #333;
}

.tabPanel__table {
  border-collapse: collapse;
  border-top: solid 1px #dee3a3;
  width: 100%;
}

/* プログラムの表は Python を使って生成する予定である（2018年7月現在）。
生成プログラムとの不整合を避けるため、以下では要素型セレクタを用いる。 */

.tabPanel__table th {
  background-color: #563;
  border-bottom: solid 1px #fff;
  color: #fff;
  font-weight: normal;
  padding: 5px 10px;
  vertical-align: top;
  min-width: 11rem;
}

.tabPanel__table td {
  border-bottom: dotted 1px #563;
  padding: 5px 0 5px 10px;
  vertical-align: top;
}

.tabPanel__table td:nth-of-type(2) {
  width: 100%;
}

.tabPanel__table--emphasize > td {
  background-color: #f4f3dc;
  color: #563;
}

.presen-data {
  line-height: 1.4;
}

.name {
  font-weight: bold;
}

.title {
  font-size: 1.1em;
}

.keyword-tag {
  color: #333;
  font-style: italic;
}

.keywords {
  color: #333;
  font-style: italic;
}

.download {
  text-align: right;
}

@media screen and (max-width: 666px) {
  .l-sideBySide {
    flex-direction: column;
  }

  .tabPanel__table th {
    min-width: 6rem;
  }
}
