button.tag {
    border-radius: 100px;
}

#masthead {
    z-index: 10;
    display: flex;
    height: 64px;
    line-height: 64px;
    vertical-align: middle;
    align-items: center;
    justify-content: space-between;
}

#logo a {
    font-size: 26px;
    font-family: "Adobe 宋体 Std L", "Times New Roman", serif;
    font-weight: bolder;
    color: #6610f2;
}

#head_right {
    display: flex;
    height: 36px;
    padding: 0;
}

#head_right > a {
    margin: 0 0 0 10px;
    border-radius: 96px;
    text-decoration: none;
}

#head_right .btn img {
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

#head_right .btn a {
    text-decoration: none;
}
.bg-index {
    background: #0066ff;
}
#index_main {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -160px 0 0 -160px;
    display: flex;
    border: 0;
    background: transparent;
    flex-direction: column;
    width: 320px;
    height: 320px;
    text-align: center;
    justify-content: space-around;
    align-items: center;
}
#index_main button {
    display: block;
    width: 200px;
    height: 80px;
    outline-color: #FFFFFF;
    border: 3px solid #adb5bd;
    border-radius: 12px;
    background: #ffcd39;
}
#index_main a {
    color: #6F6F6F;
    font: 600 20px/20px "Adobe 宋体 Std L";
    text-decoration: none;
}
nav {
    background: #FFFFFF;
    margin: 100px auto 20px auto;
    border: 1px solid #adb5bd;
    border-radius: 6px;
    padding: 0;
    max-width: 1024px;
}

nav > div {
    display: flex;
    flex-direction: row;
}

nav .header {
    padding: 10px;
}

nav .body {
    flex-direction: column;
    margin: 0;
    padding: 10px;
    text-indent: 2em;
    font-size: 16px;
    font-family: "Adobe 宋体 Std L", "Times New Roman", serif;
}

nav .body p {
    display: block;
    margin: 0;
    border: 0;
    padding: 0;
    line-height: 24px;
}

nav .footer {
    padding: 10px;
}

nav .footer a {
    margin: 0 5px 0 5px;
    border-radius: 100px;
    font-size: 14px;
}

main {
    position: static;
    display: block;
    margin: 0 auto 50px auto;
    max-width: 1024px;
    border: 1px ridge #dae0e5;
    background: #FFFFFF;
    font-family: "Adobe 宋体 Std L", "Times New Roman", serif;
}

.main-nav {
    align-items: flex-start;
    display: flex;
    width: 100%;
    border-bottom: 1px solid #adb5bd;
    padding: 2px;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 16px;
}

#list_drama .main-nav {
    border: 0;
    background: #86b7fe;
}

#list_drama .num {
    font: 1.25rem/1.25rem "Times New Roman";
    color: #d63384;
}

.main-nav-item {
    display: inline-block;
}

#category_map {
    display: inline-flex;
    float: left;
    height: 40px;
    flex-wrap: wrap;
    justify-content: left;
}

#category_map > a {
    order: 1;
    margin: 5px;
    height: 30px;
    border-radius: 100px;
    white-space: nowrap;
    font-size: 14px;
}

#all_category {
    order: 0;
}

.sort-by {
    display: inline-flex;
    float: right;
    width: auto;
    height: 40px;
    padding: 5px;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 14px;
}

.sort-by .field {
    display: none;
    border: 1px solid #adb5bd;
    padding: 2px 5px;
}

.sort-by span {
    font-weight: 600;
    margin: 0 5px;
}

.sort-by a {
    flex-wrap: nowrap;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.sort-by .active {
    font-weight: 600;
}

main .li {
    border-bottom: thin solid #ced4da;
}

main .li a {
    text-decoration: none;
}

main .li .title {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: black;
    font: 600 18px/30px "Adobe 宋体 Std L";
}

main .li .title:hover {
    color: #175199;
}

#list_video .li {
    display: flex;
    margin: 0;
    height: 200px;
    padding: 10px;
    justify-content: left;
}

#list_video .li > div {
    float: left;
    display: inline-flex;
    box-sizing: border-box;
}

.cover {
    border: thin solid #9B9BBC;
    width: 320px;
    height: 180px;
    background: #cce5ff;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.cover img {
    max-width: 100%;
    max-height: 100%;
}

.info {
    flex-direction: column;
    width: 500px;
    height: 180px;
    padding: 5px 0 5px 15px;
    text-align: left;
    align-items: flex-start;
    justify-content: space-between;
}

.info p {
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
    text-align: left;
}

.info .drama {
    font-size: 16px;
}

.synopsis a {
    color: #333333;
}

.info .author {
    display: flex;
    height: 2rem;
    align-items: center;
    font-size: 14px;
}

.info .author span {
    display: inline-block;
    max-width: 120px;
    text-wrap: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info .author span:last-child {
    margin-left: 20px;
}

.synopsis {
    display: flex;
    height: 50px;
    border: 0;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font: 400 16px/25px "Adobe 宋体 Std L", "Times New Roman", serif;
    color: #121212;
}

.synopsis a:hover {
    color: #5a6268;
}

.info label {
    border-radius: 100px;
    font-size: 14px;
}

.buy {
    max-width: 182px;
    height: 180px;
    justify-content: space-around;
    align-items: center;
}

.price, .pay {
    display: inline-block;
    align-self: center;
}

.price {
    margin: 0;
    width: 5rem;
    border: 0;
    padding: 0;
    text-align: right;
    font-size: 1.25rem;
    color: #d63384;
}

.pay {
    margin: 0 10px;
}

#list_drama > .list {
    padding: 5px 0;
    background: #34ce57;
}

#list_drama > .list > .li {
    display: block;
    margin: 5px;
    min-height: 120px;
    border-radius: 0.25rem;
    border-bottom: thin solid #adb5bd;
    background: #FFFFFF;
    padding: 0 10px;
    overflow: hidden;
    cursor: pointer;
}

#list_drama .info-bar > div {
    display: inline;
    margin-right: 10px;
    font-size: 14px;
}

#list_drama .li > a, #list_drama .li > div {
    display: block;
}

#list_drama .li .footer > div {
    display: inline;
    margin-right: 10px;
}

#list_drama .li .footer {
    border-top: 1px dashed #6c757d;
    padding: 6px 0;
}

#list_drama .footer .th, #list_drama .footer .unit {
    font-size: 1rem;
    font-weight: bold;
}

.left, .right {
    display: table-cell;
    margin: 0;
    border: 0;
}

.left .avatar, .left .author, .right .title, .right .synopsis, .right .bottom {
    display: block;
    margin: 0;
    border: 0;
}

.left {
    width: 120px;
    text-align: center;
    vertical-align: middle;
    align-items: center;
}

.left .avatar {
    padding: 10px 0 5px 0;
}

.left .avatar img {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    border: thin solid #adb5bd;
}

.left .author {
    padding: 5px 20px 0 20px;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

.left.author div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.right {
    max-width:880px;
    text-align: left;
}

.right a {
    color: #121212;
}

.right a .synopsis:hover {
    color: #646464;
}

.right .title {
    font-size: 18px;
    line-height: 36px;
}

#list_drama .synopsis {
    padding: 0.25rem 0;
    height: 3.5rem;
    overflow: hidden;
    text-align: left;
    text-indent: 2em;
    line-height: 1.5rem;
    font-size: 1rem;
}

.bottom {
    padding-top: 10px;
    color: #76839b;
    font-size: 12px;
    line-height: 24px;
}

.bottom .category {
    display: inline-flex;
    float: left;
}

.bottom .category .th {
    color: #333333;
    font: 600 14px/20px "Adobe 宋体 Std L";
}

.bottom .category a {
    text-decoration: none;
    font: 400 14px/20px "Adobe 宋体 Std L";
}

#list_drama a {
    text-decoration: none;
}

.bottom-right {
    float: right;
}

.bottom-right img{
    margin: auto 5px auto 0;
    width: 16px;
    height: 16px;
}

.bottom-right span {
    margin-left: 5px;
    font: 400 14px/16px "Times New Roman";
}

.mastfoot {
    position: absolute;
    left: 0;
    bottom: 0;
}
