@charset "utf-8";
/*1 框架*/
*{
    margin: 0;
    padding: 0;
}
body{
    text-align: left;  /*解决不同浏览器的居中问题*/
    font: 14px/24px 微软雅黑,Arial,Verdana,sans-serif,"Times New Roman",宋体;
    color: #000;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}
/*滚动条*/
::-webkit-scrollbar{
    width: 10px;
    height: 1rem;
    background: #d1d1d1;
}
::-webkit-scrollbar:horizontal {
    border-radius: 0 0 10px 10px;
}
::-webkit-scrollbar-thumb {
    /*border: 1px solid #D1D1D1;*/
    /*border-radius: .5rem;*/
    background: #858585;
    box-shadow: inset 0 0 0 1px #858585;
}
/*
::-webkit-scrollbar-thumb:hover {
	background:#465267
}*/

dl,dd,ul,ol,
h1,h2,h3,h4,h5,h6,
p,
hr{
    margin-bottom: 0;
}

li{list-style: none;}

h1{font-size: 24px;line-height: 30px;}
h2{font-size: 20px;line-height: 28px;}
h3{font-size: 18px;line-height: 26px;}
h4{font-size: 16px;line-height: 24px;}
h5{font-size: 14px;line-height: 22px;}
h6{font-size: 12px;line-height: 20px;}
h1,h2,h3,h4,h5,h6{
    font-weight: bold;
}

input,textarea,select,
.swiper-button-prev,.swiper-button-next{
    vertical-align: middle;
    font-size: 14px;
    outline: none;
}
/*若内容超出，强制换行*/
input,textarea{
    word-wrap: break-word;
    word-break: break-all;
    border: none;
    padding: 0px;
}
input[type="submit"]{cursor: pointer;}

input::-webkit-input-placeholder{color: #cfcfcf;}
input:-moz-placeholder{color: #cfcfcf;}
input::-moz-placeholder{color: #cfcfcf;}
input:-ms-input-placeholder{color: #cfcfcf;}

table,th,td{
    border: 1px solid #000;
    border-collapse: collapse;
    padding: 3px 5px;
}
/*1 修正IE5.x、IE6斜体溢出的bug*/
* html body{overflow: visible;}
* html iframe,* html frame{overflow: auto;}
* html frameset{overflow: hidden;}
/*0 修正IE5.x、IE6斜体溢出的bug*/
/*取消图片链接的默认边框*/
img{border: 0 none;}
video{
    max-width: 100%;
    background: black;
}

a,a:link,a:visited{
    text-decoration: none;
    color: #000;
}
a:hover{
    text-decoration: none;
}
/*0 框架*/
/*1 预设*/
.p-db{display: block;}
.p-di{display: inline-block;}
.p-dn{display: none!important;}

.p-tl{text-align: left;}
.p-tr{text-align: right;}
.p-tc{text-align: center;}

.p-fl{float: left;}
.p-fr{float: right;}
.p-fc{clear: both;}
.p-fc2{
    clear: both;
    visibility: hidden;
    width: 100%;
    height: 0px;
    font-size: 1px;
    line-height: 0px;
    overflow: hidden;
}

.p-df>*{
    float: left;
}
.p-df.last>*:last-child{
    float: right;
}
.p-df:after{
    content: "";
    display: block;
    clear: both;
    width: 0;
    height: 0;
    visibility: hidden;
}

.p-box{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
}
.p-box.widt{
    width: auto;
}
.p-box.no-wrap{
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
}
.p-box.last>*:last-child{
    margin: 0 0 0 auto;
}
.p-box.midd-h{
    -webkit-justify-content: center;
    justify-content: center;
}
.p-box.midd-v{
    -webkit-align-items: center;
    align-items: center;
}
.p-box.arou{
    -webkit-justify-content: space-around;
    justify-content: space-around;
}
.p-box.betw{
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

/*1 自定义瀑布流*/
.p-box2{
    display: -webkit-flex;
    display: flex;
    width: 100%;
    -webkit-flex-direction: row;
    flex-direction: row;
}
.p-box2 img{
    width: 100%;
}
.p-box2>div{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}
.p-abso{
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}
/*0 自定义瀑布流*/

.p-tca{text-transform: capitalize}
.p-tup{text-transform: uppercase}
.p-tlo{text-transform: lowercase}

.p-bb{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.p-cp{cursor: pointer;}

.p-tran{
    -webkit-transition: all .5s ease-in-out 0s;
    -moz-transition: all .5s ease-in-out 0s;
    -ms-transition: all .5s ease-in-out 0s;
    -o-transition: all .5s ease-in-out 0s;
    transition: all .5s ease-in-out 0s;
}
.p-wb{
    word-break: break-all;
    word-wrap: break-word;
}
.p-wk{
    word-break: keep-all;
    word-wrap: normal;
}
/*0 预设*/
/*1 雷同类*/
.p-wrap{
    width: 1200px;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0s ease-in-out 0s;
    -moz-transition: all 0s ease-in-out 0s;
    -ms-transition: all 0s ease-in-out 0s;
    -o-transition: all 0s ease-in-out 0s;
    transition: all 0s ease-in-out 0s;
}
.p-titl:before,
.p-titl:after{
    content: '';
    display: block;
    height: 0;
    overflow: hidden;
}
.p-titl .wrap{
    margin: 68px 0;
    text-align: center;
}
.p-titl p:nth-child(1){
    margin-bottom: 17px;
    line-height: 30px;
    font-size: 30px;
    color: #606060;
}
.p-titl p:nth-child(2){
    color: #AFAFAF;
}
.p-titl2:before,
.p-titl2:after{
    content: '';
    display: block;
    height: 0;
    overflow: hidden;
}
.p-titl2 .wrap{
    margin: 78px 0 38px;
    text-align: center;
}
.p-titl2 p:nth-child(1){
    margin-bottom: 17px;
    line-height: 18px;
    font-size: 35px;
    color: #333333;
}
.p-titl2 p:nth-child(2){
    font-size: 12px;
    color: #AFAFAF;
}
@media screen and (max-width: 768px){
    .p-titl2 .wrap {
        margin: .78rem 0 .48rem;
    }
    .p-titl2 p:nth-child(1) {
        margin-bottom: 5px;
        font-size: 18px;
    }
}
.p-img{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}
.p-img img{
    max-width: 100%;
    max-height: 100%;
}
.p-img2{
    overflow: hidden;
}
.p-img2 img{
    position: relative;    
}
.p-scal img.scal{
    -webkit-transition: all .3s ease-in-out 0s;
    -moz-transition: all .3s ease-in-out 0s;
    -ms-transition: all .3s ease-in-out 0s;
    -o-transition: all .3s ease-in-out 0s;
    transition: all .3s ease-in-out 0s;
}
.p-scal:hover img.scal{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}
.p-hr{
    width: 1px;
    height: 1px;
    border: none;
    margin: 1px 0;
    background: red;
}

.p-btn{
    display: inline-block;
    width: 100px;
    border: none;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    padding: 10px;
    text-align: center;
    color: #FFFFFF;
    background: #f4511e;
    transition: all 0.5s;
    cursor: pointer;
    outline: none;
}
.p-btn span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}
.p-btn span:after {
    content: '»';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}
.p-btn:hover span {
    padding-right: 25px;
}
.p-btn:hover span:after {
    opacity: 1;
    right: 0;
}
.p-modal .modal-dialog{
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%)!important;
    -moz-transform: translateY(-50%)!important;
    -ms-transform: translateY(-50%)!important;
    -o-transform: translateY(-50%)!important;
    transform: translateY(-50%)!important;
    margin-top: 0;
}
.p-modal .modal-header h5{
    line-height: 25px;
}
.p-modal input:focus,
.p-modal textarea:focus{
    /*border: 1px solid red;*/
}
.p-modal input,
.p-modal textarea{
    box-shadow: none!important;
}
/*.p-modal .modal-footer .btn-primary{
    border: 1px solid #ffb3aa;
    background: #ffb3aa;
}
.p-modal .modal-footer .btn-primary:hover{
    border: 1px solid #ff1813;
    background: #ff1813;
}*/
/*0 雷同类*/
@media screen and (max-width: 768px){
    .p-titl .wrap {
        margin: .9rem 0;
    }
    .p-titl p:nth-child(1){
        margin-bottom: 12px;
        line-height: 20px;
        font-size: 20px;
    }
    .p-titl p:nth-child(2){
        line-height: 20px;
        font-size: 12px;
    }
}
