.bbsnewf5 {position: relative;}

.bbsnewf5 table {
    position: relative;
    max-width: 500px;
}

.bbsnewf5 table tbody tr {
    position: relative;
}

.bbsnewf5 table tbody tr td{
    position: relative;
}

.gallery_etc {display: none}
.gallery_title {
    padding: 20px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    text-align: center;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
    overflow: hidden;
    box-sizing: border-box;
    transition: color 0.4s;
    display: inline-flex !important;
}

.gallery_subject > a { cursor : default}

.bbsnewf5 .extraDom:hover {
    opacity: 1;
}

.extraDom {
    position: absolute;
    left: 50%;
    top: 49%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 99%;
    background: rgba(0,0,0,0.7);
    z-index: 9;
    opacity: 0;
    transition: opacity 0.4s;
    padding: 30px;
}
.extraDom .icon {
    margin-top: 40px;
    margin-bottom : 60px;
}
.extraDom .icon img {
    width: 75px;
}

.cateWrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 100%;
}

.extraDom .wrapper {
    color: #fff !important;
    line-height: 40px;
    font-size: 16px !important;
    display: inline-block;
    width: 100%;
}

.extraDom .wrapper .title{
    position: absolute;
}
.extraDom .wrapper .content{
    float: left;
    padding-left: 80px;
    word-break: keep-all;
    text-align: left;
}

.cate {
    position: absolute;
    top: 0;
    left: 0;
}

.cate > div {
    font-size: 12px;
    padding: 10px 15px;
}

.cate .before {
    background: #f79646;
    color: #fff;
}

.cate .ing {
    background: #558ed5;
    color: #fff;
}

.cate .finish {
    background: #7f7f7f;
    color: #fff;
}

@media only screen and (max-width: 991px) {
    .extraDom .icon {
        margin-top : 5%;
        margin-bottom : 20%;
    }
    .extraDom .icon img {
        /*width: 100px;*/
    }
    .extraDom .wrapper {
        /*line-height: 30px;*/
    }
}

@media only screen and (max-width: 768px) {
    .extraDom .icon {
        margin-top : 5%;
        margin-bottom : 15%;
    }

    .extraDom .wrapper {
        line-height: 30px;
    }
}

@media only screen and (max-width: 730px) {
    .extraDom .icon {
        margin-top : 5%;
        margin-bottom : 15%;
    }

    .extraDom .wrapper {
        line-height: 27px;
        font-size: 14px !important;
    }
}

@media only screen and (max-width: 670px) {
    .extraDom {
        padding : 10px;
    }
    .extraDom .icon img {
        width: 65px;
    }
    .extraDom .wrapper {
        font-size: 11px !important;
        line-height: 23px;
    }
    .extraDom .wrapper .content {
        padding-left: 50px;
    }
    .gallery_title {
        font-size: 16px;
    }
}

@media only screen and (max-width: 500px) {
    .extraDom .icon {
        display : none;
    }
    .gallery_title {
        font-size: 13px;
    }
}