@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);

* {
	margin: 0px;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-family: 'Microsoft JhengHei', Arial, Helvetica, sans-serif;
}
html {
	overflow-y: scroll; /* to prevent the flickering due to the emerging vertical scrollbar */
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
::-webkit-scrollbar {
  width: 8px;
}
#branding {
	width: 100%;
	/*background-image: url(images/bg.jpg);*/
	background-color: #dbf0f0;
	background-position-x: center;
	background-repeat-x: repeat;
	margin-right: auto;
	margin-left: auto;
	font-size: 80%;
}

.float-container:after { /* make it contain its floated children */
	content: "";
	display: table;
	clear: both;
}
.float-container {
	zoom:1;
}
.branding-left {
	float: left;
}
.branding-left h1 {
	margin: 0;
	padding: 0;
}
.branding-right {
	float: right;
	text-align: right;
	font-size: 1rem;
}
.branding-right a {
	line-height: 120%;
	color: #333333;
	text-decoration: none;
}
.branding-right a:hover {
	text-decoration: none;
	color: #F36;
}
#aqi_container {
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: right;
}
#aqi_label {
	display: inline-block; 
	color: darkslategray;
}
#aqi_banner {
	display: inline-block; 
	box-shadow: 2px 2px 10px CornflowerBlue; 
	font-weight: bold; 
	color: grey; 
	text-align: center; 
	margin: 0; 
	padding: 5px; 
	width: 50%;
	max-width: 10em;
}
.top_categories  {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}
.top_categories a {
	display: inline-block;
	text-align: center;
	padding: 1px;
	margin: 4px;
	color: #333333;
	text-decoration: none;
	font-size: 1.3rem;
	width: 7%;
	min-width:100px;
}
.top_categories a:hover {
	color: #dbf0f0;
	background: #333333;
	/*border-radius: 18px;*/
	text-shadow: none;
	font-weight: normal;
}
.top_categories span {
	color: white;
	width: 4px;
	text-align: center;
}
/* for home page */
#maincontent {
	width: auto;
	max-width: 1900px;
	margin-right: auto;
	margin-left: auto;
	background-repeat: no-repeat;
	background-position: center bottom;
}
/* for non-home pages */
#main_content img {
	max-width: 100%;
}
footer {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	background-color: lightgray;
	font-size: 0.9em;
	line-height: 1.5em;
	color: black;
	padding-top: 1.2em;
	padding-bottom: 1.2em;
}
.footer-info {
	padding-left: 2em;
	float: left;
}
.handicap-free {
	padding-right: 2em;
	float: right;
	display: block;
}

.main-area {
	width: auto;
	padding-left: 1em;
	padding-right: 1em;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 1em;
}
.left-and-center {
	float: left;
	width: 60%;
	padding-right: 0.3em;
}
.center-area {
	float: right;
	width: 75%;
}
.left-bar {
	float: left;
	width: 24%;
	padding-right: 0.3em;
}
.right-bar {
	float: right;
	width: 36%;
}
.content-area {
	float: right;
	width: 75%;
	width: calc(100% - 180px);
}
.title-area {
	float: none;
	width: 172px;
}
.title-area img {
	display: block;
}
.menu-bar {
	float: left;
	width: 172px;
	padding-right: 0.3em;
	padding: 0;
}
ul.subpage-list {
	padding-left: 20px;
}
ul.subpage-list>li {
    list-style-type: none;
	background: url(images/iecool_arrow_018.gif) no-repeat left center;
    padding-left: 10px;
}
ul.menu,ol.menu {
	padding: 0;
	width: auto;
	list-style-type: none;
	font-size: 100%;
	cursor: default;
}
ul.menu li,ol.menu li {
	float: none;
	padding: 0;
	list-style-type: none;
	font-size: 100%;
	position: relative;
	text-align: left;
	cursor: pointer;
	width: auto;
	margin-right: 1px;
}
ul.menu a, ol.menu a {
	display: block;
	cursor: pointer;
	background-color: #006fa8;
	color: white;
	text-decoration: none;
	font-size: 0.8em;
	padding-top: 0.5em;
	padding-right: 0.75em;
	padding-bottom: 0.5em;
	padding-left: 0.75em;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
}
ul.menu a:hover, ul.menu a:focus, ol.menu a:hover, ol.menu a:focus {
	background-color: #1c3646;
	color: #FFF;
}

.content_topBg {
	padding-top: 0px;
	padding-right: 50px;
	padding-bottom: 10px;
	padding-left: 50px;
	background-repeat: no-repeat;
	background-position: center top;
}
.folder {
	background-image: url(images/folder.png);
	background-repeat: no-repeat;
	background-position: center top;
	float: left;
	height: 140px;
	width: 179px;
	padding-top: 35px;
	padding-right: 10px;
	padding-left: 10px;
	text-align: center;
	margin-right: 14px;
	margin-left: 14px;
	margin-bottom: 20px;
}
.folder_text {
	font-size: 80%;
	line-height: 120%;
	color: #333;
	padding-top: 24px;
}
.td {
	padding-top: 8px;
	padding-bottom: 8px;
}
.td1 {
	width: 26px;
}
.text1 {
	font-size: 120%;
	line-height: 133%;
	font-weight: bold;
	color: #20579b;
	padding-top: 9px;
	padding-bottom: 9px;
}
.text2 {
	font-size: 0.9em;
	line-height: 1.3;
	color: #20579b;
}
.text3 {
	font-size: 93%;
	line-height: 1.5;
	color: #666;
	padding-right: 4px;
	padding-left: 4px;
}
.text4 a {
	text-decoration: none;
}
.text5 {
	font-size: 100%;
	font-weight: bold;
	color: #000;
	line-height: 1.33;
}
.text6 {
	font-size: 80%;
	line-height: 120%;
	color: crimson;
}
.text7 {
	font-size: 80%;
	line-height: 120%;
	color: #5B7100;
}
.text8 {
	font-size: 80%;
	color: #000;
}
.text9 {
	font-size: 80%;
	line-height: 120%;
	color: #FFF;
}
.text10 {
	font-size: 233%;
	color: #FC588C;
}
.president ul li ol {
	padding-left: 20px;
}
.president ul {
	padding-left: 16px;
	font-size: 80%;
	line-height: 133.33%;
	color: #666;
}

.btn2 a {
	line-height: 120%;
	color: #666;
	text-decoration: none;
}
.btn2 a:hover {
	text-decoration: none;
	color: #000;
}
.btn3 a {
	line-height: 120%;
	color: #1E6B99;
	text-decoration: none;
}
.btn3 a:hover {
	text-decoration: none;
	color: #EB1F6C;
}
.news-list-category {
	float: left;
	width: 60%;
	width: auto;
	min-width: 8em;
}
.news-list-search {
	float: right;
	width: auto;
}
.news-list-search-text {
	float: left;
	width: auto;
}
.news-list-search-button {
	float: right;
}
.news-list-category {
	float: left;
}
.news-list-pager {
	text-align: center;
}
.news_list_date {
	width: 3.3em;
	float: left;
	font-size: 0.9em;
	line-height: 1.3;
	color: #20579b;
}
.news_list_title {
	width: 90%;
	width: calc(100% - 4em);
	float: right;
	font-size: 80%;
	line-height: 1.3;
}
.news_list_title a {
	text-decoration: none;
}
.news-col-rank {
	width: 6%;
	text-align: center;
}
.news-col-title {
	width: 58%;
	text-align: left;
}
.news-col-date {
	width: 12%;
	text-align: center;
}
.news-col-popularity {
	width: 5%;
	text-align: center;
}
.news-col-unit {
	width: 19%;
	text-align: center;
}
.news_list_0 a, .news_list_1 a, .news_list_2 a{
	font-size: 1.3em;
	line-height: 1.2em;
	text-decoration: none;
}
.news_list_0 a {
	color: #666;
}
.news_list_0 a:hover {
	color: #000;
}
.news_list_1 a {
	color: #0F62C8;
}
.news_list_1 a:hover {
	color: #1271E7;
}
.news_list_2 a {
	color: #aa0000;
}
.news_list_2 a:hover {
	color: #ee0000;
}

.dot {
	padding-top: 8px;
	background-image: url(images/dot.jpg);
	background-repeat: repeat-x;
	background-position: center;
	padding-bottom: 8px;
}
.news_dot {
	background-image: url(images/dot.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
	padding-top: 4px;
	padding-bottom: 6px;
	padding-right: 4px;
	padding-left: 4px;
}
.news_list_item {
	background-repeat: repeat-x;
	background-position: bottom;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-right: 4px;
	padding-left: 4px;

}
.link-panel {
	display: block;
	column-count: 2;
	column-gap: 5px;
}
.link-panel-item {
	display: inline-block;
	width: 100%;
/*	padding-right: 5px;*/
}
.siteNav_line {
	border: 1px solid #d6ae7b;
}
.siteNav ul{
	list-style-type: none;
	padding-left: 0px;
}
.siteNav a {
	font-size: 1.1em;
	line-height: 1.2em;
	color: #666;
	text-decoration: none;
	background-image: url(images/dot.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
	padding-top: 2px;
	padding-bottom: 2px;
	display: block;
	padding-left: 10px;
	padding-right: 10px;
}
.siteNav a:hover {
	color: #333;
	background-color: #ECECEC;
}
.link_td {
	border: 1px solid #69acd6;
	float: left;
	margin-bottom: 10px;
	margin-right: 8px;
	margin-left: 8px;
}
.photo_td {
	float: left;
	height: 124px;
	width: 165px;
	margin: 4px;
}
.sitemap ul {
	padding-left: 0px;
	list-style-type: none;
}
.sitemap ul li a{
	font-weight: bold;
	color: #000;
	text-decoration: none;
	background-color: #ffffff;
	display: inline;
	padding-left: 14px;
	border: 1px solid #FFF;
	padding-top: 0px;
	padding-bottom: 0px;
	background-image: url(images/iecool_arrow_018.gif);
	background-repeat: no-repeat;
	background-position: 5px;
}
.sitemap ul li a[href]{
	color: #006fa8;
}
.sitemap ul>li>a{
	background-color: #E6E6E6;
}
.sitemap ul li ol {
	font-size: 1em;
	color: #333;
	padding-left: 40px;
	padding-top: 8px;
	padding-bottom: 14px;
	line-height: 1.5;
	display: block;
}
.sitemap ul li ol li ol {
	font-size: 1em;
	color: #808080;
}
.sitemap ul li ol { counter-reset: item }
.sitemap ul li ol li { display: block }

.input {
	font-size: 80%;
	color: #666;
	border: 1px solid #CCC;
	width: 150px;
}

@font-face {
  font-family: 'cwTeXHei';
  font-style: normal;
  font-weight: 500;
  src: url(//fonts.gstatic.com/ea/cwtexhei/v3/cwTeXHei-zhonly.eot);
  src: url(//fonts.gstatic.com/ea/cwtexhei/v3/cwTeXHei-zhonly.eot?#iefix) format('embedded-opentype'),
       url(//fonts.gstatic.com/ea/cwtexhei/v3/cwTeXHei-zhonly.woff2) format('woff2'),
       url(//fonts.gstatic.com/ea/cwtexhei/v3/cwTeXHei-zhonly.woff) format('woff'),
       url(//fonts.gstatic.com/ea/cwtexhei/v3/cwTeXHei-zhonly.ttf) format('truetype');
}
#prize {
	display: none;
	vertical-align: middle;
}
#prize a {
	text-decoration: none;
	display: inline-block;
	vertical-align: middle;
}
#prize img {
	border-style: none;
}
#branding-banner a {
	text-decoration: none;
	display: inline-block;
	vertical-align: middle;
}
#branding-banner img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 20vh;
}
#bannerjs {
	width: 100%;
	background-size: 100% 200px;
	background-repeat: no-repeat;
	margin-right: auto;
	margin-left: auto;
	padding: 0;
	overflow: hidden;
}
#bannerjs img {
	width: 100%;
}
/* for jQuery.cycle module to manipulate */
.cycle_item_wrapper {
	display: none;
	text-align: left;
	position: relative; 
	width: 100%;
	height: 100%;
}

.cycle_item_wrapper img, .cycle_dummy_item img {
	display: block;
}

.cycle_dummy_item {
	display: block; 
	width: 100%;
}

.cycle_item {
	position: relative; 
	width: 100%;
	height: auto;
	background-color: rgba(0,0,0,0.2);
}

.banner_text {
	position: absolute; 
	bottom: 0; 
	padding-left: 5px;
	width: 100%;
	background-color: rgb(0,0,0); /* fallback for IE Compatibility Mode */
	background-color: rgba(0,0,0,0.5);
	font-family: "Noto Sans TC", Arial, "Microsoft JhengHei";
	/*font-weight: bold;*/
	color: white; 
	font-size: 1.6em; 
}

.banner_text  a {
	color: white;
	text-decoration: none;
}

.pub_link_category {
	width: 100%;
	display: inline-block;
	padding: 1px;
	border-radius: 12px;
	background-color: #1a60a5;
	text-align: center;
	font-weight: bold;
	color: white;
	font-size: 120%;
}
.pub_link_category h2{
	padding: 0;
}
.news_center_title {
	width: 100%;
	display: inline-block;
	padding: 2px;
	border-radius: 12px;
	background-color: #1a60a5;
	font-weight: bold;
	color: white;
}
.news_center_title h2 {
	color: white;
	font-size: 120%;
	padding: 0;
}
.news_category, .news_category_selected {
	float: left;
	display: inline-block;
	color: white;
	font-size: 95%;
	margin: 0px 5px 0px 5px;
	text-decoration: none;
}
.news_category_selected {
	border-radius: 7px;
	background-color: white;
	color: #1a60a5;
}
.more_items_link {
	float: left;
	text-align: right;
	padding-right: 8px;
	padding-left: 20px;
	font-weight: normal;
	color: white;
	font-size: 85%;
	text-decoration: none;
}

.recruit_title {
	width: 244px;
	display: inline-block;
	padding: 5px;
	border-radius: 12px;
	background-color: #69acd6;
	font-weight: bold;
	color: white;
	font-size: 120%;
	text-decoration: none;
}

.marquee-container {
	width: auto;
	margin-left: auto;
	margin-right: auto;
}
.marquee a {
	font-family: 'Noto Sans TC', 'Microsoft JhengHei', Arial, Helvetica, sans-serif;
	line-height: 1em;
	font-size: 0.9em;
	font-weight: 300;
	color: darkslategray;
	text-decoration: none;
}
.marquee a:hover {
	text-decoration: none;
	color: crimson;
}
ul.marquee {
	width: 100%;
	height: 22px;
}

.ad-banners {
	text-align: center;
	float: none;
	width: 100%;
	column-count: 2;
	column-gap: 5px;
}
.ad-banners a {
	text-decoration: none;
	font-size: 0;
	color: #20579b;
}
.ad-banners img {
	width: 100%;
	max-width: 150px;
	margin: auto;
	vertical-align: middle; 
	border-width: 0;
	padding-bottom: 5px;
	padding-right: 5px;
}
.accessibility-button, .cycle-button {
	position: absolute; 
	z-index:1000;
	width: 40px; 
	height: 40px; 
	border: 0; 
	opacity: 0.8; 
	padding: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	background-color: transparent;
}
.cycle-button {
	opacity: 0.6; 
}

input[type="image"]:focus {
	background-color: transparent;
	outline: none;
}
body.using_tabbing input[type="image"]:focus {
	background-color: transparent;
	outline: 5px dashed red;
}
body.using_tabbing a:focus {
	outline: 5px dashed red;
}

pre {
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
.menu-switch input{
	background-color: transparent;
	border-style: solid;
	border-radius: 10px;
}
.hidden-for-small-display {
	display: block;
}
.shown-inline-for-small-display {
	display: none;
}
.shown-block-for-small-display {
	display: none;
}
input:focus {
	background-color: crimson;
	border-color: #006fa8;
	color: white;
}
a.skip-to-main {
	clip: rect(1px,1px,1px,1px);
	position: absolute;
	bottom: 0;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: -999;
}
a.skip-to-main:focus {
	clip: auto;
	top: 10px;
	bottom: auto;
	left: 10px;
	width: auto;
	height: auto;
	overflow: auto;
	z-index: 999;
	font-size: 2em;
	font-weight: bold;
	color: red;
	background-color: white;
	outline: 3px solid red!important;
	text-decoration: none;
}

@media (max-width:1440px) {
	#maincontent {
		width: auto;
		max-width: 1000px;
	}
	.left-and-center {
		width: 80%;
	}
	.left-bar {
		width: 24%;
	}
	.center-area {
		width: 75%;
	}
	.right-bar {
		width: 18%;
	}
	.link-panel {
		column-count: 1;
	}
	.link-panel-item {
		width: 100%;
	}
	.ad-banners {
		column-count: 1;
	}
	.top_categories a {
		width: auto;
		min-width: auto;
	}
}
@media (max-width:800px) {
	.center-area {
		float: none;
		width: auto;
	}
	.left-bar {
		float: none;
		width: auto;
	}
	.right-bar {
		float: none;
		width: auto;
	}
	.left-and-center {
		float: none;
		width: auto;
	}
	.accessibility-button, .cycle-button {
		width: 25px;
		height: 25px;
	}
	.top_categories a {
		font-size: 1rem;
	}
	.banner_text {
		font-size: 1.2em;
	}

}
@media (max-width:600px) {
	.banner_text {
		font-size: 0.55em;
	}
	.hidden-for-small-display {
		display: none;
	}
	.shown-inline-for-small-display {
		display: inline;
	}
	.shown-block-for-small-display {
		display: block;
	}
	.menu-bar {
		float: none;
		width: 100%;
		max-width: 100%;
	}
	.content-area {
		float: none;
		width: 100%;
	}
	ul.menu {
		width: 100%;
		text-align: center;
	}
	ul.menu a {
		border-radius: 10px;
		padding: 3px;
	}
	ul.menu li {
		float: left;
		width: auto;
		margin-bottom: 3px;
		margin-right: 5px;
	}
	.branding-right {
		font-size: 0.8rem;
	}
	
}
@media (max-width:379px) {
	.handicap-guide {
		display: none;
	}
}
@media (max-height: 450px) {
	.marquee-container {
		display: none;
	}

	.branding-right  {
		font-size: 0.8rem;
	}
	
	.top_categories a {
		width: auto;
		min-width: auto;
	}

}
@media (max-height: 200px) {
	#prize {
		display: inline-block;
	}
	.marquee-container {
		display: none;
	}
	#bannerjs {
		display: none;
	}
}
