*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}

html {
  font-size: 62.5%
}

body {
  font-size: 1.4rem;
  font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif;
  background-color: #fafafa;
  color: #313131
}

html, body {
  height: 100%
}

.logoBox {
  width: 24rem;
  height: 8rem;
  margin: 15px auto 50px auto;
}

.logoBox img {
  width: 100%;
  height: 100%;
}

.footer {
  width: 15rem;
  height: 5rem;
  margin: 0 auto 1.4rem auto;
}

a {
  color: #313131;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(120, 120, 120, 0.2)
}

ul {
  padding: 0;
  margin: 0;
  list-style: none
}

dt, dd {
  margin: 0;
  padding: 0
}

.grayLine {
  margin: 0rem auto;
  max-width: 900px;
  min-width: 360px;
  width: 80%;
  height: 1px;
  background-color: #ebebeb
}

section {
  padding: 0 1.2rem
}

section>.split {
  height: 1px
}

.search-bar {
  width: 100%;
  margin: 0 0 2rem 0;
  border: 1px solid #4b7ad2;
  border-radius: 3px;
  background-color: white;
}

.search-bar:before, .search-bar:after {
  content: "";
  display: table
}

.search-bar:after {
  clear: both
}

.search-bar input {
  border: none;
  border-radius: 3px;
  height: 3.8rem;
  width: 80%;
  text-indent: 1rem;
  font-size: 1.6rem;
  line-height: 4rem
}

.search-bar input:focus {
  outline: none
}

.search-bar button {
  float: right;
  border: none;
  height: 3.8rem;
  width: 12%;
  background: #4b7ad2
}

.search-bar button img {
  max-width: 60%;
  max-height: 60%;
  margin: 0.3rem auto 0 auto
}

.topBox {
  font-size: 1.4rem;
  padding-top: 20rem;
  /**background-color: #ebebeb;**/
  max-width: 800px;
  min-width: 350px;
  margin: 0 auto;
}

.topBox h3:before {
  background-color: #508aeb
}

.topBox h3 a {
  color: #508aeb
}

.topBox dt a {
  color: #508aeb
}

.footBox {
  font-size: 1rem;
  /**padding: 2rem;
  background-color: #ebebeb;**/
  position: absolute;
  bottom: 0;
  margin: 0 auto;
  padding: 0 0;
  width: 100%;
  color: #999;
  text-align: center;
}

.footBox h3:before {
  background-color: #508aeb
}

.footBox h3 a {
  color: #508aeb
}

.footBox dt a {
  color: #508aeb
}

.footBox a {
  color: #999
}

.footBox img {
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  margin-bottom: 3px;
  filter: brightness(200%);
}

.footNav {
  font-size: 1rem;
  /**padding: 2rem;
  background-color: #ebebeb;
  position: absolute;**/
  bottom: 0;
  margin: 0 auto;
  padding: 0 0;
  width: 100%;
  color: #90a1ad;
  text-align: center;
}

.footNav h3:before {
  background-color: #508aeb
}

.footNav h3 a {
  color: #508aeb
}

.footNav dt a {
  color: #508aeb
}

.footNav a {
  color: #999
}

.footNav img {
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  margin-bottom: 3px;
  filter: brightness(200%);
}

.mSiteBox {
  margin: 0rem auto;
  max-width: 900px;
  min-width: 360px;
  font-size: 1.4rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mSiteBox h3:before {
  background-color: #dd5847
}

.mSiteBox h3 a {
  color: #dd5847
}

.mSiteBox dt a {
  color: #dd5847
}

.mSiteTittle {
  width: 100%;
  margin: 0 auto 0 auto;
  text-align: center;
  font-size: 1.6rem;
  position: relative;
}

.tittleBg {
  position: absolute;
  width: 4rem;
  height: 1rem;
  background-color: #adfdcc;
  left: 50%;
  bottom: -0.2rem;
  z-index: -1;
  margin-left: -2rem;
}

.mSiteTittle h3 {
  font-size: 1.6rem;
  text-align: center;
}

.mSiteBox dl {
  font-size: 1.4rem;
  margin: 1rem 0
}

.mSiteBox dl:before, .mSiteBox dl:after {
  content: "";
  display: table
}

.mSiteBox dl:after {
  clear: both
}

.mSiteBox dt {
  position: relative;
  float: left;
  width: 20%;
  text-indent: 1rem
}

.mSiteBox dt:after {
  content: ' ';
  font-size: 2rem;
  color: #c4c4c4;
  position: absolute;
  right: 0.5rem;
  top: 0.6rem;
  width: 1px;
  height: 1.6rem;
  border-right: 1px solid #c4c4c4
}

.mSiteBox dd {
  float: left;
  width: 20%;
  text-align: center
}

.mSiteBox dt a, .mSiteBox dd a {
  display: block;
  height: 3rem;
  line-height: 3rem
}

.topSiteBox {
  margin: 0 auto;
}

.topSiteBox:before, .topSiteBox:after {
  content: "";
  display: table
}

.topSiteBox:after {
  clear: both
}

.topSiteBox li {
  /**float: left;**/
  width: 120px;
  height: 65px;
  margin-top: 20px;
  text-align: center;
  margin-bottom: 1.4rem;
  font-size: 1.2rem;
  display: inline-block;
}

.topSiteBox li a {
  display: block;
  padding: 0.2rem 0
}

.topSiteBox li img {
  display: block;
  max-width: 100%;
  max-height: 3.1rem;
  margin: 0 auto 0.5rem auto;
  border-radius: 4px
}

.topSiteBox[data-count="6"] li, .topSiteBox[data-count="12"] li {
  width: 16.66%
}

#searchBox {
  overflow: hidden;
  width: 100%;
  height: 3.8rem;
}

#search {
  width: 78%;
  height: 3.8rem;
  border-top: 1px solid #15120e;
  border-bottom: 1px solid #15120e;
  border-right: 0 none;
  border-left: 0 none;
  float: left;
  color: #afafaf;
  font-size: 1.6rem;
  padding-left: 0;
  color: #15120e;
  border-radius: 0px;
}

#search:hover {
  color: #15120e
}

#searchBtn {
  width: 12%;
  height: 3.8rem;
  background-color: #ebebeb;
  border: 1px solid #15120e;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  float: left;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.4)
}

#searchBtn img {
  max-width: 60%;
  max-height: 60%;
  margin: 0.3rem auto 0 auto;
  background: url(../images/searchblack.png);
  background-size: cover;
}

.searchChoice {
  -webkit-tap-highlight-color: rgba(120, 120, 120, 0.2);
  width: 10%;
  height: 3.8rem;
  background-color: white;
  border: 1px solid #15120e;
  border-right: 0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  float: left;
  background-position: 12px 12px;
  background-repeat: no-repeat;
  position: relative;
}

.sChoiceBtn {
  width: 1.8rem;
  height: 1.8rem;
  margin: 1rem auto 0 auto;
  background-repeat: no-repeat;
}

.sChoiceBtnImg {
  width: 100%;
  height: 100%
}

.scBigBox {
  display: none;
  overflow: hidden;
  width: auto;
  height: auto;
  background-color: white;
  position: absolute;
  top: 3.2rem;
  border: solid 1px #15120e;
  border-radius: 5px;
  z-index: 41;
}

.scSmallBox {
  -webkit-tap-highlight-color: rgba(120, 120, 120, 0.2);
  overflow: hidden;
  /**width: 11rem;**/
  width: 4rem;
  height: 2.8rem;
  color: #545454;
}

.scImg {
  width: 1.8rem;
  height: 1.8rem;
  margin: 0.5rem 0.8rem 0 1rem;
  float: left;
}

.scName {
  font-size: 1.6rem;
  float: left;
  display: block;
  width: 6.5rem;
  height: 2.8rem;
  margin-top: 0.5rem;
}

/*---------------------搜索框样式-------------------------------*/
.keywordClose {
  position: absolute;
  width: 1.8rem;
  height: 1.8rem;
  right: 13%;
  top: 4rem;
  display: none;
  z-index: 41
}

.keywordClose img {
  width: 100%;
  height: 100%
}

#search_bg {
  height: 3.8rem;
  margin: 0 0 2rem 0;
}

#search_bg #button_bg {
  position: relative;
}

#search_bg #button_bg .textb {
  display: block;
  outline: none;
  float: left;
  text-align: left;
}

#search_bg #button_bg .subb {
  display: block;
  outline: none;
  float: left;
}

#search_bg #button_bg .keyword {
  width: 81%;
  height: auto;
  max-height: 12rem;
  border: solid 1px #15120e;
  border-top: none;
  position: absolute;
  top: 3.8rem;
  left: 7%;
  z-index: 40;
  display: none;
  font-size: 1.5rem;
  background-color: white;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  overflow: hidden;
}

#search_bg #button_bg .keyword span {
  display: block;
  clear: both;
  width: 100%;
  height: 2.4rem;
  text-indent: 1rem;
  line-height: 2.4rem;
  background: white;
  border-bottom: solid 1px #ffffff;
}

#search_bg #button_bg .keyword span:hover {
  background: rgba(0, 0, 0, 0.5);
}

/*------------------seach结果集样式---------------------*/
/*------------------二维码---------------------*/
.ewm {
  margin: 0 auto;
  margin-bottom: 0;
  width: 60px;
  height: 60px;
  background: url(../images/QRcode.png);
  background-size: cover;
}

/*------------------二维码---------------------*/
/*------------------右侧控制---------------------*/
.switch {
  width: 20px;
  height: 120px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
}

#moon {
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
  background: url(../images/moon.png);
  background-size: cover;
}

#mess {
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
  background: url(../images/mess.png);
  background-size: cover;
}

#cod {
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
  background: url(../images/coding.png);
  background-size: cover;
}
#red {
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
  background: url(../images/RedPacket.png);
  background-size: cover;
}
#cloud {
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
  background: url(../images/cloud1.png);
  background-size: cover;
}

/*------------------右侧控制---------------------*/
/*------------------手机端---------------------*/
@media only screen and (max-width:420px) {
  .logoBox {
    width: 24rem;
    height: 8rem;
    margin: 1rem auto 3rem auto;
  }

  .topBox {
    font-size: 1.4rem;
    padding-top: 10rem;
    max-width: 800px;
    min-width: 350px;
    margin: 0 auto;
  }

  .topSiteBox li {
    width: 60px;
    margin-top: 10px
  }

  .ewm {
    display: none;
  }

  .copyright {
    display: none;
  }

  .switch {
    width: 15px;
    height: 60px;
    position: fixed;
    right: 15px;
    top: 10px;
    z-index: 999;
  }

  #moon {
    width: 15px;
    height: 15px;
    margin-bottom: 10px;
    background: url(../images/moon.png);
    background-size: cover;
  }

  #mess {
    display: true;
  }

  #cod {
    display: none;
  }

  #red {
    display: true;
  }
  #red {
  width: 15px;
  height: 15px;
  }

  #cloud {
    display: true;
  }
  #cloud {
  width: 15px;
  height: 15px;
  }

  #mess {
    width: 15px;
    height: 15px;
    margin-bottom: 10px;
    background: url(../images/mess.png);
    background-size: cover;
  }
/**
  #cod {
    width: 15px;
    height: 15px;
    margin-bottom: 10px;
    background: url(../images/coding.png);
    background-size: cover;
  }
  **/
}

/*------------------手机端---------------------*/
