.tab {
  padding-top: 10px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 300;
  color: #888;
  -webkit-font-smoothing: antialiased;
}

.tabs {
  display: table;
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100%;
  list-style:none!important;
}
.tabs li {
  float: left;
  line-height: 38px;
  overflow: hidden;
  padding: 0;
  position: relative;
}
.tabs a{
  background-color: #eff0f2;
  border-bottom: 1px solid #000;
  color: #888;
  font-weight: 500;
  display: block;
  letter-spacing: 0;
  outline: none;
  padding: 0 20px;
  text-decoration: none;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  border-bottom: 2px solid #000;
  cursor:pointer;
}

.tabs_item {
  display: none;
  padding: 30px 0;
}
.tabs_item h4 {
  font-weight: bold;
  color: #fff;
  font-size: 20px;
}
.tabs_item img {
  width: 200px;
  float: left;
  margin-right: 30px;
}
.tabs_item:first-child {
  display: block;
}

.current a{
  color:#fff;
  background: #000;
}
.current{
  color: #fff;

}
.bangumiboard-list{
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    margin-top: 1em;
    width: calc(100% + 15px);
    margin-left: -15px;
}
.bangumiboard-list,.bangumiboard-list *{
    box-sizing: border-box;
}
.bangumiboard-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;
    border-radius:8px;
}
.bangumiboard-item:hover{
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.bangumiboard-thumb {
    width: 100%;
    /* customize this for diffrent style */
    padding-top: 141%;
    background-repeat: no-repeat;
    background-size: cover;
}
.bangumiboard-title,.bangumiboard-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;
    padding:8px!important;
}
/* detail panel */
.bangumiboard-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;
}
.bangumiboard-info::-webkit-scrollbar{
    background: none;
    width: 4px;
    height: 6px;
    border-radius:2px;
}
.bangumiboard-info::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,0.2);
    border-radius:2px;
    line-height: 1.15;
    font-size: 1em;
}
.bangumiboard-info::-webkit-scrollbar-thumb:hover{
    background: rgba(0,0,0,0.6);
}
.bangumiboard-info-show > .bangumiboard-info{
    transform: translateY(0);
}
/* special for bangumi */
.bangumiboard-info>.bangumiboard-info-basic{
    white-space: nowrap!important;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* loadmore button (span) */
.bangumi-loadmore{
    display: block;
    padding: 0.3em;
    background: #000;
    color: white;
    transition:0.2s;
    margin: 20px auto!important;
    width: 6em;
    text-align: center;
    cursor: pointer;
    border-radius:5px;
}
.bangumi-loadmore:hover{
    background: rgba(0,0,0,0.6);
}

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

.bangumi-single{
    max-width: 100%;
    height: 230px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.bangumi-single-img{
    position: absolute;
    left: 0;
    top: 0;
    width: 22%;
    height: 100%;
    float: left;
    background-size: cover;
    background-position: center center;
}
.bangumi-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;
}
.bangumi-single-info::-webkit-scrollbar{
    background: none;
    width: 4px;
    height: 6px;
    border-radius:2px;
}
.bangumi-single-info::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,0.2);
    border-radius:2px;
    line-height: 1.15;
    font-size: 1em;
}
.bangumi-single-info::-webkit-scrollbar-thumb:hover{
    background: rgba(0,0,0,0.6);
}
.bangumi-single-summary{
    margin-top: 0.3em;
    display: inline-block;
}
.bangumi-single-title{
    font-size: 1.3em;
    color: #1abc9c;
    text-decoration: none;
    padding: 0;
    margin: 0;
    border:none!important;
}
.bangumi-single-rating{
    background-image: url(/usr/plugins/bangumiBoard/assets/rating.png);
    display: inline-block;
    width: 75px;
    height: 15px;
}
.bangumi-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){
    .bangumi-single{
        height: 160px;
    }
    .bangumi-single-img{
        width: 32%;
    }
    .bangumi-single-info{
        margin-left: 35%;
        width: 65%;
    }
}