@charset "utf-8";

.product {
	margin: 0 auto;
	width: 100%;
	margin-top: 5px;
	padding-bottom: 20px;
	margin: 0 auto;
	width: 98%;
	margin-top: 5px;
	max-width: 1230px;
	/*border-top: 1px solid #333333;*/

}

/*麵包屑*/
.product-breadcrumb {
	width: max-content;
	margin: 3% 7% 5%;
	letter-spacing: 2px;
	font-weight: bolder;
}

.cellection_sub_menu {
	float: left;
	width: 20%;
	text-align: center;
	margin: 3% auto;
	max-width: 300px;
	min-height: 557px;
}

.cellection_product {
	width: 80%;
	float: left;
	max-width: 1200px;
	padding-left: 3%;
}

.container {
	top: 0px;
	z-index: 1;
	margin-top: -5px;
}

#fx {
	max-width: 100%;
	height: auto;
}

.all-content {
	margin: 0 auto;
	max-width: 1020px;
	margin-top: 3%;
	position: relative;
    z-index: 0;
}

.content {
	margin-top: 0px;
}

.content-middle {
	margin-top: 0px;
}

.sidemenu {
	width: 210px;
}

.sidemenu ul {
	list-style-type: none;
	/* 重設ul邊界與留白為零 */
	padding: 0;
	margin: 0;
	line-height: 45px;
	margin-top: 30px;
}

.sidemenu ul li {
	float: left;
	border-bottom-color: #C6C6C6;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	margin-left: 50px;
}

.sidemenu ul li a {
	/* 將a改為區塊元件，以便指定寬高 */
	display: block;
	width: 180px;
	color: #333333;
	font-size: 13px;
}

.sidemenu ul li a:hover {
	/* 將a改為區塊元件，以便指定寬高 */
	width: 180px;
	color: #CCCCCC;
	cursor: pointer;
	-webkit-transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
	transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.sidemenu ul li a:active {
	/* 將a改為區塊元件，以便指定寬高 */
	width: 180px;
	color: #CCCCCC;
	cursor: pointer;
}

.sidemenu ul li ul {
	clear: left;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 25px;
}

.item {
	position: relative;
	display: inline-block;
}

.item,
.item-hover,
.item-hover .mask,
.item-img,
.item-info {
	width: 250px;
	height: 300px;
}

.item-hover,
.item-hover .mask,
.item-img {
	position: absolute;
	top: 0;
	width: 250px;
}

.item-type-line .item-hover {
	z-index: 100;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
	opacity: 0;
	cursor: pointer;
	display: block;
	text-decoration: none;
	text-align: center;
}

.item-type-line .item-info {
	z-index: 10;
	color: #ffffff;
	display: table-cell;
	vertical-align: middle;
	position: relative;
	z-index: 5;
}

.item-type-line .item-info .headline {
	font-size: 20px;
	margin: 0.5% 0;
}

.item-type-line .item-info .line {
	/*height: 1px;*/
	width: 0%;
	/*margin: 15px auto;*/
	/*background-color: #ffffff;*/
	-webkit-transition: all 500ms ease-out;
	-moz-transition: all 500ms ease-out;
	-o-transition: all 500ms ease-out;
	transition: all 500ms ease-out;

	height: 47px;
	margin: 8px auto;
	border: 2px solid #fff;
	font-size: 2rem;
	padding: 7px 0;

}

.item-type-line .item-info .date {
	font-size: 12px;
}

.item-type-line .item-hover .mask {
	background-color: #808080;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	opacity: 0.9;
	z-index: 0;
}

.item-type-line .item-hover:hover .line {
	width: 60%;
}

.item-type-line .item-hover:hover {
	opacity: 1;
}

.item-img {
	background-color: #FFFFFF;
	z-index: 0;
}
.mobile-id{
	display: none;
}

@media only screen and (max-width:992px) {
	.product {
		margin: 0 auto;
		width: 100%;
		margin-top: 5px;
		padding-bottom: 20px;
		margin: 0 auto;
		width: 98%;
		margin-top: 5px;
	}

	.cellection_sub_menu {
		display: none;
	}

	.cellection_product {
		width: 100%;
		float: none;
		margin: 0 auto;
		padding: 0;
	}
	.mobile-id{
		display: none;
	}
	.product-breadcrumb {
		margin: 3% 7% 7%;
	}
	


}

@media only screen and (min-width:510px) and (max-width:991px) {
	.all-content {
		margin: 0 auto;
		max-width: 510px;
		margin-top: 3%;
	}
	.mobile-id{
		display: none;
	}
}

@media only screen and (max-width:509px) {
	.all-content {
		margin: 0 auto;
		max-width: 100%;
		margin-top: 3%;
	}

	.content {
		display: inline-table;
	}

	.item {
		width: 50%;
		height: 190px;
		margin-bottom: 10%;
	}

	.item-hover {
		width: 100%;
		height: 190px;
	}

	.item-hover .mask {
		width: 100%;
		height: 190px;
		display: none;
	}

	.item-img {
		width: 100%;
		height: 190px;
	}

	.item-type-line {
	}

	.item-info {
		width: 100%;
		height: 190px;
		display: none;
	}
	.item-type-line .item-info .headline {
		display: none;
	}
	.item-type-line .item-info .line {
		display: none;
	}
	.mask{
		display: none;
	}

	.item-img img {
		max-width: 100%;
	}
	.mobile-id{
		display: block;
		text-align: center;

	}
}