.chat-box {
	width: auto;
	height: auto;
}

.chat-box img {
	max-width: 100%;
}

.msg-header {
	width: 100%;
	height: 100%;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	display: inline-block;
	background-color: #0054A6;
	color: #fff;
}

.msg-header-img {
	width: 40px;
	margin: 10px;
	margin-left: 18px;
	margin-right: 18px;
	float: left;
}

.nombre-operador {
	margin-bottom: 5px;
}

.subtitulo-header {
	margin-top: 0px;
}

.msg-inbox {
	background-color: #fff;
	height: calc(100vh - 280px);
	overflow: auto;
}

.chats {
	padding: 30px 15px 30px 15px;
	background-color: #fff;
}

.msg-page {
	width: 100%;
	height: 100%;
	overflow-y: auto;
}

.received-chats-img {
	display: inline-block;
	width: 25px;
	float: left;
}

.received-msg {
	display: inline-block;
	padding: 0 0 0 10px;
	width: 90%;
	overflow: hidden;
}

.received-msg-inbox {
	max-width: 60%;
	float: left;
}

.received-msg-inbox p {
	background: #73B564 none repeat scroll 0 0;
	border-radius: 10px 10px 10px 0;
	color: #fff;
	margin: 0;
	padding: 10px 16px 10px 16px;
	width: 100%;
}

.time {
	color: #D4D1CB;
	display: block;
	font-size: 12px;
	margin: 2px 0 0;
}

.outgoing-chats {
	display: inline-block;
	padding: 0 0 0 10px;
	width: 100%;
	overflow: hidden;
}

.outgoing-msg-inbox {
	max-width: 85%;
	float: right;
}

.outgoing-msg-inbox p {
	background: #f6f8fa none repeat scroll 0 0;
	color: #5a5a5a;
	border-radius: 10px 10px 0 10px;
	margin: 0;
	padding: 10px 16px 10px 16px;
	width: 100%;
}

.time2 {
	color: #a3aab5;
	display: block;
	font-size: 12px;
	margin: 2px 0;
	text-align: right;
}

.msg-bottom {
	background-color: #ebebeb;
	width: 100%;
	height: auto;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	display: inline-block;
	padding: 5px;
}

.msg-bottom .input-group {
	float: right;
	margin: 15px;
	border-radius: 10px;
	width: 97%;
	background-color: #fff;
}

.msg-bottom .form-control {
	border: none !important;
	outline: none !important;
	border-radius: 10px !important;
}

.msg-bottom .input-group-text {
	background: #fff;
	border: 10px;
	border-radius: 10px;
}

.msg-bottom .input-group .fa {
	float: right;
}

.msg-bottom .input-group .enviar {
	color: #0054A6;
	cursor: pointer;
}

.msg-bottom .input-group .enviar:hover {
	color: #004782;
	decoration: none;
}

.msg-bottom .input-group-append {
	position: absolute;
	right: 0;
	z-index: 3;
	font-size: 24px;
}

.bottom-icons {
	float: left;
	margin-left: 15px;
	margin-top: 15px;
}

.bottom-icons .fa {
	color: #a3aab5;
	padding: 5px;
}

.bottom-icons .adjuntar {
	color: #a3aab5;
	cursor: pointer;
	font-size: 30px;
}

.bottom-icons .adjuntar:hover {
	color: #6C757D;
	decoration: none;
}

.msg-bottom .form-control:focus {
	box-shadow: none !important;
}

.msg-bottom .input-group:hover {
	box-shadow: 0 0 5px #00AEEF;
}

@media (max-width: 1320px) {
	.bottom-icons {
		margin-left: 0px;
	}
	.bottom-icons .adjuntar {
		font-size: 28px;
	}
}

@media (max-width: 1099px) {
	.msg-inbox {
		height: calc(100vh - 340px);
	}
}
	
@media (max-width: 991px) {
	.msg-inbox {
		height: calc(100vh - 330px);
	}
	.msg-bottom {
		width: 100%;
		height: auto;
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
		display: inline-block;
		padding: auto;
	}
	.msg-bottom .input-group {
		float: right;
		margin: 10px;
	}
	.bottom-icons {
		margin-left: 15px;
		margin-top: 10px;
		vertical-align: middle !important;
	}
	.bottom-icons .adjuntar {
		font-size: 30px;
	}
}

@media (max-width: 767px) {
	.msg-inbox {
		height: calc(100vh - 305px);
	}
	.msg-bottom .input-group {
		float: right;
		margin: 10px;
	}
	.bottom-icons {
		margin-left: 10px;
		vertical-align: middle !important;
	}
	.received-msg-inbox {
		max-width: 90%;
		float: left;
	}
	.outgoing-msg-inbox {
		max-width: 90%;
		float: right;
	}
}

@media (max-width: 599px) {
	.nombre-operador {
		font-size: 16px;
	}
}