@charset "utf-8";
/*-----------------------for both-----------------------*/
.hidden-content {
	display: none;
	max-width:800px
}
/*-----------------------lightbox-----------------------*/
.lightbox {
	display: none;
	font-family: "Segoe UI", "微軟正黑體", sans-serif;
	border-radius: 15px;
	background:#fff;
	text-align:left;
}
p.address, p.tel, p.time, p.url {
	background-image: url(//www.tibs.org.tw/images/venue.svg);
	background-repeat: no-repeat;
	background-size: 14px 14px;
	background-position: left center;
	padding-left: 22px;
	width: auto;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	margin: 2px 0;
}
p.tel {
	background-image: url(//www.tibs.org.tw/images/tel.svg);
}
p.time {
	background-image: url(//www.tibs.org.tw/images/time.svg);
}
p.url {
	background-image: url(//www.tibs.org.tw/images/link.svg);
}

/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
/*----------info------------*/
.partnerLeft {
	float: left;
}
.partnerRight {
	float: right;
}
/*-----------------------shopList-----------------------*/
#shopList li {
	float: left;
	width: 31.5%;
	margin: 0 2% 2% 0;
	font-size: 14px;
	display: block;
	color: #333;
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
	text-decoration: none;	
}
#shopList li:nth-child(3n) {
	margin-right: 0;
}
#shopList li a {
	
}
#shopList li .rightContent{
	height:275px;
}


#shopList li .left {
	position: relative;
}
#shopList li .left .hoverDesc {
	color: rgba(255,255,255,0);
	background-color: rgba(0, 0, 0, 0);
	background-repeat: no-repeat;
	background-size: 40% auto;
	background-position: center center;
	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
	transition: all 0.3s ease-out;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
}
#shopList li:hover .left .hoverDesc {
}
#shopList li h4 {
	font-size: 19px;
	margin: 10px 0 10px 0;
	overflow: hidden;
	line-height: 130%;
}
#shopList li:hover {
	box-shadow: 0 1px 6px rgba(32, 33, 36, 0.35);
	transition: all 0.3s ease-out;
}
.shopSearch {
	width: 50%;
	margin: 0 auto;
}
/*-----------------lightbox---------------*/
.lightbox {
	padding: 30px;
}
.lightbox div.lightboxL {
	float: left;
	width: 240px;
}
.lightbox div.lightboxR {
	width: auto;
	margin-left: 270px;
}
}

/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
.partnerLeft {
	margin-bottom: 10px;
}
/*-----------------------shopList-----------------------*/
#shopList li {
	margin-bottom: 20px;
	padding: 20px;
	border-radius: 5px;
	box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
	overflow: auto;
}
#shopList li:last-child {
	margin: 0;
}
#shopList li a {
	text-decoration: none;
	
}
#shopList li div.left {

}
#shopList li div.right {
	
}
#shopList li h4 {
	margin: 10px 0 10px 0 ;
}


/*-----------------------lightbox-----------------------*/
.lightbox {
	padding:20px 15px;
	width: 100%;
	overflow:scroll;
}
.lightbox div.lightboxL {
	width: 60%;
	margin: 0 auto 15px auto;
}
}
