/*
Theme Name: lunartc
Theme URI: http://lunartc.com
Author: Leon
Version: 2026-01-06
*/

html {
    -webkit-text-size-adjust: none;
}


body {
    font-size: 15px;
    line-height: 180%;
    color: #333;
    font-family: Open Sans, sans-serif, 'Microsoft YaHei', "微软雅黑", SimHei;
}

h1 {
    font-size: 36px;
}

h1 em {
    display: block;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
    color: #888;
    font-style: normal;
    position: relative;
}

h1 em:before {
    content: ' ';
    display: block;
    height: 2px;
    width: 50px;
    background-color: #333;
    position: absolute;
    top: -1px;
    left: 50%;
    margin-left: -25px;

}

.bg-blue h1 em, .bg-gray h1 em,
.bg-gradation h1 em {
    color: #eee;
}

.bg-blue h1 em:before, .bg-gray h1 em:before,
.bg-gradation h1 em:before {
    background-color: #fff;
}

h2 {
    font-size: 24px;
    clear: both;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 18px;
}

@media (max-width: 540px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }
}

ul {
    list-style: none;
    padding: 0;
}

ul.ul-disc {
    margin-left: 2em;
    list-style: disc;
}

ul.plane li {
    display: inline-block;
    margin-right: 2em;
}

ol {
    padding-left: 1em;
}

a {
    color: #333;
}

a:hover, .text-gray a:hover, .text-light a:hover {
    color: #1fafcc;
    text-decoration: none;
}

a, img {
    border: none;
    outline: none;
}

img, video {
    max-width: 100%;
    height: auto;
}

/*reset bootstrap*/

.carousel-indicators .active {
    width: 50px;
    background-color: #e2211c;
}

@media (min-width: 1330px) {
    .container-xl {
        max-width: 90%;
    }
}

@media (min-width: 1420px) {
    .container-xl {
        max-width: 1280px;
    }
}

/*reset Bx-Slider*/
.bx-wrapper {
    /*margin-bottom: 0 !important;*/
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    height: 50vw;
    max-height: 750px;
    min-height: 500px;
    margin-bottom: 0;
}

.bx-viewport, .vis, .vis > div {
    height: 100% !important;
}

.bx-wrapper .bx-pager {
    bottom: 20px;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    width: 30px;
    height: 6px;
    border-radius: 0;
    background-color: #fff;
    transition: all .33s;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background-color: #00a2e8;
}

.bx-wrapper .bx-pager.bx-default-pager a.active {
    width: 50px;
}

.bx-wrapper .bx-controls-direction a {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    /*background: #000 !important;*/
    background: linear-gradient(0deg, #3A83BB, #4BBD8F);
    border-radius: 50%;
    opacity: .8;
}

.bx-wrapper .bx-controls-direction a:hover {
    opacity: 1;
}

.bx-wrapper .bx-next:focus, .bx-wrapper .bx-next:hover {
    background-position: 0;
}

.bx-wrapper .bx-prev {
    /*background: #3A83BB;*/
    left: 10px
}

.bx-wrapper .bx-next {
    /*background: #4BBD8F;*/
    right: 10px;
}

.bx-wrapper .bx-controls-direction a:before {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 40px;
    text-indent: 0;
    font-family: 'Material-Design-Iconic-Font';
    font-size: 30px;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
}

.bx-wrapper .bx-prev:before {
    content: '\f2fa';
}

.bx-wrapper .bx-next:before {
    content: '\f2fb';
}

@media (max-width: 768px) {
    .bx-wrapper {
        height: 133vw !important;
        max-height: 800px;
    }
}

/*reset pageNav*/
.wp-pagenavi {
    text-align: left;
}

.wp-pagenavi a, .wp-pagenavi span {
    display: inline-block;
    box-sizing: border-box;
    padding: 0 15px;
    margin-right: 10px;
    line-height: 40px;
    font-size: 16px;
    color: #444444;
    text-align: center;
    border-radius: 0;
    border-color: #ECECEC;
    background: #ECECEC;
}

.wp-pagenavi a.page, .wp-pagenavi span.current {
    padding: 0;
    width: 40px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
    border-color: #1fafcc;
    background: #1fafcc;
    color: #fff;
}

/*bg*/
.bg-none {
    background: none;
}

.bg-cover {
    background-size: cover;
    background-position: center center;
}

.bg-container {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.bg-stretch {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.bg-light {
    background-color: #f4f4f4 !important;
}

.bg-gray {
    background-color: #4D4D4D;
}

.bg-darkgray {
    background-color: #333333;
}

.bg-dark {
    background-color: #222222 !important;
}

.bg-blue {
    background-color: #3A83BB;
}

.bg-gradation {
    background: linear-gradient(135deg, #3A83BB, #4BBD8F);
}

.bg-gradation-o {
    background: linear-gradient(135deg, rgba(17, 62, 107, 0.3), rgba(56, 88, 38, 0.2));
}

/*text color*/
.text-white, .text-white a {
    color: #fff;
}

.text-light, .text-light a {
    color: #eee;
}

.text-lightgray, .text-lightgray a {
    color: #ccc;
}

.text-gray, .text-gray a {
    color: #8F8F8F;
}

.text-darkgray, .text-darkgray a {
    color: #686666;
}

.text-red, .text-red a {
    color: #e2211c;
}

.text-blue, .text-blue a {
    /*color: #3A83BB;*/
    color: #1fafcc;
}

.text-green, .text-green a {
    color: #4BBD8F;
}

.text-bluegreen, .text-bluegreen a {
    color: #1fafcc;
}

/*text size*/
.text-small {
    font-size: .9em;
}

.text-big {
    font-size: 1.15em;
}

.text-large {
    font-size: 50px;
}

.text-huge {
    font-size: 60px;
}


/*自定义样式*/
.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.noindent, .noindent p {
    text-indent: 0 !important;
}

/*特定样式*/
a.post-edit-link {
    display: block;
    padding: 2px 6px;
    background: #000;
    color: #fff;
    border: 1px #ccc dashed;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

#btn-top {
    width: 50px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid #eee;
    position: fixed;
    bottom: 100px;
    right: 20px;
    cursor: pointer;
}

#btn-top i {
    line-height: 50px;
}

/*自定义动画*/
@keyframes le_fade_down_in {
    0% {
        transform: translateY(-80px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 100%
    }
}

@-webkit-keyframes le_fade_down_in {
    0% {
        transform: translateY(-80px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 100%
    }
}

@keyframes le_fade_up_out {
    0% {
        transform: translateY(0px);
        opacity: 100%;
    }
    100% {
        transform: translateY(-80px);
        opacity: 0
    }
}

@-webkit-keyframes le_fade_up_out {
    0% {
        transform: translateY(0px);
        opacity: 100%;
    }
    100% {
        transform: translateY(-80px);
        opacity: 0
    }
}


/* header */
#topbar ul {
    text-align: right;
    padding: 0.5em 0;
    margin: 0;
}

#topbar li {
    display: inline-block;
    padding-left: 1em;
}

#topbar li a {
    color: white;
}

header {
    transition: all 1s;
    top: 0;
    left: 0;
    z-index: 900;
}

.header-fixed {
    position: fixed;
    animation: le_fade_down_in 1s;
    -webkit-animation: le_fade_down_in 1s;
    border-bottom: 2px solid #1fafcc;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

#logo {
    width: 250px;
    height: 100px;
    background: url(images/logo.png);
    background-position: center left;
    background-repeat: no-repeat;
    background-size: 75% auto;
}

#mega-menu-wrap-primary {
    width: 100%;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
    margin-left: 20px !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    height: auto !important;
}

#mega-menu-wrap-primary #mega-menu-primary li li.mega-current-menu-item a {
    background-color: #00a2e8 !important;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-lang-item {
    display: none;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-lang-item a {
    /*border-bottom: none !important;*/
}

@media (max-width: 768px) {
    #mega-menu-wrap-primary .mega-menu-toggle {
        padding-left: 20px;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
        margin-left: 0 !important;
    }

    #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-left {
        background: url(images/logo.png);
        background-position: center left;
        background-repeat: no-repeat;
        background-size: contain;
    }

    #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-center {
        display: none;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
        padding: 0 20px;
    }

    #mega-menu-wrap-primary #mega-menu-primary {
        text-align: left;
    }

    #mega-menu-wrap-primary #mega-menu-primary li.mega-lang-item {
        display: block;
        /*padding-top: 10px;*/
        /*width: 70px;*/
    }
}

/*banner*/
.banner {
    height: 30vw;
    min-height: 400px;
}

.blur-glass {
    background: linear-gradient(90deg, rgba(58, 131, 187, .75), rgba(75, 189, 143, .5));
    backdrop-filter: blur(12px);
}

/*sidebar*/
.side_nav {
    border-radius: 15px 0 0 0;
    overflow: hidden;
}

.side_nav h3 {
    margin: 0;
    line-height: 55px;
    padding: 0 20px;
}

.side_nav h3:after {
    content: '\f313';
    font-family: 'Material-Design-Iconic-Font';
    display: inline-block;
    float: right;
}

.side_nav ul {
    margin: 0 0 30px;
    padding: 10px 20px 30px;
    line-height: 35px;
    list-style: none;
    border: 1px #1fafcc solid;
    border-radius: 0 0 15px 0;
    border-top: 0;
}

.side_nav ul li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    border-bottom: 1px #eee solid;
}

.side_nav ul li.mega-current-menu-item a {
    color: #00a2e8;
}

.side_nav ul li.mega-current-menu-item a:before {
    content: '\f2fb';
    font-family: 'Material-Design-Iconic-Font';
    margin-right: 5px;
}

.side_down {
    padding: 0 20px;
    margin-bottom: 30px;
    border-radius: 15px 0;
}

.side_down a {
    display: block;
    font-size: 20px;
    line-height: 60px;
    margin-top: -1px;
}

.side_down a:after {
    content: '\f220';
    font-family: 'Material-Design-Iconic-Font';
    display: inline-block;
    float: right;
}

/*footer*/
footer {

}

#logo_footer {
    height: 45px;
    background: url(images/logo-footer.png);
    background-position: center left;
    background-repeat: no-repeat;
    background-size: contain;
}

#footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .fn a:before {
    content: '\f2fb';
    margin-right: 5px;
    font-family: 'Material-Design-Iconic-Font';
}

footer .qr {
    width: 6em;
}


.vis-cap h1 {
    font-size: 52px;
    font-weight: bold;
    text-shadow: 5px 2px 6px rgba(0, 0, 0, .3);
}


.vis-cap h2 {
    font-size: 36px;
    font-weight: bold;
    text-shadow: 5px 2px 6px rgba(0, 0, 0, .3);
}


.home_about h3 {
    font-weight: lighter;
    margin-bottom: 0.5em;
}

.home_about h1 {
    font-weight: bold;
    border-bottom: 5px #1fafcc solid;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.home .list_item {
    margin-bottom: 20px;
}

.home .list_item .thumb {
    display: block;
    margin-bottom: 40px;
    position: relative;
    transition: all .5s;
    background-size: 100%;
}

.home .list_item:hover .thumb {
    background-size: 108%;
}

.home .list_item .thumb span,
.btn_more {
    display: block;
    padding: 0 25px 0 30px;
    line-height: 40px;
    background: linear-gradient(90deg, #3A83BB, #4BBD8F);
    border-radius: 20px 0;
    position: absolute;
    right: 30px;
    bottom: -20px;
    transition: all .5s;
}

.home .list_item:hover .thumb span,
.btn_more {
    background: linear-gradient(90deg, #3A83BB, #4BBD8F);
}

/*产品*/

.home .products .list_item .thumb {
    padding-top: 66%;
}


/*技术*/
.home .tech .list_item {
    margin: 10px 0;
}

#tech_pic {
    height: 380px;
    transition: all .25s;
}

.home .tech .list_item p {
    padding: 5px 0 0 0;
    margin: 0;
    line-height: 120%;
}

/*研发*/

.home .dev .list_item .thumb {
    height: 250px;
}


/*Case*/
.cases .hr {
    height: 2px;
}
