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

body {
	margin: 0;
	padding: 0;
	font-family:"微軟正黑體", "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
* {
	box-sizing: border-box;
}
img {
	border: none;
}
ul, li {
	padding: 0;
	margin: 0;
	list-style-type: none;
}
header > .contentarea {
	background-image: url(../img/header.jpg);
	background-repeat: no-repeat;
	background-size: 100%;
}
header, nav, section, footer{
	width: 100%;
	
	float: left;
}
nav {
	background-color: #00A0E9;
}
.contentarea {
	width: 100%;
	margin: 0 auto;
	max-width: 1000px;
	position: relative;
}
.contentarea2 {
	width: 100%;
	margin: 0 auto;
	position: relative;
}
@media screen and (max-width: 768px) {
	.contentarea {
		padding: 0 2.5%;
	}
	nav .contentarea {
		padding: 0;
	}
	header > .contentarea {
		background-image: url(../img/header.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center center;
		padding: 2.5%;
	}
}
.ellipsis {
	overflow:hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
/*header區塊*/
.logo {
	padding: 20px 0;
	width:90%;
	max-width:300px;
	line-height: 0;
	margin: 0 auto;
}
.logo img {
	width: 100%;
}
.logo span {
	display: inline-block;
	text-align: right;
	color: #FFF;
	width: 100%;
	font-weight: 200;
	padding: 0 1em 0 0;
    font-size: 80%;
}
.search {
	width: 90%;
	max-width: 250px;
	position: absolute;
    right: 2%;
    bottom: 10%;
	text-align: right;
}
.search .bar {
	appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
	background-color: #00A0E9;
	border-radius: 5px;
	font-size: 100%;
	border: none;
	padding: 0.5em 0.7em;
	color: #FFF;
	vertical-align: middle;
}
.search input[type=submit] {
	appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
	background-color: transparent;
	border: none;
	background-image: url(../img/searchbtn.png);
	background-size: 80% 80%;
	background-repeat: no-repeat;
	background-position: center center;
	color: rgba(255,255,255,0);
	width: 2em;
	height: 2em;
	vertical-align: middle;
	position: absolute;
    right: 6px;
    bottom: 6px;
}
.bar::-webkit-input-placeholder { 
	color: #FFF;
	opacity: 0.9;
}
.bar:-moz-placeholder { 
	color: #FFF;
	opacity: 0.9;
}
.bar::-moz-placeholder { 
	color: #FFF;
	opacity: 0.9;
}
.bar:-ms-input-placeholder { 
	color: #FFF;
	opacity: 0.9;
}
@media screen and (max-width: 768px) {
	.search {
		max-width: 300px;
		position: relative;
		right: 0;
		bottom: 0;
		text-align: center;
		margin: 0 auto;
	}
	.search .bar {
		width: 100%;
	}
	.logo {
		padding: 15px 5%;
		max-width: 300px;
		margin: 0;
	}
}

/*nav選單區塊*/
ul.menu {
	width: 100%;
	float: left;
	/*background-color: #006689;*/
	line-height: 0;
}
ul.menu li {
	display: block;
	float: left;
	width: calc(100% / 7);
}
ul.menu li a {
	text-decoration: none;
	color: #FFF;
	display: block;
	text-align: center;
	padding: 0.7em 0;
	background-color: #00A0E9;
	font-size: 100%;
}
ul.menu li a:hover, ul.menu li.choice a {
	background-color: #006689;
}
ul.menu li a span.en {
	display: none;
}
ul.menu li a span {
	display: block;
	line-height: 1.3;
}
ul.menu li a:hover span {
	display: none;
}
ul.menu li a:hover span.en{
	display: block;
	line-height: 1.3;
}
ul.tabs img {
	display: none;
}
@media screen and (max-width: 768px) {
	ul.menu {
		margin: 0;
		display: none;
		position: fixed;
		z-index: 100;
		top: 0;
	}
	ul.menu li {
		width: 100%;
	}
	ul.menu li a span.en {
		display: inline-block;
		margin-left: 1em;
	}
	ul.menu li a span, ul.menu li a:hover span, ul.menu li a:hover span.en {
		display: inline-block;
	}
}

.toggle {
	display: none;
}
@media screen and (max-width: 768px) {
	.toggle {
		position: fixed;
		right: 0%;
		top:0%;
		display: block;
		z-index: 1000;
	}
	.toggle p {
		width: 38px;
		height: 38px;
		padding: 4px;
		position: relative;
		margin: 1em;
		background-color: #FFF;
		border-radius: 5px;
	}
	.toggle span.top {
		width: 30px;
		height: 2px; 
		background-color: #000;
		display: block;
		position: absolute;
		top: 6px;
		transition: all 0.1s linear;
	}
	.toggle span.mid {
		width: 30px;
		height: 2px; 
		background-color: #000;
		display: block;
		position: absolute;
		top: 18px;
	}
	.toggle span.bottom {
		width: 30px;
		height: 2px; 
		background-color: #000;
		display: block;
		position: absolute;
		bottom: 6px;
		transition: all 0.1s linear;
	}
	.toggle.active p {
		background-color: transparent;
	}
	.toggle.active span.top {
		width: 40px;
		height: 2px; 
		background-color: #FFF;
		display: block;
		position: absolute;
		top: 18px;
		left: 0;
		transform: rotate(45deg);
		transition: all 0.1s linear;
	}
	.toggle.active span.mid {
		display: none;
	}
	.toggle.active span.bottom {
		width: 40px;
		height: 2px; 
		background-color: #FFF;
		display: block;
		position: absolute;
		bottom: 18px;
		left: 0;
		transform: rotate(-45deg);
		transition: all 0.1s linear;
	}
}






/*首頁大圖區*/
.indexmainshow {
	width: 100%;
	float: left;
	margin: 0;
}
.tabscontent {
	width: 70%;
	float: left;
}
.indeximg {
	width: 100%;
}
.indeximg img {
	width: 100%;
}
ul.tabs {
	width: 30%;
	float: left;
	line-height: 1;
	height: 480px;
	background-color: #DEF0F2;
}
ul.tabs li {
	width: 100%;
	float: left;
}
ul.tabs li a {
	display: block;
	padding: 40px 2em;
	text-decoration: none;
	background-color: #DEF0F2;
	line-height: 1;
	color: #000;
	max-height: calc(40px * 2 + 1em);
}
ul.tabs li a:hover, ul.tabs li.active a {
	background-color: #00A0E9;
	color: #FFF;
}
@media screen and (max-width: 768px) {
	.indexmainshow {
		margin: 15px 0;
	}
	.tabscontent {
		width: 100%;
	}
	ul.tabs {
		width: 100%;
		max-height: 70px;
		background-color: transparent;
	}
	ul.tabs li {
		width: calc(100% / 5);
		height: calc(100vw / 5);
	}
	ul.tabs li a {
		padding: 0;
		margin: 0;
		line-height: 0;
	}
	ul.tabs img {
		display: inline-block;
		width: 100%;
	}
	ul.tabs span {
		display: none;
	}
}



/*首頁廣告區*/
.adarea {
	width: 100%;
	float: left;
}
ul.adcontent {
	float: left;
	width: 100%;
}
.newscontentR ul.adcontent {
	padding: 0 0% 0 5%;
}
.newscontentR ul.adcontent li {
	width: calc(100%);
	float: left;
	padding: 3%;
}
.newsimg {
	width: 100%;
	float: left;
	margin: 1em 0 2em 0;
	text-align: center;
}
.newsimg img {
	width: 85%;
}
ul.adcontent li {
	width: calc(100% / 3);
	float: left;
	padding: 1%;
}
ul.adcontent li a {
	display: block;
	line-height: 0;
}
ul.adcontent li a:hover {
	outline: 4px solid #666;
}
ul.adcontent li a img {
	width: 100%;
}
a.backtonews {
	display: inline-block;
	width: auto;
	padding: 0.5em 0.7em;
	text-align: center;
	border-radius: 5px;
	background-color: #00A0E9;
	color: #FFF;
	text-decoration: none;
	margin: 0 auto;
}



@media screen and (max-width: 768px) {
	ul.adcontent li{
		width: calc(100% / 2);
	}
	.newsimg img {
		max-width: 100%;
		width: inherit;
	}
}

/*首頁新聞區*/
.hotnews {
	margin: 2em 0 0 0;
}
.hotnews, .hottitle, .more, .newstitle, .album, .about, .contact {
	width: 100%;
	float: left;
}
.about {
	padding: 0 10px;
}
.hottitle h3 {
	width: 100%;
	float: left;
	text-align: center;
	position: relative;
	margin: 0;
}
.newstitle h3 {
	width: 100%;
	float: left;
	text-align: left;
	position: relative;
	margin: 0;
}
.newstitle h3 span.title {
	padding: 10px;
	background-color: #FFF;
	font-size: 130%;
	font-weight: 300;
	color: #00A0E9;
	display: inline-block;
	margin:1em 0 0 0;
	line-height: 0;
}
.hottitle h3 span.title {
	padding: 10px;
	background-color: #FFF;
	font-size: 130%;
	font-weight: 300;
	color: #00A0E9;
	display: inline-block;
	
}
.newstitle h3 span.datetime {
	font-weight: 200;
	color: #00A0E9;
	display: inline-block;
	font-size: 90%;
	position: absolute;
    right: 0;
    bottom: 1em;
}
.newstitle h3 span.line {
	width: 100%;
	height: 2px;
	background-color: #00A0E9;
	display: inline-block;
	left: 0;
	z-index: -1;
}
.hottitle h3 span.line {
	width: 100%;
	height: 2px;
	background-color: #00A0E9;
	display: inline-block;
	position: absolute;
	top: 1.5em;
	left: 0;
	z-index: -1;
}
.newstitle h3 + p {
	float: right;
	margin: 0;
}
ul.hotnewslist {
	float: left;
	width: 100%;
}

ul.hotnewslist li {
	width: calc(100% / 3);
	float: left;
	padding: 1%;
	cursor: pointer;
	position: relative;
}
ul.hotnewslist li > span {
	position: absolute;
    display: inline-block;
    padding: 1.5% 2.5%;
    background: #00A0E9;
    right: 7%;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    color: #FFF;
}
ul.hotnewslist li:hover > span {
	background-color:#006689;
}
ul.hotnewslist li a {
	text-decoration: none;
	color: #FFF;
	display: block;
	padding: 2%;
	background-color: #00A0E9;
	
}
ul.hotnewslist li a:hover {
	background-color:#006689;
}
ul.hotnewslist li a p {
	margin: 0;
	overflow:hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	min-height: 1.4em;
}
ul.hotnewslist li a img, .hottitleimg img {
	width: 100%;
}
.more {
	text-align: center;
	margin: 1em 0;
}
.more a {
	padding: 0.5em 0.7em;
	border-radius: 5px;
	border:2px solid #00A0E9;
	display: inline-block;
	color: #00A0E9;
	text-decoration: none;
}
.more a:hover {
	background-color: #00A0E9;
	color: #FFF;
}
.newstext {
	width: 100%;
	float: left;
	padding: 0 10px;
}
.newstext img {
	max-width: 100%;
}

@media screen and (max-width: 768px) {
	ul.hotnewslist li {
		width: calc(100% / 2);
	}
	.hotnews:first-of-type {
		margin: 0;
	}
	.newstitle h3 span.title {
		line-height: 1.5;
		padding: 0;
	}
	.newstitle h3 span.datetime {
		position: inherit;
		float: right;
		bottom: inherit;
	}
	.newstext p {
		text-align: justify;
	}
	.newstext img {
		max-width: 100%;
	}
}







/*新聞頁面*/
.newscontentL {
	width: 70%;
	float: left;
}
.newscontentR {
	width: 30%;
	float: left;
}
ul.newslist {
	width: 100%;
	float: left;
	padding: 15px 0;
}
ul.newslist li {
	float: left;
	width: 100%;
	border-bottom: 2px solid #00A0E9;
	padding: 1em 0;
	
}
ul.newslist li a {
	display: block;
	text-decoration: none;
	color: #000;
}

ul.newslist li a img {
	width: 25%;
	float: left;
	padding: 0 15px 0 0;
	display: inline-block;
}
ul.newslist li a span {
	width: 75%;
	float: left;
	display: inline-block;
}
ul.newslist li a span.title {
	font-size: 120%;
}
ul.newslist li .text {
	color: #666;
	max-height: 100px;
	overflow: hidden;
}
ul.newslist li a span.date {
	color: #666;
}
ul.newslist li p img {
	display: none;
}
ul.newslist li p a {
	display: none;
}
.newsnav {
	width: 100%;
	text-align: center;
	padding: 1em 0;
}
.newsnav a {
	font-size: 100%;
	text-decoration: none;
	color: #00A0E9;
	cursor: pointer;
}
.newsnav button {
	display: inline-block;
	margin: 0 0.5em;
	border: 2px solid #00A0E9;
	padding: 0.5em 0.7em;
	appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
	background-color: transparent;
	color: #00A0E9;
	font-size: 100%;
	border-radius: 5px;
	cursor: pointer;
}
.newsnav button:hover {
	background-color: #00A0E9;
	color: #FFF;
}
@media screen and (max-width: 768px) {
	.newscontentL {
		width: 100%;
	}
	.newscontentR {
		width: 100%;
	}
	.newscontentR ul.adcontent {
		padding: 0;
	}
	.newscontentR ul.adcontent li, #search .newscontentR ul.adcontent li {
		width: calc(100% / 2)!important;
	}
}


/*聯絡我們*/
.contactL {
	width: 50%;
	float: left;
	padding: 2em 5% 0 0;
}
.contactR {
	float: right;
	width: 50%;
	padding: 2em 5% 0 0;
}
.contactL .form-group {
	width: 100%;
	float: left;
	margin: 0.5em 0;
}
.contactL .form-group label {
	display: block;
	width: 100%;
	margin: 0 0 0.5em 0;
	color: #00A0E9;
}
.form-group label span {
	color: red;
	font-size: 80%;
	display: inline-block;
	margin-left: 0.5em;
}
.contactL .form-group input[type=text] {
	display: block;
	appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
	padding: 0.5em;
	font-size: 100%;
	color: #00A0E9;
	border: 1px solid #00A0E9;
	border-radius: 5px;
	width: 100%;
}
.contactL .form-group input[type=text]::-webkit-input-placeholder {
	color: #00A0E9;
}
.contactL .form-group textarea {
	display: block;
	appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
	padding: 0.5em;
	font-size: 100%;
	color: #00A0E9;
	border: 1px solid #00A0E9;
	border-radius: 5px;
	width: 100%;
	resize: none;
}
.contactL .form-group textarea::-webkit-input-placeholder {
	color: #00A0E9;
}
.contactL .form-group input[type=submit] {
	display: block;
	appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
	padding: 0.5em 1em;
	font-size: 100%;
	color: #00A0E9;
	border: 1px solid #00A0E9;
	border-radius: 5px;
	width:auto;
	background-color: transparent;
}
.contactL .form-group input[type=submit]:hover {
	background-color: #00A0E9;
	color: #FFF;
}
.contactR p, .contactR p a {
	color: #00A0E9;
	font-size: 100%;
	text-decoration: none;
}
.contactR p a:hover {
	color: #333;
}
.contact {
	padding: 0 10px;
}
@media screen and (max-width: 768px) {
	.contactL, .contactR {
		width: 100%;
		float: left;
		padding: 0;
	}
}



/*頁腳資訊*/
p.footercontent {
	margin: 2em 0 1em;
	text-align: center;
	color: #00A0E9;
}
p.footercontent a {
	color: #00A0E9;
	text-decoration: none;
}
p.footercontent a:hover {
	color: #006689;
}
