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

body.chat-page, html.chat-page {
	height: 100%;
	overflow: hidden;
}
/*body, html {
	height: 100%;
	overflow: hidden;
}*/
/*
.full-height
{
	min-height: initial;
}
*/
#wrapper:not(.need-padded) list-group.chat-history .list-group-item.recv + .list-group-item.send,
#wrapper:not(.need-padded) .list-group.chat-history .list-group-item.send + .list-group-item.recv,
#wrapper:not(.need-padded) .chat-history > .list-group .list-group-item.recv + .list-group-item.send,
#wrapper:not(.need-padded) .chat-history > .list-group .list-group-item.send + .list-group-item.recv,
#wrapper:not(.need-padded) .list-group.chat-history .list-group-item.processing + .list-group-item.send,
#wrapper:not(.need-padded) .list-group.chat-history .list-group-item.processing + .list-group-item.recv,
#wrapper:not(.need-padded) .list-group.chat-history .list-group-item.processing + .list-group-item.processing,
#wrapper:not(.need-padded) .chat-history > .list-group .list-group-item.processing + .list-group-item.send,
#wrapper:not(.need-padded) .chat-history > .list-group .list-group-item.processing + .list-group-item.recv,
#wrapper:not(.need-padded) .chat-history > .list-group .list-group-item.processing + .list-group-item.processing,
#wrapper:not(.need-padded) .list-group.chat-history .list-group-item.recv + .list-group-item.processing,
#wrapper:not(.need-padded) .list-group.chat-history .list-group-item.send + .list-group-item.processing,
#wrapper:not(.need-padded) .chat-history > .list-group .list-group-item.recv + .list-group-item.processing,
#wrapper:not(.need-padded) .chat-history > .list-group .list-group-item.send + .list-group-item.processing
{
	margin-top: 10px !important;
}
.list-group-item.odd-even-color,
.list-group-item.even-odd-color
{
/*
	margin-left: -27px;
	padding-left: 42px;
	margin-right: -22px;
	padding-right: 37px;
*/
/*
	margin-left: -105px;
	padding-left: 112px;
	margin-right: -105px;
	padding-right: 112px;
*/
}
.big-logo-container
{
	display: none;
}
.content
{
	padding: 0;
/*
	padding-left: 13px;
	padding-right: 7px;
*/
/*
	padding-left: 10px;
	padding-right: 10px;
*/
}
.content-with-sticky-footer
{
	margin-top: -68px;
	padding-top: 68px;
}
/*
.content-container.embed .message-time
{
	width: 50px;
}
*/
.content-container .content:not(.chat-content) h1
{
	margin-top: 10px;
}

.content.chat-content
{
	display: flex;
	flex-direction:column;
	align-items: stretch;
	align-content: stretch;
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	/*position: relative;*/
}

.content-container .content.chat-content h1
{
	margin-top: 10px;
}
.need-padded .content-container .content:not(.chat-content) h1,
.need-padded .content-container .content.chat-content h1
{
	margin-top: 0;
}
.content-container.embed .content:not(.chat-content)
{
/*	padding: 25px 20px; */
/*
	padding: 0;
	padding-top: 5px;
	padding-right: 20px;
	padding-left: 20px;
*/
}
.content-container.embed .content.chat-content
{
/*	padding-top: 0; */
/*	padding-left: 25px; */
/*
	padding-left: 15px;
	width: auto;
*/
}
.content-container .icon-head-container
{
	margin-top: 10px;
}
.content-container.embed .chat-history-head
{
/*	padding-left: 28px; */
/*	padding-right: 20px; */
}
.vim-available .content-container.embed .chat-history-head
{
	padding-right: 75px;
}
.index-footer
{
	padding-left: 13px;
	padding-right: 7px;
}
.chat-history-fader
{
/*	margin: 0 5px; */
/*	margin-right: 20px; */
/*	background: red; */
}
.chat-history-fader-top
{
/*	height: 15px; */
	height: 0;
	top: 70px;
}
.chat-history-fader-bottom
{
/*	height: 17px; */
	height: 0;
	bottom: 70px;
}
.message-send
{
	padding: 10px 13px;
}
.message-recv
{
	padding: 10px 13px;
}
/*
.chat-footer .someone-is-typing
{
	padding-left: 66px;
}
*/
.chat-footer
{
/*
	margin-left: -28px;
*/
/*
	margin-left: -15px;
	margin-right: -15px;
	margin-top: -70px;
	padding: 10px 8px;
*/
	width: auto;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 10px 15px;
	box-sizing: border-box;
/*
	padding-top: 4px;
*/
	height: 70px;
}
.chat-footer textarea
{
    min-height: 50px;
	max-height: 50px;
	line-height: 20px;
    padding: 16px 18px;
    overflow-x: hidden;
/*    overflow-y: hidden; */
}
.chat-footer .message-container
{
	display: inline-block;
	margin: 0;
/*	left: 63px; */
/*	left: 68px; */
	left: 70px;
/*	right: 67px; */
/*	right: 62px; */
/*	right: 80px; */
	right: 70px;
	position: absolute;
}
/*
.content-container.embed .chat-footer .message-container
{
	right: 85px;
}
*/
.chat-footer .message-col-l
{
	float: left;
/*	width: 40px; */
	width: 45px;
}
.chat-footer .message-col-r
{
	float: right;
/*	width: 55px; */
	width: 47px;
}
/*
.content-container.embed .chat-footer .message-col-r
{
	width: 70px;
}
*/

	#wrapper.chat_for_user { /* wpex edit */
		/*overflow: hidden;
		max-height: 100%;
		min-height: 100%;*/
		height: 100%;
		min-height: 100%;
		max-height: 100%;
		overflow: hidden;
	}
	#wrapper.full-wrapper .content-container /* wpex edit */
	{

		height: 100%;

		min-height: 100%;
		overflow: hidden;
		padding-left: 0;
		padding-right: 0;
		/*max-height: 99999999px;*/
		/*height: auto;*/
	}

.chat-history-container-wrapper
{
	flex-grow: 100;
/*	margin-top: 71px; */
    top: 0;
    bottom: 0;
    /*left: 15px;*/

    right: 0;
    /*position: fixed;
    padding-top: 71px;*/

	/* wpex fix */
	/*padding-top: 0;
	top:71px;
	left: 0;
	padding-left: 15px;
	height: calc(100% - 141px);
	z-index: 9999999;
	padding-bottom: 70px;
	*/
	/*overflow-x: auto;*/
	/*-webkit-overflow-scrolling: touch;*/
position: relative;
	height: auto;
}

	#chat_history_container,
	#modal_chat_history_container {

		height: auto !important; /* wpex *!*/
	}

.chat_for_user #chat_history_container, .chat_for_user_embed  #chat_history_container,
.chat_for_user #modal_chat_history_container, .chat_for_user_embed  #modal_chat_history_container {

	max-height:100%;

	height: auto !important; /* wpex *!*/
	bottom:0;
	position: absolute;
	overflow-x: hidden;
	width: 100%;
	-webkit-overflow-scrolling: touch;

}
.chat-history
{
/*	padding-bottom: 80px; */
/*	margin-top: 80px; */
	padding-top: 0;
	overflow: hidden;
	/*width: 305px !important;*/
}
	.list-group /*	wpex; */
	{
		overflow: hidden;
		padding-left: 15px;
	}

	#wrapper.chat-waiting
	{
		height:100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	#wrapper.chat_for_user_embed .list-group,
	#wrapper.chat_for_user .list-group
	{
		display: flex;
		flex-direction: column;
		flex-flow: column nowrap;
		justify-content:flex-end;
	}

.chat-history-head
{
/*
background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,1) 86%, rgba(255,255,255,0) 100%);
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 86%,rgba(255,255,255,0) 100%);
background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 86%,rgba(255,255,255,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 );
*/
/*	padding-top: 12px; */
/*
	margin-left: -30px;
	padding-left: 30px;
*/
/*	padding-right: 23px; */
/*	padding-right: 5px; */
	padding-right: 15px;
	padding-left: 15px;
/* height: 78px; */
height: 70px;
 box-sizing: border-box;
	left: 0;
	right: 0;
	top: 0;
}
/*
.content-container.embed .chat-history-head
{
	padding-top: 0;
}
*/
.list-group-item.recv .message-time
{
/*
	margin-right: 55px;
*/
}
#menu .menu-buttons
{
	display: none;
}
.menu-input
{
	display: none;
}
#menu li
{
/*
	padding-right: 20px;
*/
}
.menu-container
{
/*
	width: 100%;
	display: block;
	min-height: 60px;
*/
	background: white;
/*
	position: fixed;
	z-index: 1000;
	top: 0;
	width: 100%;
	min-height: 68px;
*/
}
.content-container
{
/*
	margin-top: 68px;
*/
	min-height: 100%;
	/*padding-bottom: 25px; wpex */
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}
.menu-bar
{
	width: 100%;
	display: block;
	height: 68px;
/*
	background: #e0e0e0;
*/
	text-align: center;
	position: relative;
/*
	margin-bottom: 5px;
*/
}
.menu-bar .logo-container
{
	margin: auto;
	padding: 3px 0;
}
.menu-bar .logo
{
	margin: auto;
	max-height: 60px;
}
/*
.example-header .container
{
	width: 100%;
}
*/
a.menu-link
{
	position: absolute;
	display: block;
	right: 0;
/*
	color: #fff;
	background-color: #333;
	padding: 19px 10px;
*/
	float: right;
	text-decoration: none;
	color: #BCBCBC;
	padding: 10px;
	height: 68px;
}
a.menu-link div
{
	-webkit-transition: all 0.5s ease;  
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease; 
}
a.menu-link.active div
{
	-ms-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}
.menu
{
	clear: both;
	min-width: inherit;
	float: none;
}
.menu ul ul
{
	position: absolute;
	top: 100%;
}
.menu, .menu > ul ul
{
	overflow: hidden;
	max-height: 0;
/*
	background-color: #f4f4f4;
*/
/*
	-webkit-transition: all 0.7s ease;
	-moz-transition: all 0.7s ease;
	-ms-transition: all 0.7s ease;
	transition: all 0.7s ease;
*/
/*
	-webkit-transition: max-height 500ms linear;
	-moz-transition: max-height 500ms linear;
	-ms-transition: max-height 500ms linear;
	transition: max-height 500ms linear; 
*/
}
.menu > li > ul.sub-menu
{
	padding: 0px;
	border: none;
}
.menu.active,
.menu > ul ul.active
{
	max-height: 55em;
}
.menu ul
{
	display: inline;
}
.menu > ul
{
/*
	border-top: 1px solid #808080;
*/
}
.menu li,
.menu > ul > li
{
	display: block;
}
.menu li a
{
/*
	color: #000;
	padding: 0.8em;
	border-bottom: 1px solid #808080;
*/
	display: block;
	padding: 15px;
	position: relative;
	color: white;
	line-height: 60px;
	height: 60px;
	box-sizing: border-box;
/*
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	transition: all 0.3s linear;
*/
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.menu li a.menu-buttons
{
	display: none;
}
#menu li.has-submenu a
{
	padding-right: 40px;
}
#menu li.has-submenu > a
{
	padding-right: 15px;
	padding-left: 60px;
}
/*
.menu li.has-submenu > a:after
{
	content: '+';
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	padding: 15px 0;
	padding-right: 20px;
	font-size: 24px;
}
.menu li.has-submenu > a.active:after
{
	content: "-";
}
*/
.menu .menu-trigger
{
	display: inline-block;
}
.menu li.has-submenu > a > .menu-trigger
{
}
.menu li.has-submenu > a > .menu-trigger:after
{
	content: '+';
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	padding: 15px 20px;
	padding-right: 30px;
	font-size: 24px;
}
.menu li.has-submenu > a.active > .menu-trigger:after,
.menu li.has-submenu.active > a > .menu-trigger:after
{
	content: '–';
	padding-top: 13px;
}
.menu ul ul > li a
{
/*
	background-color: #e4e4e4;
	height:58px;
	padding: 19px 18px 19px 30px;
	padding: 12px;
*/
	line-height: 40px;
	height: 40px;
	font-size: 16px;
	box-sizing: border-box;
}
.menu ul ul > li:last-child a
{
	padding-bottom: 60px !important;
}
.menu ul ul, .menu ul ul ul
{
	display: inherit;
	position: relative;
	left: auto;
	top: auto;
	border:none;
}
#wrapper.floating-wrapper
{
/*	background: yellow !important; */
/*	display: none; */
	background: white !important;
}
#wrapper.floating-wrapper .chat-footer
{
/*	background: red; */
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.chat-content
{
	/*max-height: 100vh;
	height: 100vh;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;*/
	width: 100%;
	box-sizing: border-box;
	/*padding-left: 15px;*/
	padding-right: 0;

/*	wpex*/
	/*height: 100%;
	min-height: 100%;
	max-height: 100%;
	overflow: hidden;
	padding-left: 0;*/
}
/*
.chat-history-overlay
{
	vertical-align: center;
	padding-top: 130px;
}
*/
#wrapper.full-wrapper .menu-container
{
	display: none;
}
.chat-for-user .message-upload-button
{
	margin-top: 5px;
	margin-left: 10px;
}
.btn-block-xs
{
	width: 100%;
	display: block;
}
.edit-this-page-container
{
	display: none;
}
.panel-for-center
{
	max-width: 100%;
	width: 100%;
}
.chat-notification
{
	margin-bottom: 0;
}
.sticky-footer
{
	padding-left: 5px;
	padding-right: 5px;
}

.need-padded .chat-history-fader
{
/*
	left: 15px;
	right: 15px;
*/
	left: 10px;
	right: 10px;
}
.need-padded .chat-footer
{
/*
	left: 15px;
	right: 15px;
*/
	left: 10px;
	right: 10px;
}
.need-padded .chat-content
{
	padding-left: 25px;
	padding-left: 10px; /* wpex */
}
.need-padded .chat-history-head
{
	padding-left: 25px;
	padding-right: 25px;
}
.need-padded .chat-history-head .icon-head-container
{
/*	padding-right: 15px; */
}
.need-padded .content-container.embed .content.chat-content
{
}
.need-padded .content-container.embed .content:not(.chat-content)
{
	padding-left: 10px;
	padding-right: 10px;
}
.col-block-xxs
{
	margin-bottom: 50px;
}
/*
.message-container.reply-to-message-show .reply-to-message-container
{
	max-height: 129px;
	height: 129px;
	top: -129px;
}
body.reply-to-message-show .chat-history
{
	margin-bottom: 129px;
}
.message-container .reply-to-message-button
{
	opacity: 1.0;
	top: 14px;
}
*/
.emojione-for.emojione-for-small
{
	display: block;
}
.emoji-container .emoji-preview
{
	display: none;
}
.emoji-container .emoji-list
{
	padding-left: 0;
	display: block;
}
.emoji-container
{
/*
	left: -55px;
	right: -55px;
*/
	left: -70px;
	right: -70px;
	border-radius: 0;
}
.message-container.emoji-show .emoji-container
{
	max-height: 129px;
	height: 129px;
	top: -129px;
}
.emoji-container .emoji-list .emoji-list-scroller
{
	height: 129px;
	max-height: 129px;
}
.emoji-container .emoji-list .emoji-items-container
{
}
.emoji-container .emoji-list .emoji-items
{
	display: flex;
	flex-flow: column wrap;
	flex-wrap: initil;
	align-items: initial;
	justify-content: initial;
	align-content: initial;
/*
	max-height: 72px;
	height: 72px;
*/
/*
	max-height: 88px;
	height: 88px;
*/
	max-height: 150px;
	height: 150px;
}
.emoji-container .emoji-list .emoji-item-inserter
{
	display: block;
}
body.emoji-show .chat-history
{
	margin-bottom: 129px;
}
.emoji-container .emoji-list .emoji-list-scroller
{
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
}
.emoji-container .emoji-list .emoji-item-inserter.selected,
.emoji-container .emoji-list .emoji-item-inserter:hover
{
	border-color: transparent !important;
}
div.emoji-link
{
/*	margin-top: 37px; */
/*
	margin-top: 0;
	margin-bottom: 0;
	position: absolute;
	left: 0;
	right: 0;
	top: 170px;
	text-align: center;
	touch-action: none;
	pointer-events: none;
*/
	display: none;
}
.message-container .emoji-button
{
	opacity: 1.0;
	top: 14px;
}

.float-buttons.float-buttons-at-top
{
	top: 4px;
	right: 64px;
}

}

@media all and (max-width: 450px)
{

.hidden-xxs
{
	display: none;
}
.icon.icon-head-first
{
/*	right: 30px; */
}
.btn-block-xxs
{
	width: 100%;
	display: block;
}
.col-block-xxs
{
	width: 100%;
	display: block;

}
/*
.popover
{
	min-width: 100%;
	max-width: 100%;
}
.popover .arrow
{
	display: none;
}
*/
.popover .popover-cookie
{
	max-width: 100% !important;
}
.content-container.embed .content
{
/*	padding: 15px 10px; */
}

}

@media all and (max-width: 991px)
{

.col-buttons
{
	text-align: center;
}
.col-buttons .btn-in-row
{
	display: block;
	padding-top: 1px;
	padding-bottom: 1px;
}
.list-group-item > .row .col-buttons input[type="checkbox"]
{
	margin: 0 auto !important;
	margin-top: 2px !important;
}

}

@media all and (max-width: 960px)
{

#wrapper.floating-wrapper .content-container
{
	width: 75%;
	max-width: 75%;
}

}

@media all and (max-width: 860px)
{

#wrapper.floating-wrapper .content-container
{
	width: 73%;
	max-width: 73%;
}

}

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

#wrapper.floating-wrapper .content-container
{
	width: 70%;
	max-width: 70%;
}

}

@media all and (max-width: 550px)
{

}

@media all and (max-height: 500px)
{

.chat-history-head
{
/*	padding-top: 5px; */
	height: 70px;
}
.chat-history-fader-top
{
    height: 0;
    top: 70px;
}
.chat-history-fader-bottom
{
    height: 0;
    bottom: 70px;
}
/*
.content
{
	padding-top: 65px;
}
*/
.chat-history
{
	padding-top: 0;
	padding-bottom: 0;
}
/*
.chat-content
{
	padding-left: 0;
}
.content-container .content:not(.chat-content) h1
{
	margin-top: 10px;
}
.content-container .content.chat-content h1
{
	margin-top: 10px;
}
*/

}

/* @media all and (min-width: 378px) and (max-width: 638px) */ /* 621 */
@media all and (min-width: 378px) and (max-width: 648px) /* 621 */
{

.content-with-sticky-footer
{
	margin-bottom: -168px;
}
.content-with-sticky-footer:after
{
	height: 168px;
}
.sticky-footer
{
	height: 168px;
}

}

@media all and (min-width: 1px) and (max-width: 387px) /* 360 */
{

.content-with-sticky-footer
{
	margin-bottom: -222px;
}
.content-with-sticky-footer:after
{
	height: 222px;
}
.sticky-footer
{
	height: 222px;
}
/*
	.embed-fix .chat-history-container-wrapper
	{
		top: 70px;
		bottom: 0;
		left: 0;
		right: 0;
		position: fixed;
		padding-top: 0;
		padding-bottom: 0;
		height: calc(100% - 140px);
		overflow-y: auto;
	}
	.embed-fix #wrapper.full-height
	{
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
	}

	.embed-fix .chat-history
	{
		width:100%;

	}

	.embed-fix  .content-container.embed .content.chat-content
	{
		width:100%;
	}*/
	/*
	.embed-fix .chat-footer
	{
		position: absolute;
	}*/
}
