/* custom better message plugin */


@media (max-width:992px) {
	
	/* before start, blur on mobile : tap to open/view messages
	================================================================ */
	
	.bp-messages-wrap {
			margin: 0 -1rem;
	}
	.bp-messages-wrap.mobile-ready:not(.bp-messages-mobile) .bp-messages-mobile-tap {
		color: var(--informatizer-primary-700);
			background: rgba(255, 255, 255, 0.8);
			backdrop-filter: blur(10px) saturate(100%);
			-webkit-backdrop-filter: blur(10px) saturate(1000%);
	}
	
	.bp-messages-threads-wrapper.threads-hidden .bp-messages-mobile-tap {
			line-height: normal !important;
			min-height: 100%;
			font-weight: 700;
	}
	.bp-messages-threads-wrapper.threads-hidden .bp-messages-mobile-tap:before {
			content: '\e9ec';
			font-family: 'bb-icons';
			font-weight: 400;
			font-size: 3rem;
			display: inline-block; /* nécessaire pour appliquer transform */
			width: 100%;
			margin: 50% 0 0.5rem;
			transform: rotate(-25deg);
	}
	.bp-messages-threads-wrapper.threads-hidden .bp-messages-mobile-tap:after {
			content: '';
	}
	
	/* home Header top icons 
	================================================================ */
	
	.bp-messages-wrap.mobile-ready.bp-messages-mobile.bm-index-page .chat-header {
		/*
			min-height: auto;
			height: auto;
			padding: 0.5rem 1rem;
			*/
			min-height: 50px;
			height: auto;
			max-height: 70px;
			background: var(--informatizer-gray-50);
			border-bottom: 1px solid var(--informatizer-gray-100);
			line-height: normal;
			font-size: inherit;
			display: flex;
			flex-direction: row-reverse;
	}
	/* in chat messages-column  */
	.bp-messages-wrap.mobile-ready.bp-messages-mobile .chat-header {
			display: flex;
			flex-direction: row !;
	}
	.bp-messages-wrap .chat-header>a, .bp-messages-wrap .chat-header>span, 
	.bp-messages-wrap.bp-messages-mobile .chat-header .mobileClose {
			color: var(--informatizer-black) !important;
	}
	
	
	.bp-messages-wrap .chat-header .new-message svg,
	.bp-messages-wrap .chat-header .starred-messages svg,
	.bp-messages-wrap .chat-header .bm-search-btn svg,
	.bp-messages-wrap .chat-header .settings svg,
	.bp-messages-wrap .chat-header .mobileClose svg {
			font-size: 0;
	}
	.bp-messages-wrap .chat-header .new-message:before {
			content: '\f253';
			font-family: 'fapro-icons';
	}
	.bp-messages-wrap .chat-header .starred-messages:before {
			content: '\f536';
			font-family: 'fapro-icons';
	}
	.bp-messages-wrap .chat-header .bm-search-btn:before {
			content: '\f136';
			font-family: 'fapro-icons';
	}
	.bp-messages-wrap .chat-header .settings:before {
			content: '\ef55';
			font-family: 'fapro-icons';
	}
	.bp-messages-wrap .chat-header .mobileClose:before {
			content: '\f758';
			content: '\e96c';
			font-family: 'fapro-icons';
	}
	
	
	/* home Header bottom 
	================================================================ */
	
	.bp-messages-wrap .chat-tabs {
			font-size: 1rem;
			min-height: 50px;
			height: auto;
			max-height: 50px;
			border-top: 1px solid var(--informatizer-gray-50);
			overflow: hidden;
	}
	
	.bp-messages-wrap .chat-tabs>div {
			height: auto;
			line-height: normal;
			padding: 0.5rem 0 0;
			background-color: var(--informatizer-white);
			display: flex;
			flex-direction: column;
			flex-wrap: nowrap;
			align-content: center;
			justify-content: center;
			align-items: center;
			gap: 0.125rem;
	}
	.bp-messages-wrap .chat-tabs>div.active {
			color: var(--informatizer-primary-700);
			background: var(--informatizer-primary-50);
			border-color: var(--informatizer-primary-700);
			font-weight: 700;
	}
	
	.bp-messages-wrap .chat-tabs>div svg {
			font-size: 0;
	}
	.bp-messages-wrap .chat-tabs>div:before {
			content: '';
			font-family: 'bb-icons';
			font-size: 1.5rem;
	}
	
	.bp-messages-wrap .chat-tabs [data-tab="threads-list"]:before {
			content: '\eeba';
			font-family: 'bb-icons';
			font-weight: 400;
			
			content: '\ed16';
			font-family: 'fapro-icons';
			font-weight: 300;
	}
	.bp-messages-wrap .chat-tabs [data-tab="bm-friends-list"]:before {
			content: '\ef5a';
			font-family: 'bb-icons';
			font-weight: 400;
			
			content: '\f69f';
			font-family: 'fapro-icons';
			font-weight: 300;
	}
	.bp-messages-wrap .chat-tabs [data-tab="bm-groups-list"]:before {
			content: '\e95d';
			font-family: 'bb-icons';
			font-weight: 400;
			
			content: '\f6dd';
			font-family: 'fapro-icons';
			font-weight: 300;
	}
	
	.bp-messages-wrap .chat-tabs [data-tab="threads-list"].active:before {
			font-weight: 400;
	}
	.bp-messages-wrap .chat-tabs [data-tab="bm-friends-list"].active:before {
			font-weight: 400;
	}
	.bp-messages-wrap .chat-tabs [data-tab="bm-groups-list"].active:before {
			font-weight: 400;
	}
	
	
	/* in Home  
	================================================================ */
	
	.bp-messages-wrap.bp-messages-mobile .threads-list .thread .actions {
			padding-right: 0px;
			padding-bottom: 0px;
			padding-top: 0px;
			padding: 1rem 1rem 1rem 1rem;
	}
	
	/* font-size */
	
	.bp-messages-wrap .threads-list .thread .bm-info .name {
			font-size: 1rem;
			line-height: normal;
			margin: 0 0 0.25rem;
			margin-bottom: 0.25rem;
	}
	.bp-messages-wrap .threads-list .thread .bm-info .name+h4 {
			font-size: 1rem;
			margin: 0 0 0.25rem;
			line-height: inherit;
	}
	.bp-messages-wrap .threads-list .thread .bm-info .last-message {
			font-size: 1rem;
			line-height: normal;
	}
	.bp-messages-wrap .threads-list .thread .bm-info h4 {
			margin: 0 0 0.25rem;
			font-size: 1rem;
			line-height: normal;
			color: rgba(var(--bm-text-color), 1);
	}
	.bp-messages-wrap .threads-list .thread .time {
			font-size: 0.875rem;
	}
	
	.bp-messages-wrap .threads-list .thread .actions .bm-more-actions {
			font-size: 1rem;
			color: var(--informatizer-gray-300);
			line-height: normal;
	}
	
	/* in chat Header  
	================================================================ */
	
	.bp-messages-wrap.bp-messages-mobile .chat-header .thread-actions span.mobileClose {
			display: none;
	}
	
	
	
}
