/*初始化样式*/
input {
    padding: 0;
    margin: 0;
    font-family: "Microsoft YaHei";
}
img {
    border: none;
    background: none;
    vertical-align: middle;
}
ul,
ol,
li {
    list-style-type: none;
    padding: 0;
}
select,
input,
img,
select {
    vertical-align: middle;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
table,
th,
td {
    vertical-align: middle;
}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    overflow: hidden;
    visibility: hidden;
}
.clearfix {
    zoom: 1;
}
.clearboth {
    height: 0px;
    line-height: 0px;
    overflow: hidden;
    clear: both;
    font-size: 0px;
}

h1,
h2 {
    font-size: 12px;
    font-weight: bold;
}
hr {
    border: 0;
    border-top: 1px solid #ccc;
    height: 0;
}
p {
    margin: 0;
}

/*----- Common css ------*/
.fl {
    float: left;
}
.fr {
    float: right;
}
.di {
    _display: inline;
}
.fwn {
    font-weight: normal;
}
.dib {
    display: inline;
    _zoom: 1;
    _display: inline;
    _font-size: 0px;
}

.com-img {
    display: block;
    overflow: hidden;
}
.com-img img {
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
}
.com-img:hover img {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
}

.xypg-right-content {
    font-size: 16px;
}

.j-space-between {
    justify-content: space-between;
}
.j-flex-start {
    justify-content: flex-start;
}
.j-flex-end {
    justify-content: flex-end;
}
.j-center {
    justify-content: center;
}
.a-j-center {
    align-items: center;
    justify-content: center;
}
.a-center {
    align-items: center;
}
.a-flex-start {
    align-items: flex-start;
}
.a-flex-end {
    align-items: flex-end;
}

/*主体样式*/
/* 首页banner样式 */
.x-banner .owl-carousel {
    position: relative;
}

.x-banner .owl-carousel .banner-item a {
    display: block;
}

.x-banner .owl-carousel .owl-nav .owl-prev {
    left: 0;
}

.x-banner .owl-carousel .owl-nav .owl-next {
    right: 0;
}

.x-banner .owl-carousel .owl-nav button.owl-prev,
.x-banner .owl-carousel .owl-nav button.owl-next {
    outline: none;
    position: absolute;
    top: 50%;
    z-index: 9999;
    background: #424246;
    height: 65px;
    width: 50px;
    margin-top: -32.5px;
    border-radius: 0;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.x-banner .owl-carousel .owl-nav button.owl-prev:hover,
.x-banner .owl-carousel .owl-nav button.owl-next:hover {
    background: #bf1920;
}

.x-banner .owl-carousel .owl-nav .icon-font {
    display: block;
    width: 100%;
    height: 100%;
}

.x-banner .owl-carousel .owl-nav .icon-left-arrow:after {
    background-position: -34px -180px;
}

.x-banner .owl-carousel .owl-nav .icon-right-arrow:after {
    background-position: -26px -480px;
}

.x-banner .owl-carousel .owl-dots {
    position: absolute;
    z-index: 999;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0;
    bottom: 5%;
}

.x-banner .owl-carousel .owl-dots button.owl-dot {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    margin: 0 0.5em;
    outline: none;
    background: #fff;
    border-radius: 6px;
    width: 1em;
    height: 1em;
    opacity: 0.8;
}

.x-banner .owl-carousel .owl-dots button.owl-dot:hover {
    width: 22px;
    opacity: 1;
    background-color: #bf1920;
}

.x-banner .owl-carousel .owl-dots button.owl-dot.active {
    width: 44px;
    opacity: 1;
    background-color: #bf1920;
}

@media (max-width: 990px) {
    .x-banner .owl-carousel .owl-nav button.owl-prev,
    .x-banner .owl-carousel .owl-nav button.owl-next {
        height: 40px;
        width: 30px;
        margin-top: -20px;
    }

    .x-banner .owl-carousel .owl-nav .iconfont {
        font-size: 20px;
    }

    .x-banner .owl-carousel .owl-dots button.owl-dot {
        font-size: 12px;
    }
}
