.co_blue{color: #54C7DE;}
.co_red{color: #F8789A;}
.co_yellow{color: #FCBB74;}
.co_purple{color: #b362c1;}

#tools {
  width: 100%;
  overflow: hidden;
  padding: 10px;
  padding-top: 0;
  box-sizing: border-box;
}
.form-warp{
    margin-bottom: 20px;
    border: 1px solid #ebebeb;
    padding-top: 10px;
}
.tools-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 10px 0;
  justify-content: space-around;
}
.tools-nav span {
  margin-right: 5px;
  cursor: pointer;
  padding: 6px;
  width: 40%;
  text-align: center;
  border-radius: 4px;
  position: relative;
  font-size: 18px;
  margin-bottom: 10px;
  border: 1px solid #ebebeb;
  background: #f8f8f8;
}
.tools-nav span:hover {
  color: #caa456;
}
.tools-nav span.current {
  background: #ba4a57;
  color: #fff;
}
.tools2 {
  display: flex;
  flex-wrap: wrap;
}
.tools2 a {
  font-size: 14px;
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666;
  margin-bottom: 10px;
  padding: 10px 0;
  transition: all 0.3s;
  border-radius: 6px;
}
.tools2 a:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  position: relative;
  top: -2px;
}
.tools2 a img {
  height: 40px;
  width: 40px;
  display: inline-block;
  margin-bottom: 5px;
}
input {
  border: none;
  background: 0 0;
  outline: 0;
}
.swiper-slide h3 {
  text-align: center;
  font-weight: 700;
  color: var(--hover_color);
  font-size: 24px;
}
.swiper-slide .input {
  background: url(https://static.hmz8.com/qmz99/bg/input_text_bj.jpg) no-repeat;
  background-size: 100% 100%;
  margin: 20px auto;
  position: relative;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  text-align: left;
  padding: 0 20px;
  border-radius: 3px;
}
.swiper-slide .input > input {
  flex: 1;
  font-size: 16px;
  width: 100px;
}
.swiper-slide .input > input::placeholder {
  color: #ccc;
}
.swiper-slide .input > select {
  width: 100%;
  height: 100%;
  border: none;
  background: 0 0;
  font-size: 16px;
}
.swiper-slide > p {
  text-align: center;
  color: red;
  font-size: 12px;
}
.swiper-slide .ms {
  color: #888;
  background: #f1f1f1;
  padding: 10px;
  text-align: center;
  border-radius: 6px;
  line-height: 1.8;
  font-size: 15px;
}
.sex-warp {
  display: flex;
}
.sex-warp i {
  font-style: normal;
}
.sex-warp i {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #b8b8b8;
  margin-left: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
}
.sex-warp input:checked ~ i {
  background: #caa456;
  color: #fff;
}
.sex-warp input {
  display: none;
}
.swiper-wrapper.swiper-no-swiping {
    width: 200%;
    display: flex;
}
.swiper-slide {
    width: 100%;
}
.swiper-slide .submit {
  height: 50px;
  line-height: 50px;
  background: #4E98A1;
  background-size: 100% 100%;
  text-align: center;
  font-size: 18px;
  color: #fff;
  margin: 0 auto;
  border-radius: 4px;
  margin-bottom: 10px;
      display: block;
    width: 100%;
}
.swiper-slide .input,
.swiper-slide .submit {
width: 88%;
}

@media only screen and (min-width:768px){
    .boxwarp{
        margin-top: 15px;
        margin-bottom: 15px;
        border: 1px solid #dddddd;
    }
    .boxwarp .head{
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 40px;
        line-height: 40px;
        background-color: #ebfcfe;
        padding: 0 20px;
    }
    .boxwarp .head .right a{
        margin-left: 5px;
    }
    .boxwarp .recomnav a{
        width: 118px;
        height: 40px;
        color: #007e8c;
        display: inline-block;
        margin: 3px 5px;
        font-size: 14px;
        border: 1px solid #5fc6d0;
        line-height: 40px;
        text-align: center;
    }
    .boxwarp .recomnav{
        padding: 10px 4px;
    }
    .boxwarp .recomnav a:hover{
        background-color:#5fc6d0;
    }
    .tools-warp{
        display: flex;
        justify-content: center;
        padding-top: 20px;
    }
    
    .form-warp{
        max-width: 580px;
        border: none;
        border-right: 1px solid #ebebeb;
        margin-right: 10px;
    }
    .aside .form-warp{
        border-right: none;
    }
    .swiper-slide .input, .swiper-slide .submit {
        width: 88%;
        cursor: pointer;
        max-width: 400px;
    }
    .tools-nav span {
        margin-right: 5px;
        cursor: pointer;
        border-radius: 4px;
        font-size: 14px;
        margin-bottom: 10px;
        display: inline-block;
        width: 40%;
        text-align: center;
        height: 30px;
        line-height: 30px;
        position: relative;
        padding: 0;
        border: 1px solid #ebebeb;
    }
    .tools-nav span.current:after{
        content: '';
        width: 8px;
        height: 8px;
        background: #ba4a57;
        position: absolute;
        left: 50%;
        bottom: -6px;
        transform: rotate(45deg) translateX(-50%);
    }
    .tools-nav span:hover{
        border: 1px solid #caa456;
    }
}
@media only screen and (max-width:768px){
    .boxwarp{
        padding: 0.24rem;
    }
    .boxwarp .head{
        display: none;
    }
    .boxwarp .recomnav{
       display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .tools-nav span.current:after {
        content: '';
        width: 0.16rem;
        height: 0.16rem;
        background: #ba4a57;
        position: absolute;
        left: 50%;
        bottom: -0.14rem;
        transform: rotate(45deg) translateX(-50%);
    }
    .boxwarp .recomnav a{
        width: 30%;
        height: 0.8rem;
        color: #007e8c;
        display: inline-block;
        margin: 0.1rem 0.04rem;
        font-size: 0.24rem;
        border: 1px solid #5fc6d0;
        line-height: 0.8rem;
        text-align: center;
    }
}