﻿p+p { margin-top: 1em; }

p {padding: 0px;}

body { 
	font-family: 'Microsoft JhengHei', 'Arial', 'Helvetica', 'sans-serif';
	font-size: 16px; 
	color: #333;
	width:100%;
	height:100%;
	margin: 0px;
}

hr { }
div { box-sizing: border-box; }
select {
	font-size: 16px;
	color: #666;
	padding: 0px 5px;
	}
textarea {
	width: 90%; min-height: 100px; height: auto; padding:10px; font-size: 16px; margin-left: 20px;
	}

a:link {text-decoration: none;}
.clear { clear: both; }
.clearfix {
  overflow: auto;
}
.clearfix::before {
  content: "";
  clear: both;
  display: table;
}

#skip {
    height: 0px;
    position: absolute;
    top: 0;
    left: 0;
    width: 0px;
    height: 0px;
    overflow: hidden;
}
.mainWrap { width: 100%; height: auto; background: linear-gradient(to bottom, #cecece 1%, #eeeeee 10%, #edf9ff 40%, #def9ff 60%); }

main { position: relative; height: auto; margin: 0 auto; max-width: 1200px; }
strong { font-weight: bold; }

.mainContent { width: 100%; height: auto; background: transparent; padding: 70px 20px 20px 20px; }

@media screen and (max-width: 760px) {
	.mainContent {padding-top: 45px; }
}
#wrapper{
	width: 100%;
	max-width: 1000px;
	margin: 70px auto 20px auto;
	line-height: 24px;
}
#subpageheader {
	padding-bottom: 10px;
	position: relative;
	/* float: left; */
	width: 100%;
	height: auto;
}
.intro {
    background-color: #2e3e4a;
    position: relative;
    float: left;
    width: 100%;
    height: auto;
    font-size: 25px;
    color: #fff;
    padding: 15px;
}
.headertitle {
	font-size: 25px;
	font-weight: bold; 
	width: auto; 
	margin: 10px 0px;
	position: relative;
	float: left;
	letter-spacing: 1px !important;
}
.localNav {
	font-size: 20px;
	font-weight: bold; 
	width: auto; 
	margin: 10px 0px;
	position: relative;
	float: left;
}
#langbutton {
	position: relative;
	float: right;
	margin: 5px;
	text-align: center;
}

#langbutton a {
	display: block;
	color: #fff;
	background-color: #4d91ca;
    padding: 5px 10px;
}

#langbutton a:hover {
	color: #4d91ca;
	background-color: #fff;	
}

#content{
	position: relative;
	float: left;
	width: 100%;
	height: auto;
}
.content { background-color: #FFF; padding: 30px 5% !important; }

.content h2 { font-size: 1.6em; font-weight: bold; margin: 1em 0 1.5em 0; line-height: 1.3em; }
.content h3 { font-size: 1.3em; font-weight: bold; margin: 1em 0 .5em 0; }
.content p { margin: 1em 0; }
.content ul { padding: 20px; list-style-type: disc; }
.content ul li { margin-bottom: .75em; }
.content ul li:last-child { margin-bottom: 0; }
.content a { text-decoration: underline; }
.content a:hover { text-decoration: none; }

/* RACIAL EQUALITY LIST */
.subheader {
	/* float: left;  */
	width: 100%;
	height: auto;
	background-color: #e1e5e9;
	color: #2e3e4a;
	font-size: 20px;
	padding: 15px 20px;
	letter-spacing: 1px !important;
}

.dtable {
	/* float: left; */
	position: relative;
	width: 100%;
	height: auto;
	background-color: #fff;
	padding: 15px;
}
.dtable::after {
	content: "";
	clear: both;
	display: table;
}
.dtable .item {
	float: left;
	width: 33%;
	border-right: 1px solid #ddd;
	padding: 8px;
	position: relative;
	display: block;
	height: auto;
}
.dtable .item .dname {
	float: left;
	display: block;
	width: calc(100% - 40px);
	padding: 5px;
}
.dname a { text-decoration: underline; }
.dname a:hover { text-decoration: none; }
.dtable .item .dlpdf {
	float: left;
	display: block;
	width: 40px;
	text-align: center;
}
.dtable .item .dlpdf a {
	display: block;
}
.dtable .item_en {
	float: left;
	width: 23.8%;
	border-left: 1px solid #ddd;
	margin: 5px;
	position: relative;
	display: block;
	height: auto;
	font-size:13px;
}
.dtable .item_en .dname {
	float: left;
	display: block;
	width: 100%;
	letter-spacing: 0px !important;
}
.dtable .item_en .dlpdf {
	float: left;
	display: block;
	width: 100%;
	margin-left: 10px;
	letter-spacing: 1px !important;
}
.dlpdf img {
    width: 25px;
}

.dlpdf img:hover {
    opacity: 0.8;
}
.eng { letter-spacing: 0 !important; }

/****** cities weather ******/

.cityitem {
	position: relative;
	float: left;
	width: 50%;
	padding: 10px;
	display: block;
	background-color: #fff;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	}
.cityitem2 {
	position: relative;
	float: left;
	width: 50%;
	padding: 10px;
	display: block;
	background-color: #fafafa;
	border-bottom: 1px solid #ddd;
}
.itemframe {
	width: 100%;
}
.ctname {
	position: relative;
	float: left;
	width: 50%;
	display: block;
	text-align: left;
}
.cttemp {
	position: relative;
	float: left;
	width: 25%;
	display: block;
	text-align: center;
}
.ctwf {
	position: relative;
	float: left;
	width: 25%;
	display: block;
	text-align: right;
	}
.cityitem_en {
	position: relative;
	float: left;
	width: 50%;
	padding: 10px;
	display: block;
	background-color: #fff;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	font-size:14px;
	letter-spacing: 0px !important;
}	
.cityitem2_en {
	position: relative;
	float: left;
	width: 50%;
	padding: 10px;
	display: block;
	background-color: #fafafa;
	border-bottom: 1px solid #ddd;
	font-size:14px;
	letter-spacing: 0px !important;
}
.ctname_en {
	position: relative;
	float: left;
	width: 45%;
	display: block;
	text-align: left;
	letter-spacing: 0px !important;
}	
.cttemp_en {
	position: relative;
	float: left;
	width: 19%;
	display: block;
	text-align: center;
	letter-spacing: 0px !important;
}
.ctwf_en {
	position: relative;
	float: left;
	width: 36%;
	display: block;
	text-align: right;
	letter-spacing: 0px !important;
}	

/* RESPONSIVE */
@media screen and (max-width: 1000px) {
	#wrapper {
		margin: 20px auto;
	}
	.dtable .item {
		width: 50%;
	}
	.dtable .item_en {
		width: 31%;
	}
}

@media screen and (max-width: 825px) {
	#wrapper{
		margin: 10px auto;
	}
	
	.cityitem_en {
		font-size: 12px;
	}	
	.cityitem2_en {
		font-size: 12px;
	}
}

@media screen and (max-width: 760px) {

	.dtable .item_en {
		width: 42.5%;
		font-size: 12px;
	}
	.headertitle {
		letter-spacing: 0px !important;
	}
	
	.ctname {
		width: 45%
	}
	.cttemp {
		width: 35%;
	}
	.ctwf{
		width: 20%;	
	}
	.ctname_en {
		width: 46%;
	}
	.cttemp_en {
    	width: 18%;
	}	
	.ctwf_en {
		width: 36%;
	}
}

@media screen and (max-width: 625px) {

	.dtable .item {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #ddd;
	}
	.dtable .item:first-child {
		padding-top: 0;
	}
	.dtable .item:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}
	.dtable .item .dname {
	}
	.dtable .item .dlpdf {
		margin-left: 0px;
	}
	.dtable .item_en {
		width: 47%;
	}	
	.dtable .item_en .dname {
	}
	.dtable .item_en .dlpdf {
		margin-bottom: 10px;
	}
	.cityitem {
		width: 100%;
		font-size:  16px;
		border-right: none;
	}
	.cityitem2 {
		width: 100%;
		font-size:  16px;
	}
	.cityitem_en {
		width: 100%;
		font-size:  14px;
		border-right: none;
	}
	.cityitem2_en {
		width: 100%;
		font-size:  14px;
	}
	
	.ctname {
		width: 40%;
	}
	.cttemp {
    	width: 40%;
	}
	.ctwf{
		width: 20%;
	}
	
	.ctname_en {
		width: 40%;
	}
	.cttemp_en {
    	width: 20%;
	}	
	.ctwf_en {
		width: 40%;
	}
}

/*

@media screen and (max-width: 425px) {
	#wrapper{
		width: 100%;
	}
	
	.dtable {
		border-bottom: none;
	}
	.dtable .item {
		width: 98%;
		border-right: none;
		border-bottom: 1px solid #ddd;
	}
	.dtable .item .dname {
		width: 75%;
	}
	.dtable .item_en {
		width: 98%;
		font-size: 15px;
		border-left: none;
		border-bottom: 1px solid #ddd;
	}

	.ctname_en {
    width: 37%;
	}
	.cttemp_en {
    width: 23%;
	}
	.ctwf_en {
    width: 40%;
	}
}
*/

/* Loader Page Styles */
.content h1 { font-size: 1.5em; text-align: center; line-height: 1.5em; }
.content table { width: 100%; }
.content table P:first-child { margin-top:0; }
.content table P:last-child { margin-bottom:0; }
.content table td { padding: 5px; }
.content table tr td:nth-child(1) { width: calc(25% - 10px); }
.content table tr td:nth-child(2) { width: 20px; text-align: center; }
.content table tr td:nth-child(3) { width: 75%; }