html {
	height: 100%;
	width: 100%;
}

.ui-page-slider-wrapper {
	color: #000 !important;
	font-family: var(--ui-font-family-primary, var(--ui-font-family-helvetica)) !important;
	font-size: 14px !important;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
	height: auto !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	min-width: auto !important;
	min-height: 100% !important;
	box-sizing: border-box !important;
}

.ui-page-slider-wrapper.top-menu-mode .ui-toolbar {
	margin-top: 0;
	max-height: none;
}

.ui-page-slider-wrapper-default-theme {
	background: #eef2f4 !important;
}

.ui-page-slider-padding {
	padding: 0 20px 20px !important;
}

.ui-page-slider-workarea {
	/*min-height: calc(100% - 75px);*/
	flex-grow: 1;
	flex-shrink: 1;
}

.ui-side-panel-wrap-workarea {
	overflow: hidden;
	background-color: #fff;
	height: 100%;
	border-radius: var(--ui-side-panel-wrap-workarea-border-radius, var(--ui-border-radius-md));
}

.ui-page-slider-workarea-content-padding {
	padding: 15px 15px 20px;
	overflow-x: auto;
	overflow-y: visible;
}

/* Uncomment these lines after ui.design-tokens release */
/*
.no-paddings .ui-page-slider-workarea-content-padding {
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
}

.no-all-paddings .ui-page-slider-workarea-content-padding {
	padding: 0;
}
*/

.ui-page-slider-workarea-no-background,
.no-background .ui-side-panel-wrap-workarea {
	background-color: transparent !important;
	opacity: unset;
	border-radius: unset;
}

.ui-slider-page {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: stretch;
	-ms-ui-flex-align: stretch;
	align-items: stretch;
}

/****************************************/

.ui-side-panel-wrap-title-wrap {
	min-height: 73px;
	box-sizing: border-box;
	position: relative;
}

.ui-side-panel-wrap-title-container {
	display: flex;
	align-items: center;
}

.ui-side-panel-wrap-title-inner-container {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 0;
	min-height: 73px;
	box-sizing: border-box;
}

.ui-side-panel-wrap-title-inner-container .pagetitle-container > .main-ui-filter-search {
	margin-right: 12px;
}

.ui-side-panel-wrap-title-menu {
	float: right;
	text-align: right;
	z-index: 2;
	white-space: nowrap;
	padding-left: 20px;
	padding-right: 18px;
}

.ui-side-panel-wrap-title-last-item-in-a-row {
	order: 1;
}

div.ui-side-panel-wrap-title-container.ui-side-panel-wrap-title-align-right-container {
	margin: 0 0 0 auto !important;
}

.ui-side-panel-wrap-title-inner-container {
	min-height: 0;
}

.ui-side-panel-wrap-title-inner-container .ui-side-panel-wrap-title-flexible-space {
	-webkit-box-flex: 1;
	-ms-flex: 1 0 auto;
	flex: 1 0 auto;
}

.ui-side-panel-wrap-title-inner-container .ui-side-panel-wrap-title-menu {
	padding: 0 !important;
}

/****************************************/


@media (max-width: 1360px) {
	.ui-page-slider-wrapper .ui-side-panel-wrap-title {
		margin: 0 15px 0 0!important;
	}
}

.ui-page-slider-wrapper .ui-side-panel-wrap-title {
	display: flex;
	align-items: center;
	-ms-flex: 0 1 auto;
	flex: 1;
	flex-wrap: wrap;
	margin: 0 45px 0 0;
	padding: 22px 0 17px 0;
	min-height: 73px;
	max-height: 86px;
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	font: 24px/26px var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
	font-weight: var(--ui-font-weight-light, 300);
	word-wrap: break-word;
}

.ui-page-slider-wrapper .ui-side-panel-wrap-title-box {
	display: flex;
	overflow: hidden;
}

.ui-page-slider-wrapper .ui-side-panel-wrap-title-item {
    position: relative;
	display: inline-block;
	padding: 0 10px 0 0;
	min-width: 0;
	height: 30px;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-sizing: border-box;
}

.bitrix24-light-theme .ui-side-panel-wrap-title-item,
.bitrix24-light-theme .ui-toolbar-title-item {
	color: #fff;
}

.ui-page-slider-wrapper .ui-side-panel-wrap-title-name {
    padding-right: 10px;
    width: -webkit-calc(100% - 25px);
    width: calc(100% - 25px);
}

.ui-page-slider-wrapper .ui-side-panel-wrap-title-edit-button {
    position: absolute;
    top: 5px;
    right: -3px;
}

.ui-side-panel-wrap-title input.ui-side-panel-wrap-title-item {
	flex: 1;
	margin: -3px 0 0 0;
	display: inline-block;
	box-sizing: border-box;
	padding: 0;
	/*width: calc(100% - 500px);*/
	border: none;
	border-bottom: 1px solid #cfd6da;
	background-color: transparent;
	color: #000;
	word-wrap: break-word;
	font: 26px/27px var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
	font-weight: var(--ui-font-weight-light, 300);
	outline: none;
}

.ui-side-panel-wrap-subtitle-modifier.ui-side-panel-wrap-title {
	padding-top: 25px;
	padding-bottom: 15px;
}

.ui-side-panel-wrap-subtitle-box {
	display: none;
	align-items: center;
}

.ui-side-panel-wrap-subtitle-modifier .ui-side-panel-wrap-subtitle-box {
	display: flex;
}

.ui-side-panel-wrap-subtitle-item {
	display: inline-block;
	margin-right: 6px;
	font: 13px var(--ui-font-family-primary, var(--ui-font-family-helvetica));
	color: #858c96;
}

.ui-side-panel-wrap-subtitle-control {
	position: relative;
	display: inline-block;
	margin-right: 15px;
	font: 13px var(--ui-font-family-primary, var(--ui-font-family-helvetica));
	color: #2066b0;
	border-bottom: 1px dashed rgba(39, 107, 179, .4);
	transition: border-bottom .3s;
	cursor: pointer;
}

.ui-side-panel-wrap-subtitle-control:hover {
	border-bottom: 1px dashed transparent;
}

.ui-side-panel-wrap-subtitle-control:after {
	content: '';
	position: absolute;
	top: 6px;
	right: -16px;
	display: block;
	width: 10px;
	height: 6px;
	background: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20viewBox%3D%220%200%2010%206%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%0A%3Cpath%20opacity%3D%220.5%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M8.30607%200.754272L5.66529%203.39505L4.99999%204.05006L4.3473%203.39505L1.70652%200.754272L0.774669%201.68613L5.00626%205.91772L9.23785%201.68613L8.30607%200.754272Z%22%20fill%3D%22%23525C69%22/%3E%0A%3C/svg%3E%0A') no-repeat;
}

/****************************************/

.ui-side-panel-wrap-title-edit-button {
	display: inline-block;
	width: 20px;
	height: 19px;
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDExIDEwIj48cGF0aCBmaWxsPSIjNTI1QzY5IiBkPSJNMzQ2LjY5Nzk1NCw5MTkgTDM0OC42MjY1NzcsOTIwLjkyODYyMiBMMzQxLjcwOTAzNSw5MjcuODQ0NzgyIEwzMzkuNzgwNDEzLDkyNS45MTYxNiBMMzQ2LjY5Nzk1NCw5MTkgWiBNMzM4LjY0MzQxLDkyOC43MjM0MzggQzMzOC42MjQwNjgsOTI4Ljc5NjY2IDMzOC42NDQ3OTEsOTI4Ljg3NDAyNiAzMzguNjk3MjksOTI4LjkyNzkwNiBDMzM4Ljc1MTE2OSw5MjguOTgxNzg1IDMzOC44Mjg1MzUsOTI5LjAwMjUwOCAzMzguOTAxNzU3LDkyOC45ODE3ODUgTDM0MS4xODgxOTcsOTI4LjM2NTYyMSBMMzM5LjI1OTU3NCw5MjYuNDM2OTk5IEwzMzguNjQzNDEsOTI4LjcyMzQzOCBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzM4IC05MTkpIi8+PC9zdmc+) no-repeat 5px center;
	opacity: .6;
	cursor: pointer;
	transition: all 250ms ease;
}

.sender-content-padding {
	padding: 15px;
}

.sender-footer-fixed {
	box-shadow: 0 -2px 4px 0 #c6c9cb;
	overflow: hidden;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
	padding: 15px;
	background: #fff;
	text-align: left;
}

.sender-footer-buttons-fixed {
	height: 70px;
	opacity: 0;
}

.ui-side-panel-wrap-sidebar {
	padding-left: 17px;
	position: relative;
	width: 280px;
	float: right;
}

.ui-page-slider-left-panel {
	margin: 0;
	position: relative;
	padding: 0;
	padding-right: 21px;
	box-sizing: border-box;
	max-width: 240px;
	width: 100%;
}

.ui-page-slider-wrapper .ui-page-slider-left-panel:empty {
	display: none;
}

.ui-side-panel-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-overflow: ellipsis;
	max-width: 100%;
}

.ui-side-panel-toolbar {
	margin-left: 8px;
}

.ui-side-panel-toolbar.--no-margin {
	margin-left: 0;
}

.ui-side-panel-toolbar .pagetitle-wrap {
	margin-left: 0;
}

.ui-page-slider-wrapper .feed-new-message-informer-place {
	background-color: transparent;
}

/*.ui-page-slider-wrapper .feed-post-block {*/
/*	border-bottom: 15px solid #eef2f4;*/
/*}*/

.ui-page-slider-wrapper .feed-post-block,
.ui-page-slider-wrapper .feed-add-post-block {
	background-color: #fff;
}

/*.ui-page-slider-wrapper .ui-toolbar {*/
/*	height: 73px;*/
/*}*/
