:root {   
	--sa-top: env(safe-area-inset-top, 0px);
    --sa-bottom: env(safe-area-inset-bottom, 0px);
}

body.android-legacy-safe-area {
    --sa-top: 0px !important;
    --sa-bottom: 0px !important;
}

@font-face {
    font-family: 'Emoji';
    src: url('../fonts/Noto/Noto-COLRv1-noflags.ttf') format('truetype');
	size-adjust: 110%;
}

@font-face {
    font-family: 'HelveticaNeueCyr';
    src: local('HelveticaNeueCyr-Light'),
	url('../fonts/HelveticaNeue/HelveticaNeueCyr-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeueCyr';
    src: local('HelveticaNeueCyr-Medium'),
	url('../fonts/HelveticaNeue/HelveticaNeueCyr-Medium.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: 'HelveticaNeueCyr';
    src: local('HelveticaNeueCyr-Roman'),
	url('../fonts/HelveticaNeue/HelveticaNeueCyr-Roman.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


body *
{
	
}

body
{
	font-size:15px;
	font-family:"HelveticaNeueCyr", "Apple Color Emoji", "Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	font-weight:400;
	min-height:420px;
	min-width:360px;
	color:#0a0a30;
	position:relative;
	overscroll-behavior: none;
	overflow:hidden;
	user-select: none;
	-webkit-touch-callout: none; 
    -webkit-user-select: none;   
    -moz-user-select: none;     
    -ms-user-select: none; 	
}

table, .main, .main .left, .main .right
{
	overscroll-behavior: none;
}

body.ios
{
	font-family:"HelveticaNeueCyr", -apple-system, BlinkMacSystemFont, "Apple Color Emoji", sans-serif;
}
body:after
{
	content:'';
	top:0;
	left:0;
	width:100%;
	height:0px;
	position:absolute;
	border-bottom:1px solid #dddcda;
	z-index:98;
}
.darkmode body:after
{
	display:none;
}
.darkmode body
{
	color:#ffffff;
}
.bg1
{
	background-color:#ffffff;
	transition: background-color 0.4s ease;
}
.darkmode .bg1
{
	/*background-color:#161717;*/
	background-color:#141718;
	transition: background-color 0.4s ease;
}
.bg2
{
	background-color:#f7f5f3;
	transition: background-color 0.4s ease;
}
.darkmode .bg2
{
	/*background-color:#1d1f1f;*/
	background-color:#191c1e;
	transition: background-color 0.4s ease;
}
.bg3
{
	background-color:#ffffff;
	transition: background-color 0.4s ease;
}
.darkmode .bg3
{
	background-color:#1e2326;
	transition: background-color 0.4s ease;
}
.bg4
{
	background-color:#eeeeee;
	transition: background-color 0.4s ease;
}
.darkmode .bg4
{
	background-color:#2a2d2f;
	transition: background-color 0.4s ease;
}
.bg5
{
	background-color:#0061cf;
	transition: background-color 0.4s ease;
}
.darkmode .bg5
{
	background-color:#152a42;
	transition: background-color 0.4s ease;
}
.bg6
{
	background-color:#c24242;
	transition: background-color 0.4s ease;
}
.darkmode .bg6
{
	background-color:#4c2323;
	transition: background-color 0.4s ease;
}
.bg7
{
	background-color:#d6eaff;
	transition: background-color 0.4s ease;
}
.darkmode .bg7
{
	background-color:#1e334c;
	transition: background-color 0.4s ease;
}
.bg8
{
	background-color:#ffffff;
	transition: background-color 0.4s ease;
}
.darkmode .bg8
{
	background-color:#1d1f1f;
	transition: background-color 0.4s ease;
}
.bg9
{
	background-color:#ffde59;
	transition: background-color 0.4s ease;
}
.darkmode .bg9
{
	background-color:#152a42;
	transition: background-color 0.4s ease;
}
.bg10
{
	background-color:#fedada;
	transition: background-color 0.4s ease;
}
.darkmode .bg10
{
	background-color:#541616;
	transition: background-color 0.4s ease;
}

.bg9 {
    background-color: #134c8d;
    transition: background-color 0.4s ease;
}

.darkmode .bg9 {
    background-color: #112235;
    transition: background-color 0.4s ease;
}
.bg11 {
    background-color: #f6f3ef;
    transition: background-color 0.4s ease;
}

.darkmode .bg11 {
    background-color: #0f1112;
    transition: background-color 0.4s ease;
}
.bg12 {
    background-color: #e8e5d8;
    transition: background-color 0.4s ease;
}

.darkmode .bg12 {
    background-color: #e8e5d8;
    transition: background-color 0.4s ease;
}
.bg13 {
    background-color: #366ca9;
    transition: background-color 0.4s ease;
}

.darkmode .bg13 {
    background-color: #00346d;
    transition: background-color 0.4s ease;
}
.bg14 {
    background-color: #178100;
    transition: background-color 0.4s ease;
}

.darkmode .bg14 {
    background-color: #0d4900;
    transition: background-color 0.4s ease;
}
.bg15 {
    background-color: #178100;
    transition: background-color 0.4s ease;
}

.darkmode .bg15 {
    background-color: #434343;
    transition: background-color 0.4s ease;
}
.hover-bg17:hover {
    background-color: #8a8b8a;
    transition: background-color 0.4s ease;
}

.darkmode .hover-bg17:hover {
    background-color: #022e60;
    transition: background-color 0.4s ease;
}
.hover-bg18:hover {
    background-color: #126400;
    transition: background-color 0.4s ease;
}
.darkmode .hover-bg18:hover {
    background-color: #0a3b00;
    transition: background-color 0.4s ease;
}
.hover-bg11:hover
{
	background-color:#fec5c5;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg11:hover
{
	background-color:#621111;
	transition: background-color 0.4s ease;
}
.hover-bg12:hover
{
	background-color:#e3e1e1;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg12:hover
{
	background-color:#313538;
	transition: background-color 0.4s ease;
}
.hover-bg13:hover
{
	background-color:#f1f1f1;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg13:hover
{
	background-color:#373b3e;
	transition: background-color 0.4s ease;
}
.hover-bg14:hover
{
	background-color:#f1f1f1;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg14:hover
{
	background-color:#25282d;
	transition: background-color 0.4s ease;
}
.hover-bg15:hover
{
	background-color:#d9ffdb;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg15:hover
{
	background-color:#233524;
	transition: background-color 0.4s ease;
}
.hover-bg16:hover
{
	background-color:#952626;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg16:hover
{
	background-color:#542020;
	transition: background-color 0.4s ease;
}

.hover-bg1:hover
{
	background-color:#ffffff;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg1:hover
{
	background-color:#161717;
	transition: background-color 0.4s ease;
}
.hover-bg2:hover
{
	background-color:#f7f5f3;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg2:hover
{
	background-color:#1d1f1f;
	transition: background-color 0.4s ease;
}
.hover-bg3:hover
{
	background-color:#ffffff;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg3:hover
{
	background-color:#242626;
	transition: background-color 0.4s ease;
}
.hover-bg4:hover
{
	background-color:#f7f5f3;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg4:hover
{
	background-color:#1e2123;
	transition: background-color 0.4s ease;
}

.hover-bg5:hover
{
	background-color:#ecf5ff;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg5:hover
{
	background-color:#002855;
	transition: background-color 0.4s ease;
}
.hover-bg6:hover
{
	background-color:#ffe6e6;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg6:hover
{
	background-color:#372323;
	transition: background-color 0.4s ease;
}
.hover-bg7:hover
{
	background-color:#3b77ba;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg7:hover
{
	background-color:#1e334c;
	transition: background-color 0.4s ease;
}
.hover-bg10:hover
{
	background-color:#facd16;
	transition: background-color 0.4s ease;
}
.darkmode .hover-bg10:hover
{
	background-color:#1e334c;
	transition: background-color 0.4s ease;
}

.transition-bg-color
{
	transition: background-color 0.4s ease;	
}

.transition-color
{
	transition: color 0.4s ease;	
}
.transition-color-bg
{
	transition: color 0.4s ease, background 0.4s ease;	
}
.transition-opacity
{
	transition: opacity 0.4s ease;	
}

.hover-pointer:hover, .cursor-pointer:hover
{
	cursor:pointer;
}



.right:not(.media)
{
	background-color:#f7f5f3 !important;
}
.darkmode .right
{
	/*background-color:#161717 !important;*/
	background-color:#141718 !important;
}
.right.chat
{
	background-color:#f8f8f8 !important;
}
.darkmode .right.chat
{
	/*background-color: #161717 !important;*/
	background-color: #0d0f10 !important;
}

.color0
{
	color:#ffffff;
}
.color1
{
	color:#636261;
}
.darkmode .color1
{
	color:#a4a5a5;
}
.color2
{
	color:#000000;
}
.darkmode .color2
{
	color:#ffffff;
}
.color3
{
	color:#747474;
}
.darkmode .color3
{
	color:#a0a0a0;
}
.color4
{
	color:#73e6ff;
}
.darkmode .color4
{
	color:#06a8c2;
}
body:not(.darkmode) .chats .item .text i.color4 {
	color:#00a7f2;
}
.color5
{
	color:#d43636;
}
.darkmode .color5
{
	color:#db7373;
}
.color6
{
	color:#bfbfbf;
}
.darkmode .color6
{
	color:#a0a0a0;
}
.color7
{
	color:#0b8300;
}
.darkmode .color7
{
	color:#0b7f00;
}
.hover-color4:hover
{
	color:#006fb1;
}
.darkmode .hover-color4:hover
{
	color:#3f86b1;
}
.color8
{
	color:#00668e;
}
.darkmode .color8
{
	color:#0e769e;
}
.color9
{
	color:#874aa8;
}
.darkmode .color9
{
	color:#a95cd3;
}
.color10
{
	color:#cd7225;
}
.darkmode .color10
{
	color:#b7641e;
}
.color11
{
	color:#af8d00;
}
.darkmode .color11
{
	color:#af8d00;
}
.color12
{
	color:#00796f;
}
.darkmode .color12
{
	color:#009e91;
}
.color13
{
	color:#af2e2e;
}
.darkmode .color13
{
	color:#ffa9a9;
}
.hover-color13:hover
{
	color:#af2e2e;
}
.darkmode .hover-color13:hover
{
	color:#ffa9a9;
}
.color14
{
	color:#a03a7d;
}
.darkmode .color14
{
	color:#ad3c86;
}
.color15
{
	color:#017a4a;
}
.darkmode .color15
{
	color:#017a4a;
}
.color16
{
	color:#8c5ce7;
}
.darkmode .color16
{
	color:#9974e0;
}
.color17 {
    color: #028cc2;
}
.darkmode .color17 {
    color: #028cc2;
}
.color18 {
    color: #d9d9d9;
}
.darkmode .color18 {
    color: #353b3f;
}

.color19 {
    color: #ff2c00;
}
.darkmode .color19 {
    color: #ff2c00;
}

.hover-color0:hover
{
	color:#ffffff;
}
.hover-color2:hover
{
	color:#000000;
}
.darkmode .hover-color2:hover
{
	color:#ffffff;
}
.hover-color3:hover
{
	color:#6e6969;
}
.darkmode .hover-color3:hover
{
	color:#c1b6b6;
}
.hover-color5:hover
{
	color:#9d3939;
}
.darkmode .hover-color5:hover
{
	color:#db7373;
}

.border1
{	
    border: 1.5px solid #dddcda  !important;
}

.border1-bottom
{	
    border-bottom: 1px solid #dddcda;
}

.darkmode .border1
{	
    border: 1.5px solid #343535  !important;
}
.darkmode .border1-bottom
{	
    border-bottom: 1px solid #343535;
}

.border2 {
    border: 1.5px solid #00668e  !important;
}
.darkmode .border2 {
    border: 1.5px solid #00587a  !important;
}


.left-menu
{
	width:65px;
	padding:10px 0px 10px 0px;
	text-align:center;
	height:100vh;
	position:relative;
}


.left-menu .side
{
	position: relative;
    height: 100%;
	width: 65px;
}	
.left-menu ul 
{
	margin-bottom: 0;
	padding-left: 0;
	list-style-type: none;
}
.left-menu ul li i
{	
    font-size: 22px;
    padding: 10px;
	border-radius:50%;
	cursor:pointer;
	margin:5px 0;
	transition: background 0.4s ease;
}

.left-menu ul li i.active
{		
	background:#215ea3;
	transition: none;
}
.darkmode .left-menu ul li i.active
{		
	background:#152a42;
	transition: none;
}


.left-menu ul li i:not(.active):hover, .bottom-menu ul li i.active
{		
	background:#eae8e6;
	transition: background 0.4s ease;
}
.darkmode .left-menu ul li i:not(.active):hover, .darkmode .bottom-menu ul li i.active
{		
	background:#282c31;
	transition: background 0.4s ease;
}


.bottom-menu ul li i.active
{		
	transition: none !important;
}



.left-menu ul li i.active
{		
	color:#ffffff;
	background:#0061cf;
}

.bottom-menu ul li i.active
{		
	color:#000000;
	background:#f7f5f3;
}
.darkmode .left-menu ul li i.active
{		
	color:#fafafa;
	background: #152a42;
}
.darkmode .bottom-menu ul li i.active
{		
	color:#fafafa;
	background: #24282b;
}
.main
{	
	height:100vh;
	min-height:315px;
	width:100%;
	
}
.main .left
{
	width:300px;
	padding: 18px 22px 0 22px;
	border-left: 1px solid #dddcda;
    border-right: 1px solid #dddcda;
	position: relative;
	min-width: 360px;
	overflow: hidden;
}

.darkmode .main .left
{
	border-left: 1px solid #25282d;
    border-right: 1px solid #25282d;
	position: relative;
}
.main .right
{
	width:auto;
	position:relative;
	background-color:#ffffff;
	min-width: 360px;
	max-height: 100vh;
    overflow: hidden;
}

.darkmode .main .right
{
	background-color:transparent;
}
.main .right:before
{
	content: '';
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    filter: invert(100%);
    height: 100%;
    background: url(../images/bg.png);
    background-size: 400px;
    background-color: #142a47;
	background-position: 0px 38px;
}
.darkmode .main .right:before
{
    filter: unset;
	background-color: transparent;
}
.main .right.chat:before
{	
	opacity: 0.14;
}
.darkmode .main .right.chat:before
{
	opacity: 0.12;
}

.left-menu ul.bottom 
{
	position:absolute;
	bottom:0px;
	left: 12px;
}
.main td
{
	vertical-align: top;
	
}
.title
{
	font-size:22px;
	padding: 0 5px;
	font-weight: 400;
}
.submenu
{
	position: absolute;
    right: 0;
    top: 14px;
    padding-right: 23px;
}
.submenu > i
{
	font-size:22px;
	cursor:pointer;
	padding:10px;
	border-radius:50%;
	float: right;
}
.submenu > i.active:not(.bx-play)
{
	background:#f1f1f1;
}
.darkmode .submenu > i.active:not(.bx-play)
{
	background:#25282d;
}

.main .right .header .actions > div i.active, .main .right .calls .head > div i.active, .main .right .calls .history .actions > div > i.active
{
	background-color:#f1f1f1 !important;
}

.darkmode .main .right .header .actions > div i.active, .darkmode .main .right .calls .head > div i.active, .darkmode  .main .right .calls .history .actions > div > i.active 
{
	background-color:#25282d !important;
}

.search 
{
	position:relative;
}
.search input
{
	border-radius: 30px;
    outline: none;
    border: none;
    padding: 11px 10px 9px 44px;
    font-size: 14px;
    width: 100%;
    margin: 14px 0 5px 0;
    font-weight: 400;
    line-height: 25px;
	
}
.icon
{
	position: absolute;
	left: 15px;
    top: 28px;
	font-size:12px;
}
.icon i
{
	font-size:20px;
}
.filter
{
	margin: 0 22px 0 22px;
}
.filter ul
{
	margin-bottom: 0;
    padding-left: 0;
    list-style-type: none;	
}
.filter ul li
{
	float: left;
    margin: 4px 8px 4px 0;
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 13px;
}
.filter ul li:last-child
{
	margin-right:0;
}

.chats
{
	margin-left: -22px;
    margin-right: -22px;
    height: calc(100vh - 117px);
    min-height: 200px;
    position: relative;
    margin-top: 0px;
    padding-bottom: 0px;
    overflow: hidden;
    overflow-y: auto;
    overscroll-behavior: none;
    padding-bottom: 5px;
}
.chats .item
{
	margin: 0px 11px 3px 12px;
    cursor: pointer;
    border-radius: 15px;
}
.chats .item.border2 .info {
    padding: 9px 5px 10px 10px;
}

.chats.deactivated .item.active:hover
{
	background:transparent !important;
}
.chats:not(.deactivated) .item.active
{
	background:#f7f5f3;
}
.darkmode .chats:not(.deactivated) .item.active
{
	background:#1e2123;
}
.chats.deactivated .item.active .info
{
	background:#f7f5f3;
}
.darkmode .chats.deactivated .item.active  .info
{
	background:#1e2123;
}
.chats.deactivated .item.open   .action
{
    opacity: 1 !important;
	display:inline-block !important;
}

.chats .item .info
{
    padding: 10px 5px 11px 10px;
    position: relative;
}
.chats .item.add_new .info
{
    padding: 10px 5px 12px 10px;
}
.chats .item .avatar
{
	position: relative;
	width: 52px;
	height: 52px;
    border-radius: 30px;
    overflow: hidden;
    float: left;
    margin-right: 16px;
	background-image: url(../images/no_avatar.svg);
    background-size: 18px;
    background-position: center 14px;
    background-repeat: no-repeat;
}
.chats .item.group .avatar
{
	background-image: url(../images/no_logo.svg);
    background-size: 29px;
    background-position: center;
    background-repeat: no-repeat;
	background-position: center 14px;
}
.chats .item .avatar img 
{
	width: auto;
    height: 102%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.chats .item .name
{
	font-size: 15px;
    line-height: 100%;
    height: 18px;
    padding-top: 0px;
    width: auto;
    max-width: 41%;
    overflow: hidden;
    display: inline-block;
    margin-top: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -8px;
}
.chats .item .date
{
	font-size: 13px;
    line-height: 27px;
    position: absolute;
    right: 13px;
    top: 12px;
    text-align: right;
    max-width: 33%;
    overflow: hidden;
	font-weight: 400;
}
.chats .item .text
{
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 0px;
    height: 26px;
	max-width: 315px;
    line-height: 30px;
    padding-top: unset;
    width: calc(100% - 129px);
    overflow: hidden;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.chats .item .action
{
	position: absolute;
    right: 8px;
    bottom: 9px;
    text-align: right;
    overflow: hidden;
    width: auto;
    display: inline-block;
}
.chats .item .action i
{
	font-size: 24px;
}

.show-chat-menu, .remove-contact
{
	opacity:0;
	transition: all 0.4s ease;
}


.chats .item:hover .show-chat-menu, .chats .item:hover .remove-contact
{
	opacity:1;
	transition: all 0.4s ease;
}

.chats .item:hover .action
{
	opacity:1;
	transition: opacity 0.4s ease;
}
.chats .item i.registered
{
    margin-top: 2px;
    line-height: 0;
    display: inline-block;
}
.main .right .index
{
	position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main .right .index > div
{
	cursor: pointer;
    text-align: center;
}
.main .right .index > div i
{
	font-size: 28px;
    border-radius: 15px;
    display: block;
    margin-right: 20px;
    margin-left: 20px;
    height: unset;
    padding: 35px;
    margin-bottom: 8px;
}
.darkmode .main .right .index > div i
{
	border:none !important;
}
.hidden
{
	display:none !important;
}
.main .right .messages
{
	position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 1;	
}
.main .right .header
{
	width: 100%;
    height: 62px;
    padding: 12px 20px;
    position: absolute;
    z-index: 2;
	top:0;
	left:0;
	box-shadow: 1px 1px 2px 0px #0000000f;
}
.darkmode .main .right .header
{
	/*box-shadow: none;*/
}
.main .right .header .person-avatar
{
	position: relative;
	width: 42px;
    height: 42px;
    border-radius: 30px;
    overflow: hidden;
    float: left;
    background: url(../images/no_avatar.svg);
    background-size: 15px;
    background-position: center 10.5px;
    background-repeat: no-repeat;
}
.main .right.group .header .person-avatar
{
    background: url(../images/no_logo.svg);
    background-size: 21px;
    background-position: center 11.5px;
    background-repeat: no-repeat;
}
.main .right .header .person-avatar img
{
    width: auto;
    height: 103%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.main .right .header .profile
{
    display: inline-block;
    width: calc(100% - 136px);
    height: 42px;
    margin-top: 0px;
	overflow: hidden;
}
.main .right .header .name
{
	display: inline-block;
    line-height: 0;
    max-width: calc(100% - 68px);
    overflow: hidden;
    white-space: nowrap;
    padding-left: 13px;
    padding-right: 13px;
    text-overflow: ellipsis;
    margin-top: 4.5px;
	min-height: 38px;
}
.main .right .header .name.status span
{
    margin-top: 8px;
	height: 0;
}
.main .right .header .actions
{
	position: absolute;
    right: 0;
    top: 0;
    width: auto;
    height: 65px;
    z-index: 1;
	padding: 12px 16px 12px 15px;
	text-align:right;
}
.main .right .header .actions > div
{
	display:inline-block;
	float: right;
}
.main .right .header .actions > div i
{
	border-radius:50%;
	padding:10px;
	font-size:22px;
	cursor:pointer;
}
.chats .item .text i
{
    margin-right: 3px;
    line-height: 18px;
    width: 18px;
	line-height: 0px
}
.chats .item .text i.bx-block
{
	font-size:15px;
}
.chats .item .text i.bx-check
{
	font-size: 21px;
	margin-top: -3px;
	margin-left: -3px;
	margin-right: 4px;
}
.chats .item .text i.bx-check-double
{
	font-size: 21px;
	margin-top: -3px;
	margin-right: 5px;
}
.chats .item .text i.bx-map
{
	font-size:16px;
}
.chats .item .text i.bx-file
{
    margin-top: -4px;
    font-size: 16px;
}
.clear
{
	clear:both;
}

.ps__thumb-y 
{
    background-color: #e5e4e1;
}
.darkmode .ps__thumb-y 
{
    background-color: #312f2f;
}
.ps__rail-y.ps--clicking .ps__thumb-y, .ps__rail-y:focus>.ps__thumb-y, .ps__rail-y:hover>.ps__thumb-y {
    background-color:#e5e4e1;
    width: 6px;
}
.darkmode .ps__rail-y.ps--clicking .ps__thumb-y, .darkmode .ps__rail-y:focus>.ps__thumb-y, .darkmode .ps__rail-y:hover>.ps__thumb-y {
    background-color:#383737;
}
.ps .ps__rail-x.ps--clicking, .ps .ps__rail-x:focus, .ps .ps__rail-x:hover, .ps .ps__rail-y.ps--clicking, .ps .ps__rail-y:focus, .ps .ps__rail-y:hover {
    background-color: transparent;
}
.main .right .footer
{
	width: calc(100% - 88px);
    height: 50px;
    padding: 6px 6px;
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    border-radius: 30px;
    margin: 0 15px 12px 15px;
	box-shadow: 1px 1px 2px 0px #0000000f;
	
}
.main .right .information
{
	width: calc(100% - 28px);
    height: 50px;
    padding: 6px 6px;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    border-radius: 30px;
    margin: 0 15px 12px 15px;
	box-shadow: 1px 1px 2px 0px #0000000f;
	
}
.main .right .information .text
{
	padding: 8px 7px;
}

.main .right .information .text i
{
	margin-top: -1px;
	margin-right:13px;
}
.darkmode .main .right .footer
{
	/*box-shadow: none;*/
}
.main .right .footer > i
{
    font-size: 22px;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0;
    float: left;
    position: absolute;
    z-index: 7;
    bottom: 5.5px;
}
.main .right .footer > i.bx-send
{
	position: absolute;
    right: -57px;
    padding: 14.5px;
    bottom: 0;
}
.main .right .footer > i.bx-microphone
{
	position: absolute;
    right: -57px;
    padding: 14.5px;
    bottom: 0;	
}




.main .right .footer > i.active
{
	background-color: #f1f1f1;
}
.darkmode .main .right .footer > i.active
{
	background-color: #373b3e;
}

.main .right .footer .message
{
	border: none;
    outline: none;
    margin-left: 3px;
    width: calc(100% - 77px);
    float: left;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    margin-top: 0px;
	
    left: 45px;
    z-index: 7;
    resize: none;
    overflow-y: auto;
    field-sizing: content;
    max-height: 92px;
	margin-left: 38px;
}
.main .right .footer .message::-webkit-scrollbar
{
	width: 6px;
	display:block;
	border-radius:5px;
	background: #f7f5f3;
}

.main .right .footer .message::-webkit-scrollbar-thumb {
    background: #dddcda; 
	border-radius:5px;
	cursor:default;
}

.darkmode .main .right .footer .message::-webkit-scrollbar
{
	background: #21272b;
}

.darkmode .main .right .footer .message::-webkit-scrollbar-thumb {
	background: #293034;
}

.main .right .body
{
    width: calc(100% - 1px);
    height: calc(100% - 125px);
    top: 63px;
    padding: 12px 12px 12px 25px;
    position: absolute;
    overflow: hidden;
    overflow-y: auto;
    overscroll-behavior: none;
	
}
.main .right .body
{
	-webkit-touch-callout: none; 
    -webkit-user-select: none;   
    -moz-user-select: none;     
    -ms-user-select: none;       
    user-select: none;
}
.message-box
{
	margin: 10px 10px 0px 0;
    width: auto;
    display: inline-block;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0px 1px 1px 0px #0000001a;
    position: relative;
    float: left;
    clear: both;
	max-width: 70%;
}

.message-box.my
{
	float: right;
}
.message-box .message-text .content
{
    float: left;
    margin-right: 41px;
    font-size: 15px;
    line-height: 24px;
    margin-left: 9px;
    margin-top: -1px;
    padding-top: 5px;
    min-height: 18px;
    max-height: unset;
    overflow: hidden;
    white-space: pre-wrap;
    cursor: text;
    word-break: break-word;
    margin-bottom: -4px;
}
.message-box .message-text .action
{
	opacity: 0;
    position: absolute;
    top: -3px;
    right: 0px;
    border-radius: 6px;
    width: 38px;
    text-align: right;
    z-index: 1;
    transition: opacity 0.4s ease;
}
.message-box.hasEmoji .message-text .action
{
    top: 3px;
}
.message-box.short .message-text .action
{
    top: 0px;
}
.message-box .message-text .action i
{
	font-size: 21px;
    line-height: 21px;
    cursor: pointer;
    margin-right: 0px;
    padding-right: 1px;
}
.message-box .message-text .date
{
	font-size: 11px;
    line-height: 5px;
    position: absolute;
    bottom: 0px;
    right: 6px;
    z-index: 0;
}
.message-box > div:hover .action, .message-box > a:hover .action
{
    overflow: hidden;
    opacity: 1 !important;	
	transition: opacity 0.4s ease;
}
.message-box .message-file .loading ~ .action
{
    display:none !important;	
}



.triangle {
	position: relative;
	text-align: left;
}
.triangle:before,
.triangle:after {
	content: '';
	position: absolute;
	background-color: inherit;
}
.triangle,
.triangle:before,
.triangle:after {
	width:  19px;
	height: 19px;
	border-top-right-radius: 22%;
}

.triangle {
	position: absolute;
    transform: rotate(0deg) skewX(-30deg);
    left: 7px;
    top: 0px;
    z-index: -1;
}
.message-text .triangle {
    left: 3px;
    top: -4px;
}

.triangle:before {
	transform: rotate(-135deg) skewX(-45deg) scale(1.414,.707) translate(0,-50%);
}


.message-box .name {
	padding: 6px 8px 8px;
    font-size: 12px;
    line-height: 9px;
}

.message-box .message-text .name {
    padding-bottom: 0px;
	margin-bottom: -4px;
}

.message-box.my .triangle {
	position: absolute;
    transform: rotate(0deg) skewX(-30deg);
    right: -2px;
    left: unset;
    top: -0px;
    z-index: -1;
}

.message-box.my .message-text .triangle {
    right: -6px;
    top: -4px;
}
.message-box.my .message-text .content {
    margin-right: 55px;
}
.message-box.my .message-text .content::selection {
    background-color: #007bff;
}
.darkmode .message-box.my .message-text .content::selection {
    background-color: #0e57aa;
}
.message-box.my .message-text .action {
	width:53px;
}
.message-box.my .message-text .date {
	bottom: -5px;
    right: 3px;
}
.message-box.my .message-text .date i {
	margin-left: 1px;
    margin-top: -2px;
    font-size: 18px;
}


.main .right .messages .messages-list .ps__thumb-y 
{
    background-color: #d2d2ce;
}
.darkmode .main .right .messages .messages-list .ps__thumb-y 
{
    background-color: #2c2c2c;
}
.main .right .messages .ps__rail-y.ps--clicking .ps__thumb-y, .main .right .messages .ps__rail-y:focus>.ps__thumb-y, .main .right .messages .ps__rail-y:hover>.ps__thumb-y {
    background-color:#c4c3c2;
}
.darkmode .main .right .messages .ps__rail-y.ps--clicking .ps__thumb-y, .darkmode .main .right .messages .ps__rail-y:focus>.ps__thumb-y, .darkmode .main .right .messages .ps__rail-y:hover>.ps__thumb-y {
    background-color:#4a4a4a;
}
.main .right:not(.group) .body .message-box:not(.my):not(.date-divider) + .message-box:not(.my):not(.date-divider) .triangle
{
	display:none;
}
.main .right:not(.group) .body .message-box:not(.my):not(.date-divider) + .message-box:not(.my):not(.info):not(.date-divider)
{
	margin-top:3px !important;
}
.message-box.my + .message-box.my .triangle
{
	display:none;
}
.message-box.my + .message-box.my
{
	margin-top:3px !important;
}
.message-box .message-image
{	
	overflow: hidden;
    border-radius: 10px;
	margin-bottom: 0px;
}
.message-box .message-image .content
{
    margin: 0px;
    overflow: hidden;
	background-size: cover !important;
	position: relative;
}
.message-box .message-image .content img
{
	max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	min-width: 32px;
    min-height: 32px
}
.message-box .message-image .action {
    opacity: 0;
    transition: opacity 0.4s ease;
    position: absolute;
    border-top-right-radius: 10px;
    top: 4px;
    right: 4px;
    width: 100px;
    height: 100px;
    text-align: right;
    color: #ffffff;
    z-index: 1;
    background-image: linear-gradient(215deg, #0000004a -21%, #00000000 35%);
}


.message-box .message-image .action i {
    font-size: 21px;
    line-height: 21px;
    cursor: pointer;
    margin-right: 2px;
    padding-right: 1px;
}
.message-box .message-image .date {
	border-bottom-right-radius: 9px;
    border-bottom-left-radius: 9px;
    font-size: 11px;
    line-height: 11px;
    position: absolute;
    height: 26px;
    padding-top: 10px;
    bottom: 4px;
    padding-right: 8px;
    right: 4px;
    z-index: 0;
    color: #ffffff;
    width: calc(100% - 8px);
    text-align: right;
    background-image: linear-gradient(0deg, #242626b3 0%, #00000000 100%);
}




.message-box .message-video
{	
	
	overflow: hidden;
    border-radius: 10px;	
}
.message-box .message-video .content
{
    margin: 0px;
    border-radius: 10px;
    overflow: hidden;
	background-size: cover !important;
	position: relative;
	min-width: 90px;
    min-height: 90px;
}
.message-box .message-video .content img
{
	max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.message-box .message-video .action {
    opacity: 0;
    transition: opacity 0.4s ease;
    position: absolute;
    border-top-right-radius: 10px;
    top: 4px;
    right: 4px;
    width: 100px;
    height: 100px;
    text-align: right;
    color: #ffffff;
    z-index: 1;
    background-image: linear-gradient(215deg, #0000004a -21%, #00000000 35%);
}

.message-box .message-video .action i {
    font-size: 21px;
    line-height: 21px;
    cursor: pointer;
    margin-right: 2px;
    padding-right: 1px;
}
.message-box .message-video .date {
	border-bottom-right-radius: 9px;
    border-bottom-left-radius: 9px;
    font-size: 11px;
    line-height: 11px;
    position: absolute;
    height: 27px;
    padding-top: 10px;
    bottom: 4px;
    padding-right: 8px;
    right: 4px;
    z-index: 0;
    color: #ffffff;
    width: calc(100% - 8px);
    text-align: right;
    background-image: linear-gradient(0deg, #242626b3 0%, #00000000 100%);
}
.message-box .message-video .triangle
{
	z-index:-1;
}
.message-box .message-video .duration {
	font-size: 11px;
    line-height: 62px;
    position: absolute;
    height: 50px;
    padding-top: 10px;
    bottom: 6px;
    padding-right: 10px;
    left: 13px;
    z-index: 1;
    text-align: left;
    color: #ffffff;
}
.message-box .message-video .duration i {
	font-size: 14px;
    margin-right: 4px;	
	margin-bottom: 0px;
}
.message-box .message-video .play {
	position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
	color: #ffffff;
	background-color: #2426264f;
	z-index: 1;
}
.darkmode .message-box .message-video .play {
    background-color: #24262670;
}
.message-box .message-video .play i {
	font-size: 34px;
    padding-left: 4px;
}





.message-box .message-voice
{	
	
}
.message-box .message-voice .content
{
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
	margin-right: 5px;
	width: 295px;
}
.message-box .message-voice .content img
{
    max-width:300px;
    min-width:100px;
    max-height:300px; 
	min-height:100px;
}
.message-box .message-voice .action {
    position: absolute;
    border-top-right-radius: 10px;
    top: 2px;
    right: 1px;
    width: 36px;
    height: 26px;
    text-align: right;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.message-box .dropdown
{
    top: 2px;
    right: 2px;
}

.message-box .message-voice .action i {
    font-size: 21px;
    line-height: 21px;
    cursor: pointer;
    margin-right: 2px;
    padding-right: 1px;
}
.message-box .message-voice .date {
    font-size: 11px;
    line-height: 20px;
    position: absolute;
    height: 18px;
    bottom: 5px;
    right: 14px;
    z-index: 0;
    text-align: right;
    width: 50px;
}
.message-box .message-voice .duration {
    font-size: 11px;
    line-height: 29px;
    position: absolute;
    height: 20px;
    bottom: 7px;
    padding-right: 6px;
    left: 46px;
    z-index: 1;
    text-align: left;
}
.message-box .message-voice .duration i {
	font-size: 14px;
    margin-right: 4px;	
	margin-bottom: 2px;
}
.message-box .message-voice .play {
	position: absolute;
    top: 8px;
    left: 6px;
    width: 38px;
    height: 44px;
    line-height: 42px;
    text-align: center;
}
.message-box .message-voice .play i {
	font-size: 36px;
    border-radius: 50%;
    width: 36px;
	transition:background 0.4s ease;
	cursor:pointer;
}
.message-box .message-voice .play i.bx-play {
    padding-left: 1px;
}
.message-box .message-voice .play i.bx-play:hover, .message-box .message-voice .play i.bx-pause:hover {
	background: #00000014;
	transition:background 0.4s ease;
}
.darkmode .message-box .message-voice .play i.bx-play:hover, .darkmode .message-box .message-voice .play i.bx-pause:hover {
	background: #ffffff14;
	transition:background 0.4s ease;
}
.message-box .message-voice .track {
    width: 228px;
    padding: 13px 0px 14px 0px;
    height: 60px;
    margin-right: 25px;
    margin-left: 42px;
	position: relative;
}
.message-box .message-voice .track:before {
    position: absolute;
    content: '';
    top: 25px;
    left: 5px;
    width: calc(100% - 33px);
    height: 1px;
    background: #bebebe;
    z-index: 0;
}   
.darkmode .message-box .message-voice .track:before 
{
	background: #3d4042;
}
.message-box .message-voice .track > div {
	position: absolute;
    width: 202px;
    z-index: 1;	
	background: #ffffff;
}
.darkmode .message-box .message-voice .track > div {
	background: #1e2326;
}

.message-box.my .message-voice .track > div {
    background: #0061cf;
}
.darkmode .message-box.my .message-voice .track > div {
    background: #152a42;
}

.message-box.my .message-voice .date i {
    margin-left: 3px;
}

.message-box ::part(cursor) {
	border-radius: 50%;
    width: 12px;
    height: 12px;
	margin-left: -6px;
    top: 7px;
    background-color: #636261;
}

.message-box.my ::part(cursor) {
    background-color: #bfbfbf;
}


.darkmode .message-box ::part(cursor) {
    background-color: #a0a0a0;
}

.message-box ::part(scroll) {
    padding-right: 6px;
    padding-left: 6px;
}

.message-box .message-voice .track .download {
	width: 204px;
    height: 3px;
    background: #e6ded6;
    margin-top: 13px;
    border-radius: 2px;
    margin-left: 7px;
	
}
.message-box.my .message-voice .track .download {
    background: #7296be;
}
.darkmode .message-box .message-voice .track .download {
	background: #464a4e;
}
.darkmode .message-box.my .message-voice .track .download {
    background: #3b4653;
}
.message-box .message-voice .get {
	position: absolute;
    top: 5px;
    left: 5px;
    width: 44px;
    height: 44px;
    line-height: 42px;
    text-align: center;
	display: none;
}
.message-box .message-voice .get i {
	font-size: 30px;
    border-radius: 50%;
    width: 30px;
	cursor: pointer;
}

.message-box .message-image .get {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 42px;
    text-align: center;
	z-index:4;
	display:none;
}
.message-box .message-image .get i {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    color: #ffffff;
    background-color: #24262647;
	font-size: 27px;
    padding: 11px;
    line-height: 30px;
}

.message-box .message-video .get {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 42px;
    text-align: center;
    z-index: 4;
}
.message-box .message-video .get i {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    color: #ffffff;
    background-color: #24262647;
	font-size: 27px;
    padding: 11px;
    line-height: 30px;
}
.message-box .get.ready {
	display:block;
}
.message-box .message-video video {
	width: 100%;
    height: 100%;
}
#slider
{
	width:100% !important;
	height:100% !important;
	top:0;
	left:0;
	position:fixed;
	z-index:99;
	margin:0 !important;
	padding:0px;
	border: none;
	overflow: hidden;
	background: black;
	
}
#slider ul
{
	
}
#slider ul li
{
	text-align: center;
    height: 100vh;
	position: relative;
}
#slider ul li > div
{
	width: 100%;
    height: 100%;
    top: 0px;
    position: absolute;	
	display: flex;
    justify-content: center;
	align-items: center;
}
#slider ul li img
{
	max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;	
	display:inline-block;
}

#slider ul li img, #slider ul li video {
    max-height: 100%;
    margin-top: 0;
}

#slider ul li.active
{
	z-index:100 !important;
}
#slider ul li.active:before
{
	content:'';
	top:0;
	left:0;
	width:100vw;
	height:100vh;
	background:#ffffff;
	position:absolute;
}
#slider ul li.active:before
{
	background:#000000;
}
#slider ul li div.zoom
{
	transition: all 0.2s ease;
}
#slider ul li.active div.zoom
{
	top:0;
	left:0;
	height:100vh;
	transition: all 0.2s ease;
}
#slider ul li.active div.zoom img
{
	
    transition: transform 0.2s ease, transform-origin 0.2s ease;
}
#slider .flex-direction-nav a {
	top: 0;
    height: 100vh;
    z-index: 3;
    margin-top: 0;
    transition: opacity 0.4s ease;
	width: 70px;
	opacity: 1 !important;
	display:none;
}

#slider:hover .flex-direction-nav a  {
	opacity: 0.5;
}
#slider .flex-direction-nav a:hover  {
	opacity: 0.8;
}
#slider .flex-direction-nav .flex-disabled {
	opacity: 0 !important;
	pointer-events: none !important;
	cursor: default !important;
}

.flex-direction-nav a:before {
    top: calc(50% + 35px);
    position: absolute;
    left: 13px;
    border-radius: 50%;
    width: 42px;
    height: 42px;
	color: #ffffff;
    background: transparent;
    padding-right: 2px;
	transition:background 0.3s ease;
}

.flex-direction-nav a:hover:before {
	background: #141718b3;
	transition:background 0.3s ease;
}

.flex-direction-nav a:before {
	font-size: 17px;
    text-shadow: none;
    line-height: 43px;
    margin-left: -1px;
    text-align: center;
    line-height: 44px;
}

.flexslider:hover .flex-direction-nav .flex-prev {
    border-radius: 0%;  
	outline:none;
}
.flexslider:hover .flex-direction-nav .flex-next {
    border-radius: 0%;  
	outline:none;
}
.flex-direction-nav a.flex-next:before {
	top: calc(50% + 35px);
    position: absolute;
    left: auto;
    right: 13px;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    text-align: center;
    margin: 0;		
    padding-left: 2px;
}
.flex-direction-nav a.flex-prev {
	left: 0px !important;
}
.flex-direction-nav a.flex-next {
	right: 0px !important;
}
#slider ol li img
{
	height: 117px;
    transition: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: auto;
    top: 50%;
}
.darkmode #slider ol li img
{
	
}

#slider ol li img:hover
{
	
}
.darkmode #slider ol li img:hover
{
	
}
.flex-control-thumbs li {
	width: 45px;
    height: 60px;
    float: none;
    display: none;
    transition: all 0.4s ease;
    margin: 8px 3px;
    overflow: hidden;
    border-radius: 5px;
	position: relative;
}
.flex-control-thumbs.visible li
{
    display: inline-block;
}
.flex-control-thumbs {
    padding-top: 1px;
    padding-bottom: var(--sa-bottom);
    bottom: 0;
    position: absolute;
    z-index: 99;
    height: calc(84px + var(--sa-bottom));
    display: block;
    max-width: max-content;
    white-space: nowrap;
    opacity: 0;
}
.flex-control-thumbs.show {
	opacity:1;
}
.flex-control-thumbs li {	
	display:none !important
}
.flex-control-thumbs.show li {
	display:inline-block  !important
}

.flex-control-thumbs img
{
	opacity:1;
}

#slider .top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    padding: 11px 10px;
    padding-top: calc(11px + var(--sa-top));
    height: calc(63px + var(--sa-bottom));
    z-index: 99;
    display: block;
    text-align: right;
    opacity: 0; 
	background: #1417185e;
}

#slider .top.show {
    opacity: 1; /* Показываем панель при добавлении класса через JS */
}

#slider .top:hover {
    opacity: 1;
}



#slider .top > div
{
	position: relative;
	display:inline-block;
    text-align: center;
	float:right;
    cursor: pointer;
	margin-right: 0px;
}

#slider .top > div.close 
{
	margin-right: 6px !important;
}

#slider .top > div.left
{
	float: left;
}
#slider .top > div i
{
	padding: 9px;
}
#slider .top > div i:hover
{
	background-color: #141718b3	
}
#slider .top > div.hidden-mobile i {
    padding: 7px;
}
.flex-direction-nav .flex-next, .flex-direction-nav .flex-prev
{
	background: transparent !important;
	opacity:0;
}

.darkmode .flex-direction-nav .flex-next, .darkmode .flex-direction-nav .flex-prev
{
	background: transparent !important;
}

.flex-direction-nav .flex-next:hover, .flex-direction-nav .flex-prev:hover
{
	background: transparent !important;
}
.darkmode .flex-direction-nav .flex-next:hover, .darkmode .flex-direction-nav .flex-prev:hover
{
	background: transparent !important;
}

#slider ul li video
{
	max-width: 100vw;
    width: auto;
    height: 100%;
    display: inline-block;	
}


.login 
{
	position: relative;
    min-width: 360px;
    max-width: 480px;
    padding: 0px 25px 10px 25px;
    margin-bottom: 20px;
	border-radius: 52px;
}
.login input[type="text"], .login input[type="password"]
{
	border-radius: 27px;
    outline: none;
    padding: 8px 10px 9px 10px;
    width: 100%;
    margin: 11px 0 15px 0;
}
.login #user-phone
{
	padding-right: 0 !important;
    padding-left: 55px !important;
    padding-top: 9.5px !important;
    padding-bottom: 7.5px;
}
.login #server-host {
    padding: 12px 10px 11px 10px !important;
}
.login input[type="checkbox"]
{
	accent-color: #000000;
    width: 20px;
    height: 20px;
    float: left;
    margin-top: 3px;
	opacity:0.4;
}
.darkmode .login input[type="checkbox"]
{
	filter: invert(82%) hue-rotate(18deg) brightness(0.7);
}
.login label
{
	width: calc(100% - 69px);
    display: inline-block;
    margin-left: 4px;
    text-align: center;
	padding-top:2px;
	min-height:25px;
}


.login .button, .login button
{
    border: none;
    border-radius: 27px;
    padding: 11px 20px 9px;
    width: 100%;
    line-height: 28px;
	cursor:pointer;
	outline:none;
	min-width: 85px;
}

.fs-11
{
	font-size:11px !important;
}
.fs-12
{
	font-size:12px !important;
}
.fs-13
{
	font-size:13px !important;
}
.fs-14
{
	font-size:14px !important;
}
.fs-15
{
	font-size:15px !important;
}
.fs-16
{
	font-size:16px !important;
}
.fs-17
{
	font-size:17px !important;
}
.fs-18
{
	font-size:18px !important;
}
.fs-19
{
	font-size:19px !important;
}
.fs-20
{
	font-size:20px !important;
}
.fs-21
{
	font-size:21px !important;
}
.fs-22
{
	font-size:22px !important;
}
.fs-23
{
	font-size:23px !important;
}
.fs-24
{
	font-size:24px !important;
}
.fs-25
{
	font-size:25px !important;
}
.fs-26
{
	font-size:26px !important;
}
.fs-27
{
	font-size:27px !important;
}
.fs-28
{
	font-size:28px !important;
}
.fs-29
{
	font-size:29px !important;
}
.fs-30
{
	font-size:30px !important;
}
.fs-31
{
	font-size:31px !important;
}
.fs-32
{
	font-size:32px !important;
}
.fs-33
{
	font-size:33px !important;
}
.fs-34
{
	font-size:34px !important;
}
.fs-35
{
	font-size:35px !important;
}
.fs-36
{
	font-size:36px !important;
}
#login, #d2fa, #password
{
	display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;	
}
.login img 
{
    width: 217px;
    margin-left: -12px;	
}

.bottom-menu
{
	display:none;
	position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 80px;
    overflow: hidden;
	min-width: 360px;
	z-index: 1;
}

.bottom-menu ul 
{
	list-style: none;
    margin: 0;
    padding: 0;
}
.bottom-menu ul li i
{
	position: relative;
}
.bottom-menu ul li
{
	height: 74px;
	float: left;
    width: calc(25% - 0px);
    margin: 0;
    text-align: center;	
	padding: 10px 0px;	
	cursor: pointer;
}

.bottom-menu ul li i span
{
	display: block;
    position: absolute;
    font-size: 16px;
    left: -50%;
    width: 200%;
    text-align: center;
    font-family: 'HelveticaNeueCyr';
    bottom: -20px;
    font-weight: 400;
}

.bottom-menu ul li:first-child
{
    text-align: left;
	padding-left: 17px;	
}

.bottom-menu ul li:last-child
{
    text-align: right;	
	padding-right: 26px;
}
.bottom-menu ul li:nth-child(2)
{
	padding-right: 5%;
}
.bottom-menu ul li:nth-child(3)
{
	padding-left: 0%;
}
.bottom-menu ul li i
{
	font-size: 20px;
    padding: 8px;
    border-radius: 50%;	
	transition: background 0.4s ease;
}

.main .right .header .back {
    cursor: pointer;
    display: inline-block;
    margin-right: 5px;
	margin-left:-10px;
	float: left;
	display:none;
}
.main .right .header .back i {
    border-radius: 50%;
    padding: 10px;
    font-size: 22px;
    cursor: pointer;
}

#slider ol li.active
{
	height: 70px;
    width: 53px;
    margin: 4px 3px;	
}

#slider ol li.active img
{
	
}

.noanimate
{
	transition:none !important;
}

.no-animate *
{
	transition:none !important;
}

#slider .flex-direction-nav.short a
{
    top: calc(50% - 19px);
    height: 38px;
}
#slider .flex-direction-nav.short a.flex-next:before 
{
    top: 0;
}
#slider .flex-direction-nav.short a.flex-prev:before 
{
    top: 0;
}

.flex-control-thumbs:before {
    content: '';
    bottom: 0;
    left: 0;
    height: calc(87px + var(--sa-bottom));
    position: fixed;
    width: 100vw;
    background: #1417185e;
    z-index: -1;
}


.ui-widget.ui-widget-content 
{
	
	background: #ffffff;
    box-shadow: 0px 0px 10px #cecece;
    border: none;
	padding: 9px 15px;
}

.ui-widget-content {
    color: #000000;
	border-radius:10px;
}

.darkmode .ui-widget.ui-widget-content 
{
	box-shadow: none;
    background: #161717;
    border: 1px solid #25282d;
}

.darkmode .ui-widget-content {
    color: #ffffff;
}

.dropdown
{
	display: none;
    width: max-content;
    height: max-content;	
	position:absolute;
	z-index:10;
	box-shadow: 1px 1px 2px 0px #0000001f;
	padding: 5px 0 5px 0;   
	margin: 0;
	right:0;
	text-align:left;
}
.dropdown:before
{
	content:'';
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:-1;
	position:fixed;
}
.darkmode .dropdown
{
	box-shadow: none;
	border: 1px solid #343535;	
}
.overflow-hidden
{
	overflow:hidden;	
}

.dropdown li
{
	margin: 0px;
    display: block;	
}
.dropdown li.line
{
	margin: 3px 15px;	
}
.dropdown li.line span
{
	padding-top: 0;
    padding-bottom: 0;
    border-bottom: 1px solid #dddcda;
}
.darkmode .dropdown li.line span
{
    border-bottom: 1px solid #383b3d;
}
.dropdown li span
{
	display: block;
    border-radius: 11px;
    overflow: hidden;
    margin: 0px 4px;
    padding: 11.5px 39px 8px 16px;
    font-size: 15px;
}
.dropdown li span i
{
	float: left;
    margin-top: 1px;
    min-width: 17px;
    display: inline-block;
}
.border-radius1
{
	border-radius:10px;
}

.main .left .submenu .dropdown
{
	right: 20px;
    top: 46px;	
}
.border-radius2
{	
	border-radius: 15px;
}
.border-radius2-top
{	
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}
.border-radius2-bottom
{	
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}
.main .right .header .actions .dropdown
{
	top: 58px;
    right: 15px;
}

::-webkit-scrollbar {
    display: none;
}

.hidden-desktop, .hidden-desktop-inline-block
{
	display:none !important;
}
.flex-center
{
	align-items: center;
	justify-content: center;
}

.blur
{
	filter: blur(20px);
}

.message-box .content .preload
{
    background-size: cover !important;
	width: 100%;
    height: 100%;
}

.smiles-list
{
	position: absolute;
    width: 653px;
    height: 418px;
	top: -420px;
    left: 2px;
    z-index: 5;
    border-radius: 16px;
    padding: 12px 9px;
	display: none;
	min-width: 360px;
}

.smiles-list:before
{
	position: absolute;
    content: '';
    left: -14px;
    top: -20px;
    height: calc(100% + 86px);
    width: calc(100% + 35px);
    z-index: -1;
}
.smiles-list .tabs
{
    margin-left: 41px;
    margin-right: 54px;
    height: 30px;
    border-radius: 15px;
    margin-bottom: 8px;
	border-right: 1px solid #dddcda;
}
.smiles-list .tabs .tab
{
	display: inline-block;
    width: 12.5%;
    padding: 5.5px;
    text-align: center;
    float: left;
    height: 100%;
    line-height: 100%;
    border-right: 1px solid #dddcda;
}
.darkmode .smiles-list .tabs .tab
{
	border-right: 1px solid #343535;
}
.smiles-list .tabs .tab:last-child
{
	border-right: none;
}
.smiles-list .tabs .tab i
{
	font-size:17px;
}
.smiles-list .tabs .tab.active
{
	background: #f7f5f3;
}
.smiles-list .tabs:not(.second) .tab.active
{
	color:#000000;
}
.darkmode .smiles-list .tabs .tab.active
{
	background: #1e2326;
}
.darkmode .smiles-list .tabs:not(.second) .tab.active
{
	color:#ffffff;
}
.smiles-list .list
{
	height: 316px;
	width:calc(100% - 9px);
    overflow-x: hidden !important;
    position: absolute;
    overflow-y: auto !important;	
	overscroll-behavior: none;
}
.smiles-list .list > div
{
	clear: both;
}

.smiles-list .list .type
{
	margin: 1px 6px 2px 6px;
    clear: both;
	text-align: left;
}
.smiles-list .list b
{
	font-size: 25px;
    padding: 4px 5.5px;
    display: inline-block;
    cursor: pointer;
    float: left;
}
.ios .smiles-list .list b
{
	font-size: 28px;
    padding: 1.4px 5.27px;
}

.main .about
{		
	width: 0px;
	position: relative;
	z-index: 7;
	overflow: hidden;
	display:none;
}
.main .about:before
{
	border-left: 1px solid #dddcda;	
	content:'';
	left:0px;
	top:0;
	width:0px;
	height:100vh;
	position: absolute;
}
.darkmode .main .about:before
{
	border-left: 1px solid #25282d;
	
}
.main .about .top 
{
    position: absolute;
    left: 0;
    padding: 11px 10px;
    height: 62px;
    z-index: 99;
    text-align: right;
    top: 0;
    width: 100%;
}
.main .about .top > div {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    text-align: center;
    float: right;
    cursor: pointer;
}
.main .about .top > div.hidden-desktop {
    float: left;
}
.main .about .top > div i {
    padding: 9px;
}
.main .about .top > div.hidden-mobile i {
    padding: 7px;
}

.p-4px 
{
	padding: 5px !important;
}

.main .about .top .data
{
	float: left;
    padding: 11px 11px;
    line-height: 22px;
    text-align: left;
    cursor: default;
}
.main .about .body
{
	padding: 0 20px 0 19px;
    text-align: center;
    overflow: hidden;
    overflow-y: auto;
    position: absolute;
    height: calc(100vh - 66px);
    top: 65px;
    width: 100%;
	overscroll-behavior: none;
}
.main .about .body .avatar
{
	border-radius: 50%;
	position:relative;
    overflow: hidden;
    width: 190px;
    height: 190px;
    text-align: center;
    display: inline-block;
	margin-top: 0px;
	background: url(../images/no_avatar.svg);
    background-size: 51px;
    background-position: center;
    background-repeat: no-repeat;
}
.main .about.group .body .avatar
{
	background: url(../images/no_logo.svg);
    background-size: 75px;
	background-position: center 69px;
    background-repeat: no-repeat;
	
}
.main .about .body .avatar img
{
	width: 103%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
	cursor: pointer;
}
.main .about .body .line
{
	width: 100%;
	margin-top:5px;
	-webkit-touch-callout: text; 
    -webkit-user-select: text;   
    -moz-user-select: text;      
    -ms-user-select: text;       
    user-select: text;
}

.fw-400
{
	font-weight:400;	
}
.fw-500
{
	font-weight:500;	
}
.flex-direction-nav {
    position: absolute;
    top: 0;
    width: 100%;
}
.flex-nav-next
{
    position: absolute !important;
    top: 0;
    right: 0;
    z-index: 3;	
}
.main .about.visible
{
	display:table-cell;
}
.main .about .wrap
{
	position: absolute;
    top: 0;
    left: 0;
    width: 359px;
    height: 100%;
}

.main .right .body.group
{
	padding: 12px 22px 12px 63px;
}
.main .right .body.group .message-box:not(.my) .message-voice .play 
{
    top: 24px;
}

.main .right .body .message-box .avatar
{
	position: absolute;
    top: -5px;
    left: -43px;
    overflow: hidden;
    border-radius: 50%;
    height: 35px;
    width: 35px;
    background-color: #ffffff;
    background-image: url(../images/no_avatar.svg);
    background-size: 35px;
    background-position: center;
    background-repeat: no-repeat;
	cursor:pointer;
}
.darkmode .main .right .body .message-box .avatar
{
	background-color:#141718;
}
.main .right .body .message-box .avatar img
{
	width: 100%;  
}
.main .right .body.group .message-box:not(.my) .message-voice .get
{
	top: 26px;
}

.message-box .get.loading
{
	cursor:default !important;
}
.main .right .calls
{
	height: 100%;
    width: 100%;
    padding: 17px 18px;
    position: absolute;
    z-index: 1;	
}
.main .right .calls .title
{
	float: left;
	padding:0;
}
.main .right .calls .close
{
	position: relative;
    display: inline-block;
    border-radius: 50%;
    text-align: center;
    float: right;
    cursor: pointer;
	margin-top: -5px;
}
.main .right .calls .close i {
    padding: 9px;
}
.main .right .calls .close.hidden-desktop {
    float: left;
    margin-left: -6px;
    margin-top: -2px;
    margin-right: 8px;
}
#login .download
{
	margin: 8px -2px -2px;	
}
#login .download a
{
	display: inline-block;
    padding: 7px 15px 7px 16px;
    border-radius: 33px;
    text-align: left;
    text-decoration: none;
    line-height: 14px;
    width: 137px;
    margin: 6px 2px;	
}
.darkmode #login .download a
{
	
}
#login .download a div
{
	display: inline-block;
    width: 127px;	
}
#login .download a i
{
	font-size: 33px;
    display: inline-block;
    float: left;	
}
#login .download a span
{
	width: calc(100% - 53px);
    display: inline-block;
    font-size: 10px;
}
#login .download a b
{
	width: calc(100% - 48px);
    display: inline-block;
    font-size: 13px;	
}
#login .download a span {
    color: #74787a;
}
.darkmode #login .download a span {
    color: #929495;
}
.float-right
{
	float: right;
}
.float-left
{
	float: left;
}
.border-radius1
{
	border-radius:26px;
}
.border-radius3
{
	border-radius:50%;
}
.main .right .calls .head
{
	height: 42px;
	position:relative;
}
.main .right .calls .history
{
	overscroll-behavior: none;
}
.main .right .calls .history .avatar
{
	width: 52px;
    height: 52px;	
	background-image: url(../images/no_avatar.svg);
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
}
.main .right .calls .history .avatar img
{
	width: 100%;
    height: 100%;	
}
.main .right .calls .history .name
{
	display: block;
    margin-top: 4px;
    float: left;
    height: 23px;
    overflow: hidden;	
}
.main .right .calls .history .info
{
    display: block;
    position: absolute;
    left: 86px;
    top: 44px;
}
.main .right .calls .history .actions
{
    margin-top: 4px;	
}
.main .right .calls .history .actions > div > i
{
	padding: 10px;
}
.main .right .calls .history .list-body
{
    position: relative;
    clear: both;
    width: 100%;
    padding-right: 12px;
}


.main .right .calls .history .list-body .line
{
	clear: both;
    padding-top: 15px;	
}
.chats .item .ico {
    width: 50px;
    height: 50px;
    overflow: hidden;
    float: left;
    margin-right: 13px;
    padding: 14px;
}
.settings.chats .item .name, .settings.chats .item .text {
    width: calc(100% - 75px);
    max-width: calc(100% - 75px);
}
.settings.chats {
    height: calc(100vh - 55px);
}
.main .left .title .back
{
	padding: 9px;
    font-size: 24px;
    margin-top: -2px;
    margin-left: -8px;
    margin-right: 9px;
}
.swal2-modal.swal2-popup .swal2-actions .btn:hover, .swal2-modal.swal2-popup .swal2-actions .btn:active, .swal2-modal.swal2-popup .swal2-actions .btn:focus  
{
    border-color: transparent !important;
    border: none !important;
	outline:none !important;
	box-shadow: none !important;
}
.swal2-icon.swal2-warning 
{
    border-color: #ff983e;
    color: #ff983e;
}
.darkmode .swal2-icon.swal2-warning 
{
    border-color: #c25d05;
    color: #c25d05;
}
.swal2-container.swal2-backdrop-show, .swal2-container.swal2-noanimation {
    background: transparent;
}

.swal2-modal.swal2-popup {
    box-shadow: 0px 0px 10px #6565652e;
}
.swal2-modal.swal2-popup {
	width: 460px;
}
html:not(.darkmode) .swal2-modal.swal2-popup {
	border:none !important;
	border-radius:61px !important;
}
.darkmode .swal2-modal.swal2-popup {
    box-shadow: none;
	border-radius:61px !important;
	border:none !important;
}
.main .right .header .actions > div.label {
    margin-top: 3px;
    line-height: 34px;
    padding-right: 18px;
    padding-left: 5px;
    margin-right: 5px;
	margin-left: 5px;
    transition: background-color 0.4s ease;
}
.main .right .header .actions > div.label b {
    font-weight: normal;
    display: inline-block;
    margin-top: 1px;
}
.main .right .header .actions > div.label i {
	float:left;
	padding: 7px 7px 6px 11px;
	background: transparent;
}
.main .right .header .actions > div.label:hover i {
    background-color:transparent;
	transition: background-color 0.4s ease;
}
.lh-12
{
	line-height:12px !important;
}
.lh-13
{
	line-height:13px !important;
}
.lh-14
{
	line-height:14px !important;
}
.lh-15
{
	line-height:15px !important;
}
.lh-16
{
	line-height:16px !important;
}
.lh-17
{
	line-height:17px !important;
}
.lh-18
{
	line-height:18px !important;
}
.lh-19
{
	line-height:19px !important;
}
.lh-20
{
	line-height:20px !important;
}
.lh-21
{
	line-height:21px !important;
}
.lh-22
{
	line-height:22px !important;
}
.lh-23
{
	line-height:23px !important;
}
.lh-24
{
	line-height:24px !important;
}
.lh-25
{
	line-height:25px !important;
}
.lh-26
{
	line-height:26px !important;
}
.lh-27
{
	line-height:27px !important;
}
.lh-28
{
	line-height:28px !important;
}
.lh-29
{
	line-height:29px !important;
}
.lh-30
{
	line-height:30px !important;
}
.lh-31
{
	line-height:31px !important;
}
.lh-32
{
	line-height:32px !important;
}
.lh-33
{
	line-height:33px !important;
}
.lh-34
{
	line-height:34px !important;
}
.lh-35
{
	line-height:35px !important;
}
.lh-36
{
	line-height:36px !important;
}
.lh-37
{
	line-height:37px !important;
}
.lh-38
{
	line-height:38px !important;
}
.lh-39
{
	line-height:39px !important;
}
.lh-40
{
	line-height:40px !important;
}
.lh-41
{
	line-height:41px !important;
}
.lh-42
{
	line-height:42px !important;
}
.lh-43
{
	line-height:43px !important;
}
.lh-44
{
	line-height:44px !important;
}
.lh-45
{
	line-height:45px !important;
}
.lh-46
{
	line-height:46px !important;
}
.left-slide, .left-slide-2
{
	position: absolute;
	z-index: 1;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
	padding: 18px 22px 0 22px;
}
.left-slide-2
{
	z-index:2;
}
.left-slide .title, .left-slide-2 .title
{
	display: inline-block;
    padding-top: 0px;
    padding-bottom: 0px;
}
.left-slide .close-left-slide, .left-slide-2 .close-left-slide-2
{
	display: inline-block;
    padding: 9px;
    margin-top: -4px;
    margin-left: -6px;
    margin-bottom: -5px;
    float: left;
    margin-right: 4px;
}
.swal2-modal.swal2-popup .swal2-actions .btn {
    line-height: 39px;
    /*padding: 7px 23px 6px !important;*/
}
.swal2-modal.swal2-popup .swal2-actions {
    margin-top: 10px;
}
.swal2-container {
	padding: 20px !important;
}
.bg-image-none
{
	background-image:none  !important;
}
.chats .item .avatar i
{
	display: inline-block;
    width: 100%;
    text-align: center;
    line-height: 53px;	
}
.table
{
	
}
.table tr
{	
	border: none;
}
.table tr th
{
	padding: 11px 22px;
	border: none;
	font-weight: 400;
}
.table tr td
{
	padding: 11px 20px 9px;
	border: none;
	font-weight: 400;   
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.table tr:nth-child(2n+1)
{	
	background-color: #f7f5f3;
}
.darkmode .table tr:nth-child(2n+1)
{	
	background-color: #191c1e;
}
.tw-99
{
	width:99%;
}
.tw-90
{
	width:90%;
}
.tw-80
{
	width:80%;
}
.tw-70
{
	width:80%;
}
.tw-30
{
	width:30%;
}
.tw-30
{
	width:30%;
}
.tw-40
{
	width:40%;
}
.tw-20
{
	width:20%;
}
.tw-10
{
	width:10%;
}
.tw-1
{
	width:1%;
}
.main .right .calls .history .actions .act span
{
	
}
.inline-block
{
	display:inline-block;
}
.block
{
	display:block;
}
.text-left
{
	text-align:left;
}
.text-right
{
	text-align:right;
}
.text-center
{
	text-align:center;
}
.main .about .body .ps__thumb-y
{
    right: 5px;
}
.w-130px
{
	width:130px;
}
.w-294px
{
	width:294px;
}
.w-248px
{
	width:248px;
}
.table tr.selected
{
	background-color: #eeeeee;
}
.darkmode .table tr.selected
{
	background-color: #2a2d2f;
}
.table tr .short
{
	width: calc(100% - 100px);
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.main .about .body .table tr td {
    max-width: 256px;
}
.height-0px 
{
	height:0px;
}
.height-auto
{
	height:auto;
}
.transition-height
{
	transition:height 0.4s ease;
}
.cursor-default
{
	cursor:default;
}
.chats.deactivated .item.open:hover
{
	background:transparent !important;
}
.chats.deactivated .item.open .info
{
	background-color: #f7f5f3;
}
.darkmode .chats.deactivated .item.open .info
{
	background-color: #191c1e;
}
#loading
{
    position: fixed;
    background-image: url(../images/spinner.svg);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    z-index: 99;
    background-size: 64px;
    background-position: center center;
    /*background-color: #ffffff73;*/
}

.darkmode #loading
{
	/*background-color: #00000073;*/
}

.message-box.my .message-text .date i.bx-time-five
{
	font-size: 13px;
    padding: 2px;	
}

.main .right .header .name span
{
	display: block;
    margin-top: 17px;
    line-height: 0px;
	height: 16px;
}
.main .right .header .name b
{
    display: block;
    font-weight: 400;
    line-height: 0px;
    margin-top: 18px;
    height: 13px;
	font-size: 13px;
}

.profile-settings .avatar, .group-settings .logo {
	position:relative;
    border-radius: 50%;
    overflow: hidden;
    width: 165px;
    height: 165px;
    text-align: center;
    display: inline-block;
    margin-top: 10px;
    background: url(../images/no_avatar.svg);
    background-size: 53px;
    background-position: center;
    background-repeat: no-repeat;
}
.group-settings .logo {
    background: url(../images/no_logo.svg);
    background-size: 90px;
    background-position: center;
    background-repeat: no-repeat;	
}
.profile-settings .avatar img, .group-settings .logo img {
	width: 102%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

input.transparent-placeholder:focus::placeholder {
	color: transparent;
}

#delete-avatar, #delete-logo
{
    position: absolute;
    left: calc(50% - 81px);
    bottom: 8px;
    z-index: 1;
    width: 50px;
    height: 50px;
    padding-top: 9px !important;	
}

#choose-avatar, #choose-logo
{
    position: absolute;
    left: calc(50% + 25px);
    bottom: 8px;
    z-index: 1;
    width: 50px;
    height: 50px;
    padding-top: 9.5px !important;
    text-align: center;
    padding-left: 8.5px !important;
}
.visibility-hidden
{
	visibility: hidden;
}
.message-box.hasEmoji
{
	background: transparent;
    box-shadow: none;
	margin-bottom: 12px;
	padding: 0;
}
.message-box.hasEmoji  .triangle
{
	display:none;
}
.message-box.hasEmoji .message-text .content
{
	font-size: 40px;
    line-height: 54px;
    margin-bottom: 21px;
    margin-right: 0;
    margin-left: 0;
    margin-top: 5px;
}

.message-box.hasEmoji .message-text .date {
	box-shadow: 0px 1px 1px 0px #0000001a;
    bottom: 0px;
    right: unset;
    z-index: 0;
    left: 0;
    padding: 10px 10px 7.5px 10px;
    border-radius: 10px;
    background: white;
}
.message-box.hasEmoji.my .message-text .date {
    left: unset;
    padding: 5.4px 7px 2px 10px;
    right: 0;
    background: #0061cf;
    min-width: 66px;
	color: #bfbdbd;
}
.darkmode .message-box.hasEmoji.my .message-text .date {
    background: #19304b;
	text-align: right;
	color: #a0a0a0;
} 
.darkmode .message-box.hasEmoji .message-text .date
{
	background: #1e2326;
}
.message-box.short
{
	padding-bottom: 9px;	
	min-width: 175px;
}
.message-box.short .message-text .content 
{
	max-height: 273px;
	margin-right: 15px;
}
.message-box.short .message-text .show-more
{
	font-size: 12px;
    color: white;
    padding: 0px 7px;
    padding-bottom: 8px;
    padding-top: 8px;
    padding-left: 40px;
    display: inline-block;
    background: linear-gradient(270deg, #ffffff 73%, transparent);
    color: #706f6e;
	position: relative;
}
.darkmode .message-box.short .message-text .show-more {
	background: linear-gradient(270deg, #1e2326 73%, transparent);
}

.message-box.my.short .message-text .show-more
{
    background: linear-gradient(270deg, #0061cf 73%, transparent);
	color: #babfbf;
}
.darkmode .message-box.my.short .message-text .show-more
{
    background: linear-gradient(270deg, #152a42 73%, transparent);
}
.message-box.short .message-text .date {
    bottom:-6px;
}

.message-box.short .message-text .show-more b
{
	font-weight:500;
	margin-left: 0px;
	cursor:pointer;
	color: #636261;
	transition:color 0.4s ease;
}
.darkmode .message-box.short .message-text .show-more b
{
	color: #bfbfbf;
}
.message-box.my.short .message-text .show-more b
{
	color: #bfbfbf;
}
.message-box.short .message-text .show-more b:hover
{
	color: #2b63a1;
	transition:color 0.4s ease;
}
.darkmode .message-box.short .message-text .show-more b:hover
{
	color: #5f96d4;
}
.message-box.my.short .message-text .show-more b:hover
{
	color: #7fbbff;
	transition:color 0.4s ease;
}
.darkmode .message-box.my.short .message-text .show-more b:hover
{
	color: #5f96d4;
}

.message-box.short .message-text .show-more b i
{
	line-height: 14px;
    margin-top: -4px;
	float: left;
}
.message-box.short.full
{
	padding-bottom:3px;
}
.message-box.short.full  .message-text .content
{
	max-height:unset;
	margin-bottom: 10px;
}

.message-box.short.full .message-text .date {
    bottom: 1px;
}
.message-box.my.short.full .message-text .date {
    bottom: -4px;
}

.smiles-list .tabs.second
{
	position: absolute;
    bottom: 12px;
    width: 360px;
    margin-bottom: 0;
    height: 30px;
	margin-left: 132px;
}
.smiles-list .tabs.second .tab
{
	width: 33.33%;
	line-height: 100%;
}
.smiles-list .tabs.second .tab:nth-child(2) {
    padding: 8px;
}
.smiles-list .backspace
{
	position: absolute;
    right: 100px;
    bottom: 12px;
    width: 33px;
    height: 30px;
    background: url(../images/backspace.svg);
    background-repeat: no-repeat !important;
    background-size: 26px !important; 
    background-position: right center !important;
}
.smiles-list .search-icon
{
	position: absolute;
    left: 83px;
    bottom: 10px;
    width: 39px;
    height: 30px;
	margin-left: calc(6.75% - 32px);
}
.darkmode .smiles-list .backspace
{
    background: url(../images/backspace2.svg);
}

.smiles-tab
{
	position: absolute;
    width: 100%;
    height: 100%;
}
.main .right .footer > i.bx-paperclip
{
    right: 6px;
    transform: rotate(270deg);
}

.allow-selection {
	user-select: text; 
	-webkit-touch-callout: text; 
    -webkit-user-select: text;   
    -moz-user-select: text;     
    -ms-user-select: text;     
    user-select: text;
}

.dots 
{ 
	display: flex;
    gap: 5px;
}

.dot 
{
	width: 7px; 
	height: 7px;
	background: #a3a3a3;
	border-radius: 50%;
	animation: bounce 0.8s ease-in-out infinite;
	margin-top: -34px;
}
.darkmode .dot 
{
	background: #5b5b5b;
}
.dot:nth-child(2) 
{
	animation-delay: 0.1s; 
}
.dot:nth-child(3) 
{
	animation-delay: 0.2s; 
}

@keyframes bounce 
{
	0%, 80%, 100% { transform: translateY(0); }
	40% { transform: translateY(-12px); }
}
.message-box.typing-animation
{
	width: 55px;
}
.message-box.typing-animation .message-text .content
{
    margin-right: 3px;
	cursor:default;
	height:29px;
}

.message-box.typing-animation .dots
{
	scale: 0.8;
	margin-top:-7px
}

.main .right .footer .dropdown {
    bottom: 52px;
    right: 2px;
}

.message-box .message-image .date i
{
	font-size: 18px;
    margin-left: 2px;
    margin-top: -5.5px;
    margin-bottom: -3px;
	margin-right: -3px;
}

.message-box.my .message-image .date i.bx-time-five
{
    font-size: 13px;
    padding: 2px;
    margin-top: -3px;
    float: right;
}
.chats .item .text i.bx-image-alt {
	margin-top: -3px;
    font-size: 16px;	
}

.message-box .message-file .content {
    float: left;
    font-size: 15px;
    line-height: 18px;
    padding: 13px 12px;
    height: 60px;
    margin-bottom: 0px;
    border-radius: 9px;
    width: 300px;
}

.message-box .message-file
{
    border-radius: 10px;
	position: relative;
	height: 60px;
}
.message-file .triangle {
    left: 3px;
    top: -4px;
}

.message-box .message-file .action {
    opacity: 0;
    position: absolute;
    top: 0px;
    right: 3px;
    border-radius: 6px;
    width: 32px;
    text-align: right;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.message-box.my .message-file .action {
    width: 51px;
}

.message-box .message-file .date {
    font-size: 11px;
    line-height: 5px;
    position: absolute;
    bottom: 8px;
    right: 7px;
    z-index: 0;
	cursor:pointer;
}
.message-box.my .message-file .date {
    bottom: 2px;
    right: 4px;
}
.message-box.my .message-file .date i {
    margin-left: 1px;
    margin-top: -2px;
    font-size: 18px;
}

.message-box .message-file .content i
{
    font-size: 35px;
    float: left;
	margin-right: 12px;
}

.message-box .message-file .content .filename
{
	width: calc(100% - 76px);
    overflow: hidden;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;	
}

.message-box .message-file .content .filesize
{
	font-size: 12px;
	display: inline-block;
	margin-right:6px;
	text-transform: uppercase;
}

.message-box .message-file .content .filetype
{
	font-size: 12px;
    display: inline-block;
    margin-left: 6px;
    width: calc(100% - 155px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -5px;
}

.message-box.my .message-file .triangle {
    z-index: -1;
}

.message-box.my .message-file .date i.bx-time-five
{
	font-size: 13px;
    padding: 2px;	
}

.message-box .message-video .date i {
    font-size: 18px;
    margin-left: 2px;
    margin-top: -5px;
    margin-bottom: -3px;
	margin-right: -3px;
}

.message-box.my .message-video .date i.bx-time-five {
    font-size: 13px;
    padding: 2px 2px 2px 3px;
    margin-top: -5px;
}

.message-box .message-video .loading
{
	background: url(../images/spinner2.svg);
    width: 46px;
    height: 46px;
    position: absolute;
    left: calc(50% - 23px);
    top: calc(50% - 23px);
    background-size: 46px;
	text-align: center;
}
.message-box .message-image .loading
{
	background: url(../images/spinner2.svg);
    width: 46px;
    height: 46px;
    position: absolute;
    left: calc(50% - 23px);
    top: calc(50% - 23px);
    background-size: 46px;
	text-align: center;
}
.message-box .message-file .loading
{
	background: url(../images/spinner2.svg);
    width: 26px;
    height: 26px;
    position: absolute;
    right: 5px;
    top: 5px;
    background-size: 26px;
    text-align: center;
	z-index:2;
}

.message-box .message-video .loading i
{
    margin-top: 11.5px;
    font-size: 23px;
	text-shadow: 0px 0px 3px #000000;
}

.message-box .message-video .loading i.bxs-lock-alt
{
	margin-top: 14px;
    font-size: 18px;
}
.message-box .message-video .loading i.bxs-lock-open-alt
{
	margin-top: 14px;
    font-size: 18px;
}
.message-box .message-video .loading i.bx-cog {
	margin-top: 13px;
    font-size: 21px;
}
.message-box .message-image .loading i
{
	margin-top: 11px;
    font-size: 23px;
	text-shadow: 0px 0px 3px #000000;
}
.message-box .message-image .loading i.bxs-lock-open
{
	margin-top: 14px;
    font-size: 18px;	
}
.message-box .message-image .loading i.bxs-lock-alt
{
	margin-top: 14px;
    font-size: 18px;	
}
.message-box .message-image .loading i.bx-cog {
	margin-top: 13px;
    font-size: 21px;
}
.message-box .message-file .loading i
{
    margin-top: 6px;
    font-size: 14px;
    float: none;
    margin-right: 0;		
}
.message-box .message-file .loading i.bxs-lock-open-alt
{
	margin-top: 5px;
    font-size: 11px;
}
.message-box .message-file .loading i.bxs-lock-alt
{
	margin-top: 5px;
    font-size: 11px;
}
.message-box .message-file .loading i.bx-check
{
    margin-top: 5px;
    font-size: 16px;
}

.message-box.my .message-voice .date i.bx-time-five {
    font-size: 13px;
    padding: 2px;
}

.message-box .message-voice .icon {
	position: absolute;
    top: 8px;
    right: 6px;
    left: unset;
    width: 38px;
    height: 44px;
    line-height: 42px;
    text-align: center;
}
.message-box .message-voice .icon i {
	font-size: 22px;
    border-radius: 50%;
    width: 36px;
}
.message-box.my .message-voice .date {
    right: 5px;
}
.chats .item .text i.bx-music {
    margin-top: -3px;
    font-size: 16px;
}
.chats .item .text i.bx-video {
    margin-top: -3px;
    font-size: 17px;
	
}

.main .right .recording {
    width: calc(100% - 88px);
    height: 50px;
    padding: 11px 22px;
    position: absolute;
    z-index: 5;
    bottom: 0;
    left: 0;
    border-radius: 30px;
    margin: 0 15px 12px 15px;
	text-align: right;
}

.main .right .recording .red-dot
{
	background:url('../images/pulse.svg');
	background-size:30px;
	background-position:center;
	height: 30px;
    width: 30px;
	display:inline-block;
}
.main .right .recording i
{
	margin-top: -5px;
}
.chats .item .text i.bx-microphone {
    margin-top: -3px;
    font-size: 16px;
}
.main .right .recording .time
{
	line-height: 29px;
}

.message-box .message-location {
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 0px;
	display: block;
}
.message-box .message-location .content {
    margin: 0px;
    overflow: hidden;
    background-size: cover !important;
    position: relative;
    border-radius: 9px;
}
.message-box .message-location .content img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.message-box .message-location .action {
    opacity: 0;
    transition: opacity 0.4s ease;
    position: absolute;
    border-top-right-radius: 6px;
    top: 4px;
    right: 4px;
    width: 100px;
    height: 100px;
    text-align: right;
    color: #ffffff;
    z-index: 1;
    background-image: linear-gradient(215deg, #0000004a -21%, #00000000 35%);
}
.message-box .message-location .date {
	border-radius: 6px;
    font-size: 11px;
    line-height: 9px;
    position: absolute;
    height: 22px;
    padding-top: 7px;
    bottom: 9px;
    padding-right: 7px;
    right: 9px;
    z-index: 0;
    color: #2f2f2f;
    width: 43px;
    text-align: right;
    background: #ffffff99;	
}
.message-box.my .message-location .date {
    padding-right: 8px;
}
.message-box .message-location .date i.bx-time-five, .message-box .message-location .date i.bx-check, .message-box .message-location .date i.bx-check-double:not(.color4)
{
	color: #797979
}
.message-box .message-location .date i.bx-check-double.color4
{
	color: #00bae2;
}
.message-box.my .message-location .date {
    padding-right: 5px;
    width: 62px;
}

.message-box .message-location .date i {
    font-size: 18px;
    margin-left: 2px;
    margin-top: -4px;
    margin-bottom: -3px;
}
.chats .item .text i.bx-map {
    margin-top: -3px;
    font-size: 16px;
}
.message-box .message-location .point {
	position: absolute;
    top: 66px;
    left: 133px;
    z-index: 1;
}
.message-box.my .message-location .date i.bx-time-five {
    font-size: 13px;
    padding: 2px;
    margin-top: -4px;
    float: right;
}
.message-box .message-location .point:before
{
	content: '';
    position: absolute;
    top: 7px;
    left: 10px;
    background: white;
    border-radius: 50%;
    width: 14px;
    height: 15px;
    z-index: -1;
}
#slider .top > div i.bxs-download, #slider .top > div i.bx-rotate-right {
    padding: 11px;
}

.user-select, input, textarea
{
	-webkit-touch-callout: text;
    -webkit-user-select: text;  
    -moz-user-select: text;    
    -ms-user-select: text;   
    user-select: text;
}

.message-box .duration i.bxs-upvote
{
	font-size: 12px;
    margin-bottom: 3px;
	margin-right:0px;
	margin-left:0px;
}
.message-box .message-video .duration i.bxs-upvote
{
	font-size: 12px;
    margin-bottom: 3px;
	margin-left:0px;
}
.message-box .message-video .duration i.bxs-downvote
{
	font-size: 12px;
    margin-bottom: 3px;
	margin-left:0px;
}
.message-box .message-file .content .filetype i
{
	font-size: 12px;
	margin-right:3px;
	margin-top:2px;	
	margin-left:-2px;
}
.message-box .message-file .loading i.bx-x {
	font-size: 15px;
    cursor: pointer;
    margin-top: 3px;
}
.message-box .message-video .loading i.bx-x {
    font-size: 25px;
	cursor:pointer;
}
.message-box .message-image .loading i.bx-x {
    font-size: 25px;
	cursor:pointer;
}
.message-box .message-voice .icon i.bx-x {
	
	cursor:pointer;
}
.bg0
{
	background:#ffffffba;	
}
.darkmode .bg0
{
	background:#1417185e;	
}

.flex-control-thumbs.visible li {
    background: #fdfcfc;
}
.darkmode .flex-control-thumbs.visible li {
    background: #15181a;
}

.video-controls {
	
}

.video-controls .play {
	display: none;
    position: absolute;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    line-height: 59px;
    text-align: center;
    color: #ffffff;
    background-color: #2426267a;
    z-index: 1;
    cursor: pointer;
}

.video-controls .play i {
    font-size: 35px;
    padding-left: 4px;
}


.video-progress {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #1f84ff var(--value, 0%), rgb(255 255 255 / 58%) var(--value, 0%));
    outline: none;
    cursor: pointer;
    position: absolute;
    left: 0;
    bottom: calc(105px + var(--sa-bottom));
    display: none;
    z-index: 999;
}
.video-progress:before {
	position: absolute;
    content: '';
    left: 0;
    top: -40px;
    background: linear-gradient(transparent 70%, #1417185e 56%, #1417185e 100%);
    height: 61px;
    width: 100%;
    z-index: -1;
}


/* Ползунок для Chrome / Safari / WebKit / Android / iOS */
.video-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e6f1ff; 
    cursor: pointer;
    box-shadow: 0px 0px 5px 2px #00000036;
    
    /* 🟢 ФИКС ПОДЕРГИВАНИЯ: Переносим рендеринг шарика на видеокарту */
    will-change: transform;
    transform: translateZ(0);
}

/* Ползунок для Firefox */
.video-progress::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e6f1ff;
    cursor: pointer;
    border: none;
    box-shadow: 0px 0px 5px 2px #00000036;
    
    /* 🟢 ФИКС ПОДЕРГИВАНИЯ: Переносим рендеринг шарика на видеокарту */
    will-change: transform;
    transform: translateZ(0);
}

.main .right .footer {
    height: auto;
    min-height: 50px;
    padding: 10px 6px;
    display: flex;
    align-items: flex-end;
}

.main .right .footer .message {
    height: 28px;
    min-height: 28px;
    max-height: 158px;
    resize: none;
    overflow-y: auto;
    line-height: 23px;
    box-sizing: border-box;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
	padding-left:2px;
	padding-right:2px;
}

.message-box a {
    color: #0d6efd;
}
.message-box.my a {
    color: #91c2ff;
}
.darkmode .message-box a {
    color: #4d95ff;
}
.message-box a:hover {
    color: #3888ff;
}
.darkmode .message-box a:hover {
    color: #62a1ff;
}
.message-box.my a:hover {
    color: #b3d5ff;
}
.darkmode .message-box.my a:hover {
    color: #67abff;
}

.message-box .message-video .duration i.bx-cog {
    margin-bottom: 2px;
}
.img-blur
{
	filter: blur(14px);	
	width: 100%;
    height: 100%;
}
.main .right .header .actions > div i.bx-phone-off
{
	padding: 9px 9px 11px 11px;
}
#call-window
{
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
	background: #0000002e;
}
.darkmode #call-window
{
	background: transparent;
}
.call-box
{
	position: absolute;
    top: 50%;
    left: 50%;
    width: 50vw;
    height: 70vh;
    z-index: 5;
	min-width:360px;
	max-width:90vh;
	min-height:270px;
	transform: translate(-50%, -50%);
	transition:none !important;
}
.call-box .calltop
{
	margin-right:-6px;
}

.call-box .calltop .calllogo
{
	background-image: url(../images/icon_dark.webp);
    background-size: 19px;
    background-repeat: no-repeat;
    background-position: 4px 11px;
    padding-left: 31px;
}
.darkmode .call-box .calltop .calllogo
{
	background-image: url(../images/icon_light.webp);
}
.call-box .calltop .calltitle .caption
{
	margin-left:14px;
}
.call-box .calltop .callactions
{
	
}
.call-box .calltop .callactions i.bx-minus
{
	height: 18px;
}
.call-box .callbody
{
	clear: both;
}
.call-box .callbody .callcenter
{
	height: calc(70vh - 153px);
    min-height: 119px;
    padding-top: calc(25vh - 106px);
}

.call-box .callbody .callcenter .callavatar
{
	border-radius: 50%;
    position: relative;
    overflow: hidden;
    width: 20vh;
    height: 20vh;
	min-width: 69px;
    min-height: 69px;
    text-align: center;
    display: inline-block;
    background-image: url(../images/no_avatar.svg);
    background-size: 6vh;
    background-position: center;
    background-repeat: no-repeat;	
}

.call-box .callbody .callcenter .callname
{
	
}
.call-box .callbody .callcenter .callstatus
{
	
}
.call-box .callbottom
{
	
}
.call-box .callbottom > div
{
    border-radius: 50% !important;
    height: 44px;
    width: 44px;
    padding: 9px;	
}
.call-box .callbottom .callend i.bx-phone-off
{
	margin-top: -1px;
    margin-bottom: 0px;
}
.call-box .callbottom .callaccept i.bx-video
{
	margin-right: -4px;
	margin-bottom: -4px;
}
.call-box .callbottom .call_change_cam i.bx-refresh
{
	margin-right: -4px;
	margin-bottom: -4px;
}
.darkmode .call-box .callbottom .callend {
    background-color: #600f0f;
}
.darkmode .call-box .callbottom .callend:hover {
    background-color: #4e0d0d;
}

.call-box .callbody .callcenter .callavatar img {
    width: 103%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.call-box.maximized {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    transform: unset;
	border-radius: 0;
}
.call-box.maximized .callbody .callcenter {
    height: calc(100vh - 151px);
    min-height: 126px;
    padding-top: calc(50vh - 165px);
}

#call-window.minimized
{
	position: absolute;
    top: 76px;
    right: 12px;
    bottom: unset;
    left: unset;	
	cursor:pointer;
	background: none;
	z-index:9;
}
#call-window.minimized  .call-box
{
	height: 42px;
    min-height: 42px;
    transform: unset;
    top: 0;
    left: unset;
    position: relative;
    width: 339px;
    min-width: 339px;
}
html:not(.darkmode) #call-window.minimized  .call-box
{
	border: 1px solid #dddcda;	
	background: white;
}
#call-window.minimized  .call-box .callbody
{
	display: none;
}
#call-window.minimized  .call-box .callbottom
{
	display: none !important;
}
#call-window.minimized .call-box .calltop .calltitle .caption
{
	line-height: 43px !important;
}	
#call-window.minimized .call-box .calltop .calltitle .caption 
{
	margin-left: 10px;
}

#view
{
	width:100% !important;
	height:100% !important;
	top:0;
	left:0;
	position:fixed;
	z-index:99;
	margin:0 !important;
	padding:0px;
	border: none;
	overflow: hidden;
	background: black;
}

#view .top
{
	position: absolute;
    top: -55px;
    left: 0;
    width: 100vw;
	padding:11px 10px;
    height: 65px;
    z-index: 99;
	display:block;
	text-align:right;
	top:0;
}
#view .top:hover
{
	opacity:1;
}

#view .top > div
{
	position: relative;
	display:inline-block;
    text-align: center;
	float:right;
    cursor: pointer;
	width: 42px;
	margin-right: 3px;
}
#view .top > div.close-view
{
	margin-right: 8px !important;
}

#view .top > div.left
{
	float: left;
}
#view .top > div i
{
	padding: 9px;
}
#view .top > div.hidden-mobile i {
    padding: 7px;
	margin-right:6px;
}
#view .view-content
{
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    z-index: 2;
}
#view .view-content .zoom
{
	width: 100%;
    height: 100%;
    top: 0px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}
#view .view-content img
{
	cursor:default;
	max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
    display: inline-block;
}
#view .top > div i.bxs-download {
    padding: 11px;
}

.swal2-popup.swal2-hide {
    animation: none !important;
    background-color: transparent !important; /* или var(--bg3) */
}

.swal2-container.swal2-backdrop-hide {
    animation: none !important;
}

#slider .flex-direction-nav li,
#slider .flex-direction-nav a {
    width: 60px !important;
    height: calc(100vh - 130px) !important; /* 🟢 ФИКС: Оставляем 130px снизу для ползунка и миниатюр */
    position: absolute !important;
    top: 0 !important;
    z-index: 10 !important;
}
#slider .flex-direction-nav .flex-nav-prev,
#slider .flex-direction-nav .flex-prev {
    left: 0 !important;
    right: auto !important;
}
#slider .flex-direction-nav .flex-nav-next,
#slider .flex-direction-nav .flex-next {
    right: 0 !important;
    left: auto !important;
}

#slider .video-controls {
    pointer-events: none !important;
}
#slider .video-controls .play {
    pointer-events: auto !important;
    cursor: pointer !important;
}


/* 🟢 КОРРЕКТНЫЙ ВИЗУАЛЬНЫЙ ФИКС ГАЛЕРЕИ */
#slider ul.slides li {
    height: 100vh !important;
    overflow: hidden !important;
    position: relative;
}

/* Намертво убираем прыгающие CSS-анимации на время свайпа слайдов */
#slider div.zoom.noanimate {
    transition: none !important;
}

#slider div.zoom.noanimate img {
    transition: none !important;
}

#slider ul.slides li > div {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
}

/* Растягиваем само видео на всю ширину и высоту родительского контейнера слайда */
#slider ul.slides li video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* Убирает искажения пропорций, заполняя экран */
    display: block !important;
}

/* Дублируем правила для изображений, чтобы они вели себя синхронно с видео */
#slider ul.slides li div.zoom img {
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Визуальный эффект при перетаскивании файлов в чат */
.main .right .messages.drag-over-active {
    opacity: 0.7;
    transition: opacity 0.2s ease-in-out;
}
.main .right .messages.drag-over-active::after {
    content: "Отпустите файлы для отправки";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    pointer-events: none;
    z-index: 1000;
}

/* ==========================================================
	IN-APP БАННЕРЫ УВЕДОМЛЕНИЙ (VEGA NOTIFICATIONS)
========================================================== */
.vega-inapp-banner {
    position: fixed;
    top: -100px;
    width: 350px;
    left: calc(50% - 175px);
    background: var(--bg3, #ffffff);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    z-index: 9999999;
    transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

html.darkmode .vega-inapp-banner {
    background: #2a2a2a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.vega-inapp-banner.show {
    top: 20px;
}

/* Сдвиг для iOS из-за челки (Notch) / Dynamic Island */
body.ios .vega-inapp-banner.show {
    top: 50px; 
}

.banner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.banner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    flex-grow: 1;
    overflow: hidden;
}

.banner-title {
    font-weight: 400;
    font-size: 15px;
    color: var(--color1, #000000);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

html.darkmode .banner-title { color: #ffffff; }

.banner-text {
    font-size: 14px;
    color: var(--color2, #666666);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

html.darkmode .banner-text { color: #bbbbbb; }

.message-box.info
{
	margin-left: 50%;
    transform: translateX(-50%);
    position: relative;
    margin-top: 15px;
    margin-bottom: 5px;
	width: max-content;
}

.message-box.info .message-info .content
{
	min-height: 18px;
    max-height: unset;
    overflow: hidden;
    white-space: pre-wrap;
    cursor: text;
    word-break: break-word;	
    margin-right: 10px;
    padding-top: 1px;
    line-height: 18px;
    font-size: 12px;
    margin-bottom: 0px;	
	margin-left: 9px;
    margin-top: -1px;
	float: left;
	cursor:default;
}
/*
	.message-box.info:before
	{
	content: '';
    width: 3000px;
    border-top: 1px solid #dddcda;
    z-index: -1;
    top: calc(50% - 0px);
    position: absolute;
    left: -1500px;
	}
	.darkmode .message-box.info:before
	{
    border-top: 1px solid #1e2326;
    z-index: -1;
	}
*/

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.message-box.hasEmoji .message-text .action {
    width: 25px;
    height: 25px;
	border-radius: 50%;
}
.message-box.hasEmoji .message-text .action i {
    line-height: 13px;	
	padding-top: 4px;
	margin-right: 1px;
}

.message-box .dropdown.to-right {
	left:0; 
}
.message-box .dropdown.to-top {
	bottom:0; 
	top:unset;
}

.message-box:not(.info):before
{
	position:absolute;
	top:0;
	left:-4000px;
	width:8000px;
	content:'';
	height:100%;
	z-index:0;
	
}
.message-box.selected:not(.info):before
{
	background:#0061cf36;
}

.darkmode .message-box.selected:not(.info):before
{
	background:#152a42a3;
}
.main .right .header .message-actions, .main-actions {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 62px;
    z-index: 1;
    padding: 11px 15px;
    text-align: right;
}
.main .right .header .message-actions > div, .main-actions  > div {
    display: inline-block;
    float: right;
}
.main .right .header .message-actions > div i, .main-actions > div i {
    border-radius: 50%;
    padding: 11px;
    font-size: 20px;
    cursor: pointer;
}

.main .right .header .message-actions i.bx-x, .main-actions i.bx-x {
    padding: 7px;
	margin-right:-5px;
}
.main .right .header .message-actions i.bx-redo, .main-actions  i.bx-redo {
    padding: 9px 8px 7px 8px;
    font-size: 26px !important;
}
.main .right .header .message-actions i.bx-reply, .main-actions  i.bx-reply {
    padding: 9px 8px 7px 8px;
    font-size: 26px !important;
}

.message-box .dropdown li span i.bx-redo
{
	margin-right: 5px;
    margin-left: -3px;
}
.message-box .message-file .action i {
	margin-top: 0px;
    margin-right: 0px;
    font-size: 21px;    
}
.message-box .message-location .action i {
	margin-top: 0px;
    margin-right: 4px;
    font-size: 21px;  
}
.message-box .dropdown li span i.bx-reply
{
	margin-right: 5px;
    margin-left: -3px;
}

.message-box .message-image .content {
    border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.message-box .message-video .content {
    border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.message-box  a.message-location {
	text-decoration: none !important;
    font-style: normal;
}

.message-box .message-voice .name:not(.hidden) ~ .play {
	top: 27px;
}
.message-box .message-voice .name:not(.hidden) 
{
	padding-bottom: 1px !important
}
.message-box .message-voice .name:not(.hidden) ~ .icon {
    top: 24px;
}

.message-box .message-video  .name:not(.hidden) ~ .action
{
	top: 3px;
    background: none;
}
.message-box .message-image  .name:not(.hidden) ~ .action
{
	top: 3px;
    background: none;
}
.message-box .message-location  .name:not(.hidden) ~ .action
{
	top: 3px;
    background: none;
}
.message-box .message-text  .name:not(.hidden) ~ .action
{
	
}
.message-box .message-file  .name:not(.hidden) ~ .action
{
	top: -1px;
    background: none;
}
.text-italic
{
	font-style:italic;
}
.message-box.hasEmoji .message-text .name:not(.hidden) {
    padding: 8px 10px 5px 10px;
    border-radius: 11px;
	width: fit-content;
}
.message-box.hasEmoji:not(.forwarded-text) .message-text .name:not(.hidden) ~ .content {
    margin-top: -5px;
}
.message-box.hasEmoji.forwarded-text .message-text .name:not(.hidden) ~ .content {
    margin-top: 1px;
}

.message-box.deleted .message-text .content
{
	cursor: default;
	user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.message-box.my.deleted .message-text .content {
    margin-right: 39px;
}

.message-box.my.deleted .message-text .date {
    bottom: 0px;
    right: 6px;	
}

.message-box .message-text
{
	position:relative;
	display:inline-block;
}
.message-box:not(.hasEmoji) .message-text .action
{
	background: transparent !important;
}


.message-box.edited .message-text .edited
{
    font-size: 12px;
    padding: 0px 7px;
	
    padding-left: 2px;
    display: inline-block;
}

.message-box.edited:not(.hasEmoji):not(.short) .message-text .content {
	margin-right: 103px;
}
.message-box.my.edited:not(.hasEmoji):not(.short) .message-text .content {
	margin-right: 119px;
}
.message-box.short.edited .message-text .edited {
	display:none;
}
.message-box.short:not(.my) .message-text .show-more:before {
	position: absolute;
    top: 0;
    right: -32px;
    width: 43px;
    height: 20px;
    background: #ffffff;
    content: '';
    z-index: -1;
}
.darkmode .message-box.short:not(.my) .message-text .show-more:before {
    background: #1e2326;
}
.message-box.my.short .message-text .show-more:before {
	position: absolute;
    top: 0;
    right: -47px;
    width: 60px;
    height: 20px;
    background: #0061cf;
    content: '';
    z-index: -1;
}
.darkmode .message-box.my.short .message-text .show-more:before {
    background: #152a42;
}
.message-box.hasEmoji.edited .message-text .date
{
	min-width: 115px;
}
.message-box.hasEmoji.my.edited .message-text .date
{
	min-width: 131px;
}
.ps__rail-y {
    z-index: 1;
}
.message-box.deleted:not(.my) .message-text .content {
    margin-right: 39px;
}
.message-box.deleted .message-text .content i.bx-block{
    margin-right: 5px !important;
	margin-bottom: 2px !important;
}
.capitalize:first-letter
{	
	text-transform: capitalize;
}
.chats.show-calls-history .item .text i {
	margin-bottom: 2px;
}


.message-box .message-call
{
    border-radius: 10px;
	position: relative;
	height: 60px;
}

.message-box .message-call .content {
    float: left;
    font-size: 15px;
    line-height: 18px;
    padding: 13px 12px;
    height: 60px;
    margin-bottom: 0px;
    border-radius: 9px;
    min-width: 215px;
}

.message-box .message-call .action {
    opacity: 0;
    position: absolute;
    top: 0px;
    right: 3px;
    border-radius: 6px;
    width: 32px;
    text-align: right;
    z-index: 1;
    transition: opacity 0.4s ease;
	cursor:pointer;
}

.message-call .triangle {
    left: 3px;
    top: -4px;
}

.message-box.my .message-call .action {
    width: 32px;
}

.message-box .message-call .date {
    font-size: 11px;
    line-height: 5px;
    position: absolute;
    bottom: 7px;
    right: 6px;
    z-index: 0;
	cursor:pointer;
}
.message-box.my .message-call .date {
    bottom: 7px;
    right: 6px;
}
.message-box.my .message-call .date i {
    margin-left: 1px;
    margin-top: -2px;
    font-size: 18px;
}

.message-box .message-call .content i
{
    font-size: 32px;
    float: left;
    margin-right: 13px;
    margin-top: 2px;
}

.message-box .message-call .content .calltitle
{
    width: auto;
    overflow: hidden;
    display: block;
    padding-right: 15px;
    white-space: nowrap;
    text-overflow: ellipsis;	
}

.message-box .message-call .content .calltext
{
	font-size: 12px;
	display: inline-block;
	margin-right:6px;
}
.message-box .message-call .content .calltext:first-letter
{
	text-transform:capitalize;
}


.message-box.my .message-call .triangle {
    z-index: -1;
}

.message-box.my .message-call .date i.bx-time-five
{
	font-size: 13px;
    padding: 2px;	
}

.message-box .message-call .action i {
    margin-top: 0px;
    margin-right: 0px;
    font-size: 21px;
}
.message-box.my .message-file .triangle {
    right: -6px;
    top: -4px;
}
.message-box.my .message-call .triangle {
    right: -6px;
    top: -4px;
}
.chats .item .text i.bxs-phone, .chats .item .text i.bxs-phone-outgoing {
    margin-bottom: 2px;
}
.chats .item .text i.bx-block,  .chats .item .text i.bxs-phone-incoming
{
    margin-bottom: 3px;
}
.main .right .calls .history .actions i.bx-x {
    padding: 7px;
}
.main .right.full-width
{
    padding: 18px 22px 0 22px;	
	border-left: 1px solid #dddcda;
}
.darkmode .main .right.full-width
{
	border-left: 1px solid #25282d;	
}
.main .right.full-width:before {
	display:none;
}
.main .right .media
{
    max-height: calc(100vh - 61px);
    max-width: 100%;
    position: absolute;
    margin-top: 10px;
    margin-right: 10px;
    margin-left: 6px;
    overflow: hidden;
    height: calc(100vh - 61px);
    width: calc(100% - 39px);
    display: inline-block;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: none;
}
.main .right.media {
    padding: 0;
    margin-top: 0px;
    margin-right: 0px;
    margin-left: 0px;
    max-height: 100%;
    height: 100%;
    width: 100%;
    max-width: 100%;
    border-left: 1px solid #dddcda;
	z-index:0;
}
.darkmode .main .right.media 
{
	border-left: 1px solid #25282d;
}
.main .right .media
{
    padding: 0;
    margin-top: 0px;
    margin-right: 0px;
    margin-left: 0px;
    max-height: 100%;
    height: 100%;
    width: 100%;
    max-width: 100%;
}
.main .right .media .item
{    
	width: calc(10vw - 8px);
    height: calc(10vw - 8px);
    cursor: pointer;
    overflow: hidden;
    float: left;
    border-radius: 0;
    margin-top: 0.5px;
    margin-right: 0.5px;
    margin-bottom: 0.5px;
    margin-left: 0.5px;
    position: relative;
}
.main .right .media .item .image
{    
	width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.main .right .media .item .play {
	position: absolute;
    left: 5px;
    bottom: 5px;
    width: auto;
    height: 18px;
    border-radius: 7px;
    text-align: center;
    color: #ffffff;
    background-color: #24262654;
    z-index: 1;
    font-size: 10px;
    line-height: unset;
    padding-left: 1px;
    padding-right: 6px;
}

.main .right .media .item .play i {
    font-size: 16px;
    padding-left: 0.5px;
    padding-top: 1.4px;
    float: left;
	margin-right: -1px;
}
.main .right .media .item .play.no-time
{
	width: 18px;
    border-radius: 50%;
}
.main .right .media .item .play span 
{
    margin-top: 1.8px;
    display: inline-block;
    float: left;
}
.add-member-to-group
{
	position: absolute;
    right: 8px;
    top: 7px;	
}
.main .right.group .body {
    padding: 12px 12px 12px 62px;
}
.main .right.group .body .message-box.hasEmoji .avatar {
    left: -40px;
	top: -2px;
}
.main .right.group .message-box.hasEmoji:not(.my) .message-text .content {
    margin-top: -8px;
}
.main .right.group .message-box.hasEmoji {
    margin-bottom: 0px;
}
.main .right.group .message-box:not(.my):not(.date-divider):not(.hasEmoji) .message-text .content {
    margin-bottom: 3px;
}
.main .right.group .message-box.hasEmoji:not(.my) .message-text .content {
    margin-top: 2px;
}
.main .right.group .message-box:not(.my):not(.short) .message-text .date {
    bottom: 7px;
}
.main .right.group .body .message-box:not(.my) .message-image .avatar {
    top: -2px;
    left: -39px;
}
.main .right.group .body .message-box:not(.my) .message-video .avatar {
    top: -2px;
    left: -39px;
}
.main .right.group .body .message-box:not(.my) .message-voice .avatar {
    top: -2px;
    left: -39px;
}
.main .right.group .body .message-box:not(.my) .message-audio .avatar {
    top: -2px;
    left: -39px;
}
.main .right.group .body .message-box:not(.my) .message-location .avatar {
    top: -2px;
    left: -39px;
}
.main .right.group .body .message-box:not(.my) .message-file .avatar {
    top: -5px;
    left: -43px;
}
.main .right.group .message-box.hasEmoji:not(.my) .message-text .content {
    margin-bottom: 26px;
}
.main .right .body .message-box .avatar.border1 {
    background-size: 12px;
}
.main .right .body .message-box:not(.my).forwarded-file .message-file .date {
    bottom: -15px;
}
.main .right.group .body .message-box:not(.my) .message-file .date {
    bottom: -15px;
}
.main .right.group .message-box.deleted:not(.my) .message-text .content {
    margin-top: 2px;
}
.main .about .body .table tr td {
    max-width: 256px;
}
.main .about .body .table tr td .member-avatar {
	border-radius: 50%;
    position: relative;
    overflow: hidden;
    width: 25px;
    height: 25px;
    text-align: center;
    display: inline-block;
    background-image: url(../images/no_avatar.svg);
    background-size: 9px;
    background-position: center;
    background-repeat: no-repeat;
    float: left;
    margin-top: 0px;
}
.main .about .body .table tr td .member-name
{
	margin-top: 2px;
}
.main .about .body .table tr td .member-status span
{
	padding-top: 2px;
    display: inline-block
}
.main .about .body .table tr td .member-avatar img
{
	width: auto;
    height: 103%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;	
}
.main .right .calls .options {
    position: relative;
    display: inline-block;
    text-align: center;
    float: right;
    cursor: pointer;
    margin-top: 0px;
    border-radius: 50%;
	overflow:hidden;
	margin-right: -5px;
	margin-top: -1px;
}
.main .right .calls .options.hidden-desktop {
    float: right;
    margin-left: -7px;
    margin-top: -2px;
}
.main .right .calls .options i {
    padding: 10px;
	font-size: 22px;
}
.main .right .calls .head .dropdown {
    top: 45px;
    right: 1px;
}
.swal2-modal.swal2-popup .swal2-title {
    font-size: 19px;
}
.main .right .calls .history .actions .dropdown {
    top: 68px;
    right: 13px;
}
.main .right.group .body .message-box.info {
    margin-left: calc(50% - 19px);
}
.member-name
{
	max-width: 137px;
    display: inline-block;
    padding: 1px 5px 1px 1px !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
	float: left;
}
.member-status
{
	padding: 1px !important;
	font-size: 13px;
}
.chats .item .action i.new-message-alert
{
	margin-right:6px  !important;
}

.main .right:not(.group) .message-box.forwarded-text
{
	padding-bottom:10px;
}
.main .right.group .message-box.my.forwarded-text
{
	padding-bottom:10px;
}
.main .right.group .message-box:not(.my).forwarded-image .name span.float-right
{
	margin-top:-2px;
}
.main .right.group .message-box:not(.my).forwarded-video .name span.float-right
{
	margin-top:-2px;
}
.main .right.group .message-box:not(.my).forwarded-location .name span.float-right
{
	margin-top:-2px;
}
.main .right.group .message-box:not(.my).forwarded-file .name span.float-right
{
	margin-top:-2px;
}
.main .right.group .message-box:not(.my).forwarded-voice .name span.float-right
{
	margin-top:-2px;
}
.main .right.group .message-box:not(.my).forwarded-audio .name span.float-right
{
	margin-top:-2px;
}
.main .right .body .message-box.my.forwarded-file .message-file .date {
    bottom: -20px;
}
.main .right.group .message-box:not(.my).forwarded-text .name span.float-right {
    margin-top: -2px;
}
.main .about .body .copy-text, .main .about .body .add-to-group, .main .about .body .conf-join-about, .main .about .body .conf-leave-about
{
	padding-bottom: 10px !important;
    padding-top: 12px !important;
}
.main .about .body .table tr td {
    padding-bottom:11px !important;
	font-weight: 400;
}
.main .right.group .message-box.hasEmoji:not(.my) .message-text .name:not(.hidden) {
    padding-bottom: 6px;
}
.main .right .header .actions .dropdown.video-dropdown {
    right: 55px;
}
video::-webkit-media-controls-overlay-play-button {
    display: none !important;
}
video::-webkit-media-controls-start-playback-button {
    display: none !important;
}
.main .right.group .message-box.short.full:not(.my) .message-text .date {
    bottom: 6px;
}
.main .right.group .message-box.short:not(.my) .message-text .date {
    bottom: 1px;
}
.message-box.short.my .message-text .date {
    bottom: -6px;
}
.main .right:not(.group) .message-box.forwarded-audio:not(.my) .message-voice .name:not(.hidden) ~ .play {
    top: 26px;
}
/* Индикатор громкости */
.vega-volume-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 36px;
    font-weight: 400;
    padding: 20px 40px;
    border-radius: 28px;
    pointer-events: none;
    z-index: 999999;
    display: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.darkmode .vega-volume-indicator {
    background: rgba(255, 255, 255, 0.01);
    color: #ffffff;
}
.x-invert
{
	transform: scaleX(-1);
}
.message-box .dropdown li span.reply-message i.bx-redo {
    margin-top: -2px;
}
.message-box .dropdown li span.forward-message i.bx-redo {
    margin-top: -2px;
}
.message-box .message-text .quoted .preview
{
    position: relative;
    min-width: 90px;
    min-height: 90px;
    background-size: cover !important;
    margin: 0px;
    border-radius: 10px;
    overflow: hidden;
}
.message-box .message-text .quoted {
	border-radius: 8px;
    padding: 6px 13px 5px 11px;
    font-size: 13px;
    margin-bottom: -2px;
    white-space: pre-wrap;
	position: relative;
	overflow: hidden;
}
.message-box .message-text .quoted:not(.p-0):after {
	position: absolute;
    content: '';
    left: 0px;
    top: 0;
    height: 100%;
    width: 2.5px;
    background: #636261;
    z-index: 0;	
}
body:not(.darkmode) .message-box.my .message-text .quoted:not(.p-0):after {
	background: #9f9f9f;
}
.darkmode .message-box .message-text .quoted:not(.p-0):after {
    background: #a4a5a5;
}
.message-box .message-text .quoted:not(.hidden) + .content {
	padding-bottom: 0px;
    padding-top: 9px;
}
.message-box .message-text .quoted:not(.hidden) ~  .date {
    bottom: 7px;
}
.message-box.my .message-text .quoted:not(.hidden) ~  .date {
    bottom: 0px;
}
.message-box .message-text .quoted img {
	max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
}
.message-box.my.short:not(.full) .message-text .quoted:not(.hidden) ~ .date {
    bottom: -6px;
}
.message-box.short .message-text .quoted:not(.hidden) + .content {
	margin-bottom: 6px;
}
.main .right.group .message-box:not(.my) .message-text .quoted {
    margin-top: 10px;
}
.chats .item .avatar i.bx-user-plus {
    margin-left:1px;
}
.chats .item .avatar i.bx-list-plus {
    margin-left:1px;
}
.message-box .message-text .quoted .play i {
    font-size: 34px;
    padding-left: 5px;
}
.message-box .message-text .quoted .play {
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
    color: #ffffff;
    background-color: #2426267a;
    z-index: 1;
}
.darkmode .message-text .quoted .play {
    background-color: #24262699;
}
.message-box .message-text .quoted .from {
    font-size: 13px;
    line-height: 100%;
	margin-top: 2px;
}
.message-box .message-text .name .bx-redo.x-invert
{
    margin-left: -2px;
	margin-bottom: 2px;
}
.chats .item .text .text-italic {
	margin-left: -3px;
}
.chats .item .text i.bxs-phone-incoming, .chats .item .text i.bxs-phone-outgoing, .chats .item .text i.bx-music, .chats .item .text i.bx-image-alt, .chats .item .text i.bx-file
{
    margin-right: 2px;	
}
.chats .item .text i.bx-microphone, .chats .item .text i.bx-map 
{
    margin-right: 1px;	
}
html:not(.darkmode) .message-box .message-call .content i.color0
{
	color: #26b618;
}
html:not(.darkmode) .message-box.my .message-text .quoted .text
{
	color: #ababab;
}
.message-box.my .message-text .quoted:not(.hidden) + .content {
    padding-bottom: 8px;
}
.message-box .message-text .name i.bx-redo
{
	margin-top: -1px;
}
.message-box.forwarded-text .message-text .triangle {
    right: -6px;
    top: -5px;
}
.main .right .message-box.forwarded-text:not(.my):not(.date-divider):not(.hasEmoji) .message-text ~ .content {
    margin-top: 3px;
}

.main .right:not(.group) .message-box:not(.date-divider):not(.hasEmoji) .message-text .quoted:not(.hidden) ~ .content {
    padding-top: 10px;
    padding-bottom: 10px;
}

#create-contact .search input
{
	padding: 10px 10px 9px 44px;
}
#profile-settings .search input
{
	padding: 9px 10px 8px 44px;
}
#profile-settings .search input[type="submit"]
{
	padding: 10px 10px 9px 44px;
}
#current-call
{
    position: fixed;
    top: 12px;
    right: 58px;
    z-index: 99999;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}
#current-call i
{
    font-size: 22px;
    padding: 11.5px 9.5px 9px 9.5px;
}
.main .about .body .table tr td.text-right {
    padding-top: 12px !important;
	padding-bottom: 10px !important;
}
#slider .top > div i.bx-fullscreen
{
    padding: 12px 11.5px 11px 11.5px;
}
#slider .top > div i.bx-exit-fullscreen
{
    padding: 10px 9.5px 9px 9.5px;
}
.chats.new-chat-list .item .name {
    max-width: calc(100% - 85px);	
	width: calc(100% - 85px);
}
.chats.new-chat-list .item.not-registered
{
	opacity:0.5;
}
.color20
{
	color:#dfdfdf;
}
.darkmode .color20
{
	color:#a4a5a5;
}
.color21
{
	color:#8fbedd;
}
.darkmode .color21
{
	color:#34697d;
}

.color22
{
	color:#00a8ff;
}
.darkmode .color22
{
	color:#06a8c2;
}

.main .right .message-box.forwarded-file:not(.my) .message-file .loading {
   top: 30px;
   right: 7px;
}
.main .right.group .message-box:not(.my) .message-file .loading {
   top: 30px;
   right: 7px;
}
.main .right.group .message-box .message-file .loading i {
    margin-left: 0;
    margin-top: 6.5px;
}
#login .download a i.bxl-play-store
{
	margin-left: 7px !important;
}
.border0
{
	border: none;
}
#eruda .eruda-entry-btn
{
	display: none !important;
}
.main .right.group .message-box:not(.my) .message-video .play {
    top: calc(50% - 15px);
}
.message-box.my.forwarded-video .message-video .play {
    top: calc(50% - 15px);
}
.main .right.group .message-box:not(.my) .message-video .loading
{
	top: calc(50% - 13px);
}
.message-box.my.forwarded-video .message-video .loading
{
	top: calc(50% - 13px);
}
.left-menu ul li i.bx-phone-call {
    padding: 10.5px 10.5px 9.5px 9.5px;
}
.left-menu ul li i.bx-message-alt-detail {
    padding: 12px 10px 8px 10px;
}
.bottom-menu ul li i.bx-phone-call {
    padding: 9px 9px 7px 8px;
}
.bottom-menu ul li i.bx-message-alt-detail {
    padding: 9px 8px 7px 8px;
}
.main .right .header .actions > div i.bx-phone
{
	padding: 12px 11.5px 10px 10.5px;
    font-size: 20px;
}
.main .right .header .actions > div.leave i
{
	padding: 11px 9.5px 9px 10.5px
}
.main .right .header .actions > div.join span
{
	margin-top: 3px !important;
}
.submenu > i.bx-plus
{
	font-size: 20px;
    padding: 11px;	
}
.messages-list.selection-mode .message-box 
{
	cursor: pointer !important; 
}

.date-floater
{
	margin: 10px 10px 0px 0;
    position: absolute;
    top: 83px;
    left: 6px;
    margin-left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    white-space: pre-wrap;
    line-height: 18px;
    font-size: 12px;
    cursor: default;
    display: inline-block;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0px 1px 1px 0px #0000001a;
    float: left;
    clear: both;
    max-width: 70%;
    z-index: 1;
}
.date-floater span
{	
	margin-right: 10px;
    padding-top: 1px;
    line-height: 18px;
    margin-bottom: 0px;
    margin-left: 9px;
    margin-top: -1px;
    display: inline-block;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.date-floater.hidden {
    display: block !important; 
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.message-box .message-location .loading
{
	background: url(../images/spinner2.svg);
    width: 46px;
    height: 46px;
    position: absolute;
    left: calc(50% - 23px);
    top: calc(50% - 23px);
    background-size: 46px;
	text-align: center;
}
.main .right.group .message-box:not(.my) .message-location .loading {
   top: calc(50% - 13px);
}
.main .right .message-box.forwarded-location .message-location .loading {
   top: calc(50% - 13px);
}
html:not(.darkmode) #login-back:hover
{
	background-color: #dfdfdf;
}
html:not(.darkmode) .mobile-bg2 .bg2.login 
{
	background-color:#ffffff !important;
}
html:not(.darkmode) #login .download a.hover-color2:hover
{
	background-color: #f5f5f5  !important;
}
.mb-05 {
    margin-bottom: .125rem !important;
}
.mb-07 {
    margin-bottom: .175rem !important;
}
.message-box .message-image .status {
    font-size: 11px;
    line-height: 62px;
    position: absolute;
    height: 50px;
    padding-top: 10px;
    bottom: 6px;
    padding-right: 10px;
    left: 13px;
    z-index: 1;
    text-align: left;
    color: #ffffff;
}
.message-box .message-image .status i {
    font-size: 14px;
    margin-right: 4px;
    margin-bottom: 0px;
}
.login button {
    background-color: #3167a1
}
.darkmode .login button {
    background-color: #1a385b
}
.chats .item.selected
{
	position:relative;
}
.chats .item.selected:before {
	position: absolute;
    top: 0;
    left: -4000px;
    width: 8000px;
    content: '';
    height: 100%;
    z-index: 0;
    background: #0061cf36;
}
.darkmode .chats .item.selected:before {
    background: #152a42a3;
}
.phone-field, .select-field
{
	position: relative;
}
.phone-field .select
{
	position: absolute;
    left: calc(50% - 130px);
    width: 107px;
    top: 48px;
    font-size: 20px;
    text-align: right;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    border: none;
    outline: none;
    z-index: 2;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow: hidden;
    overflow-y: auto;
    height: 272px;
    display: none;
    padding-right: 10px;
    padding-left: 7px;
}
.phone-field .select.open, .select-field .select.open
{
	display: block;
}
.phone-field .select-trigger, .select-field .select-trigger
{
	position: absolute;
    top: 14.4px;
    right: calc(50% + 33px);
    width: auto;
    height: 34px;
    z-index: 3;
    cursor: pointer;
    font-size: 20px;
    text-align: right;
    padding: 3px 8px 1px 3px;
    transition: background-color 0.4s ease;
    border-radius: 8px;
}
.phone-field .select-trigger .flag, .select-field .select-trigger .flag
{
	width: 20px;
    height: 20px;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    float: right;
    margin-top: 5px;
    margin-right: 7.5px;
    margin-left: 6px;
	opacity: 1;
}
.phone-field .select-trigger .code, .select-field .select-trigger .value
{
	float: right;
	padding-top: 5px;
    line-height: 100%;
}
.phone-field .select-trigger.open
{
	border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background-color: #d7e6f5;
    width: 107px;
    right: calc(50% + 23px);
    padding-right: 18px;
    padding-left: 10px;
}
.darkmode .phone-field .select-trigger.open
{
	background-color: #0f0f0f;
}
.phone-field .select > div:not(.ps__rail-y)
{	
	padding: 3px 18px 1px 4px;
    margin-left: -7px;
    margin-right: -10px;
    transition: background-color 0.4s ease;
    height: 34px;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 16px 6.5px;
}
.phone-field .select.open, .phone-field .select.open > div:not(.ps__rail-y)
{	
	background-color:#d7e6f5;
}
.darkmode .phone-field .select.open, .darkmode .phone-field .select.open > div:not(.ps__rail-y)
{
	background-color:#0f0f0f;
}
.phone-field .select-trigger:hover {
    background-color: #9bc8f5;
	transition:background 0.4s ease;
}
.select-field .select-trigger:hover {
    background-color: #d4ccc354;
	transition:background 0.4s ease;
}
.phone-field .select-trigger:hover  .flag, .select-field  .select-trigger:hover  .flag {
	opacity: 1;
}
.phone-field .select > div:not(.ps__rail-y):hover
{
    background-color: #9bc8f5;
	transition:background 0.4s ease;
}
.select-field .select > div:not(.ps__rail-y):hover {
    background-color:#bcdcff;
	transition:background 0.4s ease;
}
.darkmode .phone-field .select > div:not(.ps__rail-y):hover,  .darkmode .phone-field .select-trigger:hover
{
    background-color: #404446;
	transition:background 0.4s ease;
}
.darkmode .select-field .select-trigger
{
    background-color: #22262975;
	transition:background 0.4s ease;
}
.darkmode  .select-field .select > div:not(.ps__rail-y):hover
{
    background-color: #152a42;
	transition:background 0.4s ease;
}
.phone-field .select-trigger.open .flag
{
	float: left;
    margin-left: 6px;	
    margin-right: 6.5px;
	opacity: 1;
}
.phone-field .select .ps__thumb-y, .select-field .select .ps__thumb-y
{
	right: 4px;
	background: #b1cdea;
}
.darkmode .phone-field .select .ps__thumb-y, .darkmode .select-field .select .ps__thumb-y
{
	background: #585858;
	transition:background 0.4s ease;
}
.phone-field .select-before, .select-field .select-before
{
	position: absolute;
    left: calc(50% - 140px);
    width: 143px;
    height: 338px;
    top: 2px;
    display: none;
}
.phone-field .select-before.open, .select-field .select-before.open
{	
	display: block;
}
.phone-field .select > div.selected:not(.ps__rail-y) {
    background-color: #9bc8f5;
}
.select-field  .select > div.selected:not(.ps__rail-y) {
    background-color: #bcdcff;
}
.darkmode .phone-field .select > div.selected:not(.ps__rail-y), .darkmode  .select-field  .select > div.selected:not(.ps__rail-y) {
    background-color:#152a42;
}
#create-contact #new-contact-phone {
    padding: 10px 10px 9px 63px !important;
}
#create-contact .phone-field .select-trigger {
    top: 18.4px;
}

.main .about .body
{
    padding: 0 20px 0 20px;
    text-align: center;
    overflow-x: hidden;
    overflow-y: auto;             
    position: absolute;
    height: calc(100% - 62px  - var(--sa-top) - var(--sa-bottom)); 
    top: 62px;
    left: 0;
    width: 100%;
    overscroll-behavior: none;
}

.main .about .body .table {
    overflow: visible !important;
    border-collapse: separate;
    border-spacing: 0;
}

.main .about .body .table tr:first-child td:first-child {
    border-top-left-radius: 15px;
}
.main .about .body .table tr:first-child td:last-child {
    border-top-right-radius: 15px;
}

.main .about .body .table tr:last-child td:first-child {
    border-bottom-left-radius: 15px;
}
.main .about .body .table tr:last-child td:last-child {
    border-bottom-right-radius: 15px;
}
button .sending
{
    display: block;
    background-image: url(../images/spinner.svg);
    background-repeat: no-repeat;
    background-size: 28px;
    background-position: center center;
    height: 28px;
    width: 28px;
    margin-left: calc(50% - 14px);
}
.select-field
{
    width: 100%;
	z-index: 2;
}
.select-field.opened
{
	z-index: unset;
}
.select-field .select-trigger
{
	right: unset;
	top: unset;
    position: relative;
    margin: 5px 0px 5px 0px;	
	height: 46px;
	border-radius: 25px;
	background-color: #ddd9d48c;
    transition: background 0.4s ease;	
}
.select-field .select-trigger .value {
    float: left;
    margin-left: 17px;
    width: calc(100% - 39px);
    text-align: left;
    padding-top: 12.5px;
    padding-bottom: 12px;
    font-size: 16px;
}
.select-field .select-title {
	margin-left: 20px;
    font-size: 16px;	
	margin-top:10px;
}
.select-field .select-dropdown
{
	position: absolute;
    top: 11px;
    right: 10px;
    width: 24px;
    height: 24px;
    z-index: 3;
}
.select-field .select-title + .select-dropdown
{
    top: 40px;
}
.select-field .select
{
	position: absolute;
    left: 17px;
    width: calc(100% - 33px);
    top: 74px;
    font-size: 16px;
    text-align: left;
    outline: none;
    cursor: pointer;
    border: none;
    outline: none;
    z-index: 4;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    overflow-y: auto;
    height: auto;
    display: none;
    padding-right: 0;
    padding-left: 0;
    padding-top: 0;
}
.select-field .select > div:not(.ps__rail-y)
{	
	padding: 12px 32px 10px 20px;
}
.darkmode .select-field .select-trigger:hover {
    background-color: #222629b8;
    transition: background 0.4s ease;
}
.main .right .calls .history .list-body table
{
	border-collapse: separate;
    border-spacing: 0;	
}
.main .right .calls .history .list-body table tr:first-child th:first-child
{
	border-top-left-radius:15px;
}
.main .right .calls .history .list-body table tr:first-child th:last-child
{
	border-top-right-radius:15px;
}
.main .right .calls .history .list-body table tr:last-child td:first-child
{
	border-bottom-left-radius:15px;
}
.main .right .calls .history .list-body table tr:last-child td:last-child
{
	border-bottom-right-radius:15px;
}
.main .right .calls .history {
    height: calc(100vh - 18px - var(--sa-top) - var(--sa-bottom));
    min-height: 200px;
    overflow: hidden;
    overflow-y: auto;
}

.form-submit
{
	border-radius: 30px;
    outline: none;
    border: none;
    font-size: 14px;
    width: 100%;
    margin: 14px 0 5px 0;
    font-weight: 400;
    line-height: 25px;
	padding: 10px 10px 9px 44px;
	cursor: pointer;
}
.form-submit.half
{
	width:calc(50% - 5px);	
    float: left;
}
.form-submit.half:first-child
{
	margin-right:10px;
}

.text-decoration-none {
	text-decoration: none;
}

.message-box .message-location-simple {
	text-decoration: none;
}
.message-box .message-location-simple .content {
    float: left;
    font-size: 15px;
    line-height: 18px;
    padding: 13px 12px;
    height: 60px;
    margin-bottom: 0px;
    border-radius: 9px;
    width: 300px;
}

.message-box .message-location-simple
{
    border-radius: 10px;
	position: relative;
	height: 60px;
	display: block;
}
.message-location-simple .triangle {
    left: 3px;
    top: -4px;
}

.message-box .message-location-simple .action {
    opacity: 0;
    position: absolute;
    top: 0px;
    right: 3px;
    border-radius: 6px;
    width: 32px;
    text-align: right;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.message-box.my .message-location-simple .action {
    width: 51px;
}

.message-box .message-location-simple .date {
    font-size: 11px;
    line-height: 5px;
    position: absolute;
    bottom: 8px;
    right: 7px;
    z-index: 0;
	cursor:pointer;
}
.message-box.my .message-location-simple .date {
    bottom: 2px;
    right: 4px;
}
.message-box.my .message-location-simple .date i {
    margin-left: 1px;
    margin-top: -2px;
    font-size: 18px;
}

.message-box .message-location-simple .content i
{
    font-size: 35px;
    float: left;
	margin-right: 12px;
}

.message-box .message-location-simple .content .locname
{
	width: calc(100% - 76px);
    overflow: hidden;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;	
}

.message-box .message-location-simple .content .data
{
	font-size: 12px;
    display: inline-block;
    width: calc(100% - 105px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -5px;
}
.message-box.my .message-location-simple .triangle {
    z-index: -1;
}
.message-box.my .message-location-simple .triangle {
    right: -6px;
    top: -4px;
}
.message-box.my .message-location-simple .date i.bx-time-five
{
	font-size: 13px;
    padding: 2px;	
}
.message-box.forwarded-location .message-location-simple {

    height: 82px;
}

html.pt .bottom-menu ul li i span, html.el .bottom-menu ul li i span, html.tr .bottom-menu ul li i span {
    font-size: 14px;
}
html.pt .bottom-menu ul li:first-child, html.el .bottom-menu ul li:first-child, html.tr .bottom-menu ul li:first-child {
    text-align: left;
    padding-left: 28px;
}
html.pt .bottom-menu ul li:last-child, html.el .bottom-menu ul li:last-child, html.tr .bottom-menu ul li:last-child {
    text-align: right;
    padding-right: 29px;
}
html.pt .bottom-menu ul li:nth-child(2), html.el .bottom-menu ul li:nth-child(2), html.tr .bottom-menu ul li:nth-child(2) {
    padding-right: 0;
}
.form-submit[disabled] {
    background: #636261;
	cursor:default;
	color: #adaba8;
}
.darkmode .form-submit[disabled] {
    background: #25292c;
	cursor:default;
	color: #545557;
}
.form-input {
	border-radius: 30px;
    outline: none;
    border: none;
    font-size: 14px;
    width: 100%;
    margin: 14px 0 5px 0;
    font-weight: 400;
    line-height: 25px;
    padding: 9px 10px 8px 44px;
}

.main .right .stream
{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 1;
}
#live-stream
{
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
#live-stream video
{
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
#stream_broadcast
{
	margin-top: 9px;
	margin-right:20px;
}
.form-label {
    margin-left: 20px;
    font-size: 16px;
    margin-top: 10px;
}
#stream_broadcast .form-input {
    padding: 11px 10px 10px 20px !important;
	background:#eceae7;
}
.darkmode #stream_broadcast .form-input {
	background:#1b1d20;
}
.submenu > i.bx-play
{
	font-size: 22px;
    padding: 10.5px 8.5px 9.5px 11.5px;
}
.submenu > i.bxs-pointer
{
	font-size: 15px;
    padding: 14.5px 13px 12.5px 14px;
}

#stream-mic-controls .select-title {
    margin-left: 20px;
    font-size: 16px;
}
.stream-mic-box {
    position: relative;
    padding: 0 20px;
}
.stream-threshold-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #d4d2ce;
    border-radius: 4px;
    outline: none;
    margin: 6px 0 8px 0;
    cursor: pointer;
    display: block;
}
.darkmode .stream-threshold-slider {
    background: #2a2d2f;
}
.stream-threshold-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #178100;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.darkmode .stream-threshold-slider::-webkit-slider-thumb {
    background: #26b618;
    border-color: #1e2326;
}
.stream-mic-meter-bg {
    position: relative;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #ddd9d48c;
}
.darkmode .stream-mic-meter-bg {
    background-color: #222629;
}
.stream-mic-meter-fill {
    height: 100%;
    width: 0%;
    background-color: #178100;
    border-radius: 5px;
    transition: width 0.04s linear, opacity 0.15s ease;
}
.darkmode .stream-mic-meter-fill {
    background-color: #26b618;
}
.stream-mic-meter-fill.gated {
    opacity: 0.35; 
}
.stream-mic-threshold-mark {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #d43636;
    z-index: 2;
    pointer-events: none;
    transform: translateX(-1px);
}


#stream-sys-controls .select-title {
    margin-left: 20px;
    font-size: 16px;
}
.stream-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #d4d2ce;
    border-radius: 4px;
    outline: none;
    margin: 6px 0 8px 0;
    cursor: pointer;
    display: block;
}
.darkmode .stream-volume-slider {
    background: #2a2d2f;
}
.stream-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0061cf;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.darkmode .stream-volume-slider::-webkit-slider-thumb {
    background: #1f84ff;
    border-color: #1e2326;
}
.stream-sys-meter-fill {
    height: 100%;
    width: 0%;
    background-color: #0061cf;
    border-radius: 5px;
    transition: width 0.04s linear, opacity 0.15s ease;
}
.darkmode .stream-sys-meter-fill {
    background-color: #1f84ff;
}

.stream-mic-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #d4d2ce;
    border-radius: 4px;
    outline: none;
    margin: 6px 0 4px 0;
    cursor: pointer;
    display: block;
}
.darkmode .stream-mic-volume-slider {
    background: #2a2d2f;
}
.stream-mic-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #178100;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.darkmode .stream-mic-volume-slider::-webkit-slider-thumb {
    background: #26b618;
    border-color: #1e2326;
}
#select-mic-device .select-trigger .value,
#select-mic-device .select > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#tab-stream .settings.chats {
    position: relative;
    height: calc(100vh - 55px);
    overflow-y: auto;
}

#select-webcam-device .select-trigger .value,
#select-webcam-device .select > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#live-stream .webcam-pip-preview {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 22% !important;
    max-width: 280px;
    min-width: 140px;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
    z-index: 5;
    background: #000;
    pointer-events: none;
}
.main .right .header .name b i
{
	margin-top: -8px;
    margin-bottom: -6px;
    font-size: 14px;
    margin-left: -1px;
	margin-right: 2.5px !important;
}
.main .right .header .name b i.bx-play
{
	margin-top: -9px;
    margin-bottom: -7px;
    font-size: 18px;
    margin-left: -4px;
	margin-right: 1px !important;
}
.main .about .body .live {
    position: relative;
    width: 100%;
    text-align: center;
    display: inline-block;
    cursor: pointer;
	max-height: 180px;
    height: 180px;
    margin: 12px 0 6px 0px;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}
.main .about .body .live video {
    width: 100%;
    position: relative;
    cursor: pointer;
	height: 100%; 
	object-fit: contain; 
	object-position: center center;
}
#view .view-content video {
    cursor: default;
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: inline-block;
}

/* Полное скрытие системной кнопки Play на Android и iOS WebView */
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button,
video::-internal-media-controls-overlay-cast-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Прелоадер подключения к стриму (как в #loading) */
.stream-preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background-image: url(../images/spinner.svg);
    background-repeat: no-repeat;
    background-size: 64px;
    background-position: center center;
    z-index: 10;
    pointer-events: none;
}

/* Для превью в блоке about можно сделать спиннер чуть компактнее (48px) или оставить 64px */
.main .about .body .live .stream-preloader {
    width: 48px;
    height: 48px;
    background-size: 48px;
}

#view .top > div i.bx-fullscreen {
    padding: 11px;
}
#view .top > div i.bx-exit-fullscreen {
    padding: 9.5px;
}
.chats .item .action i.bx-play-circle
{
	margin-right: 5px !important;
	margin-bottom: 5px !important;
}
.dropdown li span i.bx-play-circle
{
    font-size: 17px;
    margin-top: 2.5px;
}
.dropdown li span i.bx-pointer
{
    font-size: 16px;
    margin-top: 2.5px;
}
#rdp_form {
    margin-top: 9px;
    margin-right: 20px;
}
#rdp_disconnect {
    margin-right: 10px;
}
#rdp-view
{
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
#rdp-view video
{
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
#vegaRemoteMedia
{
	object-fit: contain !important;
}

#conf-audio-settings {
    text-align: left;
}
#conf-audio-settings .select-title {
    margin-left: 0px;
    font-size: 15px;
}
#conf-audio-settings .stream-mic-box {
    padding: 0;
}

#conf-active-controls {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
	width:100%;
	padding: 0 12px;
}
.main .about .body.conf_active .conf-mute-mic-about,
.main .about .body.conf_active .conf-mute-peers-about {
	width: 42px;
    height: 42px;
    margin-top: 11px;
    margin-bottom: 0px;
    float: right;
    margin-right: 0px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.4s ease;
}

#conf-hotkeys-controls .form-input {
    margin-top: 4px;
    margin-bottom: 12px;
    padding: 9px 14px 8px 14px !important;
    user-select: none;
    transition: border 0.2s ease, background-color 0.2s ease;
    border: 1.5px solid transparent;
}
#conf-hotkeys-controls .form-input.recording-hotkey {
    border: 1.5px solid #028cc2 !important;
}

/* ==========================================================
   СТИКЕРЫ И GIF БЕЗ РАМКИ (КАК .hasEmoji) И ПАНЕЛЬ ВЫБОРА
========================================================== */
.gifs-tab, .stickers-tab {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 12px 9px;
}

.gifs-list, .stickers-list {
    height: 354px;
    width: calc(100% - 9px);
    overflow-x: hidden !important;
    position: absolute;
    overflow-y: auto !important;
    overscroll-behavior: none;
}

.gifs-list .type, .stickers-list .type {
    margin: 1px 6px 6px 6px;
    clear: both;
    text-align: left;
}

.stickers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    padding: 2px 11px 12px 4px;
}

.stickers-grid .sticker-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
	margin-bottom: 3px;
    margin-top: 3px;
}

.stickers-grid .sticker-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.gifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 6px;
    padding: 2px 14px 12px 6px;
}

.gifs-grid .gif-item {
    width: 100%;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background-color: rgba(128, 128, 128, 0.12);
}

.gifs-grid .gif-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
    pointer-events: none;
}

/* Пузырь стикера и GIF без рамки (в стиле .hasEmoji) */
.message-box.hasSticker .message-sticker,
.message-box.hasGif .message-gif {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.message-box.hasSticker.my .message-sticker,
.message-box.hasGif.my .message-gif {
    align-items: flex-end;
}

.message-box.hasSticker .content,
.message-box.hasGif .content {
    position: relative;
    margin: 2px 0 31px 0;
    overflow: hidden;
    display: block;
    line-height: 0;
}

.message-box.hasGif .content {
    border-radius: 12px;
}

.message-box.hasSticker .content img,
.message-box.hasGif .content img {
    position: relative !important;
    top: unset !important;
    left: unset !important;
    transform: none !important;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.message-box.hasGif .content img {
    border-radius: 12px;
}

/* Плашка имени / Переслано над стикером или GIF */
.message-box.hasSticker .name:not(.hidden),
.message-box.hasGif .name:not(.hidden) {
    padding: 8px 10px 5px 10px;
    border-radius: 11px;
    width: fit-content;
    margin-bottom: 4px;
    box-shadow: 0px 1px 1px 0px #0000001a;
}

.message-box.hasSticker.my .name:not(.hidden),
.message-box.hasGif.my .name:not(.hidden) {
    margin-left: auto;
}

/* Кнопка контекстного меню (стрелочка вниз) */
.message-box.hasSticker .action,
.message-box.hasGif .action {
    opacity: 0;
    position: absolute;
    top: 6px;
    right: 4px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    text-align: right;
    z-index: 2;
    transition: opacity 0.3s ease;
    box-shadow: 0px 1px 2px 0px #00000026;
}

.message-box.hasSticker .action i,
.message-box.hasGif .action i {
    font-size: 21px;
    line-height: 13px;
    padding-top: 2px;
    margin-right: 2px;
    cursor: pointer;
}

/* Плашка времени и галочек под стикером/GIF (в точности как у .hasEmoji) */
.message-box.hasSticker .date,
.message-box.hasGif .date {
    box-shadow: 0px 1px 1px 0px #0000001a;
    bottom: 0px;
    right: unset;
    left: 0;
    z-index: 1;
    padding: 10px 10px 7.5px 10px;
    border-radius: 10px;
    background: #ffffff;
    font-size: 11px;
    line-height: 5px;
    position: absolute;
}

.darkmode .message-box.hasSticker .date,
.darkmode .message-box.hasGif .date {
    background: #1e2326;
}

.message-box.hasSticker.my .date,
.message-box.hasGif.my .date {
    left: unset;
    right: 0;
    padding: 5.4px 7px 2px 10px;
    background: #0061cf;
    min-width: 66px;
    color: #bfbdbd;
    text-align: right;
}

.darkmode .message-box.hasSticker.my .date,
.darkmode .message-box.hasGif.my .date {
    background: #19304b;
    color: #a0a0a0;
}

.message-box.hasSticker.my .date i,
.message-box.hasGif.my .date i {
    margin-left: 1px;
    margin-top: -2px;
    font-size: 18px;
}

.message-box.hasSticker.my .date i.bx-time-five,
.message-box.hasGif.my .date i.bx-time-five {
    font-size: 13px;
    padding: 2px;
}

/* Лоадер загрузки на стикерах и GIF */
.message-box.hasSticker .loading,
.message-box.hasGif .loading {
    background: url(../images/spinner2.svg);
    width: 46px;
    height: 46px;
    position: absolute;
    left: calc(50% - 23px);
    top: calc(50% - 35px);
    background-size: 46px;
    text-align: center;
    z-index: 2;
}

.message-box.hasSticker .loading i,
.message-box.hasGif .loading i {
    margin-top: 11px;
    font-size: 25px;
    text-shadow: 0px 0px 3px #000000;
    cursor: pointer;
}

/* Аватарка отправителя в группах для стикеров и GIF */
.main .right.group .body .message-box.hasSticker:not(.my) .avatar,
.main .right.group .body .message-box.hasGif:not(.my) .avatar {
    left: -40px;
    top: 2px;
}

.chats .item .text i.bxl-youtube {
    margin-top: -2px;
    font-size: 16px;
}

.chats .item .text i.bx-sticker {
    margin-top: -3px;
    font-size: 16px;
}

.submenu > i.conf_open {
    padding: 11px 9.5px 9px 10.5px;
}

.main .about .body.conf_active .avatar {
	width: 47px;
    height: 48px;
    margin-top: 0;
    margin-bottom: 8px;
    float: left;
    margin-left: calc(50% - 152px) !important;
}

.submenu > i.conf_mute {
	font-size: 22px;
    padding: 10px;
}

.submenu > i.conf_open { 
    font-size: 22px;
    padding: 11px 9.5px 9px 10.5px;
}

.chats .item .action i.conf-active-alert {
    margin-right: 5px !important;
    margin-bottom: 5px !important;
}

.conf-mic-icon.bxs-microphone
{
	transition: color 0.3s ease !important;
}
#conf-hotkeys-controls .form-input,
#stream-hotkeys-controls .form-input {
    margin-top: 4px;
    margin-bottom: 12px;
    padding: 9px 14px 8px 14px !important;
    user-select: none;
    transition: border 0.2s ease, background-color 0.2s ease;
    border: 1.5px solid transparent;
}
#conf-hotkeys-controls .form-input.recording-hotkey,
#stream-hotkeys-controls .form-input.recording-hotkey {
    border: 1.5px solid #028cc2 !important;
}

.main .about .body.conf_active .avatar {
	display:none !important;
}

.main .about .body.conf_active .conf-settings-toggle {
    width: 42px;
    height: 42px;
    margin-top: 11px;
    margin-bottom: 0px;
    float: right;
    margin-right: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.4s ease;
}

.main .about .body.conf_active .line {
    display:none !important;
}

.main .about .body.conf_active .conf-leave-about
{
    width: 42px;
    height: 42px;
    margin-top: 11px;
    margin-bottom: 0px;
    float: right;
    margin-right: -1px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.4s ease;
}

.main .about .top.conf_active
{
	display:none !important;
}

.main .about .body.conf_active {
    top: 0px;
	height:calc(100% - 0px  - var(--sa-top) - var(--sa-bottom))
}

.main .about .body.conf_active .back {
	width: 42px;
    height: 42px;
    margin-top: 11px;
    margin-bottom: 16px;
    float: left;
    margin-left: -8px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.4s ease;
}
#select-stream-speaker-device .select-trigger .value,
#select-stream-speaker-device .select > div,
#select-conf-mic-device .select-trigger .value,
#select-conf-mic-device .select > div,
#select-conf-speaker-device .select-trigger .value,
#select-conf-speaker-device .select > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#conf-audio-settings .select-field .select {
    left: 0;
    width: 100%;
    top: 70px;
}

/* Разрешаем вертикальный скролл страницы при касании ползунков на мобильных */
.stream-threshold-slider,
.stream-volume-slider,
.stream-mic-volume-slider {
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.main .about .body.conf_active .conf-video-toggle {
    width: 42px;
    height: 42px;
    margin-top: 11px;
    margin-bottom: 0px;
    float: right;
    margin-right: calc(50% - 142px) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.4s ease;
}


#conf-videos-container .conf-video-item {
    margin-top: 8px;
    margin-bottom: 10px;
}

#select-conf-video-source .select-trigger .value,
#select-conf-video-source .select > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#conf-videos-container .conf-video-item {
    position: relative !important;
    height: 173px !important;
    margin: 0;
    overflow: hidden !important;
    border-radius: 15px;
}

#conf-videos-container .conf-video-item video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
}



.main .about .body.conf_active #conf-mic-controls
{
	margin-top: 78px !important;
	z-index:-1 !important;
}
#conf-audio-settings
{
	padding-right: 18px !important;
	padding-left: 18px !important;
}
.main .about .body.conf_active .conf-settings-toggle .bx-group {
	font-size:21px !important;
}



.main .about .body .table tr:nth-child(2n+1)
{	
	background-color: transparent;
}
.darkmode .main .about .body .table tr:nth-child(2n+1)
{	
	background-color: transparent;
}

.main .about .body .table tr:nth-child(2n+0)
{	
	background-color: #f7f5f3;
}
.darkmode .main .about .body .table tr:nth-child(2n+0)
{	
	background-color: #191c1e;
}



.main .about .body.conf_active .table tr:nth-child(2n+1)
{	
	background-color: #f7f5f3;
}
.darkmode .main .about .body.conf_active .table tr:nth-child(2n+1)
{	
	background-color: #191c1e;
}

.main .about .body .table tr.hidden + tr td:first-child 
{
    border-top-left-radius: 15px;
}

.main .about .body .table tr.hidden + tr td:last-child 
{
    border-top-right-radius: 15px;
}


.main .about .body.conf_active  .table tr:nth-child(2n+0)
{	
	background-color: transparent;
}
.darkmode .main .about .body.conf_active  .table tr:nth-child(2n+0)
{	
	background-color: transparent;
}

/* Панель управления RDP и стримом на мобильных/планшетах */
.rdp-mobile-toolbar,
.stream-mobile-toolbar {
    position: absolute;
    top: calc(11px + var(--sa-top));
    left: 10px;
    right: 10px;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}
.rdp-mobile-toolbar > div,
.stream-mobile-toolbar > div {
    pointer-events: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(20, 23, 24, 0.65);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.rdp-mobile-toolbar > div.active-rclick {
    background: #0061cf;
}
#vegaRdpMobileKeyInput {
    position: fixed;
    top: -100px;
    left: -100px;
    width: 10px;
    height: 10px;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}
#rdp-view {
    touch-action: none;
}

/* Компактное превью стрима внутри настроек на узких экранах */
#stream-mobile-inline-preview {
    position: relative;
    width: 100%;
    height: 180px;
    margin: 12px 0 6px 0px;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}
#stream-mobile-inline-preview video:not(.webcam-pip-preview) {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
#stream-mobile-inline-preview .webcam-pip-preview {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 25% !important;
    max-width: 110px;
    min-width: 65px;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    z-index: 5;
    background: #000;
    pointer-events: none;
}
#stream-mobile-inline-preview .expand-hint {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(20, 23, 24, 0.65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

/* Встроенный блок удалённого управления под кнопками на узких экранах */
#rdp-mobile-inline-slot {
    position: relative;
    width: 100%;
    height: calc(100dvh - 360px - var(--sa-top) - var(--sa-bottom));
    min-height: 180px;
    margin: 8px 0 12px 0;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

#rdp-mobile-inline-slot #rdp-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ==========================================================
   РЕАКЦИИ НА СООБЩЕНИЯ (В СТИЛЕ WHATSAPP)
========================================================== */
.vega-reaction-bar {
    position: fixed;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 1px 1px 2px 0px #0000001f;
    user-select: none;
    -webkit-user-select: none;
}

.darkmode .vega-reaction-bar {
    background: #1e2326;
    box-shadow: none;
}

@keyframes vegaReactionPop {
    0% { transform: scale(0.75); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.vega-reaction-bar .react-emoji {
    font-size: 26px;
    line-height: 41px;
    width: 38px;
    height: 38px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
    display: inline-flex;
    /* align-items: center; */
    justify-content: center;
}

.vega-reaction-bar .react-emoji:hover {
    background-color: rgba(128, 128, 128, 0.14);
}

.vega-reaction-bar .react-emoji.active {
    background-color: #d6eaff;
}

.darkmode .vega-reaction-bar .react-emoji.active {
    background-color: #152a42;
}

.vega-reaction-bar .react-more {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eeeeee;
    color: #636261;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 2px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.darkmode .vega-reaction-bar .react-more {
    background: #323639;
    color: #a4a5a5;
}

.vega-reaction-bar .react-more:hover {
    background: #e0e0e0;
    color: #000000;
}

.darkmode .vega-reaction-bar .react-more:hover {
    background: #3e4347;
    color: #ffffff;
}

/* Значок реакции под сообщением */
.message-box.has-reactions {
    margin-bottom: 24px !important;
}

.message-reactions {
    position: absolute;
    bottom: -22px;
    left: 8px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 6px 4px 7px ;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #dddcda;
    cursor: pointer;
    font-size: 15px;
    line-height: 18px;
    user-select: none;
	z-index: 1;
	max-width: 245px;
    overflow: hidden;
}



.darkmode .message-reactions {
        background: #1e2326;
    border-color: #0d0f10;
}

.message-box.my .message-reactions {
    left: auto !important;
    right: 8px;
}

.message-reactions .r-item {
    display: inline-flex;
    align-items: center;
    font-size: 17px;
}

.message-reactions .r-count {
	font-size: 11px;
    margin-left: 1px;
    margin-right: 2px;
    color: #636261;
    font-weight: 500;
}

.darkmode .message-reactions .r-count {
    color: #a4a5a5;
}

/* Режим выбора реакции в существующей панели смайликов (.smiles-list) */
.smiles-list.reaction-picker-mode #panel-upload-new-media,
.smiles-list.reaction-picker-mode .backspace,
.smiles-list.reaction-picker-mode .tabs.second .tab[data-pointer=".gifs-tab"],
.smiles-list.reaction-picker-mode .tabs.second .tab[data-pointer=".stickers-tab"] {
    display: none !important;
}

.smiles-list.reaction-picker-mode .tabs.second {
    width: 110px !important;
    margin-left: calc(50% - 55px) !important;
    left: 0 !important;
}

.smiles-list.reaction-picker-mode .tabs.second .tab[data-pointer=".smiles-tab"] {
    width: 100% !important;
    border-right: none !important;
}
.message-box:not(.my) .message-reactions {
    bottom: -20px;
}
.message-box.hasEmoji .message-reactions {
    bottom: -18px;	
}

.message-box .message-image +	.message-reactions {
	bottom: -21px;
}

.message-box .message-video +	.message-reactions {
	bottom: -22px;
}
.message-box.my .message-video + .message-reactions {
    bottom: -21px;
}

.message-box .message-file +	.message-reactions {
	bottom: -18px;
}
.message-box.my .message-file + .message-reactions {
    bottom: -21px;
}

.message-box .message-voice +	.message-reactions {
	bottom: -23px;
}
.message-box.my .message-voice + .message-reactions {
    bottom: -23px;
}

.message-box .message-location +	.message-reactions {
	bottom: -18px;
}
.message-box.my .message-location + .message-reactions {
    bottom: -18px;
}

.message-box.hasEmoji.hasGif .message-reactions {
    bottom: -24px;
	left: 6px;
	
}
.message-box.hasEmoji.hasSticker  .message-reactions {
    bottom: -24px;
	left: 6px;
}
.message-box.hasEmoji.hasGif.my .message-reactions {
    left: auto !important;
    right: 13px;
}

.message-box.hasEmoji.hasSticker.my .message-reactions {
    left: auto !important;
    right: 13px;
}


.main .right .rdp {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.rdp-desktop-toolbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    z-index: 5;
    border-bottom: 1px solid #dddcda;
    box-shadow: 1px 1px 2px 0px #0000000f;
}

.darkmode .rdp-desktop-toolbar {
    border-bottom: 1px solid #25282d;
}

.rdp-desktop-toolbar > div {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rdp-desktop-toolbar > div.disabled-action,
.rdp-mobile-toolbar > div.disabled-action {
    opacity: 0.45;
    pointer-events: none;
}

@media screen and (min-width: 831px) {
    .main .right .rdp.rdp-connected #rdp-view {
        top: 48px;
        height: calc(100% - 48px);
    }
}

#rdp-view:fullscreen,
#rdp-view:-webkit-full-screen {
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #000000 !important;
}

.rdp-mobile-toolbar {
    justify-content: flex-start !important;
    gap: 8px;
}

/* Просмотрщик PDF во #view (Electron) */
#view.pdf-mode .top {
    display: block !important;
    opacity: 1 !important;
    height: 56px;
    padding: 7px 10px;
    background: #141718;
    border-bottom: 1px solid #25282d;
}

#view.pdf-mode .view-content {
    position: absolute;
    top: 56px;
    left: 0;
    width: 100%;
    height: calc(100% - 56px);
    background: #2a2d2f;
}

#view.pdf-mode .view-content iframe.vega-pdf-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    user-select: text;
    -webkit-user-select: text;
}

/* Обрезка длинных строк в новых селектах настроек конференции */
#select-conf-video-aspect .select-trigger .value,
#select-conf-video-aspect .select > div,
#select-conf-video-resolution .select-trigger .value,
#select-conf-video-resolution .select > div,
#select-conf-video-fps .select-trigger .value,
#select-conf-video-fps .select > div,
#select-conf-video-bitrate .select-trigger .value,
#select-conf-video-bitrate .select > div,
#select-conf-audio-bitrate .select-trigger .value,
#select-conf-audio-bitrate .select > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#conf-audio-settings {
    padding-bottom: 180px !important;
}