/**
* notifications
*/

.bubble_kn_btn {
	width: 40px;
	height: 40px;
	background-color: #8c1618;
	border-radius: 20px;
	line-height: 44px;
	margin-top: 3px;
	text-align: center;
	/*margin-left: 20px; /* dirty ia position fix*/
	position: relative;
	cursor: pointer;
}

.bubble_kn_btn .fa {
	color: #fa0;
	font-size: 20px;
	margin-left: -2px;
}

.bubble_kn_btn .fa-times {
	display: none;
	color: #490809;
	text-shadow: 0px 0px 3px #fa0, 0px 0px 1px #fa0, 0px 0px 2px #fa0;
}

.bubble_kn_btn_badge .fa-bars {
	color: #fff;
	font-size: 13px;
}

.bubble_kn_btn_badge {
	position: absolute;
	top: -2px;
	left: -2px;
	line-height: 20px;
	background-color: #631012;
	border-radius: 10px;
	height: 20px;
	font-size: 10px;
	min-width: 20px;
	z-index: 2;
}

.bubble_kn_btn.bubble_kn_btn--open .fa-paper-plane {
	display: none;
}

.bubble_kn_btn.bubble_kn_btn--open .fa-times {
	display: inline-block;
}

.bubble_kn_list_btn {
	display: none;
	position: absolute;
	top: 30px;
	left: 30px;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	text-align: center;
	cursor: pointer;
	background-color: #550809;
}

.bubble_kn_list_btn .fa-location-arrow {
	position: absolute;
	top: -5px;
	left: -4px;
	z-index: 0;
	-moz-transform: scale(-1, 1);
	-webkit-transform: scale(-1, 1);
	-o-transform: scale(-1, 1);
	-ms-transform: scale(-1, 1);
	transform: scale(-1, 1);
	color: #550809;
}

.bubble_kn_btn.bubble_kn_btn--open .bubble_kn_list_btn {
	display: block;
}

@media (min-width: 501px) {
	.bubble_kn_btn.bubble_kn_btn--open .bubble_kn_list_btn {
		display: none;
	}
}

.kn_bubbles_cnt {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	-webkit-transition: top 0.5s ease, left 0.5s ease;
	transition: top 0.5s ease, left 0.5s ease;
	background-color: #000;
	z-index: 998;
}

.kn_bubbles_cnt__position_outside {
	top: -100vh;
}

.kn_bubbles_cnt__position_outside_right {
	left: 100vw;
}

.kn_bubbles_cnt__position_outside_left {
	left: -100vw;
}

.chat_bubbles_cnt {
	max-width: 480px;
	margin: 0 auto;
	box-sizing: border-box;
}

.chat_bubbles_scroll_cnt {
	height: calc(100vh - 64px);
	overflow-y: scroll;
	overflow-x: hidden;
	position: absolute;
	bottom: 64px;
	width: 100%;
}

.bubbles_more_cnt {
	display: none;
}

.chat_bubbles {
	padding-top: calc(100vh - 100px);
	width: 82%;
	margin: 0 auto;
}

.chat_bubbles div.from-me, .chat_bubbles div.from-them {
	max-width: 255px;
	overflow-wrap: break-word;
	margin-bottom: 6px;
	line-height: 18px;
}

.chat_bubbles > div:last-child {
	margin-bottom: 12px;
}

.chat_bubbles p {
	padding: 0;
	margin: 0;
}

.clear {
	clear: both
}

.from-me {
	position: relative;
	padding: 8px 14px;
	color: white;
	background: #c9002b; /* Old browsers */
	background: -moz-linear-gradient(top, #c9002b 1%, #aa0b0b 10%, #6d0019 60%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #c9002b), color-stop(10%, #aa0b0b), color-stop(60%, #6d0019)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #c9002b 1%, #aa0b0b 10%, #6d0019 60%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #c9002b 1%, #aa0b0b 10%, #6d0019 60%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #c9002b 1%, #aa0b0b 10%, #6d0019 60%); /* IE10+ */
	background: linear-gradient(to bottom, #c9002b 1%, #aa0b0b 10%, #6d0019 60%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9002b', endColorstr='#6d0019', GradientType=0); /* IE6-9 */
	border-radius: 16px;
	float: right;
}

.from-me :before {
	content: "";
	position: absolute;
	z-index: -1;
	bottom: -2px;
	right: -7px;
	height: 20px;
	border-color: #6d0019;
	background-color: #6d0019;
	border-right: 20px solid #6d0019;
	border-bottom-left-radius: 16px 14px;
	-webkit-transform: translate(0, -2px);
	-ms-transform: translate(0, -2px);
	-moz-transform: translate(-30px, -2px);
	transform: translate(0, -2px);
}

.from-me :after {
	content: "";
	position: absolute;
	z-index: 1;
	bottom: -2px;
	right: -56px;
	width: 26px;
	height: 20px;
	background: black;
	border-bottom-left-radius: 10px;
	-webkit-transform: translate(-30px, -2px);
	-ms-transform: translate(-30px, -2px);
	-moz-transform: translate(-30px, -2px);
	transform: translate(-30px, -2px);
}

.from-them {
	position: relative;
	padding: 8px 14px;
	background: #aaaaaa; /* Old browsers */
	background: -moz-linear-gradient(top, #aaaaaa 1%, #8e8e8e 10%, #4f4f4f 40%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #aaaaaa), color-stop(10%, #8e8e8e), color-stop(40%, #4f4f4f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #aaaaaa 1%, #8e8e8e 10%, #4f4f4f 40%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #aaaaaa 1%, #8e8e8e 10%, #4f4f4f 40%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #aaaaaa 1%, #8e8e8e 10%, #4f4f4f 40%); /* IE10+ */
	background: linear-gradient(to bottom, #aaaaaa 1%, #8e8e8e 10%, #4f4f4f 40%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#aaaaaa', endColorstr='#4f4f4f', GradientType=0); /* IE6-9 */
	border-radius: 16px;
	color: #fff;
	float: left;
}

.from-them:before {
	content: "";
	position: absolute;
	z-index: 2;
	bottom: -2px;
	left: -7px;
	height: 20px;
	border-color: #4f4f4f;
	background-color: #4f4f4f;
	border-left: 20px solid #4f4f4f;
	border-bottom-right-radius: 16px 14px;
	-webkit-transform: translate(0, -2px);
	-ms-transform: translate(0, -2px);
	-moz-transform: translate(-30px, -2px);
	transform: translate(0, -2px);
}

.from-them:after {
	content: "";
	position: absolute;
	z-index: 3;
	bottom: -2px;
	left: 4px;
	width: 26px;
	height: 20px;
	background: black;
	border-bottom-right-radius: 10px;
	-webkit-transform: translate(-30px, -2px);
	-ms-transform: translate(-30px, -2px);
	-moz-transform: translate(-30px, -2px);
	transform: translate(-30px, -2px);
}

.bubble_input {
	clear: both;
	width: 100%;
	margin: 0px auto;
	position: absolute;
	bottom: 0px;
	height: 64px;
}

.bubble_progress {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 0;
	height: 3px;
	background-color: #0f0;
	z-index: 2;
}

.bubble_progress.almost_full {
	background-color: #ffbb00;
}

.bubble_progress.full {
	background-color: #f00;
}

.bubble_input textarea {
	position: absolute;
	top: 3px;
	left: 0px;
	width: 74%;
	height: 60px;
	background-color: #333;
	border: 0px solid #777;
	outline: none;
	-webkit-appearance: none;
	color: #fff;
	line-height: 16px;
	padding: 2px 6px;
	box-sizing: border-box;
	font-size: 12px;
	resize: none;
	border-radius: 0;
	padding-left: 50px;
}

.bubble_send {
	width: 26%;
	position: absolute;
	top: 3px;
	height: 60px;
	left: 74%;
	background-color: #444;
	font-size: 14px;
	color: #ccc;
	text-align: center;
	line-height: 60px;
	cursor: pointer;
	overflow: hidden;
}

.bubble_send > div {
	height: 60px;
	-webkit-transition: margin-top 1s;
	transition: margin-top 1s;
}

.bubble_action_skip > div:first-child {
	margin-top: -60px;
}

.bubble_input_user_pic {
	position: absolute;
	z-index: 3;
	top: 8px;
	left: 4px;
	width: 40px;
	height: 40px;
	border-radius: 100px;
	background-size: cover;
	background-color: #333;
}

.bubble_input_user_to {
	position: absolute;
	z-index: 4;
	top: 36px;
	left: 2px;
	width: 16px;
	height: 16px;
	text-align: center;
	line-height: 16px;
	border-radius: 100px;
	background-color: #fff;
	color: #000;
	font-size: 10px;
	font-family: Arial;
	opacity: 0.5;
}

.bubble_input_user_name {
	position: absolute;
	z-index: 3;
	top: 48px;
	left: 0px;
	width: 46px;
	font-size: 10px;
	color: #fff;
	text-align: center;
	line-height: 16px;
	overflow-wrap: break-word;
	height: 16px;
	overflow: hidden;
}