html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}
a{
    color: #000;
    text-decoration: none;
}

iframe {
	border: none;
	width: 100%;
	height: calc(100% - 20px);
	/* 计算三个div总共百分之百 */
}

#linkListContainer {
	float: left;
	width: 280px;
	height: 100%;
	box-sizing: border-box;
	/* 让 padding 不影响宽度计算 */
	padding: 10px;
	overflow-y: auto;
	/* 只有当需要时才显示滚动条 */
	background-color: #f7f7f7;
	border-right: solid 1px #ddd;
	transition: all 0.8s;
}
/*收起菜单*/
#toggleButton{
    width: 30px;
    min-width: 19px;
    min-height: 80px;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 36px;
    /*display: flex;*/
    background: #ff8f8f;
    height: 150px;
    overflow: hidden; 
    border: none;
    display: table;
    border-radius: 0px 15px 15px 0px;
    font-family: '楷体';
    text-align: center;
    padding: 0 5px;
    color: #fff;
    vertical-align: middle;
    cursor: pointer;
    line-height: 20px;
}

.linkItem {
	margin: 5px;
	padding: 5px;
	border: solid 1px #ccc;
	cursor: pointer;
	background-color: white;
	color: #333;
	text-align: center;
	border-radius: 10px;
	transition: all 0.8s;
}

.linkItem:hover {
	transform: scale(1.2);
	box-shadow: 2px 3px 5px pink;
}

.selected {
	background-color: #007bff;
	color: white;
}

#content {
	float: left;
	width: calc(100% - 280px);
	height: 100%;
	padding: 10px;
	box-sizing: border-box;
	/* 让 padding 不影响宽度计算 */
}

/* 响应式 CSS */
@media (max-width: 767px) {
	/* 应用于小屏幕设备（如手机） */
	html,
	body {
		height: initial;
	}

	iframe,
	#linkListContainer {
		width: 100%;
		float: none;
		/*height: auto;*/
	}

	#linkListContainer {
		padding: 5px;
		box-sizing: border-box;
		border-right: none;
	}

	.linkItem {
		margin: 2px;
		padding: 8px;
		font-size: 14px;
	}

	.selected {
		background-color: #007bff !important;
		color: white !important;
	}

	#content {
		float: none;
		width: 100%;
		height: 1200px;
		padding: 0;
		box-sizing: border-box;
	}

}


/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
	width: 8px;
	height: 6px
}

/*定义滚动条轨道*/
::-webkit-scrollbar-track {
	background-color: transparent;
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
	background-color: #30B07F;
	background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .4) 100%, transparent 100%, transparent 50%, rgba(255, 255, 255, .4) 50%, rgba(255, 255, 255, .4) 75%, transparent 75%, transparent);
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;


