@charset 'utf-8';

.clearfix:after,
body,
dd,
div,
dl,
dt,
form,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
html,
input,
label,
li,
ol,
p,
pre,
table,
tbody,
td,
textarea,
tfoot,
th,
thead,
tr,
ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'PingFang SC', 'Lantinghei SC', 'Helvetica Neue',
        Helvetica, Arial, 'Microsoft YaHei', '微软雅黑', STHeitiSC-Light, simsun,
        '宋体', 'WenQuanYi Zen Hei', 'WenQuanYi Micro Hei', sans-serif;
}

@font-face {
    font-family: XHW-pzh;
    src: url(/global/public/text/XHW-pzh.woff2) format('woff2'),
        url(/global/public/text/XHW-pzh.woff) format('woff'),
        url(/global/public/text/XHW-pzh.ttf) format('truetype');
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    outline: 0;
    color: #000;
}

a:hover {
    text-decoration: none;
    color: #ffbc3f !important;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

iframe,
img {
    border: 0;
}

img {
    vertical-align: top;
}

.clearfix {
    display: block;
}

.clearfix:after {
    content: '';
    overflow: hidden;
    width: 100%;
    height: 0;
    font-size: 0;
    display: block;
    clear: both;
}

i {
    font-style: normal;
}

.part {
    width: 1200px;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.left {
    float: left;
}

.right {
    float: right;
}

.hide {
    display: none;
}

* {
    box-sizing: border-box;
}

.domMobile {
    display: none !important;
}

.domPc {
    display: block !important;
}

.title {
    text-align: center;
}

body {
    background: url('images/banner.png') center top no-repeat;
}

.banner {
    width: 100%;
    height: 630px;
}

.intro {
    margin-top: 30px;
    margin-bottom: 60px;
}

.intro .part {
    position: relative;
    padding: 30px 40px 40px 40px;
    background: url('images/intro-bg.png') center top no-repeat;
    background-size: 100% 100%;
    font-size: 18px;
    color: rgb(199, 8, 6);
    line-height: 1.667;
    min-height: 185px;
}

.intro .part span {
    background-color: rgb(244, 66, 34);
    width: 260px;
    height: 46px;
    border-radius: 23px;
    text-align: center;
    font-size: 24px;
    color: #ffffff;
    line-height: 46px;
    position: absolute;
    bottom: -23px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    text-indent: 0;
}

.required::before {
    content: '*';
    color: red;
    margin-right: 15px;
}

.error {
    color: red;
    font-size: 0.8em;
}

.form .title {
    margin-top: 30px;
}

#messageForm {
    margin-top: 30px;
}

.message-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    position: relative;
    /* justify-content: flex-start; */
}

.message-item .item-name,
.message-item .item-number,
.message-item .item-phone,
.message-item .item-profession,
.message-item .item-nickName {
    position: relative;
    /* margin-right: 70px; */
}

.message-item label {
    font-size: 18px;
    color: #333333;
    line-height: 31px;
    text-align: left;
}

.message-item #name {
    border-width: 1px;
    border-color: rgb(253, 216, 156);
    border-style: solid;
    background-color: rgb(255, 255, 255);
    width: 200px;
    height: 35px;
    font-size: 18px;
    line-height: 35px;
}

#nameError {
    position: absolute;
    bottom: -22px;
    left: 120px;
}

#nickNameError {
    position: absolute;
    bottom: -22px;
    left: 120px;
}
#phoneError {
    position: absolute;
    bottom: -22px;
    left: 90px;
}

#idNumberError {
    position: absolute;
    bottom: -22px;
    left: 170px;
}

#titleError {
    position: absolute;
    bottom: -22px;
    left: 30px;
}

#contentError {
    position: absolute;
    bottom: -22px;
    left: 30px;
}

#professionError{
    position: absolute;
    bottom: -22px;
    left: 120px;
}

.message-item #idNumber {
    border-width: 1px;
    border-color: rgb(253, 216, 156);
    border-style: solid;
    width: 279px;
    height: 35px;
    font-size: 18px;
    line-height: 35px;
}

.message-item #idNumber .error {
    position: absolute;
    bottom: -22px;
    left: 120px;
}

.message-item #phone {
    border-width: 1px;
    border-color: rgb(253, 216, 156);
    border-style: solid;
    width: 197px;
    height: 35px;
    font-size: 18px;
    line-height: 35px;

}.message-item #nickName {
    border-width: 1px;
    border-color: rgb(253, 216, 156);
    border-style: solid;
    width: 197px;
    height: 35px;
    font-size: 18px;
    line-height: 35px;

}
.message-item #profession {
    border-width: 1px;
    border-color: rgb(253, 216, 156);
    border-style: solid;
    width: 197px;
    height: 35px;
    font-size: 18px;
    line-height: 35px;
}.message-item #profession {
    border-width: 1px;
    border-color: rgb(253, 216, 156);
    border-style: solid;
    width: 197px;
    height: 35px;
    font-size: 18px;
    line-height: 35px;
}

.message-item #title {
    border-width: 1px;
    border-color: rgb(253, 216, 156);
    border-style: solid;
    width: calc(100% - 25px);
    height: 35px;
    font-size: 18px;
    line-height: 35px;
    padding: 0 10px;
}

.message-item #content {
    border-width: 1px;
    border-color: rgb(253, 216, 156);
    border-style: solid;
    width: calc(100% - 25px);
    height: 120px;
    font-size: 18px;
    line-height: 29px;
    padding: 10px;
}

.btn {
    background-color: rgb(244, 66, 34);
    width: 128px;
    height: 46px;
    font-size: 18px;
    color: rgb(255, 255, 255);
    line-height: 46px;
    /* float: right; */
    border-radius: 23px;
    text-align: center;
    border: none;
    cursor: pointer;

    display: block;
    margin: 0 auto;
}

#categoryList {
    list-style: none;
    padding: 0;
    /* max-width: 1200px; */
    display: flex;
    flex-wrap: wrap;
    gap: 20px 76px;
}

#categoryList li {
    width: 179px;
    height: 159px;
    background-image: url('images/type-bg.png');
    background-size: 100%;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    cursor: pointer;
}

#categoryList li.selected {
    background-image: url('images/type-on.png');
}

#categoryList li span {
    color: #fff;
    font-size: 18px;
    text-align: center;
    margin-top: 10px;
}

.list {
    margin-top: 60px;
}
.list .btn{
    margin-bottom: 30px;
}

#messageList {
    margin-top: 30px;
}

#messageList li {
    margin-bottom: 30px;
    width: 100%;
    background-image: url('images/list-bg.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 60px 20px 20px 20px;
    position: relative;

    /* display: none; */
}

.user-name {
    font-size: 18px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    line-height: 36px;
    text-align: left;
    background-color: rgb(244, 66, 34);
    position: absolute;
    left: 0;
    top: 15px;
    height: 36px;
    padding-left: 10px;
    padding-right: 20px;
    border-radius: 0 18px 18px 0;
}

.message-content {
    font-size: 16px;
    color: #333333;
    line-height: 28px;
}

.message-wangmin {
    font-size: 14px;
    color: #666;
    line-height: 24px;
}
.message-alert{
    font-size: 18px;
    text-align: center;
    color: #f44222;
    margin-bottom: 30px;
}

.foot {
    background-color: rgb(253, 125, 99);
    font-size: 18px;
    color: rgb(255, 255, 255);
    line-height: 1.667;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
}

#pagination {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-button {
    font-size: 16px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin-left: 5px;
    margin-right: 5px;
    outline: 0;
    border: 0;
    display: inline-block;
    color: #666;
    cursor: pointer;
}

.page-button.active {
    background: #fc4d29;
    color: #fff;
}

.open-app {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    z-index: 99;
    display: none;
}

.open-app.show {
    display: block;
}

.open-app img {
    width: 100%;
}



@media screen and (max-width: 1200px) {
    .part {
        width: 100%;
    }

    .domPc {
        display: none !important;
    }

    .domMobile {
        display: block !important;
    }

    .title img {
        width: 100%;
    }

    body {
        background: none;
    }

    .banner,
    .banner img {
        width: 100%;
        height: auto;
    }

    .intro {
        margin-top: 10px;
        padding: 0 3%;
    }

    .intro .part {
        position: relative;
        padding: 20px 3% 40px 3%;
    }



    .form .part {
        padding: 0 3%;
    }

    #categoryList {
        display: block;
    }

    #categoryList li {
        float: left;
        width: 48%;
        background-size: 100% 100%;
        margin-bottom: 20px;
    }

    #categoryList li:nth-child(even) {
        float: right;
    }

    .form .title {
        margin-top: 10px;
    }

    .message-item {
        flex-wrap: wrap;
    }

    .message-item .item-name,
    .message-item .item-number,
    .message-item .item-phone,
    .message-item .item-nickName,
    .message-item .item-profession {
        width: 100%;
        margin-bottom: 20px;
    }

    .message-item #name,
    .message-item #idNumber,
    .message-item #phone,
    .message-item #nickName,
    .message-item #profession,
    .message-item #title
    {
        width: calc(100% - 22px);
        margin-left: 22px;
    }

    #nameError,
    #idNumberError,
    #phoneError,
    #nickNameError,
    #professionError {
        left: 30px;
    }

    .message-item .item-phone label {
        padding-left: 24px;
    }

    .btn {
        float: none;
        display: block;
        margin: 0 auto;
    }

    .list {
        padding: 0 3%;
        margin-top: 30px;
    }

    #messageList {
        margin-top: 20px;
    }

    #messageList li {
        padding-left: 10px;
    }

    #pagination {
        margin-bottom: 70px;
    }

    .foot {
        font-size: 12px;
    }

    .intro-btn {
        text-align: center;
        padding: 10px 0 20px;
    }

    .intro-btn img {
        width:50%;
        /* margin-top: -30px; */
    }

    .intro-content{
        color: #c90000;
            padding: 15px 15px 30px 15px;
            background: url(images/intro-bg-mob.png) center top no-repeat;
            background-size: 100% 100%;
            font-size: 16px;
            line-height: 1.8;
            margin: 10px;
            border: 1px solid #fed998;
            text-indent: 2em;
            text-align: left;
            border-radius: 5px;
    }
}