/*
* Форум
*/

.card {
    background: #fff;
    transition: .5s;
    border: 0;
    margin-bottom: 30px;
    border-radius: .55rem;
    position: relative;
    width: 100%;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 10%);
}

.chat-app .people-list {
    width: 280px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 20px;
    z-index: 7;
}

.chat-app .chat {
    margin-left: 280px;
    border-left: 1px solid #eaeaea;
}

.people-list {
    -moz-transition: .5s;
    -o-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
}

.people-list .chat-list li {
    padding: 10px 15px;
    list-style: none;
    border-radius: 3px;
}

.people-list .chat-list li:hover {
    background: #efefef;
    cursor: pointer;
}

.people-list .chat-list li.active {
    background: #efefef;
}

.people-list .chat-list li .name {
    font-size: 15px;
}

.people-list .chat-list img {
    width: 45px;
    border-radius: 50%;
}

.people-list img {
    float: left;
    border-radius: 50%;
}

.people-list .about {
    float: left;
    padding-left: 8px;
}

.people-list .status {
    color: #999;
    font-size: 13px;
}

.chat .chat-header {
    padding: 0;
    border-bottom: 2px solid #f4f7f6;
}

.chat .chat-header img {
    float: left;
    border-radius: 40px;
    /*width: 18px*/
}

.chat .chat-header .chat-about {
    float: left;
    padding-left: 10px;
}

.chat .chat-headers {
    padding: 0;
    border-bottom: 2px solid #f4f7f6;
}

.chat .chat-headers img {
    float: left;
    border-radius: 40px;
    width: 80px;
}

.chat .chat-history {
    padding: 20px;
    border-bottom: 2px solid #fff;
}

.chat .chat-history ul {
    padding: 0;
}

.chat .chat-history ul li {
    list-style: none;
    margin-bottom: 30px;
}

.chat .chat-history ul li:last-child {
    margin-bottom: 0;
}

.chat .chat-history .message-data {
    margin-bottom: 15px;
}

.chat .chat-history .message-data img {
    border-radius: 40px;
    width: 40px;
}

.chat .chat-history .message-data-time {
    color: #434651;
    padding-left: 6px;
}

.chat .chat-history .message {
    color: #444;
    padding: 18px 20px;
    line-height: 26px;
    font-size: 16px;
    border-radius: 7px;
    display: inline-block;
    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: #fff;
    border-width: 10px;
    margin-left: -10px;
}

.chat .chat-history .my-message {
    background: #efefef;
}

.chat .chat-history .my-message:after {
    bottom: 100%;
    left: 30px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #efefef;
    border-width: 10px;
    margin-left: -10px;
}

.chat .chat-history .other-message {
    background: #e8f1f3;
    text-align: right;
}

.chat .chat-history .other-message:after {
    border-bottom-color: #e8f1f3;
    left: 93%;
}

.chat .chat-message {
    padding: 20px;
}

.online,
.offline,
.me {
    margin-right: 2px;
    font-size: 8px;
    vertical-align: middle;
}

.online {
    color: #86c541;
}

.offline {
    color: #e47297;
}

.me {
    color: #1d8ecd;
}

.float-right {
    float: right;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

@media only screen and (max-width: 767px) {
    .chat-app .people-list {
        height: 465px;
        width: 100%;
        overflow-x: auto;
        background: #fff;
        left: -400px;
        display: none;
    }

    .chat-app .people-list.open {
        left: 0;
    }

    .chat-app .chat {
        margin: 0;
    }

    .chat-app .chat .chat-header {
        border-radius: 0.55rem 0.55rem 0 0;
    }

    .chat-app .chat-history {
        height: 300px;
        overflow-x: auto;
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .chat-app .chat-list {
        height: 650px;
        overflow-x: auto;
    }

    .chat-app .chat-history {
        height: 600px;
        overflow-x: auto;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    .chat-app .chat-list {
        height: 480px;
        overflow-x: auto;
    }

    .chat-app .chat-history {
        height: calc(100vh - 350px);
        overflow-x: auto;
    }
}

.forumBodyWrap {
    /*background: #FFF;*/
    border: 1px solid #E3E9F0;
    padding: 0;
    margin: 0;
}

.forumBodyWrap h3,
.forumTitle {
    /* background: url(../images/tile_cat.gif);*/
    border: 1px solid #FFF;
    border-bottom: 1px solid #5176B5;
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    padding: 8px;
}

.forumTitle a {
    color: #FFFFFF;
    text-decoration: none;
}

.forumTitle a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.forumTable {
    width: 100%;
}

table.forumTable,
tr.forumTable,
td.forumTable {
    /* required for text in tables, because tables do not inherit from body */
    background: transparent;
    color: #222;
    font-size: 11px;
    line-height: 135%;
    background: #E4EAF2;
    border: 1px solid #FFF;
}

tr.thNOanim,
td.thNOanim {
    background: transparent;
    color: #222;
    font-size: 11px;
    line-height: 135%;
    background: #E4EAF2;
    border: 1px solid #FFF;
}

.forumTable th {
    /* background: url(../images/tile_cat.gif);*/
    color: #FFFFFF;
    padding: 3px;
}

.forumTable th a {
    color: #FFFFFF;
}

.forumTable th a:hover {
    color: silver;
    text-decoration: none;
}

.forumTable td,
.divpad {
    /* gives all tables faux cellpadding of 5px */
    padding: 5px;
    border: 1px solid #FFF;
}

td.nopad {
    /* allows some tables to have no padding on the td */
    padding: 0;
}

.row1 {
    background: #DFE6EF;
}

.row2 {
    background: #E4EAF2;
}

.row3 {
    background: #FAFAFA;
}

.row4 {
    background: #EEEEEE;
}

.forumBR {
    border-right: 1px solid #DFE6EF;
}

.catend {
    background: #6a90b1;
    color: #000;
    font-size: 1px;
    height: 5px;
}

.forumMessage {
    font-size: 12px;
}

.highlightSearch {
    background-color: yellow;
    color: red;
}

input, textarea, select {
    color: #111;
    background: #FEFEFE;
    font-size: 12px;
    text-decoration: none;
    padding: 3px;
    padding-left: 10px;
    border: 2px solid #7BA7AB;
    border-radius: 5px;
    outline: none;
    color: #9E9C9C;
}

.thNOanim sup {
    font-size: 9px;
}

* {
    box-sizing: border-box;
}

form {
    position: relative;
}

. button {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border: none;
    background: #7BA7AB;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.button:before {
    content: "\f002";
    font-family: FontAwesome;
    font-size: 16px;
    color: #F9F0DA;
}