.photo_div{width:100%; margin: 30px auto;}
.photo_item{display: block;box-sizing: border-box; width: 21%; margin: 0% 2% 25px 2%; float: left;}
.photo_wrap{max-width: 240px; margin: auto; position: relative;}
.photo_pic{position: relative; width: 100%; height: 0; padding-top: 66.66%; font-size: 0; background-color: #fff; overflow: hidden;}
.photo_pic img{transition: all 0.5s ease-in; position: absolute; left: 0; top:0; right: 0; bottom:0; max-width:100%; max-height:100%; margin: auto;}
.photo_pic:hover img{transform: scale(1.45);}
.photo_txt{margin-top: 0px;}
.photo_txt a{ line-height: 42px; height: 42px; overflow: hidden; margin-bottom: 5px; font-size: 14px; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; text-align: center; background-color: #f1f1f1;}
.photo_txt a span{color:#f00;}
.mask{position: absolute; top: 0; left: 0;}

.pages {
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
	box-sizing: border-box;
}
.pages label {
    background: #FFFFFF;
    border: #CCCCCC 1px solid;
    padding: 6px;
}
.pages label em {
    color: red;
    font-weight: bold;
    font-style: normal;
}
.pages label span {
    font-weight: bold;
}
.pages a:link, .pages a:visited, .pages a:active {
    background: #FFFFFF;
	color:#333;
    border: #E6E6E6 1px solid;
    padding: 6px;
    text-decoration: none;
    margin: 0 6px;
}
input, select, textarea {
    font-size: 14px;
    padding: 4px;
    border-radius: 2px;
    border: #e3e3e3 1px solid;
}
.pages_inp {
    border: #CCCCCC 1px solid;
    padding: 6px;
    width: 30px;
    text-align: center;
    color: #666666;
}
.pages_btn {
    width: 48px;
    background: #EEEEEE;
    border: #CCCCCC 1px solid;
    font-weight: bold;
    padding: 6px;
    margin: 0 6px;
	cursor: pointer;
}

@media(max-width:767px)
{
	.photo_item{display: block;box-sizing: border-box; width: 46%; margin: 0% 2% 20px 2%; float: left;}
}