@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

body {
	margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}
.app {
	min-height: 100vh;
	position: relative;
	color: #3b3b3b;
}
.conversation {
	height: calc(100vh - 58px);
	overflow-y: scroll;
	overflow-x: hidden;
	padding: 0 20px;
}
.conversation .header {
	background: #ee7203;
	height: 60px;
	position: fixed;
	left: -3px;
	width: 100vw;
	padding: 0 20px;
	-webkit-box-align: center;
	align-items: center;
	flex-wrap: nowrap;
	display: flex;
	z-index: 100;
}
.conversation .header span {
	display: flex;
	color: #ffffff;
	font-weight: bold;
	margin-left: 10px;
}
.conversation .header img {
	width: 32px;
	height: auto;
	border-radius: 100%;
    border-width: 3px;
	background: #ffffff;
	padding: 2px;
	display: flex;
}
.conversation .message-wrap {
	margin: 16px 0;
	position: relative;
}
.conversation .message-wrap:nth-child(2) {
	margin: 76px 0;
}
.conversation .message-wrap .logo {
	width: 32px;
	height: 32px;
	position: absolute;
	top: 0;
	left: 0;
}
.conversation .message-wrap.me {
	text-align: right;
}
.conversation .message-wrap.you {
	padding-left: 45px;
}
.conversation .message-wrap .message-sender {
	font-weight: bold;
	display: block;
	margin-bottom: 5px;
}
.conversation .message-wrap .message-content {
	padding: 12px 16px;
    background: #F5F5F5;
	border-radius: 0px 8px 8px;
	display: inline-block;
	line-height: 1.45em;
	text-align: left;
	max-width: 80%;
}
.conversation .message-wrap.me .message-content {
	background: #ee7203;
	border-radius: 8px 0px 8px 8px;
	color: #ffffff;
}
.conversation .message-wrap .time {
	font-size: 12px;
}
.messenger {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	height: auto;
	padding: 8px 20px;
	box-sizing: border-box;
	border-top: 2px solid #F5F5F5;
	height: auto;
	display: flex;
	width: 100%;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	justify-content: space-between;
	flex-wrap: nowrap;
}
.messenger .text {
	width: auto;
	flex-basis: inherit;
	padding: 15px;
	box-sizing: border-box;
	margin-right: 10px;
	border: 0;
}

.messenger .text:focus {
	border: 0;
	outline: 0;
}

.messenger input[type="text"] {
	flex: 1;
	padding: 8px 0 !important;
    font-size: 16px;
    line-height: 22px;
}
.messenger .submit {
	transition: all .25s ease-out;
	display: flex;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	justify-content: center;
	align-items: center;
}

.messenger .submit:hover {
	transition: all .25s ease-out;
	background-color: rgba(238,114,3,.1);
}

.messenger .submit svg {
	margin-left: -3px;
	width: 20px;
    height: 20px;
	fill: #ee7203;
}

.message-content a {
	overflow-wrap: break-word;
	word-wrap: break-word;
  
	-ms-word-break: break-all;
	/* This is the dangerous one in WebKit, as it breaks things wherever */
	word-break: break-all;
	/* Instead use this non-standard one: */
	word-break: break-word;
  
	/* Adds a hyphen where the word breaks, if supported (No Blink) */
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}


/* body,
.app {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
} */

/* .app .conversation .message-wrap .message-content {
    line-height: 1.45em !important;
    background-color: #F5F5F5;
    padding: 12px 16px;
} */

/* .app .conversation .message-wrap {
    margin: 16px 0;
} */

.app .typing {
	box-sizing: border-box;
    width: 85px;
    height: 32px;

    position: relative;
    padding: 12px 16px;
    /* margin-left: 5px; */
    background: #F5F5F5;
    border-radius: 0px 8px 8px;
}

.app .typing__dot {
    float: left;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: #8d8c91;
    border-radius: 50%;
    opacity: 0;
    animation: loadingFade 1s infinite;
}

.app .typing__dot:nth-child(1) {
    animation-delay: 0s;
}

.app .typing__dot:nth-child(2) {
    animation-delay: 0.2s;
}

.app .typing__dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loadingFade {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
    }
}