.doubanboard-list{
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    margin-top: 1em;
    width: calc(100% + 15px);
    margin-left: -15px;
}
.doubanboard-list,.doubanboard-list *{
    box-sizing: border-box;
}
.doubanboard-item {
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    transition: ease all 0.3s;
    overflow: hidden;
    background: #f7fbf7;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    border: none!important;
    display: block;
    margin-left: 15px;
    margin-bottom: 15px;
}
.doubanboard-item:hover{
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.doubanboard-thumb {
    width: 100%;
    /* customize this for diffrent style */
    padding-top: 141%;
    background-repeat: no-repeat;
    background-size: cover;
}
.doubanboard-title,.doubanboard-title a{
    margin: 8px 0!important;
    font-size: 1.2em!important;
    overflow: hidden!important;
    text-overflow: ellipsis!important;
    white-space: nowrap !important;
    text-align: center !important;
    color: #202020 !important;
    font-weight: 700 !important;
    border:none !important;
}
/* detail panel */
.doubanboard-info{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    transition: all 0.3s;
    background-color: #f7fbf7;
    color: black;
    font-size: 0.9em;
    line-height: 1.3em;
    transform: translateY(100%);
    padding: 0.5em;
    font-size: 16px;
    font-weight: 400;
}
.doubanboard-info::-webkit-scrollbar{
    background: none;
    width: 4px;
    height: 6px;
    border-radius:2px;
}
.doubanboard-info::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,0.2);
    border-radius:2px;
    line-height: 1.15;
    font-size: 1em;
}
.doubanboard-info::-webkit-scrollbar-thumb:hover{
    background: rgba(0,0,0,0.6);
}
.doubanboard-info-show > .doubanboard-info{
    transform: translateY(0);
}
/* special for douban */
.doubanboard-info>.doubanboard-info-basic{
    white-space: nowrap!important;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* loadmore button (span) */
.douban-loadmore{
    display: block;
    padding: 0.3em;
    background: black;
    color: white;
    transition:0.2s;
    margin: 20px auto!important;
    width: 6em;
    text-align: center;
    cursor: pointer;
}
.douban-loadmore:hover{
    background: rgba(0,0,0,0.6);
}

/* media query for responsive design */
@media screen and (max-width: 767.5px){
    .doubanboard-item{
        width: calc(33.333333333% - 15px);
    }
}
@media screen and (min-width:767.5px){
    .doubanboard-item{
        width: calc(25% - 15px);
    }
}
@media screen and (max-width:450px){
    .doubanboard-item{
        width: calc(50% - 15px);
    }
}

.douban-single{
    max-width: 100%;
    height: 230px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.douban-single-img{
    position: absolute;
    left: 0;
    top: 0;
    width: 22%;
    height: 100%;
    float: left;
    background-size: cover;
    background-position: center center;
}
.douban-single-info{
    position: absolute;
    width: 76%;
    height: 100%;
    top: 0;
    right: 0;
    margin-left: 24%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.2em 0.5em 0.5em 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}
.douban-single-info::-webkit-scrollbar{
    background: none;
    width: 4px;
    height: 6px;
    border-radius:2px;
}
.douban-single-info::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,0.2);
    border-radius:2px;
    line-height: 1.15;
    font-size: 1em;
}
.douban-single-info::-webkit-scrollbar-thumb:hover{
    background: rgba(0,0,0,0.6);
}
.douban-single-summary{
    margin-top: 0.3em;
    display: inline-block;
}
.douban-single-title{
    font-size: 1.3em;
    color: #1abc9c;
    text-decoration: none;
    padding: 0;
    margin: 0;
    border:none!important;
}
.douban-single-rating{
    background-image: url(/usr/plugins/DoubanBoard/assets/rating.png);
    display: inline-block;
    width: 75px;
    height: 15px;
}
.douban-single-meta{
    font-size: 0.8em;
    font-size: 0.8em;
    display: inline-block;
    margin: 0.5em 0;
    opacity: 0.5;
}
@media screen and (max-width:767px){
    .douban-single{
        height: 160px;
    }
    .douban-single-img{
        width: 32%;
    }
    .douban-single-info{
        margin-left: 35%;
        width: 65%;
    }
}