/*!
 * 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.1.1/css/bootstrap.min.css");
@import url("/vendor/boxicons@2.0.7/css/boxicons.min.css");
@import url("/vendor/bootstrap-icons@1.4.0/bootstrap-icons.css");
@import url("/vendor/glightbox@3.1.0/css/glightbox.min.css");

:root {
    --primary-color: #00923f;
    --secondary-color: #f66312;
    --dark-color: #16191e;
    --title-color: #00923f;
    --text-color-primary: #444444;
    --text-color-secondary: #848484;
    --light-bg-color: #f8f8f8;
    --dark-bg-color: #000000;
    --border-color: #f2f2f2;
    --animate-delay: 0.5s;
}

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, "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
}

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(--primary-color);
    border: none;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px;
    border-radius: 4px;
    transition: 0.5s;

}

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

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

/*--------------------------------------------------------------
# 默认分页样式
--------------------------------------------------------------*/
.pagination li.active {
    background-color: var(--primary-color);
}

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

/*--------------------------------------------------------------
# 视频设置为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 {
    position: relative;
    padding-bottom: 62.5%;
    height: 0;
    overflow: hidden;
}

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

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    padding: 60px 0;
}

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

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

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

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

.section-title h2, .section-title__v2 h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.section-title h2::after, .section-title__v2 h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: calc(50% - 25px);
}

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

.section-title p {
    margin-bottom: 0;
    font-size: 14px;
    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: 20px;
    }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 80px;
    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;
}
