/*
 * w375 - foolu iweb51-style02
 * http://www.foolu.com.tw/
 *
 * Copyright 2015, Evelyn Wang
 * 
 * 
 * January 2015
 */
 
 
/* +index-item
*----------------------------------------------------------------------------*/
.wrapper #index-item {
	background: #fff;
	overflow: hidden;
	position: relative;
	z-index: 50;
}

/**
*
* =title
*
**/
.wrapper #index-item h2 {
	padding: 100px 0 20px;
	background:url(../../images/02/index/bg-adWrap.jpg);
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.wrapper #index-item h2 span {
	margin: 0 auto;
	width: 280px;
	display: block;
	text-align: center;
	font-size: 30px;
	color: #444444;
}

/**
*
* =god-list
*
**/
.wrapper #index-item .god-list {
	margin: 15px;
}

.wrapper #index-item .god-list ul ,
.wrapper #index-item .god-list ul li {
	overflow: hidden;
}

.wrapper #index-item .god-list ul li article {
	margin: 20px 15px;
}

.wrapper #index-item .god-list ul li article h2 {
	margin: 40px 0 20px;
	padding: 0 0 25px;
	height: auto;
	background: url(../../images/02/index/bg-godName.jpg) no-repeat center bottom;
	
	text-align: center;
	font-size: 16px;
	font-weight: bold;
}

.wrapper #index-item .god-list ul li article p {
	text-align: center;
	line-height: 180%;
	color: #6f6f6f;
}

.wrapper #index-item .god-list ul li article a.photo {
	width: 100%;
	height: 270px;
	display: block;
	overflow: hidden;
}

.wrapper #index-item .god-list ul li article a.photo img {
	width: 100%;
}


/* +function-item
*----------------------------------------------------------------------------*/
.wrapper #function-item {
	padding: 20px 0;
	background: url(../../images/02/index/bg-indexItem1.jpg) no-repeat center bottom;
	overflow: hidden;
	position: relative;
	z-index: 50;
}

.wrapper #function-item section {
	margin: 0 15px;
}

/**
*
* =latest-news 
*
**/
.wrapper #function-item section #latest-news {
	margin: 0 0 20px;
}

.wrapper #function-item section #latest-news h2 {
	margin: 0 0 25px;
	font-size: 25px;
}

.wrapper #function-item section #latest-news .newsWrap {
	width: 100% !important;
	height: 510px !important;
	overflow: hidden;
	position: relative;
}

.wrapper #function-item section #latest-news .newsWrap ul {
	height: 510px;
}

.wrapper #function-item section #latest-news .newsWrap ul li {
	margin: 0 0 20px;
	padding: 0 0 20px;
	border-bottom: 1px #8FBC8F solid;
	overflow: hidden;
}

.wrapper #function-item section #latest-news .newsWrap ul li .photo {
	display: none;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info {
	overflow: hidden;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info h3 {
	margin: 0 0 15px;
	line-height: 170%;
	font-size: 18px;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info h3 a {
	color: #006400;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info p {
	line-height: 170%;
	font-size: 12px;
	color: #797979;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info p.more {
	margin: 15px 0 0;
	overflow: hidden;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info p.more a {
	padding: 3px 8px;
	border: 1px #8FBC8F solid;
	display: inline-block;
	color: #8FBC8F;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info p.more a:hover {
	background: #ab9467;
	color: #fff;
}


.wrapper #function-item section .function-wrap {
	margin: 0 0 20px;
}

/**
*
* =fb-wrap
*
**/
.wrapper #function-item section .function-wrap #fb-wrap {
	margin: 0 0 20px;
}

.wrapper #function-item section .function-wrap #fb-wrap .fb_iframe_widget {
	display: block;
}
.wrapper #function-item section .function-wrap #fb-wrap .fb-like-box ,
.wrapper #function-item section .function-wrap #fb-wrap span ,
.wrapper #function-item section .function-wrap #fb-wrap iframe {
	width: 100% !important;
}

/**
*
* =g-map
*
**/
.wrapper #function-item section .function-wrap #g-map iframe {
	width: 100% !important;
	height: 320px;
}


/* +ad-wrap
*----------------------------------------------------------------------------*/
.wrapper #ad-wrap {
	padding: 0 0 25px;
	background: #fff;
	overflow: hidden;
	position: relative;
	z-index: 50;
}

/**
*
* =title
*
**/
.wrapper #ad-wrap h2 {
	padding: 65px 0;
	background: #4D667F;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.wrapper #ad-wrap section {
	margin: 0 15px;
}

/**
*
* =ad-list
*
**/
.wrapper #ad-wrap section #ad-list {
	margin: 25px 0 0;
	width: 100% !important;
	height: 140px !important;
	overflow: hidden;
	position: relative;
}

.wrapper #ad-wrap section #ad-list ul {
	height: 140px !important;
	overflow: hidden;
}

.wrapper #ad-wrap section #ad-list ul li {
	margin: 0 auto;
	width: 275px !important;
	height: 140px !important;
}


/**********適應性**********/
/************************/
@media only screen and (min-width : 480px) {
	.wrapper #index-item .god-list ul li {
		margin: 0 auto;
		width: 390px;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ,
	.wrapper #function-item section #latest-news .newsWrap ul {
		height: 480px !important;
	}
}

@media only screen and (min-width : 640px) {
	.wrapper #function-item section #latest-news .newsWrap ,
	.wrapper #function-item section #latest-news .newsWrap ul {
		height: 410px !important;
	}
	
	.wrapper #ad-wrap section #ad-list ul li {
		margin: 0 10px;
		float: left;
	}
}

@media only screen and (min-width : 768px) {
	.wrapper #function-item section #latest-news .newsWrap ,
	.wrapper #function-item section #latest-news .newsWrap ul {
		height: 370px !important;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ul li a.photo {
		margin: 0 10px 0 0;
		width: 150px;
		height: 150px;
		display: block;
		float: left;
		overflow: hidden;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ul li a.photo img {
		width: 100%;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ul li .info h3 {
		margin: 0 0 5px;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ul li .info p.more {
		margin: 5px 0 0;
	}
	
	.wrapper #function-item section .function-wrap #fb-wrap .fb-like-box {
		height: 271px !important;
	}
	
	.wrapper #ad-wrap section #ad-list {
		margin: 25px auto 0;
		width: 590px !important;
	}
}

@media only screen and (min-width : 1024px) {
	.wrapper #index-item h2 span {
		padding: 0 0 45px;
	}
	
	.wrapper #index-item .god-list {
		margin: 15px auto;
		width: 960px;
	}
	
	.wrapper #index-item .god-list ul li {
		margin: 0;
		width: 478px;
		float: left;
		visibility: visible;
	}
	
	.wrapper #index-item .god-list ul li article a.photo {
		height: 400px;
		width:500px
	}
	
	.wrapper #function-item section {
		margin: 0 auto;
		width: 960px;
		overflow: hidden;
	}
	
	.wrapper #function-item section #latest-news {
		width: 528px;
		float: left;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ,
	.wrapper #function-item section #latest-news .newsWrap ul {
		height: 690px !important;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ul li .info h3 {
		margin: 0 0 10px;
		overflow: hidden;
		font-size: 16px;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ul li .info p {
		height: 80px;
		overflow: hidden;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ul li .info p.more {
		margin: 10px 0 0;
		height: 28px;
	}
	
	.wrapper #function-item section .function-wrap {
		margin: 0;
		padding: 55px 0 0;
		width: 365px;
		float: right;
	}
	
	.wrapper #function-item section .function-wrap #fb-wrap .fb-like-box {
		height: 330px !important;
	}
	
	.wrapper #function-item section .function-wrap #g-map iframe {
		height: 400px;
	}
	
	.wrapper #ad-wrap section {
		margin: 0 auto;
		width: 960px;
	}
	
	.wrapper #ad-wrap section #ad-list {
		width: 957px !important;
	}
	
	.wrapper #ad-wrap section #ad-list ul li {
		margin: 0 22px;
	}
}

@media only screen and (min-width : 1280px) {
	.wrapper #index-item .god-list ,
	.wrapper #function-item section ,
	.wrapper #ad-wrap section {
		width: 1200px;
	}
	
	.wrapper #index-item .god-list ul li {
		width: 590px;
	}
	
	.wrapper #function-item section #latest-news {
		width: 660px;
	}
	
	.wrapper #function-item section .function-wrap {
		width: 456px;
	}
	
	.wrapper #function-item section .function-wrap #fb-wrap .fb-like-box {
		height: 290px !important;
	}
	
	.wrapper #function-item section .function-wrap #g-map iframe {
		height: 430px;
	}
	
	.wrapper #ad-wrap section #ad-list {
		width: 1196px !important;
	}
	
	.wrapper #ad-wrap section #ad-list ul li {
		margin: 0 12px;
	}
}