anim* {
    margin: 0;
    padding: 0;
}

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
em,
small,
strong,
dl,
dt,
dd,
ol,
ul {
    margin: 0;
    padding: 0;
    font-size: 100%;
}

ul,
a,
div,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: initial;
}

body {
    font-size: 14px;
    font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Tahoma, sans-serif;
    color: #666;
    background: #fff;
    overflow-x: hidden;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
textarea {
    -webkit-appearance: none;
    outline: none;
    font-family: "microsoft yahei";
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}


span,
em,
strong,
i {
    display: inline-block;
}

em,
strong,
i {
    font-style: normal;
}

a {
    display: inline-block;
    color: #666;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a,
i,
span {
    transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
    -o-transition: .3s;
}

img {
    max-width: 100%;
    transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    -o-transition: .5s;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #999;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #999;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #999;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #999;
}

img,
input,
textarea {
    border: none;
    vertical-align: middle;
}

.clearfix:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    zoom: 1;
    clear: both;
    position: relative;
}

.hide {
    display: none !important;
}

.show {
    display: block;
}

.clear {
    clear: both;
}

ul li {
    list-style: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.box {
    display: block;
    width: 100%;
    height: 100%;
}

.box-s {
    box-sizing: border-box;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ellipsis2 {
    -webkit-line-clamp: 2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.ellipsis3 {
    -webkit-line-clamp: 3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.ellipsis4 {
    -webkit-line-clamp: 4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.w1200 {
    margin-right: auto;
    margin-left: auto;
    width: 1200px;
}

.w1400 {
    margin-right: auto;
    margin-left: auto;
    width: 1400px;
}

.w1600 {
    margin-right: auto;
    margin-left: auto;
    width: 1600px;
}

.t-l {
    text-align: left;
}

.t-r {
    text-align: right;
}

.t-c {
    text-align: center;
}

/*banner动画*/
.banner {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.banner>img {
    width: 100%;
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
    -webkit-animation: minus 5s 0s ease both infinite;
    -moz-animation: minus 5s 0s ease both infinite;
    animation: minus 5s 0s ease both infinite;
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
}

@keyframes minus {
    0% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

/*淡入效果*/
.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

.animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite
}

.animated.hinge {
    -webkit-animation-duration: 2s;
    animation-duration: 2s
}

@keyframes bounceInUp {

    0%,
    100%,
    60%,
    75%,
    90% {
        -webkit-transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
        transition-timing-function: cubic-bezier(0.215, .61, .355, 1)
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 50px, 0);
        transform: translate3d(0, 50px, 0)
    }

    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }
}

.bounceInUp {
    -webkit-animation-name: bounceInUp;
    animation-name: bounceInUp
}

@-webkit-keyframes bounceOut {
    20% {
        -webkit-transform: scale3d(.9, .9, .9);
        transform: scale3d(.9, .9, .9)
    }

    50%,
    55% {
        opacity: 1;
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1)
    }

    100% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3)
    }
}

.bounceInLeft {
    -webkit-animation-name: bounceInLeft;
    animation-name: bounceInLeft;
}

@keyframes bounceInLeft {

    0%,
    60%,
    75%,
    90%,
    100% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(-50px, 0, 0);
        transform: translate3d(-50px, 0, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.bounceInRight {
    -webkit-animation-name: bounceInRight;
    animation-name: bounceInRight;
}

@keyframes bounceInRight {

    0%,
    60%,
    75%,
    90%,
    100% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(50px, 0, 0);
        transform: translate3d(50px, 0, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: translate3d(0px, 0, 0);
        transform: translate3d(0px, 0, 0);
    }
}

@keyframes bounceInShow {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.bounceInShow {
    -webkit-animation-name: bounceInShow;
    animation-name: bounceInShow
}

/*按钮触发*/
.link {
    transition: 0.52s;
    position: relative;
    overflow: hidden;
}

.anim {
    transform: translateY(-50%) translateX(-50%);
    position: absolute;
    top: 50%;
    left: 50%;
}

.anim:before {
    position: relative;
    content: '';
    display: block;
    margin-top: 100%;
}

.anim:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 50%;
}

.link:hover .anim {
    animation: anim-out 0.75s;
}

.link:hover .anim:after {
    animation: anim-out-pseudo 0.75s;
}

@keyframes anim-out-pseudo {
    0% {
        background: rgba(0, 0, 0, 0.25);
    }

    100% {
        background: transparent;
    }
}

@keyframes anim-out {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.anim2:hover span {
    z-index: 2;
    position: relative;
}

.anim2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 0;
    background: #07377f;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    opacity: 0;
}

.anim2:hover:before {
    opacity: 1;
    height: 100%;
    top: 0;
}


.all-fixed {
    position: fixed;
    top: 50%;
    margin-top: -140px;
    right: -0px;
    height: 235px;
    z-index: 99999;
    box-sizing: border-box;
    /*display: none;*/

}

.all-fixed .f-left {
    position: relative;
    top: 60px;
    float: left;
    width: 0px;
    height: 100px;
    border-top: 10px solid transparent;
    border-right: 25px solid #97292c;
    border-bottom: 10px solid transparent;
    text-align: center;
    font-size: 13px;
    color: #0b2a1a;
    cursor: pointer;
}

.all-fixed .f-left p {
    position: absolute;
    top: 10px;
    left: 6px;
    line-height: 20px;
    color: #fff;
}

.all-fixed .f-right {
    width: 180px;
    background: #f8fbff;
    height: 100%;
    border: 1px solid #dcdcdc;
    box-sizing: border-box;
}

.all-fixed .title {
    margin-top: -67px;
    text-align: center;
}

.all-fixed h3 {
    font-size: 18px;
    color: #333;
    font-weight: initial;
    text-align: center;
    letter-spacing: 0px;
    line-height: 1;
    margin: 15px 0 20px;
}

.all-fixed h3 span {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.all-fixed li {
    height: 40px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    margin-bottom: 15px;
}

.all-fixed li:last-child {
    margin-bottom: 5px;
}

.all-fixed li a {
    width: 100%;
    height: 100%;
    background: #97292c;
    display: block;
    color: #fff;
    text-align: center;
    font-size: 18px;
    line-height: 40px;
    transition: .3s;
    border-radius: 5px;
}

.all-fixed li a:hover {
    color: #fff;
}

.all-fixed li a img {
    height: 25px;
    margin-right: 10px;
    border: 0;
    vertical-align: middle;
    margin-top: -5px;
}

.all-page {
    text-align: center;
    margin: 40px 0;
}

.all-page a,
.all-page span {
    width: 35px;
    height: 100%;
    background: #aaa;
    color: #fff;
    line-height: 45px;
    text-align: center;
    font-size: 14px;
    display: inline-block;
    margin: 0 10px;
    transition: .3s;
}

.all-page .current,
.all-page a:hover {
    background: #97292c;
    color: #fff;
}

.all-page .prev,
.all-page .prev_disabled,
.all-page .next,
.all-page .next_disabled {
    width: 60px;
    color: #666;
    background: transparent;
    font-family: "microsoft yahei";
}

.all-page .prev:before,
.all-page .prev_disabled:before {
    content: "上一页";
    font-family: "microsoft yahei";
}

.all-page .next:before,
.all-page .next_disabled:before {
    content: "下一页";
    font-family: "microsoft yahei";
}

#top {
    position: fixed;
    z-index: 999999;
    right: 15px;
    width: 50px;
    height: 50px;
    bottom: 30px;
    opacity: 0.9;
    background: #999 url(../images/kefu-top.png) no-repeat center;
    transition: .3s;
    cursor: pointer;
    background-size: 50%;
}

#top:hover {
    background-color: #158ef3;
}

/*图片放大*/
.pic-scale .pic,
.img-scale {
    position: relative;
    overflow: hidden;
}

.img-scale img,
.pic-scale img {
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.img-scale:hover img,
.pic-scale:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

/*图片去色*/
.img-gray {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
}