/*
Theme Name: zufang-form
Theme URI: http://weihuan.cc/
Author: Weihuan
Author URI: http://weihuan.cc
*/
*{
  padding: 0px;
  margin: 0px;
}
*:focus{
  outline: none;
}
a{
  text-decoration: none;
}
.clear:after{
    display: block;
    clear: both;
    content: '';
}
li{
	list-style: none;
}


.weihuan-form{
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.15), transparent),url(assets/images/form-bg.jpg) center top no-repeat fixed;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
}
.weihuan-form-content {
    width: 58vw;
    margin: auto;
    text-align: center;
    padding: 80px 0;
}
.weihuan-form-content .title h1 {
    font-size: 35px;
    color: #fff;
    font-weight: 900;
    text-shadow: 2px 2px 5px #000;
    letter-spacing: .4px;
}
.weihuan-form-content .title p {
    font-size: 24px;
    color: #fff;
    font-weight: 900;
    text-shadow: 2px 2px 5px #000;
    letter-spacing: .4px;
    margin: 13px 0 25px;
}
.weihuan-form-content-f {
    background-color: rgba(255,255,255,0.8);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    position: relative;
}
.weihuan-form-content-f .top {
    /*background-color: rgba(0,0,0,0.75);*/
    background-color: #717171;
    padding: 15px;
    border-radius: 10px 10px 0 0;
}
.weihuan-form-content-f .top h1 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.weihuan-form-content-f .top p {
    color: #fff;
    font-size: 14px;
}
.weihuan-pages{
	width: 500%;
    padding: 40px 0;
    min-height: 380px;
    overflow: hidden;
    position: relative;
}
.weihuan-page{
    width: 58vw;
    position: absolute;
    display: none;
}
.weihuan-page .title{
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
}
.weihuan-page .content{
	padding: 0 3vw;
}
.weihuan-page.radio .content li,.weihuan-form-a-btn{
    padding: 15px;
    display: inline-block;
    width: 24%;
    border: none;
    color: #fff;
    /*background-color: rgba(0,0,0,0.75);*/
    background-color: #717171;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 1px 1px 15px #8f8f8f;
    margin-bottom: 20px;
    cursor: pointer;
    border-radius: 2px;
}
.weihuan-form-a-btn{
    width: 30%;
    margin-top: 20px;
}
/*.weihuan-page .content li:hover,*/
.weihuan-form-a-btn:hover{
    /*background: rgba(0,0,0,0.6);*/
    opacity: 0.8;
}
.weihuan-page .content li:active,
.weihuan-form-a-btn:active{
    /*background: rgba(0,0,0,0.8);*/
    opacity: 0.9;
}
.weihuan-page.radio .content li:nth-of-type(3n-1){
	margin-left: 3%;
	margin-right: 3%;
}
.weihuan-page-area{
	padding: 0 3vw;
}
.weihuan-page-area input {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 3px;
    outline: none;
    border: 1px solid #ced4da;
    margin: 10px 0;
}

/*多选*/
.weihuan-page.checkbox .content{
	margin-bottom: 20px;
}
.weihuan-page.checkbox .content li {
    width: 20%;
    height: 50px;
    line-height: 50px;
    display: inline-block;
    font-size: 16px;
    background-color: #fff;
    border-top: 1px solid #ced4da;
    border-left: 1px solid #ced4da;
    color: rgba(73, 80, 87, 0.6);
    margin-bottom: 0;
    float: left;
    box-sizing: border-box;
    cursor: default;
}
.weihuan-page.checkbox .content li.on{
    box-shadow: none;
    background-color: #afafaf;
    background-color: #d1d1d1;
    color: #fff;
    font-weight: 600;
}
.weihuan-page.checkbox .content li:active{
    box-shadow: 0 0 0 0.2rem rgba(134,142,150,0.5);
}
.weihuan-page.checkbox .content li.right{
	border-right: 1px solid #ced4da;
}
.weihuan-page.checkbox .content li.bottom {
    border-bottom: 1px solid #ced4da;
}
.weihuan-page.checkbox .content li.bor_top{
	border-top: 0;
}
.weihuan-page.checkbox .content i:last-child{
	background: transparent;
	border-top: 0;
	border-left: 1px solid #ced4da;
	float: left;
    width: 33.33%;
    height: 35px;
}
.weihuan-page.hide{
	display: none;
}
.weihuan-page.on {
    display: block;
}
.weihuan-form-footer {
    margin-top: 50px;
    color: #fff;
}
.weihuan-page.submit .content{
    width: 53%;
    margin: auto;
    box-sizing: border-box;
}
.weihuan-page .content .name,
.weihuan-page .content .phone{
    margin-bottom: 10px;
    text-align: left;
}
.weihuan-page .content .name input,
.weihuan-page .content .phone input{
    display: block;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.weihuan-page .content .name input:focus,
.weihuan-page .content .phone input:focus{
    border-color: #03A9F4;
}
.weihuan-page .content .name span,
.weihuan-page .content .phone span{
    color: #f04134;
    font-size: 12px;
    display: block;
    text-align: left;
    display: none;
}
.weihuan-page .content .input-on{
    border-color: #f04134 !important;
}
#weihuan_find {
    position: absolute;
    bottom: 15px;
    right: 25px;
    color: #f83434;
}
.weihuan-page .title.on {
    margin-bottom: 100px;
}


/*动画*/

/*@-webkit-keyframes slideOutLeft {
	0% {
	-webkit-transform:translateZ(0);
	transform:translateZ(0)
}
to {
	visibility:hidden;
	-webkit-transform:translate3d(-100%, 0, 0);
	transform:translate3d(-100%, 0, 0)
}
}*/
@keyframes slideOutLeft {
	0% {
	-webkit-transform:translateZ(0);
	transform:translateZ(0)
}
to {
	/*visibility:hidden;*/
	-webkit-transform:translate3d(-100%, 0, 0);
	transform:translate3d(-100%, 0, 0)
}
}
.slideOutLeft {
	-webkit-animation-name:slideOutLeft;
	animation-name:slideOutLeft
}
.animated {
	-webkit-animation-duration:0.5s;
	animation-duration:0.5s;
/*	-webkit-animation-fill-mode:both;
	animation-fill-mode:both*/
}


/*手机端*/
@media screen and (max-width: 800px) {
.weihuan-form-content{
    width: 95vw;
}
.weihuan-page {
    width: 95vw;
}
.weihuan-page.radio .content li{
    width: 90%;
}
.weihuan-form-a-btn {
    width: 50%;
}
.weihuan-page.radio .content li:nth-of-type(3n-1) {
    margin-left: 0;
    margin-right: 0;
}
.weihuan-page.submit .content {
    width: auto;
}
.weihuan-page .title.on {
    margin-bottom: 70px;
}
.weihuan-page .title {
    padding: 0 2vw;
}
.weihuan-page.checkbox .content li {
    font-size: 12px;
}
}