/* 基础布局 */
html,body,#root{
	height: 100%;
	margin: 0;
}
#root{
	display: flex;
}

/* 登录 */
#login{
	display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}
#login>.title{
	display: flex;
	align-items: center;
	font-size: 2em;
	height: 30%;
}
#login>.form{
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	height: 25%;
	width: 20%;
}
#login>.form .form-group{
	width: 100%;
}
#login>.form .form-group input,#login>.form .form-group button{
	width: -webkit-fill-available;
	font-size: 1.5em;
}
#login>.footer{
	padding-bottom: 0.5em;
	align-content: end;
	font-size: 14px;
	flex-grow: 1;
	color: #666;
}

/* 侧边栏 */
#sidebar{
	border-right: 1px solid #ddd;
	position: relative;
	user-select: none;
	min-width: 65px;
}
/* 侧边栏 logo */
#sidebar .logo{
	text-align: center;
}
#sidebar .logo>img{
	width: 60px;
}
/* 侧边栏 菜单 */
#sidebar .menu>ul{
	list-style: none;
	padding: 0;
	margin: 0;
}
#sidebar .menu>ul>li{
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 14px;
	padding: 0.6em 0;
	color: #666;
}
#sidebar .menu>ul ul{
	box-shadow: 3px 3px 5px -1px #ccc;
	list-style-type: disc;
	position: absolute;
	padding-top: 1em;
	min-width: 120px;
	left: 65px;
	top: 48px;
	bottom: 0;
}
#sidebar .menu>ul ul>li{
	padding: 0.2em 0;
	color: #666;
}
#sidebar .menu>ul li.active{
	color: #2ca5ec;
}
#sidebar .menu>ul>li:not(:hover) ul{
	display: none;
}
#sidebar .menu>ul>li:not(.active):hover{
	background-color: #c6e7f6;
	cursor: pointer;
}
#sidebar .menu>ul ul>li:not(.active):hover{
	text-decoration: underline;
	cursor: pointer;
}

/* 主体内容 */
#main{
	flex-grow: 1;
}
/* 主体内容 顶部 */
#main .top{
	justify-content: space-between;
	background-color: #2ca5ec;
	display: flex;
	height: 48px;
}
/* 主体内容 顶部 登录账号信息 */
#main .top .account-info{
	display: flex;
	align-items: center;
	padding: 0 1em;
	height: 100%;
	color: #fff;
}
#main .top .account-info>span{
	margin-left: 0.5em;
}







.icon{
	width: 28px;
	height: 28px;
}