
.ly_msg {
    width: 100%;
    overflow: hidden;
    margin: 25px auto;
    padding: 0;
}

.ly_msg h3 {
    width: 100%;
    height: 40px;
    overflow: hidden;
    line-height: 40px;
    margin: 0 auto;
    padding: 0;
    border-bottom: 1px solid #dfdfdf;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.ly_msg ul {
    width: 70%;
    overflow: hidden;
    margin: 20px auto;
    padding: 0;
}

.ly_msg ul li {
    width: 100%;
    overflow: hidden;
    margin: 0 auto 12px;
    padding: 0;
}

.ly_msg ul li h4 {
    width: 17%;
    height: 34px;
    overflow: hidden;
    line-height: 34px;
    margin: 0;
    padding: 0 20px 0 0;
    color: #333;
    font-size: 14px;
    text-align: right;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.ly_msg ul li .msg_ipt1, .ly_msg ul li .msg_tara {
    width: 83%;
    overflow: hidden;
    margin: 0;
    padding-right: 0;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.ly_msg ul li .msg_ipt1 {
    height: 34px;
}

.ly_msg ul li .msg_tara {
    height: 118px;
}

.msg_ipt1 input, .msg_tara textarea {
    display: block;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 8px 15px;
    color: #666;
    font-size: 14px;
    border: 1px solid #dfdfdf;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.msg_ipt1 input {
    height: 34px;
    line-height: 16px;
}

.msg_tara textarea {
    height: 118px;
    line-height: 20px;
    resize: none;
}

.ly_msg ul li .msg_ipt2 {
    width: 120px;
    height: 34px;
    overflow: hidden;
    margin-right: 10px;
    padding: 0;
    float: left;
}

.msg_ipt2 input {
    display: block;
    width: 120px;
    height: 34px;
    overflow: hidden;
    line-height: 16px;
    margin: 0;
    padding: 8px 15px;
    color: #666;
    font-size: 14px;
    border: 1px solid #dfdfdf;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.ly_msg ul li a.yzm_img {
    display: block;
    width: 90px;
    height: 34px;
    overflow: hidden;
    margin: 0;
    padding-right: 20px;
    float: left;
}

.ly_msg ul li .msg_btn {
    width: 83%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    float: left;
}

.msg_btn input {
    display: block;
    width: 100px;
    height: 34px;
    overflow: hidden;
    line-height: 32px;
    margin: 20px 15px 0 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
    font-size: 13px;
    text-align: center;
    border: 1px solid #ccc;
    float: left;
}

.ly_msg ul li .msg_ipt12 {
    width: 83%;
    height: 34px;
    overflow: hidden;
    margin: 0;
    padding-right: 0;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.msg_ipt12 input {
    height: 34px;
    line-height: 16px;
    display: block;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 8px 15px;
    color: #666;
    font-size: 14px;
    border: 1px solid #dfdfdf;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.ly_msg ul li h4 {
    width: 17%;
    height: 45px;
    font-size: 14px;
}

.ly_msg ul li .msg_ipt1, .ly_msg ul li .msg_tara {
    width: 83% !important;
}

.ly_msg ul li .msg_ipt1 {
    height: 47px;
}

.msg_ipt1 input {
    height: 45px;
    line-height: 45px;
}

.ly_msg ul li .msg_ipt12 {
    width: 83% !important;
    height: 45px !important;
}

.msg_ipt12 input {
    height: 45px;
}

.ly_msg ul li .msg_ipt1 select {
    height: 45px !important;
}

input {
    border-radius: 2px;
    border: 1px solid #fff !important;
    background: #f6f6f6;
}

textarea {
    border-radius: 2px;
    border: 1px solid #fff !important;
    background: #f6f6f6;
}

select {
    border-radius: 2px;
    border: none !important;
    background: #f6f6f6;
    outline: none;
    text-indent: 10px;
}

input:focus, textarea:focus {
    border: 1px solid #dedede !important;
}

.ly_msg ul li a.yzm_img img {
    height: 100% !important;
}

.msg_btn input {
    width: 150px;
    height: 45px;
    line-height: 45px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.msg_btn input:first-child {
    background: #00aeb9;
    color: #fff;
    outline: none;
}

.msg_ipt2 input {
    height: 45px;
}

.ly_msg ul li .msg_ipt2 {
    height: 45px;
}
.msg_btn input:hover{
    opacity: 0.85;
}

@media (max-width: 800px) {
    .ly_msg {
        width: 100%;
        overflow: hidden;
        margin: 0 auto 20px;
        padding: 0;
    }


    .ly_msg ul {
        width: 100%;
    }

    .ly_msg ul li h4 {
        display: none;
    }

    .ly_msg ul li div {
        width: 100% !important;
    }

    .ly_msg ul li .msg_ipt1, .ly_msg ul li .msg_tara {
        width: 100% !important;
    }

    .ly_msg ul li .msg_ipt12 {
        width: 100% !important;
    }

    .ly_msg ul li div.msg_ipt2 {
        width: 30% !important;
    }

    .ly_msg ul li span {
        display: none;
    }

    .ly_msg {
        margin: 0 auto 0 !important;
    }

    .msg_ipt12 input {
        height: 45px;
        line-height: 45px;
    }

    .msg_btn input {
        width: 48%;
        margin-right: 0;
        margin-top: 0;
        height: 40px;
        line-height: 40px;
    }

    .ly_msg ul li .msg_tara {
        height: 90px;
        margin-bottom: 10px;
    }

    .msg_tara textarea {
        height: 90px;
    }

    .msg_btn input:first-child {
        margin-right: 2%;
    }
    .ly_msg ul li{
        margin-bottom: 8px;
    }
}