﻿@charset "utf-8";
/* -------------------------------- 

Primary style

-------------------------------- */
*,
*::after,
*::before {
	box-sizing: border-box;
	color: #333;
}
body {
    font-family: Helvetica, Tahoma, Arial, "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei";
    font-family: "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    padding: 60px 0 0;
}
@media only screen and (max-width: 768px) {
    body {
        padding: 50px 0 0;
    }
}
/* -------------------------------- 

导航

-------------------------------- */
.header {
	display: flex;
	justify-content: space-between;
	position: fixed;
	z-index: 3;
	top: 0;
	width: 100%;
	height: 60px;
	padding: 0 calc(50% - 600px);
	/*-webkit-backdrop-filter:saturate(180%) blur(20px);
	backdrop-filter:saturate(180%) blur(20px);*/
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
	-webkit-transform: translateZ(0);
	        transform: translateZ(0);
	will-change: transform;
	-webkit-transition: -webkit-transform .5s;
	transition: -webkit-transform .5s;
	transition: transform .5s;
	transition: transform .5s, -webkit-transform .5s;
	background-color: #008b6e;
}
.header.is-hidden {
	-webkit-transform: translateY(-100%);
	    -ms-transform: translateY(-100%);
	        transform: translateY(-100%);
}
@media only screen and (max-width: 768px) {
	.header {
		height: 50px;
		padding: 0 0 0 5%;
	}
}

.logo {
	left: 5%;
	display: flex;
	align-items: center;
    z-index: 3;
}
.icon-lilang-logo {
    font-size: 2.5em;
}
.nav {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}
.nav-trigger {
	display: none;
}
@media only screen and (max-width: 768px) {
    .icon-lilang-logo {
        font-size: 1.5em;
    }
    .icon-lilang-btn {
        font-size: 2em;
    }
	.nav-trigger {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100%;
		width: 70px;
		z-index: 3;
	}
    .nav-trigger ul {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
    }
    .nav-trigger ul li {
        width: 100%;
        height: 4px;
        background-color: #fff;
    }
}

.nav > ul {
	z-index: 2;
	display: flex;
	flex-direction: row;
	padding-top: 0;
	justify-content: space-between;
	align-items: center;
	position: static;
	width: 500px;
	height: 0;
	background-color: transparent;
	box-shadow: none;
	opacity: 1;
	transform: translateY(0);
	transition: .5s;
}
.nav > ul > li {
	width: 100%;
	text-align: center;
    cursor: pointer;
/*    border: 1px solid #ff0000;*/
}
.nav > ul a {
	color: #fff;
	font-size: 1em;
	font-weight: normal;
	height: 100%;
	line-height: normal;
	padding: 0;
	border: none;
	transition: all .5s;
}
.nav > ul a:hover,
.nav > ul a.active {
	font-weight: bold;
}
.nav-open .nav ul,
.nav ul:target {
	display: flex;
	flex-direction: column;
	align-items: center;
	opacity: 1;
	transform: translateY(0);
}
@media only screen and (max-width: 768px) {
	.nav > ul {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		padding-top: 50px;
		background-color: #008b6e;
		flex-direction: column;
		justify-content: flex-start;
		transform: translateY(-100%);
		opacity: 0;
		transition: .5s;
	}
	.nav > ul > li {
		width: 100%;
		text-align: center;
	}
	.nav > ul a {
		display: block;
		height: 50px;
		line-height: 50px;
		color: #fff;
		border-top: 1px solid rgba(255,255,255,0.1);
	}
	.nav > ul > li:last-child {
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
}

/* -------------------------------- 

banner

-------------------------------- */
#banner {
	width: 100%;
	height: 660px;
	margin-left: auto;
	margin-right: auto;
}
#banner1 {background-image: url("../resource/banner-jingdian.jpg");}
#banner2 {background-image: url("../resource/banner-mogu.jpg");}
#banner3 {background-image: url("../resource/banner-langbuluo.jpg");}
#banner4 {background-image: url("../resource/banner-langdao.jpg");}
#banner5 {background-image: url("../resource/banner-zunxiang.jpg");}
#banner6 {background-image: url("../resource/banner-wugu.jpg");}
#banner7 {background-image: url("../resource/banner-rouduole.jpg");}
#banner8 {background-image: url("../resource/banner-shuangpin.jpg");}
#banner9 {background-image: url("../resource/banner-youjia.jpg");}
#banner10 {background-image: url("../resource/banner-fuxi.jpg");}
.swiper-slide {
	text-align: center;
	font-size: 18px;
	background-size: cover;
	background-position: center;
	background-repeat:no-repeat;

	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}
/* 分页器颜色 */
.swiper-container{
	--swiper-pagination-color: #ffffff;/* 两种都可以 */
}
@media only screen and (max-width: 768px) {
	#banner {
                width: 100%;
                height: 198px;
                margin-left: auto;
	margin-right: auto;
	}
#banner1 {background-image: url("../resource/mbanner-jingdian.jpg");}
#banner2 {background-image: url("../resource/mbanner-mogu.jpg");}
#banner3 {background-image: url("../resource/mbanner-langbuluo.jpg");}
#banner4 {background-image: url("../resource/mbanner-langdao.jpg");}
#banner5 {background-image: url("../resource/mbanner-zunxiang.jpg");}
#banner6 {background-image: url("../resource/mbanner-wugu.jpg");}
#banner7 {background-image: url("../resource/mbanner-rouduole.jpg");}
#banner8 {background-image: url("../resource/mbanner-shuangpin.jpg");}
#banner9 {background-image: url("../resource/mbanner-youjia.jpg");}
#banner10 {background-image: url("../resource/mbanner-fuxi.jpg");}
}

/* -------------------------------- 

首页下半部分

-------------------------------- */
.index {
	width: 1200px;
	height: calc(100vh - 760px);
	min-height: 170px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.index img:nth-of-type(1) {
	display: block;
	width: 190px;
	height: 96px;
}
.index img:nth-of-type(2) {
	display: block;
	width: 190px;
	height: 105px;
}
.index p {
	width: 610px;
	height: auto;
	font-size: 0.875em;
	line-height: 1.5em;
}

@media only screen and (max-width: 768px) {
	.index {
		width: 100%;
		flex-direction: column;
		height: auto;
	}
	.index p {
		width: 80%;
	}
	.index img {
		margin: 20px auto;
	}
	.index img:nth-of-type(1) {
		width: 140px;
		height: 70px;
	}
}

/* -------------------------------- 

页脚

-------------------------------- */
footer {
    width: 100%;
    height: 40px;
    background-color: #008b6e;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0px;
}
footer div {
	width: 1200px;
}
footer div a {
	float: right;
	color: #fff;
	font-size: 0.75em;
}
@media only screen and (max-width: 768px) {
	footer {
		height: auto;
	}
	footer div {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	footer img,
	footer a {
		margin: 10px auto;
	}
	footer img {
		width: 120px;
		margin-bottom: 0;
	}
	footer div a {
		float: none;
 		text-align: center;
	}
    .icon-lilang-slogan {
        margin: 10px 0 0;
    }
}
/* --------------------------------

产品详情页

-------------------------------- */
/* 左右箭头 */
.arrow {
	position: fixed;
	left: 50%;
	top: 50%;
	transform:translate(-50%,-50%);
	display: flex;
	justify-content: space-between;
	width: 90%;
}
.arrow i::before {
	color: #ccc;
	transition: .5s;
}
.arrow i:hover::before{
	color: #008b6e;
}
.arrow a i {
	font-size: 2.5em;
}
/* 布局 */
.product-box {
	width: 760px;
	margin: 150px auto 100px;
	display: flex;
	justify-content: space-between;
}
.product {
	width: 244px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.product p {
	font-size: 14px;
	color: #666;
	margin: 36px auto 0;
}
.product-detail {
	width: 320px;
}
.product-detail h2 {
	margin: 20px 0 50px;
	color: #008b6e;
}
.product-detail p {
	font-size: 12px;
	line-height: 18px;
	text-align: justify;
	color: #666;
	margin-bottom: 50px;
	letter-spacing: .5px;
}
.product-detail h3 {
	font-size: 14px;
	font-weight: bold;
	color: #666;
}
.back {
	font-size: 18px;
	font-weight: normal;
	width: 100%;
	height: 30px;
	line-height: 30px;
	background: #eee;
	display: flex;
	margin: 0;
}
.feed-back {
	width: 960px;
	margin: 0 auto 100px;
}
.back a {
	display: block;
	color: #fff;
	height: 100%;
	text-align: center;
	transition: .5s;
}
.back a:first-child {
	width: 50%;
	background: #008b6e;
}
.back a:first-child::after {
	content: "";
	display: block;
	width: 21px;
	height: 21px;
	background: #008b6e;
	transform: translate(-50%,-50%) rotate(45deg);
	position: relative;
	right: -100%;
	top: -50%;
	transition: .5s;
}
.back a:last-child {
	width: 50%;
    color: #008b6e;
}
.back a:hover {
	width: 65%;
}
@media only screen and (max-width: 768px) {
	/* 左右箭头 */
	.arrow a i {
		font-size: 1.5em;
	}
	/* 布局 */
	.product-box {
		width: 70%;
		margin: 80px auto 50px;
		flex-direction: column;
	}
	.product {
		width: 100%;
		margin: 0 auto 50px;
	}
	.product div {
		max-width: 60%;
		margin: 0 auto;
	}
	.product img {
		width: 100%;
	}
	.product p {
		margin: 16px auto 0;
	}
	.product-detail {
		width: 100%;
		display: flex;
		flex-direction: column;
	}
	.product-detail h2 {
		margin: 10px auto 50px;
		text-align: center;
	}
	.back {
		margin: 16px auto 48px;
	}
	.feed-back {
		width: 90%;
	}
}

.subnav-container {
    width: 100%;
    height: 120px;
    background-color: #008b6e;
    display: flex;
    margin: 0 auto;
    padding: 0 calc(50% - 600px);
    align-items: center;
}
.subnav-container li {
    width: 25%;
}
.subnav-container li a {
    display: flex;
    align-items: center;
}
.subnav-container div {
    margin-left: 24px;
    padding-left: 16px;
    border-left: 1px solid #fff;
}
.subnav-container p {
    color: #fff;
}
.subnav-container p:first-of-type {
    font-size: 1em;
    margin-bottom: 0.2em;
}
.subnav-container p:last-of-type {
    font-size: 1.5em;
    font-weight: bold;
}
.info {
    width: 100%;
    padding: 0 calc(50% - 600px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 200px;
}
.info img:last-of-type {
    width: 408px;
}
@media only screen and (max-width: 768px) {
    .subnav-container {
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
    }
    .subnav-container li {
        width: 100%;
        border-bottom: 1px solid #fff;
        padding: 16px 10%;
    }
    .info {
        flex-direction: column;
        height: auto;
    }
    .info img,
    .info img:last-of-type {
        width: 80%;
    }
    .info img {
        margin: 16px auto;
    }
    .info img:first-of-type {
/*        order: 1;*/
    }
    .info img:nth-of-type(2) {
/*        order: 3;*/
        width: 50%;
    }
    .info img:last-of-type {
/*        order: 2;*/
    }
}
/* --------------------------------

产品列表

-------------------------------- */
.product-sort {
    width: 100%;
    padding: 0 calc(50% - 600px);
    min-width: 1200px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    margin: 80px 0 0;
    cursor: pointer;
}
.product-sort li {
    width: 20%;
    text-align: center;
    line-height: 4;
}
.product-sort li:nth-child(odd) {
    background-color: #eee;
}
.product-sort li:nth-child(even) {
    background-color: #ddd;
}
.product-sort li:hover {
    background-color: #008b6e;
}
.product-sort li:hover a {
    color: #fff;
}
.product-sort li a {
    display: block;
    width: 100%;
    height: 100%;
}
#product-sort-current {
    background-color: #008b6e;
}
#product-sort-current a {
    color: #fff;
}
@media only screen and (max-width: 768px) {
    .product-sort {
        width: 100%;
        padding: 0 10%;
        min-width: inherit;
        margin: 40px 0 0;
    }
    .product-sort li {
        width: 50%;
    }
    .product-sort li:nth-child(4n+1) {
        background-color: #eee;
    }
    .product-sort li:nth-child(4n+2) {
        background-color: #ddd;
    }
    .product-sort li:nth-child(4n+3) {
        background-color: #ccc;
    }
    .product-sort li:nth-child(4n) {
        background-color: #bbb;
    }
}
.product-ul {
	width: 960px;
	display: flex;
	flex-wrap: wrap;
	flex-shrink: 3;
	margin: 80px auto 0;
}
.product-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 320px;
	margin: auto auto 120px;
}
.product-list img {
	width: 180px;
	transition: .5s;
}
.product-list:hover img {
	transform: translateY(-10px);
}
.product-list p {
	width: 184px;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
    text-overflow: ellipsis;
}
.product-list p:nth-child(2) {
	font-size: 14px;
	color: #008b6e;
	margin-top: 40px;
}
.product-list p:nth-child(3) {
	font-size: 12px;
    color: #666;
	margin-top: 14px;
}
@media only screen and (max-width: 768px) {
	.product-ul {
		width: 80%;
		margin: 50px auto 0;
	}
	.product-list {
		width: 50%;
		margin: auto auto 50px;
	}
	.product-list img {
		width: 100px;
	}
	.product-list p {
		width: 100px;
	}
	.product-list p:nth-child(2) {
		font-size: 14px;
		margin-top: 16px;
	}
	.product-list p:nth-child(3) {
		font-size: 10px;
		margin-top: 8px;
	}
}
/* --------------------------------

关于页面

-------------------------------- */
.about {
    width: 100%;
    min-width: 1200px;
    min-height: calc(100vh - 100px);
    padding: 0 calc(50% - 600px);
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.about img {
    display: block;
    margin: 0 auto 30px;
}
.about div:last-of-type {
    width: 100%;
}
.about p {
    color: #666;
    line-height: 1.5;
    margin: 1em auto;
    width: 50%;
    text-align: center;
}
@media only screen and (max-width: 768px) {
    .about {
        min-width: inherit;
        min-height: calc(100vh - 80px);
    }
    .about img {
        width: 100%;
        height: auto;
        margin: 0;
    }
    .about div:first-of-type,
    .about div:last-of-type {
        width: 80%;
    }
    .about div {
        margin: 30px 0 0;
    }
    .about p {
        text-align: justify;
        width: 100%;
        margin: 0 auto 1em;
    }
}
