body {
  margin-top: 1rem;
  font-weight: bold;
  font-size:16px;
  font: 95% ; /* sidemenu bar字的大小 "Trebuchet MS", sans-serif;"Open sans", Arial, sans-serif;*/
}

a {
  text-decoration: none;
}

/**
 * Hidden fallback
 */
[hidden] {
  display: none;
  visibility: hidden;
}

/**
 * Styling navigation
 */
header {
  margin-right: auto;
  margin-left: auto;
  max-width: 22.5rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

/**
 * Styling top level items
 */
.nav a,
.nav label {
  display: block;
  padding: .3rem; /** 選項方框大小 **/
  color: #343434; /** 字顏色 **/
  background-color: #84bde7; /** 第一階背景色 **/
  box-shadow: inset 0 -1px #1d1d1d;
  -webkit-transition: all .25s ease-in;
  transition: all .25s ease-in;
}
a:active, .nav a:hover,
.nav label:focus,
.nav label:active,
.nav label:hover {
  color: #ffffff; /* rgba(255, 255, 255, 1.5); */
  background: #2b75ab; /** 第一階選擇時背景色 #FFBB00 **/
  font-size: 16px; /** 第一階選擇時字的大小 **/
  /** background: #030303; 第一階選擇時背景色 **/
}
.nav a.active
{
  background: #600000;
  color: #ffffff   /* 選定時字的顏色 */
}

.nav label {
  cursor: pointer;
}

/**
 * Styling first level lists items
 */
.group-list a,
.group-list label {
  padding-left: 2rem;
  background: #a6cfed; /** 第二階背景色 **/
  /** background: #252525; **/
  box-shadow: inset 0 -1px #373737;
}
.group-list a:focus, .group-list a:hover,
.group-list label:focus,
.group-list label:hover {
  background: #2b75ab; /** 第二階選擇時背景色 **/
  font-size: 16px; /** 第二階選擇時字的大小 **/
  /** background: #131313; **/
}
.group-list a.active
{
  background: #600000;
  color: #ffffff   /* 選定時字的顏色 */
}

/**
 * Styling second level list items
 */
.sub-group-list a,
.sub-group-list label {
  padding-left: 4rem;
  background: #bcdaf1;  /** 第三階背景色 **/
  box-shadow: inset 0 -1px #474747;
}
.sub-group-list a:focus, .sub-group-list a:hover,
.sub-group-list label:focus,
.sub-group-list label:hover {
  background: #2b75ab; /** 第三選擇時背景色 **/
  font-size: 16px; /** 第三階選擇時字的大小 **/
}
.sub-group-list a.active
{
  background: #600000;
  color: #ffffff   /* 選定時字的顏色 */
}

/**
 * Styling third level list items
 */
.sub-sub-group-list a,
.sub-sub-group-list label {
  padding-left: 6rem;
  background: #454545;
  box-shadow: inset 0 -1px #575757;
}
.sub-sub-group-list a:focus, .sub-sub-group-list a:hover,
.sub-sub-group-list label:focus,
.sub-sub-group-list label:hover {
  background: #333333;
}

/**
 * Hide nested lists
 */
.group-list,
.sub-group-list,
.sub-sub-group-list {
  height: 100%;
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height .5s ease-in-out;
  transition: max-height .5s ease-in-out;
}

.nav__list input[type=checkbox]:checked + label + ul {
  /* reset the height when checkbox is checked */
  max-height: 5000px;
}

/**
 * Rotating chevron icon
 */
label > span {
  float: right;
  -webkit-transition: -webkit-transform .65s ease;
  transition: -webkit-transform .65s ease;
  transition: transform .65s ease;
  transition: transform .65s ease, -webkit-transform .65s ease;
}

.nav__list input[type=checkbox]:checked + label > span {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

/**
 * Styling footer
 */
footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #050505;
}

.soc-media {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.soc-media li:nth-child(n+2) {
  margin-left: 1rem;
}

.soc-media a {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  -webkit-transition: color .25s ease-in;
  transition: color .25s ease-in;
}
.soc-media a:focus, .soc-media a:hover {
  color: rgba(255, 255, 255, 0.2);
}
