@font-face
{
  font-family: NF-Copse-Regular;
  src: url('../font/Copse-Regular.ttf');
}

@font-face
{
  font-family: NF-Poppins-Bold;
  src: url('../font/Poppins-Bold.ttf');
}

@font-face
{
  font-family: NF-Poppins-Semi-Bold;
  src: url('../font/Poppins-SemiBold.ttf');
}

@font-face
{
  font-family: NF-Poppins-Light;
  src: url('../font/Poppins-Light.ttf');
}

@font-face
{
  font-family: NF-Poppins-Light-Italic;
  src: url('../font/Poppins-Light-Italic.ttf');
}

@font-face
{
  font-family: NF-Poppins-Medium;
  src: url('../font/Poppins-Medium.ttf');
}

/****************************************************************************/

*
{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html
{
  font-size: 20px;
}

p
{
  margin-bottom: 0!important;
}

.br
{
  display: block;
  width: 100%;
  height: 1rem;
}

/****************************************************************************/

.copse-regular
{
  font-family: NF-Copse-Regular!important;
}

.poppins-bold
{
  font-family: NF-Poppins-Bold!important;
}

.poppins-semi-bold
{
  font-family: NF-Poppins-Semi-Bold!important;
}

.poppins-light
{
  font-family: NF-Poppins-Light!important;
}

.poppins-light-italic
{
  font-family: NF-Poppins-Light-Italic!important;
}

.poppins-medium
{
  font-family: NF-Poppins-Medium!important;
}

.yellow-underline
{
  display: inline-block;
  position: relative;
}

.yellow-underline span
{
  position: relative;
  z-index: 9;
}

.yellow-underline::before
{
  content: '';
  display: block;
  width: 100%;
  height: 1.2rem;
  background-color: #ffe63c;
  position: absolute;
  left: 0;
  bottom: -0.25rem;
}

.deep-bg-color
{
  background-color: #e6e6e1;
}

.light-bg-color
{
  background-color: #f0f0f0;
}

.opacity7
{
  opacity: 0.7;
}

.fs09rem
{
  font-size: 0.9rem;
}

.fs08rem
{
  font-size: 0.8rem;
}

.fs07rem
{
  font-size: 0.7rem;
}

.fs06rem
{
  font-size: 0.6rem;
}

.page-module
{
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.page-module>.wrap
{
  width: 320px;
  margin: 0 auto;
  overflow: hidden;
}

.page-module h2
{
  font-size: 1.5rem;
  font-family: NF-Copse-Regular;
}

.page-module h3
{
  font-size: 1rem;
  font-family: NF-Poppins-Light;
}

.page-module p
{
  font-size: 0.8rem;
  font-family: NF-Poppins-Light;
}

.page-module a
{
  color: #c8645a;
}

/*******************************************************************/

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

#header .navbar
{
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  flex-direction: column;
}

#header .navbar .control-area
{
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

#header .navbar .control-area::before
{
  content: '';
  display: block;
  width: 3rem;
}

#header .navbar>*
{
  flex-grow: 0;
  flex-shrink: 0;
}

#header .navbar-brand
{
  margin-right: 0;
}

#header .logo
{
  display: block;
  height: 3rem;
}

#header .navbar-toggler
{
  padding: 0;
  border: none;
  outline: none;
  display: none;
}

#header .navbar-toggler.collapsed
{
  display: block;
}

#header .navbar-toggler+.btn-close-list
{
  display: block;
}

#header .navbar-toggler.collapsed+.btn-close-list
{
  display: none;
}

#header .btn-close-list span
{
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  /* TODO 导入关闭按钮图片 */
}

#header .navbar-nav
{
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding-bottom: 0.5rem;
  flex-direction: column;
  align-items: flex-start;
}

#header .nav-link
{
  color: #1e3c50;
  font-size: 1rem;
  line-height: 1rem;
  position: relative;
  display: inline;
}

#header .nav-link::before
{
  content: '';
  display: block;
  width: 100%;
  height: 0.8rem;
  background-color: #e6e6e1;
  position: absolute;
  left: 0;
  bottom: 0.1rem;
}

#header .nav-link.active::before
{
  background-color: #ffe63c;
}

#header .nav-link span
{
  font-family: NF-Copse-Regular;
  position: relative;
  z-index: 99;
}

/*******************************************************************/

#footer
{
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

#footer>div
{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

#footer>div a img
{
  width: 1rem;
}

#footer>div a:nth-child(2)
{
  margin-left: 1rem;
  margin-right: 1rem;
}
