/**
 * Chat styles
 */
:root {
    --chat-global: #ffe200;
    --chat-text: #363636;
    --chat-link: #0d00ff;
    --chat-dark: #151515;
    --chat-fog: #929292;
    --chat-black: #000;
    --chat-grey: #474747;
    --chat-silver: #e5e5e5;
    --chat-orange: #ff4f00;
    --chat-blue: #4eacff;
    --chat-green: #008000;
    --chat-red: #ff0000;
    --chat-gradient: repeating-linear-gradient(45deg, rgba(33, 33, 33, .9), rgba(33, 33, 33, .9) 15px, rgba(21, 21, 21, .9) 0, rgba(21, 21, 21, .9) 30px);
}
.chat-window * {
    /*outline: 1px dashed red;*/
}
.chat-window {
    position: fixed;
    bottom: 20px;
    right: 64px;
    z-index: 2147483647;
}
.chat-window i:before,
.chat-window span:before {
    content: '';
    background-position: center center;
    background-repeat: no-repeat;
}
.chat-window__button {
    width: 42px;
    height: 42px;
    color: var(--chat-global);
    border: 2px solid var(--chat-global);
    background: var(--chat-dark);
    margin-left: auto;
    cursor: pointer;
    padding: 9px 8px 7px;
}
.chat-window__button:hover {
    opacity: 1;
}
.chat-window__button span:before {
    display: block;
    height: 100%;
}
.chat-window__tools {
}
#chat-start {
    position: absolute;
    right: 0;
    top: -42px;
    z-index: 2;
    perspective: 1000;
}
#chat-start.active {
    top: 0px;
    opacity: 1;
}
.button-flip {
    height: 100%;
}
.chat-start {
    top: 3px;
}
.chat-collapse {
    top: 0;
    display: none;
}
#chat-start.active .button-flip {
    transform: rotateY(180deg);
    transform-style: preserve-3d;
    position: relative;
    -webkit-animation: close-rotate 10s infinite linear;
    animation: close-rotate 10s infinite linear;
}
#chat-start.active .chat-start,
#chat-start.active .chat-collapse {
    display: block;
    width: 22px;
    height: 22px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    backface-visibility: hidden;
}
#chat-start.active .chat-start {
    z-index: 2;
    background: var(--chat-dark);
}
#chat-start.active .chat-collapse {
    transform: rotateY(180deg);
    background: var(--chat-dark);
}
.chat-window__button .chat-collapse:before {
    -webkit-transform: rotate(45deg) translate(2px, -2px);
    -ms-transform: rotate(45deg) translate(2px, -2px);
    -o-transform: rotate(45deg) translate(2px, -2px);
    transform: rotate(45deg) translate(2px, -2px);
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    display: block;
    position: absolute;
    border-style: solid;
    border-color: var(--chat-global);
    border-width: 0 4px 4px 0;
    height: 70%;
    width: 70%;
}
#chat-window ::-webkit-scrollbar {
    background: transparent;
}
#chat-window ::-webkit-scrollbar-track {
    background: transparent;
}
#chat-window ::-webkit-scrollbar-thumb {
    background: rgba(255, 226, 0, .5);
    border: 1px solid var(--chat-dark);
}
#chat-window ::-webkit-scrollbar-thumb:hover {
    background: var(--chat-global);
}
#chat-window ::-webkit-scrollbar-track-piece {
    background: transparent;
}
.chat-window__wrapper {
    z-index: 1;
    right: 0;
    bottom: 100%;
    width: 280px;
    box-shadow: 0 0 26px var(--chat-black);
    position: relative;
    border-radius: 20px 0 0 0;
}
.chat-window__box {
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.chat-window__box a:before {
    content: '\260D';
    display: inline-block;
    margin-right: 2px;
    font-family: sans-serif;
    font-weight: 400;
    line-height: 14px;
    font-size: 120%;
    position: relative;
    top: 2px;
}
.chat-window__header,
.chat-window__body,
.chat-window__footer {
    min-height: 40px;
    border-color: var(--chat-global);
    border-style: solid;
}
.chat-window__header {
    background-color: var(--chat-global);
    color: var(--chat-dark);
    border-radius: 20px 0 0 0;
    border-width: 2px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    padding: 0 42px 0 0;
    position: relative;
    z-index: 3;
}
.chat-window__header-title {
    font-weight: 700;
    font-size: 14px;
    width: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.chat-window__header-title span {
    padding: 1px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    position: relative;
}
.chat-window__header-title small {
    position: absolute;
    left: 42px;
    top: -3px;
    color: var(--chat-grey);
    opacity: .9;
    font-size: .7em;
}
.chat-window__header-title strong {
    white-space: nowrap;
    max-width: calc( 100% - 41px );
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}
.chat-window__header-title #chat-waiting:after,
.chat-window__header-title #chat-connect:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    content: '\2026';
    width: 0px;
    -webkit-animation: ellipsis steps(4,end) 900ms infinite;
    animation: ellipsis steps(4,end) 900ms infinite;
}
.chat-window__header-title #chat-waiting i {
    margin-right: 1px;
    -webkit-animation: rotate 5s linear infinite;
    animation: rotate 5s linear infinite;
}
.chat-window__header-title svg {
    position: relative;
    width: 36px;
    height: 36px;
    -webkit-animation: rotate 3s linear infinite;
    animation: rotate 3s linear infinite;
}
.chat-window__header-title svg #stroke {
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 10;
    stroke: var(--chat-dark);
    stroke-dasharray: 82;
    stroke-dashoffset: 82;
    stroke-linecap: butt;
    -webkit-animation: rotate2 4s linear infinite;
    animation: rotate2 4s linear infinite;
}
.chat-window__header-title svg #fill {
    width: 100%;
    height: 100%;
    stroke: none;
    fill: var(--chat-green);
    -webkit-animation: blinker3 1.5s linear infinite;
    animation: blinker3 1.5s linear infinite;
}
.chat-window__header-title #chat-waiting svg #fill {
    fill: var(--chat-red);
}
.chat-window__header-title #chat-waiting i:before {
    display: none;
    /*-webkit-animation: blinker2 2s ease infinite;*/
    /*animation: blinker2 2s ease infinite;*/
}
.chat-window__header-title .chat-connect__load,
.chat-window__header-title #chat-manager i {
    display: inline-block;
    border-radius: 50%;
    position: relative;
    margin-right: 5px;
}
.chat-window__header-title #chat-manager i {
    border: 2px solid var(--chat-dark);
    padding: 2px;
    display: block;
    width: 36px;
    height: 36px;
    font-size: 20px;
    color: var(--chat-dark);
    text-align: center;
    line-height: 26px;
    min-width: 36px;
}
.chat-window__header-title .chat-connect__load {
    width: 36px;
    height: 36px;
    -webkit-flex: 0 0 36px;
    -ms-flex: 0 0 36px;
    flex: 0 0 36px;
}
.chat-window__header-title .chat-connect__load b {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 32px;
    height: 32px;
    margin: 2px;
    border-radius: 50%;
    border-color: var(--chat-dark) transparent transparent;
    border-style: solid;
    border-width: 8px;
    -webkit-animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.chat-window__header-title .chat-connect__load b:nth-child(1) {
    animation-delay: -0.45s;
}
.chat-window__header-title .chat-connect__load b:nth-child(2) {
    animation-delay: -0.3s;
}
.chat-window__header-title .chat-connect__load b:nth-child(3) {
    animation-delay: -0.15s;
}
.chat-window__header-title .chat-connect__load:before,
.chat-window__header-title #chat-manager i:before {
    background: var(--chat-global);
    display: block;
    border-radius: 50%;
    position: absolute;
    border: 1px solid var(--chat-global);
    top: 0;
    -webkit-animation: blinker 2s ease infinite;
    animation: blinker 2s ease infinite;
}
.chat-window__header-title .chat-connect__load:before {
    /*width: 12px;*/
    /*height: 12px;*/
    /*right: 0;*/
    /*left: 0;*/
    /*bottom: 0;*/
    /*margin: auto;*/
}
.chat-window__header-title #chat-manager i:before {
    width: 10px;
    height: 10px;
    right: -3px;
    z-index: 2;
}
.chat-window__header-title #chat-manager img {
    max-width: 28px;
    max-height: 28px;
    border: 0;
}
.chat-window__header-setting {
    /*margin-left: auto;*/
    /*height: 38px;*/
    /*display: -webkit-flex;*/
    /*display: flex;*/
    /*-webkit-justify-content: space-between;*/
    /*justify-content: space-between;*/
}
.chat-window__header-menu {
    padding: 15px 10px;
    cursor: pointer;
    margin-left: auto;
}
.chat-window__header-menu i {
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--chat-dark);
    border-radius: 50%;
    position: relative;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}
.chat-window__header-menu.open-box i {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}
.chat-window__header-menu i:before,
.chat-window__header-menu i:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--chat-dark);
    border-radius: 50%;
}
.chat-window__header-menu i:before {
    top: 10px;
}
.chat-window__header-menu i:after {
    bottom: 10px;
}
#chat-menu {
    background: var(--chat-dark);
    position: absolute;
    left: 0;
    right: 0;
    top: calc( 100% + 2px );
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    border-bottom: 1px solid var(--chat-global);
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
#chat-menu input {
    margin: 5px 5px 0;
    border: 0;
    padding: 2px 5px;
    text-align: center;
    font-size: 14px;
    font-family: monospace;
    width: calc( 100% - 10px );
}
#chat-login {
    background: var(--chat-global);
    margin: 5px auto;
    padding: 3px 5px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    width: 50%;
    text-align: center;
    display: inline-block;
}
.chat-window__body {
    min-height: 33vh;
    border-width: 0 2px;
    background: rgba(54, 54, 54, .9);
    background: var(--chat-gradient);
}
.chat-window__dialogue {
    font-size: 14px;
    line-height: 1.1;
    min-height: 322px;
    max-height: 80vh;
}
.chat-no-mount {
    padding: 15px;
    text-align: center;
    line-height: 1.5;
}
.chat-no-mount hr {
    border-color: var(--yellow);
}
.first-step,
.second-step,
.third-step {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    padding: 5px 7px;
}
.first-step {
    padding-left: 15px;
    padding-right: 15px;
    position: relative;;
}
.chat-window__dialogue small,
.chat-setting__admin-tabs > small {
    padding: 5px 10px 10px 26px;
    position: relative;
    max-width: 100%;
    display: inline-block;
    font-size: 11.2px;
    line-height: 1.1;
    color: var(--chat-silver);
}
.chat-window__dialogue small i,
.chat-setting__admin-tabs > small i {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    bottom: 3px;
    margin: auto;
    width: 20px;
    height: 20px;
    line-height: 16px;
    color: var(--chat-global);
    font-size: 14px;
    font-family: monospace;
    font-style: normal;
}
.chat-window__dialogue small i:before,
.chat-setting__admin-tabs > small i:before {
    content: '!';
    text-align: center;
    border: 2px solid var(--chat-global);
    border-radius: 50%;
    display: block;
    line-height: 15px;
    padding-top: 1px;
    background-color: var(--chat-dark);
}
.chat-window__dialogue label {
    position: relative;
    padding: 12px 0 2px;
    margin-bottom: 5px;
    line-height: .8;
}
.chat-window__dialogue label:before {
    content: '';
    position: absolute;
    left: 0;
}
.chat-window__dialogue label input {
    display: block;
    border: 0;
    background-color: transparent;
    border-bottom: 1px solid var(--chat-silver);
    color: var(--chat-global);
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    margin-bottom: 2px;
    padding: 3px 1px;
}
.chat-window__dialogue label input + span {
    position: absolute;
    padding-top: 3px;
    color: var(--chat-silver);
    top: 16px;
    left: 0;
    opacity: 1;
}
.chat-window__dialogue label input.focus + span {
    font-size: 12px;
    top: 0;
    opacity: 0;
}
.chat-window__dialogue label sup {
    color: var(--chat-global);
    font-family: monospace;
}
.chat-window__dialogue label small {
    padding: 0;
    top: 100%;
    color: var(--chat-fog);
}
#chat-authorization,
#chat-end,
#other-manager-send {
    display: block;
    background-color: var(--chat-global);
    color: var(--chat-dark);
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}
#chat-authorization {
    padding: 10px 15px;
    margin: 18px auto;
    width: 160px;
}
#chat-authorization[disabled] {
    opacity: .5;
    cursor: default;
}
#chat-authorization:not([disabled]):hover,
#chat-end:not([disabled]):hover,
#other-manager-send:not([disabled]):hover {
    background-color: var(--chat-dark);
    color: var(--chat-global);
    border-color: var(--chat-global);
}
.chat-error {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--chat-dark);
    padding: 5px;
    text-align: center;
    color: var(--chat-global);
    line-height: 1;
    border-bottom: 2px solid var(--chat-global);
    font-size: small;
    z-index: 3;
}
.second-step {
    max-height: 80vh;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    padding: 5px 0 0;
    min-height: 322px;
}
.chat-window__dialogue-wrap {
    max-height: calc( 100% - 60px );
    overflow-x: hidden;
    overflow-y: auto;
    margin: auto 5px 5px;
}
.chat-window__dialogue-wrap > :last-child {
    margin-bottom: 5px;
}
.chat-window__dialogue-wrap img {
    max-width: 100px;
    display: block;
    margin: 5px;
    max-height: 150px;
    box-shadow: 0 0 0 1px var(--chat-text);
    cursor: pointer;
}
.chat-window__dialogue-user,
.chat-window__dialogue-manager,
.chat-window__dialogue-note,
.chat-window__dialogue-info {
    width: 100%;
    display: -webkit-flex;
    display: flex;
    margin-top: 10px;
}
.message-time {
    display: block;
    margin-top: 5px;
    text-align: center;
    color: var(--chat-silver);
    font-size: 10px;
}
.message-time strong {
    display: block;
}
.message-time small.yesterday {
}
.message-time small.today {
    display: none;
}
.message-time small {
    padding: 0;
    font-style: italic;
    font-size: 80%;
}
.message-text {
    border-style: solid;
    border-width: 10px;
    border-radius: 10px;
    -webkit-align-self: flex-start;
    align-self: flex-start;
    line-height: 1.25;
    font-size: 13px;
    position: relative;
}
.message-text:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 13px;
    border-style: solid;
    box-shadow: 0 -1px 0 var(--chat-dark);
    z-index: 10;
}
.message-text a {
    color: inherit;
    font-size: .9em;
    text-decoration: underline;
    font-family: monospace;
    font-weight: 700;
    padding: 5px 0;
    display: block;
}
.message-text a.chat-window__dialogue-target {
    text-decoration: none;
    border-top: 1px solid var(--chat-dark);
    padding: 0;
    font-size: 10px;
    color: var(--chat-dark);
    line-height: 10px;
}
.message-text a.chat-window__dialogue-target:hover {
    color: var(--chat-global);
    border-color: var(--chat-global);
}
.message-text a:before {
    /*content: '\21AA';*/
    /*display: inline-block;*/
    /*margin-right: 2px;*/
    /*font-family: sans-serif;*/
    /*font-weight: 400;*/
}
.message-text a.chat-window__dialogue-target:before {
    content: '\260D';
    font-size: 14px;
    position: relative;
    bottom: -2px;
}
.message-text a[href^=mailto]:before {
    content: '\2709';
}
.chat-manager__avatar,
.chat-user__avatar {
    display: block;
    max-width: 50px;
}
.chat-manager__avatar img,
.chat-user__avatar:before {
    width: 36px;
    height: 36px;
    display: block;
    border-radius: 50%;
    margin: auto;
}
.chat-window__dialogue-user {
    padding-right: 5px;
    margin-left: auto;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}
.chat-user__avatar {
    padding-left: 10px;
    color: var(--chat-dark);
}
#chat-manager .chat-user__avatar {
    text-align: center;
}
.chat-user__avatar:before {
    content: '';
    background-color: var(--chat-grey);
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
}
#chat-manager .chat-user__avatar:after {
    position: relative;
    background-color: var(--chat-text);
    display: block;
    border-radius: 50%;
    height: 100%;
    width: 100%;
}
.chat-window__dialogue-user .message-text {
    background-color: var(--chat-grey);
    border-color: var(--chat-grey);
}
.chat-window__dialogue-user .message-text:before {
    border-color: transparent var(--chat-grey);
    right: -17px;
    border-width: 0 0 10px 10px;
}
.chat-window__dialogue-manager {
    margin-right: auto;
    padding-left: 5px;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.chat-manager__avatar {
    padding-right: 10px;
}
.chat-manager__avatar img {
    background-color: var(--chat-global);
    border: 2px solid var(--chat-global);
}
.chat-window__dialogue-manager .message-text {
    background-color: var(--chat-global);
    border-color: var(--chat-global);
    color: var(--chat-dark);
}
.chat-window__dialogue-user .message-text p,
.chat-window__dialogue-manager .message-text p {
    padding: 0;
    margin: 0 0 5px;
}
.chat-window__dialogue-manager .message-text:before {
    border-color: transparent var(--chat-global);
    left: -17px;
    border-width: 0 10px 10px 0;
}
.chat-window__dialogue-info {
    margin-top: 1px;
}
.chat-window__dialogue-note small {
    font-style: italic;
    padding: 5px;
    color: var(--chat-fog);
}
.chat-window__dialogue-info small {
    padding: 5px;
    width: 100%;
    text-align: center;
    font-style: italic;
    color: var(--chat-fog);
    font-size: 10px;
    background-color: var(--chat-dark);
}
.chat-window__dialogue-note small:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    content: '\2026';
    width: 0px;
    -webkit-animation: ellipsis steps(4,end) 900ms infinite;
    animation: ellipsis steps(4,end) 900ms infinite;
}
.chat-window__dialogue-end {
    height: 74px;
    border-top: 2px solid var(--chat-global);
    background-color: var(--chat-dark);
    padding: 5px 7px;
}
.chat-window__dialogue-end small {
    padding: 0 0 0 26px;
}
.chat-window__dialogue-rating {
    display: -webkit-flex;
    display: flex;
    margin-left: -5px;
    padding-top: 5px;
}
.chat-window__dialogue-rating label input {
    display: none;
}
.chat-window__dialogue-rating .chat-star:first-of-type {
    margin-left: auto;
}
.chat-window__dialogue-rating .chat-star:last-of-type {
    margin-right: auto;
}
.chat-window__dialogue-rating .chat-star {
    padding: 0;
    width: 26px;
    height: 26px;
    cursor: pointer;
}
.chat-window__dialogue-rating .chat-star span {
    position: static;
    display: block;
    max-width: 100%;
    max-height: 100%;
    padding: 4px;
    color: var(--chat-grey);
}
.chat-window__dialogue-rating .chat-star:hover span,
.chat-window__dialogue-rating .chat-star.hover span {
    color: var(--chat-silver);
}
.chat-window__dialogue-rating .chat-star.checked span {
    color: var(--chat-global);
}
.chat-window__dialogue-rating .chat-star svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 0;
}
#chat-end {
    padding: 7px 7px 5px;
}
.chat-window__footer {
    background-color: var(--chat-global);
    color: var(--chat-text);
    border-width: 2px;
    display: flex;
    height: 66px;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.chat-window__footer.hidden {
    border-width: 1px;
    height: 0;
    min-height: auto;
}
.chat-window__footer.hidden > * {
    display: none;
}
.chat-window__footer-tools {
    max-width: 100%;
    -webkit-flex: 1 1 100%;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    height: 24px;
    font-size: 0.1px;
    border-top: 2px solid var(--chat-global);
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.chat-window__footer-tools svg {
    height: 22px;
    width: 24px;
}
button.chat-window__footer-botton {
    height: 100%;
    min-height: auto;
    width: 24px;
    background-color: transparent;
    border-style: solid;
    border-width: 0 1px 0 0;
    border-color: var(--chat-dark);
    padding: 0;
    -webkit-flex: 1 1 calc( 100% / 6 );
    -ms-flex: 1 1 calc( 100% / 6 );
    flex: 1 1 calc( 100% / 6 );
    opacity: .5;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
button.chat-window__footer-botton:hover,
button.chat-window__footer-botton.active {
    opacity: 1;
}
button.chat-window__footer-botton:last-of-type {
    border-width: 0;
}
#addImage {
    opacity: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}
.chat-window__footer-message {
    width: calc( 100% - 38px );
    max-height: 34px;
    max-width: calc( 100% - 42px );
    -webkit-flex: 1 1 calc( 100% - 38px );
    -ms-flex: 1 1 calc( 100% - 38px );
    flex: 1 1 calc( 100% - 38px );
    border-style: solid;
    border-color: var(--chat-global);
    border-width: 2px 0 2px 2px;
    overflow: hidden;
    margin: 2px;
    position: relative;
    box-shadow: 2px 0 0 var(--chat-global), 0 0 0 2px var(--chat-dark);
}
#new-message {
    color: var(--chat-dark);
    font-size: 14px;
    width: 100%;
    line-height: 1.1;
    min-height: 99%;
    font-family: monospace;;;
    position: relative;
    z-index: 2;
    font-weight: 100;
}
#new-message > * {
    padding: 0;
    margin: 0;
    max-width: min-content;
    display: inline;
}
#new-message b {
    font-weight: 900;
}
#new-message i:before {
    display: none;
}
#new-message u {
}
#new-message a {
    color: var(--chat-link);
    font-weight: 900;
}
.new-message__placeholder {
    position: absolute;
    bottom: 4px;
    display: block;
    height: 1em;
    font-size: 12px;
    color: var(--chat-green);
    z-index: 1;
    opacity: 0;
}
#new-message:empty + .new-message__placeholder {
    opacity: 1;
}
#chat-send {
    border: 0;
    width: 38px;
    -webkit-flex: 1 1 38px;
    -ms-flex: 1 1 38px;
    flex: 1 1 38px;
    height: 38px;
    min-height: min-content;
    max-width: 38px;
}
.chat-send {
    position: static;
}
/** Admin panel */
.chat-setting:before {
    content: '';
    position: absolute;
    z-index: 2;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    background-color: var(--chat-dark);
    border-radius: 22px 0 0 0;
}
.chat-setting__admin {
    position: absolute;
    z-index: 1;
    bottom: 114px;
    right: 0;
    left: 0;
    top: 0;
}
.chat-setting__admin:after {
    content: '';
}
.chat-setting__buttons {
    position: absolute;
    right: 100%;
    z-index: 10;
    bottom: 0;
}
.chat-button__sites,
.chat-button__management,
.chat-button__user {
    display: block;
    width: 32px;
    height: 32px;
    background-color: var(--chat-dark);
    border-radius: 50%;
    position: relative;
    margin: 5px;
    border: 2px solid var(--chat-global);
    cursor: pointer;
    opacity: .5;
}
.chat-button__sites[disabled],
.chat-button__management[disabled],
.chat-button__user[disabled] {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    cursor: default;
    opacity: .3;
}
.chat-button__sites:hover,
.chat-button__management:hover,
.chat-button__user:hover {
    opacity: 1;
}
.chat-button__sites:before,
.chat-button__management:before,
.chat-button__user:before {
    display: block;
    height: 100%;
    background-size: 75%;
    width: calc( 100% - 1px );
}
.chat-button__sites.is-chats:after {
    content: '';
    width: 10px;
    height: 10px;
    z-index: 2;
    display: block;
    border-radius: 50%;
    position: absolute;
    border: 1px solid var(--chat-global);
    top: 0;
    left: -3px;
    -webkit-animation: blinker2 1s ease infinite;
    animation: blinker2 1s ease infinite;
    background: var(--chat-global);
}
.chat-setting__admin-wrapper {
    position: relative;
    margin-top: auto;
    width: 100%;
    height: 100%;
}
.chat-setting__admin-tabs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--chat-dark);
    border-radius: 10px;
    padding: 15px 20px 15px 15px;
    border-color: var(--chat-global);
    border-style: solid;
    border-width: 2px;
    box-shadow: 0 0 26px var(--chat-black);
    opacity: 0;
    visibility: hidden;
}
.chat-setting__admin-tabs.in-active {
    left: -100%;
    right: 100%;
    margin-right: -8px;
    opacity: 1;
    visibility: visible;
}
.chat-setting__admin-tabs > small {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 10px;
}
.chat-setting__admin-info {
    padding-bottom: 5px;;
}
.chat-setting__admin-info small {
    color: var(--chat-global);
    font-style: italic;
    font-size: 70%;
    border-bottom: 1px solid var(--chat-global);
}
.chat-setting__admin-info span {
    font-size: 14px;
    font-family: monospace;
    text-align: right;
    line-height: 1;
    padding-top: 2px;
}
.chat-setting__card-button {
    width: 100%;
    text-align: left;
    color: var(--chat-global);
    border-bottom: 1px solid var(--chat-dark);
    padding: 5px 25px 5px 0;
    cursor: pointer;
    font-size: 14px;
    position: relative;
}
.chat-setting__card-button.collapsed {
    color: var(--chat-silver);
}
.chat-setting__card-button:hover {
    color: var(--chat-global);
}
.chat-setting__card-button small {
    display: inline-block;
    text-align: center;
    color: var(--chat-dark);
    height: 14px;
    position: relative;
    font-size: 11px;
    top: -1px;
    border: 1px solid var(--chat-global);
    background-color: var(--chat-global);
    font-weight: 700;
    margin-right: 3px;
    min-width: 14px;
    padding: 0;
}
.chat-setting__card-button i {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    backface-visibility: hidden;
    width: 13px;
    height: 12px;
}
.chat-setting__card-button i:before {
    -webkit-transform: rotate(-45deg) translate(-2px, 2px);
    -ms-transform: rotate(-45deg) translate(-2px, 2px);
    -o-transform: rotate(-45deg) translate(-2px, 2px);
    transform: rotate(-45deg) translate(-2px, 2px);
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    display: block;
    position: absolute;
    border-style: solid;
    border-color: var(--chat-global);
    border-width: 0 2px 2px 0;
    height: 8px;
    width: 8px;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.chat-setting__card-button.collapsed i:before {
    -webkit-transform: rotate(45deg) translate(2px, -2px);
    -ms-transform: rotate(45deg) translate(2px, -2px);
    -o-transform: rotate(45deg) translate(2px, -2px);
    transform: rotate(45deg) translate(2px, -2px);
}
.chat-setting__card-body {
    font-size: 12px;
    margin-bottom: 0;
}
.chat-setting__card-body li {
    position: relative;
    line-height: 1;
    border-bottom: 1px solid var(--chat-dark);
    cursor: pointer;
}
.chat-setting__card-body li:before {
    content: '';
    display: inline-block;
    position: absolute;
    width: 8px;
    height: 8px;
    left: 4px;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 50%;
    font-size: 8px;
}
.chat-setting__card-body li:nth-child(even) {
    background-color: var(--chat-dark);
}
.chat-setting__card-body li input {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}
.chat-setting__card-body li label {
    cursor: pointer;
    padding: 5px 0 5px 21px;
    display: block;
}
.chat-status__forwarding {
    color: var(--chat-blue);
}
.chat-status__forwarding:before {
    background-color: var(--chat-blue);
    -webkit-animation: blink 2.1s ease infinite;
    animation: blink 2.1s ease infinite;
}
.chat-status__pause {
    color: var(--chat-fog);
}
.chat-status__pause:before {
    border: 1px solid;
}
.chat-status__wait-long {
    color: var(--chat-orange);
}
.chat-status__wait-long:before {
    background-color: var(--chat-orange);
    -webkit-animation: blink 2s ease infinite;
    animation: blink 2s ease infinite;
}
.chat-setting__card-body li em {
    font-size: 80%;
    white-space: nowrap;
}
#other-manager {
    position: relative;
}
.other-manager__select {
    display: block;
    position: relative;
    text-align: center;
    margin-bottom: 10px;
}
.other-manager__select span {
    font-size: 12px;
    color: var(--chat-fog);
    position: relative;
    max-width: 100%;
    display: inline-block;
    font-size: 11.2px;
    line-height: 1.1;
    padding-bottom: 5px;
}
.other-manager__select select {
    display: block;
    width: calc( 100% - 30px );
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid var(--chat-global);
    padding: 3px 5px;
    font-size: 14px;
    font-family: sans-serif;
    font-weight: 700;
    color: var(--chat-global);
    line-height: 1.3;
    background-color: transparent;
}
.other-manager__select select::-ms-expand {
    display: none;
}
.other-manager__select select option {
    font-weight: normal;
    color: var(--chat-dark);
}
#other-manager-send {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 26px;
    width: 30px;
    min-height: auto;
    padding: 0 0 4px;
    border-width: 1px 1px 1px 0;
    line-height: 22px;
}
#other-manager-send span {
    padding: 0 7px;
    font-size: 24px;
    display: inline-block;
    line-height: 20px;
}
#other-manager-send span:before {
    display: none;
}

#admin-management input {
    width: 0;
    height: 0;
    visibility: hidden;
    opacity: 0;
    position: absolute;
}
#admin-management input + label {
}
#admin-management input:checked + label {
}
#admin-management input + label:before {
    color: transparent;
}
#admin-management input:checked + label:before {
    color: var(--chat-global);
}
.chat-setting__admin-checkbox {
    display: block;
    font-size: 14px;
    padding: 5px 0;
    cursor: pointer;
}
.chat-setting__admin-checkbox:before {
    content: '\2713';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 1px solid var(--chat-global);
    font-weight: 700;
    line-height: 5px;
    position: relative;
    top: -3px;
}
.chat-setting__admin-checkbox span {
    padding-left: 5px;
}
/** Chat modal */
#chatModal {
    display: none;
    position: fixed;
    z-index: 14;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,.75);
}
#chatModalImg {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    box-shadow: 0 0 0 1px var(--chat-global);
}
#chatModalTitle {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--chat-global);
    padding: 10px 0;
}
#chatModalImg,
#chatModalTitle {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
#chatModalX {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--chat-global);
    font-size: 40px;
    font-weight: bold;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
#chatModalX:hover,
#chatModalX:focus {
    color: var(--chat-silver);
    text-decoration: none;
    cursor: pointer;
}
/** Chat auto-complete */
.chat-window .ui-autocomplete.ui-widget {
    max-width: 276px;
    box-shadow: 0 -5px 10px -5px var(--chat-dark);
    border-width: 5px 0 0;
    border-color: var(--chat-dark);
    border-style: solid;
    min-width: 276px;
}
.chat-window .ui-menu .ui-menu-item {
    border-bottom: 1px solid var(--chat-grey);
    padding: 4px 10px 5px;
    font-size: 12px;
    line-height: 1.1;
    font-family: monospace;
}
.chat-window .ui-menu .ui-menu-item:last-child {
    border: 0;
}
.chat-window .ui-menu .ui-menu-item:hover {
    background-color: var(--chat-dark);
    color: var(--chat-silver);
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes rotate2 {
    0%, 100% {
        stroke-dashoffset: 82;
    }
    50% {
        stroke-dashoffset: 0;
    }
    50.1% {
        stroke-dashoffset: 164;
    }
}
@-webkit-keyframes rotate2 {
    0%, 100% {
        stroke-dashoffset: 82;
    }
    50% {
        stroke-dashoffset: 0;
    }
    50.1% {
        stroke-dashoffset: 164;
    }
}
@keyframes ellipsis {
    to { width: 1.25em; }
}
@-webkit-keyframes ellipsis {
    to { width: 1.25em; }
}
@-webkit-keyframes blinker {
    from { box-shadow: inset 0 0 0 10px var(--chat-green); }
    30% { box-shadow: inset 0 0 0 10px transparent; }
    70% { box-shadow: inset 0 0 0 10px transparent; }
    to { box-shadow: inset 0 0 0 10px var(--chat-green); }
}
@keyframes blinker {
    from { box-shadow: inset 0 0 0 10px var(--chat-green); }
    30% { box-shadow: inset 0 0 0 10px transparent; }
    70% { box-shadow: inset 0 0 0 10px transparent; }
    to { box-shadow: inset 0 0 0 10px var(--chat-green); }
}
@-webkit-keyframes blinker2 {
    from { box-shadow: inset 0 0 0 10px var(--chat-red); }
    30% { box-shadow: inset 0 0 0 10px transparent; }
    70% { box-shadow: inset 0 0 0 10px transparent; }
    to { box-shadow: inset 0 0 0 10px var(--chat-red); }
}
@keyframes blinker2 {
    from { box-shadow: inset 0 0 0 10px var(--chat-red); }
    30% { box-shadow: inset 0 0 0 10px transparent; }
    70% { box-shadow: inset 0 0 0 10px transparent; }
    to { box-shadow: inset 0 0 0 10px var(--chat-red); }
}
@-webkit-keyframes blinker3 {
    from {
        fill-opacity: 1;
    }
    30% {
        fill-opacity: 0;
    }
    70% {
        fill-opacity: 0;
    }
    to {
        fill-opacity: 1;
    }
}
@keyframes blinker3 {
    from {
        fill-opacity: 1;
    }
    30% {
        fill-opacity: 0;
    }
    70% {
        fill-opacity: 0;
    }
    to {
        fill-opacity: 1;
    }
}
@-webkit-keyframes lds-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes lds-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@-webkit-keyframes close-rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}
@keyframes close-rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}
@-webkit-keyframes blink {
    from { opacity: 1; }
    30% { opacity: 0; }
    70% { opacity: 0; }
    to { opacity: 1; }
}
@keyframes blink {
    from { opacity: 1; }
    30% { opacity: 0; }
    70% { opacity: 0; }
    to { opacity: 1;}
}
.chat-window__button span.chat-start:before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M218.944 400.496h265.52c15.2 0 27.536-12.64 27.536-28.224V28.224C512 12.64 499.664 0 484.464 0H27.536C12.336 0 0 12.64 0 28.224v344.24c0 15.584 12.336 28.224 27.536 28.224H80.64L47.248 512l156.608-106.88c4.48-3.008 9.728-4.624 15.088-4.624z' fill='%23ffe200'/%3E%3Cg fill='%23151515'%3E%3Ccircle cx='256' cy='137.984' r='57.136'/%3E%3Cpath d='M346.464 312.96c-.992-54.576-41.072-98.496-90.464-98.496s-89.472 43.92-90.464 98.496h180.928z'/%3E%3C/g%3E%3C/svg%3E");
}
.chat-window__button span.chat-send:before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 495.003 495.003'%3E%3Cg fill='%23ffe200'%3E%3Cpath d='M164.711 456.687a8.007 8.007 0 004.266 7.072 7.992 7.992 0 008.245-.468l55.09-37.616-67.6-32.22v63.232zM492.431 32.443a8.024 8.024 0 00-5.44-2.125 7.89 7.89 0 00-3.5.816L7.905 264.422a14.154 14.154 0 00.153 25.472L133.4 349.618l250.62-205.99-219.565 220.786 156.145 74.4a14.115 14.115 0 006.084 1.376c1.768 0 3.519-.322 5.186-.977a14.188 14.188 0 007.97-7.956l154.596-390a7.968 7.968 0 00-2.005-8.814z'/%3E%3C/g%3E%3C/svg%3E");
}
.chat-user__avatar:before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11'%3E%3Cpath fill='%23151515' d='M5 0C3.3 0 2 1.3 2 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3zm0 6c-2.8 0-5 2.2-5 5h1c0-2.2 1.8-4 4-4s4 1.8 4 4h1c0-2.8-2.2-5-5-5zm0-5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z'/%3E%3C/svg%3E");
}
.chat-button__sites:before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 47.6 46'%3E%3Cpath d='M6.6 14h30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-.5-1.4-.8-2.8 0-.1.1-.3-2.2-.3zm-.1 4c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8zm0 1c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 3c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4z'/%3E%3C/svg%3E");
}
.chat-button__user:before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23FFE200' d='M437 75C388.7 26.6 324.4 0 256 0S123.3 26.6 75 75C26.6 123.3 0 187.6 0 256s26.6 132.7 75 181c48.4 48.4 112.6 75 181 75s132.7-26.6 181-75c48.4-48.4 75-112.6 75-181s-26.6-132.7-75-181zm-181-5c30.3 0 55 24.7 55 55s-24.7 55-55 55-55-24.7-55-55 24.7-55 55-55zm70 350H186v-30h30V240h-30v-30h110v180h30v30z'/%3E%3C/svg%3E");
}
/**
 * End: 1163;
 */
