.toolbar {
    background-color:#ebecec;
    min-height:20px;
    padding:10px;
    border:1px #ccc solid;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.toolbar .fButton_forum  {
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    color: #898989;
    padding: 3px 5px;
    border-radius: 4px;
}
.toolbar .fButton_forum b {
    background: url(https://www.ruscable.ru/ckeditor_lexx_gray/skins/moono-lisa/icons.png?t=83e9de8d6b) no-repeat 0 -214px;
    display: inline-block;
    padding: 8px;
}
.toolbar .forum_tag_btn_b b{background-position-y: -22px;}/*жирный*/
.toolbar .forum_tag_btn_i b{background-position-y: -46px;}/*курсив*/
.toolbar .forum_tag_btn_ot b{background-position-y: -576px; opacity: .4;}/*Полупрозрачный*/
.toolbar .forum_tag_btn_sub b{background-position-y: -94px;}/*Подстрочный*/
.toolbar .forum_tag_btn_sup b{background-position-y: -118px;}/*Надстрочный*/
.toolbar .forum_tag_btn_s b{background-position-y: -70px;}/*Зачеркнутый*/
.toolbar .forum_tag_btn_url b{background-position-y: -1270px;}/*Ссылка*/
.toolbar .forum_tag_btn_q b{background-position-y: -214px;}/*Цитата*/
.toolbar .forum_tag_btn_img b{background-position-y: -959px;}/*Цитата*/
.toolbar .fButton_forum:hover{
    color:#ff6600 !important;
    cursor:pointer;
    background-color: #d5d1d1;
}

.toolbar .forumHelpLink, .toolbar #open_smiles {
    text-decoration:none;
    border: none;
    color: #a8a8a8;
    font-size:13px;
    margin-left: 20px;
    vertical-align: text-bottom;
    display:inline-block;
}
.toolbar .forumHelpLink:hover{
    color: gray;
}

#message {
    margin-top:0px;
    border:1px #ebecec solid;
    background:white;
    padding-bottom: 20px;
    font-family: 'Roboto', 'Arial', sans-serif;
}

#message.touch {
    background-color: #FDE8CC;
}

.bottom-toolbar {
    background-color:#ebecec;
    padding: 5px;
    border:1px #d6d7d7 solid;
    min-height: 33px;
}

.custom-popup {
    width:450px;
    min-height:100px;
    top:calc(50% - 120px);
    position:fixed;
    z-index: 1002;
    left:calc(50% - 220px);
    padding:25px;
    display: none;
    background-color:white;
    box-shadow: 3px 3px 25px 1px rgba(0, 0, 0, 0.28);
    border: 1px #d6d7d7 solid;
    border-radius: 5px;
    overflow: hidden;
}

.custom-popup.active {
    display:block;
}


.custom-popup .closePopup {
    position:absolute;
    right:0;
    top:0;
    width:30px;
    height:30px;
    background: white url("/interactive/forum/images/toolbar/5.png") center center no-repeat;
    background-size:20px;
    cursor:pointer;
    opacity: .4;
}
.custom-popup .closePopup:hover {
    opacity: .8;
}
.bottom-toolbar .right-pannel{
    position: absolute;
    display: inline-block;
    right: 15px;
    margin-top: 3px;
}
.bottom-toolbar .right-pannel .submit-button {
    background-color: #ff6600;
    color:white;
    display: inline-block;
    padding: 5px 36px;
    font-size: 14px;
    cursor:pointer;
    text-align:center;
    border-radius:3px;
    vertical-align: text-bottom;
}

.bottom-toolbar .right-pannel .submit-button-ok {
    background-color: #ff6600;
    color:white;
    width:100px;
    float:left;
    height:30px;
    line-height: 30px;
    padding: 0 20px 0 20px;
    font-size: 14px;
    position:relative;
    cursor:pointer;
    text-align:center;
    margin-right:20px;
    border-radius:3px;
}

.bottom-toolbar .attach-select {
    display: inline-block;
}


.bottom-toolbar .attach-select ul {
    list-style:none;
    width:138px;
    border:1px solid #ccc;
    position:absolute;
    background-color:white;
    display:none;
    margin-top:-1px;
    z-index:100;
    box-shadow: 0 7px 21px rgba(83,92,105,.12),0 -1px 6px 0 rgba(83,92,105,.06);
    overflow: hidden;
    border-radius: 4px;
}

.bottom-toolbar .attach-select ul li {
    width:100%;
    height:26px;
    color:#2c597a;
    line-height:18px;
    padding:5px 0px 0px 33px;
    cursor:pointer;
    background-size:20px;
    background-repeat:no-repeat;
    background-position:5px 3px;
    opacity: 0.5;
}
.bottom-toolbar .attach-select ul li:hover{
    text-decoration: none;
    background-color: aliceblue;
    opacity: .9;
}

.bottom-toolbar .attach-select ul li.doc {
    background-image:url("/interactive/forum/images/toolbar/1.png");
}

.bottom-toolbar .attach-select ul li.image {
    background-image:url("/interactive/forum/images/toolbar/2.png");
}

.bottom-toolbar .attach-select ul li.album {
    background-image:url("/interactive/forum/images/toolbar/0.png");
}


.bottom-toolbar .checkBox-block {
    display: inline-block;
    margin-right: 15px;
}

.bottom-toolbar .right-pannel .checkBox-block .checkbox {
    height:15px;
    width:15px;
    border:2px #888 solid;
    float: left;
    margin:3px 10px 0 9px;
    cursor: pointer;
    background-color:white;
    border-radius: 4px;
}

.bottom-toolbar .right-pannel .checkBox-block .label {
    float:left;
    width:130px;
    font-size:11px;
    color: #646464;
    line-height:11px;
}

.bottom-toolbar .right-pannel .checkBox-block .checkbox.active {
    background: white url("/interactive/forum/images/toolbar/checkbox.png") center center no-repeat;
}

#popup-touch .touch-link {
    width:160px;
    height:28px;
    line-height:28px;
    text-align:center;

    float:left;
    color:black;
    border:1px #8a8a8a solid;
    background-color:#dadada;
    font-size:14px;
    cursor:pointer;
    border-radius:3px;
    margin:20px 0 10px 70px;
}

#popup-touch .touch-link.active {
    background-color:#ef7f1b;
    color:white;
}

.bottom-toolbar .send-invite-link {
    width:160px;
    height:28px;
    line-height:28px;
    text-align:center;
    float:right;
    color:black;
    border:1px #8a8a8a solid;
    background-color:#dadada;
    font-size:14px;
    margin:0 0 0 20px;
    cursor:pointer;
    border-radius:3px;
}

#popup-invite {
    width:300px;
    text-align:center;
}

#popup-invite .title {
    font-size:14px;
    font-family:Arial;
    color:black;
    width:100%;
    margin:10px 0;
}

#popup-invite #sendInvite input[type='text'] {
    width:100%;
    height:30px;
}

#popup-invite #sendInvite input[type='submit'] {
    background-color:#ef7f1b;
    color:white;
    min-width:100px;
    margin:0 auto;
    height:30px;
    line-height: 20px;
    padding: 0 20px 0 20px;
    font-size: 14px;
    position:relative;
    cursor:pointer;
    text-align:center;
    margin-right:20px;
    margin-top:20px;
    border:none;
    border-radius:3px;

}

#popup-invite .soc-links {
    float:left;
    width:100%;
    text-align:center;
}

#popup-invite .soc-links .description {
    font-size:12px;
    color:#898989;
    width:100%;
    margin:10px 0;
    float:left;
    text-align:center;
}

#popup-invite .soc-links .link {
    float:left;
    width:100%;
    text-align:center;
    color:#2C597A;
    margin:20px 0 10px 0;
}

#popup-invite .soc-links .b-share-icon.b-share-icon_vkontakte {
    width:30px;
    height:30px;
    background:url("/interactive/forum/images/soc-links/1.png") center center no-repeat;
}

#popup-invite .soc-links .b-share-icon.b-share-icon_facebook {
    width:30px;
    height:30px;
    background:url("/interactive/forum/images/soc-links/2.png") center center no-repeat;
}

#popup-invite .soc-links .b-share-icon.b-share-icon_twitter {
    width:30px;
    height:30px;
    background:url("/interactive/forum/images/soc-links/3.png") center center no-repeat;
}

#popup-invite .soc-links .b-share-icon.b-share-icon_odnoklassniki {
    width:30px;
    height:30px;
    background:url("/interactive/forum/images/soc-links/4.png") center center no-repeat;
}

#popup-invite .soc-links .b-share-icon.b-share-icon_moimir {
    width:30px;
    height:30px;
    background:url("/interactive/forum/images/soc-links/5.png") center center no-repeat;
}

#popup-invite .soc-links .b-share-icon.b-share-icon_gplus {
    width:30px;
    height:30px;
    background:url("/interactive/forum/images/soc-links/6.png") center center no-repeat;
}

#popup-image {
    width:300px;
    text-align:center;
    top: calc(33% - 138.25px);
}

#popup-image .title {
    font-size:14px;
    font-weight:bold;
    font-family:Arial;
    color:black;
    width:100%;
    margin:10px 0 0 0;
}

#popup-image .description {
    font-size:12px;
    width:100%;
    font-family:Arial;
    color:gray;
    padding:5px 0;
    float:left;
}

#popup-image #uploadImage {
    width:150px;
    float:left;
    margin:10px 0 10px 60px;
}

#popup-image .image-submit {
    background-color:#ef7f1b;
    color:white;
    width:100px;
    float:left;
    height:30px;
    line-height: 30px;
    padding: 0 20px 0 20px;
    font-size: 14px;
    position:relative;
    cursor:pointer;
    text-align:center;
    margin-right:20px;
    border-radius:3px;
    margin:30px 0 0 78px;
}

#popup-doc {
    width:300px;
    text-align:center;
}

#popup-doc .title {
    font-size:14px;
    font-weight:bold;
    font-family:Arial;
    color:black;
    width:100%;
    margin:10px 0 0 0;
}

#popup-doc .description {
    font-size:12px;
    width:100%;
    font-family:Arial;
    color:gray;
    padding:5px 0;
    float:left;
}


#popup-doc .doc-submit {
    background-color:#ef7f1b;
    color:white;
    width:100px;
    float:left;
    height:30px;
    line-height: 30px;
    padding: 0 20px 0 20px;
    font-size: 14px;
    position:relative;
    cursor:pointer;
    text-align:center;
    margin-right:20px;
    border-radius:3px;
    margin:30px 0 0 78px;
}


#popup-album {
    width:300px;
    text-align:center;
}

#popup-album .title {
    font-size:14px;
    font-weight:bold;
    font-family:Arial;
    color:black;
    width:100%;
    margin:10px 0 15px 0;
    float:left;
}


#popup-album .album-submit {
    background-color:#ef7f1b;
    color:white;
    width:100px;
    float:left;
    height:30px;
    line-height: 30px;
    padding: 0 20px 0 20px;
    font-size: 14px;
    position:relative;
    cursor:pointer;
    text-align:center;
    margin-right:20px;
    border-radius:3px;
    margin:20px 0 0 78px;
}

#popup-touch {
    width:300px;
    text-align:center;
}

#popup-touch .description {
    float:left;
    width:100%;
}

.existBlock {
    position: absolute;
    margin-left: 0px;
    margin-top: -30px;
}

.existBlock .imageExist {
    width:26px;
    height:26px;
    float:left;
    background-size:20px;
    background-repeat:no-repeat;
    background-position:5px 3px;
    background-image:url("/interactive/forum/images/toolbar/2.png");
    float:left;
    display:none;
}

.existBlock .fileExist {
    float:left;
    width:26px;
    height:26px;
    float:left;
    background-size:20px;
    background-repeat:no-repeat;
    background-position:5px 3px;
    background-image:url("/interactive/forum/images/toolbar/1.png");
    display:none;
}

.is-total-k {font-weight: bold}

             /****TABLE 3****/
            .table3 th {
            font-size: 14px;
            font-weight: normal;
            padding: 10px 15px;
            }
            .table3 td {
            border-top: 1px solid #d6d6d6;
            padding: 10px 15px;
            }
            .table3 tr:hover td{
            background: #c6d9e2;
            }
            .table3 tr:nth-last-child(2) {background: #c6d9e2;}

             /****TABLE 3****/
            .table4 th {
            font-size: 14px;
            font-weight: normal;
            padding: 10px 15px;
            }
            .table4 td {
            border-top: 1px solid #d6d6d6;
            padding: 10px 15px;
            }
            .table4 tr:hover td{
            background: #c6d9e2;
            }

    .new_ogange_btn{
        padding: 5px;
        background: #ff6600;
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        font-size: 11px;
        line-height: 18px;
        border-radius: 3px;
        transition: all 0.3s;
        }
    .new_ogange_btn:hover{
        background: #0079C2;
        box-shadow: 0 0 5px rgba(0,0,0,0.5);
        transition: all 0.3s;
    }
.dr-1{
    background: url(/other/fon_mes_1.jpg);
    /*filter: grayscale(100%);*/
}
.dr-2{
    background: url(/other/fon_mes_2.jpg);
    /*filter: grayscale(100%);*/
}
.dr-3{
    background: url(/other/fon_mes_3.jpg);
    /*filter: grayscale(100%);*/
}
.dr-4{
    background: url(/other/fon_mes_4.jpg);
    /*filter: grayscale(100%);*/
}
.dr-5{
    background: url(/other/fon_mes_5.jpg);
    /*filter: grayscale(100%);*/
}
.dr-6{
    background: url(/other/fon_mes_6.jpg);
    /*filter: grayscale(100%);*/
}

/*==== Стикеры ====*/
.stickers_block_forum{
    width: 100%;
}
.stickers_f{
/*     display: flex;
    align-items: center;
    flex-wrap: wrap; */
    display: inline-block;
    text-align: center;
    padding: 25px 0;
    width: 100%;
    height: 295px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.sticker_item{
    display: inline-block;
}
.btn_stecker_forum{
    margin-right: 5px;
    margin-top: 3px;
    float: right;
    padding: 2px 15px;
    background: #FF6600;
    color: #fff;
    border-radius: 3px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}
.btn_stecker_forum:hover{
    background: #0079c2;
}

.forum_textarea{
    margin: 0 !important;
    width: 100% !important;
    font-size:13px;
    resize: vertical;
    padding: 10px;
    box-sizing: border-box;
}

.new_msg_txt{
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    border: 1px solid #ccc;
    border-top: none;
}


/* Новые кнопки с иконками */
.smiles_body{
    box-shadow: 0 7px 21px rgba(83,92,105,.12),0 -1px 6px 0 rgba(83,92,105,.06);
    /* width: 300px;     */
    width: 465px;
    position: absolute;
    padding: 10px;
    right: 10px;
    /* margin-top: 15px; */
    margin-top: -158px;
    z-index: 5;
    border-radius: 4px;
    background-color: #f4f4f4;
    text-align: center;
}
.smiles_body::after{
    content: '';
    border: 11px solid transparent; border-bottom: 13px solid #f4f4f4;
    /* top: -25px; */
    bottom: -21px;
    transform: rotate(180deg);
    position: absolute;
    display: inline-block;
    right: 5px;
}
.smiles_body a{
    margin: 5px;
    filter: brightness(93%);
    border-radius: 5px;
    transition: .3s all ease;
}
.smiles_body a:hover{
    filter: brightness(110%);
}

.forum_msg_btn{
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url("../images/toolbar/sprite-icon-forum.png") no-repeat;
    background-position: -20px 3px;
    background-size: 130px;
    opacity: 0.6;
    cursor: pointer;
    z-index: 6;
    position: relative;
}
.forum_msg_btn:hover{
    background-position-y: -24px;
    opacity: 1;
}
.forum_msg_btn.btn_smiles{
    background-position-x: -48px;
}
.forum_msg_btn.btn_attach{
    background-position-x: 6px;
}
.forum_msg_btn.btn_paint{
    background-position-x: -75px;
}

.list_users_wrap {
    background-color: #f7f7f7;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
}
ul.list_users{
    display: contents;
}
ul.list_users li{
    display: inline-block;
}
ul.list_users li a{
    padding: 2px 7px;
    margin-right: 3px;
    border-radius: 4px;
    background-color: aliceblue;
}

.like_dislike_moder{
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}
.fa-thumbs-up{
    color: green;
}
.fa-thumbs-down{
    color: red;
}
.like_dislike_inner{
    display: flex;
    align-items: center;
}
.like_dislike_inner input{
    width: 100px;
    padding: 10px;
    font-size: 20px;
}
.like_dislike_inner i{
    font-size: 22px;
    padding: 7px;
}
.modal-like-dislike{
    min-width: auto;
}