* {
  touch-action: pan-y;
  margin: 0;
  padding: 0;
}

//头部

ul {
  list-style: none;
}

.content {
  margin: 20px auto;
}

.top_nav {
  height: 72px;
  box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.14);
  padding: 0 0 10px 0em;
  background-color: #fff;
  position: relative;
}

.nav_tab {
  height:72px;
  /* float:right; */
}
.nav {
  height:72px;

  display: flex;
  width: auto;
  justify-content: flex-end;
  align-items: center;
}
.nav li {
  width: 10%;
  /* margin-top: 0.8em; */
}
.nav li a {
  color: #666666;
  font-size: 16px;
  text-align: center;
  /* border-right: 1px solid #5a5e61; */
  padding: 15px 0;
  position: relative;
  text-decoration: none;
}
.nav li .item:hover {
  color: #42a5f5;
  background-color: transparent;
}
.nav li .item::after {
  content: "";
  position: absolute;
  left: 40%;
  bottom: 6px;
  width: 20%;
  height: 2px;
  background-color: #42a5f5;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

.nav li .item:hover::after {
  visibility: visible;
  transform: scaleX(1);
}

.nav li .selected {
  color: #42a5f5;
}
.nav li .selected::after {
  content: "";
  position: absolute;
  left: 40%;
  bottom: 6px;
  width: 20%;
  height: 2px;
  background-color: #42a5f5;
  /* visibility: hidden; */
  /* transform: scaleX(0); */
  /* transition: all 0.3s ease-in-out; */
}
.nav li .selected:hover {
  background-color: transparent;
}
.logo {
  height: 100%;
  /* background: url(../images/logo.1f4f6fa.jpg); */
  background-repeat: no-repeat;
  background-position: 0 12px;
  background-size: 100% auto;
  width: 293px;
  overflow: hidden;
  float: left;
  margin: 6px 6px 0 0;
  transition: all 0.2s ease-in-out;
  float: left;
  color: #42a5f5;
  font-family: "Fjalla One", sans-serif;
}
.logo a {
  display: block;
  height: 100%;
  width: 100%;
  color: #42a5f5;
  font-family: "Fjalla One", sans-serif;
  font-size: 3em;
}
.logo a:hover {
  text-decoration: none;
}

.loginRe {
  position: absolute;
  right: 50px;
  top: 27px;
  font-size: 15px;
  cursor: pointer;
}

.loginRe:hover {
 color:#42a5f5;
}


.login_avatar{
  height:35px;
  width:35px;
  position: absolute;
  right: 30px;
  top: 20px;
  font-size: 15px;
  cursor: pointer;
}
/*---------------------- 底部 ------------------*/
/*底部*/
footer {
  background-color: #2e2e2e;
  color: #777;
  padding: 20px 0;
}
.footer_div {
  margin-bottom: 0px;
}
.footer_title {
  text-transform: uppercase;
  font-size: 1.5em;
  color: #ffffff;
}
.footer_text {
  margin-bottom: 25px;
}
.footer_button {
  font-size: 1em;
  text-transform: uppercase;
  color: black;
  background-color: #ffffff;
  padding: 10px 10px;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}
.footer_button:hover {
  color: #fff;
  background-color: #42a5f5;
  text-decoration: none;
}
.col-sm-3 ul {
  list-style: none;
  padding-left: 2px;
}
.col-sm-3 ul li {
  border-bottom: 1px ridge rgba(192, 192, 192, 0.13);
  padding: 0px 0px 5px 0px;
  margin: 9px 0px;
}
.col-sm-3 ul li a {
  color: #777;
  text-transform: uppercase;
  margin: 5px;
  font-size: 1.1em;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}
.col-sm-3 ul li a:hover {
  color: #fff;
  text-decoration: none;
}
.thess_div a {
  text-transform: uppercase;
  font-weight: 600;
  padding-right: 2px;
}
.thess_div a:hover {
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  text-decoration: none;
  color: #ffffff;
}
.footer_bottom {
  background-color: #202020;
  color: #ffffff;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  padding: 10px 0;
}
.footer_bottom p {
  font-size: 1.1em;
  font-weight: 100;
  padding: 0;
  margin: 0;
}

/*媒体查询*/
@media (max-width: 768px) {
  .nav {
    width: auto;
    float: none;
  }
  .nav li {
    width: auto;
  }
  .nav li a {
    padding: 10px 0;
  }
  .headline h5 {
    width: 85%;
  }
  .read {
    margin: 10px 10px 20px 10px;
  }
  .read .read_text {
  }
  .read .read_text h2 {
    font-size: 1.2em;
    margin: 5px 0;
  }
  .read .read_text p {
    color: #777777;
    font-size: 1em;
    padding: 0;
    margin: 0;
  }
  .read .read_button {
    float: none;
    display: block;
    font-size: 1em;
    padding: 9px 9px;
    background-color: #6a737b;

    margin: 0 auto 30px auto;
  }
  .img_text h3 {
    font-size: 1.3em;
  }
  .footer_bottom p {
    font-size: 1em;
    font-weight: normal;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 2em;
  }
  .icn {
    margin: 0.7em 0em 0.2em 0;
    padding: 0;
  }
  .icn ul {
    padding: 0;
  }
  .icn ul li a {
    padding: 5px 6px;
  }
  .icn ul li {
    margin: 0 3px 0 0;
  }
  .headline h1 {
    font-size: 1.5em;
  }
  .headline h5 {
    width: 65%;
  }
  .card_content h4 {
    font-size: 1.1em;
  }
  .read {
    margin: 25px;
    padding: 0 10px;
  }
  .read .read_text h2 {
    font-size: 0.9em;
    margin: 2px 0;
  }
  .read .read_text p {
    color: #777777;
    font-size: 0.8em;
    padding: 0;
    margin: 0;
  }
  .read .read_button {
    float: none;
    display: block;
    font-size: 0.9em;
    padding: 9px 9px;
    background-color: #6a737b;

    margin: 0 auto 10px auto;
  }
  .img_text h3 {
    margin-top: 10px;
    font-size: 0.9em;
  }
  .img_text p {
    font-size: 0.8em;

    margin-bottom: 10px;
  }
  .img_text a {
    color: black;
    font-size: 0.8em;
    padding: 5px 3px;
  }
  .footer_bottom p {
    font-size: 0.9em;
    font-weight: normal;
    margin: 0 10px;
  }
}


.else {
  width: 100%;
  display: none;
}

.else-list {
  width: 100%;
  height: 40px;
  background-color: white;
  border: 1px solid black;
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 20px;
  color: black;

}

.else-list:hover {
  color: white;
  background-color: blue;
}

.last {
  border-bottom: none;
}

.first {
  border-top: none;
}