@font-face {
    font-family: 'RobotoRegular';
    src:
        url('../fonts/RobotoRegular.woff2') format('woff2'),
        url('../fonts/RobotoRegular.woff') format('woff'),
        url('../fonts/RobotoRegular.ttf') format('truetype'),
        url('../fonts/RobotoRegular.svg#RobotoRegular') format('svg');
}

.chat{
    position: fixed;
    right: 0px;
    top: 0px;
    width: 0px;
    height: 100%;
    background: #FFFFFF;
    display: none;
    box-shadow: 0 1px 16px 0 rgba(0,0,0,0.24);
    font-family: 'RobotoRegular';
    font-size: 12pt;
    z-index: 1000000000;
}

.chat__header{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 50px;
    background: white;
    border-bottom: solid #D0D0D0;
    border-bottom-width: 1px;
    z-index: 3;
}

.chat__header-close{
    position: absolute;
    top: 16px;
    right: 15px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    background-image: url('../images/close-chat.svg');
    opacity: 0.5;
}

.chat__header-close:hover{
    opacity: 1;
}

.chat__header-sound_on{
    position: absolute;
    top: 15px;
    left: 15px;
    width: 28px;
    height: 20px;
    cursor: pointer;
    background-image: url('../images/sound-on.svg');
    opacity: 0.5;
}

.chat__header-sound_on:hover{
    opacity: 1;
}

.chat__header-sound_off{
    position: absolute;
    top: 15px;
    left: 15px;
    width: 28px;
    height: 20px;
    cursor: pointer;
    background-image: url('../images/sound-off.svg');
    opacity: 0.5;
}

.chat__header-sound_off:hover{
    opacity: 1;
}

.chat__header-font-minus{
    position: absolute;
    top: 15px;
    left: 50px;
    width: 27px;
    height: 20px;
    cursor: pointer;
    background-image: url('../images/font-minus.svg');
    opacity: 0.5;
}

.chat__header-font-minus:hover{
    opacity: 1;
}

.chat__header-font-plus{
    position: absolute;
    top: 15px;
    left: 50px;
    width: 27px;
    height: 20px;
    cursor: pointer;
    background-image: url('../images/font-plus.svg');
    opacity: 0.5;
}

.chat__header-font-plus:hover{
    opacity: 1;
}

.chat__input-area{
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 50px;
    background: transparent;
    border-top: solid #D0D0D0;
    border-top-width: 1px;
    z-index: 0;
}

.chat__input-area-upload{
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    background-image: url('../images/clip.svg');
    opacity: 0.5;
}

.chat__input-area-upload:hover{
    opacity: 1;
}

.chat__input-area-upload-input{
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
    height: 100%;
}

.chat__input-area-text-area{
    position: absolute;
    top: 14px;
    left: 48px;
    right: 58px;
    bottom: 10px;
    background-color:transparent;
}

.chat__input-area-text-area-input-message{
    width: 100%;
    height: 100%;
    resize: none;
    overflow-x: hidden;
    overflow-y: auto;
    border: none;
    outline: 0px;
    font-family: 'RobotoRegular';
    line-height: 18px;
}

.chat__input-area-text-area-input-message:focus{
    border: none;
    outline: 0px;
}

.chat__input-area-send{
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: 28px;
    height: 28px;
    background-image: url('../images/send.svg');
    cursor: pointer;
    opacity: 0.5;
}

.chat__resize{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 5px;
    height: 100%;
    background: transparent;
    cursor: e-resize;
}

.chat__input-area-resize-input-area{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 5px;
    background: transparent;
    cursor: s-resize;
}

.chat__social-network{
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 204px;
    display: none;
    background: transparent;
    border-top: solid #D0D0D0;
    border-top-width: 1px;
}

.chat__social-network-table{
    position: relative;
    top: 0px;
    margin: 0px auto;
}

.chat__social-network-title{
    padding-top: 25px;
    padding-bottom: 4px;
    text-align: center;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #000000;
    letter-spacing: 0;
    line-height: 20px;
}

.chat__social-network-links{
    position: relative;
    height: 66px;
}

.chat__social-network-links-table{
    position: absolute;
    margin: 0px auto;
    top: 8px;
    left: 50%;
    margin-left: -15px;
}

.chat__social-network-feedback-link{
    padding-top: 16px;
    text-align: center;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #1AA1EB;
    letter-spacing: 0;
    line-height: 16px;
    border-top: solid #EBEBEB;
    border-top-width: 2px;
    cursor: pointer;
}

.chat__social-network-text{
    text-align: center;
    padding-bottom: 5px;
    font-family: 'RobotoRegular';
    font-size: 12px;
    color: rgba(0,0,0,0.40);
    letter-spacing: 0;
    line-height: 16px;
}

.chat__social-network-telegram{
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    background-image:  url('../images/telegram.svg');
    cursor: pointer;
}

.chat__social-network-viber{
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    background-image:  url('../images/viber.svg');
    cursor: pointer;
}

.chat__social-network-delimeter{
    width: 10px;
}

.chat__working-area{
    position: absolute;
    top: 50px;
    left: 0px;
    width: 100%;
    bottom: 50px;
}

.chat__chating-history{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow: hidden;
    border: none;
    z-index: 0;
}

.chat__chating-history-table{
    position: relative;
    width: 100%;
    border: none;
    left: 0px;
    bottom: 0px;
}

.chat__chating-history-drop-file-area{
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed #C3C3C3;
    border-radius: 4px;
    background: #FFFFFF;
    display: none;
    z-index: 2;
    align-items: center;
    justify-content: center;
    font-family: 'RobotoRegular';
    font-size: 16px;
    color: #C3C3C3;
    letter-spacing: 0;
    line-height: 10px;
}

.chat__chating-history-avatar-column{
    position: relative;
    width: 50px;
    min-width: 50px;
}

.chat__chating-history-avatar-column-notifiication-box{
    position: relative;
    left: 10px;
    width: 30px;
    height: 30px;
    margin: 0px auto;
    display: inline;
    vertical-align: middle;
}

.chat__chating-history-message-date{
    margin-top: 0px;
    margin-bottom: 15px;
    padding-top: 11px;
    padding-bottom: 15px;
    background-color: transparent;
    font-family: 'RobotoRegular';
    font-size: 12px;
    color: rgba(0,0,0,0.50);
    letter-spacing: 0;
    line-height: 10px;
    text-align: center;
}

.chat__chating-history-message-agent-cloud{
    float: left;
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 12px;
    margin-right: 15px;
    padding-bottom: 15px;
    max-width: 100%;
    font-family: 'RobotoRegular';
    border-radius: 4px;
    background-color: #E6E6E6;
}

.chat__chating-history-message-agent-cloud-nickname{
    padding-top: 13px;
    padding-left: 15px;
    padding-right: 15px;
    text-align: left;
    font-family: 'RobotoRegular';
    font-size: 12px;
    color: rgba(0,0,0,0.50);
    letter-spacing: 0;
    line-height: 9px;
    background-color: transparent;
}


.chat__chating-history-message-agent-cloud-nickname .chat__chating-history-message-cloud-file-table--image {
    margin-top: 0;
}

.chat__chating-history-message-agent-cloud-text{
    position: relative;
    left: 0px;
    margin-top: 5px;
    text-align: left;
    white-space: pre-line;
    word-wrap: break-word;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #000000;
    letter-spacing: 0;
    line-height: 18px;
}

.chat__chating-history-message-agent-box{
    width: 50px;
    position: relative;
    padding-top: 13px;
    vertical-align: middle;
}

.chat__chating-history-message-agent-avatar{
    position: absolute;
    left: 10px;
    bottom: 15px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
}

.chat__chating-history-message-agent-avatar-notif{
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
}

.chat__chating-history-message-time{
    position: absolute;
    left: 0px;
    bottom: 14px;
    width: 100%;
    text-align: center;
    font-family: 'RobotoRegular';
    font-size: 12px;
    color: rgba(0,0,0,0.50);
    letter-spacing: 0;
    line-height: 9px;
    display: none;
}

.chat__chating-history-message-client-cloud{
    position: relative;
    float: right;
    margin-top: 0px;
    margin-bottom: 12px;
    margin-right: 15px;
    padding: 15px;
    text-align: left;
    white-space: pre-line;
    word-wrap: break-word;
    background-color: #FFDD22;
    border-radius: 4px;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #000000;
    letter-spacing: 0;
    line-height: 18px;
}

.chat__chating-history-message-cloud-file-table{
    width: 100%;
    height: 100%;
    border: none;
}

.chat__chating-history-message-cloud-file-table--image {
    margin: -15px;
    width: calc(100% + 30px);
}

.chat__chating-history-message-cloud-file-icon-cell{
    position: relative;
    width: 35px;
    padding-right: 8px;
}

.chat__chating-history-message-cloud-file-icon-cell-image {
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    position: relative;
    overflow: hidden;
}

.chat__chating-history-message-cloud-image{
    width: 100%;
}

.chat__chating-history-message-cloud-file-info-cell{
    vertical-align: middle;
}

.chat__chating-history-message-cloud-file-name{
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #000000;
    letter-spacing: 0;
    line-height: 18px;
    margin: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.chat__chating-history-message-cloud-file-info{
    font-family: 'RobotoRegular';
    font-size: 12px;
    color: rgba(0,0,0,0.50);
    letter-spacing: 0;
    line-height: 18px;
    white-space: nowrap;
    margin: 0px;
}

.chat__chating-history-participant{
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 15px;
    margin-right: 15px;
    padding-top: 11px;
    padding-bottom: 10px;
    max-width: 100%;
    background-color: transparent;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: rgba(0,0,0,0.50);
    letter-spacing: 0;
    line-height: 18px;
}

.chat__mark{
    position: absolute;
    top: 50px;
    left: 0px;
    width: 100%;
    height: 52px;
    border: none;
    background-color: white;
    z-index: 3;
}

.chat__mark-full{
    position: absolute;
    top: 50px;
    left: 0px;
    width: 100%;
    bottom: 0px;
    border: none;
    background-color: white;
    z-index: 3;
}

.chat__mark-table{
    position: absolute;
    width: 100%;
    top: 0px;
    left: 0px;
    height: 0px;
    border: none;
    margin: 0px auto;
}

.chat__mark-table-row{
    position: relative;
    width: 100%;
    height: 52px;
    border-bottom: 1px solid #D0D0D0;
    display: block;
}

.chat__mark-table-row-without-border{
    position: relative;
    width: 100%;
    height: 52px;
    border: none;
    display: block;
}

.chat__mark-table-offset{
    width: 100%;
    border: none;
}

.chat__mark-table-agent-info{
    position: relative;
    width: 100%;
    height: 92px;
    border: none;
}

.chat__mark-table-text{
    position: absolute;
    width: 100%;
    top: 17px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #000000;
    letter-spacing: 0;
    line-height: 18px;
}

.chat__mark-table-blue-link{
    position: absolute;
    top: 17px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #1AA1EB;
    letter-spacing: 0;
    line-height: 18px;
    cursor: pointer;
}

.chat__mark-table-red-link{
    position: absolute;
    top: 17px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #ED1C24;
    letter-spacing: 0;
    line-height: 18px;
    cursor: pointer;
}

.chat__mark-table-title{
    position: absolute;
    width: 100%;
    align-content: center;
}

.chat__mark-table-favorites{
    position: relative;
    margin: auto;
    top: 46px;
    width: 134px;
    height: 21px;
}

.chat__mark-table-yesno-box{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    border: none;
    padding-top: 7px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 7px;
}

.chat__mark-question-title-text{
    position: absolute;
    width: 100%;
    top: 28px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #000000;
    letter-spacing: 0;
    line-height: 18px;
}

.chat__mark-table-yesno-box-table{
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border: none;
}

.chat__mark-table-yesno-box-table-cell-yes{
    position: relative;
    width: 50%;
    height: 100%;
    border: none;
}

.chat__mark-table-yesno-box-table-cell-no{
    position: relative;
    width: 50%;
    height: 100%;
    border: none;
    border-left: 1px solid #D0D0D0;
}

.chat__mark-table-yesno-box-table-blue-link{
    position: absolute;
    top: 13px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #1AA1EB;
    letter-spacing: 0;
    line-height: 12px;
    cursor: pointer;
}

.chat__mark-favorite_outline{
    position: absolute;
    top: 0x;
    left: 0px;
    width: 21px;
    height: 20px;
    cursor: pointer;
    background-image: url('../images/favorite-outline.svg');
}

.chat__mark-favorite_fill{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 21px;
    height: 20px;
    cursor: pointer;
    background-image: url('../images/favorite-fill.svg');
}

.chat__mark-comment-area{
    position: absolute;
    left: 7px;
    right: 7px;
    top: 15px;
    bottom: 15px;
    background-color: transparent;
}

.chat__mark-comment-area-message{
    width: 100%;
    height: 100%;
    resize: none;
    overflow-x: hidden;
    overflow-y: auto;
    border: none;
    outline: 0px;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #000000;
    letter-spacing: 0;
    line-height: 18px;
    text-align: center;
}

.chat__mark-comment-area-message:focus{
    border: none;
    outline: 0px;
}

.chat__mark-question{
    position: absolute;
    left: 0px;
    width: 100%;
    height: 52px;
    display: none;
    background-color: white;
    z-index: 3;
}

.chat__mark-agent-avatar{
    position: absolute;
    top: 0px;
    width: 60px;
    height: 60px;
    border-radius: 30px;
}

.chat__mark-agent-nickname{
    position: absolute;
    width: 100%;
    bottom: 6px;
    text-align: center;
    background-color: transparent;
    font-family: 'RobotoRegular';
    font-size: 12px;
    color: rgba(0,0,0,0.50);
    letter-spacing: 0;
    line-height: 9px;
}

.icon-file-delete{
    position: absolute;
    top: 3px;
    left: 0px;
    width: 28px;
    height: 28px;
    background-image:  url('../images/file-delete.svg');
    cursor: pointer;
}

.icon-file-download{
    position: absolute;
    top: 3px;
    left: 0px;
    width: 28px;
    height: 28px;
    background-image:  url('../images/file-download.svg');
    cursor: pointer;
}

.progress{
    position: absolute;
    top: 3px;
    left: 0px;
    width: 28px;
    height: 28px;
    display: none;
    background-color: transparent;
}

.progress--image {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.progress-bar{
    position: absolute;
    top: 0px;
    left: 0px;
}

.chat__file-error-message{
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 150px;
    display: none;
    background-color: white;
    z-index: 3;
}

.chat__file-error-message-table{
    position: absolute;
    width: 100%;
    top: 0px;
    left: 0px;
    height: 0px;
    border: none;
    margin: 0px auto;
}

.chat__file-error-message-table-row{
    position: relative;
    width: 100%;
    height: 45px;
    border-top: 1px solid #D0D0D0;
    display: block;
}

.chat__file-error-message-table-row-message{
    position: relative;
    width: 100%;
    height: 55px;
    display: block;
}

.chat__file-error-message-title-text{
    position: absolute;
    width: 100%;
    top: 22px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #000000;
    letter-spacing: 0;
    line-height: 18px;
}

.chat__file-error-message-text{
    position: absolute;
    width: 100%;
    top: 2px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    font-family: 'RobotoRegular';
    font-size: 12px;
    color: #000000;
    letter-spacing: 0;
    line-height: 16px;
    opacity: 0.5;
}

.chat__file-error-message-table-red-link{
    position: absolute;
    top: 15px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #ED1C24;
    letter-spacing: 0;
    line-height: 18px;
    cursor: pointer;
}

.chat-error-message{
    position: absolute;
    left: 0;
    top: 50px;
    bottom: 0;
    width: 100%;
    display: none;
    background-color: white;
    z-index: 3;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.chat-error-message.show{
    display: flex;
}

.chat-error-message-table-row{
    text-align: center;
}

.chat-error-message-title-text{
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #000000;
    letter-spacing: 0;
    line-height: 20px;
}

.chat-error-message-text {
    text-align: center;
    font-family: 'RobotoRegular';
    font-size: 12px;
    color: #000000;
    letter-spacing: 0;
    line-height: 16px;
    opacity: 0.4;
    padding: 9px 0 24px 0;
}

.chat-error-message-table-links {
    font-family: 'RobotoRegular';
    font-size: 14px;
    color: #000000;
    letter-spacing: 0;
    line-height: 18px;
}

.chat-hello {
    width: 100%;
    position: absolute;
    bottom: 0;
    padding: 0 16px 16px 16px;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 100%;
}

.chat-hello__window {
    background: #E9E9E9;
    border-radius: 4px;
    position: relative;
    box-sizing: border-box;
}

.chat-hello__window_start {
    padding: 25px 15px;
}

.chat-hello__window_answer {
    padding-top: 39px;
}

.chat-hello__text {
    font-family: 'RobotoRegular';
    font-style: normal;
    font-weight: normal;
    color: #000000;
}

.chat-hello__title {
    font-size: 16px;
    line-height: 22px;
    padding-bottom: 7px;
}

.chat-hello__subtitle {
    color: #979797;
    font-size: 14px;
    line-height: 18px;
    padding-bottom: 20px;
}

.chat-hello__question-btn {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    background-color: #fff;
    padding: 12px 3px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    line-height: 16px;
    cursor: pointer;
}

.chat-hello__question-btn:last-child {
    margin-bottom: 0;
}

.chat-hello__close {
    position: absolute;
    width: 14px;
    height: 14px;
    right: 20px;
    top: 15px;
    cursor: pointer;
    background: url('../images/close-light.svg');
    background-size: contain;
}

.chat-hello__back {
    position: absolute;
    width: 20px;
    height: 12px;
    left: 20px;
    top: 15px;
    cursor: pointer;
    background: url('../images/back.svg');
    background-size: contain;
}

.chat-hello__answer {
    border-top: 1px solid #D8D8D8;
    padding: 25px 15px;
}

.chat-answer__text {
    font-size: 16px;
    line-height: 20px;
    padding-bottom: 12px;
    margin: 0;
}

.chat-answer__text li {
    line-height: 20px;
}

.chat-answer__text:last-child {
    padding-bottom: 20px;
}

.chat-answer__text_link {
    color: #0e8ee9;
    text-decoration: none;
    cursor: pointer;
}
.chat-answer__text_useful{
    color: #979797;
    font-size: 14px;
    line-height: 20px;
}
.chat-answer__smile{
    width: 32px;
    height: 32px;
    display: inline-block;
    text-align: center;
    line-height: 28px;
    font-size: 20px;
    background: #F7F7F8;
    border: 1px solid #EBEBEB;
    box-sizing: border-box;
    border-radius: 2px;
    cursor: pointer;
}

strong {
    font-weight: bold;
}
