.chat {
    overflow: hidden;
    padding: 20px;
}

.chat h1 {
    color: black;
    font-weight: 800;
    font-size: 24px;
    line-height: 28px;
    margin: 0 0 24px;
}

.chat-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.chat-links li {
    padding: 6px 0;
}

.chat-links a {
    display: block;
    background: #f7f7f9;
    border-radius: 8px;
    padding: 8px 30px 8px 12px;
    color: #9a9a9a;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    text-decoration: none;
    position: relative;
    transition: all 0.2s linear;
}

.chat-links a .title {
    display: block;
    font-size: 16px;
    line-height: 24px;
    color: #303030;
    margin: 0 0 3px;
    transition: all 0.2s linear;
}

.chat-links a:before {
    position: absolute;
    left: -7px;
    top: -7px;
    height: 14px;
    width: 14px;
    border: 2px solid white;
    background: #fb3d24;
    border-radius: 100%;
}

.chat-links a:after {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    background: url("/static/icons/arrow_right_big.90158d350c1d.svg") no-repeat;
    width: 8px;
    height: 14px;
    transition: all 0.2s linear;
}

.chat-links a:hover,
.chat-links a:hover .title {
    color: white;
    transition: all 0.2s linear;
}

.chat-links li.active a span,
.chat-links a:hover span {
    opacity: 0.5;
}

.chat-links a:hover {
    background: #0094f4;
}

.chat-links li.active a {
    background: #0094f4;
    color: white;
}

.chat-links li.active a .title {
    color: white;
}

.chat-links li.active a:before {
    content: "";
}

.chat-links li.active a:after,
.chat-links a:hover:after {
    transition: all 0.2s linear;
    background: url("/static/icons/arrow_right_big_white.28ecce51f986.svg") no-repeat;
}

.chat .btn-back {
    display: inline-block;
    vertical-align: top;
    position: relative;
    color: #303030;
    font-size: 10px;
    line-height: 12px;
    padding: 1px 0 1px 15px;
    margin: 0 0 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.chat .btn-back:after {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    background: url("/static/icons/arrow-left.fe9653c39a9d.svg") no-repeat;
    width: 8px;
    height: 14px;
}

.messages {
    overflow: hidden;
    padding: 5px 0;
}

.chat .message {
    overflow: hidden;
    padding: 0 40px 5px 0;
}

.chat .message-time {
    display: block;
    font-size: 12px;
    line-height: 16px;
    color: #9a9a9a;
    margin: 0 0 5px;
}

.message-box {
    position: relative;
    margin: 0 0 20px;
    background: #f7f7f9;
    padding: 12px;
    color: #303030;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    border-radius: 6px 6px 6px 0;
    text-align: left;
    display: inline-block;
    vertical-align: top;
    min-width: 70px;
    word-break: break-word;
}

.message.reply{
    text-align: right;
    padding: 0 0 5px 40px;
}


.message.reply .message-box{
    border-radius: 6px 6px 0 6px;
}

.message-box:after {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 20px solid #f7f7f9;
    border-bottom: 10px solid transparent;
    position: absolute;
    left: 0;
    bottom: -10px;
    content: "";
    border-radius: 2px;
    pointer-events: none;
}

.message.reply .message-box:after {
    right: 0;
    left: auto;
    border-left: 0;
    border-right: 20px solid #f7f7f9;
}

.covid-info-link {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 16px;
    line-height: 22px;
    font-weight: bold;
    letter-spacing: 0.01em;
}

.covid-info-link li {
    overflow: hidden;
    margin: 4px 0;
    background: none;
    max-width: inherit;
}

.covid-info-link a,
.covid-info-link button {
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 12px 16px;
    color: #303030;
    text-decoration: none;
    display: block;
    background: #f7f7f9;
    transition: all 0.2s linear;
    font: bold 16px/22px "Poppins", 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: bold;
    letter-spacing: 0.01em;
    width: 100%
}

.covid-info-link a:hover {
    color: white;
    background: #0094F4;
    border-color: #0094F4;
}

.login-info {
    text-align: center;
    color: #9A9A9A;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.login-info .login {
    display: inline-block;
    vertical-align: top;
    margin: 12px;
    color: #303030;
    font-weight: bold;
}

.login-info .login:hover {
    text-decoration: none;
}

.login-info p {
    margin: 0 0 10px;
}

.search-box {
    position: relative;
}

.search-box:after {
    display: block;
    content: "";
    clear: both;
}

.search-box .search-box {
    border: 1px solid #efefef;
    background: #F7F7F9;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    font-size: 14px;
    border-radius: 8px;
    letter-spacing: 0.01em;
    color: #9a9a9a;
    padding: 10px 100px 10px 10px;
    box-sizing: border-box;
    width: 100%;
}

.btn-search {
    position: absolute;
    z-index: 2;
    top: 3px;
    right: 3px;
    bottom: 3px;
    background: #0094F4;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    line-height: 14px;
}

.btn-search.add {
    position: static;
    margin-top: 10px;
}

.attachment-box .attachment-line img {
    display: inline-block;
}