@charset "utf-8";
/* CSS Document */
#container {
	width: 726px;
	height: auto;
	float: right;
	margin: 0px 0px 0px 0px;
	letter-spacing: 1px;
	line-height: 20px;
	text-align: justify;
	text-justify: inter-ideograph;
	
}
/*-照片列表-----------------------------------------*/
#list {
	width: 100%;
	height: auto;
	float:left;
}
#list .photoframe {
	height: 201px;
	width: 222px;
	float: left;
	margin: 0px 20px 10px 0px;
	padding: 0px 0px 0px 0px;
	background-image: url(bg.jpg);
	
}
#list .center {
	height: auto;
	width: 457px;
	float: right;
	margin-right:10px;
	
	
	}
#list .txt {
	height: 70px;
	width: 100%;
	padding: 10px 0px 0px 0px;
	color: #AAAAAA;
	text-align: left;
	font-size: 12px;
	float: left;
	letter-spacing: 2px;
	line-height: 18px;
}
#list .photo {
	height: 158px;
	width: 210px;
	margin: auto;
	margin-top: 5px;
	position: relative;
}
#list .photo img{

}
/*圖片覆蓋***************************/
#list .cover {
	width: 208px;
	height: 154px;/*需扣掉64px高度*/
	text-align: center;
	font-size: 12px;
	top: 0px;
	left: 0px;
	filter: alpha(opacity=0); /*IE,透明度50%*/
	-moz-opacity: 0; /*Firefox,透明度50%*/
	opacity: 0;/*其他浏览器,透明度50%*/
	position: absolute;
}
#list .photo:hover .cover {
	width: 208px;
	height: 154px;/*需扣掉64px高度*/
	filter: alpha(opacity=100); /*IE,透明度50%*/
	-moz-opacity: 1; /*Firefox,透明度50%*/
	opacity: 1;/*其他浏览器,透明度50%*/
	
}


#list .caption {
	height: 30px;
	width: 100%;
	padding: 10px 0px 0px 0px;
	text-align: left;
	font-size: 15px;
	float: left;
	text-align: center;
	background-image: url(caption_bg.jpg);
	background-repeat: no-repeat;
	background-position: top center;
	white-space: nowrap;
	text-overflow: ellipsis;
	
}
#list .caption A:link {
	color: #FFF;
	TEXT-DECORATION: none;
}
#list .caption A:visited {
	color: #FFF;
	TEXT-DECORATION: none;
}
#list .caption A:hover {
	COLOR: #FFFF00;
	
}
#list .view {
	height: 130px;
	width: 95px;
	float: right;
	
	}
#showphoto {
	width: 746px;
	height: 680px;
	padding: 20px 27px;
	position: absolute;
	z-index: 50;
	left: 186px;
	top: 165px;
	background-color: #FFF;
	color: #777777;
}
#showphoto .photo{
	width:746px;
	height: 560px;
	margin:auto;

}
#showphoto .left{
	width: 60px;
	height: 50px;
	position: absolute;
	z-index: 5;
	left: 0px;
	top: 262px;

}
#showphoto .right{
	width: 60px;
	height: 50px;
	position: absolute;
	z-index: 5;
	left: 740px;
	top: 262px;

}
#showphoto .title{
	width:746px;
	height:30px;
	margin:auto;
	color:#C5175F;
	font-size:18px;
	text-align:center;
	padding-top:5px;

}
#showphoto .des{
	width:746px;
	height: auto;
	margin:auto;
	font-size:12px;

}
#showphoto .date{
	width: 100px;
	height: auto;
	position: absolute;
	z-index: 5;
	left: 661px;
	top: 552px;
	font-weight: bold;

}
#showphoto .date span{
	color:#C5175F;


}





.showtitle{
	width:746px;
	height:30px;
	margin:auto;
	color:#C5175F;
	font-size:18px;
	text-align:center;
	padding-top:5px;
	font-weight:bold;
}
.fancybox-title{
	position:relative;
	font-weight:normal;
	font-family: Arial, "微軟正黑體";
}
.number{
	position:absolute;
	color:#868686;
	right:20px;
	top:10px;
	font-size:12px;
	font-weight:normal;
	
}
.album_1{
	color:#C5175F;
	font-weight:bold;
	font-size:13px;
}

.fancybox-prev span{
	background:url(left.jpg) no-repeat;
	left: 0;
}

.fancybox-next span{
	background:url(right.jpg) no-repeat;
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 60px;
	height: 50px;
	margin-top: -25px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	/*left: 10px;*/
	background-position: 0 0px;
}

.fancybox-next span {
	/*right: 10px;*/
	background-position: 0 0px;
}

.fancybox-nav span {
	visibility: visible;
}


@media screen and (max-width: 1000px){
	#container table {
        width: 100%!important;
    }
    #title{
        padding-left: 15px;
        float: none ;
    }
    #title_sub{
        background: #f7f7f7;
        float: none ;
        height: auto;
        padding: 8px 15px;
    }
     #list .photoframe{
        width: 32.3%;
        background-size: 100% 100%;
        margin: 0 0.5% 10px;
        height: 0;
        padding-bottom: 21%;
        position: relative;
        border:solid 1px #c31e62;
        border-radius: 0 0 10px 10px;
        background: none;
        overflow: hidden;
    }
     #list .photo{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0%;
        left: 0;
        right: 0;
        bottom: 19%;
        height: auto;

    }
    #list .cover{
        position: absolute;
        top: 0%;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }
     #list .photo img,#list .photo a{
        height: 100%!important;
        width: 100%!important;
        display: block;
        object-fit: contain;
     }
     #list .photo:hover .cover{
        width: 100%;
        height: 100%;
     }
     #list .photo a.fancybox img{
        object-fit: cover;
     }
     #list .caption{
        position: absolute;
        bottom: 0;
        background: #c31e62;
        font-size: 16px;
        line-height: 30px;
        padding: 0;
        left: 0;
        right: 0;
     }
 }
 @media screen and (max-width: 970px) {
    #list .photoframe{
        width: 49%;
        padding-bottom: 22.5%;
    }
   
  
}
@media screen and (max-width: 755px) {
    #list .photoframe{
        width: 100%;
        padding-bottom: 58%;
    }
    
}