.banner{
  background: url(../images/banner-solve.png) no-repeat center center;
}
.banner{
  background: url(../images/banner-solve.png) no-repeat center center;
}
#banner{
  background: #f0f0f0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
/** 如果屏幕大于840px才设置header的高度，小于让图片撑开 **/
@media (min-width: 840px) {
  #banner{
    height: 200px;
  }
  .solve-list{
    margin-top: -50px;
  }
}
@media (max-width: 840px) {

  .solve-list{
    margin-top: 10px;
  }
}
/** 设置img banner的宽度100% **/
#banner > img{
  width: 100%;
}

.content{
  width: 65%;
  text-align: center;
  margin: 0 auto 70px auto;
}

.search-content{
  margin-top: 50px;
}

@media (min-width: 840px) {
  .nav-tabs {
    margin: 0;
    padding: 0;
    border-bottom: none;
  }
  .nav-tabs>li>a {
    line-height: 40px;margin: 0 0 10px;color: #333333; text-align: center;
    font-size: 16px;
  }
  .nav-tabs li{
    list-style-type: none;
    display: inline-block;
    font-size: 16px;
    height: 60px;
    overflow: hidden;
    min-width:180px;
    line-height: 100px;
    font-family: sans-serif;
    cursor: pointer;
  }
  .nav-tabs  navbar-default{
    background: white;
  }
  .nav-tabs li p{
    line-height: 40px;
  }
  .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus {
    background-color: rgba(255, 105, 0, 1);
    border-radius: 30px;
    box-shadow: 0 2px 6px 0 rgba(255, 105, 0, 0.3);
    color: rgba(255, 255, 255, 1);
    border: none;
    cursor: pointer;
  }
  .nav-tabs li:hover, .nav-tabs>li>a:hover, .search-content ul li:hover, .nav-tabs>li.active>a:hover{
    border: none;
    background: rgba(0,0,0,0);
    cursor: pointer;
  }
  /*
     .nav-tabs li:hover, .nav-tabs>li>a:hover, .search-content ul li:hover
  */
  .nav-tabs li.active, .nav-tabs>li.active>a:hover{
    background-color: rgba(255, 105, 0, 1);
    border-radius: 30px;
    box-shadow: 0 2px 6px 0 rgba(255, 105, 0, 0.3);
    color: rgba(255, 255, 255, 1);
    border: none;
    cursor: pointer;
  }

  #myTab>li>a:focus,#myTab>li>a:hover {
    /*    background-color: rgba(255, 105, 0, 1)!important;
        color: white; */
    border: none;
    background: rgba(0,0,0,0);
    cursor: pointer;
    /* color: #333333; */
  }
}
@media (max-width: 840px) {
  .nav-tabs {
    margin: 0;
    padding: 0;
    border-bottom: none;
  }
  .nav-tabs>li>a {
    line-height: 40px;margin: 0 0 10px;color: #333333; text-align: center;
    font-size: 16px;
  }
  .nav-tabs li{
    list-style-type: none;
    display: inline-block;
    font-size: 16px;
    height: 60px;
    overflow: hidden;
    max-width:180px;
    line-height: 100px;
    font-family: sans-serif;
    cursor: pointer;
  }
  .nav-tabs  navbar-default{
    background: white;
  }
  .nav-tabs li p{
    line-height: 40px;
  }
  .nav-tabs>li.active>a {
    background-color: rgba(255, 105, 0, 1);
    border-radius: 30px;
    box-shadow: 0 2px 12px 0 rgba(255, 105, 0, 0.3);
    color: rgba(255, 255, 255, 1);
  }
  /*  .search-content ul li:hover
    .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover
   */
  .nav-tabs li.active{
    background-color: rgba(255, 105, 0, 1);
    border-radius: 30px;
    box-shadow: 0 2px 12px 0 rgba(255, 105, 0, 0.3);
    color: rgba(255, 255, 255, 1);
  }

  .nav>li>a:focus, .nav>li>a:hover {
    background: white;
  }
}

.search-content ul{
  margin: 0;
  padding: 0;
}

.search-content ul li{
  list-style-type: none;
  display: inline-block;
  font-size: 18px;
  height: 60px;
  width: 16%;
  margin-left: 1%;
  line-height: 100px;
  font-family: sans-serif;
  cursor: pointer;
}

.search-content ul li p{
  line-height: 60px;
}

.search-content ul li.active, .search-content ul li:hover{
  background-color: rgba(255, 105, 0, 1);
  border-radius: 30px;
  box-shadow: 0 4px 24px 0 rgba(255, 105, 0, 0.3);
  color: rgba(255, 255, 255, 1);
}


.solve-list ul{
  text-align: left;
  margin: 0;
  padding: 0;
}

.solve-list ul li{
  list-style-type: none;
  display: inline-block;
  /* width: 30.25%; */
  margin-top: 30px;
  box-sizing: border-box;
  padding: 0;
  min-height: 400px
}

.solve-list li:not(:nth-child(3n+1)){
  /* margin-left:30px; */
}

.solve-list .solve-img img{
  width: 100%;padding-top: 15px;
}

.solve-list .solve-desc{
  text-align: center;
}

.solve-list .solve-desc .solve-title{
  font-size: 20px;
  color: rgba(51, 51, 51, 1);
  margin-top: 25px;
}

.solve-list .solve-desc .solve-content{
  font-size: 14px;
  color: rgba(153, 153, 153, 1);
  margin-top: 30px;
  min-height: 80px;
}
.solve-list ul li .solve-desc .solve-detail{
  opacity: 0;
  transition: color 200ms;
  margin-top: 5%;
  margin-bottom: 10%;
}

.solve-list ul li:hover{
  box-shadow: 0 6px 30px 0 rgba(0, 0, 0, 0.08);
  transition: all 200ms;
}

.solve-list ul li:hover .solve-desc .solve-detail{
  opacity: 1;
  transition: all 200ms;
}

.solve-list .solve-more{
  margin-top: 20px;
  font-size: 16px;
}

.solve-list .solve-more a{
  color: rgba(234, 85, 4, 1);
}
