@font-face {
    font-family: "Rubik";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Rubik/static/Rubik-Regular.ttf") format("ttf");
    font-display: swap
}

@font-face {
    font-family: "Rubik";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/Rubik/static/Rubik-Medium.ttf") format("ttf");
    font-display: swap
}

@font-face {
    font-family: "Rubik";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/Rubik/static/Rubik-SemiBold.ttf") format("ttf");
    font-display: swap
}

@font-face {
    font-family: "Rubik";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/Rubik/static/Rubik-Bold.ttf") format("ttf");
    font-display: swap
}
a, .ubusinesscardshow,.startchat,.openbgpic
{
    cursor: pointer;
}
.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all .35s ease-out;
    -o-transition: all .35s ease-out;
    transition: all .35s ease-out
}

.mfp-fade.mfp-bg.mfp-ready {
    opacity: .8
}

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all .35s ease-out;
    -o-transition: all .35s ease-out;
    transition: all .35s ease-out
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0
}

.profile .mfp-close,
.case .mfp-close {
    font-size: 0;
    display: block;
    width: 30px;
    height: 30px;
    background-image: url("../img/icons/close.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 100%;
    bottom: 100%;
    right: auto;
    top: auto;
    -webkit-transform: translate(10px, -10px);
    -ms-transform: translate(10px, -10px);
    transform: translate(10px, -10px);
    opacity: 1
}

.profile .mfp-close, .case .mfp-close {
    font-size: 0;
    display: block;
    width: 30px;
    height: 30px;
    background-image: url("../img/icons/close.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 100%;
    bottom: 100%;
    right: auto;
    top: auto;
    -webkit-transform: translate(10px, -10px);
    -ms-transform: translate(10px, -10px);
    transform: translate(10px, -10px);
    opacity: 1
}

.profile {
    width: 700px;
    border-radius: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 100;
    border: 10px solid #147a90;
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, .04), 0px 8px 16px rgba(0, 0, 0, .08);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, .04), 0px 8px 16px rgba(0, 0, 0, .08);
    background-color: #fff;
    padding: 10px
}

.profile::before {
    content: "";
    width: 100%;
    height: 130px;
    background-image: url("../img/modal/profile-bg.svg");
    background-size: cover;
    background-position: center top;
    position: absolute;
    bottom: 100%;
    left: 50%;
    -webkit-transform: translate(-50%, -5px);
    -ms-transform: translate(-50%, -5px);
    transform: translate(-50%, -5px);
    width: calc(100% + 20px)
}

.profile__btn {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    z-index: 2;
    right: 10px;
    top: 10px;
    border-radius: 5px;
    background-color: #fff
}

.profile__btn-edit {
    background-image: url("../img/modal/edit.svg")
}

.profile__btn-save {
    background-image: url("../img/modal/save.svg");
    position: fixed;
    top: 10px;
    right: 25px
}

.profile__btn-chat {
    background-image: url("../img/modal/chat.svg");
    width: 40px;
    height: 40px
}

.profile__inner {
/*    overflow-y: auto;*/
    background-color: #fff;
    color: #87929f;
    padding: 10px 30px;
    position: relative
}

.profile__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 30px
}

.profile__title {
    font-size: 25px;
    font-weight: 700;
    color: #102540
}

.profile__subtitle {
    font-size: 14px;
    color: gray
}

.profile__avatar {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    position: relative;
    margin-right: 35px
}

.profile__avatar-image {
    width: 150px;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 50%
}

.profile__avatar-company {
    width: 90px;
    height: 90px;
    background-size: cover;
    background-position: center;
    border-radius: 5px
}

.profile__data {
    width: 100%
}

.profile__data-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 5px
}

.profile__data-item:last-child {
    margin-bottom: 0
}

.profile__data-icon {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    margin-right: 10px
}

.profile__social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px
}

.profile__social-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.profile__container {
    margin-bottom: 20px
}

.profile__container:last-child {
    margin-bottom: 0
}

.profile__heading {
    margin-bottom: 5px;
    font-weight: 600;
    color: #102540;
    line-height: 1.3
}

.profile__flexbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px
}

.profile__flexbox-item {
    background-color: #f1fbff;
    padding: 3px 10px;
    border-radius: 5px;
    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
}

.profile-edit .profile__inner {
    padding-right: 60px
}

.profile-edit .profile__top {
    margin-bottom: 15px
}

.profile-edit .profile__avatar-image {
    border: 1px solid #99e0fe
}

.profile-edit .profile__avatar-edit {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background-image: url("../img/modal/avatar-edit.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translate(50%, -50%);
    -ms-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
    cursor: pointer
}

.profile-edit .profile__avatar-edit input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1px;
    height: 1px
}

.profile-edit .profile__data-item {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 15px
}

.profile-edit .profile__data-item:last-child {
    margin-bottom: 0
}

.profile-edit .profile__social {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0;
    margin-bottom: 15px
}

.profile-edit .profile__social-item {
    width: 100%;
    margin-bottom: 15px
}

.profile-edit .profile__social-icon {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-right: 10px
}

.profile-edit .profile__input {
    width: 100%;
    padding: 3px 0;
    color: #102540
}

.profile-edit .profile__input::-webkit-input-placeholder {
    color: #87929f
}

.profile-edit .profile__input::-moz-placeholder {
    color: #87929f
}

.profile-edit .profile__input:-ms-input-placeholder {
    color: #87929f
}

.profile-edit .profile__input::-ms-input-placeholder {
    color: #87929f
}

.profile-edit .profile__input::placeholder {
    color: #87929f
}

.profile-edit .profile__flexbox-item {
    background: none;
    cursor: pointer;
    padding: 0 5px
}

.profile-edit .profile__privacy {
    font-size: 14px;
    line-height: 1.3
}

.profile-edit .profile__checkbox {
    margin-right: 10px
}

.profile-edit .profile__checkbox::after {
    background-image: url("../img/modal/check.svg");
    width: 12px;
    height: 12px
}

.case {
    width: 700px;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 100
}

.case::before {
    content: "";
    width: 157px;
    height: 61px;
    background-image: url("../img/modal/case-bg.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    position: absolute;
    bottom: 100%;
    left: 50%;
    -webkit-transform: translate(-50%, 5px);
    -ms-transform: translate(-50%, 5px);
    transform: translate(-50%, 5px);
    z-index: -1
}

.case .tabs__content {
    display: none;
    max-height: 480px;
    height: 480px;
    overflow-y: auto;
    padding-bottom: 20px;
}

.case .tabs__content.active {
    display: block
}

.case .tabs__captions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    bottom: -1px;
    margin-bottom: 0 !important;
}

.case .tabs__captions-item {
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 50px;
    background-color: #c25829 !important;
    border: 5px solid #f5773e !important;
    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;
    cursor: pointer;
    position: relative;
    margin-right: 0 !important;
    padding: 0 !important;
}

.case .tabs__captions-item.active {
    background:  none !important;
    background-color: #fff !important;
    border-bottom: none !important;
}

.case .tabs__captions-item.active .tabs__captions-icon {
    position: relative !important;
    bottom: 2.5px !important
}

.case-company::before {
    display: none
}

.case-company .case__container {
    border-color: #5bb9c9
}

.case-company .case-item {
    border-bottom: 1px dashed #a0e3ff
}

.case-company .case-item::after {
    display: none
}

.case-company .tabs__captions-item {
    background: -webkit-gradient(linear, left top, right top, from(#D0F1FF), color-stop(48.96%, #99E0FE), to(#B1E7FE)) !important;
    background: linear-gradient(90deg, #D0F1FF 0%, #99E0FE 48.96%, #B1E7FE 100%);
    border-color: #5bb9c9 !important
}

.case-company .tabs__captions-item.active {
    background: #fff
}

.case__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.case__container {
    border-radius: 0 0 10px 10px;
    background-color: #fff;
    border: 5px solid #f5773e;
    border-top: none;
    padding-top: 20px
}

.case__range {
    padding: 0 20px 20px;
    text-align: center;
    font-size: 14px;
    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: center;
    -ms-flex-align: center;
    align-items: center
}

.case__range-title {
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3
}

.case__range-container {
    width: 100%;
    max-width: 350px;
    background-color: #f3f3f3;
    border-radius: 10px
}

.case__range-fill {
    height: 10px;
    background: -webkit-gradient(linear, left top, right top, from(#D0F1FF), color-stop(48.96%, #99E0FE), to(#B1E7FE));
    background: linear-gradient(90deg, #D0F1FF 0%, #99E0FE 48.96%, #B1E7FE 100%);
    border-radius: 10px
}

.case__range-text {
    color: #87929f;
    margin-top: 2px
}

.case__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center
}

.case__list {
    padding: 0 40px
}

.case__list._short {
    max-height: 230px
}

.case-download {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 15px 40px
}

.case-person__item {
    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: 10px 20px;
    border-radius: 10px;
    background-color: #f7fdff;
    margin-bottom: 20px
}

.case-person__item:last-child {
    margin-bottom: 0
}



.case-person__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 700
}

.case-person__logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 10px
}

.case-person__title {
    font-size: 16px;
    margin-bottom: 5px
}

.case-person__subtitle {
    font-size: 12px
}

.case-person__bottom {
    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: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 30px 15px 40px
}

/*.case-person__btn {
    -webkit-box-shadow: 0px 0px 20px rgba(254, 44, 255, .5);
    box-shadow: 0px 0px 20px rgba(254, 44, 255, .5)
}*/

.case-person__download {
    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;
    font-weight: 600;
    margin-bottom: 30px
}

.case-person__download-icon {
    margin-right: 10px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto
}

.case-item {
    padding: 15px 0;
    position: relative;
    font-size: 14px
}

.case-item::after {
    content: "";
    background: -webkit-gradient(linear, left top, right top, from(rgba(194, 247, 253, 0)), color-stop(52.91%, #C2F7FD), color-stop(109.7%, rgba(194, 247, 253, 0)));
    background: linear-gradient(90deg, rgba(194, 247, 253, 0) 0%, #C2F7FD 52.91%, rgba(194, 247, 253, 0) 109.7%);
    width: calc(100% - 80px);
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%)
}

.case-item:last-child {
    border-bottom: none
}

.case-item:last-child::after {
    display: none
}

.case-item__heading {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.case-item__heading::after {
    margin-left: 20px
}

.case-item__heading-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start
}

.case-item__flexbox {
    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
}

.case-item__logo {
    width: 26px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    margin-right: 20px
}

.case-item__title {
    font-weight: 600;
    line-height: 1.3
}

.case-item__subtitle {
    color: #87929f;
    margin-top: 5px;
    line-height: 1.3
}

.case-item__heading {
    font-size: 16px
}

.case-item__text {
    color: #87929f
}

.case-item__btns {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    gap: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.case-item__btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 34px;
    position: relative;
}

.case-item__btn.user_exchange.userincompcardlist {
    height: 22px;
}

.case-item__btn.startchat {
    height: 26px;
}

.case-item__btn._wide {
    width: 40px
}

.case-item__btn._checked::before {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url("../img/modal/checked.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

.case-item__dropdown {
    display: none
}

.case-item__dropdown-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding-top: 15px;
    padding-left: 46px
}

.case__bottom {
    border-top: 3px solid #f5773e;
    border-radius: 10px 10px 5px 5px;
    background-color: #c25829;
    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;
    gap: 20px;
    padding: 10px
}

.case__btn-icon {
/*    margin-left: 15px*/
padding-right: 5px;
}

.case__video {
    padding: 0 40px
}

.case__video-frame {
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    height: 320px;
    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
}

/*.case__video-frame::before {
    content: "";
    width: 75px;
    height: 75px;
    background-image: url("../img/modal/video-play.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}*/

.chat {
    position: fixed;
    right: 60px;
    bottom: 60px;
    z-index: 8
}

.chat.active .chat__btn::before {
    background-image: url("../img/icons/close-black.svg")
}

.chat.active .chat__btn-counter {
    display: none
}

.chat.active .chat__container {
    display: block;
    height: calc(97vh - 170px);
    min-height: 250px;
}

.chat__btn {
    width: 80px;
    height: 80px;
    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;
    background: -webkit-gradient(linear, left top, right top, from(#D0F1FF), color-stop(48.96%, #99E0FE), to(#B1E7FE));
    background: linear-gradient(90deg, #D0F1FF 0%, #99E0FE 48.96%, #B1E7FE 100%);
    border-radius: 10px
}

.chat__btn::before {
    content: "";
    width: 30px;
    height: 30px;
    background-image: url("../img/modal/chat-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.chat__btn-counter {
    position: absolute;
    right: 18px;
    top: 18px;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    padding: 3px 3px;
    background-color: #d35400;
    border: 1px solid #fff;
    font-size: 12px;
    color: #fff;
    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;
    font-weight: 700;
    line-height: 1.1
}

.chat__captions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-radius: 10px 10px 0px 0px;
    background: -webkit-gradient(linear, left top, right top, from(#D0F1FF), color-stop(48.96%, #99E0FE), to(#B1E7FE));
    background: linear-gradient(90deg, #D0F1FF 0%, #99E0FE 48.96%, #B1E7FE 100%)
}

.chat__captions-item {
    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;
    width: 100%;
    height: 50px;
    position: relative;
    cursor: pointer;
    border-radius: 10px 10px 0px 0px;
    -webkit-transition: .2s;
    transition: .2s
}

.chat__captions-item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50.86%, rgba(255, 255, 255, 0.2)), color-stop(98.63%, rgba(255, 255, 255, 0)));
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50.86%, rgba(255, 255, 255, 0) 98.63%)
}

.chat__captions-item:last-child::before {
    display: none
}

.chat__captions-item.active {
    background-color: #fff
}

.chat__captions-icon {
    position: relative !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important
}

.chat__captions-counter {
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transform: translate(10px, -8px);
    -ms-transform: translate(10px, -8px);
    transform: translate(10px, -8px);
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    padding: 0 3px;
    background-color: #d35400;
    border: 1px solid #fff;
    font-size: 12px;
    color: #fff;
    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;
    font-weight: 700;
    line-height: 1.1
}

.chat__content {
    display: none;
    height: calc(100% - 50px);
}

.chat__content.active {
    display: block
}

.chat__content-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 700;
    padding: 10px 15px;
    min-height: 40px;
    border-bottom: 1px solid #99e0fe
}

.chat__content-back {
    width: 15px;
    height: 15px;
    background-image: url("../img/modal/chat-back.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 15px
}

.chat__content-logo {
    width: 26px;
    height: 26px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 5px;
    margin-right: 10px
}

.chat__content-inner {
    padding: 10px 15px 20px;
    height: calc(100% - 40px);
    flex-direction: column;
    display: flex;
}

.chat__container {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    width: 420px;
    max-width: calc(100vw - 40px);
    background-color: #fff;
    -webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, .25);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, .25);
    border-radius: 10px
}

.chat__box {
    flex: 1;
    height: unset;
    max-height: unset;
    overflow-y: auto;
    padding-right: 15px
}

.chat__box-inner {
    margin-bottom: 15px
}

.chat__box-inner:last-child {
    margin-bottom: 0
}

.chat__date {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 5px
}

.chat__date-inner {
    padding: 2px 8px;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 10px;
    line-height: 1.1;
    font-size: 12px
}

.chat__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 10px;
    width: 100%
}

.chat__item:last-child {
    margin-bottom: 10px
}

.chat__item-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    margin-right: 10px;
    position: relative
}

.chat__item-avatar._online::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #27cb55;
    border: 1px solid #fff;
    border-radius: 50%;
    position: absolute;
    left: 100%;
    bottom: 100%;
    -webkit-transform: translate(-5px, 5px);
    -ms-transform: translate(-5px, 5px);
    transform: translate(-5px, 5px)
}

.chat__item-avatar._premium::after {
    content: "";
    width: 12px;
    height: 12px;
    background-image: url("../img/modal/chat-premium.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    bottom: 0;
    -webkit-transform: translate(-50%, 50%);
    -ms-transform: translate(-50%, 50%);
    transform: translate(-50%, 50%)
}

.chat__item-avatar._megaphone .megaphone-icon {
    width: 18px;
    height: 18px;
    background-image: url("../img/modal/chat-megaphone.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 50%;
    top: 100%;
    -webkit-transform: translate(-50%, 3px);
    -ms-transform: translate(-50%, 3px);
    transform: translate(-50%, 3px)
}

.chat__item-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.chat__item-title::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-right: 3px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.chat__item-title._icon-store::before {
    background-image: url("../img/modal/chat-store.svg")
}

.chat__item-title._icon-info::before {
    background-image: url("../img/modal/chat-info.svg")
}

.chat__item-inner {
    width: 100%
}

.chat__item-content {
    background-color: rgba(16, 37, 64, .04);
    padding: 10px 12px;
    border-radius: 10px;
    width: 100%;
    position: relative;
    word-break: break-word;
}

.chat__item-content._bg-blue {
    background-color: #f1fbff
}

.chat__item-content._bg-purple {
    background-color: #e1e4fb
}

.chat__item-content._bg-yellow {
    background-color: #fcf8e1
}

.chat__item-content._bg-transparent {
    background-color: rgba(0, 0, 0, 0)
}

.chat__item-time {
    position: absolute;
    right: 5px;
    bottom: -3px;
    font-size: 10px
}

.chat__send {
    margin-top: 10px;
    background-color: #f5f6f7;
    border-radius: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.chat__send-input {
    padding: 10px 20px;
    border: none;
    width: 100%
}

.chat__send-input::-webkit-input-placeholder {
    color: rgba(15, 37, 65, .2)
}

.chat__send-input::-moz-placeholder {
    color: rgba(15, 37, 65, .2)
}

.chat__send-input:-ms-input-placeholder {
    color: rgba(15, 37, 65, .2)
}

.chat__send-input::-ms-input-placeholder {
    color: rgba(15, 37, 65, .2)
}

.chat__send-input::placeholder {
    color: rgba(15, 37, 65, .2)
}

.chat__send-btns {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.chat__send-voice {
    margin-right: 10px;
    width: 25px;
    height: 25px;
    background-image: url("../img/icons/chat-microphone.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.chat__send-submit {
    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;
    width: 46px;
    height: 46px;
    background: -webkit-gradient(linear, left top, right top, from(#D0F1FF), color-stop(48.96%, #99E0FE), to(#B1E7FE));
    background: linear-gradient(90deg, #D0F1FF 0%, #99E0FE 48.96%, #B1E7FE 100%);
    border-radius: 10px
}

.chat__send-submit::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("../img/icons/chat-send.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.chat__vote-title {
    font-weight: 700;
    margin-bottom: 10px
}

.chat__vote-container.active .chat__vote-range, .chat__vote-container.active .chat__vote-value {
    opacity: 1
}

.chat__vote-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer
}

.chat__vote-item:last-child {
    margin-bottom: 0
}

.chat__vote-wrapper {
    margin-right: 7px;
    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: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 30px;
}

.chat__vote-inner {
    width: 100%
}

.chat__vote-input {
    position: relative;
    top: 8px;
    width: 8px;
    height: 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    border: none
}

.chat__vote-input::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 50%
}

.chat__vote-input:checked::before {
    background-color: #a2e3fe
}

.chat__vote-value {
    line-height: 1.1;
    font-size: 12px;
    margin-top: 12px;
    opacity: 0
}

.chat__vote-range {
    display: block;
    height: 6px;
    border-radius: 10px;
    background: -webkit-gradient(linear, left top, right top, from(#D0F1FF), color-stop(48.96%, #99E0FE), to(#B1E7FE));
    background: linear-gradient(90deg, #D0F1FF 0%, #99E0FE 48.96%, #B1E7FE 100%);
    opacity: 0
}

.chat__vote-caption {
    line-height: 1.1
}

.chat__dialog {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    position: relative;
    border-bottom: 1px solid #99e0fe;
    padding: 15px 0;
    font-size: 14px
}

.chat__dialog .chat__item-avatar {
    margin-right: 15px
}

.chat__dialog-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: calc(100% - 60px)
}

.chat__dialog-inner {
    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;
    width: 100%
}

.chat__dialog-title {
    font-weight: 700;
    display: block
}

.chat__dialog-text {
    display: block;
    color: #4e5864;
    width: 240px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap
}

.chat__dialog-counter {
    position: absolute;
    bottom: 10px;
    right: 0;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    padding: 0 3px;
    background-color: #d35400;
    border: 1px solid #fff;
    font-size: 12px;
    color: #fff;
    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;
    font-weight: 700;
    line-height: 1.1
}

.chat__dialog-time {
    position: absolute;
    right: 0;
    top: 0
}

.chat__audio {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.chat__audio-container {
    width: 100%;
    -webkit-mask-image: url("../img/modal/chat-audio.svg");
    mask-image: url("../img/modal/chat-audio.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    background-color: #d9d9d9
}

.chat__audio-range {
    height: 18px;
    background-color: #00b7ff
}

.chat__audio-btn {
    width: 40px;
    height: 40px;
    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;
    border-radius: 50%;
    margin-right: 10px;
    background: -webkit-gradient(linear, left top, right top, from(#D0F1FF), color-stop(48.96%, #99E0FE), to(#B1E7FE));
    background: linear-gradient(90deg, #D0F1FF 0%, #99E0FE 48.96%, #B1E7FE 100%);
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto
}

.chat__audio-btn::before {
    content: "";
    width: 15px;
    height: 15px;
    background-image: url("../img/modal/chat-play.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.cookies {
    background-color: rgba(0, 0, 0, .8);
    color: #fff;
    padding: 20px 75px;
    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;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 20
}

.cookies__title {
    font-size: 24px;
    font-weight: 700
}

.cookies__text {
    font-size: 18px
}

.cookies__btn {
    min-width: 260px;
    min-height: 40px;
    margin-left: 40px
}
.cookies__btn__obov
{
    min-width: 260px;
    min-height: 40px;
    margin-left: 40px
 
}

/*@media only screen and (max-width: 1400px) {*/
/*    .case__list {*/
/*        max-height: 300px*/
/*    }*/
/*}*/

@media only screen and (max-width: 1100px) {
    .chat {
        right: 20px
    }
    .cookies {
        padding: 20px 50px
    }
    .cookies__title {
        font-size: 18px
    }
    .cookies__text {
        font-size: 12px
    }
    .cookies__btn {
        min-width: 160px
    }
}

@media only screen and (max-width: 767px) {



    .profile .mfp-close,
    .case .mfp-close {
        left: auto;
        right: 0;
        -webkit-transform: translate(0, -20px);
        -ms-transform: translate(0, -20px);
        transform: translate(0, -20px)
    }
    .profile {
        width: 300px;
        padding: 0
    }
    .profile::before {
        height: 50px
    }
    .profile__btn-save {
        right: 5px;
        top: 5px
    }
    .profile__inner {
        min-height: 400px;
        padding: 20px;
        max-width: 100%;
        overflow-x: hidden
    }
    .profile__top {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
    .profile__top-inner {
        text-align: center
    }
    .profile__title {
        font-size: 20px
    }
    .profile__avatar {
        margin-right: 0;
        margin-bottom: 15px;
        -ms-flex-item-align: center;
        align-self: center
    }
    .profile__avatar-image {
        width: 140px;
        height: 140px
    }
    .profile__data-item {
        font-size: 14px;
        word-break: break-word
    }
    .profile__data-icon {
        width: 20px
    }
/*    .profile__social {
        gap: 0;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        width: 100%
    }*/
    .profile__social-item {
        width: 36px
    }
    .profile__flexbox {
        gap: 7px
    }
    .profile__flexbox-item {
        font-size: 14px
    }
    .profile-edit .profile__inner {
        padding-right: 20px
    }
    .profile-edit .profile__top {
        margin-bottom: 10px
    }
    .profile-edit .profile__input {
        font-size: 14px
    }
    .profile-edit .profile__input::-webkit-input-placeholder {
        font-size: 14px
    }
    .profile-edit .profile__input::-moz-placeholder {
        font-size: 14px
    }
    .profile-edit .profile__input:-ms-input-placeholder {
        font-size: 14px
    }
    .profile-edit .profile__input::-ms-input-placeholder {
        font-size: 14px
    }
    .profile-edit .profile__input::placeholder {
        font-size: 14px
    }
    .profile-edit .profile__flexbox {
        -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
    }
    .profile-edit .profile__flexbox-item {
        padding: 0
    }
    .case {
        width: 300px
    }
    .case::before {
        width: 100px;
        height: 40px
    }
    .case .tabs__captions-icon {
        width: 25px
    }
    .case__inner {
        max-height: 100vh;
        overflow-y: auto
    }
    .case__container {
        padding-top: 10px
    }
    .case__range {
        max-width: 220px;
        margin-right: auto;
        margin-left: auto;
        padding-bottom: 10px
    }
    .case__list {
        /*max-height: calc(100vh - 450px);*/
        min-height: 150px;
        padding: 0 15px
    }
    .case__list._short {
        max-height: 60px
    }
    .case-download {
        padding: 15px;
        font-size: 14px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
    .case-person__item {
        -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: 10px;
        margin-bottom: 10px
    }
    .case-person__wrapper {
        margin-bottom: 10px
    }
    .case-person__logo {
        width: 30px;
        height: 30px
    }
    .case-person__title {
        margin-bottom: 0
    }
    .case-person__bottom {
        padding: 20px 15px
    }
    .case-person__btn {
        padding: 5px 20px
    }
    .case-person__download {
        flex-direction: row;
        margin-bottom: 15px;
        width: 100%;
    }
    .case-person__download-icon {
        margin-left: 0;
        margin-top: 5px
    }
    .case-item {
        padding: 5px 0
    }
    .case-item__flexbox {
        -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
    }
    .case-item__logo {
        margin-right: 10px
    }
    .case-item__dropdown-inner {
        padding-left: 0;
        padding-top: 10px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
    .case-item__btns {
        margin-left: 0;
        margin-top: 5px;
        gap: 30px;
        -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
        justify-content: space-evenly;
        -ms-flex-item-align: stretch;
        align-self: stretch;
        width: 100%
    }
    .case__bottom {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 10px
    }
    .case__btn {
        text-align: left;
        padding-top: 10px;
        padding-bottom: 10px
    }
    .case__video {
        padding: 0 15px
    }
    .case__video-frame {
        height: 150px
    }
    .chat {
        right: 20px
    }
    .chat__btn {
        height: 60px;
        width: 60px
    }
    .chat__btn-counter {
    right: 6px;
    top: 50%;
    margin-top: -10px;
}
    .chat__box {
        max-height: calc(100vh - 308px)
    }
    .chat__content {
        font-size: 12px
    }
    .chat__dialog {
        font-size: 12px;
        padding: 15px 0
    }
    .chat__dialog-text {
        width: 100%
    }
    .chat__dialog-inner {
        width: calc(100% - 20px)
    }
    .chat__send-input {
        font-size: 14px
    }
    .chat__send-input::-webkit-input-placeholder {
        font-size: 14px
    }
    .chat__send-input::-moz-placeholder {
        font-size: 14px
    }
    .chat__send-input:-ms-input-placeholder {
        font-size: 14px
    }
    .chat__send-input::-ms-input-placeholder {
        font-size: 14px
    }
    .chat__send-input::placeholder {
        font-size: 14px
    }
    .cookies {
        padding: 10px 20px;
        -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
    }
    .cookies__title {
        font-size: 14px
    }
    .cookies__text {
        font-size: 10px;
        max-width: 280px
    }
    .cookies__btn {
        min-width: 100px;
        min-height: 25px;
        border-radius: 5px;
        margin-left: 0;
        margin-top: 10px;
        font-size: 10px
    }
}
.profile-edit .profile__avatar-edit input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 1px;
	height: 1px;
}
.forbcardfix {
    right: -38px !important;
}
.closepopupcross {
    background: url("../img/icons/close.svg");
    position: absolute;
    right: 5px;
    top: -30px;
    font-size: 24px;
    color: #d01313;
    font-weight: bold;
    cursor: pointer;
    width: 23px;
    height: 23px;
    background-repeat: no-repeat;
    z-index: 100;
}
.profile__container #add_info
{
    padding: 5px !important;
    height: 130px !important;
}
.upavatar
{
    padding: 0 !important;
}
.profile-edit .profile__inner {
    overflow: auto;
}

@media only screen and (max-width: 1100px) {
    .chat {
        right: 20px
    }
}

@media only screen and (max-width: 767px) {


    .profile .mfp-close, .case .mfp-close {
        left: auto;
        right: 0;
        -webkit-transform: translate(0, -20px);
        -ms-transform: translate(0, -20px);
        transform: translate(0, -20px)
    }

    .profile {
        width: 300px;
        padding: 0
    }

    .profile::before {
        height: 50px
    }

    .profile__btn-save {
        right: 5px;
        top: 5px
    }

    .profile__inner {
        min-height: 400px;
        padding: 20px;
        max-width: 100%;
        overflow-y: auto;

    }

    .profile__top {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .profile__top-inner {
        text-align: center
    }

    .profile__title {
        font-size: 20px
    }

    .profile__avatar {
        margin-right: 0;
        margin-bottom: 15px;
        -ms-flex-item-align: center;
        align-self: center
    }

    .profile__avatar-image {
        width: 140px;
        height: 140px
    }

    .profile__data-item {
        font-size: 14px;
        word-break: break-word
    }

    .profile__data-icon {
        width: 20px
    }

    .profile__social {
        gap: 13px;
        width: 100%
    }

    .profile__social-item {
        width: 36px
    }

    .profile__flexbox {
        gap: 7px
    }

    .profile__flexbox-item {
        font-size: 14px
    }

    .profile-edit .profile__inner {
        padding-right: 20px
    }

    .profile-edit .profile__top {
        margin-bottom: 10px
    }

    .profile-edit .profile__input {
        font-size: 14px
    }

    .profile-edit .profile__input::-webkit-input-placeholder {
        font-size: 14px
    }

    .profile-edit .profile__input::-moz-placeholder {
        font-size: 14px
    }

    .profile-edit .profile__input:-ms-input-placeholder {
        font-size: 14px
    }

    .profile-edit .profile__input::-ms-input-placeholder {
        font-size: 14px
    }

    .profile-edit .profile__input::placeholder {
        font-size: 14px
    }

    .profile-edit .profile__flexbox {
        -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
    }

    .profile-edit .profile__flexbox-item {
        padding: 0
    }

    .case {
        width: 90%;
    }

    .case::before {
        width: 100px;
        height: 40px
    }

    .case .tabs__captions-icon {
        width: 25px
    }



    .case__inner {
        max-height: 100vh;
        overflow-y: auto
    }

    .case__container {
        padding-top: 10px
    }

    .case__range {
        max-width: 220px;
        margin-right: auto;
        margin-left: auto;
        padding-bottom: 10px
    }

    .case__list {

        min-height: 150px;
        padding: 0 15px
    }

    .case__list._short {
        max-height: 60px
    }

    .case-download {
        padding: 15px;
        font-size: 14px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .case-person__item {
        -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: 10px;
        margin-bottom: 10px
    }

    .case-person__wrapper {
        margin-bottom: 10px
    }

    .case-person__logo {
        width: 30px;
        height: 30px
    }

    .case-person__title {
        margin-bottom: 0
    }

    .case-person__bottom {
        padding: 20px 15px
    }

    .case-person__btn {
        padding: 5px 20px
    }

    .case-person__download {
        flex-direction: row;
        margin-bottom: 15px;
        width: 100%;
    }

    .case-person__download-icon {
        margin-left: 0;
        margin-top: 5px
    }

    .case-item {
        padding: 5px 0
    }

    .case-item__flexbox {
        -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
    }

    .case-item__logo {
        margin-right: 10px
    }

    .case-item__dropdown-inner {
        padding-left: 0;
        padding-top: 10px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .case-item__btns {
        margin-left: 0;
        margin-top: 5px;
        gap: 30px;
        -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
        justify-content: space-evenly;
        -ms-flex-item-align: stretch;
        align-self: stretch;
        width: 100%
    }

    .case__bottom {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: 10px
    }

    .case__btn {
        text-align: left;
        padding-top: 10px;
        padding-bottom: 10px
    }

    .case__video {
        padding: 0 15px
    }

    .case__video-frame {
        height: 150px
    }

    .chat {
        right: 20px
    }

    .chat__btn {
        height: 60px;
        width: 60px
    }

    .chat__btn-counter {
        right: 6px;
        top: 6px
    }

    .chat__box {
        max-height: calc(100vh - 308px)
    }

    .chat__content {
        font-size: 12px
    }

    .chat__dialog {
        font-size: 14px;
        padding: 15px 0
    }

    .chat__dialog-text {
        width: 100%
    }

    .chat__dialog-inner {
        width: calc(100% - 20px)
    }

    .chat__send-input {
        font-size: 14px
    }

    .chat__send-input::-webkit-input-placeholder {
        font-size: 14px
    }

    .chat__send-input::-moz-placeholder {
        font-size: 14px
    }

    .chat__send-input:-ms-input-placeholder {
        font-size: 14px
    }

    .chat__send-input::-ms-input-placeholder {
        font-size: 14px
    }

    .chat__send-input::placeholder {
        font-size: 14px
    }

    .chat__item-title, .chat__item-content {
        font-size: 16px
    }

    .cookies {
        padding: 10px 20px;
        -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: center
    }
    .cookies__btn__obov.btn.acceptcookies_ness {
        margin-left: 0 !important;
        margin-top: 5px;
    }

    .cookies__title {
        font-size: 14px
    }

    .cookies__text {
        font-size: 10px;
        max-width: 280px
    }

    .cookies__btn {
        min-width: 100px;
        min-height: 25px;
        border-radius: 5px;
        margin-left: 0;
        margin-top: 10px;
        font-size: 10px
    }
}

@media only screen and (max-width : 767px)
.case .tab__content{
   max-height: 50vh
}
.case .tabs__content{
padding-bottom: 20px
}

.case-company .tabs__content{
max-height: 70vh
}



@media screen and  (max-height: 300px) {

.case .tabs__content {

    height: 120px !important;

}

}
@media only screen and (max-width: 767px) {

.chat__content{
/*height: 395px*/
/* deleted height because of broken block  */
}
}

.chat.active .chat__container {
/*  height: 526px !important;*/
}
.chat__item-avatar {
    background-position: center;
    background-repeat: no-repeat !important;
    background-size: contain;
}
.chat__item-inner
{
    position: relative;
}
.threedots {
    position: absolute;
    right: 0;
    top: 0px;
    z-index: 100;
    cursor: pointer;
}

.threedots:hover {
    opacity: 0.7;
}

.dotslist:hover,.dotslist div:hover {
    opacity: 1;
    cursor: pointer;
}

.dotslist {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 101;
    right: 0;
    top: 30px; /* Adjust this based on the size of your .threedots element */
    border-radius: 8px;
    overflow: hidden;
}



.dotslist div {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dotslist div:hover {
    background-color: #f1f1f1;
}

.dotslist img {
    height: 20px; /* Adjust the size of icons */
}
.chat__send textarea {
    height: 41px;
}
.chat__item-title
{
    width: 93%;
    font-size: 14px !important;
}
.chat__dialog .chat__item-avatar
{
    background-size: contain;
}
.chat__send {
    position: relative;
}
.chat {
    z-index: 100 !important;
}
.fixed-block.current,.sidebar.current,.current  {
  z-index: 1049 !important;
}

.delete-recording {
    display: none;
    margin-right: 10px;
    width: 25px;
    height: 25px;
    background-image: url("../img/icons/chat_trash_bin.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center
}

.timer-display {
    padding: 11px 5px;
    display: none;
}
.no-scroll {
    overflow: hidden;
}
.waitaudio {
display: none !important;
    /* padding: 26px 42px; */
    margin: 0 !important;
    /* display: block !important; */
    position: absolute !important;
    top: 13px;
    left: 10px;
    /* background-color: #f5f6f7; */
    /* width: 71% !important; */
    padding: 8px;
}
.noround {
    border-radius: 0 !important;
}

@media (max-width: 550px) { /* або інше значення ширини для мобільних пристроїв */
  .case__bottom {
    flex-direction: column; /* ставимо кнопки у вертикальний напрямок */

  }
  .case__btn
  {
     width: 100%;
     box-sizing: border-box;
       justify-content: flex-start;
  }
}

.startchatfrombcard
{
    width: auto !important
}
