* {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: Microsoft Yahei, Arial, Helvetica, sans-serif, Tahoma, "宋体", Arial, Helvetica, sans-serif, Tahoma;
}

body {
    z-index: 2;
    width: 100%;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
button,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    vertical-align: baseline;
    background: transparent;
}

p {
    -webkit-text-size-adjust: none;
    /*禁止文字自动计算大小*/
    max-height: 999999px;
}

h1,
h2,
h3,
h4,
h5,
h6,
em,
i {
    font-weight: 100;
    font-style: normal
}

img {
    display: block;
}

ul,
ol,
li {
    list-style: none
}

textarea {
    -webkit-appearance: none;
    border-radius: 0;
    outline: none;
}

a {
    text-decoration: none;
    color: black;
    blr: expression(this.onFocus=this.blur());
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

a:link,
a:visited {
    text-decoration: none;
}

a:active,
a:hover {
    text-decoration: none;
    outline: none;
}

i:hover,
b:hover {
    color: #af2e29
}

a:focus {
    text-decoration: none;
    outline: 0;
}


/*兼容时使用，需要html5.js*/

article,
aside,
dialog,
footer,
header,
section,
footer,
nav,
figure,
menu {
    display: block
}


/*常用样式*/

.w_100 {
    width: 100%;
}

.h_100 {
    height: 100%;
}

.m_w_100 {
    max-width: 100%;
}
.m_w_50 {
    max-width: 50%;
}
.m_h_100 {
    max-height: 100%;
}

.of {
    overflow: hidden;
}


/*定位*/

.re {
    position: relative;
}

.ab {
    position: absolute;
}

.fi {
    position: fixed;
}


/*浮动*/

.lt {
    float: left;
}

.rt {
    float: right;
}

.f_i {
    float: inherit;
}


/*清楚浮动*/

.clearfix {
    zoom: 1;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearBoth {
    overflow: hidden;
}


/*元素行块级*/

.d_il {
    display: inline-block;
}

.d_b {
    display: block;
}

.d_n {
    display: none;
}


/*不透明度，兼容ie*/

.opc0 {
    opacity: 0;
    filter: alpha(opacity=0);
}

.opc1 {
    opacity: 1;
    filter: alpha(opacity=100);
}


/*flex*/

.flex {
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
}


/*过渡效果*/

.trans2 {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.trans3 {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.trans4 {
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.trans6 {
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -ms-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

.trans8 {
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.trans10 {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.bg {
    background-color: #f5f5f5;
}

.swiper-pagination-bullet-active {
    background: #af2e29!important
}


/*动效*/

@-webkit-keyframes scaleBigToSmall {
    0% {
        -webkit-transform: scale(1.2) translate3d(0, 20%, 0);
        opacity: 0;
    }
    100% {
        -webkit-transform: scale(1) translate3d(0, 0, 0);
        opacity: 1;
    }
}

@-moz-keyframes scaleBigToSmall {
    0% {
        -moz-transform: scale(1.2) translate3d(0, 20%, 0);
        opacity: 0;
    }
    100% {
        -moz-transform: scale(1) translate3d(0, 0, 0);
        opacity: 1;
    }
}

@-ms-keyframes scaleBigToSmall {
    0% {
        -ms-transform: scale(1.2) translate3d(0, 20%, 0);
        opacity: 0;
    }
    100% {
        -ms-transform: scale(1) translate3d(0, 0, 0);
        opacity: 1;
    }
}
@-webkit-keyframes zdyDown {
    0% {
        -webkit-transform: translateY(30px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0px);
        opacity: 1;
    }
}

@-moz-keyframes zdyDown {
    0% {
        -moz-transform: translateY(30px);
        opacity: 0;
    }
    100% {
        -moz-transform: translateY(0px);
        opacity: 1;
    }
}

@-ms-keyframes zdyDown{
    0% {
        -ms-transform: translateY(30px);
        opacity: 0;
    }
    100% {
        -ms-transform: translateY(0px);
        opacity: 1;
    }
}
.zdyDown{
    -webkit-animation-name: zdyDown;
    animation-name: zdyDown;
}
.scaleBigToSmall {
    -webkit-animation-name: scaleBigToSmall;
    animation-name: scaleBigToSmall;
    transform-origin: 50% 50%;
}

.op {
    opacity: 0
}


/*yema*/

.page {
    text-align: center
}

.page ul {
    float: left;
    position: relative;
    left: 50%;
    padding-bottom: 12px
}

.page ul li {
    position: relative;
    right: 50%;
    float: left;
    margin-right: 4px;
    text-align: center
}

.page ul li a {
    display: block;
    color: #666;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #e1e1e1;
    transition: 1s
}

.page ul li a:hover {
    background: #af2e29;
    color: #FFF;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: block;
    border: 1px solid #af2e29;
    transition: 1s
}

#page-dq {
    background: #af2e29
}

#page-dq a {
    color: #FFF;
    border: 1px solid #af2e29
}

#page-dq a:hover {
    background: 0 0
}

.clearfloat {
    clear: both;
    height: 0;
    font-size: 1px;
    line-height: 0
}
