/*
	主要按鈕
 */
input.link {
	display: none;
}
.link {
	position: relative;
	box-sizing: border-box;
	display: inline-block;
	font: 16px;
	margin: 6px;
	margin-left: 0px;
	text-align: center;
	vertical-align: middle;
	height: 46px;
	width: 90px;
	cursor: pointer;
}
.width-free {
	width: auto;
}
/*
	按鈕樣式
	B6D5E1
	3D84A8
 */
input.link+label {
	border: 2px solid rgb(37,37,37);
	background-color: rgb(37,37,37);
	color: white;
	font-size: 16px;
	overflow:hidden;
    text-overflow:ellipsis;
    white-space: nowrap
}
input.link:hover+label,
input.link:checked+label
{
	border: 2px solid rgb(37,37,37);
	background-color: white;
	color: rgb(37,37,37);
}
input.link+label::after {
	content: "";
	display: inline-block;
	height: 46px;
	width: 0px;
	vertical-align: middle;
}





/*
	.intro裡面用的子按鈕
 */
.lists input.link+label {
	padding-left: 3px;
	padding-right: 3px;
	width: auto;
	height: 30px;
	font-size: 16px !important;
	border: 2px solid rgb(37,37,37);
	background-color: white;
	color: rgb(37,37,37);
}
.lists input.link:hover+label,
.lists input.link:checked+label
{
	background-color: #003333;
	color: white;
}
.lists input.link+label::after {
	height: auto;
}
.lists input.link br,
.lists label
{
	margin-bottom: 0px;
}

/*
	連結 按鈕 與 各個頁面
*/
input.link:nth-of-type(1):checked~.linked_contents>.intro:nth-of-type(1),
input.link:nth-of-type(2):checked~.linked_contents>.intro:nth-of-type(2),
input.link:nth-of-type(3):checked~.linked_contents>.intro:nth-of-type(3),
input.link:nth-of-type(4):checked~.linked_contents>.intro:nth-of-type(4),
input.link:nth-of-type(5):checked~.linked_contents>.intro:nth-of-type(5),
input.link:nth-of-type(6):checked~.linked_contents>.intro:nth-of-type(6),
input.link:nth-of-type(7):checked~.linked_contents>.intro:nth-of-type(7),
input.link:nth-of-type(8):checked~.linked_contents>.intro:nth-of-type(8),
input.link:nth-of-type(9):checked~.linked_contents>.intro:nth-of-type(9),

input.link:nth-of-type(1):checked~.intro:nth-of-type(1),
input.link:nth-of-type(2):checked~.intro:nth-of-type(2),
input.link:nth-of-type(3):checked~.intro:nth-of-type(3),
input.link:nth-of-type(4):checked~.intro:nth-of-type(4),
input.link:nth-of-type(5):checked~.intro:nth-of-type(5),
input.link:nth-of-type(6):checked~.intro:nth-of-type(6),
input.link:nth-of-type(7):checked~.intro:nth-of-type(7),
input.link:nth-of-type(8):checked~.intro:nth-of-type(8),
input.link:nth-of-type(9):checked~.intro:nth-of-type(9),

input.link:nth-of-type(1):checked~table:nth-of-type(1),
input.link:nth-of-type(2):checked~table:nth-of-type(2),
input.link:nth-of-type(3):checked~table:nth-of-type(3),
input.link:nth-of-type(4):checked~table:nth-of-type(4),
input.link:nth-of-type(5):checked~table:nth-of-type(5),
input.link:nth-of-type(6):checked~table:nth-of-type(6),
input.link:nth-of-type(7):checked~table:nth-of-type(7),
input.link:nth-of-type(8):checked~table:nth-of-type(8),
input.link:nth-of-type(9):checked~table:nth-of-type(9)
{
    display: initial;
}