﻿.indent {
    text-indent: 2em;
}

.font_big {
    font-weight: bold;
}

.font_small {
    font-weight: initial;
}

/*下划线*/
.font_underline {
    text-decoration: underline;
}

/*斜体*/
.font_italic {
    font-style: italic;
}

/*居中*/
.font_center {
    text-align: center;
}

.font_right {
    text-align: right;
}

.font_left {
    text-align: left;
}

* {
    box-sizing: border-box;
}

/*让浮动拥有高度*/
.float_height {
    overflow: hidden;
}

/*浮动*/
.float_left {
    float: left;
}

/*浮动*/
.float_right {
    float: right;
}

body .none {
    display: none;
}

/*抓手图标*/
.pointer, [ztg_a*="/"], [ztg_one_a*="/"] {
    cursor: pointer;
}

/*没有滚动条*/
.noneScroll::-webkit-scrollbar {
    width: 0 !important
}

.noneScroll {
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
}

/*高度100%图片*/
.img_repeat_height {
    height: 100%;
    display: block;
    margin: auto;
}

/*宽度100%图片*/
.img_repeat_width {
    width: 100%;
    display: block;
}

/*图片宽高自适应*/
.img_width_height_auto {
    max-width: 100%;
    max-height: 100%;
}

/*图片显示*/
.img_all_show {
    display: block;
    max-height: 100%;
    max-width: 100%;
}

/*圆形图片*/
.round_img_repeat {
    width: 100%;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    display: block;
}

/*背景图片居中宽度100%*/
.bg_img_repeat {
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% auto !important;
    -moz-background-size: 100% auto !important;
}

/*背景图片居中高度100%*/
.bg_img_height_repeat {
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: auto 100% !important;
    -moz-background-size: auto 100% !important;
}

/*背景图片平铺*/
.bg_img_repeat_100 {
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
    -moz-background-size: 100% 100% !important;
}

/*背景模糊*/
.bg_blur {
    z-index: 1;
}

.bg_blur_content {
    background: inherit;
    position: relative;
}

.bg_blur_content > * {
    position: relative;
    z-index: 999;
}

.bg_blur_content:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: inherit;
    filter: blur(1px); /*为了模糊更明显，调高模糊度*/
    z-index: 2;
}

.bg_repeat_blur {
    position: relative;
    z-index: 1;
}

.bg_repeat_blur:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: inherit;
    filter: blur(3px);
    -webkit-filter: blur(3px); /* chrome, opera */
    -ms-filter: blur(3px);
    -moz-filter: blur(3px);
    z-index: 2;
}

.bg_repeat_content {
    z-index: 999;
}

/*一行5列*/
.width_float_5 {
    float: left;
    width: 20%;
}

/*浮动于上层 width固定不能为百分比*/
.box_div {
    position: relative;
    display: block;
}

.box_top, .box_bottom, .box_left, .box_right, .box_height_center, .box_width_center, .box_center {
    position: absolute;
    display: block;
}

.box_height_center {
    top: 50% !important; /*偏移*/
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.box_width_center {
    left: 50% !important; /*偏移*/
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.box_center {
    left: 50% !important; /*偏移*/
    top: 50% !important; /*偏移*/
    transform: translate3d(-50%, -50%, 0);
    -ms-transform: translate3d(-50%, -50%, 0);
    -moz-transform: translate3d(-50%, -50%, 0);
    -webkit-transform: translate3d(-50%, -50%, 0);
    -o-transform: translate3d(-50%, -50%, 0);
}

.box_top {
    top: 0 !important;
}

.box_bottom {
    bottom: 0 !important;
}

.box_left {
    left: 0 !important;
}

.box_right {
    right: 0 !important;
}

/*flex位置 div在div内的位置 div内只有一个元素 div定宽定长*/
.flex_div_center {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
}

.flex_div_width_center {
    width: 100%;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
}

.flex_div_height_center {
    height: 100%;
    display: flex;
    display: -webkit-flex;
    align-items: center;
}

/*横排宽度平均*/
.flex_son_average {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
}

.flex_son_average > * {
    flex-grow: 1;
    flex-basis: 0;
}

/*横排宽度平均*/
.flex_width_average {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.flex_width_average > *, .flex_height_average > * {
    flex-grow: 1;
    flex-basis: 0;
}

/*竖排宽度平均*/
.flex_height_average {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.flex_fill {
    color: rgba(0, 0, 0, 0);
    background: rgba(0, 0, 0, 0);
    padding: 0;
    margin: 0;
    border: none;
    height: 0;
}


/*播放动画后保持为最后一帧*/
.animate_run_ok_stop {
    animation-fill-mode: forwards;
}

/*动画循环播放*/
.animate_run_repeat {
    animation-iteration-count: infinite;
}

/*只显示一行*/
.one_line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    display: block;
}

/*阴影*/
.shaow {
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

/*hover阴影*/
.hover_shaow {
    transition: box-shadow 0.5s;
    -moz-transition: -moz-box-shadow 0.5s; /* Firefox 4 */
    -webkit-transition: -webkit-box-shadow 0.5s; /* Safari and Chrome */
}

.hover_shaow:hover {
    -moz-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/*块内元素放大*/
.selfScale {
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.selfScale > * {
    width: 100%;
    height: 100%;
    display: block;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    -o-transition: -o-transform 0.3s;
    transition: transform 0.3s;
}

.selfScale:hover > * {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

/*块放大*/
.enlarge {
    -webkit-transition: -webkit-transform 0.2s;
    -moz-transition: -moz-transform 0.2s;
    -o-transition: -o-transform 0.2s;
    transition: transform 0.2s;
}

.enlarge:hover {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

/*最大行数*/
[max_line] {
    overflow: hidden;
    text-overflow: clip;
    -ms-text-overflow: clip;
    position: relative;
}

[max_line] > div {
    text-indent: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    overflow: hidden;
    background: white;
    -moz-box-shadow: 0 3px 10px white;
    -webkit-box-shadow: 0 3px 10px white;
    box-shadow: 0 3px 10px white;
}

/*圆角*/
.radius {
    border-radius: 10px;
}

/*nav底部导航*/
.nav_bottom_tip_1 > *:not(.unactive), .nav_bottom_tip_2 > *:not(.unactive) {
    position: relative;
}

.nav_bottom_tip_1 > *:not(.unactive):before, .nav_bottom_tip_1 > *:not(.unactive):after, .nav_bottom_tip_2 > *:not(.unactive):before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #000;
    transition: 0.2s all linear;
    transition-delay: 0.1s;
}

.nav_bottom_tip_1 > *:not(.unactive):hover:before, .nav_bottom_tip_1 > *:not(.unactive):hover:after, .nav_bottom_tip_1 > .active:before, .nav_bottom_tip_1 > .active:after {
    width: 100%;
    left: 0;
}

.nav_bottom_tip_2 > *:not(.unactive):before {
    left: 100%;
}

.nav_bottom_tip_2 > *:not(.unactive):hover:before {
    left: 0;
    width: 100%;
}

.nav_bottom_tip_2 > *:hover ~ *:not(.unactive):before {
    left: 0;
}

/*延时动画*/
[callback_animated] {
    display: none;
}

.data_content .active[data_id] {
    display: block;
}

.data_content [data_id] {
    display: none;
}

/*清除浮动*/
.clear {
    clear: both;
}

.ul_style_none {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
  
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .bg_img_height_repeat {
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: auto 62% !important;
        -moz-background-size: auto 100% !important;
    }
    .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
        bottom: 20%;
        left: 0px;
        width: 100%;
    }
   
}