body {
    box-sizing: border-box;
    background-color: #f5f6f7;
    font-size: 16px;
    line-height: 1.8;
    color: #091c2e;
}
a:hover {
    opacity: 0.9;
    color: #163868;
}
.layui-card-body {
    line-height: inherit;
}
.container {
    margin: 0 auto;
    padding: 0 15px;
}
.layui-btn {
    background-color: #163868;
    line-height: 36px;
}
.layui-btn-primary {
    background: 0 0;
}
.layui-btn-primary:hover {
    border-color: #163868;
}
.layui-btn-normal {
    background-color: #1e9fff
}

.layui-btn-warm {
    background-color: #ffb800
}

.layui-btn-danger {
    background-color: #ff5722
}

.layui-btn-checked {
    background-color: #163868
}
.layui-laypage a:hover {
    color: #163868
}
.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: #163868
}
.layui-laypage input:focus,.layui-laypage select:focus {
    border-color: #163868!important
}
.layui-elem-quote {
    border-color: #163868;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-muted {
    color: #888888;
}
.pull-right {
    float: right;
}
.pull-left {
    float: left;
}
.layui-card-header {
    font-size: 18px;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
}

.layui-form-label {
    width: 100px;
}

.layui-input-block {
    margin-left: 130px;
}

.layui-form-item .layui-input-inline {
    width: 300px;
}
.layui-menu .layui-menu-item-checked:after {
    display: none;
}
.layui-flex{
    display: flex;
}

.flex-item{
    flex: 1;
}
.text-del {
    color: #999;
    text-decoration: line-through;
}
.text-red {
    color: #ff3300;
}

/* error page */
.ErrorPage-container {
    display: flex;
    justify-content: center;
    padding: 180px 0;
}

.ErrorPage-title {
    font-size: 40px;
    font-synthesis: style;
    font-weight: 600;
}

.ErrorPage-title,
.ErrorPage-subtitle {
    color: #646464;
    line-height: 1.4;
}

.ErrorPage-subtitle {
    font-size: 18px;
    margin-top: 10px;
}

.ErrorPage-text {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 384px;
}

.button-primary {
    margin-top: 20px;
    border-radius: 3px;
    line-height: 32px;
    padding: 0 16px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    text-align: center;
}

.ErrorPage-errorImageContainer {
    align-items: center;
    display: flex;
    height: 250px;
    justify-content: center;
    margin-left: 20px;
    width: 250px;
}

.main-aside {
    background-color: #fff;
    width: 200px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
}
.main-aside .layui-menu .first-icon {
    font-size: 22px;
    font-weight: bold;
    margin-right: 5px;
    vertical-align: middle;
}
.aside-top {
    display: flex;
    align-items: center;
}
.aside-top .aside-toggle {
    display: block;
    width: 50px;
    height: 60px;
    line-height: 60px;
    text-align: center;
}
.aside-top .aside-toggle .layui-icon {
    font-size: 24px;
}
.aside-top .logo {
    flex: 1;
    padding-right: 15px;
}
.aside-top .logo>img {
    width: 100%;
    object-fit: contain;
}

.aside-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.main-body {
    margin-left: 200px;
    position: relative;
    min-height: 100vh;
}

/* header */
.layui-header {
    background-color: #fff;
    box-shadow: 0 1px 10px rgb(0 0 0 / 5%);
    position: fixed;
    left: 200px;
    right: 0;
    top: 0;
}
.fixed-header {
    height: 60px;
}
.layui-nav {
    color: #091c2e;
    background-color: #fff;
    white-space: nowrap;
}
.layui-nav .layui-nav-item {
    vertical-align: inherit;
}
.layui-nav .layui-nav-item a {
    color: #091c2e;
}
.layui-nav .layui-nav-item a:hover,.layui-nav .layui-this a {
    color: #163868;
}
.layui-nav .layui-this:after,.layui-nav-bar {
    background-color: #163868;
}
.search-form {
    display: inline-block;
    width: 300px;
    margin-left: 30px;
}
.search-form .layui-input {
    margin-right: 5px;
    display: inline-block;
    width: 220px;
    vertical-align: middle;
}

.banner {
    height: 350px;
    position: relative;
}
.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-item {
    position: relative;
}
.banner-item img {
    object-fit: contain;
    width: 100%;
}
.banner-item .name {
    position: absolute;
    color: #fff;
    text-shadow: 0 1px 5px #000;
    font-size: 18px;
    right: 7px;
    bottom: 7px;
    margin-top: -20px;
    text-align: center;
    background: rgba(0,0,0,0.3);
    padding: 0 10px;
}
.index-title {
    text-align: center;
    padding: 30px;
    position: absolute;
    top:0;
    bottom:0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.index-title h1 {
    color: #fff;
    max-width: 1000px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 1);
}
.index-card {
    margin-top: 15px;
}
.card-header {
    margin: 15px 0;
    display: flex;
}
.card-header .title {
    flex: 1;
    padding-left: 10px;
}
.card-header .extra {
    white-space: nowrap;
    font-size: 14px;
}
.card-body {
    margin: 15px 0;
}

.card-body .card-item {
    position: relative;
    box-sizing: border-box;
}
.card-body .card-item a {
    display: block;
}
.card-body .card-item .item-body {
    display: flex;
    background-color: #fff;
}
.card-body .card-item img {
    width: 80px;
    height: 80px;
    margin: 15px;
}
.card-body .card-item .item-info {
    flex: 1;
    padding: 15px 15px 15px 0;
    overflow: hidden;
}
.card-body .card-item h4 {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
}
.card-body .card-item .desc {
    font-size: 13px;
    color: #777;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-link .title {
    font-weight: 600;
}
.news-link .description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #777;
    margin-top: 5px;
    height: 54px;
    font-size: 14px;
}

/* detail */
.article-detail {
}

.article-detail .title {
    padding: 20px 15px 0;
    font-size: 32px;
    line-height: 46px;
    color: #091c2e;
    font-weight: bold;
}

.article-detail .meta {
    padding: 0 15px;
    font-size: 14px;
    font-weight: 300;
    color: #3a4958;
    margin-top: 8px;
    margin-bottom: 30px;
}

.article-detail .meta span {
    display: inline-block;
    padding-right: 30px;
    position: relative;
}

.article-detail .meta span:not(:last-of-type):after {
    content: "/";
    position: absolute;
    right: 10px;
    opacity: 0.2;
}

.article-detail .article-body {
    line-height: 28px;
    padding: 0 15px 32px;
}

.article-detail .article-body h1,
.article-detail .article-body h2,
.article-detail .article-body h3,
.article-detail .article-body h4,
.article-detail .article-body h5 {
    padding: 20px 0 12px;
}
.article-detail .article-body .layui-code-h3 {
    padding: 0 10px;
}

.article-detail .article-body img {
    max-width: 100%;
}

.article-detail .article-body pre,.site-content pre {
    margin: 10px 0;
    border: 1px solid #ddd;
    border-left-width: 6px;
    font-size: 0.85em !important;
    tab-size: 4;
    white-space: pre-wrap;
    color: #333;
    background: none;
    font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
    text-align: left;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.4;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    padding: 0.8em;
    overflow: auto;
    border-radius: 3px;
    background: #f5f5f5;
}
.article-detail .article-body pre.layui-code-view {
  padding: 0;
}

.content-main {
    margin-top: 15px;
    padding: 0 15px;
    min-height: 600px;
}
.categories .category-item {
    display: inline-block;
    margin: 6px 4px;
    border-radius: 30px;
    background-color: #fff;
    border: 1px solid #eee;
    padding: 8px 20px;
}

.article-list {
}

.article-list .item {
    padding: 24px 20px;
    position: relative;
}

.article-list .item:not(:last-of-type) {
    border-bottom: 1px dotted #ebedf0;
}

.article-list .item .link {
    display: block;
}

.article-list .item .title {
    font-size: 18px;
    line-height: 26px;
    color: #163868;
    font-weight: bold;
}

.article-list .item .meta {
    color: #848d97;
    font-size: 14px;
    font-weight: 300;
    margin-top: 8px;
}

.article-list .item .description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-top: 15px;
}
.article-list.index-news .item .description {
    -webkit-line-clamp: 2;
}
.article-list.index-news .title {
    height: 26px;
    overflow: hidden;
}
.article-list .item .meta span {
    margin-right: 8px;
}

.article-list .item .thumb {
    margin-left:15px;
    width: 210px;
    height: 145px;
}
.article-list .item .thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: middle;
}

.layui-laypage a,
.layui-laypage span {
    font-size: 16px;
    padding: 5px 20px;
}

/* 产品详情 */
.product-header {
    position: relative;
    margin-bottom: 20px;
    margin-top: 30px;
}

.product-header .product-photos {
    margin-right: 15px;
    height: 380px;
    overflow: hidden;
    border: 8px solid #181f31;
    border-radius: 15px;
    overflow: hidden;
}

.product-header .product-photos img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.product-header .title {
    white-space: nowrap;
    overflow: hidden;
}

.product-header .meta {
    font-size: 14px;
    font-weight: 300;
    color: #3a4958;
    margin-top: 8px;
    margin-bottom: 8px;
}

.product-header .meta span {
    display: inline-block;
    padding-right: 30px;
    position: relative;
}

.product-header .meta span:not(:last-of-type):after {
    content: "/";
    position: absolute;
    right: 10px;
    opacity: 0.2;
}

.product-header .extra {
    padding-top: 10px;
    padding-bottom: 20px;
}
.product-header .extra dl {
    display: flex;
}
.product-header .extra dt {
    display: inline-block;
    padding-right: 5px;
    position: relative;
    color: #4e5d6d;
}
.product-header .extra dd {
    flex: 1;
}
.product-header .extra .price {
    font-size: 20px;
    font-weight: 600;
    color: #ff5722;
}
.product-header .desc {
    font-size: 0.9em;
    color: #4e5d6d;
}
.product-header .desc {
    font-size: 0.9em;
    color: #4e5d6d;
    height: 58px;
    overflow: hidden;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}
.product-header .action {
    margin-top: 10px;
    text-align: center;
}
.product-header .action .layui-btn {
    width: 40%;
}

/* footer */
.layui-footer {
    margin-top: 30px;
    padding: 30px 0;
    background-color: #e9edf1;
    line-height: 30px;
}
.footer-block {
    margin-bottom: 30px;
    padding-left: 8px;
    padding-right: 8px;
}
.footer-copyright {
    width: 100%;
    padding: 15px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    color: #777;
}

.about-header {
    background-image: linear-gradient(150deg, #312a91 0%, #3384ae 50%, #312a91 100%);
    padding: 80px 15px;
    color: #fff;
}
.about-header .inner {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}
.about-header h1 {
    font-size: 28px;
    margin-bottom: 20px;
}
.about-nav {
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.about-nav li {
    display: inline-block;
}
.about-nav li a {
    padding: 0 30px;
}
.about-box {
    margin: 50px 0;
}
.about-box .title {
    font-size: 28px;
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}
.about-box .title::after {
    content: "";
    width: 50px;
    height: 3px;
    background-color: #000;
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -25px;
}
.about-text {
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    max-width: 700px;
}
.about-text p {
    margin-bottom: 20px;
}
.contact-box {
    display: flex;
    align-items: center;
}
.contact-box .tips span {
    color: #f70;
}
.wechat-contact {
    width: 40%;
}
.wechat-contact .qrcode {
    width: 256px;
    margin: 20px 0;
}
.guestbook-contact {
    flex: 1;
}
.guestbook-contact .tips {
    margin-bottom: 20px;
}
.guestbook-contact .field {
    display: inline-block;
    width: 48%;
    margin-bottom: 20px;
}
.guestbook-contact .field:nth-child(odd) {
    margin-right: 2%;
}

.content-dir {
    width: 200px;
    max-height: 400px;
    overflow-y: visible;
    padding: 10px 0;
}
.content-dir li {
    line-height: 30px;
    margin-left: 25px;
    overflow: visible;
    list-style-type: disc;
}
.content-dir li.layui-this,.content-dir li.layui-this a cite {
    opacity: 1;
    color: #163868;
}
.content-dir li a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.content-dir li.deep-1 {
    margin-left: 35px;
    opacity: 0.9;
}
.content-dir li.deep-2 {
    margin-left: 45px;
    opacity: 0.85;
}
.content-dir li.deep-3 {
    margin-left: 55px;
    opacity: 0.8;
}
.content-dir li.deep-4 {
    margin-left: 65px;
    opacity: 0.7;
}
.content-dir li.deep-5 {
    margin-left: 75px;
    opacity: 0.65;
}

.layui-footer .qrcode {
    padding-top: 10px;
    max-width: 148px;
}
.layui-footer .qr-tips {
    padding-top: 12px;
    padding-left: 40px;
}
.recommend-item {
    margin-bottom: 10px;
}
.recommend-item .inner {
    position: relative;
    height: 0;
    padding-bottom: 48%;
}
.recommend-item img {
    width: 100%;
    border: 1px solid #ccc;
    object-fit: cover;
    height: 100%;
    position: absolute;
}
.recommend-item .name {
    position: absolute;
    color: #fff;
    text-shadow: 0 1px 5px #000;
    font-size: 18px;
    right: 0;
    bottom: 0;
    margin-top: -20px;
    text-align: center;
    background: rgba(0,0,0,0.3);
    padding: 0 10px;
}
@media(min-width: 1600px) {
    .layui-col-xl1,.layui-col-xl10,.layui-col-xl11,.layui-col-xl12,.layui-col-xl2,.layui-col-xl3,.layui-col-xl4,.layui-col-xl5,.layui-col-xl6,.layui-col-xl7,.layui-col-xl8,.layui-col-xl9 {
        float: left
    }

    .layui-col-xl1 {
        width: 8.33333333%
    }

    .layui-col-xl2 {
        width: 16.66666667%
    }

    .layui-col-xl3 {
        width: 25%
    }

    .layui-col-xl4 {
        width: 33.33333333%
    }

    .layui-col-xl5 {
        width: 41.66666667%
    }

    .layui-col-xl6 {
        width: 50%
    }

    .layui-col-xl7 {
        width: 58.33333333%
    }

    .layui-col-xl8 {
        width: 66.66666667%
    }

    .layui-col-xl9 {
        width: 75%
    }

    .layui-col-xl10 {
        width: 83.33333333%
    }

    .layui-col-xl11 {
        width: 91.66666667%
    }

    .layui-col-xl12 {
        width: 100%
    }

    .layui-col-xl-offset1 {
        margin-left: 8.33333333%
    }

    .layui-col-xl-offset2 {
        margin-left: 16.66666667%
    }

    .layui-col-xl-offset3 {
        margin-left: 25%
    }

    .layui-col-xl-offset4 {
        margin-left: 33.33333333%
    }

    .layui-col-xl-offset5 {
        margin-left: 41.66666667%
    }

    .layui-col-xl-offset6 {
        margin-left: 50%
    }

    .layui-col-xl-offset7 {
        margin-left: 58.33333333%
    }

    .layui-col-xl-offset8 {
        margin-left: 66.66666667%
    }

    .layui-col-xl-offset9 {
        margin-left: 75%
    }

    .layui-col-xl-offset10 {
        margin-left: 83.33333333%
    }

    .layui-col-xl-offset11 {
        margin-left: 91.66666667%
    }

    .layui-col-xl-offset12 {
        margin-left: 100%
    }
}
@media(max-width: 720px) {
    .main-aside {
        width: 60px;
        z-index: 100;
    }
    .aside-top .logo {
        display: none;
    }
    .main-body {
        margin-left: 60px;
    }
    .layui-header {
        left: 60px;
    }
    .layui-header .header-nav {
        padding: 0;
    }
    .layui-header .nav-list {
        padding-left: 0;
    }
    .layui-header .search-form {
        margin-left: 0;
        width: auto;
    }
    .search-form .layui-input {
        width: 160px;
    }
    .categories .category-item {
        margin: 4px 2px;
        border-radius: 15px;
        padding: 4px 10px;
    }
    .main-aside .layui-menu .first-icon {
        display: none;
    }
    .layui-menu-body-title a {
        padding: 5px 17px;
    }
    .main-aside .nav-list {
        margin-top: -5px;
        box-shadow: 1px 0 10px rgb(0 0 0 / 5%);
        position: relative;
        overflow-y: auto;
    }
    .main-aside.active .nav-list {
        width: 150px;
        overflow-y: auto;
        height: 100%;
        padding-bottom: 10px;
        box-sizing: border-box;
    }
    .aside-bottom {
        position: relative;
        bottom: inherit;
    }
    .card-body .card-item .item-body {
        flex-direction: column;
    }
    .card-body .card-item img {
        width: auto;
        object-fit: contain;
    }
    .card-body .card-item .item-info {
        padding: 0 15px 15px;
    }
    .product-header {
        padding-left: 15px;
        padding-right: 15px;
    }
    .product-header .product-photos {
        height: 180px;
        margin-right: 0;
    }
    .card-body .card-item .desc {
        height: 47px;
        overflow: hidden;
    }
    .article-list .item {
        flex-direction: column;
        padding-left: 0;
        padding-right: 0;
    }
    .article-list .item .thumb {
        margin-left: 0;
        width: auto;
        height: 145px;
    }
    .content-main {
        margin-top: 0;
        padding: 0;
    }
    .article-detail .title {
        padding: 10px 0px 0;
        font-size: 28px;
    }
    .article-detail .meta {
        padding: 0;
    }
    .article-detail .article-body {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 10px;
    }
    .index-card {
        padding: 10px;
        margin-top: 0;
    }
}
