
/*----------------------------
	Thumbnails
-----------------------------*/

.thumbs{
	margin-top: 40px;
	text-align: left;
}

.thumbs a{
	width: 300px;
	height: 244px;
	display: inline-block;
	border: 1px solid #303030;
	box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	border-radius: 4px;
	margin: 6px 6px 40px;
	position: relative;
	text-decoration: none;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
}

.thumbs a:after{
	bottom: -250px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	color: #FFFFFF;
	content: attr(title);
	display: inline-block;
	font-size: 18px;
	overflow: hidden;
	padding: 2px 10px;
	position: relative;
	white-space: nowrap;
	width: 300px;
	text-align: center;
}

#credit{
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	font-size: 11px;
	margin: 0 auto 70px;
	opacity: 0.5;
	padding: 12px 16px;
	text-align: center;
	width: 400px;
}




@media screen and (max-width: 960px) {
	.thumbs, #credit{
		width:auto;
	}
	
}

	

/*IPAD直式* 800px以下(包含800px)*/
@media only screen and (max-width: 800px) {

.thumbs a{
	width: 235px;
	height: 191px;
	display: inline-block;
	border: 1px solid #303030;
	box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	border-radius: 4px;
	margin: 6px 6px 40px;
	position: relative;
	text-decoration: none;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
}

.thumbs a:after{
	bottom: -195px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	color: #FFFFFF;
	content: attr(title);
	display: inline-block;
	font-size: 18px;
	overflow: hidden;
	padding: 2px 10px;
	position: relative;
	white-space: nowrap;
	width: 235px;
	text-align: center;
}


/*手機板--橫式* 759px以下(包含759px)*/	
@media only screen and (max-width: 759px){
	
	
.thumbs a{
	width: 222px;
	height: 163px;
	display: inline-block;
	border: 1px solid #303030;
	box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	border-radius: 4px;
	margin: 6px 6px 40px;
	position: relative;
	text-decoration: none;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
}

.thumbs a:after{
	bottom: -165px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	color: #FFFFFF;
	content: attr(title);
	display: inline-block;
	font-size: 18px;
	overflow: hidden;
	padding: 2px 10px;
	position: relative;
	white-space: nowrap;
	width: 222px;
	text-align: center;
}

	
	
	
/*手機板-直式* 460px以下(包含460px)*/
@media only screen and (max-width: 460px) {

.thumbs{
	margin-top: 40px;
	text-align: left;
	width: 300px;
	margin-left: auto;
	margin-right: auto;
}
	
	
.thumbs a{
	width: 300px;
	height: 244px;
	display: inline-block;
	border: 1px solid #303030;
	box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	border-radius: 4px;
	margin: 6px 6px 40px;
	position: relative;
	text-decoration: none;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
}

.thumbs a:after{
	bottom: -250px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	color: #FFFFFF;
	content: attr(title);
	display: inline-block;
	font-size: 18px;
	overflow: hidden;
	padding: 2px 10px;
	position: relative;
	white-space: nowrap;
	width: 300px;
	text-align: center;
}
}