*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
}

/* 头部 */
header{
    width: 100%;
    height: 160px;
    
}
/* 品思文化logo */
header .logo{
    display: inline-block;
    width: 151px;
    height: 160px;
    float: left;
    position: relative;
    background-color: rgb(136,0,11);
    margin-top: -47px;
}
header .logo img{
    position: absolute;
    top: 30px;
    left: 14px;
}
/* 头部导航条 */
header .top{
    width: 100%;
    height: 50px;
    background-color: rgb(234,234,234);
    /* text-align: center; */
    line-height: 50px;
    font-size: 13px;
}
.top div{
    width: 80%;
    margin: auto;
}
.top div p{
    float: right;
}
.top p span:nth-of-type(2){
    margin-left: 50px;
    margin-right: 15px;
}
header .top a{
    color: rgb(136,0,11);
}
header .top a:hover{
    text-decoration: underline;
}
/* 竖线 */
header .top .line{
    position: relative;
    top: 3px;
}
/* 购物车 */
header .top .shopcar{
    display: inline-block;
    width: 95px;
    background-color: rgb(202,202,202);
    text-align: center;
    margin-left: 5px;
}
header .top .shopcar:hover{
    background-color: rgb(184, 175, 175);
}
/* 分享到 */
header .top .share img{
    padding-left: 3px;
}

/* 头部背景图 */
header .top_bg{
    width: 80%;
    height: 100px;
    margin: auto;
    text-align: center;
    /* background: url("img/header-bg.jpg") no-repeat; */
}
header .top_bg .search{
    position: relative;
    width: 100%;
    height: 100%;
}
header .top_bg .search .one{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 15px;
    z-index: -1;
}
header .top_bg .search .search_input{
    position: absolute;
    top: 40px;
    right: 0;
}
/* 头部搜索框 */
.top_bg input[type="text"]{
    width: 245px;
    height: 40px;
    line-height: 40px;
    background-color: rgb(234,234,234);
    border: none;
    text-indent: 10px;
    outline: none;
    border-radius: 5px 0px 0px 5px;
}
/* 搜索按钮 */
header .top_bg .search .search_input .btn{
    width: 77px;
    height: 40px;
    line-height: 40px;
    float: right;
    color: white;
    border: none;
    text-align: center;
    border-radius: 0px 5px 5px 0;
    background-color: rgb(106,0,0);
}

/* 导航条 */
nav{
    width: 100%;
    background-color: black;
    overflow: hidden;
}
nav ul{
    width: 80%;
    height: 50px;
    margin: 0 auto;
}
nav ul li{
    float: left;
    color: white;
    width: 151px;
    height: 100%;
    line-height: 50px;
    text-align: center;
    margin-right: 2px;
}
nav ul li a{
    color: white;
}
nav ul .active{
    background-color: rgb(87,0,0);
}
nav ul li:hover{
    background-color: rgb(87,0,0);
}


/* 底部脚注 */
footer{
    width: 100%;
    background-color: rgb(251,249,249);
    margin-top: 5px;
}
footer .major{
    width: 80%;
    margin: auto;
    padding-top: 34px;
}
footer .major ul li{
    width: 28%;
    display: inline-block;
    text-indent: 10px;
    height: 65px;
    background-color: rgb(242,242,242);
    background-repeat: no-repeat;
    background-image: url(../img/footerIcon.png);
}
footer .major ul li:hover{
    background-color: rgb(233,233,233);
}
footer .major ul li:nth-of-type(1){
    margin-left: 68px;
    background-position: 10px 10px;
    /* background: rgb(242,242,242) url(img/footerIcon.png) no-repeat 10px 10px; */
}
footer .major ul li div{
    margin-left: 46px;
    margin-top: 8px;
}
footer .major ul li div p{
    font-size: 12px;
}
footer .major ul li:nth-of-type(2){
    margin-left: 10px;
    background-position: 5px -165px;
    /* background: rgb(242,242,242) url(img/footerIcon.png) no-repeat 5px -165px; */
}
footer .major ul li:nth-of-type(3){
    margin-left: 10px;
    background-position: 7px -320px;
    /* background: rgb(242,242,242) url(img/footerIcon.png) no-repeat 7px -320px; */
}
footer .new{
    width: 70%;
    margin: auto;
    overflow: hidden;
    margin-top: 28px;
}
footer .new ul{
    float: left;
}
footer .new ul li{
     float: left;
    position: relative;
    width: 113px;
}
footer .new ul li span{
    padding-left: 8px;
}
footer .new ul li span::before{
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 2px;
    height: 17px;
    background-color: rgb(106,0,0);
}
footer .new ul li span::after{
    content: "";
    position: absolute;
    top: 7px;
    left: 15px;
    width: 38px;
    height: 18px;
    border-bottom: 1px dashed rgb(0,0,0);
}
footer .new a,footer .new p{
    color: rgb(181,194,212);
    font-size: 14px;
}
footer .new p a:hover{
    text-decoration: underline;
    color: rgb(136,0,11);
}
footer .new ul li p:nth-of-type(1){
    margin-top: 10px;
}

footer .code{
    width: 75px;
    height: 75px;
    background-color: rgb(106,0,0);
    color: white;
    text-align: center;
    line-height: 75px;
    float: left;
    margin-right: 5px;
}
footer .tel{
    float: left;
}
footer .tel p{
    color: black;
}
footer .tel p:nth-of-type(1){
    font-weight: bolder;
    font-size: 20px;
    color: rgb(106,0,0);
}
footer .last{
    text-align: center;
    color: #ccc;
    margin-top: 16px;
    padding-bottom: 12px;
}

/* 分页 */
.page{
    width: 80%;
    margin: auto;
    height: 100px;
    /* border: 1px solid red; */
}
.page_one{
    margin-right: 30px;
    float: right;
    margin-top: 28px;
}
.page_one input{
    width: 30px;
    height: 30px;
}
.page_one input:hover{
    border: 1px solid rgb(106,0,0);
}
.page_one button{
    border: none;
    background-color: white;
    width: 34px;
    height: 34px;
    border: 1px solid #ccc;
    background-repeat: no-repeat;
}
.page_one button:hover{
    border: 1px solid rgb(106,0,0);
    /* color: white; */
}
.page_one button:nth-of-type(1){
    width: 78px;
    background-image: url(../img/left.png);
    background-position: 10px 10px;
}
.page_one button:nth-of-type(1):hover{
    background-image: url(../img/left1.png);
    background-position: 10px 10px;
}
.page_one button:nth-of-type(5){
    width: 78px;
    background-image: url(../img/right.png);
    background-position: 62px 10px;
}
.page_one button:nth-of-type(5):hover{
    background-image: url(../img/right1.png);
    background-position: 62px 10px;
}
.page_one button:nth-of-type(7){
    width: 56px;
}



/* 左侧导航条 start */
.message{
    width: 100%;
}
.message_person{
    width: 80%;
    margin: auto;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 30px;
}
.message_person>ul:nth-of-type(1){
    width: 24%;
    float: left;
    background-color: rgb(250,250,250);
}
.message_person>ul:nth-of-type(1) li a{
    display: inline-block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-indent: 15px;
    border-bottom: 1px solid rgb(243,243,243);
    color: rgb(116, 102, 102);
}
.message_person>ul:nth-of-type(1) li .at{
    border-left: 2px solid rgb(95,0,0);
    background-color: rgb(149,94,94);
    color: white;
}
.message_person>ul:nth-of-type(1) li a:hover{
    border-left: 2px solid rgb(95,0,0);
    background-color: rgb(149,94,94);
    color: white;
}
.message_input{
    float: left;
    background-color: rgb(250,250,250);
    width: 70%;
    margin-left: 32px;
    /* height: 1380px; */
}
.message_input h2{
    border-bottom: 1px solid rgb(243,243,243);
    margin: 0 30px;
    padding: 16px 0;
}
