.audience__wrapper>h2 {
    margin-top: 0px;
    font-size: 28px;
    line-height: 125%;
    font-weight: 600;
    color: #111928
}

.audience__wrapper .regular__table>.top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.audience__wrapper .regular__table>.top .period__wrapper {
    margin-right: 8px
}

.audience__wrapper .regular__table>.top .period__wrapper>input {
    height: 37px;
    border-radius: 8px;
    outline: none;
    border: 1px solid #D1D5DB;
    padding-left: 35px;
    padding-right: 11px;
    width: 90px;
    background: url("../img/period.svg");
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: 12px center
}

.audience__wrapper .regular__table>.top .controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end
}

.audience__wrapper .regular__table>.top .controls>.group__dropdown {
    margin-right: 8px
}

.audience__wrapper .regular__table>.top .controls>.group__dropdown .dropdown {
    min-width: 170px
}

.audience__wrapper .regular__table>.top .controls>.regular-btn {
    margin-right: 8px
}

.audience__wrapper .regular__table>.top .find__form {
    width: 100%;
    max-width: 645px
}

.audience__wrapper .regular__table>.top .find__form form {
    width: 100%;
    max-width: 100%
}

.audience__wrapper .regular__table>.top .controls>.regular-btn {
    white-space: nowrap
}

.audience__wrapper .regular__table>.top .find__form {
    margin-right: 15px
}

.modal__side.profile__side .inner__modal>.modal__box .double .chat__box {
    height: calc(100vh - 53px)
}

.chat__list {
    padding: 16px;
    width: 100%;
    height: calc(100vh - 320px);
    overflow-y: auto
}

.chat__list .day__mark {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 24px 0px
}

.chat__list .day__mark:nth-child(1) {
    margin-top: 0px
}

.chat__list .day__mark>span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 100%;
    min-height: 1px;
    background-color: #E5E7EB
}

.chat__list .day__mark>p {
    margin: 0px;
    margin: 0px 15px;
    white-space: nowrap;
    font-size: 14px;
    line-height: 20px;
    color: #6B7280;
    font-weight: 400
}

.chat__list::-webkit-scrollbar {
    width: 4px;
    height: 4px
}

.chat__list::-webkit-scrollbar-thumb {
    border-radius: 250px;
    background-color: #1c45c2
}

.elem__chat {
    margin-bottom: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.elem__chat .message {
    width: 100%
}

.elem__chat .message .desc>p {
    margin: 0px;
    font-size: 14px;
    line-height: 130%;
    font-weight: 400;
    color: #1F2A37;
    margin-bottom: 15px
}

.elem__chat .message .desc>p:last-child {
    margin-bottom: 0px
}

.elem__chat .message>.title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 2px
}

.elem__chat .message>.title>span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    font-size: 12px;
    line-height: 150%;
    font-weight: 400;
    color: #6B7280;
    padding-top: 4px
}

.elem__chat .message>.title>p {
    margin: 0px;
    margin-right: 4px;
    font-size: 16px;
    line-height: 150%;
    font-weight: 600;
    color: #111928
}

.elem__chat .author {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-right: 8px
}

.elem__chat .author.logo>span>img {
    max-width: 24px;
    max-height: 24px
}

.elem__chat .author>span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 45px;
    max-width: 45px;
    min-height: 45px;
    max-height: 45px;
    border-radius: 250px
}

.chat__controls {
    width: 100%;
    padding-left: 16px;
    padding-bottom: 24px;
    padding-top: 30px;
    padding-right: 16px
}

.chat__controls .bottom__buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 12px 20px;
    border-left: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px
}

.chat__controls .bottom__buttons .right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end
}

.chat__controls .bottom__buttons .right>button {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 27px;
    padding-right: 27px;
    background-color: #111928;
    -webkit-transition: .3s ease all;
    transition: .3s ease all
}

.chat__controls .bottom__buttons .right>button:hover {
    background-color: #1C45C2
}

.chat__controls .bottom__buttons .right>button:active {
    background-color: #1C45C2
}

.chat__controls .bottom__buttons .right>span {
    display: block;
    margin-right: 24px;
    font-size: 12px;
    line-height: 150%;
    font-weight: 400;
    color: #4B5563
}

.chat__controls .bottom__buttons .right>span span {
    color: #111928
}

.chat__controls .bottom__buttons ul {
    padding: 0px;
    list-style-type: none;
    margin: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.chat__controls .bottom__buttons ul>li {
    margin-right: 15px
}

.chat__controls .bottom__buttons ul>li>a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-decoration: none
}

.chat__controls .bottom__buttons ul>li>a.opened.stroke svg path {
    fill: none;
    stroke: #1C45C2
}

.chat__controls .bottom__buttons ul>li>a.opened svg path {
    fill: #1C45C2
}

.chat__controls .bottom__buttons ul>li>a:hover.stroke svg path {
    fill: none;
    stroke: #1C45C2
}

.chat__controls .bottom__buttons ul>li>a:hover svg path {
    fill: #1C45C2
}

.chat__controls .bottom__buttons ul>li>a svg path {
    -webkit-transition: .3s ease all;
    transition: .3s ease all
}

.chat__controls .bottom__buttons ul>li:last-child {
    margin-right: 0px
}

.chat__controls>textarea {
    width: 100%;
    height: 115px;
    background-color: #fff;
    border: 0px;
    outline: none;
    border-left: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    padding: 15px 20px;
    font-size: 14px;
    color: #000
}

.chat__controls .top__buttons {
    border: 1px solid #E5E7EB;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    background-color: #fff;
    position: relative;
    height: 36px
}

.chat__controls .top__buttons::-webkit-scrollbar {
    width: 4px;
    height: 4px
}

.chat__controls .top__buttons::-webkit-scrollbar-thumb {
    border-radius: 250px;
    background-color: #1c45c2
}

.chat__controls .top__buttons ul {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    padding: 0px;
    list-style-type: none;
    margin: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.chat__controls .top__buttons ul>li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-right: 1px solid #E5E7EB
}

.chat__controls .top__buttons ul>li:last-child {
    border-right: 0px
}

.chat__controls .top__buttons ul>li>a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 12px;
    line-height: 18px;
    color: #4B5563;
    font-weight: 500;
    text-decoration: none;
    padding: 7px 15px;
    -webkit-transition: .3s ease all;
    transition: .3s ease all
}

.chat__controls .top__buttons ul>li>a.current {
    background-color: #F9FAFB
}

.chat__controls .top__buttons ul>li>a:hover {
    background-color: #F9FAFB
}

.chat__controls .top__buttons ul>li>a span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 4px
}

.chat__controls .top__buttons ul>li>a span img {
    min-width: 16px;
    max-width: 16px
}

.chat__controls .top__buttons ul {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.select__tags {
    width: 100%;
    max-width: 335px;
    background-color: #FFFFFF;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    -webkit-box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.04);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.04);
    z-index: 10;
    position: absolute
}

.select__tags .workroom ul {
    padding: 0px;
    list-style-type: none;
    margin: 0px;
    max-height: 150px;
    overflow-y: auto
}

.select__tags .workroom ul::-webkit-scrollbar {
    width: 4px;
    height: 4px
}

.select__tags .workroom ul::-webkit-scrollbar-thumb {
    border-radius: 250px;
    background-color: #1c45c2
}

.select__tags .workroom ul>li>a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 14px;
    line-height: 150%;
    color: #0E1217;
    font-weight: 400;
    -webkit-transition: .4s ease all;
    transition: .4s ease all
}

.select__tags .workroom ul>li>a:hover {
    background-color: #F3F3F3
}

.select__tags .workroom>p {
    margin-top: 0px;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 150%;
    font-weight: 500;
    color: #0E1217;
    padding-left: 16px;
    padding-right: 16px
}

.select__tags .search__tags {
    padding: 12px 16px
}

.select__tags .search__tags form {
    width: 100%
}

.select__tags .search__tags form>input {
    width: 100%;
    height: 40px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding-left: 12px;
    padding-right: 12px;
    outline: none;
    color: #000
}

.select__tags .title {
    padding: 12px 16px;
    border-bottom: 1px solid #E5E7EB
}

.select__tags .title>p {
    margin: 0px;
    font-size: 14px;
    line-height: 150%;
    font-weight: 600;
    color: #0E1217
}

.choose__time>a.active svg path {
    fill: #1C45C2
}

.choose__template--box {
    min-width: 335px;
    max-width: 335px;
    -webkit-box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.04);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.04);
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    bottom: 100%;
    top: auto;
    margin-bottom: 18px
}

.choose__template--box .schedule {
    border-top: 1px solid #E5E7EB
}

.choose__template--box .schedule>a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    text-decoration: none;
    font-size: 14px;
    line-height: 150%;
    font-weight: 600;
    color: #111928;
    padding: 13px 16px;
    -webkit-transition: .3s ease all;
    transition: .3s ease all
}

.choose__template--box .schedule>a span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 4px
}

.choose__template--box .schedule>a:hover {
    opacity: .7
}

.choose__template--box .list {
    padding: 8px 0px
}

.choose__template--box .list>a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 150%;
    width: 100%;
    font-weight: 400;
    color: #111928;
    -webkit-transition: .3s ease all;
    transition: .3s ease all
}

.choose__template--box .list>a:hover {
    background-color: #F9FAFB
}

.choose__template--box>.head {
    padding: 12px 16px;
    border-bottom: 1px solid #E5E7EB
}

.choose__template--box>.head>p {
    margin: 0px;
    font-size: 14px;
    line-height: 150%;
    font-weight: 500;
    color: #111928
}

.choose__time {
    position: relative
}

.elem__chat:last-child {
    margin-bottom: 0px
}

.scheduled__message {
    width: calc(100% - 53px);
    margin-left: auto;
    margin-bottom: 16px
}

.scheduled__message:last-child {
    margin-bottom: 0px
}

.scheduled__message .inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: #E5E7EB
}

.scheduled__message .inner .right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end
}

.scheduled__message .inner .right>a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 8px
}

.scheduled__message .inner .right>a:last-child {
    margin-right: 0px
}

.scheduled__message .inner .left {
    margin-right: 12px
}

.scheduled__message .inner .left>p {
    margin: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 14px;
    color: rgba(17, 25, 40, 0.7);
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.scheduled__message .inner .left>p>span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 8px
}

.top__buttons {
    position: relative
}

.top__buttons .main__button {
    position: relative
}

.top__buttons .main__button>span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: absolute;
    top: 50%;
    right: 10px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

.top__buttons .main__button>a {
    height: 36px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    line-height: 16px;
    color: #4B5563;
    font-weight: 500;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding-left: 15px
}

.top__buttons .main__button>a span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 4px
}

.chat__controls .top__buttons ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.chat__controls .top__buttons {
    position: relative
}

.chat__controls .top__buttons {
    overflow-x: visible;
    overflow-y: visible
}

.chat__controls .top__buttons ul {
    bottom: 100%;
    top: auto;
    border: 1px solid #E5E7EB;
    background-color: #fff;
    max-height: 180px;
    overflow-y: auto;
    border-radius: 6px
}

.chat__controls .top__buttons ul::-webkit-scrollbar {
    width: 4px;
    height: 4px
}

.chat__controls .top__buttons ul::-webkit-scrollbar-thumb {
    border-radius: 250px;
    background-color: #1c45c2
}

.chat__controls .top__buttons ul>li>a {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.contacts__list .contacts__list--box>.contact__element>.top>p {
    width: calc(100% - 100px);
    overflow: hidden;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap
}

.contacts__list .contacts__list--box>.contact__element.smaller {
    padding-left: 20px
}

.owned {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 4px
}

.owned .controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end
}

.owned .controls>span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 8px
}

.owned .controls>span:last-child {
    margin-right: 0px
}

.owned>.left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    width: calc(100% - 60px)
}

.owned>.left>span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-right: 8px
}

.owned>.left>p {
    margin: 0px;
    font-size: 16px;
    line-height: 140%;
    font-weight: 600;
    color: #111928;
    overflow: hidden;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap
}

.chat__wrapper .right .btns .square {
    min-height: 37px;
    padding: 0px;
    min-width: 37px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.select__template--wrapper {
    position: absolute;
    z-index: 10;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    background-color: #fff;
    max-width: 335px;
    -webkit-box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.04);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.04)
}

.select__template--wrapper .inner .list {
    max-height: 195px;
    overflow-y: auto
}

.select__template--wrapper .inner .list::-webkit-scrollbar {
    width: 4px;
    height: 4px
}

.select__template--wrapper .inner .list::-webkit-scrollbar-thumb {
    border-radius: 250px;
    background-color: #1c45c2
}

.select__template--wrapper .inner .list>.elem {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 14px 15px;
    text-decoration: none;
    border-bottom: 1px solid #E5E7EB;
    -webkit-transition: .3s ease all;
    transition: .3s ease all
}

.select__template--wrapper .inner .list>.elem:hover {
    background-color: #F9FAFB
}

.select__template--wrapper .inner .list>.elem:last-child {
    border-bottom: 0px
}

.select__template--wrapper .inner .list>.elem>p {
    font-size: 12px;
    line-height: 150%;
    font-weight: 400;
    color: #4B5563;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0px
}

.select__template--wrapper .inner .list>.elem>.top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 4px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.select__template--wrapper .inner .list>.elem>.top>p {
    margin: 0px;
    font-size: 14px;
    line-height: 150%;
    font-weight: 500;
    color: #111928
}

.select__template--wrapper .inner .list>.elem>.top>span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 4px
}

.select__template--wrapper .inner .list>.elem>.top>span img {
    min-width: 16px;
    max-width: 16px
}

.select__template--wrapper .inner .search {
    padding: 12px 16px;
    border-bottom: 1px solid #E5E7EB
}

.select__template--wrapper .inner .search>input {
    width: 100%;
    height: 40px;
    padding-left: 12px;
    padding-right: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px
}

.select__template--wrapper .inner>.title {
    padding: 12px 16px;
    border-bottom: 1px solid #E5E7EB
}

.select__template--wrapper .inner>.title>p {
    margin: 0px;
    font-size: 14px;
    line-height: 150%;
    font-weight: 600;
    color: #111928
}

@media (max-width: 1360px) {
    .chat__controls>textarea {
        height: 80px
    }

    .chat__controls {
        padding-top: 15px;
        padding-bottom: 15px
    }

    .chat__controls .bottom__buttons {
        padding: 7px 20px
    }
}

@media (max-width: 1200px) {
    .select__template--wrapper {
        max-width: 270px;
        margin-left: 80px
    }

    .choose__template--box {
        min-width: 260px;
        max-width: 260px;
        margin-left: 60px
    }

    .modal__side.profile__side .inner__modal>.modal__box .double {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .modal__side.profile__side .inner__modal>.modal__box .double>.contact__info {
        padding: 15px;
        max-width: 100%;
        border-right: 0px
    }

    .modal__side.profile__side .inner__modal>.modal__box .double .chat__box {
        height: auto
    }

    .chat__list {
        max-height: 450px
    }

    .modal__side.profile__side .inner__modal>.modal__box .head {
        padding: 10px 15px
    }

    .chat__list {
        height: auto;
        max-height: 450px
    }
}

@media (max-width: 991px) {
    .modal__side.profile__side .inner__modal>.modal__box .double>.contact__info>ul {
        margin-bottom: 16px
    }

    .modal__side.profile__side .inner__modal>.modal__box .double>.contact__info .row__table {
        margin-bottom: 16px
    }

    .modal__side.profile__side .inner__modal>.modal__box .double .contact__info .contact__group {
        margin-bottom: 16px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .modal__side.profile__side .inner__modal>.modal__box .double .contact__info .contact__group>.elem:nth-child(1) {
        margin-right: 0px;
        margin-bottom: 15px
    }

    .modal__side.profile__side .inner__modal>.modal__box .double .contact__info .contact__group>.elem:nth-child(2) {
        min-width: 0px;
        max-width: 100%;
        width: 100%
    }

    .modal__side.profile__side .inner__modal>.modal__box .head {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        position: relative
    }

    .modal__side.profile__side .inner__modal>.modal__box .head>.left {
        width: 100%;
        margin-bottom: 10px
    }

    .modal__side.profile__side .inner__modal>.modal__box .head .right {
        width: 100%;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start
    }

    .modal__side.profile__side .inner__modal>.modal__box .head .right>a:last-child {
        position: absolute;
        right: 5px;
        top: 5px
    }

    .audience__wrapper .regular__table>.top .find__form {
        max-width: 100%;
        width: 100%;
        margin-right: 0px;
        margin-bottom: 10px
    }

    .audience__wrapper .regular__table>.top .controls {
        margin-left: auto
    }

    .modal__side.profile__side .inner__modal>.modal__box .head .right {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        width: 100%
    }

    .modal__side.profile__side .inner__modal>.modal__box .head .right>a {
        margin-right: 0px
    }

    .modal__side.profile__side .inner__modal>.modal__box .head>.left .tags .tag {
        margin: 4px
    }

    .modal__side.profile__side .inner__modal>.modal__box .head>.left .tags {
        margin-left: -4px
    }

    .modal__side.profile__side .inner__modal>.modal__box .head .right .email__tags>.el {
        margin: 4px
    }

    .modal__side.profile__side .inner__modal>.modal__box .head .right .email__tags {
        margin-left: -4px;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-top: -4px
    }

    .modal__side.profile__side .inner__modal>.modal__box .double>.contact__info>ul {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        overflow-x: auto
    }

    .modal__side.profile__side .inner__modal>.modal__box .double>.contact__info>ul::-webkit-scrollbar {
        width: 6px;
        height: 4px
    }

    .modal__side.profile__side .inner__modal>.modal__box .double>.contact__info>ul::-webkit-scrollbar-thumb {
        border-radius: 250px;
        background-color: #1c45c2
    }
}

@media (max-width: 767px) {
    .chat__controls>textarea {
        height: 65px
    }

    .chat__list .day__mark {
        margin: 15px 0px
    }

    .chat__list {
        padding: 10px
    }

    .modal__side.profile__side .inner__modal>.modal__box .head>.left {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }

    .modal__side.profile__side .inner__modal>.modal__box .head>.left {
        margin-bottom: 5px
    }

    .modal__side.profile__side .inner__modal>.modal__box .head .right .email__tags {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }

    .modal__side.profile__side .inner__modal>.modal__box .head>.left .tags {
        margin: 4px;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-left: -4px
    }

    .audience__wrapper .regular__table>.top .controls {
        position: relative
    }

    .audience__wrapper .regular__table>.top .controls .filter__btn {
        position: absolute;
        right: 0px;
        bottom: 0px
    }

    .audience__wrapper .regular__table>.top .period__wrapper {
        width: calc(100% - 47px);
        margin-right: auto
    }

    .audience__wrapper .regular__table>.top .period__wrapper>input {
        width: 100% !important
    }

    .audience__wrapper .regular__table>.top .controls>.group__dropdown {
        width: 100%;
        margin-bottom: 8px;
        margin-right: 0px
    }

    .audience__wrapper .regular__table>.top .controls>.group__dropdown>a {
        width: 100%;
        max-width: 100%
    }

    .audience__wrapper .regular__table>.top .controls {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%
    }

    .audience__wrapper .regular__table>.top .controls>.regular-btn {
        width: 100%;
        margin-right: 0px;
        margin-bottom: 8px
    }

    .chat__controls .bottom__buttons .right>button {
        padding-left: 11px;
        padding-right: 11px
    }

    .chat__controls .bottom__buttons .right>span {
        margin-right: 8px
    }

    .chat__controls .bottom__buttons ul>li {
        margin-right: 8px
    }

    .chat__controls {
        padding: 10px
    }

    .chat__controls .bottom__buttons {
        padding: 7px 12px
    }
}

@media (max-width: 640px) {
    .modal__side.profile__side .inner__modal>.modal__box .double>.contact__info .row__table .list__tables>.elem__table {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start
    }

    .modal__side.profile__side .inner__modal>.modal__box .double>.contact__info .row__table .list__tables>.elem__table>span {
        margin-bottom: 5px
    }
}

@media (max-width: 480px) {
    .chat__controls .bottom__buttons .right>span {
        font-size: 11px
    }

    .chat__controls .bottom__buttons ul>li {
        margin-right: 6px
    }
}

.pagination__switcher li>a:not(.current) {
    cursor: pointer !important;
}

.notes-list.show-permanent {
    opacity: 1;
    pointer-events: all;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    position: relative;
    padding: 0px 5px 10px;
}

.notes-list-item:first-child {
    border-bottom: none;
    padding-bottom: 0;
}

.notes-list-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #f1f1f1;
    padding: 16px 0;
}

.notes-list-item-title {
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 19px;
    color: #111;
    padding-right: 10px;
    width: 70%;
    display: block;
}

.notes-list-item-date {
    width: 30%;
    display: block;
    font-style: normal;
    font-weight: normal;
    font-family: "Inter";
    font-size: 12px;
    line-height: 17px;
    letter-spacing: -0.02em;
    color: #111111;
    opacity: 0.4;
    text-align: right;
}

.notes-list-item-text {
    width: 100%;
    font-style: normal;
    font-weight: normal;
    font-family: "Inter";
    font-size: 12px;
    line-height: 18px;
    color: #76838f;
    padding-top: 11px;
}

.notes-list-header {
    display: none;
    /* grid-template-columns: 40px 1fr 20px; */
    /* grid-template-rows: 1fr 1fr; */
    /* column-gap: 8px; */
    /* padding-right: 20px; */
}

.notes-list-body {
    /* width: calc(100% - 2px); */
    /* height: 200px; */
    padding-right: 5px;
    overflow-y: auto;
    display: flex;
    flex-direction: column-reverse;
}

.notes-list-item-text {
    width: 100%;
    font-style: normal;
    font-weight: normal;
    font-family: "Inter";
    font-size: 12px;
    line-height: 18px;
    color: #76838f;
    padding-top: 11px;
}

.notes-list .notes-list-input {
    margin-top: 20px;
    height: 44px;
    padding-left: 13px;
    /* width: calc(100% - 20px); */
}

.tags-div {
    display: flex;
    font-size: 12px;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    max-width: 200px;
    justify-content: center;
}

.pipeline-column-item-tag {
    padding: 2px;
    background: #99dc1311;
    border-radius: 4px;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #99dc13;
    margin-bottom: 2px;
    border: 1px solid;
}

.audience_filter {
    /* .gln_multiselect_wrapper {
        max-width: 350px;
    } */

    .multiselect-container li.filter:hover {
        background-color: transparent !important;
    }

    .multiselect-item.filter .input-group {
        display: flex;
        align-items: center;
        margin-top: 5px;

        span.input-group-addon {
            display: none;
        }

        .multiselect-clear-filter {
            cursor: pointer;
        }
    }

    button.multiselect.dropdown-toggle.btn.btn-default {
        justify-content: flex-start;
    }
}

.add_custom_filter_btn {
    margin-top: 15px;
}

/* ── Midbound unlock page flash messages ───────────────────────────────────── */
.gln-flash {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
}

.gln-flash--error {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.gln-flash--success {
    background-color: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
}

.gln-flash__icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.gln-flash__close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}

.gln-flash__close:hover {
    opacity: 1;
}