body {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

.body-maintenance {
    font-size: 18px;
    margin: 1.5rem;
}

.page-simple {
    background-color: #e9ebee;
}

.h1, h1 {
    font-size: 2em;
}

h4, .h4 {
    font-size: 1.05em;
}

h5, .h5 {
    font-size: 0.95em;
}

h6, .h6 {
    font-size: 0.85em;
}

a {
    text-decoration: none;
}

.text-xs {
    font-size: 85%;
}

.text-sm, .text-small {
    font-size: 90%;
}

.card-body {
    padding: 1.0rem;
}

.form-group {
    margin-bottom: 1.0rem;
}

.form-check .form-group {
    margin-bottom: 0;
}

.custom-control-label {
    margin-left: 0.5rem;
}

/* .card {
    background-color: transparent;
} */

/********** TOP PAGE **********/

.breadcrumb {
    font-size: 1.1em;
}

.breadcrumb li {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}

.breadcrumb>li+li:before {
    content: '';
    display: inline-block;
    width: .425rem;
    height: .425rem;
    margin-left: .2rem;
    margin-right: .36rem;
    margin-bottom: 2px;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    transform: rotate(-45deg);
}

.breadcrumb>.active {
    color: #6c757d;
}


/********** //TOP PAGE **********/

.categories, .category>ul {
    list-style-type: none;
    padding: 0;
}


.categories>li, .category>ul>li {
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 53px;
}

.user-icon {
    display: inline-block;
    text-align: center;
    color: #eee;
    font-weight: 400;
}

.categories>li .content .forum-icon,
.category>ul>li .content .forum-icon {
    font-size: 20px;
    line-height: 20px;
    padding: 12px 5px;
    border-radius: 50%;
    margin-right: 15px;
    min-width: 46px;
    min-height: 46px;
    margin-top: 2px;
    text-align: center;
}

.forum-avt {
    width: 46px;
    height: 46px;
    border-radius: 1000px;
    overflow: hidden;
    margin-top: 2px;
    margin-right: 15px;
}

.icon .user-icon,
.categories>li .user-icon,
.categories>li .icon img,
.category>ul>li .avatar .user-icon,
.category>ul>li .avatar img,
.notification>ul>li .user-icon,
.notification>ul>li .icon img {
    border-radius: 50%;
    width: 46px;
    height: 46px;
    line-height: 46px;
    font-size: 1.4rem;
}

.icon-xs .user-icon,
.forum-item .icon,
.navbar .icon .user-icon,
.categories>li .card .user-icon,
.category>ul>li .card .user-icon,
.notification-box>ul>li .user-icon {
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 22px;
    font-size: .75rem;
    text-align: center;
    overflow: hidden;
    vertical-align: middle;
}

.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small,
.h3 small, .h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small,
.h6 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small,
h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small {
    font-weight: 400;
    line-height: 1;
    color: #6c757d;
}

.description p {
    margin-bottom: 0;
}

.pull-left {
    float: left!important;
}

.pull-right {
    float: right!important;
}

.fa.pull-left {
    margin-right: .3em;
}

.visible-lg, .visible-md, .visible-sm, .visible-xs {
    display: none!important;
}

.categories>li .content h2, .category>ul>li .content h2 {
    display: block;
    word-wrap: break-word;
    overflow: hidden;
    font-size: 18px;
    line-height: 22px;
    margin: 0;
    margin-left: 62px;
}

.post-single .title,
.categories>li .content h3, 
.category>ul>li .content h3 {
    display: block;
    word-wrap: break-word;
    /* overflow: hidden; */
    font-size: 1.1em;
    line-height: 22px;
    margin: 0;
    margin-left: 62px;
}

.categories .description, .category .description, .subcategory .description {
    /* font-size: 0.9rem; */
    font-weight: 400;
    line-height: 1.2;
    color: #6c757d;
    margin-top: 5px;
    min-height: 25px;
}

.categories .category-children, .categories .description, .category .category-children, .category .description, .subcategory .category-children, .subcategory .description {
    margin-left: 62px;
}

.stats {
    font-size: 1.4em;
    text-align: center;
    margin-top: 7px;
    line-height: 22px;
}

.stats small {
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 300;
    font-size: .55em;
}

.categories>li .card,
.category>ul>li .card {
    border-left: 4px solid #ccc;
    text-align: left;
    margin-top: 2px;
    overflow: hidden;
    height: 52px;
    font-size: .9em;
    line-height: 14px;
    border-radius: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    background-color: transparent;
}


.categories>li .card>*, .category>ul>li .card>* {
    padding-left: 15px;
}


.categories>li .card .post-content,
.category>ul>li .card .post-content {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-xs img,
.navbar .icon img,
.categories>li .card img,
.category>ul>li .card img {
    border-radius: 50%;
    width: 24px;
    height: 24px !important;
    max-width: unset !important; 
    /* margin-right: 5px; */
}

.categories>li .card p, .category>ul>li .card p {
    margin: 0;
}

a.permalink, a.permalink:active, a.permalink:focus, a.permalink:hover {
    color: #6c757d;
    text-decoration: underline;
}

.categories .category-children, .categories .description, .category .category-children, .category .description, .subcategory .category-children, .subcategory .description {
    margin-left: 62px;
}


.categories .category-children, .category .category-children, .subcategory .category-children {
    display: block;
    font-size: 15px;
}

.categories>li .category-children .category-children-item, .category>ul>li .category-children .category-children-item {
    margin-right: 10px;
}

.categories>li .category-children .icon, .category>ul>li .category-children .icon {
    min-width: 23px;
    min-height: 23px;
    font-size: 10px;
    line-height: 12px;
    padding: 5px;
    margin-right: 5px;
}

/********** CATEGORY PAGE **********/
.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    float: left;
}

.col-xs-10 {
    width: 83.33333333%;
}
.col-xs-2 {
    width: 16.66666667%;
}

.category .topic-list {
    margin-top: 10px;
}

/**** AVATAR ****/
.avatar {
    display: inline-block;
    text-align: center;
    color: #eee;
    font-weight: 400;
    min-width: 35px;
    min-height: 35px;
    border-radius: 500px;
}

.avatar.avatar-xs {
    min-width: 24px;
    min-height: 24px;
}

.avatar.avatar-xl {
    width: 128px;
    height: 128px;
    line-height: 128px;
    font-size: 7.5rem;
}

/* 
.avatar {
    display: inline-block;
    text-align: center;
    color: #eee;
    font-weight: 400;
}

.avatar.avatar-xl {
    border-radius: inherit;
    width: 128px;
    height: 128px;
    line-height: 128px;
    font-size: 7.5rem;
} */

.avatar.avatar-rounded {
    border-radius: 50%;
}

.avatar.avatar-md img,
.avatar.avatar-md .user-icon,
.members .icon .user-icon,
.members .icon img {
    margin-right: 10px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 1.14rem;
    overflow: hidden;
}

.avatar img,
.avatar .user-icon {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: .92rem;
    /* box-shadow: inset 5px 4px 7px 0px rgba(0, 0, 0, 0.22); */
}

.avatar.avatar-sm img,
.avatar.avatar-sm .user-icon {
    border-radius: 50%;
    width: 30px;
    height: 30px !important;
    line-height: 30px;
    font-size: .82rem;
    /* box-shadow: inset 5px 4px 7px 0px rgba(0, 0, 0, 0.22); */
}

.avatar.avatar-xs img,
.avatar.avatar-xs .user-icon {
    border-radius: 50%;
    width: 24px;
    height: 24px !important;
    line-height: 22px;
    font-size: .72rem;
    /* box-shadow: inset 5px 4px 7px 0px rgba(0, 0, 0, 0.22); */
}

.user-icon.icon-sm {
    font-size: 1rem !important;
}

.user-icon.icon-xs {
    font-size: .5rem !important;
}

/**** END OF AVATAR ****/

img {
    vertical-align: middle;
}

.hide {
    display: none!important;
}

.hidden {
    display: none!important;
}

.clearfix {
    clear: both;
    min-height: 1px;
}

.visible-lg-block, .visible-lg-inline, .visible-lg-inline-block, .visible-md-block, .visible-md-inline, .visible-md-inline-block, .visible-sm-block, .visible-sm-inline, .visible-sm-inline-block, .visible-xs-block, .visible-xs-inline, .visible-xs-inline-block {
    display: none!important;
}

.bg-lighter {
    background-color: #eaeaea!important;
}

.bg-light-primary {
    background-color: #d2e8ff!important;
}

.bg-light-secondary {
    background-color: #dbdbdb!important;
}

.bg-light-violet {
    background-color: #ffc7ff!important;
}

.bg-light-warning {
    background-color: #feffc7!important;
}

.bg-light-danger {
    background-color: #ffc7c7!important;
}

.bg-light-success {
    background-color: #cbffd3!important;
}

.bg-fade {
    background-color: rgba(0,0,0,.07) !important;
}

/***************** DETAIL TOPIC *****************/

.topic h1>span {
    text-transform: uppercase;
    color: #6c757d;
    display: block;
    margin-top: 8px;
}

.topic h1 .topic-title {
    word-wrap: break-word;
    font-size: 1.12em;
    color: inherit;
    line-height: 36px;
}

.topic h1 .topic-title {
    text-transform: initial;
}

.topic h1 .fa.pull-left {
    margin-top: 6px;
    font-size: 28px;
}

.topic .posts {
    list-style-type: none;
    padding: 0;
}

.topic .post-bar .icon,
.message .icon,
.topic .posts .icon {
    position: relative;
    border-radius: 50%;
    min-width: 46px;
    min-height: 46px;
    margin-top: 2px;
}

.icon-lg .user-img,
.posts-latest .icon img,
.users-liked .icon img,
.users-liked .icon .user-icon,
.message .icon img,
.message .icon .user-icon,
.topic .post-bar .icon img,
.message .icon .user-icon,
.topic .post-bar .icon .user-icon,
.topic .posts .icon .user-icon,
.topic .posts .icon img {
    border-radius: 50%;
    width: 46px;
    height: 46px;
    line-height: 46px;
    font-size: 1.4rem;
    overflow: hidden;
}

.posts-latest .icon img,
.users-liked .icon img,
.users-liked .icon .user-icon,
.icon-md img,
.icon-md .user-icon {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 1.12rem;
}

.icon-md {
    width: 35px !important;
}

.user-icon.icon-sm {
    font-size: .9rem !important;
}

.user-icon.icon-xs {
    font-size: .5rem !important;
}

.sidebar .icon .user-icon.icon-sm {
    font-size: .7rem !important;
}

.topic .posts .status {
    vertical-align: 0;
}

.topic .posts .icon>a>.status {
    position: absolute;
    right: 12px;
    font-size: 12px;
    top: 0;
}

.topic .content {
    margin-top: 10px;
    padding-bottom: 1px;
    margin-left: 61px;
    word-wrap: break-word;
    overflow: hidden;
}

.topic .content pre {
    color: #dadada;
    background-color: #002b36;
    border: none;
    box-shadow: 0 0 6px 2px rgba(28, 31, 47, 0.1);
    padding: 15px;
    white-space: pre-wrap;
    overflow-x: auto;
    border-radius: 5px;
}

.topic .content img,
.topic .content video {
    max-width: 100%;
    height: auto;
}

.topic .post-bar .content {
    margin-top: 0;
}

.topic .threaded-replies {
    text-decoration: none;
    margin-left: 60px;
    font-size: 11px;
}

.topic .stats {
    margin: 0 10px 0 10px;
    float: left;
}

@media (min-width: 992px) {
    .topic .posts .icon>a>.status {
        top: 2px;
        font-size: 16px;
    }
}

.page-link {
    line-height: 19px;
}

.page-link:not([href]) {
    color: inherit;
}

.footer {
    padding: 25px 0;
}

/***************** MEMBER *******************/
/* .col-sm-9 {
    width: 75%;
} */

.account .profile {
    padding-top: 0;
    margin-top: -45px;
}

.account .profile .user-icon {
    border-radius: 50%;
    width: 90px;
    height: 90px;
    line-height: 90px;
    font-size: 2.4rem;
    border: 3px solid #fff;
}

.account .card-header {
    min-height: 100px;
}

.account .profile .account-stats {
    text-align: center;
    font-size: 35px;
    line-height: 33px;
    margin-top: 25px;
    margin-bottom: -20px;
}

.account .profile .account-stats .stat {
    display: inline-block;
    min-width: 100px;
    margin-bottom: 20px;
}

.account .profile .account-stats .stat-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #6c757d;
}

/********** POST LIST ************/
.posts-list {
    list-style-type: none;
    padding-left: 0;
}

.posts-list .posts-list-item {
    width: 100%;
    margin-bottom: 0;
}

.posts-list .posts-list-item .post-body {
    position: relative;
    border-right: 2px solid #337ab7;
    min-height: 100px;
}

.posts-list .posts-list-item .post-info {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 175px;
    height: 28px;
    margin-top: -14px;
    font-size: 10px;
}

.posts-list .posts-list-item .topic-title {
    color: #333;
    font-weight: 900;
    text-decoration: normal;
}

.posts-list .posts-list-item .content {
    max-height: 240px;
    position: relative;
    clear: left;
    display: block;
    overflow: hidden;
    padding-right: 10px;
    margin-top: 5px;
    clear: both;
}

.posts-list .posts-list-item .topic-category {
    text-transform: uppercase;
    font-size: 10px;
    color: #a6a6a6;
    margin-top: 6px;
    margin-right: 10px;
    margin-bottom: 25px;
    display: inline-block;
    margin-top: 10px;
}

.posts-list .posts-list-item .content p {
    margin: 0 0 2px;
}

.posts-list .posts-list-item .post-info .post-author {
    padding-left: 25px;
    color: #a6a6a6;
    text-transform: uppercase;
}

.posts-list .posts-list-item .post-info .post-author a {
    color: #6c757d;
    font-weight: 900;
}

.posts-list .posts-list-item .post-info .post-author-avatar {
    position: absolute;
    top: 50%;
    margin-top: -14px;
    margin-left: -14px;
}

.posts-list .posts-list-item .user-img {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 0.91rem;
}

.last-post .author {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.topic .post-footer {
    margin-left: 61px;
}

.topic .post-signature {
    font-size: 12px;
    border-top: 1px dashed #dedede;
    padding: 10px 0;
    display: block;
    max-width: 100%;
    word-wrap: break-word;
    color: #828282;
}

.topic .post-header,
.notifications .post-footer,
.notification-box .post-footer {
    color: #a2a2a2;
}


@media (max-width: 768px) {
    .posts-list .posts-list-item .post-info {
        width: 100px;
    }
}

.tags {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-right: -15px;
    display: flex;
    flex-wrap: wrap;
}

.tags li {
    justify-content: flex-start;
    margin: 0 .36rem .6rem 0;
    overflow: hidden;
}

.tags .tag-item {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    min-height: 1.8rem;
    padding-left: .8rem;
    padding-right: .8rem;
    background-color: #dfe3e8;
    border-radius: 15px;
    color: #212b36;
}

.tags .tag-item .btn-times {
    margin-right: -.5rem;
}

.pagination .page-item .fa {
    font-size: 1.1rem;
}

.btn {
    font-size: inherit;
}

.btn-width-sm {
    min-width: 112px;
}

.user-icon:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.user-icon-full {
    position: relative;
    width: 100%;
    padding-top: 100%;
    height: 0;
}

.user-icon-full .user-img,
.user-icon-full .user-icon {
    width: 100% !important;
    height: 100% !important;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.navbar-home {
    /* border-bottom: 1px solid #dedede; */
    font-size: 1.15em;
}

.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}

.dropdown-menu {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.border-dotted {
    border-style: dotted;
}

.border-dashed {
    border-style: dashed;
}

/**********************************/
.btn-like.active {
    background-color: #2bb15a !important;
    border-color: #2bb15a !important;
    color: #fff !important;
}

.btn-like.active .text-like,
.btn-like .text-liked {
    display: none;
}

.btn-like .text-like,
.btn-like.active .text-liked {
    display: inline;
}


.notify {
    display: none;
    border-radius: 2px;
    position:fixed;
    bottom: 10px;
    left: 50%;
    margin-left:-200px;
    width: 400px;
    z-index: 99995;
    text-align:center;
    font-size:16px;
    color: white;
    background-color:rgba(0, 0, 0, 0.9);
    padding:15px;
}

.categories>li .mobile-stat, .category>ul>li .mobile-stat {
    padding-left: 0;
    font-size: 16px;
}

@media (max-width: 767px) {
    .visible-xs {
        display: block!important;
    }
    .hidden-xs {
        display: none!important;
    }
    .visible-xs-inline {
        display: inline!important;
    }

    .categories>li, .category>ul>li {
        border-top: 1px solid #eee;
    }
    .categories>li:last-child, .category>ul>li:last-child {
        border-bottom: 1px solid #eee;
    }
}

@media (max-width: 991px) {
    .message .user-img,
    .categories>li .content .user-icon, 
    .categories>li .content .user-img,
    .category>ul>li .content .user-icon, 
    .category>ul>li .content .user-img {
        border-radius: 50%;
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 1.5rem;
        margin-right: 8px;
    }

    .hidden-md {
        display: none!important;
    }

    .categories>li .content h2, .category>ul>li .content h2 {
        margin-left: 40px;
    }

    .topic .posts .icon {
        min-width: 0;
        min-height: 0;
        margin-top: -3px;
    }

    .topic .posts .icon .user-icon, .topic .posts .icon img {
        border-radius: 50%;
        width: 23px;
        height: 23px;
        line-height: 23px;
        font-size: .63rem;
    }

    .topic .content {
        margin-left: 0;
    }

    .topic .post-footer {
        margin-left: 0;
    }
}

.sidebar ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebar .user-profile .content,
.sidebar ul > li .content {
    margin-bottom: .5rem;
}

.sidebar .user-profile .content,
.sidebar .users-liked .content {
    margin-left: 50px;
    min-height: 40px;
}

.card-header h2, .card-header .h2 {
    font-size: 1.3em;
}

.sidebar h2 {
    font-size: 1.13em;
}

.sidebar h3 {
    font-size: 1.1em;
}

.sidebar img,
.sidebar video {
    max-width: 100%;
    height: auto;
}

.sidebar .user-profile .user-name,
.sidebar ul .post-title,
.sidebar ul .user-name {
    font-size: 1.07em;
    margin-bottom: 0;
}

/* 
.sidebar .card {
    border: none;
    background-color: transparent;
}

.sidebar .card .card-body {
    padding-left: 0;
    padding-right: 0;
} */

.posts-latest .comment-counter:before {
    content: "";
    width: 3px;
    height: 3px;
    background-color: #939393;
    display: inline-block;
    border-radius: 50%;
    margin: 2px 0;
    margin-right: 6px;
}

.info-meta > time + span:before,
.info-meta > span + span:before,
.post-meta > a + time:before,
.post-meta > span + time:before,
.post-meta > span + span:before {
    content: "";
    width: 3px;
    height: 3px;
    background-color: #939393;
    display: inline-block;
    border-radius: 50%;
    margin: 2px 0;
    margin-right: 6px;
}

.mymention {
    color: #03bb03;
}

.post .mymention {
    cursor: pointer;
}

.post .mymention:hover {
    text-decoration: underline;
}

.tox-tinymce {
    border-radius: 5px !important;
}

blockquote {
    padding-left: 10px;
    background: #f5f5f5;
    border: 1px solid #e7e7e7;
    border-left: 3px solid #b7b7b7;
}

.nav-message,
.nav-notification {
    position: relative;
    padding-right: 20px !important;
    cursor: pointer;
}

#messageBox a {
    text-decoration: none;
}

.badge {
    font-weight: unset !important;
    color: #333;
}

.badge-bubble {
    position: absolute;
    top: 1px;
    left: 17px;
}

.badge-staff {
    color: #5d707f;
    background-color: #dce0e2;
}

/** User Badge & Title  */
.user-badge .user-title {
    font-size: 93%;
}

.user-badges > span:not(:first-child):before {
/* .user-badge .badge-staff + .user-title:before { */
    content: "";
    display: inline-block;
    background-color: #999;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    margin-left: 6px;
    margin-right: 6px;
    vertical-align: middle;
}

.popover-body {
    padding-left: 0;
    padding-right: 0;
}

.notification-box {
    max-height: 400px;
    overflow-y: auto;
}

.notifications a,
.notification-box a {
    text-decoration: none;
    color: #333;
}

.notifications .post,
.notification-box .post {
    position: relative;
    display: block;
    padding: .5rem .5rem;
    border-bottom: 1px solid #efefef;
}

.notification-box .post:last-child {
    border-bottom: 0;
}

.notifications .post .post-header a,
.notification-box .post .post-header a {
    font-weight: 500;
    text-decoration: none;
}

.notifications ul>li .title,
.notification-box ul>li .title {
    display: block;
    word-wrap: break-word;
    overflow: hidden;
    margin: 0;
    margin-left: 62px;
}

.notifications ul>li .title {
    padding-right: 33px;
}

.notification-box ul>li .title {
    margin-left: 33px;
}

.notifications .timeago {
    font-size: .8rem;
}

.popover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.notification-box .list-group,
.notification-box.active .notfound {
    display: none;
}

.notification-box.active .list-group,
.notification-box .notfound {
    display: block;
}

.notifications .post em,
.notification-box .post em {
    font-weight: 600;
    font-style: normal;
}

.popover {
    max-width: 380px;
    min-width: 320px;
    top: -5px !important;
}

@media (max-width: 400px) {
    .popover {
        margin-left: 10px;
    }
}

.navbar .icon {
    margin-right: 5px;
    margin-top: -2px;
}

.action-right {
    position: absolute;
    top: 10px;
    right: 0px;
}

.post .btn-read {
    display: none;
}

.post.active:hover .btn-read {
    display: block;
}

.copyright {
    padding-top: .5rem;;
    padding-bottom: .5rem;;
}

.media-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0;
    overflow: hidden;
}

.media-container iframe,
.media-container object,
.media-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


#loading-bar {
    display: block;
    position: fixed;
    top: 0;
    left: 50%;
    right: auto;
    width: auto;
    margin-left: -42px;
    color: white;
    background-color: #134d7f;
    padding: 5px 15px;
    z-index: 9999;
    border-radius: 0 0 10px 10px;
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 54px;
    height: 30px;
  }
  .lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 8px;
    background: #fff;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
  }
  .lds-facebook div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
  }
  .lds-facebook div:nth-child(2) {
    left: 24px;
    animation-delay: -0.12s;
  }
  .lds-facebook div:nth-child(3) {
    left: 40px;
    animation-delay: 0;
  }
  @keyframes lds-facebook {
    0% {
      top: 4px;
      height: 26px;
    }
    50%, 100% {
      top: 10px;
      height: 16px;
    }
}

.modal .modal-body {
    color: #333 !important;
}

.rounded-500 {
    border-radius: 500px;
}

.forum-children {
    padding-left: 0;
    list-style: none;
    margin-left: 62px;
}

.forum-children > li {
    float: left;
    margin-bottom: 10px;
    margin-right: 10px;
}

.forum-children .forum-item .title {
    padding: 2px 0;
    display: inline-block;
}


/**** FORUM PLANS  - MEMBERSHIP ****/
.plan-price {
    font-size: 2.0rem;
    text-shadow: 0 0 3px #ccc, 0 0 5px #999;
}

.plan-price-sub {
    font-size: 1.2rem;
    text-shadow: 0 0 3px #ccc, 0 0 5px #999;
}

.plan-price-unit {
    text-align: center;
    margin-bottom: 15px;
}

.pricing .list-group > li {
    background: url(https://cdn-a.xenforum.net/img/check.svg) no-repeat center left 10px;
    background-size: 24px 24px;
    padding-left: 40px;
}

.pricing .list-group > li.empty {
    background: unset;
}

.pricing .list-group > li.uncheck {
    background: url(https://cdn-a.xenforum.net/img/remove.svg) no-repeat center left 10px;
    background-size: 24px 24px;
}

.payment-logos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.payment-logos .logos {
    background: url(https://cdn-a.xenforum.net/img/icon-payments-logos.svg) center -27px no-repeat;
    background-size: 100%;
    width: 298px;
    height: 25px;
    margin: 15px 0;
}

/** USER BADGE BOX */
.first-post-top {
    position: relative;
    width: max-content;
}

.first-post-top .badge-wrapper {
    position: relative;
    margin-right: 5px;
    display: inline;
}

.first-post-top .badge-wrapper:hover .badge-tooltip {
    cursor: default;
}

.first-post-top .badge-wrapper:hover .badge-box {
    display: block;
}

.first-post-top small {
    font-weight: 500;
}

.first-post-top .badge-box {
    display: none;
    position: absolute;
    width: 250px;
    bottom: calc(100% + 5px);
    left: -65px;
    background-color: #fff;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,0.35);
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    z-index: 99;
}

.first-post-top .box-content-inner {
    padding-bottom: 10px;
}

.first-post-top .box-content-inner .badge-icon {
    padding: 5px 10px;
    background-color: #F7F7F7;
    border-bottom: 1px solid #e0e0e0;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.first-post-top .box-content-inner .badge-description {
    padding: 10px 10px;
}

.first-post-top .badge-box-arrow {
    position: absolute;
    width: 0;
    height: 0;
    bottom: -11px;
    left: 50%;
    margin-left: -11px;
    border: 11px solid transparent;
    border-bottom-width: 0;
    border-top-color: #d8d8d8;
}

.first-post-top .badge-box-arrow:after {
    position: absolute;
    content: '';
    bottom: 1px;
    left: -10px;
    border: 10px solid transparent;
    border-bottom-width: 0;
    border-top-color: #fefefe;
}

.first-post-top .box-content-inner .infinite i {
    animation: rotate-infinite 1.5s linear infinite;
    margin-right: 5px;
}

@keyframes rotate-infinite {
    0 {
      transform: rotateY(0);
    }
    50% {
      transform: rotateY(180deg);
    }
    100% {
      transform: rotateY(0deg);
    }
}


/** // USER BADGE BOX */


/** CHAT CONVERSATION Style */
.inbox_people {
    background: #f8f8f8 none repeat scroll 0 0;
    overflow: hidden;
    border: 1px solid #c4c4c4;
}

.chat_img {
    float: left;
    width: 60px;
}

.chat_img img,
.chat_img .user-icon {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.14rem;
    overflow: hidden;
}

.chat_content {
    padding: 0 0 0 15px;
    width: 100%;
}

.chat_content h5 {
    font-size: 15px;
    color: #464646;
    margin: 0 0 8px 0;
}

.chat_content h5 span {
    font-size: 13px;
    float: right;
}

.chat_content .content-strip {
    font-size: 12px;
    color: #989898;
    margin: auto;
}

.chat_content .chat_date {
    font-size: 13px;
    float: right;
}

a.text-dark:hover {
    text-decoration: none;
}

.chat_people {
    overflow:hidden;
    clear:both;
}

.chat_list {
    border-bottom: 1px solid #d8d8d8;
    padding: 10px 10px;
}

.message-row { 
    overflow: hidden;
    margin-bottom: 10px;
}

.message-row + .message-row {
    margin-top: 5px;
}

.incoming_msg .message-row-inner,
.outgoing_msg .message-row-inner {
    display: flex;
    max-width: 80%;
}

.outgoing_msg .message-row-inner {
    float: right;
    clear: both;
}

.message-info {
    list-style: none;
    padding-left: 0;
    margin-bottom: 5px;
}

.outgoing_msg .message-info {
    text-align: right;
}

.message-info li {
    display: inline-block;
}

.message-info li:not(:last-child) span:after {
    content: "";
    width: 3px;
    height: 3px;
    background-color: #939393;
    display: inline-block;
    border-radius: 50%;
    margin: 2px 3px;
}

.incoming_msg .message-content {
    background: #ebebeb none repeat scroll 0 0;
    border-radius: 12px;
    margin-bottom: 3px;
    padding: 10px 12px;
    word-break: break-word;
}

.outgoing_msg .message-content {
    background: #2196f3 none repeat scroll 0 0;
    border-radius: 12px;
    margin-bottom: 3px;
    padding: 10px 12px;
    word-break: break-word;
    color:#fff;
}

.outgoing_msg .message-content a {
    color:#28ff43;
}

.posts .icon .user-icon,
.posts .icon img,
.members .icon .user-icon,
.members .icon img,
.message-icon .icon img,
.message-icon .icon .user-icon,
.user-box .icon img,
.user-box .icon .user-icon {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.14rem;
    overflow: hidden;
}

.message-icon .icon img,
.message-icon .icon .user-icon,
.user-box .icon img,
.user-box .icon .user-icon {
    margin-right: 10px;
}

/** //- CHAT CONVERSATION Style */

/** USER BOX */
.page-messages-header .user-box {
    display: flex;
    flex-direction: row;
}

/** // USER BOX */

/** ICON ONLINE */
.icon.online,
.user-profile-avt.online {
    position: relative;
    height: 100%;
}

.icon.online:before {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 100px;
    background-color: #00d84d;
    top: 65%;
    right: -5%;
    z-index: 10;
    border: 1px solid white;
    /* box-shadow: 0px 0 5px #929292; */
}

.icon.user-icon-full.online:before {
    top: 81%;
    left: 83%;
}

.icon.icon-xs.online:before {
    width: 8px;
    height: 8px;
    /* right: 5%; */
}

.user-profile-avt.online:before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 100px;
    background-color: #00d84d;
    bottom: 9px;
    right: 9px;
    border: 1px solid white;
    /* box-shadow: 0px 0 5px #929292; */
}
/** // ICON ONLINE */

/** GUTTERS - SMALL GUTTERS */
.gutter-sm {
    margin-right: -5px;
    margin-left: -5px;
}

.gutter-sm>.col, .gutter-sm>[class*=col-] {
    padding-right: 5px;
    padding-left: 5px;
}


.members .card .last-activity {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background-color: white;
    display: none;
}

.members .card:hover .last-activity {
    display: block;
}

.btn-group.btn-group-special {
    display: flex;
}

.btn-group-special .btn {
    flex: 1
}

.post-desc-sm .icon.online:before {
    top: 13px !important;
    right: -4px !important;
}

.members .card:hover,
.search .card:hover {
    box-shadow: 0px 0px 8px rgba(0, 79, 125, 0.25);
}

/* @media (min-width: 992px) {
    #navbarNavDropdown2 {
        display: none !important;
    }
} */
/** // GUTTERS - SMALL GUTTERS */

/** LIKE ICON in member list */
.members-list .users-liked .content i {
    background-color: #007bfe;
    color: white !important;
    padding: 4px;
    font-size: 10.5px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    vertical-align: bottom;
    box-shadow: inset 1px 6px 9px 0px rgba(253, 253, 253, 0.27);
}
/** // LIKE ICON in member list */

/** TAGS SUGGESTION in form new topic */
.autocomplete-suggestion-wrapper {
    position: relative;
    z-index: 9999;
}

.autocomplete-suggestion-tags {
    position: absolute;
    width: 300px;
}

.autocomplete-suggestions {
    /* overflow: auto; */
    border: 1px solid #CBD3DD;
    border-radius: 4px;
    background: #FFF;
    z-index: 99;
    /* max-height: 130px; */
    z-index: 9999;
}

.autocomplete-selected,
.autocomplete-kselected {
    background: #F0F0F0;
}

.autocomplete-suggestion:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}
.autocomplete-suggestion {
    display: block;
    overflow: hidden;    
    padding: .375rem .75rem;
    white-space: nowrap;
}

a.autocomplete-suggestion {
    text-decoration: none; 
    cursor: pointer; 
}

/** // TAGS SUGGESTION in form new topic */
.card-header .btn-collapse {
    margin: -5px -15px;
    padding: 5px 10px;
    color: #999;
    border-radius: 100px;
}

.card-header .btn-collapse:hover {
    color: #333;
    background-color: rgb(208, 208, 208, 16%);
}

.btn-collapse .rotate {
    transition: .3s transform ease-in-out;
}

.btn-collapse.collapsed .rotate {
    transform: rotate(180deg);
}

/** FOLLOW - FOLLOWING **/
.btn-follow .active {
    display: none;
}
.btn-follow .inactive {
    display: inline;
}

.btn-follow.following .active {
    display: inline;
}
.btn-follow.following .inactive {
    display: none;
}

.btn-follow:disabled .fa-rss,
.btn-follow .fa-spinner {
    display: none;
}

.btn-follow .fa-rss,
.btn-follow:disabled .fa-spinner {
    display: inline-block;
}

.image-error {
    width: 200px;
    height: 200px;
    background: #f5f5f5;
    text-align: center;
    padding: 39px;
    border-radius: 500px;
    margin: auto;
}


ul.categories li .description img,
.page-category .description img {
    max-width: 100%;
}

/** MESSAGE READ MORE */
.readmore_item:not(.full-content) .second-part,
.readmore_item:not(.full-content) .read_less,
.readmore_item.full-content .read_more {
    display: none;
}

.readmore_item .read_more,
.readmore_item .read_less {
    font-weight: bold;
    margin-left: 2px;
    color: blue;
    cursor: pointer;
    white-space: nowrap;
}

/*** IMAGE LIST */
.images-list {
    margin: 0;
    padding: 0;
}

.images-list > li {
    list-style: none;
    display: inline-block;
    margin-right: 5px;
    position: relative;
    vertical-align: top;
}

.images-list > li:last-child {
    margin-right: 0;
}

.images-list .image-item {
    display: inline-block;
    max-width: 90px;
    max-height: 90px;
    height: auto;
    overflow: hidden;
}

.images-list .image-item img {
    width: 90px;
}

.images-list.image-lg .image-item {
    max-width: 180px;
    max-height: 200px;
}

.images-list.image-lg .image-item img {
    width: 180px;
}

.images-list li .btn-times  {
    position: absolute;
    top: 0;
    right: 0;
    line-height: 16px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
}

.images-list li .btn-times:hover {
    background: rgba(0, 0, 0, 0.4);
    color: rgba(249, 0, 0, 0.5);
}

/** UPLOAD */
.box__wrapper {
    font-size: 1.05rem;
    background-color: #c8dadf;
    position: relative;
    padding: 50px 20px;
    text-align: center;
}
.box__wrapper .box__file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.box__wrapper.has-advanced-upload {
    outline: 2px dashed #92b0b3;
    outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
}
.box__wrapper.has-advanced-upload .box__dragndrop {
    display: inline;
}
.box__wrapper.is-dragover {
    background-color: grey;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}

img.header-logo {
    transition: height 0.5s;
}

.sticky img.header-logo {
    height: 25px;
}

/** BLOCKING USERS */
.btn-blocking {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.btn-blocking .fa-spinner,
.btn-blocking span.active {
    display: none;
}

.btn-blocking span.inactive {
    display: inline-block;
}

.btn-blocking.actived span.active {
    display: inline-block;
}

.btn-blocking.actived span.inactive {
    display: none;
}

.btn-blocking:disabled .fa-ban,
.btn-blocking .fa-spinner {
    display: none;
}

.btn-blocking .fa-ban,
.btn-blocking:disabled .fa-spinner {
    display: inline-block;
}
