body {
    padding-top: 0px;
    background-color: seashell;
    font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}
.centerDiv {
    text-align: center;
    margin: auto;
    padding: 10px;
}
.tiny {
    font-size: 10px;
}

.invisible {
    display: none;
}

.visible {
    display: block;
}

.toRight {
    float: right;
}

.mw200 {
    max-width: 200px;
}

.mw500 {
    max-width: 500px;
}

.mw400 {
    max-width: 400px;
}

.mh400 {
    max-height: 400px;
}

.mwh300 {
    max-width: 300px;
    max-height: 300px;
}

a {
    color: #00B7FF;
}

.noline {
    text-decoration: none;
    color: white;
}

.footer {
    background-color: #343a40;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar {
    padding-left: 30px;
}

@media (min-width: 768px) {
    .navbar-brand.abs {
        position: absolute;
        width: 100%;
        left: 0;
        text-align: center;
    }
}
/* Chat styling */
* {
	box-sizing: border-box;
}

input[type="text"],
button {
	padding: 4px 8px;
	border: 0;
	outline: 0;
}
button {
	background-color: transparent;
	cursor: pointer;
}
button:hover i {
	color: #79c7c5;
	transform: scale(1.2);
}

/* container */
.chat-container {
	width: 90vw;
	max-width: 600px;
	height: 90vh;
	margin: 20px auto;
	border-radius: 10px;
	background-color: #f9fbff;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	overflow: hidden;
}

/* chat_box */
.chat_box {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.chat_box > * {
	padding: 16px;
}

/* head */
.head {
	display: flex;
	align-items: center;
	background-color: #f9fbff;
	border-bottom: 1px solid #eee;
}
.head .user {
	display: flex;
	align-items: center;
	flex-grow: 1;
}
.head .user .avatar {
	margin-right: 8px;
}
.head .user .avatar img {
	display: block;
	border-radius: 50%;
}
.head .bar_tool {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
.head .bar_tool li {
	list-style: none;
}
.head .bar_tool span {
	display: inline-block;
	text-align: center;
	cursor: pointer;
}
.head .bar_tool i {
	padding: 5px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* playback speed */
.playback-speed {
	margin-left: 10px;
	margin-right: 10px;
}
.playback-speed select {
	padding: 5px 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 12px;
	background: white;
	cursor: pointer;
}
.playback-speed select:hover {
	border-color: #79c7c5;
}

/* body */
.body {
	flex-grow: 1;
	background-color: #eee;
	overflow-y: auto;
	position: relative;
}
.body .bubble {
	display: inline-block;
	padding: 10px;
	margin-bottom: 5px;
	border-radius: 15px;
	max-width: 80%;
}
.body .bubble p {
	color: #f9fbff;
	font-size: 20px;
	text-align: left;
	line-height: 1.4;
	margin: 0;
}
.body .incoming {
	text-align: left;
}
.body .incoming .bubble {
	background-color: #b2b2b2;
}
.body .outgoing {
	text-align: right;
}
.body .outgoing .bubble {
	background-color: #79c7c5;
}

/* phone mode full view */
.phone-mode {
	display: none;
	flex-grow: 1;
	background: #0f1724;
	color: #fff;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border-top: 1px solid #0b111b;
}
.phone-mode.active {
	display: flex;
}
.phone-mode .record-dot {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: #dc3545;
	box-shadow: 0 0 0 14px rgba(220, 53, 69, 0.35), 0 10px 30px rgba(0,0,0,0.4);
	border: 4px solid #fff;
	cursor: pointer;
}
.phone-mode .phone-mode-hint {
	margin-top: 14px;
	color: #e8eaed;
	font-weight: 600;
	text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.bar_tool #phoneToggle.phone-mode-on {
	color: #dc3545;
}

/* foot */
.foot {
	display: flex;
	background-color: #f9fbff;
	border-top: 1px solid #eee;
}
.foot .msg {
	flex-grow: 1;
	padding: 10px;
	border: none;
	outline: none;
	font-size: 14px;
}
.foot button {
	padding: 10px 15px;
	color: #79c7c5;
	font-size: 16px;
}

/* typing indicator */
.ellipsis {
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: #b7b7b7;
}
.dot_1 {
	animation: bounce 0.8s linear 0.1s infinite;
}
.dot_2 {
	animation: bounce 0.8s linear 0.2s infinite;
}
.dot_3 {
	animation: bounce 0.8s linear 0.3s infinite;
}
@keyframes bounce {
	50% {
		transform: translate(0, 5px);
	}
	100% {
		transform: translate(0, 0);
	}
}