@charset "utf-8";
/* CSS Document */

*{
	box-sizing: border-box;
}

/* reset format to base*/
html, body, div, span, h1, h2, p, a, ul, li, footer, header, section{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
a {
color: #336699;
	text-decoration: underline;
}

body{
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 150%;
	color: #666;
}

.container{
	max-width: 800px;
	padding: 10px;
	margin:0 auto;
}

#header{
	background-color: #FFFFFF;
	padding: 10px 0;
	text-align: center
}
#header .container{
	display: flex;
	justify-content: center;
}

#header .logo{
	justify-content: center;
	margin-top: 10px;
	width: 80%;
}

#main{}

#banner{
	height: 350px;
	background-position: center;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
}

#banner .box{
	width: 100%;
	height: 300px;
	background-color: rgba(0, 0, 0, 0.2);
	position: relative;
}
#banner .heading{
	text-shadow: 2px 2px 4px #000;
	width: 800px;
	padding: 0px 10px;
	position: absolute;
}

#banner .header{
	color:#FFF;
	font-size: 32px;
	font-weight: bold;
}

#banner .subhead{
	color:#FFF;
	font-size: 16px;
	font-weight: bold;
}

#banner .address{
	color:#FFF;
	font-size: 16px;
	font-weight: bold;
}

/*introduction message*/
.message{}

.message .container{
	padding: 20px 10px;
}

.message ul, li{
	list-style-type: disc;
	margin: 0 0 0 20px;
	background-color: #ffffff;
	font-weight: bold;
	color: #1D4F91;
	padding: 5px 0px
}

.message a{
	color: #41b6e6;
}

.message h2{
	color:#1D4F91;
	font-size: 21px;
	font-weight: bold;
	line-height: 150%;
}




/*trademark clause*/
#footer{
	text-align: center;
	background-color: #EEE;
	color:#999;
	font-size: 10px;
	line-height: 12px;
	padding: 10px 0;
	width: 100%;
	position: fixed;
	bottom: 0;
}

/*submit button*/
.button{
	width: 160px;
	height: 30px;
	background-color: #41b6e6;
	border: none;
	border-radius: 15px;
	
	text-align: center;
	color: #FFF;
	font-size: 16px;
	font-weight: bold;
	
	-webkit-appearance: none;  /* Safari 和 Chrome，常用於iOS下移除內建樣式 */
    -moz-appearance: none;     /* FireFox */
    appearance: none;
}


@media (max-width:800px){
	#banner .heading{
		width: 100%;
	}
}
	
@media (max-width:560px){
	img.sponsor1 {
	   width:80%;
	   height: auto;
	}
	
	img.sponsor2 {
	   width:60%;
	   height: auto;
	}
	img.sponsor3 {
	   width:90%;
	   height: auto;
	}
	img.sponsor4 {
	   width:90%;
	   height: auto;
	}
	img.sponsor5 {
	   width:80%;
	   height: auto;
	}
	img.sponsor6 {
	   width:60%;
	   height: auto;
	}
	img.sponsor7 {
	   width:95%;
	   height: auto;
	}
	img.sponsor8 {
	   width:95%;
	   height: auto;
	}
	
	body,ul,li,a {
		font-size: 14px;
	}

	.container{
		width: 100%;
		padding: 0 10px;
	}
	
	#banner .heading{
		padding: 0px 15px;

	}
	#header .container{
		display: block;
	}

	#header .logo{
		width: 40%;
	}

	#banner{
		height: 320px;
	}


	.message .container{
	padding: 10px 10px;
	}
	
	.message ul, li{
	margin: 0 0 0 10px;
	}
}