body {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    background: #f1f1f1;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.pageMain {
    overflow: auto;
    position: fixed;
    top: 65px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    overflow-x: hidden;
}

body * {
    -webkit-overflow-scrolling: touch;
}

.dialog-container {
    overflow-x: hidden;
}

.page-width {
    width: 1170px;
    margin: auto;
    position: relative;
}

.paging-top {
    display: none;
}

.paging {
    text-align: center;
    font-size: 14px;
}

.list-item {
    margin: 0 -10px;
    font-size: 0px;
}

.list-item-2 {
    font-size: 0px;
}

.inner-item-2 {
    font-size: 14px;
}

.inner-item {
    margin: 0 10px;
    font-size: 14px;
}

.page-left {
    width: 30%;
    display: inline-block;
    vertical-align: top;
}

    .page-left .post-item {
        border: solid 1px #ddd;
    }

.page-right {
    width: 69.9%;
    display: inline-block;
    vertical-align: top;
}

.item-4 {
    width: 24.9%;
    display: inline-block;
    vertical-align: top;
}

.item-3 {
    width: 33.3%;
    display: inline-block;
    vertical-align: top;
}

.item-2 {
    width: 49.9%;
    display: inline-block;
    vertical-align: top;
}

.item-5 {
    width: 19.9%;
    display: inline-block;
    vertical-align: top;
}

.sub-2-row {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.sub-3-row {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.sub-4-row {
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.sub-5-row {
    -webkit-line-clamp: 5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}


.a-center {
    text-align: center;
}

a {
    color: #2e3039;
}

    a:hover {
        color: black !important;
    }

#headPage {
    padding: 15px 0;
    background: #f89b33;
    line-height: 35px;
    position: relative;
    z-index: 11;
}

.wrap-head {
    position: relative;
    display: flex;
}

#logo {
    display: block;
    padding-right: 20px;
    width:55px;
}

#headPage .profile {
    padding-left: 20px;
}


.form-search {
    display: block;
    background: white;
    padding-right: 35px;
    position: relative;
    border-radius: 5px;
    flex-grow: 1;
}

    .form-search input {
        padding: 10px;
        border: 0px;
        width: 100%;
        height: 35px;
        border-radius: 5px;
    }

    .form-search button {
        text-align: center;
        width: 35px;
        font-size: 18px;
        position: absolute;
        top: 0px;
        right: 0px;
        height: 35px;
        border: 0px;
        padding: 0px;
        background: none;
    }


.login-with-facebook {
    background: #4267b2;
    color: white;
    display: inline-block;
    padding: 0 10px;
    border-radius: 5px;
}

    .login-with-facebook i {
        display: inline-block;
        padding: 0 10px 0 0;
        border-right: solid 1px #36538d;
        margin-right: 10px;
    }

.m-item {
    background: white;
    padding: 10px 10px 10px 170px;
    position: relative;
    margin-bottom: 20px;
    min-height: 90px;
}

    .m-item .img {
        position: absolute;
        left: 10px;
        top: 10px;
    }

        .m-item .img img {
            width: 150px;
            height: 70px;
        }

    .m-item .name {
        font-size: 26px;
        text-transform: uppercase;
    }

    .m-item .m-child {
        padding-top: 10px;
    }

        .m-item .m-child a, .m-item .m-child span {
            display: inline-block;
            font-style: italic;
            margin-right: 10px;
        }

#footPage {
    background: white;
    padding: 10px 0;
    line-height: 30px;
}

.menu-foot {
    float: right;
}

    .menu-foot > * {
        display: inline-block;
        vertical-align: top;
        margin-left: 10px;
    }

#headPage .profile .intro img {
    width: 35px;
    height: 35px;
    border-radius: 100px;
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
}

#headPage .profile .intro {
    color: white;
    font-weight: bold;
    display: inline-block;
    vertical-align: top;
}

#headPage .menu-drop {
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin-left: 20px;
}

    #headPage .menu-drop .icon i {
        font-size: 20px;
        color: #a65800;
    }

    #headPage .menu-drop:hover .icon i {
        color: white;
    }

.menu-drop ul {
    position: absolute;
    right: 0px;
    top: 100%;
    background: white;
    list-style: none;
    margin: 0px;
    padding: 0px 10px;
    border-radius: 5px;
    z-index: 11;
    display: none;
    width: 150px;
    border: solid 1px #ddd;
}

.menu-drop .menu-drop-close {
    display: none;
}

.menu-drop.open .menu-drop-close, .menu-drop.open ul {
    display: block;
}

.menu-drop ul li {
    border-top: solid 1px #ddd;
}

    .menu-drop ul li:first-child {
        border-top: 0px;
    }

.menu-drop .my-profile i {
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
}


.menu-drop .menu-drop-close {
    position: fixed;
    top: 0px;
    z-index: 10;
    left: 0px;
    width: 100%;
    height: 100%;
}

.menu-drop .my-profile a {
    display: block;
}

.breadcrumb {
    background: white;
    line-height: 30px;
}

.m-filter {
    border-radius: 100px;
    display: inline-block;
    margin-right: 20px;
}

.new-post {
    background: white;
    max-width: 400px;
}

    .new-post .control {
        padding: 10px 5px;
        border-top: solid 1px #ddd;
    }

.cate-select li {
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
}

    .cate-select li label span {
        background: #f1f1f1;
        border-radius: 5px;
        padding: 0 10px;
        line-height: 30px;
        display: inline-block;
        position: relative;
        cursor: pointer;
    }

    .cate-select li label input {
        display: none;
    }

        .cate-select li label input:checked ~ span {
            background: #e28824;
            color: white;
        }

.new-post .ContentEditor {
    border: 0px;
}

    .new-post .ContentEditor .text {
        min-height: 70px;
    }

.new-post .control .cate-select {
    float: left;
}

.new-post .control .Button {
    float: right;
}

.Button {
    background: #e28824;
    border-radius: 5px;
    line-height: 30px;
    height: 30px;
    font-weight: bold;
    outline-style: none;
}

    .Button:hover {
        background: #a65800;
    }

.dialog-header {
    font-size: 0px;
    padding: 0px;
}

.dialog-box {
    border-radius: 10px;
}

.dialog-close {
    color: black;
    font-size: 18px;
    z-index: 11;
}

    .dialog-close:hover {
        color: black;
    }

.post-item {
    background: white;
    position: relative;
    margin-bottom: 20px;
    line-height: 1.6em;
    font-family: Arial;
}

    .post-item.True {
        background: #fff7ef;
    }

    .post-item .rating-box {
        float: right;
    }

.rating-box {
    display: inline-block;
    color: #666;
}

    .rating-box .rating-select {
        float: left;
        margin: 3px 0;
    }

    .rating-box .rating-count {
        float: right;
        margin-left: 10px;
        font-size: 12px;
    }

.post-item .post-img {
    position: relative;
}

    .post-item .post-img td {
        white-space: pre-wrap;
        line-height: 40px;
        word-break: break-word;
    }

    .post-item .post-img .img {
        display: block;
    }

    .post-item .post-img .no-img {
        font-size: 26px;
        font-weight: bold;
        text-align: center;
        background-size: cover;
        padding: 20px;
        line-height: initial;
    }

        .post-item .post-img .no-img table {
            width: 100%;
            height: 220px;
            vertical-align: middle;
        }

    .post-item .post-img .count-photo {
        position: absolute;
        top: 0px;
        right: 0px;
        font-weight: bold;
        background: rgba(255, 255, 255, 0.5);
        padding: 5px;
        color: #f89b33;
    }

        .post-item .post-img .count-photo i {
            display: inline-block;
            margin-left: 5px;
        }

.post-item .detail .name {
    padding-bottom: 5px;
    font-weight: bold;
    display: block;
}

.post-item .detail {
    padding: 10px 10px 0 10px;
}

.post-item.NewsFeed .detail .desc {
    white-space: pre-wrap;
}

.post-item.Article .detail .desc {
    font-size: 13px;
    color: #666;
}

.post-item .post-by {
    padding: 10px 10px 10px 60px;
    position: relative;
}

.post-item .mem-avt {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 10px;
    top: 10px;
}

.post-item .mem-name {
    display: inline-block;
    vertical-align: top;
    font-weight: bold;
    margin-right: 5px;
}

.post-item .post-cate {
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
    font-size: 13px;
}

.post-item a.post-cate {
    color: #396dff;
}

.post-item .post-time {
    font-size: 12px;
    color: #666;
}

.post-item .statistic {
    padding: 10px;
    color: #666;
}

    .post-item .statistic > span {
        display: inline-block;
        vertical-align: top;
        margin-right: 20px;
    }

        .post-item .statistic > span > i {
            display: inline-block;
            vertical-align: top;
            margin-right: 5px;
        }

.post-item .post-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 13px;
    z-index: 1;
}

    .post-item .post-button a {
        display: block;
        padding: 2px;
    }


    .post-item .post-button li {
        position: relative;
    }

    .post-item .post-button ul {
        list-style: none;
        background: white;
        border: solid 1px #ddd;
        border-radius: 5px;
        position: absolute;
        right: 0px;
        top: 100%;
        width: 130px;
        margin: 0px;
        padding: 5px;
        z-index: 12;
        display: none;
    }

    .post-item .post-button .post-button-close {
        position: fixed;
        z-index: 11;
        width: 100%;
        height: 100%;
        left: 0px;
        top: 0px;
        display: none;
    }

    .post-item .post-button ul li i {
        display: inline-block;
        width: 20px;
    }

    .post-item .post-button.open ul, .post-item .post-button.open .post-button-close {
        display: block;
    }


.comment-box .comment-input .ContentEditor {
    background: #fafafa;
}

.comment-box .ContentEditor .smile-icon {
    float: left;
    margin-left: 10px;
}


.comment-box .ContentEditor .smile-icon-list {
    left: 0px;
    right: auto;
}

.btn-comment-send {
    font-weight: bold;
    float: right;
    padding: 0 10px;
    line-height: 24px;
    border-radius: 5px;
    position: relative;
    margin-top: -34px;
    margin-right: 10px;
    border: solid 1px #ddd;
    color: #666;
}

    .btn-comment-send:hover {
        color: black;
        background: #ddd;
    }


.post-item .comment-box {
    border-top: solid 1px #ddd;
    background: white;
}

.comment-item {
    padding: 10px 30px 0px 50px;
    position: relative;
}

    .comment-item .cm-avt {
        position: absolute;
        left: 10px;
        top: 10px;
    }

    .comment-item .cm-content {
        background: #fafafa;
        border-radius: 5px;
        padding: 5px;
    }

    .comment-item .cm-avt img {
        border-radius: 100px;
        height: 30px;
        width: 30px;
    }

    .comment-item .cm-button {
        position: absolute;
        right: 10px;
        top: 10px;
    }

        .comment-item .cm-button > a {
            line-height: 30px;
        }

        .comment-item .cm-button ul {
            list-style: none;
            margin: 0px;
            position: absolute;
            right: 0px;
            width: 150px;
            background: white;
            border: solid 1px #ddd;
            padding: 2px 5px;
            border-radius: 5px;
            font-size: 13px;
            z-index: 11;
            display: none;
        }


            .comment-item .cm-button ul li:first-child {
                border: 0px;
            }

            .comment-item .cm-button ul a {
                display: block;
                padding: 5px 0;
                line-height: 20px;
            }

                .comment-item .cm-button ul a i {
                    display: inline-block;
                    width: 20px;
                    height: 20px;
                    line-height: 20px;
                    text-align: center;
                }

        .comment-item .cm-button .cm-button-close {
            position: fixed;
            top: 0px;
            left: 0px;
            width: 100%;
            height: 100%;
            z-index: 10;
            display: none;
        }

        .comment-item .cm-button.open .cm-button-close, .comment-item .cm-button.open ul {
            display: block;
        }


    .comment-item .cm-action {
        margin-top: 5px;
        font-size: 13px;
    }

    .comment-item .cm-date {
        float: right;
        font-size: 12px;
        color: #666;
    }

    .comment-item .cm-reply {
        color: #365899;
    }

    .comment-item .cm-name {
        font-weight: bold;
        color: #365899;
    }

    .comment-item .cm-list-medias img {
        max-height: 300px;
    }

.comment-box-reply {
    padding: 0px 10px 0px 50px;
}

    .comment-box-reply .comment-list, .comment-box-reply .comment-input {
        display: none;
    }

    .comment-box-reply.open .comment-list, .comment-box-reply.open .comment-input {
        display: block;
    }

.cm-name-link {
    background: #d0e0ff;
}

.comment-box > .show-more {
    padding: 0 10px;
}

.comment-box .show-more a {
    font-size: 13px;
    text-decoration: underline;
}


.comment-item .cm-save {
    background: #e28824;
    color: white;
    float: right;
    padding: 0 6px;
    line-height: 25px;
    position: relative;
    margin-top: -34px;
    margin-right: 50px;
    font-size: 13px;
}

.comment-item .cm-cancel {
    background: #e28824;
    color: white;
    float: right;
    padding: 0 6px;
    line-height: 25px;
    position: relative;
    margin-top: -34px;
    margin-right: 10px;
    font-size: 13px;
}

.ContentEditor .toolbar {
    padding: 5px;
}


.comment-item.edit .cm-content, .comment-item.edit .cm-list-medias, .comment-item.edit .cm-action, .comment-item.edit .cm-button {
    display: none;
}

.form-article {
    background: white;
    max-width: 780px;
}

    .form-article .TextBox {
        width: 100%;
        height: 40px;
    }

    .form-article #editor {
        border: solid 1px #ddd;
        min-height: 250px;
        max-height: 300px;
    }


.FileUpload .file-upload-button {
    background: #ddd;
    color: black;
    font-weight: normal;
}


.post-view {
    line-height: 1.6em;
    font-family: Tahoma;
    margin: auto;
    background: white;
}

    .post-view .subject {
        font-weight: bold;
        margin-bottom: 10px;
        font-size: 20px;
    }

h2 {
    font-size: 18px;
    color: red;
}

h3 {
    font-size: 16px;
}

.nav {
    margin: 0px;
    padding: 0px 0 10px 0;
    border-bottom: solid 1px #ddd;
    color: #999;
    line-height: 30px;
    font-size: 14px;
}

    .nav a {
        color: #999;
    }

        .nav a.select {
            color: black !important;
        }

    .nav > * {
        display: inline-block;
        vertical-align: top;
        margin-right: 5px;
    }

.post-view .post-by {
    padding: 10px 0;
}

.post-view .mem-avt {
    float: left;
    margin-right: 10px;
    width: 40px;
    height: 40px;
}

.post-view .mem-name {
    font-weight: bold;
}

.post-view .post-cate {
    display: inline-block;
    vertical-align: top;
    margin-left: 5px;
    font-size: 13px;
}

.post-view a.post-cate {
    color: #396dff;
}

.post-view .post-time {
    font-size: 12px;
    color: #666;
}

.post-view .post-by {
    border-bottom: solid 1px #ddd;
}

.post-view {
    max-width: 780px;
}

    .post-view .detail {
        line-height: 1.8em;
    }

    .post-view.NewsFeed .detail {
        white-space: pre-wrap;
    }


.list-media-slide a {
    display: inline-block;
    max-width: 33.3%;
    vertical-align: top;
    margin: 5px;
}

.list-media-slide {
    font-size: 0px;
    margin: 0 -5px;
}


/*<!--Permission-->*/
.notlogin .cm-reply, .notlogin .cm-button {
    display: none !important;
}

.notlogin .post-edit, .notlogin .post-remove, .notlogin .post-report {
    display: none !important;
}

.post-item.notowner .post-edit, .post-item.notowner .post-remove {
    display: none !important;
}

.comment-item.notowner .cm-edit, .comment-item.notowner .cm-remove {
    display: none !important;
}

.nof-load {
    position: relative;
}

.count-nof {
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 16px;
    background: red;
    position: absolute;
    right: -7px;
    top: 0px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
}

.menu-nof ul {
    width: 260px;
    padding: 0px;
}

    .menu-nof ul a {
        display: block;
        padding: 10px;
        line-height: 20px;
    }

    .menu-nof ul li {
        clear: both;
    }

    .menu-nof ul a .mem-avt {
        width: 35px;
        height: 35px;
        float: left;
        margin-right: 10px;
    }

    .menu-nof ul a .mem-name {
        font-weight: bold;
        display: inline-block;
        vertical-align: top;
        margin-right: 5px;
    }


.box-profile {
    background: #ffd9af;
}


    .box-profile .infor {
        border-bottom: solid 1px #ddd;
        padding: 10px;
    }

        .box-profile .infor .mem-avt {
            float: left;
            margin-right: 10px;
            width: 70px;
            height: 70px;
        }

        .box-profile .infor .mem-name {
            font-weight: bold;
        }

        .box-profile .infor .link-contact {
            background: #f1f1f1;
            padding: 5px 10px;
            margin-top: 6px;
            border: solid 1px #ddd;
            font-weight: bold;
            font-size: 13px;
        }

        .box-profile .infor .date-join {
            font-size: 13px;
            color: #666;
            margin-top: 5px;
            display: inline-block;
        }


    .box-profile .ContentEditor {
        border: 0px;
        margin: 0 10px;
    }

    .box-profile .TextBox.link-contact {
        background: white;
        width: 240px;
        font-weight: normal;
    }

    .box-profile .Button {
        vertical-align: top;
    }

    .box-profile .LinkButton {
        text-decoration: underline;
        line-height: 32px;
        margin-left: 10px;
    }

.dialog-content {
    position: relative;
}

.post-view-close {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 20px;
}

.title-line {
    background: #f1f1f1;
    border: solid 1px #ddd;
    padding: 5px 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

.ck.ck-balloon-panel {
    z-index: 10000000 !important;
}

.post-view .detail a {
    color: red;
    text-decoration: underline;
}

.post-sticky.True, .post-unsticky.False {
    display: none !important;
}

.not-admin .post-item .post-sticky, .not-admin .post-item .post-unsticky {
    display: none !important;
}

.title-page {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: solid 1px #ddd;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

    .videoWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }


.no-paging .paging {
    display: none !important;
}

.menu-login {
    white-space: nowrap;
}

    .menu-login .Button {
        line-height: 35px;
        height: 35px;
    }

.title-form {
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.field-input {
    margin-bottom: 15px;
}

    .field-input > span {
        display: block;
        margin-bottom: 5px;
    }

    .field-input > input {
        width: 100%;
    }


    .field-input .LinkButton {
        line-height: 32px;
        text-decoration: underline;
    }
