/*+190627*/

.image-stacked span {
    padding: 5px;
	line-height: 14px;
    *padding-bottom: 0px;
}
.image-stacked span .note-end > span {
    padding: 5px 0px;
}
.image-stacked .thumbnails {
    width: 100%;
    display: inline-block;
}
.image-stacked .thumbnails.activity, .image-stacked .thumbnails.tour {
    border: 1px solid #ddd;
}
.image-stacked .thumbnails img {
    max-width: 100%;
}
.image-stacked .wrap {
    background:#000;
    position: relative;
}
.image-stacked .wrap:after {
    padding-top: 133.33333333%;
    content: "";
    display: block;
}
.image-stacked .wrap > img {
    position:absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    margin:auto;
    *max-width: 100%;
}
.image-stacked .data {
    *margin: 5px;
    padding: 5px 10px;
    height: 90px; /*95*/
    font-size: 14px;
    color: #555;
    line-height: 18px;
    font-weight: 500;
    *font-family: inherit;
    letter-spacing: 1px;
}
.image-stacked .tour .data {
    height: 50px !important;
}
.image-stacked a:hover .data {
    color: #000;
}
.image-stacked .data div {
    font-size: 14px;
    font-weight: 500;
}
.image-stacked .data div.date {
    padding-bottom: 5px;
    font-size: 13px;
    font-weight: normal;
	color: #555;
}
.image-stacked .note-end {
    width: 100%;
    position: absolute;
    padding: 5px 0px;
    bottom: 0;
    color: #FFF;
    font-size: 14px;
	line-height: 18px;
    text-align: center;
    font-weight: 300;
    background: rgba(240,30,30,0.65);
}
.image-stacked .multi_ellipsis {
        word-wrap: break-word; 
}
/*
.image-stacked .multi_ellipsis {
    max-height: 45px; /*解決firefox不支援-webkit-line-clamp的問題 line-height*N */
}
/*[diane]190627 改用JS判斷，因為在firefox無法出現...
.image-stacked a .multi_ellipsis {
    overflow: hidden;
    width: 100%;
    display: -webkit-box;
    *text-overflow: ellipsis; 
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    max-height: 39px; //解決firefox不支援-webkit-line-clamp的問題 line-height*N
}
.image-stacked a:hover .multi_ellipsis {
    z-index: 9999;
    position: absolute;
    overflow: visible !important;
    -webkit-line-clamp: 20;
    width: calc( 100% + 2px );
    max-height: calc( 100% + 10px );
    margin: 0px -1px 0px -11px;
    padding: 0px 10px;
    background: #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
*/

@media (max-width: 767px) {
	.image-stacked .data {
		height: 125px; /*140px*/
	}
	.image-stacked .data div {
		font-size: 15px;
        line-height: 20px;
	}
    .image-stacked .note-end { 
		font-size:12px;
		padding: 3px 0;
    }
}
@media (max-width: 414px) {
	.image-stacked .data {
		height: 120px;
	}
}
@media (max-width: 410px) {
	.image-stacked .data {
		height: 100px;
	}
}
@media (max-width: 320px) {
	.image-stacked .data {
		height: 90px;
	}
}
