@charset "UTF-8";
body * {
  box-sizing: border-box;
  flex-shrink: 0;
}

body * {
  outline: none;
}

body {
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma, Arial, PingFang SC-Light, Microsoft YaHei;
}

button {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  outline: none;
  background-color: transparent;
}

button:active {
  opacity: 0.6;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.justify-start {
  display: flex;
  justify-content: flex-start;
}

.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}

.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}

.justify-around {
  display: flex;
  justify-content: space-around;
}

.justify-between {
  display: flex;
  justify-content: space-between;
}

.align-start {
  display: flex;
  align-items: flex-start;
}

.align-center {
  display: flex;
  align-items: center;
}

.align-end {
  display: flex;
  align-items: flex-end;
}

/* 样式初始化 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td {
  margin: 0;
  padding: 0;
}

body,
button,
input,
select,
textarea {
  font: 12px/1.5tahoma, arial, \5b8b\4f53;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

address,
cite,
dfn,
em,
var {
  font-style: normal;
}

code,
kbd,
pre,
samp {
  font-family: couriernew, courier, monospace;
}

small {
  font-size: 12px;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: none;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

legend {
  color: #000;
}

fieldset,
img {
  border: 0;
}

img {
  object-fit: cover;
}

button,
input,
select,
textarea {
  font-size: 100%;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 初始化Bootstrap 样式 */
.navbar-default .navbar-nav > li > a {
  color: #333333;
  font-size: 14px;
}

/* 内容页中导航样式 */
#main-navigation {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#main-navigation li {
  margin-left: 50px;
  position: relative;
}

#main-navigation li a {
  font-size: 16px;
  font-family: PingFang SC-Regular, PingFang SC;
  font-weight: 400;
  color: #333333;
  line-height: 24px;
}

#main-navigation li::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: #333333;
  border-radius: 2px;
  transition: width 0.3s;
}

#main-navigation li:hover::before {
  width: 30px;
}

#main-navigation li.active a {
  font-weight: bold;
  font-family: PingFang SC-Medium, PingFang SC;
}

#main-navigation li.active::before {
  width: 30px;
}

@media screen and (max-width: 1600px) {
  #main-navigation {
    width: 100%;
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 767px) {
  #main-navigation {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 30rem;
  }
  #main-navigation li {
    width: 33%;
    text-align: center;
    margin-left: 0;
    padding: 12rem;
    margin-bottom: 10rem;
  }
  #main-navigation li a {
    font-size: 16rem;
  }
  #main-navigation li::before {
    bottom: -6rem;
    height: 4px;
  }
}
