
/* 我要投诉 */

.tousu-import{
    z-index: 9999;
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 40px;
    height: 40px;
    padding: 2px;
    cursor: pointer;
    color: #eaeaea;
    background: #4f4f4f78;
    text-align: center;
    font-size: 12px;
    line-height: 12px;
}
.tousu-import:hover{
    background: #37b6a5eb;
}
.tousu{
    display: none;
    z-index: 99999;
    position: fixed;
    right: 80px;
    bottom: 100px;
    width: 540px;
    padding: 40px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    background: url(./tousu-bg.png) center no-repeat;
}
.tousu .close{
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 22px;
    color: #999;
    cursor: pointer;
}
.tousu .form-group{
    margin-bottom: 25px;
}
.tousu .form-group span{
    position: relative;
    display: block;
    font-size: 18px;
    margin-bottom: 15px;
}
.tousu .form-group span::before{
    position: absolute;
    content: "*";
    top: -2px;
    left: -10px;
    color: red;
}

.radio label{
    position: relative;
    display: inline-block;
    margin-right: 12px;
    cursor: pointer;
}
.radio i{
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background: url(./radio.png) no-repeat;
    background-size: 100%;
}
.radio input{
    vertical-align: middle;
    position: relative;
    z-index: 11;
    width: 20px;
    height: 30px;
    opacity: 0;
    margin-right: 3px;
    cursor: pointer;
}
.radio input:checked + i{
    background: url(./radio_check.png) no-repeat;
    background-size: 100%;
}

.tousu .form-group textarea{
    width: 100%;
    height: 120px;
    padding: 15px 20px ;
    resize: none;
    background: #fff;
    border: 1px solid #eee;
    font-size: 16px;
}
.tousu .form-group div{
    width: 46%;
}
.tousu .form-group div input{
    width: 100%;
    height: 50px;
    padding: 0 15px;
    font-size: 16px;
    border: 1px solid #eee;
}
.tousu .form-group textarea::placeholder,
.tousu .form-group input::placeholder{
    color: #ccc;
}

.tousu .submit input{
    display: block;
    width: 160px;
    height: 50px;
    margin: 0 auto;
    background: #f47c2e;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}
.kuang_tips{
    position: relative; height: 0px; width: 100%
}
.kuang_tips>div{
    position:absolute; top: -20%; width: 100%; text-align: center; height: 30px;
}
.kuang_tips>div span.tips{padding: 8px 15px; display: none}
.kuang_tips>div span.tips.success{border: #00b990 1px solid; color: #00b990;background: #00b99021;display: inline-block;
    animation: fade-in 0.5s ease-in-out forwards;}
.kuang_tips>div span.tips.error{border: #f54549 1px solid; color: #f54549;background: #f5454921;display: inline-block;
    animation: fade-in 0.5s ease-in-out forwards;}
/* 定义一个名为 "fade-in" 的关键帧动画 */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@media screen and (max-width: 867px){
    .tousu-import{
        /*width: 100px;*/
        bottom: 10px;
        right: 10px;
    }
    .tousu{
        width: 320px;
        left: 50%;
        padding: 30px;
        margin-left: -160px;
        background-size: 100% 100%;
    }
    .tousu .form-group span{
        font-size: 16px;
    }
    .radio p{
        display: block;
        font-size: 14px;
    }
    .radio input{
        margin-right: 0;
    }
    .radio i{
        top: 6px;
        width: 15px;
        height: 15px;
    }
    .tousu .form-group {
        margin-bottom: 20px;
    }
    .tousu .form-group textarea{
        font-size: 14px;
    }
    .tousu .form-group div {
        width: 100%;
    }
    .tousu .form-group div input{
        height: 40px;
        font-size: 14px;
    }
    .tousu .submit input{
        height: 40px;
        font-size: 16px;
    }
}
