/*
@Author: xiaoer
*/
/* 禁用iPhone中Safari的字号自动调整 */

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
/* 去除iPhone中默认的input样式 */

input[type="submit"],
input[type="reset"],
input[type="button"],
input,
button {
    /* -webkit-appearance:none; */
    resize: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
button {
    border: none;
}
/* 设置HTML5元素为块 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
/* 图片自适应 */
img {
    /*max-width: 100%;*/
    height: auto;
    width: auto\9;
    /* ie8 */
    -ms-interpolation-mode: bicubic;
    /*为了照顾ie图片缩放失真*/
}
/* 初始化 */
body,
div,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
select,
p,
dl,
dt,
dd,
a,
img,
button,
form,
table,
th,
tr,
td,
tbody,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    margin: 0;
    padding: 0;
    border: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /*取消链接高亮*/
}
@import "fonts";

body {

    color: #333333;
    background-color: #ffffff;
    min-width: 320px;
}
em,
i {
    font-style: normal;
}

.clearfix:after {
    content: "";
    display:inline-block;
    display:inline;zoom:1;
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}
.clearfix {
    zoom: 1;
}
a {
    text-decoration: none;
    outline: none;
}
ul,
ol {
    list-style: none;
    list-style-type: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-family: "SOURCEHANSANSCN-REGULAR", PINGFANG-HEAVY, Microsoft YaHei;
    font-weight: normal;
    margin: 0;
    padding: 0;
}
img {
    border: none;
    vertical-align: middle;
}
body,
html {
    width: 100%;
    margin: 0 auto;
    font-family: "SOURCEHANSANSCN-REGULAR", PINGFANG-HEAVY, "Helvetica Neue",
    Helvetica, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", SimSun,
    sans-serif;
    position: relative;
    -ms-overflow-x: hidden;
}





.inp_box::-webkit-input-placeholder {
    color: #a7a7a7;
}
.inp_box::-moz-placeholder {
    color: #a7a7a7;
}
.inp_box::placeholder {
    color: #a7a7a7;
}
.inp_box:-ms-input-placeholder {
    color: #a7a7a7;
}


body,
div,
dl,
dt,
dd,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
table,
th,
td {
    margin: 0;
    padding: 0;
    font-weight: normal;
}
.fix:before,
.fix:after {
    display: table;
    clear: both;
    content: "";
}
.fl {
    float: left;
}
.fr {
    float: right;
}
input,
select,
textarea {
    outline: none;
    font-family: inherit;
    font-size: 100%;
}
*:focus {
    outline: none;
}
* {
    outline: none;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
ul{
    list-style-type: none;
}


@media only screen and (min-width:320PX) and (max-width:360PX) {
    html {
        font-size: 13.65px
    }
}

@media only screen and (min-width:360PX) and (max-width:375PX) {
    html {
        font-size: 15.36px
    }
}

@media only screen and (min-width:375PX) and (max-width:390PX) {
    html {
        font-size: 16px
    }
}

@media only screen and (min-width:390PX) and (max-width:414PX) {
    html {
        font-size: 16.64px
    }
}

@media only screen and (min-width:414PX) and (max-width:640PX) {
    html {
        font-size: 17.664px
    }
}

@media screen and (min-width:640PX) {
    html {
        font-size: 27.31px
    }
}

@media screen and (min-width:1024px) {
    html {
        font-size: 12px
    }
    body {
        font-size: 16px
    }

}



//过渡效果
@mixin transition($transition) {
    -webkit-transition: $transition;
    -moz-transition: $transition;
    -ms-transition: $transition;
    -o-transition: $transition;
    transition: $transition;
}

@mixin transform-origin($transform-origin) {
    -webkit-transform-origin: $transform-origin;
    -moz-transform-origin: $transform-origin;
    -ms-transform-origin: $transform-origin;
    -o-transform-origin: $transform-origin;
    transform-origin: $transform-origin;
}


@mixin transform($transform) {
    -webkit-transform: $transform;
    -moz-transform: $transform;
    -ms-transform: $transform;
    -o-transform: $transform;
    transform: $transform;
}




//放大

@mixin scale($transform) {
    -webkit-transform: scale($transform);
    -moz-transform: scale($transform);
    -ms-transform: scale($transform);
    -o-transform: scale($transform);
    transform: scale($transform);
}

//旋转
@mixin rotate($transform) {
    -webkit-transform: rotate($transform);
    -moz-transform: rotate($transform);
    -ms-transform: rotate($transform);
    -o-transform: rotate($transform);
    transform: rotate($transform);
}
//倒圆角
@mixin radius($radius) {
    -webkit-border-radius: $radius;
    -moz-border-radius: $radius;
    -ms-border-radius: $radius;
    -o-border-radius: $radius;
    border-radius: $radius;
}
//阴影
@mixin box-shadow($shadow) {
    -webkit-box-shadow: $shadow;
    -moz-box-shadow: $shadow;
    -ms-box-shadow: $shadow;
    -o-box-shadow: $shadow;
    box-shadow: $shadow;
}

//透明度
@mixin opacity($opacity) {
    opacity: $opacity;
    filter: alpha(opacity=$opacity * 100);
}

//行数
@mixin clamp($clamp) {
    overflow: hidden;
    text-overflow: -o-ellipsis-lastline;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: $clamp;
    line-clamp: $clamp;
    -webkit-box-orient: vertical;
}

.transition03 {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.transition08 {
    -webkit-transition: all 0.8s ease;
    transition: all 0.8s ease;
}
.transition05 {
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.transition1 {
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}
.transition6 {
    -webkit-transition: all 6s ease;
    transition: all 6s ease;
}


.delay01 {
    transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    -webkit-transition-delay: 0.1s;
    -o-transition-delay: 0.1s;
}
.delay02 {
    transition-delay: 0.2s;
    -moz-transition-delay: 0.2s;
    -webkit-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
}
.delay03 {
    transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
}
.delay04 {
    transition-delay: 0.4s;
    -moz-transition-delay: 0.4s;
    -webkit-transition-delay: 0.4s;
    -o-transition-delay: 0.4s;
}
.delay05 {
    transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
    -webkit-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
}
.delay06 {
    transition-delay: 0.6s;
    -moz-transition-delay: 0.6s;
    -webkit-transition-delay: 0.6s;
    -o-transition-delay: 0.6s;
}

$hovercolor: #9a1b5a;

.inp_box::-webkit-input-placeholder {
    color: #ffffff;
}
.inp_box::-moz-placeholder {
    color: #ffffff;
}
.inp_box::placeholder {
    color: #ffffff;
}
.inp_box:-ms-input-placeholder {
    color: #ffffff;
}
body,
div,
dl,
dt,
dd,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
table,
th,
td {
    margin: 0;
    padding: 0;
    font-weight: normal;
}
.fix:before,
.fix:after {
    display: table;
    clear: both;
    content: "";
}
.fl {
    float: left;
}
.fr {
    float: right;
}
input,
select,
textarea {
    outline: none;
    font-family: inherit;
    font-size: 100%;
}
*:focus {
    outline: none;
}
* {
    outline: none;
}
ul{
    list-style-type: none;
}
.i_ico {
    background: url(../images/i_ico.png);
    width: 24px;
    height: 24px;
}

/*css组件设置*/
.form-control,
.input-group-addon,
.btn {
    border-radius: 2px;
}
.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 6px rgba(102, 175, 233, 0.6);
}

.wrap {
    width: 1320px;
    margin: 0 auto;
    max-width: 97%;
    min-width: 1200px;
}


body {
    position: relative;
}

.m-auto {
    margin: 0 auto;
}

.mr-0 {
    margin-right: 0 !important;
}
.ml-0 {
    margin-left: 0 !important;
}
.mt-0 {
    margin-top: 0 !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}
.pl-0 {
    padding-left: 0 !important;
}
.pt-0 {
    padding-top: 0 !important;
}
.pb-0 {
    padding-bottom: 0 !important;
}

.ht40 {
    height: 40px;
}
.ht60 {
    height: 60px;
}
.ht80 {
    height: 80px;
}

.ht60::after,.ht40::after,.ht80::after {
    content: "";
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}


.ht120 {
    height: 120px;
}

.ht120::after {
    content: "";
    display:inline-block;
    display:inline;
    zoom:1;
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}

.sitepage-content::after {
    content: "";
    display:inline-block;
    display:inline;zoom:1;
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;

}

.ta-l {
    text-align: left;
}
.ta-r {
    text-align: right;
}
.ta-c {
    text-align: center;
}
.ta-j {
    text-align: justify;
}
.pageHeight {
    margin-top: 124px;
}

@media only screen and (max-width: 1024px){
    .pageHeight {
        margin-top: 6rem;
    }

}

@media only screen and (max-width: 768px) {

    .ht40 {
        height: 1.6rem;
    }
    .ht60 {
        height: 2rem;
    }
    .ht130 {
        height: 4rem;
    }
}

a {
    outline: none;
}


select { /*Chrome和Firefox里面的边框是不一样的，所以复写了一下*/ appearance: none; -moz-appearance: none; -webkit-appearance: none; /*在选择框的最右侧中间显示小箭头图片*/ /*为下拉小箭头留出一点位置，避免被文字覆盖*/ padding-right: 14px; }
select::-ms-expand { display: none; }/*清除ie的默认选择框样式清除，隐藏下拉箭头*/
input, select { -webkit-appearance: none; border-radius: 0; /*去除input默认样式*/ }

