html, body, div, article, iframe {
    word-wrap: break-word;
    overflow-x: hidden;
    overflow-y: hidden;
}

body {
    background-position: center;
    color:#000;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
    max-width: 950px;
    margin: auto;
}

a, a:hover{
    text-decoration: none; 
}

.overflow {
    overflow: hidden;
}


.color,
.p-text a {
    color: var(--blue);
}

.light {
    background-color: #f7f7f7;
}

.gray,
.menu,
.chpass::before {
    background-color: #efeff7;
}

.green {
    background-color: #42b629;
    color: #fff;
}

.orange {
    color: #fff794;
}

.border {
    border-color: var(--blue) !important;
}

.yellow {
    background-color: #fffbe6;
    border-color: #e6ca21 !important;
    color: #7b7510;
}

/* LOGIN */
.login input:not([type="checkbox"]) {
    display: block;
    border: none;
    padding: 8px 12px;
    border-width: 1px;
    border-style: solid;
    width: 100%;
}

.login [type="submit"],
.edit [type="submit"] {
    background-color: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.login label {
    font-weight: 600;
    color: #8a8a8e;
}

.login [type="text"],
.login [type="password"],
.login [type="email"] {
    border-color: #aaa;
}

/* header */
.logo img {
    height: 30px;
}

nav.fb a {
    display: inline-block;
    padding: 4px 12px;
}

nav.fb a.active,
nav.fb a:hover {
    background-color: #ffffff55;
}

video {
    text-align: center;
    margin: 0 auto;
    display: block;
    width: 70%;
    height: auto
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

html {
    overflow-y: scroll !important
}

:focus {
    outline: 0
}

form {
    font-size: 1.2rem
}

h3 {
    padding: 0 0 2px
}

hr {
    border: 0;
    border-top: 1px solid gray
}

p {
    margin-bottom: 6px;
    margin-top: 6px
}

ul {
    padding-left: 20px
}

input+input {
    margin-left: 4px
}

select {
    padding: 3px
}

textarea {
    width: 100%;
    resize: vertical
}

.hide {
    display: none
}

.text {
    padding: 4px
}

.list1,
.list2,
.text,
.post>.postbody>.content {
    word-wrap: break-word
}

.logo {
    font-weight: 700;
    font-size: 30px;
}

.card {
    /*background: none;*/
    border: none;
    border-radius: none;
}

header .card-header {
    backdrop-filter: blur(7px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: #3a599c;
    border: 1px solid rgba(255, 255, 255, 0.125);
    color: #fff;
    /*margin-top: 4px;*/
    padding: 10px;
    border-radius: none;
}
header .card-header a {
    color: #fff
}

main .card-header {
    background-color:#efeff7;
    border:#ddd solid 0.5px;
    border-bottom: #f0b400 solid .5px;
    font-weight: 500;
}
main .card-body {
    position:relative;
    padding:0.5rem;
    margin:0;
    border:1px solid transparent;
    border-radius:0;
    background: url(../images/gray.jpg);
}
main hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0 10px;
}

footer .card-header {
    background-color:#242c33;
    color:#333;
    padding-top:5px;
    font-size:13px;
    padding-bottom:5px;
    border-bottom:3px dashed #1b1e25
}
footer .card-body {
    text-align:center;
    color:#fff;
    padding-bottom:5px;
    padding-top:5px;
    background-color:#1b1e25;
    margin-top:5px dashed #ffffff;
    padding-left:5px;
    -webkit-border-bottom-right-radius:1px;
    -webkit-border-bottom-left-radius:1px;
    border-bottom:0px solid #39434D;
}

.alert{position:relative;padding:0.5rem;margin:0;border:1px solid transparent;border-radius:0}
.alert-warning {background-color: #fffbe6;border-color: #e6ca21 !important;color: #7b7510;}

div {
    border-radius: 0 !important;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.divider hr {
    flex: 1;
    border: none;
    border-top: 1px solid #ccc;
    margin: 0 10px;
}

.divider span {
    padding: 0 10px;
    color: #666;
    font-weight: bold;
}

::selection {
    color: #fff;
    background: #159f85
}

::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-track {
    background-color: #fff
}

::-webkit-scrollbar-thumb {
    background-color: #07b
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ccc
}

::-webkit-scrollbar-thumb:active {
    background-color: #ccc
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: auto;
    justify-content: center;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 450px) {

    .pagination li.first,
    .pagination li.last {
        display: none;
    }
}

.pagination>li>a {
    display: block;
    color: #555
}

.pagination>li {
    color: #333;
    float: left;
    font-size: 13px;
    list-style: none;
    background: #fff;
    padding: 0 15px;
    line-height: 35px;
    margin: 0 5px 5px 0;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #d9d7dc
}

.pagination>li.active {
    color: #fff !important;
    background: #8cafc6;
}
.pagination>li.active a {
    color: #fff !important;
}


.list-group-item,
.news,
.menu,
.list1,
.list2 {
    border: 1px solid #dee2e6;
    border-width: 0 1px 1px;
    padding: 8px
}

.list1:hover:hover {
    border-left: 4px solid #25b37a
}

.topic.cat_red {
    background-color: #f6d6d7;
    border: 1px solid #D32F2F;
    color: #7d1f22;
    line-height: 14px;
    vertical-align: baseline;
    white-space: nowrap;
    padding: 1px 4px 2px
}

.topic.cat_blue {
    background-color: #cce4f6;
    border: 1px solid #0288D1;
    color: #00487f;
    line-height: 14px;
    vertical-align: baseline;
    white-space: nowrap;
    padding: 1px 4px 2px
}

.topic.cat_green {
    background-color: #cfe5cf;
    border: 1px solid #388E3C;
    color: #0a4a0a;
    line-height: 14px;
    vertical-align: baseline;
    white-space: nowrap;
    padding: 1px 4px 2px
}

.topic.cat_orange {
    background-color: #fff1cc;
    border: 1px solid #E64A19;
    color: #664a00;
    line-height: 14px;
    vertical-align: baseline;
    white-space: nowrap;
    padding: 1px 4px 2px
}

img {
    max-width: 100%;
    height: auto
}

.button {
    background-color: #e7e7e7;
    border: none;
    color: #000;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer
}

a.bbcode {
    text-decoration: none;
    background-color: #e3e8ea;
    padding: 4px;
    color: #000;
    border-radius: 4px;
    font-size: 14px;
    margin: 1px;
    line-height: 2.1
}

.blog_info {
    border-bottom: 1px solid #a8d9f6
}

.blog_info .thumb_blog img {
    border-radius: 50%
}

.blog_info {
    background-color: #fcfcfc;
    padding-top: 5px;
    padding-bottom: 6px
}

.blog_info .thumb_blog {
    float: left;
    margin: 2px 5px 5px
}

.blog_info .more_info {
    padding-left: 20px
}

.blog_info .more_info .row {
    display: block;
    font-weight: 700;
    padding-bottom: 3px
}

.blog_info .more_info .row.more {
    font-size: 10.5px;
    color: gray
}

.category {
    overflow: hidden
}

.listcat {
    list-style: none outside none;
    float: left;
    width: 100px;
    height: 100px;
    margin: 2px;
    text-align: center
}

.lv-120 {
    background: linear-gradient(90deg, #A0FE65, #FA016D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.lv-126 {
    background: linear-gradient(90deg, #DC143C, #753a88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.lv-127 {
    background: linear-gradient(90deg, #cc2b5e, #753a88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.imgAvtUser {
    border-radius: 50%
}

.chatbox {
    background-color: #efecec;
    line-height: 1.3em;
    position: relative;
    text-align: left;
    border-top-left-radius: 4px 4px;
    border-top-right-radius: 4px 4px;
    border-bottom-right-radius: 4px 4px;
    border-bottom-left-radius: 4px 4px;
    border-width: 1px;
    border-style: solid;
    margin: 4px;
    padding: 5px;
    border-color: #efecec;
    padding: 10px
}

.chatbox .textchat {
    bottom: 100%;
    pointer-events: none;
    height: 0;
    width: 0;
    position: absolute;
    top: -21px;
    left: 10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #efecec
}

button,
input,
select,
textarea,
optgroup {
    font: inherit;
    margin: 0
}

optgroup {
    font-weight: 700
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

.w3-code,
.w3-codespan {
    font-family: Consolas, "courier new";
    font-size: 16px
}

.w3-code {
    width: auto;
    background-color: #fff;
    padding: 8px 12px;
    border-left: 4px solid #4CAF50;
    word-wrap: break-word
}

.w3-codespan {
    color: #dc143c;
    background-color: #f1f1f1;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 110%
}

.w3-input {
    padding: 8px;
    display: block;
    border: none;
    border-bottom: 1px solid #ccc;
    width: 100%
}

.w3-border-0 {
    border: 0 !important
}

.w3-border {
    border: 1px solid #ccc !important
}

.w3-select {
    padding: 9px 0;
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc
}

.w3-check,
.w3-radio {
    width: 24px;
    height: 24px;
    position: relative;
    top: 6px
}

.nounderline {
    text-decoration: none !important
}

.w3-modal {
    z-index: 3;
    display: none;
    padding-top: 100px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.4)
}

.w3-modal-content {
    margin: auto;
    background-color: #fff;
    position: relative;
    padding: 0;
    outline: 0;
    width: 600px
}

@media (max-width:768px) {
    .w3-modal-content {
        width: 500px
    }

    .w3-modal {
        padding-top: 50px
    }
}

@media (min-width:993px) {
    .w3-modal-content {
        width: 900px
    }

    .w3-hide-large {
        display: none !important
    }

    .w3-sidebar.w3-collapse {
        display: block !important
    }
}

@media (max-width:600px) {
    .w3-modal-content {
        margin: 0 10px;
        width: auto !important
    }

    .w3-modal {
        padding-top: 30px
    }
}

.redactor_toolbar {
    /*background: url(https://i.imgur.com/yefRrRh.png) repeat-x scroll center top #F0F7FC;*/
    padding: 0 0 0 2px;
    margin: auto;
    border-bottom: 1px solid #D7EDFC;
    position: relative;
    left: 0;
    top: 0;
    line-height: 0;
    list-style: outside none none;
    overflow: hidden
}

.redactor_btn_group {
    background: url(https://i.imgur.com/yefRrRh.png) repeat-x scroll center top #F0F7FC;
    padding: 1px;
    margin: 0;
    border: 1px solid #D7EDFC;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
    outline: medium none;
    list-style: none outside none;
    margin: 2px 2px 2px 2px;
    float: left
}

.redactor_toolbar li a {
    text-align: center;
    border: 1px solid transparent;
    box-sizing: border-box;
    display: block;
    cursor: pointer;
    outline: medium none;
    width: 24px;
    height: 24px;
    float: left;
    outline: medium none
}

.redactor_toolbar li a:hover {
    background-color: #FCFCFF;
    border-color: #A5CAE4;
    border-radius: 3px;
    outline: medium none
}

.sub {
    border-top: 1px dotted #ccc;
    font-size: 16px;
    margin-top: 4px
}

.breakWord {
    word-wrap: break-word;
    white-space: normal
}

#phan-trang span,
#phan-trang a {
    margin-left: 5px
}

.dorew-postforum-post {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid #C3D7DF;
}

.dorew-postforum-post+.dorew-postforum-post {
    border-top: none;
}

@media (max-width:767px) {
    .dorew-postforum-post {
        border: none;
        border-bottom: 1px dotted #C3D7DF;
    }
}

.dorew-postforum-content {
    margin-bottom: 10px;
}

.dorew-postforum-title {
    font-size: 1.2em;
    color: #00a;
    text-decoration: none;
}

.dorew-postforum-meta {
    margin: 5px 0;
    font-size: 0.9em;
    color: #666;
}

.dorew-postforum-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #666;
}

.dorew-postforum-stat {
    display: flex;
    align-items: center;
}

.dorew-postforum-stat span {
    margin-right: 5px;
    font-weight: bold;
}

@media (min-width: 600px) {
    .dorew-postforum-post {
        flex-direction: row;
        justify-content: space-between;
    }

    .dorew-postforum-content {
        flex: 3;
    }

    .dorew-postforum-stats {
        display: block;
    }
}