
.bm-container {
	width: auto;
	min-width: 500px; /* min screen size */
	display: inline-block;
}

#bm-conversation-area {
	width: auto;
	max-width: 100%;
	max-height: 320px;
	overflow: auto;
	padding-right: 10px; /* FIXME only add padding if vertical scrollbar is added*/
	padding-left: 10px; /* FIXME only add padding if vertical scrollbar is added*/
	/* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); */
	border-bottom: 1px solid #E6E6E6
}

.chat-question {
	color: white !important;
	line-height: 1.4;
	display: block;
	margin: 0.5rem 0;
	padding: 0.5rem;
	background: #B03136;
}

.show-more-link {
	color: #F3D483 !important;
	line-height: 1.4;
	display: block;
	padding: 0.5rem;
}
.bm-conversation-bubble-container + .bm-conversation-bubble-container {
	margin-top: 20px;
}
.bm-conversation-bubble {
	padding: 10px 15px 8px 15px;
	display: inline-block;
	border-radius: 10px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.2);
	max-width: 80%;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}
.bm-conversation-response {
	background-color: #e8e8e8;
	color: #323232;
	position: relative;
	left:15px;
}

.myc-image-response {
	padding: 9px 6px 6px 6px;
}
.myc-quick-reply {
	display: block;
	margin-top: 6px;
}
.myc-image-response img {
	max-width: 300px;
	max-height: 200px;
	display: inline-block;
}
.bm-conversation-request {
	background-color: #952D38;
	color: #fff;
	position: relative;
	left:5px;
}
#bm-input-area {
	margin-top: 10px;
	clear: both;
	display: block;
}
#bm-input-area input {
	margin-bottom: 0;
}
#bm-text {
	max-width: 100%;
	min-width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
}
.myc-debug {
	margin-top: 10px;
}
#myc-debug-data {
	max-width: 100%;
}
.bm-conversation-bubble-container-response {
	text-align: left;
}

.bm-datetime {
	margin-top: 2px;
	font-style: italic;
	font-color: #888;
}


/* Overlay */
.bm-content-overlay {

	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 350px;
	display: block;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	z-index: 999;
	/*background-color: #fff;*/
	text-align: left;
	border-radius: 10px;

}
.bm-content-overlay-header {
	width: 330px;
	font-weight: 600;
	line-height: 50px;
	font-size: 16px;
	padding-left: 10px;
	padding-right: 10px;
	display: block;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.bm-content-overlay-powered-by {
	background-color: #e5e5e5;
	color: #333;
	font-size: 80%;
	padding: 5px;
	text-align: right;
	font-style: italic;
}
.bm-content-overlay-header .bm-icon-toggle-down, .bm-content-overlay-header .bm-icon-toggle-up {
	line-height: 40px;
	float: right;
	margin-top:5px;
	margin-right: 5px;

}
.bm-content-overlay-header .bm-icon-toggle-down, .bm-content-overlay-header .bm-icon-toggle-up .bm-chatLog-up{
	flex-shrink: 0;
	flex-grow: 0;
	z-index: 1;
	height: 40px;
	width: 40px;
	display: none;
}
.bm-content-overlay-header .bm-icon-toggle-down, .bm-content-overlay-header .bm-icon-toggle-down .bm-chatLog-down{
	flex-shrink: 0;
	flex-grow: 0;
	z-index: 1;
	width: 40px;
	display: none;
	text-align: right;
	margin-right: 5px;
}
.bm-content-overlay-header {
	cursor: pointer;
	background-color: #952D38 !important;
	width: 100%;
	color: #fff !important;
	font-size: 18px;
	font-weight: 600;
	padding-left: 15px;
	padding-top: 5px;
	padding-bottom: 4px;
}
.bm-content-overlay-container {
	display: block;
	background-color: #fff;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	/* box-shadow: 0 0 3px rgba(0,0,0,.3); */
}
.bm-content-overlay-container .bm-container {
	width: 100% !important;
	min-width: auto !important;
	display: block;
}
.bm-content-overlay-container .bm-container #bm-conversation-area {
	max-height: inherit;
	display: block;
	height: 350px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.bm-content-overlay-container .myc-image-response img {
	max-width: 100%;
}

.bm-content-overlay-container #bm-input-area {
	padding: 10px;
	margin-top: 0px;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width : 320px) and (max-width : 480px) {
	.bm-container {
		min-width: 100%;
		width: 100%;
		max-height: 320px;
	}
	.myc-image-response img {
		max-width: 100%;
	}
	.bm-content-overlay {
		background-color: #fff;
		height: 75%;
	}
	.bm-content-overlay-container {
		font-size: 100%;
	}
}

@media only screen and (min-width : 320px) and (max-width : 480px) and (orientation: landscape) {
	.bm-content-overlay-container .bm-container #bm-conversation-area {
		max-height: 170px;
		height: 75%;
	}
}
@media only screen and (min-width : 320px) and (max-width : 480px) and (orientation: portrait) {
	.bm-content-overlay-container .bm-container #bm-conversation-area {
		max-height: 330px;
		height: 75%;
	}
}


/* Loader */
@keyframes blink {
	50% {
		color: transparent;
	}
}
#bm-conversation-area .bm-loading {
	display: block;
	padding: 6px 9px;
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
	vertical-align: center;
}
#bm-conversation-area .bm-icon-loading-dot {
	animation: 1s blink infinite;
	font-size: 1em;
	display: clear;
	margin-left: 2px;
	margin-right: 2px;
}
#bm-conversation-area .bm-icon-loading-dot:nth-child(2) {
	animation-delay: 750ms;
}
#bm-conversation-area .bm-icon-loading-dot:nth-child(3) {
	animation-delay: 1500ms;
}


@font-face {
	font-family: 'bm-icons';
	src:  url('../fonts/icons.eot?6tk1sz');
	src:  url('../fonts/icons.eot?6tk1sz#iefix') format('embedded-opentype'),
	url('../fonts/icons.ttf?6tk1sz') format('truetype'),
	url('../fonts/icons.woff?6tk1sz') format('woff'),
	url('../fonts/icons.svg?6tk1sz#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="bm-icon-"], [class*=" bm-icon-"] {
	/* use !important to prevent issues with browser extensions that change fonts */
	font-family: 'bm-icons' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.bm-icon-loading-dot:before {
	content: "\f111";
}

.bm-chatLog-avatar {
	flex-shrink: 0;
	flex-grow: 0;
	z-index: 1;
	height: 40px;
	width: 40px;
	border-radius: 25px;
	margin-left: 15px;
	margin-bottom: 2px;
	vertical-align: top;

}

.bm-content-bubble {
	width: 75px;
	height: 75px;
	background-color: #952D38;
	border-radius: 50%;
	text-align: center;
	padding-top: 20px;
	color: #fff !important;
	cursor: pointer;
}

.bm-form-style {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.bm-form-style > #bm-input-area > input {
	border: none;
	box-shadow: inset 0px 0px 0px 0px white;
	background: transparent;
}

.bm-for-rent {
	background-color: #F3D483 !important;
}
