@charset "utf-8";

.maincate{width: 100%;
    height: 50px;
    line-height: 50px;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    -webkit-overflow-scrolling: touch;
    text-align: right;
    /* background: #f78361; */
    padding: 0px 5px;
    box-sizing: border-box;
    /** 设置边框方便调试
   	border-style: dashed; border-color: red;
    border: 1px solid black;
    */
}
.maincate a{ color: blcak; text-decoration: none; margin-right: 10px;}
.maincate::-webkit-scrollbar{display: none;}

/*定义logo在本页面的尺寸*/
.logo{
width: 96px;
height: 36px;
color:#3399CC;
}
/*定义关于本站等在ui->li的样式*/
ul li{
	display:inline-block;
	font-size: 14px;
	font-weight: bold;
	/* margin: 10px 0; */
}

/* logo及顶部 */
#group{
	width:100%;
	display: flex;
	height: 20;
	margin: 1px;
	top: 150px; /* 或者使用百分比，如top: 10%; */
	
	/* 设置边框方便调试*/
	/*
	border-style: dashed; 
	border-color: red;
    border: 1px solid black;
	*/
  
}

/*logon div框*/
#div1{
	float: left;
	width: 8%;
	border: 1px;
	
	position: relative; /* 定位为fixed */
    top: 5px;
    left: 0px;
    
	/*
   	border-style: dashed; 
	border-color: red;
    border: 1px solid black;
	*/
}



#div2{
	float: right;
	width: 92%;
	text-align: right;
	border: 1px;
	position: relative; /* 定位为fixed */
    top: 15px;
    right: 5px;
    
	/*
    border-style: dashed; 
	border-color: red;
    border: 1px solid black; 
	*/
}


/* 以下定义搜索框 */

/* 在屏幕宽度大于 481px 时应用的样式 */
@media screen and (min-width: 481px) {
.search1 {
	height: 40px;
	width: 50%;
	}	
}


/* 在屏幕宽度小于 480px 时应用的样式 */
@media screen and (max-width: 480px) {
.search1 {
	height: 40px;
	width: 0%;
	display: none;
	}	
}


.search2{
	position: relative;
	padding-top: 3px;
	background: url("../images/search.png");
	background-size: 20px 18px;
	width: 80px;
	height: 22px;
	background-repeat: no-repeat;
	background-position: right;
	
	border-style: solid;
    border-width: 1px;
    border-color: #D9D9F3;
    
    color: black;
}


.logoout{
	position: relative;
	padding-bottom:1px;
	background: url("../images/logout.png");
	background-size: 30px 30px;
	width: 30px;
	height: 25px;
	background-repeat: no-repeat;
	background-position: center;
	
	border-style: solid;
    border-width: 0px;
    border-color: #D9D9F3;
    
    color: black;
}


.logoin{
	position: relative;
	padding-top: 5px;
	background: url("../images/login.png");
	background-size: 30px 30px;
	width: 30px;
	height: 25px;
	background-repeat: no-repeat;
	background-position: center;
	
	border-style: solid;
    border-width: 0px;
    border-color: #D9D9F3;
    
    color: black;
}
