
.sidebar .nav > li.active > a {
    text-decoration: none;
    background-color: #EBEBEB
}
.dark .sidebar .nav > li.active > a {
    background-color: #1A1A1A
}
/* Override */
.main-menu > li.dropdown:hover .dropdown-menu {
    left: 0
}

.dropdown-menu>li>a {
    padding: 5px 20px
}

.dropdown-menu>li>a:hover {
    background-color: transparent
}

.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover {
    background-color: #f5f5f5;
    color: #ae4ad9
}

/* End Override */
.rule-list {
    border-radius: 8px;
    border: 1px solid #e5e5e5
}

.rule-list h2 {
    margin: 10px 0;
    padding: 0px 10px 9px 15px;
    border-bottom: solid 1px #e5e5e5;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden
}

.rule-list ol {
    margin: 10px 10px 10px 30px;
    padding: 0;
    font-size: 14px;
    line-height: 1.5
}

.list-view article {
    margin-bottom: 15px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.1);
    box-sizing: border-box;
    cursor: pointer;
}

.list-view article:last-child {
    margin-bottom: 0
}

.list-view header {
    padding: 15px;
    position: relative;
}

.list-view .user-section .avatar {
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.06);
    margin-right: 8px;
    overflow: hidden;
    float: left;
}

.list-view .user-section .info {
    line-height: 24px;
    width: 100%;
    padding: 0 0 0 50px;
    font-size: 12px
}

.list-view .user-section .info .top {
    margin-top: -5px;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap
}

.list-view .user-section .info .top .member {
    margin: 0 5px 0 3px;
    line-height: 18px
}

.list-view .user-section .info .top .mod {
    background: #f93;
    padding: 0px 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    margin-left: 5px;
    border-radius: 3px;
    display: inline-block;
}

.list-view .user-section .info,.list-view .user-section .info .top a {
    color: #999
}

.list-view .post-title {
    word-wrap: break-word;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    margin-top: 5px;
    overflow: hidden
}

.list-view .post-title a {
    color: #000
}

.list-view .post-title a:hover {
    text-decoration: none
}

.list-view .content {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 7px;
    overflow: hidden
}

.preview-content {
    /*max-height: 100px;*/
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.list-view .content img {
    max-width: 50px
}

.list-view .post-image {
    background-color: rgba(0, 0, 0, 0.1);
    text-align: center;
    max-height: 500px;
    overflow: hidden;
    position: relative
}

.list-view .post-image .play-icon {
    background: url(/themes/nettruyen/images/play_icon.png) no-repeat center;
    width: 64px;
    height: 64px;
    display: inline-block;
    position: absolute;
    left: 44%;
    top: 40%;
}

.post-detail .list-view .post-image {
    max-height: none
}

.post-detail .list-view .post-title {
    font-size: 23px
}

.post-footer .post-vote {
    margin: 5px 15px 10px 15px;
    padding: 0
}

.post-footer .post-vote li {
    list-style: none;
    display: inline-block;
    margin-right: 5px;
    margin-top: 5px
}

.post-footer .post-vote li:last-child {
    margin-right: 0
}

.post-footer .post-vote li a {
    color: rgba(0,0,0,.5);
    padding: 0 16px;
    text-align: center;
    border-radius: 4px;
    position: relative;
    line-height: 34px;
    display: block;
    border: 1px solid rgba(0,0,0,.1)
}

.post-footer .post-vote li a:hover {
    text-decoration: none;
    color: #ff9601 !important;
    border-color: #ff9601 !important
}

.post-footer .post-vote li.active a {
    text-decoration: none;
    color: #ff9601 !important;
    border-color: #ff9601 !important
}

.post-footer .post-vote li a i {
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 9px;
    left: 7px
}

.post-footer .post-vote li a span {
    padding-left: 15px
}

.post-footer .post-vote li a.more-action {
    border: none
}
.post-footer .post-vote li.comment-more-wrap .comment-more li {
    display: block!important;
}

.vote-list .view-more {
    display: block!important;
    text-align: center;
    line-height: 35px;
    position: relative;
}

.vote-list .view-more:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 35px;
    top: -36px;
    background: linear-gradient(rgba(255,255,255,0),white);
    width: 100%;
}

.dark .list-view article {
    background-color: #423e3e
}

.dark .list-view .post-title a {
    color: #fff
}

.dark .list-view .post-image {
    background-color: #050505
}

.dark .post-footer .post-vote li a {
    color: rgba(255,255,255,.5);
    border-color: rgba(255,255,255,.2)
}

.dark .list-view .user-section .info,.dark .list-view .user-section .info .top a {
    color: #dadada
}

.dark .vote-list .view-more:before {
    background: linear-gradient(rgba(255,255,255,0),#484848)
}

.comment-nav {
    line-height: 30px;
    padding-bottom: 0;
}

.comment-nav li.active:after {
    bottom: 0;
}

.comment-tab {
    margin: 20px 0 10px 0
}

.comment-tab h3 {
    float: left;
    margin: 0 0 10px 0;
    font-size: 17px;
    font-weight: 400
}

.comment-tab .comment-nav {
    float: right
}

.form-group .control-label span {
    color: red;
    padding-left: 5px
}

/* MEME */
.meme {
    width: 230px;
    height: 300px;
    margin: 0 15px 15px 0;
    float: left;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
    -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
    -ms-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
}

.meme img {
    max-height: 300px;
}

.meme a, .meme a:visited, .meme a:focus, .meme a:hover {
    display: inline-block;
    width: 100%;
    height: 100%;
    color: #333;
}

.meme .meme-img {
    width: 100%;
    height: 250px;
    float: left;
    overflow: hidden;
    -webkit-border-top-left-radius: 3px;
    -moz-border-top-left-radius: 3px;
    -ms-border-top-left-radius: 3px;
    border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-top-right-radius: 3px;
    -ms-border-top-right-radius: 3px;
    border-top-right-radius: 3px;
}

.meme .meme-img .meme-img-wrap {
    height: 250px;
    display: table-cell;
    vertical-align: middle;
}

.meme .meme-img .meme-img-wrap img {
    display: block;
    max-width: 230px;
    height: auto;
    margin: 0 auto;
}

.meme .info {
    padding: 5px;
}

.meme .info h4, .meme .info p {
    padding: 1px 0;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    -moz-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

#scriptolution-boxes {
    width: 100%
}

#scriptolution-info {
    width: 100%
}

#scriptolution-boxes #scriptolution-info .scriptolution-inputs input[type=text] {
    padding: 10px;
    width: 230px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    font-family: 'Open Sans',Arial,Helvetica,sans-serif;
    background-color: #fefefe;
    font-size: 14px;
    vertical-align: top;
    margin-right: 5px;
    margin-left: 8px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px
}

.scriptolution-bottom-smaller,.scriptolution-top-smaller {
    border: 1px solid #ccc;
    background-color: #fefefe;
    padding: 10px;
    float: right;
    width: 30px;
    height: 40px;
    cursor: pointer;
    margin-top: 0;
    font-size: 24px;
    border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    -o-border-radius: 4px 0 0 4px;
    -webkit-border-radius: 4px 0 0 4px
}

.scriptolution-bottom-bigger,.scriptolution-top-bigger {
    border: 1px solid #ccc;
    background-color: #fefefe;
    padding: 10px;
    float: right;
    width: 30px;
    height: 40px;
    cursor: pointer;
    margin-top: 0;
    font-size: 24px;
    border-left: 0;
    border-radius: 0 4px 4px 0;
    -o-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    -webkit-border-radius: 0 4px 4px 0
}

.one-section {
    display: flex;
    width: 100%
}

.inner-scriptolution {
    color: #ff7a00;
    margin-top: -9px;
    margin-left: -5px;
    width: 16px
}

.scriptolution-checks {
    padding: 0 0 10px 10px;
    font-family: 'Open Sans',Arial,Helvetica,sans-serif;
    font-size: 14px;
    vertical-align: top;
    color: #666
}

.scriptolution-checks input[type=checkbox] {
    margin: 0 0 0
}

.ctab .button {
    margin-left: 8px;
    padding: 11px 25px;
    font-family: 'Bree Serif',serif;
    font-weight: 300;
    font-size: 18px;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,.25);
    background: #48aff3;
    border: 1px solid #3ca4e9;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: inset 0 0 2px rgba(256,256,256,.75);
    -moz-box-shadow: inset 0 0 2px rgba(256,256,256,.75);
    -webkit-box-shadow: inset 0 0 2px rgba(256,256,256,.75)
}

.ctab .button:hover {
    background: #3ca4e9;
    border: 1px solid rgba(256,256,256,.75);
    box-shadow: inset 0 1px 3px rgba(0,0,0,.5);
    -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.5);
    -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.5)
}

.ctab .button:focus {
    position: relative;
    bottom: -1px;
    background: #48aff3;
    box-shadow: inset 0 1px 6px rgba(256,256,256,.75);
    -moz-box-shadow: inset 0 1px 6px rgba(256,256,256,.75);
    -webkit-box-shadow: inset 0 1px 6px rgba(256,256,256,.75)
}

.tag-inputs input[type=text] {
    padding: 10px;
    width: 210px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    font-family: 'Open Sans',Arial,Helvetica,sans-serif;
    background-color: #fefefe;
    font-size: 14px;
    vertical-align: top;
    margin-right: 5px;
    margin-left: 8px
}

.scriptolutiontaginfo {
    margin-left: 8px;
    padding-bottom: 10px
}

.tag-inputs select {
    padding: 10px;
    width: 210px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    font-family: 'Open Sans',Arial,Helvetica,sans-serif;
    background-color: #fefefe;
    font-size: 18px;
    vertical-align: top;
    margin-right: 5px;
    margin-left: 8px
}

.scriptolution-checksx input[type=text] {
    padding: 10px;
    width: 290px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    font-family: 'Open Sans',Arial,Helvetica,sans-serif;
    background-color: #fefefe;
    font-size: 14px;
    vertical-align: top;
    margin-right: 5px;
    margin-left: 8px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px
}

.dark .meme .info h4, .dark .meme .info {
    color: #dcdcdc
}

/* MEME */
/* CHAT */
.chat-board .list-messages {
    padding: 10px 0;
    margin: 0;
    list-style: none;
    max-height: 320px;
    overflow-x: hidden;
    overflow-y: scroll
}

.chat-board .list-messages li {
    margin-bottom: 15px
}

.chat-board .list-messages .avatar {
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 2px;
    background-color: rgba(0,0,0,.06);
    margin-right: 8px;
    overflow: hidden;
    float: left
}

.chat-board .list-messages .info {
    line-height: 24px;
    width: 150px;
    padding: 0;
    font-size: 12px;
    float: left
}

.chat-board .list-messages .info .top {
    margin-top: -5px;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    overflow: hidden
}

.chat-board .list-messages .info .top a {
    max-width: 65px;
    overflow: hidden
}

.chat-board .list-messages .info, .chat-board .list-messages .info .top a {
    color: #999;
}

.chat-board .list-messages .info .top .member {
    margin: 0 5px 0 3px;
    line-height: 18px
}

.chat-board .list-messages .info .top .mod {
    background: #f93;
    padding: 0px 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    margin-left: 5px;
    border-radius: 3px;
    display: inline-block;
}

.chat-board .list-messages .info .reply {
    padding-left: 10px;
    cursor: pointer
}

.chat-board .list-messages p {
    margin: 0
}

.chat-board .list-messages li:after {
    clear: both;
    content: ' ';
    display: block
}
.post-manga {
    background-color: rgba(0, 0, 0, 0.1);
    max-height: 120px;
    overflow: hidden;
    position: relative;
    padding: 10px;
}
.post-manga a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.post-manga img {
    display: inline-block;
    aspect-ratio: 3 / 4;
    height: 100px;
    width: 75px;
    border-radius: 2px;
}

.post-manga-detail {
    display: inline-block;
    color: #337AB7;
    padding: 10px;
    font-size: 18px;
    overflow: hidden;
    max-height: 100px;
}
.post-manga-detail .title {
    font-size: 18px;
    font-weight: bold;
    overflow: hidden;
    display: -webkit-box;
    white-space: nowrap;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.post-manga-detail .desc {
    font-size: 13px;
    color: #000;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.dark .post-manga-detail .desc {
    color: #ccc
}

.ql-toolbar.ql-snow {
    border-radius: 5px 5px 0 0;
}
.ql-toolbar.ql-snow .ql-formats {
    background: #00000009;
    border-radius: 2px;
}
.editor-footer {
    text-align: right;
    font-size: 12px;
    color: #666;
    background: #00000005;
    border-radius: 0 0 5px 5px;
    padding: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-top: none;
}
#comic-search-result {
    position: absolute;
    z-index: 9999;
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
}
.comic-search-item {
    background: #fff;
    border: none;
    border-bottom: 1px solid #eee;
    text-align: left;
    margin: 2px;
}
.not-found-item {
    background: #fff;
    text-align: center;
    margin: 2px;
    line-height: 30px;
    border: 1px solid #eee;
}

.content h1, .content h2, .content h3, .content * {
    white-space: normal!important;
    word-break: break-word!important;
}