/*
歡迎使用自訂 CSS！

若要瞭解自訂 CSS 的運作方式，請參閱 http://wp.me/PEmnE-Bt
*/
body,
button,
input,
select,
textarea {
	font-size: 18px;
}

.primary-navigation {
	font-size: 18px;
}

.main-navigation h1.first {
	clear: both;
	margin: 0;
	padding: 4px 20px 3px;
	background-color: rgb(137,32,64);
	font-family: "trebuchet ms", arial, sans-serif;
	color: rgb(255,255,255);
	font-weight: bold;
	font-size: 150%;
}

.main-subcontent h1.green {
	clear: both;
	margin: 0 0 5px;
	padding: 4px 10px 3px;
	background-color: rgb(160,214,81);
	font-family: "trebuchet ms", verdana, arial, sans-serif;
	color: rgb(255,255,255);
	font-weight: bold;
	font-size: 100%;
}

.main-subcontent h1.blue {
	clear: both;
	margin: 0 0 5px;
	padding: 4px 10px 3px;
	background-color: rgb(137,170,214);
	font-family: "trebuchet ms", verdana, arial, sans-serif;
	color: rgb(255,255,255);
	font-weight: bold;
	font-size: 100%;
}

.main-subcontent h1.orange {
	clear: both;
	margin: 0 0 5px;
	padding: 4px 10px 3px;
	background-color: rgb(232,177,13);
	font-family: "trebuchet ms", verdana, arial, sans-serif;
	color: rgb(255,255,255);
	font-weight: bold;
	font-size: 100%;
}

/* Note: h2 non-existent, to make HTML-code interchangeable between 'main-navigation' and 'main-subcontent' */
.main-subcontent p {
	clear: both;
	margin: 0 10px 1em;
	color: rgb(80,80,80);
	line-height: 1.3em;
	font-size: 100%;
}

.subcontent-unit-border {
	width: 183px;
	margin: 0 0 2em;
	padding: 0 0 5px;
	border: solid 1px rgb(190,190,190);
	background: rgb(235,235,235);
}

.subcontent-unit-border-orange {
	width: 183px;
	margin: 0 0 2.5em;
	padding: 0 0 10px;
	border: solid 1px rgb(232,177,13);
	background-color: rgb(248,224,150);
}

.round-border-topleft {
	width: 10px;
	height: 10px;
	position: absolute;
	z-index: 100;
	background: url(http://www.e-case.org/2013/img/bg_corner_topleft.gif) no-repeat;
	margin-top: -1px;
	margin-left: -1px;
	left: 1045px;
	top: 334px;
}

.main-subcontent img {
	clear: both;
	float: left;
	margin: 3px 10px 7px 0;
	padding: 1px;
	border: 1px solid rgb(150,150,150);
}

.main-subcontent a img {
	border: solid 1px rgb(150,150,150);
}

.main-subcontent a:hover img {
	border: solid 1px rgb(220,220,220);
}

.nav3-grid {
	width: 100%;
	border-bottom: solid 1px rgb(200,200,200);
}

.nav3-grid dt a, .nav3-grid dt a:visited {
	display: block;
	min-height: /*Non-IE6*/
2em;
	height: auto !important;
	height: /*IE6*/
2em;
	line-height: 2em;
	padding: 0 10px 0 20px;
	border-top: solid 1px rgb(200,200,200);
	text-decoration: none;
	color: rgb(50,50,50);
	font-weight: bold;
	font-size: 120%;
}

.nav3-grid dd a, .nav3-grid dd a:visited {
	display: block;
	min-height: /*Non-IE6*/
1.7em;
	height: auto !important;
	height: /*IE6*/
1.7em;
	line-height: 1.7em;
	padding: 0 10px 0 40px;
	border: none;
	font-weight: normal;
	text-decoration: none;
	color: rgb(70,122,167);
	font-size: 120%;
}

.nav3-grid dt a:hover, .nav3-grid dd a:hover {
	background-color: rgb(225,225,225);
	color: rgb(42,90,138);
	text-decoration: none;
	color: rgb(100,100,100);
}
#menu-home .sub-menu a{
	color:#ecf0f1;
}
