.chat {
    width: 100%;


    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #434651;
    background-color: #fefefe;
}

.chat .chat-history {
    padding: 30px 0 20px 30px;
}

.chat .chat-history ul {
    overflow-y: scroll;
    padding-right: 30px;
    height: 575px;
}

.chat .chat-message {
    padding: 30px 30px 0 0;

}

.chat .chat-message textarea {
    width: 100%;
    border: 2px solid #dee2e6 !important;
    outline: 0 none;
    padding: 10px 20px;
    font: 14px/22px "Lato", Arial, sans-serif;
    margin-bottom: 10px;
    border-radius: 5px;
    resize: none;
}

.pill-button {
    border-radius: 1rem;
    background-color: #b3331a;
    border: none;
    padding: 10px 30px;
    transition: all 0.3s ease;
    font-size: 16px;
    display: inline-block;
    color: #ffffff;
}

.chat .chat-history .message-data {
    margin-bottom: 15px;
}

.chat .chat-history .message-data-time {
    color: #a8aab1;
    padding-left: 6px;
}

.online {
    color: #86BB71;
}

.chat .chat-history .my-message {
    background: #c53e16;

}

.chat .chat-history .message {
    color: white;
    padding: 8px 16px;
    line-height: 26px;
    font-size: 14px;
    border-radius: 7px;
    margin-bottom: 30px;
    width: 90%;
    position: relative;
}

.chat .chat-history .message:after {
    bottom: 100%;
    left: 7%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #86BB71;
    border-width: 10px;
    margin-left: -10px;
}

.chat .chat-history ul {
    overflow-y: scroll;
    padding-right: 30px;
    height: 464px;
}


.chat .chat-history ul::-webkit-scrollbar {
    width: 8px;
    background-color: #ffffff;
    border-radius: 100px;
    border: none;
}

.chat .chat-history ul::-webkit-scrollbar-thumb {
    background-color: #3a3a3c;
    border: 2px solid #121212;
    border-radius: 100px;
    border: none;
    margin-left: 20px;
    height: 20px;
}

.chat .chat-history .other-message {
    background: #15b8dd;
}

.float-right {
    float: right !important;
}

.align-right {
    text-align: right;
}

.chat .chat-history .other-message:after {
    border-bottom-color: #94C2ED;
    left: 93%;
}


.me {
    color: #94C2ED;
}




/* Extra Small Devices, Phones */
@media only screen and (max-width: 320px) {

    .navbar-brand {
        height: 36px !important;
    }


}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 320px) {

    .article_title h2 {
        font-size: 16px !important;
    }

    .user-manager .menu-content .wapper {
        padding: 20px 5px
    }
}

@media only screen and (max-width: 480px) {
    .user-manager .menu-content .wapper {
        padding: 20px 5px
    }

    .content_post iframe,
    .article-content iframe {
        width: 90% !important;
        height: auto;
    }

    .expand-button {
        width: 50% !important;
    }

    .expand-button_c {
        width: 50% !important;
    }

    .o_item_spin_category {
        justify-content: start !important;
        overflow: overlay !important;
    }

}


/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {

    .content_post iframe,
    .article-content iframe {
        width: 90% !important;
    }



}

@media only screen and (max-width: 768px) {

    .nav-item .dropdown-menu {
        border: 0 none !important;
    }

    .list-menu-link {
        display: none;
    }
}

@media only screen and (max-width: 992px) {
    .table-custom-res {
        margin: auto;
        overflow-x: auto;
        display: block;
        width: fit-content;
        max-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {}



/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
    .user-manager .menu-content .wapper {
        padding: 20px 150px;
    }

    .user-manager .menu-content .wapper-grid {
        padding: 20px 13px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .8rem;
        padding-left: .8rem;
    }

}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {}

/* INPUT */
/*default*/
input[type=text],
input[type=password],
textarea {
    display: block;
    width: 100%;
    font-weight: 400;
    font-size: 13px;
    color: rgb(87, 87, 87);
    line-height: 20px;
    background: #FFFFFF;
    /*border: 1px solid rgb(87, 87, 87);*/
    padding: 9px 11px;
    border-radius: 4px;
    outline: none;
    transition: border-color ease .15s;
}

/*hover*/
input[type=text]:hover,
input[type=password]:hover,
textarea:hover,
select:hover {
    border: 1px solid rgb(238, 70, 35);
}

/*placeholder*/
input[type=text]::placeholder,
input[type=password]::placeholder,
textarea::placeholder {
    color: rgb(87, 87, 87);
}

/*focus*/
input[type=text]:focus,
input[type=password]:focus,
textarea:focus,
select:focus {
    border: 1px solid rgb(238, 70, 35);
    color: rgb(87, 87, 87);
    box-shadow: none !important;
    outline: none !important;
}

textarea:focus {
    border-color: rgb(238, 70, 35) !important;
}

select:focus {
    border: 1px solid rgb(238, 70, 35) !important;
    color: rgb(87, 87, 87) !important;
}

button:focus,
a:focus,
select:focus {
    box-shadow: none !important;
    outline: none !important;
}

.left-right {
    padding-left: 0px;
    padding-right: 0px;
}

.btn-default {
    border: 1px solid;
    padding: 4px 8px;
    font-size: 14px;
}

.btn-default:hover {
    border: 1px solid rgb(238, 70, 35);
    background: rgb(238, 70, 35);
    color: #ffffff;
}

.btn-not-default {
    border: 1px solid rgb(238, 70, 35);
    padding: 6px 16px;
    font-size: 14px;
    color: #ffffff;
    background: rgb(238, 70, 35);
}

.btn-not-default:hover {
    background: transparent;
    color: rgb(238, 70, 35);
}

#txtSearchMobile {
    border: none !important;
}

/*style for order detail*/
.order--detail {
    --color-primary: #F67600;
    padding: 0 0 0 10px;
}

.order--detail .card.--custom {
    padding: 16px;
    border-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 4px 15px 1px rgb(137 147 164 / 15%);
}

.order--detail .card.--custom .card--header {
    margin-bottom: 16px;
}

.card.--custom .card--header .card--header__title {
    color: #1B1D29;
    font-weight: 700;
    font-size: 20px;
    margin: 0;
    line-height: 1.5;
}

.card.--custom .card--rise {
    border-radius: 8px;
    background: #FBFBFD;
    border: 1px solid #DCDEE9;
    color: rgb(87, 87, 87);
    font-weight: 600;
    line-height: 1.5;
    min-height: 1rem;
    margin-bottom: 16px;
    padding: 8px 12px;
}

.card.--custom .card--rise.--secondary {
    background: #FFFFFF;
    padding: 8px 16px;
}

.card.--custom .card--rise.--gray {
    background: #FBFBFD;
    border: none;
    padding: 8px 12px;
    margin-bottom: 12px;
}

.card.--custom .card--rise.--gray .card--rise__title {
    color: #434657;
    padding: 8px 0;
}

.card.--custom .card--rise .order__title {
    padding: 8px 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
}

.card.--custom .card--rise .card__attr {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.card--rise .card__attr .card--value__attr {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
}

.card--rise .card__attr .card__info {
    margin-left: 8px;
    color: #1B1D29;
}

.card--rise .card--rise__title {
    font-size: 16px;
    padding-bottom: 20px;
}

.card--rise .card--rise__title .order__id {
    color: #1B1D29;
    font-size: 16px;
}

.card--rise .order__attr {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 0;
}

.card--rise.--gray .order__attr {
    padding: 0;
}

.card--rise .order__attr .order--value__attr {
    max-width: 45%;
    font-weight: 600;
    color: #1B1D29;
    text-align: right;
}

.card--rise.--secondary .btn.-primary {
    margin: 16px 0 8px;
}

.order--timelines {
    list-style: none;
    padding: 0 0 0 calc(12px + 10px);
    margin: 0;
}

.order--timelines .order--timeline .order--status,
.order--timelines .order--timeline .order--date {
    position: relative;
    font-size: 14px;
}

.order--timelines .order--timeline .order--status {
    color: #434657;
}

.order--timelines .order--timeline .order--date {
    font-weight: 400;
    padding-bottom: 24px;
}

.order--timelines .order--timeline:last-child .order--date {
    padding-bottom: 0;
}

.order--timelines .order--status:after {
    border-radius: 50%;
    background-color: var(--color-primary);
    content: '';
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 6px;
    left: calc(-10px - 12px);
}

.order--timelines .order--date:before {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    border-left: 1px solid #BCBFD6;
    left: calc(-12px - 5px);
    top: 0;
}

.order--timelines .order--timeline:last-child .order--date:before {
    display: none;
}

.text--sm__title {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 150%;
    color: #1B1D29;
}

.text--primary {
    color: var(--color-primary);
    font-size: 16px;
}

.textarea--content {
    font-family: 'Open Sans';
    color: #A7ABC3;
    width: 100%;
    height: 100px;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #DCDEE9;
    border-radius: 8px;
    background-color: #FBFBFD;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    outline: none;
    transition: all ease .2s;
}

.textarea--content:hover,
.input--file:hover {
    background: #F3F3F7;
    color: #82869E;
}

.textarea--content:focus {
    background-color: #FFFFFF;
    border: 1px solid var(--color-primary);
    color: #434657;
}

.input--file {
    background: #FBFBFD;
    border: 1px solid #DCDEE9;
    border-radius: 8px;
    color: #7D7D7D;
    padding: 8px 12px;
    font-weight: 400;
    font-size: 14px;
    width: 100%;
    transition: all ease .2s;
}

.input--file::-webkit-file-upload-button {
    border: 1px solid #F67600;
    border-radius: 4px;
    background-color: #FFFFFF;
    color: var(--color-primary);
    margin-right: 1rem;
    line-height: 1.5;
    padding: 1px 21px;
}

.input--checkbox {
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 16px;
    height: 16px;
    margin: 0;
}

.input--checkbox .checkmark {
    position: absolute;
    background: #FFFFFF;
    border: 1px solid #DCDEE9;
    border-radius: 2px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.input--checkbox:hover .checkmark {
    background: #F3F3F7;
}

.input--checkbox input:checked~.checkmark:after {
    content: '';
    display: block;
    background-image: url(../image/icons/check.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
}

.input--checkbox input:checked~.checkmark {
    background-color: var(--color-primary);
    border: none;
    text-align: center;
}

.input--checkbox input {
    height: 0;
    width: 0;
}

.label--checkbox__input {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #434657;
    margin: 0;
}

.captcha--code__group input {
    flex: 1;
}

.captcha--code,
.captcha--refresh {
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
}

#card-custom {
    max-height: 468px;
    overflow: auto;
}

#card-custom:hover::-webkit-scrollbar-thumb {
    background-color: #DCDEE9;
}


#card-custom::-webkit-scrollbar-track {
    position: absolute;
    top: 100px;
    left: -60px;
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);*/
    background-color: #ffffff;
    border: none;
}

#card-custom::-webkit-scrollbar {
    width: 8px;
    border: none;
}

#card-custom::-webkit-scrollbar-thumb {
    /*MÃƒ u thanh sroll*/
    background: #BCBFD6;
    border-radius: 100px;
    border: none;
    margin-left: 20px;
    height: 20px;
}


#chonnhieu {
    max-height: 232px;
    overflow: auto;
    padding-right: 8px;
}

#chonnhieu:hover::-webkit-scrollbar-thumb {
    background-color: #DCDEE9;
}

#chonnhieu::-webkit-scrollbar-track {
    position: absolute;
    top: 100px;
    left: -60px;
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);*/
    background-color: #ffffff;
    border: none;
}

#chonnhieu::-webkit-scrollbar {
    width: 8px;
    border: none;
}

#chonnhieu::-webkit-scrollbar-thumb {
    /*MÃƒ u thanh sroll*/
    background: #BCBFD6;
    border-radius: 100px;
    border: none;
    margin-left: 20px;
    height: 20px;
}

.form-group-tt:first-child {
    padding-top: 16px;
}

.loading-data__timkiem {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.input-group-btn-p {
    border-bottom-left-radius: 4px !important;
    border-top-left-radius: 4px !important;
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border: 1px solid #ced4da;
    border-right: none;
    height: 40px;
}

.data-service-search {
    display: none;
}

.data-nick-search {
    display: none;
}

.input-group-btn p {
    padding: 2px 14px;
    margin-bottom: 0;
    line-height: 34px;
}

.content_post h1 {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    color: #3f444a;
    margin-bottom: 0;
}

.form-random {
    display: none;
}

@media (min-width: 576px) {
    .modal-dialog__account {
        max-width: 722px !important;
    }
}

.modal {
    padding-right: 0 !important;
}

/* Rss Detail */
#rss-detail .rss-detail-list {
    margin-bottom: 0;
    margin-top: 16px;
    padding-bottom: 16px;
}

#rss-detail .rss-detail-list div {
    text-align: center;
}

#rss-detail .rss-detail-list a {
    color: #3e3e3ee0 !important;
    text-transform: uppercase !important;
    font-weight: bold;
}

#rss-detail .rss-detail-list a:hover {
    color: rgb(238, 70, 35) !important;
}

.navbar-light .navbar-nav .menu-item:hover {
    background: lightgray;
    transition: .2s;
}

.text-limit {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.limit-1 {
    -webkit-line-clamp: 1;
    line-clamp: 1
}

.limit-2 {
    -webkit-line-clamp: 2;
    line-clamp: 2
}

.limit-3 {
    -webkit-line-clamp: 3;
    line-clamp: 3
}

.limit-4 {
    -webkit-line-clamp: 4;
    line-clamp: 4
}

.limit-5 {
    -webkit-line-clamp: 5;
    line-clamp: 5
}

.limit-6 {
    -webkit-line-clamp: 6;
    line-clamp: 6
}



ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}