.bbs-photo{
    margin: -20px -10px;
}
.bbs-photo > li{
    padding: 20px 10px;
}
.bbs-photo__thumb{
    overflow: hidden;
    position: relative;
    background-color: #999;
}
.bbs-photo__thumb a{
    display: block; width: 100%;
}
.bbs-photo__thumb form{
    z-index: 3; position: absolute; top: 0; left: 0;
    padding: 10px;
    font-size: 0;
}
.bbs-photo__thumbnail{
    display: block; z-index: 1; position: relative;
    padding-top: calc(398 / 590 * 100%);
    width: 100%; height: 0;
    -webkit-transition: all .8s ease; transition: all .8s ease;
}
.bbs-photo__thumbnail span{
    position: absolute; top: 0; left: 0;
    display: block; width: 100%; height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.bbs-photo__thumb .img{
    z-index: 3; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
}
.bbs-photo__thumb .mask{
    z-index: 2; position: absolute; top: 0; left: 0;
    padding: 36px 40px 0; width: 100%; height: 100%;
    font-family: 'Montserrat', NotoKR; font-size: 14px; color: #ffffff; font-weight: 700; background: rgba(0,0,0,.5);
    -webkit-transition: all ease-out .15s; transition: all ease-out .15s;
    opacity: 0;
}
.bbs-photo__thumb .mask .views{
    display: block; margin-top: 10px;
    font-size: 14px; font-weight: 400;
}
.bbs-photo__thumb .mask .views::before{
    content: ''; display: inline-block; vertical-align: top; margin-right: 6px; width: 19px; height: 16px;
    background: url('/child/img/icon/eye.svg') no-repeat;
}
.bbs-photo__contents{
    padding: 18px 0 0;
    font-size: 18px; font-weight: 700; color: #172a88;
}
.bbs-photo-name{
    margin-top: 5px;
    font-size: 18px; color: #247fe6; font-weight: 200;
}
@media (min-width:1025px){
	.bbs-photo__box:hover .bbs-photo__thumbnail{
        -webkit-transform: scale(1.1); transform: scale(1.1);
        opacity: .8;
    }
    .bbs-photo__box:hover .mask{
        opacity: 1;
    }
    .bbs-photo__title a:hover{
        opacity: .8;
    }
}
@media (max-width:1024px){
    .bbs-photo > li{
        padding: 20px 15px;
    }
    .bbs-photo__contents{
        padding: 10px 5px 15px;
        font-size: 18px;
    }
    .bbs-photo__title a{
    }
    .bbs-photo-name{
        font-size: 16px;
    }
}
@media (max-width:768px){
    .bbs-photo__contents{
        font-size: 14px;
    }
    .bbs-photo-name{
        font-size: 13px;
    }
}
@media (max-width:600px){
    .bbs-photo > li{
        width: 50%;
    }
    .bbs-photo > li:nth-child(odd) { padding-right: 7px; }
    .bbs-photo > li:nth-child(even) { padding-left: 7px; }
}
