/*!
 * wz.base.css for master
 * Author wzcoder.com
 * @Copyright 2005-2021 wzcoder.com (http://www.wzcoder.com)
 * @version 1.5
 * @Last update 2021-11-18-1:35 PM
 */

/*--------------------------------------------------------------
# 第三方css
--------------------------------------------------------------*/
@import url("/vendor/animate.css/animate.css");
@import url("/vendor/aos@2.3.4/aos.css");
@import url("/vendor/bootstrap@5.3.2/css/bootstrap.min.css");
@import url("/vendor/bootstrap-icons@1.11.0/bootstrap-icons.css");
@import url("/vendor/boxicons@2.1.4/css/boxicons.min.css");
@import url("/vendor/glightbox@3.2.0/css/glightbox.min.css");
@import url("/vendor/owlcarousel@2.3.4/assets/owl.carousel.min.css");
@import url("/vendor/slick-slider@1.8.1/slick.css");


:root {
    --primary-color: #163e7c;
    --primary-color-rgb: 22, 64, 124;
    --secondary-color: #ee1c25;
    --secondary-color-rgb: 238, 28, 37;
    --dark-color: #16191e;
    --title-color: #212529;
    --text-color-primary: #424242;
    --text-color-primary-rgb: 66, 66, 66;
    --text-color-secondary: #777;
    --text-color-light: #dadbdf;
    --primary-light-bg: #effbf9;
    --light-bg-color: #f6f9ff;
    --dark-bg-color: #262626;
    --black-color: #000000;
    --black-color-rgb: 0, 0, 0;
    --white-color: #ffffff;
    --white-color-rgb: 255, 255, 255;
    --border-color: #e2e8f0;
    --border-color-rgb: 226, 232, 240;
    --border-radius: 8px;
    --border-radius-larger: 15px;
    --animate-delay: 0.5s;
    --focus-color: #ee1c25;
    --focus-color-rgb: 238, 28, 37;
    --nav-color: rgba(255, 255, 255, 1);
    --linear-gradient: 45deg, var(--secondary-color) 0%, var(--focus-color) 100%;
    --btn-linear-gradient: 180deg, var(--secondary-color) 0%, var(--focus-color) 100%;
    --btn-linear-gradient-hover: 180deg, var(--focus-color) 0%, var(--secondary-color) 100%;
    --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: 'Poppins', sans-serif;
    --default-gutter-y: 30px;
    --layer: rgb(6 1 14 / 58%);
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    height: 100%;
}

body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color-primary);
    background-color: #ffffff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: "liga", "kern";
    text-rendering: optimizelegibility;
}

html[lang^=zh-] body {
    font-family: -apple-system, "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, "Heiti SC", sans-serif;
}

::selection {
    background: var(--primary-color);
    color: #fff
}

::-moz-selection {
    background: var(--primary-color);
    color: #fff
}

body a {
    color: var(--text-color-primary);
    text-decoration: none;
}

a:hover, a:focus {
    color: var(--primary-color);
    text-decoration: none;
}


/*--------------------------------------------------------------
# 默认button样式
--------------------------------------------------------------*/
.w-btn-default {
    background-color: var(--focus-color);
    border: none;
    color: #ffffff;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 10px 30px;
    letter-spacing: 1px;
    display: inline-flex;
    transition: all .6s;
    position: relative;
    overflow: hidden;
}


.w-btn-default:hover, .w-btn-default:focus, .w-btn-default:active {
    background-color: rgba(var(--focus-color-rgb), 0.8);
    color: #ffffff;
}


.w-btn-default-outline {
    display: inline-flex;
    background-color: transparent;
    border: 1px solid var(--focus-color);
    border-radius: 50px;
    transition: all .6s;
    padding: 10px 30px;
    justify-content: center;
    align-items: center;
    color: var(--focus-color);
    position: relative;
    overflow: hidden;
}

.w-btn-default-outline:hover, .w-btn-default-outline:focus, .w-btn-default-outline:active {
    border-color: var(--focus-color);
    background: var(--focus-color);
    color: #FFFFFF;
}

.w-btn-default:before, .w-btn-default-outline:before {
    content: "";
    position: absolute;
    display: block;
    transition: all .6s;
    width: 100%;
    height: 0;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    padding-top: 100%;
    transform: translateX(-50%) translateY(-50%);
}

.w-btn-default:hover:before,
.w-btn-default-outline:hover:before {
    animation: btn-click .75s;
    z-index: 1
}

@keyframes btn-click {
    0% {
        background: rgba(0, 0, 0, .25);
        transform: translateX(-50%) translateY(-50%) scale(0)
    }

    to {
        background: 0 0;
        transform: translateX(-50%) translateY(-50%) scale(1)
    }
}

.w-btn-default i.arrow-r {
    margin-left: 10px;
    font-size: 16px;
    transition: 0.3s;
}

.w-btn-default:hover i {
    transform: translateX(5px);
}


.w-mask-bg {
    background-color: rgba(var(--primary-color-rgb), 0.3);
}

/*--------------------------------------------------------------
# 默认分页样式
--------------------------------------------------------------*/
.pagination li .page-link {
    color: var(--title-color);
}

.pagination li.active {
    color: var(--focus-color);
}

.pagination li.active .page-link {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #FFFFFF;
    z-index: 10;
}

.page-item:first-child .page-link, .page-item:last-child .page-link {
    border-radius: 0;
}

/*--------------------------------------------------------------
# 视频设置为16:9
--------------------------------------------------------------*/
.video {
    position: relative;
    /*padding-bottom: 56.25%;*/
    /*height: 0;*/
    overflow: hidden;
}

.video iframe,
.video object,
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*--------------------------------------------------------------
# 图片设置为16:10
--------------------------------------------------------------*/
.img-resize,
.flex-img-resize {
    position: relative;
    height: 0;
    overflow: hidden;
}

.img-resize__16x9 {
    padding-bottom: 56.25%;
}

.img-resize__16x10 {
    padding-bottom: 62.5%;
}

.img-resize__4x3 {
    padding-bottom: 75%;
}

.img-resize__95 {
    padding-bottom: 95%;
}

.img-resize__10x16 {
    padding-bottom: 160%;
}

.img-resize img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.flex-img-resize .item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    padding: 5.666667vw 0
}

@media screen and (max-width: 767.98px) {
    section {
        padding: 9.33333vw 0
    }
}

.section-bg {
    background-color: var(--light-bg-color);
}

.section-dark {
    background-color: var(--dark-bg-color);
}


.section-title {
    text-align: left;
    padding-bottom: 36px;
}

.section-footer {
    padding-top: 30px;
}

.section-title h2, .section-title__v2 h2 {
    font-size: 36px;
    line-height: 54px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
}

.section-title h2::after, .section-title__v2 h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 5px;
    background-image: linear-gradient(var(--linear-gradient));
    bottom: -10px;
    left: 0;
}

.section-title.text-center h2::after, .section-title__v2.text-center h2::after {
    left: calc(50% - 25px);
}

.text-white .section-title h2::after, .text-white .section-title__v2 h2::after {
    background: #FFFFFF;
}

.section-dark .section-title h2 {
    color: #FFFFFF;
}

.section-title p {
    font-size: 15px;
    color: var(--text-color-secondary);
}

.section-title__v2 h2 {
    font-size: 24px;
}

.section-title__v2 h2::after {
    left: 0;
}

@media (max-width: 768px) {
    .section-title h2, .section-title__v2 h2 {
        font-size: 26px;
    }
}

.section-more a {
    font-size: 16px;
    color: var(--text-color-secondary);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
  # 文字超出用省略号...
--------------------------------------------------------------*/
.text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*--------------------------------------------------------------
  # 图片经过放大...
--------------------------------------------------------------*/
.zoom {
    overflow: hidden;
    border-radius: 0;
}

.zoom img {
    transition: 0.3s ease-in-out;
}

.zoom:hover img {
    overflow: hidden;
    transform: scale(1.1);
    transition: 0.3s ease-in-out;
}

/*--------------------------------------------------------------
  # 图片圆角处理
--------------------------------------------------------------*/

.radius-image {
    border-radius: var(--border-radius);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
    transition: all 0.6s ease-out;
    width: 100%;
    height: 100vh;
}

#preloader:before,
#preloader:after {
    content: "";
    position: absolute;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
    animation-delay: -0.5s;
}

@keyframes animate-preloader {
    0% {
        width: 10px;
        height: 10px;
        top: calc(50% - 5px);
        left: calc(50% - 5px);
        opacity: 1;
    }

    100% {
        width: 72px;
        height: 72px;
        top: calc(50% - 36px);
        left: calc(50% - 36px);
        opacity: 0;
    }
}


.banner-video {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
    width: 100%;
    height: auto;
    z-index: -1;
}

@keyframes scaleAnim {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);

    }
    100% {
        -webkit-transform: scale(1.1, 1.1);
        transform: scale(1.1, 1.1);
    }
}

.object-centered {
    left: 0;
    right: 0;
    top: calc(50% - 40px);
}

a.popup-with-zoom-anim {
    z-index: 10;
}

span.video-play-icon {
    background: rgba(255, 255, 255, 0.8);
    display: inline-block;
    width: 55px;
    height: 55px;
    line-height: 55px;
    border-radius: 50%;
    -webkit-animation: ripple 1s linear infinite;
    animation: ripple 1s linear infinite;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;

}

span.video-play-icon i {
    color: var(--focus-color);
    font-size: 32px;
}

span.video-play-icon i:before {
    line-height: unset;
}

span.video-play-icon:hover {
    transform: scale(1.1);
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
}

@-webkit-keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgb(255 255 255 / 25%), 0 0 0 10px rgb(255 255 255 / 25%), 0 0 0 20px rgb(255 255 255 / 25%);
    }

    100% {
        box-shadow: 0 0 0 10px rgb(255 255 255 / 25%), 0 0 0 20px rgb(255 255 255 / 25%), 0 0 0 40px rgba(50, 100, 245, 0);
    }
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgb(255 255 255 / 25%), 0 0 0 10px rgb(255 255 255 / 25%), 0 0 0 20px rgb(255 255 255 / 25%);
    }

    100% {
        box-shadow: 0 0 0 10px rgb(255 255 255 / 25%), 0 0 0 20px rgb(255 255 255 / 25%), 0 0 0 40px rgba(50, 100, 245, 0);
    }
}
