*{
    margin:0;
    padding:0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
body {
    background-color: #ecf0f1;
    font-family: helvetica, arial, sans-serif;
    font-size: 16px;
    padding-top: 200px;
    -moz-transition: padding-top 0.3s ease;
    -o-transition: padding-top 0.3s ease;
    -webkit-transition: padding-top 0.3s ease;
    transition: padding-top 0.3s ease;
}
header {
    width: 100%;
    height: 200px;
    background-color: #393D49;
    text-align: center;
    position: relative;
    position: fixed;
    top: 0;
    overflow: hidden;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 999;
}    
header h1 {
    font-size: 42px;
    color: #fff;
    line-height: 150px;
    text-transform: uppercase;
    font-weight: 100;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
} 
/* 水平导航菜单的基本样式 */
header nav {
    position: absolute;
    bottom: 0;
    height: 60px;
    line-height: 60px;
    width: 100%;
    display:flex;
    justify-content:center;
}
header nav a {
    color: #fff;
    display: flex;
    padding: 0px 20px;
    text-decoration: none;
    align-items:center;
    font-weight: 700;
    font-size:18px;
}
    header nav a:hover {
        background: #ecf0f1;
        color: #000;
    }  
/* 当页面开始滚动的时候，body元素被添加.sticky-header class，
这时header的高度被设置为60像素，
刚好等于水平导航菜单的高度。
h1元素则使用transform: scale(0, 0)缩放到最小。 */
body.sticky-header {
    padding-top: 100px;
}
body.sticky-header header {
    height: 60px;
    background-color:#393D49;
}
body.sticky-header header h1 {
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
}

.layui-row{
    width:100%;
    height:100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.module{
    text-align: center;
    font-size: 18px;
    margin-bottom: 1em;
    box-sizing: border-box;
}
.subtitle:before,
.subtitle:after {
    content: "";
    width: 200px;
    height: 1px;
    background: #393D49;
    /*1.首先使伪类显示方式为块级元素*/
    display: block;
    /*2.通过相对定位的方式控制两侧内容的位置*/
    position: relative;
}

/*3.控制左侧横线的位置*/
.subtitle:before {
    top: 15px;
    left: 300px;
}

/*4.控制右侧横线的位置*/
.subtitle:after {
    top: -15px;
    right: 300px;
}
.describ{
    font-size: 14px;
}
.module h4,.module h3{
    line-height: 30px;
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.layui-row .layui-col-md4{
    height:100%;
}
.layui-card {
    height: 100%;
    box-sizing: border-box;
    padding: 1%;
    background: rgba(255,255,255,0) !important;
    box-shadow:none !important;
}
.layui-card .layui-card-body{
    height:100%;
    background:rgba(255,255,255,0) !important;
}
.layui-card .layui-card-body:hover{
    cursor: pointer;
}
#foot{
    width:100%;
    height:350px;
    background-color: #2F4056;
    margin-top:50px;
    box-sizing: border-box;
}

.layui-carousel img{
    width:100%;
    height:100%;
}
.layui-footer {
    color: #fff;
    background-color: #2F4056;
    /*background-image: url(img/6.jpg);*/
    background-size: 100% 100%;
    background-repeat: no-repeat;
    /*border:1px solid red;*/
}
.layui-footer .subtitle:before,
.layui-footer .subtitle:after {
    background: #fff;
}
/*3.控制左侧横线的位置*/
.layui-footer .module .subtitle:before {
    top: 15px;
    left: 30%;
}

/*4.控制右侧横线的位置*/
.layui-footer .module .subtitle:after {
    top: -15px;
    left: 60%;
}
.layui-footer .describ {
    width: 100%;
    height: 200px;
    border: 1px dashed #fff;
    margin: 0 auto;
    padding:10px;
    /*background: rgba(76, 255, 0,0.1);*/
}
.layui-footer .module {
        
}
.product .layui-card-body{
    text-align:center;
}
.product .layui-card-body img {
    width: 100%;
    height: 50%;
}
.product .layui-card-body p {
    font-size:12px;
    text-align: justify;
    text-justify: inter-character;
}