/* 定义向下展开动画 */
@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }

    to {
        max-height: 500px;
        /* 足够大的值，确保能容纳内容 */
        opacity: 1;
    }
}

/* 定义向上收起动画 */
@keyframes slideUp {
    from {
        max-height: 500px;
        opacity: 1;
    }

    to {
        max-height: 0;
        opacity: 0;
    }
}

/** Swiper插件公共CSS Start */
.swiper-common {
    position: relative;
}
.swiper-common .btn-swiper {
    position: absolute;
    top: 50%;
    z-index: 1;
    margin-top: -25px;
    left: 22px;
    width: 50px;
    height: 50px;
    background: none;
    outline: 0;
}

.swiper-common .btn-wrapper {
    position: absolute;
    top: 0;
    z-index: 1;
    width: 10%;
    height: 100%;
}

.swiper-common .btn-prev-wrapper {
    left: 0;
}

.swiper-common .btn-next-wrapper {
    right: 0;
}

.swiper-common .btn-next {
    left: auto;
}

.swiper-common .btn-swiper::after {
    position: absolute;
    left: 17px;
    top: 14px;
    width: 15px;
    height: 22px;
    background: url(../../img/common/icon-left-sml-white-sml.png) no-repeat center center;
    content: '';
}

.swiper-common .btn-swiper::before {
    position: absolute;
    border: 1px solid #fff;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: all .6s;
    content: '';
}

.swiper-common .btn-next {
    right: 22px;
}

.swiper-common .btn-next::after {
    background-image: url(../../img/common/icon-right-sml-white-sml.png);
}

.swiper-common .btn-swiper:hover::before {
    opacity: 0.5;
    background-color: #fff;
}

.swiper-common .swiper-pagination {
    bottom: 25px;
}

.swiper-common .swiper-pagination .swiper-pagination-bullet {
    margin-left: 5px;
    margin-right: 5px;
    width: 25px;
    height: 5px;
    border-radius: 0;
    background: url(../../img/index/banner/btn-pagination-sml.png) no-repeat center center / contain;
    opacity: 1;
    cursor: pointer;
}

.swiper-common .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 56px;
    background-image: url(../../img/index/banner/btn-pagination-lg.png);
}

/** Swiper插件公共CSS End */

/** to bottom 按钮渐变色 Start */
:root {
    --linear_g_B : linear-gradient(to bottom, #1289a0 0%, #12938d 80%);
    --linear_g_R : linear-gradient(to right,#12938d  0%,#1289a0  80%);

}
/**to bottom  按钮渐变色 End */
/** hover 详情按钮 Start */
.btn-sml {
    /* padding: 6px 18px; */
    margin-top: 24px;
    line-height: 33px;
    border: 1px solid #9B9A9A;
    font-size: 18px;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    transition: all .6s;
}
.btn-sml:hover {
    border-color: #CFAD86;
    background: linear-gradient(to right,#12938d  0%,#1289a0  80%);
    color: #fff;
}
/** hover 详情按钮 End */
/**  定位列表按钮 Start */
/* 定位 */
.yky_relative {
    position: relative;
}
.yky_p_button {
    position: absolute;
    top: 10px;
    left: 0;
    background: var(--linear_g_B);
    padding: 4px 8px;
    border-radius: 0px 20px 20px 0px;
    color: #fff;
    z-index: 4;
    font-size:14px;
}
/**  定位列表按钮 End */

/** 渐变（向左至右）按钮 Start */
.u-gradient-btn {
    position: relative;
    display: flex;
    margin-top: 10px;
    min-width: 240px;
    min-height: 38px;
    line-height: 38px;
    border-radius: 7px;
    background: linear-gradient(to right, #00A395, #0091B9);
    font-size: 20px;
    color: #007C81;
    text-align: center;
    cursor: pointer;
}

.u-gradient-btn.first-child {
    margin-top: 0;
}

.u-gradient-btn>cite {
    position: absolute;
    top: 2px;
    left: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #E5F2F4;
    border-radius: 5px;
    transition: all .6s;
}

.u-gradient-btn.on {
    background: linear-gradient(to right, #CC8840, #F2B67B);
    color: #fff;
}

.u-gradient-btn.on>cite {
    background: linear-gradient(to right, #00A395, #0091B9);
}

/** 渐变按钮 End */

/** 渐变（向左至右）按钮组合 Start */
.u-gradient-btn-wrap {
    position: relative;
    padding: 2px;
    margin-top: 10px;
}

.u-gradient-btn-wrap .btn-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #00A395, #0091B9);
    border-radius: 7px;

}

.u-gradient-btn-wrap .btn-bg::before {
    background-color: #E5F2F4;
    position: absolute;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    left: 2px;
    top: 2px;
    border-radius: 5px;
    content: '';
}

/* 展示/隐藏时动画状态 Start */
.u-gradient-btn-wrap .u-gradient-opts {
    overflow: hidden;
    max-height: 0;
    /* 初始最大高度为 0 */
    opacity: 0;
    /* 初始透明度为 0 */
    transition: none;
    /* 初始无过渡 */
}

.u-gradient-btn-wrap .u-gradient-opts .u-gradient-btn:first-child {
    margin-top: 0;
}

/* 显示时应用向下展开动画 */
.u-gradient-btn-wrap .u-gradient-opts.on {
    animation: slideDown 0.3s ease-out forwards;
    /* 展开时应用向下展开动画 */
}

/* 展示/隐藏时动画状态 End */

.u-gradient-btn-wrap .u-gradient-opts:not(.on) {
    animation: slideUp 0.3s ease-out forwards;
    /* 收起时应用向上收起动画 */
}

.u-gradient-btn-wrap .u-gradient-btn {
    width: calc(100% - 4px);
    border-radius: 5px;
}

.u-gradient-btn-wrap .u-gradient-btn>cite {
    border-radius: 3px;

}

.u-gradient-btn-wrap .u-gradient-btn:not(.first-child)>cite {
    justify-content: flex-start;
}

.u-gradient-btn-wrap .u-gradient-btn:not(.on) {
    background: #E5F2F4;
}

.u-gradient-btn-wrap .u-gradient-btn:not(.on)>cite {
    background: #E5F2F4;
}

.u-gradient-btn-wrap .u-gradient-btn:not(.on) .btn-inner {
    color: #717171
}

.u-gradient-btn-wrap .u-gradient-btn:last-child {
    margin-bottom: 0;
}

/** 渐变按钮组合 End */


/** 通用按钮CSS End */

/** 气泡 Start */
[data-title] {
    position: relative;
}
[data-title]:hover {
    z-index: 9999;
}
[data-title]::after {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

[data-title]::before {
    content: "";
    margin-left: -6px;
    position: absolute;
    bottom: 12px;
    left: 50%;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

[data-title]:hover::after,
[data-title]:hover::before {
    opacity: 1;
    visibility: visible;
}

/** 气泡 End */

/** 文本框关闭按钮 Start */
.u-btn-clear {
    position: absolute;
    right: 10px;
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.u-btn-clear::before,
.u-btn-clear::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 1px;
    background-color: #AAB1B2;
}

.u-btn-clear::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.u-btn-clear::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
/** 文本框关闭按钮 End */

/** 遮罩CSS Start */
.m-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 101;
    display: none;
}

.m-overlay.on {
    display: block;
}
/** 遮罩CSS End */

/** 查看详情按钮 Start */
.u-btn-detail .icon-detail {
    display: none;
}
/** 查看详情按钮 End */