/*
================
Author @lutskboy
lutskboy@ya.ru
================
*/

.echat-area {
    background: #dfe4e8;
    position: relative;
    height: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}
.echat-msgs {
    overflow-y: auto;
    padding-bottom: 10px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 60px;
}
.echat-input {
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 250px;
}
.echat-msgs {
	overflow-y: auto;
	padding-bottom: 10px;
	background: #3a1b2f url(../images/bg_initial.jpg) 50% 100% repeat;
}
.echat-input {
    height: 40px;
    width: calc(100% - 50px);
    margin: 10px 0;
    resize: none;
    border-radius: 20px;
    background: #401d33;
    overflow: hidden;
    padding: 8px 40px 8px 15px;
}
.echat-input:focus {
	outline: none;
}
.echat-te {
    position: absolute;
    display: flex;
    align-items: center;
    bottom: 0;
    left: 4px;
    right: 4px;
}
.echat-send {
    background: #EEEFF0;
    border: 1px solid #bbb;
    height: 40px;
    width: 40px;
    border-radius: 50px;
    margin-left: 8px;
    font-size: 20px;
    cursor: pointer;
    color: #555;
}
.echat-smile {
    position: absolute;
    right: 60px;
    top: 10px;
    font-size: 30px;
    filter: grayscale(100%);
    cursor: pointer;
}
.echat-tabs {
    display: flex;
    background: #401d33;
}
.echat-tab {
    padding: 2px 8px;
    cursor: pointer;
    font-size: 13px;
}
.echat-tab.active {
    background: #f44336;
}
.echat-emoji {
    display: flex;
    flex-wrap: wrap;
    font-size: 20px;
    height: 180px;
    overflow: auto;
}
.echat-emo-stick {
    position: absolute;
    top: -220px;
    background: #ffffff;
    box-shadow: 0 12px 24px #ddd, 0 0 2px 0px #bbb;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.2s ease;
    width: 250px;
    right: -4px;
    height: 200px;
    overflow: hidden;
    visibility: hidden;
}
.echat-sticker {
    display: none;
    height: 180px;
    overflow-y: auto;
}
.echat-sticker img {
    width: 46%;
    padding: 10px;
}
.echat-sticker img:hover {
    cursor: pointer;
    background: #f7f8f8;
}
.echat-text img {
    width: 80px;
}
.echat-text {
    font-size: 12px;
    margin-top: 2px;
}
.eloader {
    margin: 20px auto;
    display: block;
}
.echat-emo-stick.fade {
    opacity: 1;
    top: -200px;
    visibility: visible;
}
.echat-emo-stick span {
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.echat-emo-stick span:hover {
    background: #eaeced;
    cursor: pointer;
    border-radius: 3px;
}
.echat-msg {
    margin: 20px 6px 0px;
}
.echat-ud {
    display: flex;
    justify-content: space-between;
}
.echat-date {
    font-size: 11px;
    font-weight: bold;
    color: #f3f3f3;
}
.echat-text-area {
    flex: 1 0 0;
    position: relative;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #FFFFFF;
    margin-top: 7px;
    margin-left: 10px;
    padding: 10px;
    background: #f34a26b0;
    border-radius: 4px 14px 14px 14px;
    display: inline-block;
    width: 66%;
}
.echat-foto {
    overflow: hidden;
    height: 30px;
    width: 30px;
    border-radius: 50px;
    margin: 6px 8px 0 0;
    float: left;
}
.echat-text .emoji {
    font-size: 20px;
}
.echat-foto img {
    height: 30px;
    width: 30px;
}

.echat-name {
    font-weight: bold;
    font-size: 13px;
}
.echat-action {
    display: none;
    gap: 4px;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 12px;
    background: rgb(124 124 124 / 90%);
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.echat-action div:hover {cursor: pointer; text-decoration: underline;}
.echat-msg:hover .echat-action {display: flex;font-size: 11px;}
.echat-err {
  background: beige;
  margin: 6px 8px 0;
  padding: 4px 6px;
}

.page-tv__chat {
    background-color: #F2F3F5;
    position: relative;
}
.dt .echat-area {
    border: 1px solid #25303B;
    background: #161717;
}

.dt .echat-msgs {
    background: #373e45 url(../images/chat.jpg) 50% 100% repeat;
}
.dt .page-tv__chat {background-color: #31373b;}
.dt .echat-send {
    background: #334752;
    color: #d7e1e9;
}
.dt .echat-name {
    color: #d7dce3;
}
.dt .echat-msgs, .dt .echat-input, .dt .echat-send {
    border: 1px solid #1f2538;
}
.dt .echat-input {
    background: #334752;
    color: #9ca5ad;
}
.dt .echat-date {
    color: #d7dce3;
}
.dt .echat-action {
    background: #5c6c7a;
}
.dt .echat-emo-stick {
    background: #404e5b;
    box-shadow: 0 12px 24px #202439, 0 0 2px 0px #1f2645;
}

.dt .echat-tabs {
    background: #5e758a;
}

.dt .echat-tab.active {
    background: #404E5B;
}

.dt .echat-emo-stick span:hover {
    background: #4f687d;
}

.dt .echat-sticker img:hover {
    background: #375168;
}

.dt .echat-text-area {
    flex: 1 0 0;
    position: relative;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #FFFFFF;
    margin-top: 7px;
    margin-left: 10px;
    padding: 10px;
    background: rgb(51 71 82);
    border-radius: 4px 14px 14px 14px;
    display: inline-block;
    width: 66%;
}