/* Bit of normalisation */

/*body {
	background-color: #f2f6f8;
	color: #333333;
	font: 0.8125em/1.5 'Helvetica Neue', Helvetica, Arial, sans-serif;
}*/

/*img {
	display: block;
	height: auto;
	max-width: 100%;
}*/

.chat-bubble-container {
	overflow: hidden;
	padding: 10px;
	margin: 0 auto;
	max-width: 700px;	
	color: #333333;
	font: 12px 'Helvetica Neue', Helvetica, Arial, sans-serif;
	line-height: 16px;
	background-color: none;
}

/* .bubble */

.bubble {
	background: #18B3E4; /* Old browsers */
	background: -moz-linear-gradient(top,  #87e0fd 0%, #53cbf1 40%, #05abe0 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#87e0fd), color-stop(40%,#53cbf1), color-stop(100%,#05abe0)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* W3C */
	border: solid 1px rgba(0, 0, 0, 0.4);
	/* vendor rules */
	border-radius: 20px;
	/* vendor rules */
	box-shadow: inset 0 5px 5px rgba(255, 255, 255, 0.6), 0 1px 3px rgba(0, 0, 0, 0.2);
	/* vendor rules */
	box-sizing: border-box;
	clear: both;
	margin: 7px 0;
	padding: 5px 10px;
	position: relative;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
	max-width: 300px;
	word-wrap: break-word;
	left: 70px;
}

.bubble:before, .bubble:after {
	border-radius: 20px / 10px;
	content: '';
	display: block;
	position: absolute;
}

.bubble:before {
	border: 10px solid transparent;
	border-bottom-color: rgba(0, 0, 0, 0.5);
	bottom: 0;
	left: -8px;
}

.bubble:after {
	border: 9px solid transparent;
	border-bottom-color: #18B3E4;
	bottom: 1px;
	left: -6px;
}


.bubble_iphone {
	background: #18B3E4; /* Old browsers */
	background: -moz-linear-gradient(top,  #87e0fd 0%, #53cbf1 40%, #05abe0 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#87e0fd), color-stop(40%,#53cbf1), color-stop(100%,#05abe0)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* W3C */
	border: solid 1px rgba(0, 0, 0, 0.4);
	/* vendor rules */
	border-radius: 20px;
	/* vendor rules */
	box-shadow: inset 0 5px 5px rgba(255, 255, 255, 0.6), 0 1px 3px rgba(0, 0, 0, 0.2);
	/* vendor rules */
	box-sizing: border-box;
	clear: both;
	margin: 7px 0;
	padding: 5px 10px;
	position: relative;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
	max-width: 300px;
	word-wrap: break-word;
	left: 7px;
}

.bubble_iphone:before, .bubble_iphone:after {
	border-radius: 20px / 10px;
	content: '';
	display: block;
	position: absolute;
}

.bubble_iphone:before {
	border: 10px solid transparent;
	border-bottom-color: rgba(0, 0, 0, 0.5);
	bottom: 0;
	left: -8px;
}

.bubble_iphone:after {
	border: 9px solid transparent;
	border-bottom-color: #18B3E4;
	bottom: 1px;
	left: -6px;
}


.bubble_left {
	float: left;
}

.bubble_right {
	background: #9BEB44; /* Old browsers */
	background: -moz-linear-gradient(top,  #d2ff52 0%, #91e842 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d2ff52), color-stop(100%,#91e842)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #d2ff52 0%,#91e842 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #d2ff52 0%,#91e842 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #d2ff52 0%,#91e842 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #d2ff52 0%,#91e842 100%); /* W3C */
	clear: both;
	float: right;
	left: -70px;
}


.bubble_right:before {
	border-bottom-color: rgba(0, 0, 0, 0.5);
	border-radius: 20px / 10px;
	left: auto;
	right: -7px;
}

.bubble_right:after {
	border-bottom-color: #9BEB44;
	border-radius: 20px / 10px;
	left: auto;
	right: -5px;
}


.bubble_right_iphone {
	background: #9BEB44; /* Old browsers */
	background: -moz-linear-gradient(top,  #d2ff52 0%, #91e842 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d2ff52), color-stop(100%,#91e842)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #d2ff52 0%,#91e842 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #d2ff52 0%,#91e842 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #d2ff52 0%,#91e842 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #d2ff52 0%,#91e842 100%); /* W3C */
	clear: both;
	float: right;
	left: -7px;
}

.bubble_right_iphone:before {
	border-bottom-color: rgba(0, 0, 0, 0.5);
	border-radius: 20px / 10px;
	left: auto;
	right: -7px;
}

.bubble_right_iphone:after {
	border-bottom-color: #9BEB44;
	border-radius: 20px / 10px;
	left: auto;
	right: -5px;
}

.left_name {
	position: absolute;
	left: -165px;
	bottom: -5px;
	font-weight: 500;
	width: 150px;
	text-align: right;
}

.right_name {
	position: absolute;
	float: right;
	right: -165px;
	bottom: -5px;
	font-weight: 500;
	width: 150px;
}