﻿@charset "UTF-8";

.container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem;
}

.row {
    box-sizing: border-box;
    display: -webkit-box;
    display: flex;
    -webkit-box-flex: 0;
    flex: 0 1 auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: wrap;
    margin-right: -1rem;
    margin-left: -1rem;
}

    .row.reverse {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        flex-direction: row-reverse;
    }

.col.reverse {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    flex-direction: column-reverse;
}

.col-xs, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    box-sizing: border-box;
    -webkit-box-flex: 0;
    flex: 0 0 auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

.col-xs {
    -webkit-box-flex: 1;
    flex-grow: 1;
    flex-basis: 0;
    max-width: 100%;
}

.col-xs-1 {
    flex-basis: 8.333%;
    max-width: 8.333%;
}

.col-xs-2 {
    flex-basis: 16.667%;
    max-width: 16.667%;
}

.col-xs-3 {
    flex-basis: 25%;
    max-width: 25%;
}

.col-xs-4 {
    flex-basis: 33.333%;
    max-width: 33.333%;
}

.col-xs-5 {
    flex-basis: 41.667%;
    max-width: 41.667%;
}

.col-xs-6 {
    flex-basis: 50%;
    max-width: 50%;
}

.col-xs-7 {
    flex-basis: 58.333%;
    max-width: 58.333%;
}

.col-xs-8 {
    flex-basis: 66.667%;
    max-width: 66.667%;
}

.col-xs-9 {
    flex-basis: 75%;
    max-width: 75%;
}

.col-xs-10 {
    flex-basis: 83.333%;
    max-width: 83.333%;
}

.col-xs-11 {
    flex-basis: 91.667%;
    max-width: 91.667%;
}

.col-xs-12 {
    flex-basis: 100%;
    max-width: 100%;
}

.col-xs-offset-1 {
    margin-left: 8.333%;
}

.col-xs-offset-2 {
    margin-left: 16.667%;
}

.col-xs-offset-3 {
    margin-left: 25%;
}

.col-xs-offset-4 {
    margin-left: 33.333%;
}

.col-xs-offset-5 {
    margin-left: 41.667%;
}

.col-xs-offset-6 {
    margin-left: 50%;
}

.col-xs-offset-7 {
    margin-left: 58.333%;
}

.col-xs-offset-8 {
    margin-left: 66.667%;
}

.col-xs-offset-9 {
    margin-left: 75%;
}

.col-xs-offset-10 {
    margin-left: 83.333%;
}

.col-xs-offset-11 {
    margin-left: 91.667%;
}

.start-xs {
    -webkit-box-pack: start;
    justify-content: flex-start;
    text-align: start;
}

.center-xs {
    -webkit-box-pack: center;
    justify-content: center;
    text-align: center;
}

.end-xs {
    -webkit-box-pack: end;
    justify-content: flex-end;
    text-align: end;
}

.top-xs {
    -webkit-box-align: start;
    align-items: flex-start;
}

.middle-xs {
    -webkit-box-align: center;
    align-items: center;
}

.bottom-xs {
    -webkit-box-align: end;
    align-items: flex-end;
}

.around-xs {
    justify-content: space-around;
}

.between-xs {
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.first-xs {
    -webkit-box-ordinal-group: 0;
    order: -1;
}

.last-xs {
    -webkit-box-ordinal-group: 2;
    order: 1;
}

@media only screen and (min-width: 48em) {
    .container {
        width: 46rem;
    }

    .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9 {
        box-sizing: border-box;
        -webkit-box-flex: 0;
        flex: 0 0 auto;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .col-sm {
        -webkit-box-flex: 1;
        flex-grow: 1;
        flex-basis: 0;
        max-width: 100%;
    }

    .col-sm-1 {
        flex-basis: 8.333%;
        max-width: 8.333%;
    }

    .col-sm-2 {
        flex-basis: 16.667%;
        max-width: 16.667%;
    }

    .col-sm-3 {
        flex-basis: 25%;
        max-width: 25%;
    }

    .col-sm-4 {
        flex-basis: 33.333%;
        max-width: 33.333%;
    }

    .col-sm-5 {
        flex-basis: 41.667%;
        max-width: 41.667%;
    }

    .col-sm-6 {
        flex-basis: 50%;
        max-width: 50%;
    }

    .col-sm-7 {
        flex-basis: 58.333%;
        max-width: 58.333%;
    }

    .col-sm-8 {
        flex-basis: 66.667%;
        max-width: 66.667%;
    }

    .col-sm-9 {
        flex-basis: 75%;
        max-width: 75%;
    }

    .col-sm-10 {
        flex-basis: 83.333%;
        max-width: 83.333%;
    }

    .col-sm-11 {
        flex-basis: 91.667%;
        max-width: 91.667%;
    }

    .col-sm-12 {
        flex-basis: 100%;
        max-width: 100%;
    }

    .col-sm-offset-1 {
        margin-left: 8.333%;
    }

    .col-sm-offset-2 {
        margin-left: 16.667%;
    }

    .col-sm-offset-3 {
        margin-left: 25%;
    }

    .col-sm-offset-4 {
        margin-left: 33.333%;
    }

    .col-sm-offset-5 {
        margin-left: 41.667%;
    }

    .col-sm-offset-6 {
        margin-left: 50%;
    }

    .col-sm-offset-7 {
        margin-left: 58.333%;
    }

    .col-sm-offset-8 {
        margin-left: 66.667%;
    }

    .col-sm-offset-9 {
        margin-left: 75%;
    }

    .col-sm-offset-10 {
        margin-left: 83.333%;
    }

    .col-sm-offset-11 {
        margin-left: 91.667%;
    }

    .start-sm {
        -webkit-box-pack: start;
        justify-content: flex-start;
        text-align: start;
    }

    .center-sm {
        -webkit-box-pack: center;
        justify-content: center;
        text-align: center;
    }

    .end-sm {
        -webkit-box-pack: end;
        justify-content: flex-end;
        text-align: end;
    }

    .top-sm {
        -webkit-box-align: start;
        align-items: flex-start;
    }

    .middle-sm {
        -webkit-box-align: center;
        align-items: center;
    }

    .bottom-sm {
        -webkit-box-align: end;
        align-items: flex-end;
    }

    .around-sm {
        justify-content: space-around;
    }

    .between-sm {
        -webkit-box-pack: justify;
        justify-content: space-between;
    }

    .first-sm {
        -webkit-box-ordinal-group: 0;
        order: -1;
    }

    .last-sm {
        -webkit-box-ordinal-group: 2;
        order: 1;
    }
}

@media only screen and (min-width: 62em) {
    .container {
        width: 61rem;
    }

    .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9 {
        box-sizing: border-box;
        -webkit-box-flex: 0;
        flex: 0 0 auto;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .col-md {
        -webkit-box-flex: 1;
        flex-grow: 1;
        flex-basis: 0;
        max-width: 100%;
    }

    .col-md-1 {
        flex-basis: 8.333%;
        max-width: 8.333%;
    }

    .col-md-2 {
        flex-basis: 16.667%;
        max-width: 16.667%;
    }

    .col-md-3 {
        flex-basis: 25%;
        max-width: 25%;
    }

    .col-md-4 {
        flex-basis: 33.333%;
        max-width: 33.333%;
    }

    .col-md-5 {
        flex-basis: 41.667%;
        max-width: 41.667%;
    }

    .col-md-6 {
        flex-basis: 50%;
        max-width: 50%;
    }

    .col-md-7 {
        flex-basis: 58.333%;
        max-width: 58.333%;
    }

    .col-md-8 {
        flex-basis: 66.667%;
        max-width: 66.667%;
    }

    .col-md-9 {
        flex-basis: 75%;
        max-width: 75%;
    }

    .col-md-10 {
        flex-basis: 83.333%;
        max-width: 83.333%;
    }

    .col-md-11 {
        flex-basis: 91.667%;
        max-width: 91.667%;
    }

    .col-md-12 {
        flex-basis: 100%;
        max-width: 100%;
    }

    .col-md-offset-1 {
        margin-left: 8.333%;
    }

    .col-md-offset-2 {
        margin-left: 16.667%;
    }

    .col-md-offset-3 {
        margin-left: 25%;
    }

    .col-md-offset-4 {
        margin-left: 33.333%;
    }

    .col-md-offset-5 {
        margin-left: 41.667%;
    }

    .col-md-offset-6 {
        margin-left: 50%;
    }

    .col-md-offset-7 {
        margin-left: 58.333%;
    }

    .col-md-offset-8 {
        margin-left: 66.667%;
    }

    .col-md-offset-9 {
        margin-left: 75%;
    }

    .col-md-offset-10 {
        margin-left: 83.333%;
    }

    .col-md-offset-11 {
        margin-left: 91.667%;
    }

    .start-md {
        -webkit-box-pack: start;
        justify-content: flex-start;
        text-align: start;
    }

    .center-md {
        -webkit-box-pack: center;
        justify-content: center;
        text-align: center;
    }

    .end-md {
        -webkit-box-pack: end;
        justify-content: flex-end;
        text-align: end;
    }

    .top-md {
        -webkit-box-align: start;
        align-items: flex-start;
    }

    .middle-md {
        -webkit-box-align: center;
        align-items: center;
    }

    .bottom-md {
        -webkit-box-align: end;
        align-items: flex-end;
    }

    .around-md {
        justify-content: space-around;
    }

    .between-md {
        -webkit-box-pack: justify;
        justify-content: space-between;
    }

    .first-md {
        -webkit-box-ordinal-group: 0;
        order: -1;
    }

    .last-md {
        -webkit-box-ordinal-group: 2;
        order: 1;
    }
}

@media only screen and (min-width: 75em) {
    .container {
        width: 71rem;
    }

    .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9 {
        box-sizing: border-box;
        -webkit-box-flex: 0;
        flex: 0 0 auto;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .col-lg {
        -webkit-box-flex: 1;
        flex-grow: 1;
        flex-basis: 0;
        max-width: 100%;
    }

    .col-lg-1 {
        flex-basis: 8.333%;
        max-width: 8.333%;
    }

    .col-lg-2 {
        flex-basis: 16.667%;
        max-width: 16.667%;
    }

    .col-lg-3 {
        flex-basis: 25%;
        max-width: 25%;
    }

    .col-lg-4 {
        flex-basis: 33.333%;
        max-width: 33.333%;
    }

    .col-lg-5 {
        flex-basis: 41.667%;
        max-width: 41.667%;
    }

    .col-lg-6 {
        flex-basis: 50%;
        max-width: 50%;
    }

    .col-lg-7 {
        flex-basis: 58.333%;
        max-width: 58.333%;
    }

    .col-lg-8 {
        flex-basis: 66.667%;
        max-width: 66.667%;
    }

    .col-lg-9 {
        flex-basis: 75%;
        max-width: 75%;
    }

    .col-lg-10 {
        flex-basis: 83.333%;
        max-width: 83.333%;
    }

    .col-lg-11 {
        flex-basis: 91.667%;
        max-width: 91.667%;
    }

    .col-lg-12 {
        flex-basis: 100%;
        max-width: 100%;
    }

    .col-lg-offset-1 {
        margin-left: 8.333%;
    }

    .col-lg-offset-2 {
        margin-left: 16.667%;
    }

    .col-lg-offset-3 {
        margin-left: 25%;
    }

    .col-lg-offset-4 {
        margin-left: 33.333%;
    }

    .col-lg-offset-5 {
        margin-left: 41.667%;
    }

    .col-lg-offset-6 {
        margin-left: 50%;
    }

    .col-lg-offset-7 {
        margin-left: 58.333%;
    }

    .col-lg-offset-8 {
        margin-left: 66.667%;
    }

    .col-lg-offset-9 {
        margin-left: 75%;
    }

    .col-lg-offset-10 {
        margin-left: 83.333%;
    }

    .col-lg-offset-11 {
        margin-left: 91.667%;
    }

    .start-lg {
        -webkit-box-pack: start;
        justify-content: flex-start;
        text-align: start;
    }

    .center-lg {
        -webkit-box-pack: center;
        justify-content: center;
        text-align: center;
    }

    .end-lg {
        -webkit-box-pack: end;
        justify-content: flex-end;
        text-align: end;
    }

    .top-lg {
        -webkit-box-align: start;
        align-items: flex-start;
    }

    .middle-lg {
        -webkit-box-align: center;
        align-items: center;
    }

    .bottom-lg {
        -webkit-box-align: end;
        align-items: flex-end;
    }

    .around-lg {
        justify-content: space-around;
    }

    .between-lg {
        -webkit-box-pack: justify;
        justify-content: space-between;
    }

    .first-lg {
        -webkit-box-ordinal-group: 0;
        order: -1;
    }

    .last-lg {
        -webkit-box-ordinal-group: 2;
        order: 1;
    }
}

/*Обнуление*/
* {
    padding: 0;
    margin: 0;
    border: 0;
}

    *, *:before, *:after {
        box-sizing: border-box;
    }

:focus, :active {
    outline: none;
}

a:focus, a:active {
    outline: none;
}

nav, footer, header, aside {
    display: block;
}

html, body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 14px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

input, button, textarea {
    font-family: inherit;
}

    input::-ms-clear {
        display: none;
    }

button {
    cursor: pointer;
}

    button::-moz-focus-inner {
        padding: 0;
        border: 0;
    }

a, a:visited {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

/*--------------------*/
body {
    background: #e9e9e9;
}

.btn {
    color: white;
    background: #47B4AC;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid white;
    outline: none;
    border-radius: 4px;
    cursor: pointer;
    -webkit-transition: 0.3s all;
    transition: 0.3s all;
}

    .btn.active {
        background: white;
        color: #47B4AC;
    }

.wrapper {
    display: -webkit-box;
    display: flex;
    justify-content: space-around;
    -webkit-box-align: start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.chat-box__header {
    height: 40px;
}

    .chat-box__header .row {
        height: inherit;
    }

.chat-box__wrapper {
    min-height: 100vh;
    height: 100vh;
    padding: 10px 0;
}

.chat-box {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 1px 4px 0px, rgba(0, 0, 0, 0.23) 0px 1px 4px 0px;
    max-width: 600px;
    width: 600px;
    height: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.chat-box__header {
    padding: 0 15px;
    display: -webkit-box;
    display: flex;
    background-color: #47B4AC;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 1.5px 4px 0px;
    font-weight: 300;
}

.chat-box__content {
    -webkit-box-flex: 1;
    flex: 1;
    background: #f8f8f8;
    padding: 15px 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.chat-box__footer {
    min-height: 40px;
    background: white;
    position: relative;
}

.chat-box__footer-print {
    position: absolute;
    top: -30px;
    left: 30px;
    margin-top: auto;
    font-family: 'Roboto',sans-serif;
    font-size: 12px;
}

    .chat-box__footer-print::after {
        content: '';
        animation: printAnimation 1s infinite ease;
    }

@keyframes printAnimation {
    0% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    100% {
        content: '...';
    }
}

.header__text {
    color: white;
    font-size: 18px;
    cursor: none;
    pointer-events: none;
}

.container-fluid {
    padding: 0;
}

.header__row {
    height: 40px;
}

.text__uppercase {
    text-transform: uppercase;
}

.material-icon {
    font-family: "Material Icons";
    font-weight: normal;
    font-style: normal;
    letter-spacing: normal;
    text-transform: none;
    font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-variant: normal;
}

.controls {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    min-height: inherit;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.2) 0px -1px 10px 0px;
    /*
    .emojionearea-editor{
        flex: 1;
        border-bottom: 1px solid rgb(175, 175, 175);
        padding: 5px 5px 5px 10px;
        font-family: 'Roboto',sans-serif;
        transition: 0.3s all;
        &.error{
            border-bottom-color: red;
        }
        &:hover,&:focus{
            border-bottom-color: rgba($blackColor,0.6);
        }
    } */
}

    .controls i {
        font-size: 21px;
        color: #777777;
        -webkit-transition: 0.3s all;
        transition: 0.3s all;
    }

        .controls i:hover {
            color: #000000;
        }

    .controls > div {
        margin: 0 10px;
    }

        .controls > div:hover {
            cursor: pointer;
        }

    .controls .emojionearea {
        height: 30px;
        border: none;
        box-shadow: none;
        border-radius: 0;
        border-bottom: 1px solid #afafaf;
        max-width: 500px;
    }

        .controls .emojionearea.focused {
            border-color: rgba(0, 0, 0, 0.6);
        }

        .controls .emojionearea .emojionearea-editor {
            font-family: 'Roboto', sans-serif;
            max-height: 30px;
            min-height: 30px;
            overflow: hidden;
        }

            .controls .emojionearea .emojionearea-editor > br {
                display: none;
            }

            .controls .emojionearea .emojionearea-editor > div {
                display: none;
            }

        .controls .emojionearea.emojionearea-inline > .emojionearea-editor {
            height: 30px;
            font-family: 'Roboto', sans-serif;
            display: -webkit-box;
            display: flex;
            -webkit-box-pack: start;
            justify-content: flex-start;
            padding: 0;
            -webkit-box-align: center;
            align-items: center;
        }

        .controls .emojionearea.focused {
            border-color: rgba(0, 0, 0, 0.6);
            box-shadow: none;
        }

.message-list {
    padding: 15px 15px;
}

.message-block {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    text-align: center;
    font-family: 'Roboto',sans-serif;
    font-weight: 400;
    margin-bottom: 15px;
    font-size: 12px;
    padding: 0 15px;
}

    .message-block .message-block__icon .fa {
        font-size: 25px;
    }

    .message-block .message-block__text {
        max-width: 80%;
        user-select: none;
    }

        .message-block .message-block__text br {
            display: none;
        }

        .message-block .message-block__text p {
            max-width: 100%;
            word-wrap: break-word;
            display: -webkit-box;
            display: flex;
            -webkit-box-align: center;
            align-items: center;
        }

    .message-block.self {
        -webkit-box-pack: start;
        justify-content: flex-start;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        flex-direction: row-reverse;
    }

        .message-block.self .message-block__time {
            margin-right: 5px;
            margin-left: 0;
        }

        .message-block.self .message-block__text img {
            height: 20px;
            margin-left: 3px;
        }

    .message-block.someone .message-block__icon .fa {
        font-size: 25px;
        color: #FFFFFF;
    }

    .message-block.someone .message-block__text {
        background: #FFFFFF;
    }

        .message-block.someone .message-block__text:before {
            color: white;
            z-index: 20;
        }

    .message-block.unread {
        background: rgba(0, 0, 0, 0.12);
    }

    .message-block.system {
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
    }

        .message-block.system .message-block__text {
            background: none;
            box-shadow: none;
            border: none;
            text-transform: uppercase;
            font-size: 14px;
            font-weight: 400;
            color: #737373;
        }

        .message-block.system .message-block_hello_text {
            display: -webkit-box;
            display: flex;
            -webkit-box-align: center;
            align-items: center;
            padding: 9px 15px;
            margin: 4px 0;
            box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 1px 0px;
            background: none;
            border: 1px solid #dedede;
            border-radius: 5px;
            position: relative;
            font-size: 14px;
            font-weight: 400;
            color: #737373;
        }

            .message-block.system .message-block__text:before {
                display: none;
            }

        .message-block.system .message-block__icon .fa {
            font-size: 20px;
        }

.message-block__time {
    color: grey;
    font-size: 12px;
    margin-left: 5px;
}

.message-block__text {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding: 9px 15px;
    margin: 4px 0;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 1px 0px;
    background: #DEE9F0;
    border: 1px solid #dedede;
    border-radius: 5px;
    position: relative;
    font-size: 14px;
}

.emoji_list span {
    display: inline-block;
    margin-bottom: 5px;
}

.custom_block {
    height: 100vh;
    width: 250px;
    background-color: grey;
    padding: 10px 0;
}

    .custom_block.hidden {
        background: transparent;
    }

.change-background {
    padding: 15px;
}

.change-background__button {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: white;
    background: #47B4AC;
    padding: 10px 25px;
    border-radius: 4px;
    -webkit-transition: .3s all;
    transition: .3s all;
    cursor: pointer;
    border: 1px solid transparent;
}

    .change-background__button.active {
        color: #47B4AC;
        background: white;
        border-color: #808080;
    }

.background-list {
    padding: 10px;
    background: white;
    display: none;
}

.background-list__item {
    margin-bottom: 10px;
}

    .background-list__item:last-child {
        margin-bottom: 0;
    }

.background-list__link {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    align-items: center;
    font-family: 'Roboto',sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: black;
}

.background-list__img {
    height: 50px;
    width: 50px;
    margin-right: 10px;
}

.chat-block,.welcome-block{
    display: none;
    opacity: 0;
    transition: .3s opacity linear;
}

.chat-block.show,.welcome-block.show{
    opacity: 1;
    display: block;
}

.chat-toggler{
    padding: 0 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.chat-toggler__wrapper{
    box-shadow: none;
    background: none;
    padding: 15px;
    border-radius: 8px;
}

.chat-toggler__title{
    font-size: 14px;
}

.chat-toggler__btns{
    margin-top: 10px;
}

.chat-toggler__submit{
    margin-top: 15px;
}

.button-grid{
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 40px;
}

.button{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    border: 1px solid #afafaf;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 1px 0px;
    background: none;
}

.button::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.2);
    opacity: 0;
    transition: .3s opacity linear;
    z-index: 1;
}

.button:hover::before{
    opacity: 1;
}

.button__text{
    position: relative;
    z-index: 2;
    display: block;
}

.button.button_non-active{
    background: #FEFEFE;
    color:#000000;
}

.button_color-xxx{
    background: #DA0A56;
    color:#fff;
}

.button_color-blue{
    background: #47B4AC;
    color:#fff;
}

.button_color-green{
    color:#000;
    background:#FEFEFE;
}

.accent-bg{
    transition: .3s background-color linear;
}

.accent-bg {
    background-color: #47B4AC;
}

.accent-bg_xxx{
    background-color: #DA0A56;
}

.btn.accent-bg_xxx.active{
    background-color: #FFFFFF;
    color: #DA0A56;
}

.chat-state__item.show {
    display: block;
}

.chat-state__item {
    display: none;
    animation: rotate .3s linear;
}

    .chat-state__item:hover {
        cursor: pointer;
    }

.header__button {
    align-items: center;
}

    .header__button.show {
        display: flex;
    }

.block-with-context {
    position: relative;
}

.context-menu.show {
    opacity: 1;
    z-index: 1000;
}

.context-menu {
    position: fixed;
    background-color: #fff;
    border-radius: 4px;
    max-width: 112px;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12);
    font-family: 'Roboto', sans-serif;
    opacity: 0;
    z-index: -1;
}

.context-menu__wrapper {
    padding: 4px 0;
}

.context-menu__item {
    padding: 6px 8px;
    font-size: 12px;
    transition: .3s linear background-color;
}

    .context-menu__item a {
        color: #111111;
    }

    .context-menu__item:hover {
        background-color: rgba(0,0,0,.04);
    }

.context-menu-link-default:hover {
    cursor: pointer;
}

.popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -1;
    transition: .3s all linear;
}

    .popup.active {
        opacity: 1;
        z-index: 999;
    }

.popup__wrapper {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup__content {
    max-width: 320px;
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    padding: 20px 15px 15px 20px;
}

.popup__content_middle {
    max-width: 375px;
}

.popup__title {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.popup__text {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #737373;
}

    .popup__text ul {
        padding-left: 15px;
    }

        .popup__text ul li {
            list-style: disc inside;
        }

            .popup__text ul li + li {
                margin-top: 3px;
            }

    .popup__text p + ul {
        margin-top: 15px;
    }

    .popup__text ul + p {
        margin-bottom: 15px;
    }

.popup-content__wrapper {
    margin: 20px 0;
}

.popup-content__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.popup__btn {
    font-family: 'Roboto', sans-serif;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 3px;
    font-size: 14px;
}

.popup__btn_grey {
    background-color: rgb(224,224,224);
}

.settings-wrapper__block + .settings-wrapper__block {
    margin-top: 15px;
}

.settings-box__wrapper {
    padding: 0 15px;
}

.settings-box__title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    -webkit-transition: .3s all;
    transition: .3s all;
    cursor: pointer;
    border: 1px solid transparent;
}

    .settings-box__title.active {
        border-radius: 4px 4px 0 0;
    }

.settings-box__content {
    padding: 10px;
    background: #fff;
    display: none;
}


.settings-box__content-block + .settings-box__content-block {
    margin-top: 10px;
}


.checkbox {
    display: flex;
}

    .checkbox:hover {
        cursor: pointer;
    }

.checkbox__input {
    display: none;
}

    .checkbox__input:checked ~ .checkbox__checkmark {
        background-color: #737373;
    }

        .checkbox__input:checked ~ .checkbox__checkmark::before {
            opacity: 1;
        }

.checkbox__checkmark {
    position: relative;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #737373;
    border-radius: 2px;
    background-color: transparent;
    flex-shrink: 0;
    transition: .3s background-color;
}

    .checkbox__checkmark::before {
        content: '\2713';
        position: absolute;
        left: 0;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 10px;
        color: #fff;
        transform: translateY(1px);
        opacity: 0;
        transition: .3s opacity;
    }

.checkbox__label {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    margin-left: 10px;
}

@keyframes rotate {
    0% {
        transform: rotate(-180deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@media all and (max-width: 1100px) {
    .chat-box__wrapper {
        padding: 0;
    }

    .custom_block.hidden {
        display: none;
    }

    .chat-box {
        width: 650px;
        max-width: 650px;
    }

    .controls .emojionearea {
        max-width: 800px;
    }
}

@media all and (max-width: 900px) {
    .chat-box__wrapper {
        width: 100%;
    }

    .custom_block {
        display: none;
    }

    .chat-box {
        width: 100%;
        max-width: 100%;
    }
}

@media all and (max-width: 768px) {
    .controls .emojionearea {
        max-width: 85%;
    }
}

@media all and (max-width: 768px) {
    .controls .emojionearea {
        max-width: 85%;
    }
}

@media all and (max-width: 625px) {
    .controls .emojionearea {
        max-width: 83%;
    }
}

@media all and (max-width: 515px) {
    .controls .emojionearea {
        max-width: 79%;
    }
}

@media all and (max-width: 450px) {
    .controls .emojionearea {
        max-width: 75%;
    }
}

@media all and (max-width: 425px) {
    html {
        position: relative;
    }

    .chat-box {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
    }

    .chat-box__wrapper {
        min-height: unset;
        height: unset;
    }
}

@media all and (max-width: 325px) {
    .controls .emojionearea {
        max-width: 70%;
    }
}

.store-badge {
    height: 38px;
    display: inline-block;
    margin-top: 17px;
}

/* FAQ Section Styles */
.faq-section {
    margin-top: 30px;
    margin: 15px;
    padding: 20px 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.4;
}

.faq-answer {
    font-size: 13px;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
}

.reconnect-toast {
    position: fixed;
    left: 50%;
    bottom: 90px;
    transform: translateX(-50%);
    max-width: 90%;
    padding: 10px 18px;
    border-radius: 20px;
    background: rgba(0, 0, 0, .8);
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s linear, visibility .25s linear;
    pointer-events: none;
}

    .reconnect-toast.show {
        opacity: 1;
        visibility: visible;
    }

    .reconnect-toast i {
        margin-right: 8px;
    }

.message-block.captcha-frame {
    width: 100%;
}

.message-block.captcha-frame iframe {
    display: block;
    width: 100%;
    height: 160px;
    border: 0;
    overflow: hidden;
    transition: height .2s ease;
}
