/*!
 * app.css for master
 * Author wzcoder.com
 * @Copyright 2005-2021 wzcoder.com (http://www.wzcoder.com)
 * @version 1.0
 * @date 2021-03-05-1:59 PM
 */

/*--------------------------------------------------------------
# 加载组件样式
--------------------------------------------------------------*/
@import "navbar.css";
@import "hero.css";
@import "footer.css";

/*--------------------------------------------------------------
# App通用
--------------------------------------------------------------*/

.section-title h2 {
    padding-bottom: 0;
}

.section-title h2:after {
    display: none;
}

.section-title h2 span,
.sub-title h3 span {
    position: relative;
    display: inline-block;
    padding-left: 30px;
    padding-right: 30px;
}

.section-title h2 span:before,
.section-title h2 span:after,
.sub-title h3 span:before,
.sub-title h3 span:after {
    width: 15px;
    height: 20px;
    background: url(../img/section-bg.svg) no-repeat center;
    content: "";
    position: absolute;
    left: 0;
    right: auto;
    top: 15px;
}

.section-title h2 span:after,
.sub-title h3 span:after {
    left: auto;
    right: 0;
}

.sub-title h3 span {
    padding-left: 0;
}

.sub-title h3 span:before {
    left: auto;
    right: -18px;
}

.sub-title h3 span:before,
.sub-title h3 span:after {
    top: 15px;
}

.btn-skew {
    display: inline-flex;
    border-radius: 0;
    border: 1px solid var(--primary-color);
    transform: skew(-15deg);
    -webkit-transform: skew(-15deg);
    -moz-transform: skew(-15deg);
    -o-transform: skew(-15deg);
    -ms-transform: skew(-15deg);
    transition: 0.5s;
    padding: .375rem 1.5rem;
}

.btn-skew:hover {
    color: #FFFFFF;
    background-color: var(--primary-color);
}

.btn-skew em {
    font-style: normal;
    transform: skew(15deg);
    -webkit-transform: skew(15deg);
    -moz-transform: skew(15deg);
    -o-transform: skew(15deg);
    -ms-transform: skew(15deg);
}

.btn-skew i {
    margin-left: 10px;
    transition: 0.5s;
}

.btn-skew:hover i {
    margin-left: 15px;
}

.btn-light-color {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.btn-light-color:hover {
    border-color: var(--primary-color);
}

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

    .section-title h2 span::before, .section-title h2 span::after, .sub-title h3 span::before, .sub-title h3 span::after {
        top: 6px;
    }

    .sub-title h3 {
        font-size: 20px !important;
    }
}

.banner-inner {
    min-height: 20vh;
}

.page-sidebar {
    position: relative;
    margin-top: -90px;
}

.page-sidebar .sidebar-title {
    padding: 20px;
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.page-sidebar .sidebar-title h3 {
    letter-spacing: 2px;
    font-size: 24px;
    font-weight: 600;
}

.page-sidebar .sidebar-title p {
    text-transform: uppercase;
    margin-bottom: 0;

}

.page-nav {
    margin-top: 5px;
    background-color: var(--light-bg-color);
    list-style: none;
    padding: 0;
}

.page-nav li {
    border-bottom: 1px solid var(--border-color);
    padding: 10px 20px;
}

.page-nav li:last-child {
    border-bottom: none;
}

.page-nav li.current {
    background-color: var(--primary-color);
}

.page-nav li.current a {
    color: #FFFFFF;
}

.page-nav li a {
    font-size: 16px;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb-wrapper {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

/*--------------------------------------------------------------
# about
--------------------------------------------------------------*/
.about {
    background-image: url("../img/about-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.about .section-title h2 span {
    padding-left: 0;
}

.about .section-title h2 span:before {
    left: auto;
    right: -18px;
}

.about .section-img {
    position: relative;

}

.about .section-img img {
    box-shadow: 0px 0 60px 0 rgba(0, 0, 0, 0.2);
}

@media (min-width: 1200px) {
    .about .section-img {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.about .section-img:after {
    display: none;
    content: "";
    position: absolute;
    width: 30px;
    height: 50px;
    background: url(../img/section-bg.svg) no-repeat center;
    right: 15px;
    bottom: -10px;
}

@media (max-width: 1199.98px) {
    .about .section-footer {
        padding-bottom: 30px;
    }
}

/*--------------------------------------------------------------
# products
--------------------------------------------------------------*/

.section-category ul {
    padding: 0;
    text-align: center
}

.section-category li {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    margin-right: 15px;
    transform: skew(-15deg);
    -webkit-transform: skew(-15deg);
    -moz-transform: skew(-15deg);
    -o-transform: skew(-15deg);
    -ms-transform: skew(-15deg);
    transition: 0.5s;
}

.section-category li:hover {
    background: var(--primary-color);

}

.section-category li a {
    font-style: normal;
    transform: skew(15deg);
    -webkit-transform: skew(15deg);
    -moz-transform: skew(15deg);
    -o-transform: skew(15deg);
    -ms-transform: skew(15deg);
    transition: 0.5s;
}

.section-category li:hover a {
    color: #FFFFFF;
}

.box-product {
    background-color: #FFFFFF;
    transition: all ease-in-out 0.4s;
    box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
}

.box-product:hover {
    transform: translateY(-10px);
    box-shadow: 0px 0 60px 0 rgba(0, 0, 0, 0.2);
}

.box-product h3 {
    text-align: center;
    font-size: 1rem;
    padding: 10px 15px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .section-category li {
        font-size: 14px;
        margin-bottom: 6px;
        margin-right: 2px;
        padding: 6px 15px;
    }
}

/*--------------------------------------------------------------
# brand
--------------------------------------------------------------*/

.swiper-brand .swiper-wrapper {
    min-height: 400px;
}

.swiper-brand .thumbnail {
    height: 100%;
    background-size: cover;
    background-position: center center;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .swiper-brand .swiper-wrapper {
        min-height: 520px;
    }

}

@media (min-width: 1200px) {
    .swiper-brand .swiper-wrapper {
        min-height: 680px;
    }

}

.swiper-brand .thumbnail:before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    background-image: url("../img/mask.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.swiper-brand .swiper-pagination,
.swiper-brand .swiper-caption {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 16.66666667%;
}

.swiper-brand .swiper-pagination {
    z-index: 50;
    background: rgba(2, 54, 24, 0.5);
}

.swiper-brand .swiper-pagination-bullet {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 25%;
    margin-left: 0 !important;
    color: #b4b4b4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    font-size: 48px;
    font-weight: 800;
}

.swiper-brand .swiper-pagination-bullet:last-child {
    border-bottom: none;

}

.swiper-brand .swiper-pagination-bullet-active {
    background: rgba(0, 146, 63, .6);
    color: #ffffff;
}

.swiper-brand .box-brand {
    position: relative;
    z-index: 40;
    height: 100%;
    color: #FFFFFF;
}


.box-brand h3 {
    font-size: 30px;
    margin-bottom: 40px;
    font-weight: 600;
}

.box-brand .detail {
    padding: 30px;
    line-height: 1.8;
}

.box-brand .detail p {
    font-size: 16px;
}

.box-brand .detail a.btn {
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .box-brand .detail {
        padding: 106px 80px 30px 80px;
        line-height: 2;
    }

    .box-brand .detail a.btn {
        margin-top: 3rem;
    }

}

/*--------------------------------------------------------------
# cases
--------------------------------------------------------------*/
.cases {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}


.cases .owl-dots {
    margin-top: 20px;
}

.cases .owl-dots button.owl-dot span {
    width: 30px;
    height: 4px;
    border-radius: 0;
}

.cases .owl-dots button.owl-dot.active span {
    background: var(--primary-color);
}

.cases .owl-nav {
    position: absolute;
    display: flex;
    justify-content: space-between;
    font-size: 30px;
    left: 0;
    right: 0;
    bottom: -20px;
    color: #FFFFFF;
}

.cases .owl-nav button {
    border-radius: 0 !important;
    width: 40px;
    margin: 0 !important;
}

.cases .owl-nav button:hover {
    background: var(--primary-color) !important;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    padding: 60px 0;
    color: #fff;
}

.cta-left h3 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-left p {
    font-size: 18px;
    margin-bottom: 0;
}

.cta-right h3 {
    font-size: 36px;
    font-weight: 700;
}

.cta-right .cta-contact p {
    font-size: 16px;
    margin-bottom: 0;
}

.cta-right .cta-btn {
    text-align: right;
    min-width: 180px;
}

/*--------------------------------------------------------------
# news
--------------------------------------------------------------*/
.news .sub-title h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.news .sub-title h3 span::before, .news .sub-title h3 span::after {
    top: 5px;
}

.news .news-lists {
    list-style: none;
    padding: 0;
    margin: 0
}

.news .news-lists li {
    border-bottom: 1px dashed var(--border-color);
    padding: 5px 0;
    transition: 0.5s;
}

.news .news-lists li:last-child {
    border-bottom: none;
}

.news-lists li:hover {
    background-color: var(--light-bg-color);
}

.news .news-lists li a {
    display: block;
    transition: 0.5s;
}

.news-lists li .time {
    min-width: 100px;
    font-size: 14px;
    color: var(--text-color-secondary);
}

.list-dots {
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: var(--text-color-secondary);
    transition: 0.5s;
}

.news-lists li:hover .list-dots {
    background-color: var(--primary-color);
}


.sidebar-wrapper .contact-info {
    text-align: center;
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 15px;
}

.sidebar-wrapper .contact-info i {
    margin-right: 5px;
}

.sidebar-wrapper .contact-info p {
    font-size: 18px;
    margin-bottom: 0;
}

.sidebar-wrapper .contact-info h3 {
    margin: 10px 0;
}

.article-list {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
}

.article-list h3 {
    font-size: 16px;
}

.article-list .date {
    font-size: 14px;
    color: var(--text-color-secondary);
}


.pagination .page-item .page-link {
    border-radius: 0 !important;
    color: var(--text-color-primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .pagination {
        justify-content: space-between;
    }
}

.article .article-title .list-dots {
    background-color: var(--primary-color);
    width: 5px;
    height: 5px;
}

.article .article-title h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 15px 0 30px 0;
}

.article .article-footer {
    border-top: 1px solid var(--border-color);
    padding: 15px 0;

}

.article .article-footer .article-prev-next {
    font-size: 14px;
}

.article .article-footer .article-prev-next span {
    margin-right: 5px;
}

.article .article-body img {
    max-width: 100%;
    height: auto;
}

.article .article-body .post-date {
    margin-top: 1.5rem;
    font-size: 14px;
    font-style: italic;
    color: var(--text-color-secondary);
}
