@charset "utf-8";


:root{
	/* 标题栏背景色 */
	--title-bkcolor:#D3E5DB;
	--title-height:48px;

	--contactus-bkclr:#D3E5DB;
	--webauth-bkclr:#BDD6C9;

	--menu-separat:2px solid gold;
	--hoversel-bkclr: #c9ccee;

	/* 输入文本框宽度 */
	--inputTotalWidth: 200px;
	--inputTotalWidth2Btn:360px;
	--inCaptionWidth:150px;
	--inputWidth: 80px;
	--inputWidthLong:auto;
	--inputWidthPath:240px;

	/* 按键预留宽度 */
	--btnWidth:60px;

	/* 低于此尺寸的屏幕使用单列布局 */
	--onecol-scnsize: 840px;
	/* 屏幕大于时内容使用的宽度 */
	--midcol-scnsize: 1024px;
	--largcol-scnsize:1920px;
}

*{
	box-sizing: border-box;
}

html{
	height: 100%;
}

body {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	margin-top: 0;
	margin-bottom: 0;
	background-color: white;
}

/* 居中放置 */
.center-cnt{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.center-cnt *{
	margin-left: 10px;
	margin-right: 10px;
}

.maincontent{
	width: 75%;
	flex: 1;
	margin: 0 auto;
}

.titlepositioned {
	position: sticky;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 20;
}

.maintitle {
	width: 100%;
	
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	background-color: var(--title-bkcolor);
}

.maintitle > a{
	height: 100%;
}

.logoimg {
	height:var(--title-height);
	width: auto;
	margin-left: 10px;
	margin-right: 10px;
}

/* 导航栏+++++++++++++++++++++++++++++ */
nav {
	display: flex;
	height: 100%;
	flex-wrap: wrap;
	flex: 1;
}
nav a
{
	text-decoration: none;
	display: block;
	font-weight: bold;
}

/* 菜单+++++++++++++++++++++++++++ */
.muiltmenuCtain{
	height: 100%;
	display: flex;
	flex-wrap: wrap;
	flex: 1;
}
.onemenuCtain{
	display: none;
}

#popMenuOver {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;

	background-color: rgba(0, 0, 0, 0.1);
}

.menuCtnLst {
	width: 100%;
	height: 100%;
	flex: 1;
	min-width: 120px;
}
.menuCtnLst:nth-child(even){
	border-left: var(--menu-separat);
	border-right: var(--menu-separat);
}

.menuButton {
	display: flex;
	width: 100%;
	height:var(--title-height);
	align-items: center;
	position: relative;
	background-color: var(--title-bkcolor);
	z-index: 999;
	border: none;
	font-size: 1.2em;
}

.menuCaption{
	flex: 1;
	padding-left: 20px;
	text-align: center;
}

.menuExpan {
	color: rgb(140, 0, 255);
	text-align: right;
	padding-right: 20px;
}

/* styles.css */
.popup-menu {
	display: none;
	position: absolute;
	background-color: white;
	border: 1px solid #666;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.4);
	padding: 1px;
	z-index: 1000;
	min-width: 200px;
}

.popup-menu ul {
	padding: 0;
	margin: 0;
}

.popup-menu li {
	/* display: inline-block; */
	list-style-type: none;
	margin-left: 10px;
	padding: 4px 0px;
}

#onemenuBtn{
	height: var(--title-height);
	text-align: center;
	margin-right: 10px;
	font-size: 32px;
}

/* --onecol-scnsize */
@media screen and (max-width: 840px) {
	.onemenuCtain {
		display: flex;
		justify-content: flex-end;
		flex: 1;
	}

	.menuCaption{
		text-align: left;
	}

	.muiltmenuCtain {
		min-width:200px;
		display: none;
		position: absolute;
		right: 0px;
		border: 1px solid black;
		border-radius: 3px;
	}

	nav,
	.muiltmenuCtain,
	.menuCtnLst{
		height:auto;
	}

	.menuButton {
		height:2em;
	}

	.popup-menu {
		display: block;
		position: relative;
	}

	.menuCtnLst:nth-child(even) {

		border-left: none;
		border-right: none;

		border-top: var(--menu-separat);
		border-bottom: var(--menu-separat);
	}
}
/* 菜单--------------------------- */


/* 导航栏----------------------------- */

.divmainadv {
	clear: both;
	display: flex;
	justify-content: center;
	width: 80%;
	margin: 0px auto;
}

.divmainadvimg {
	width: 100%;
}

.mainproductdiv {
	width: 80%;
	max-width: 1024px;

	margin: 40px auto 20px auto;

	border-top: 2px dashed #5E3D72;
}


.mainproductdiv>p {
	min-width: 100px;
}

.mainproductdiv_img {
	width: 320px;
	height: 240px;
	border-radius: 10px;
	margin: 15px;
}

.mainproductdiv:nth-of-type(2n) .mainproductdiv_img {
	float: left;
}

.mainproductdiv:nth-of-type(2n+1) .mainproductdiv_img {
	float: right;
}

.mainproductdiv_shop {
	clear: both;
	display: flex;
	height: 60px;
	align-items: center;
	font-size: 30px;
}

.mainproductdiv_shop div {
	flex: 1;
}

.mainproductdiv_shop img {
	width: 30px;
	height: 30px;
	margin-right: 30px;
	vertical-align: middle;
}

/* login +++++++++++++++++++++++ */
.login{
	display: none;
	align-items: center;
}
.login > span{
	padding-left: 10px;
	padding-right: 10px;
}

.not-login{
	display: flex;
	align-items: center;
	padding-left: 10px;
	padding-right: 10px;
}
/* login ----------------------- */

/*main adverst ++++++++++++++++++*/
.mainadverst img{
	width: 100%;
	margin: 10px 0;
}

/*main adverst ------------------*/

/* footer+++++++++++++++++++++++ */
footer {
	width: 100%;
	margin: 0 auto;
}

.copyright{
	min-width: 120px;
	flex:3;
}
.auth{
	min-width: 120px;
	flex:2;
}

.contactus{
	display:flex;
	flex-wrap: wrap;

	justify-content: space-around;
	align-items: center;
	background-color:var(--contactus-bkclr);

	padding: 10px 0 10px;
}

.webauth{
	display:flex;
	flex-wrap: wrap;

	justify-content: center;
	align-items: center;
	background-color:  var(--webauth-bkclr);

	padding: 10px 0 10px;
}

.suggest,
.contact{
	min-width: 200px;
	flex:1;
	text-align: center;
}

.suggest a,
.contact a{
	margin: 0 10px;
}

/* --largcol-scnsize */
@media screen and (max-width: 1920px) {
	.maincontent{
		width: 80%;
	}
}

/* --midcol-scnsize */
@media screen and (max-width: 1024px) {
	.maincontent{
		width: 90%;
	}
}

/* --onecol-scnsize */
@media screen and (max-width: 840px) {
	.maincontent{
		width: 100%;
	}
}