/* Header CSS */

html {

	position: relative;

	overflow: hidden;

	height: 100%;

}



body {

	position: relative;

	overflow: hidden;

	height: 100%;

	margin: env(safe-area-inset-bottom, 50px) !important;

}



@media screen and (orientation: portrait) {

	.ui-mobile .ui-page {

		min-height: 100vh !important;

	}

}

.ui-content {
    border-width: 0;
    overflow: visible;
    overflow-x: hidden;
    background-color: white;
    padding: 2em;
    background-color: white;
}


.ui-header {

	border: none !important;

	background-color: #6f8477 !important;

	text-align: center !important;

	text-shadow: none !important;

	font-weight: normal !important;

}



.ui-header img {

	width: auto;

	height: 50px;

	padding: 7px 0 !important;

}

.ui-header h1 {

	font-size: 22px !important;

	color: #fff;

}



.ui-navbar ul li a {

	border: none !important;

}

.ui-loader-background {

	width: 100%;

	height: 100%;

	top: 0;

	margin: 0;

	background: rgba(0, 0, 0, 0.3);

	display: none;

	position: fixed;

	z-index: 100;

}



.ui-loading .ui-loader-background {

	display: block;

}



.image {

	-webkit-border-radius: 50px;

	-moz-border-radius: 50px;

	border-radius: 50px;

	border-top-left-radius: 50px !important;

	border-bottom-left-radius: 50px !important;

	width: 50px;

	height: auto;

	margin-top: 15px;

	margin-left: 10px;

}

.chat-item a {

	padding-left: 5em !important;

}

.chat-item small {

	float: right;

	color: rgb(158, 157, 157);

}

*,

*:before,

*:after {

	box-sizing: inherit;

}



html {

	box-sizing: border-box;

	height: 100%;

	margin: 0;

	padding: 0;

}



.page {

	width: 100%;

	height: 100%;

	display: flex;

	align-items: center;

	justify-content: center;

}



.marvel-device .screen {

	text-align: left;

}



.screen-container {

	height: 100%;

}



/* Status Bar */



.status-bar {

	height: 25px;

	background: #004e45;

	color: #fff;

	font-size: 14px;

	padding: 0 8px;

}



.status-bar:after {

	content: '';

	display: table;

	clear: both;

}



.status-bar div {

	float: right;

	position: relative;

	top: 50%;

	transform: translateY(-50%);

	margin: 0 0 0 8px;

	font-weight: 600;

}



/* Chat */



.chat {

	height: calc(100% - 100px);

	margin-top: 40px;

}



.chat-container {

	height: 100%;

}



/* User Bar */



.user-bar {

	height: 55px;

	background: #6f8477;

	color: #fff;

	padding: 0 15px;

	font-size: 24px;

	position: fixed;

	z-index: 1;

	top: 0;

	width: 100%;

	left: 0;

}



.user-bar:after {

	content: '';

	display: table;

	clear: both;

}



.user-bar div {

	float: left;

	transform: translateY(-50%);

	position: relative;

	top: 50%;

	margin-right: 20px;

}



.user-bar .actions {

	float: right;

	margin: 5px 0 0 10px;

}



.user-bar .actions img {

	height: 28px;

}

.user-bar .actions.more {

	margin: 0 12px 0 20px;

}



.user-bar .actions.attachment {

	margin: 0 0 0 20px;

}



.user-bar .actions.attachment i {

	display: block;

	/*   transform: rotate(-45deg); */

}



.user-bar .avatar {

	margin: 0 0 0 5px;

	width: 36px;

	height: 36px;

}



.user-bar .avatar img {

	border-radius: 50%;

	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);

	display: block;

	width: 100%;

}



.user-bar .name {

	font-size: 17px;

	font-weight: 600;

	text-overflow: ellipsis;

	letter-spacing: 0.3px;

	margin: 0 0 0 8px;

	overflow: hidden;

	white-space: nowrap;

	width: 110px;

}



.user-bar .status {

	display: block;

	font-size: 13px;

	font-weight: 400;

	letter-spacing: 0;

}



/* Conversation */



.conversation {

	height: calc(100% - 12px);

	position: relative;

	/* background: url('https://i.ibb.co/3s1f9Jq/default-wallpaper.png') repeat; */

	background: #efe7de;

	z-index: 0;

}



.conversation ::-webkit-scrollbar {

	transition: all 0.5s;

	width: 5px;

	height: 1px;

	z-index: 10;

}



.conversation ::-webkit-scrollbar-track {

	background: transparent;

}



.conversation ::-webkit-scrollbar-thumb {

	background: #b3ada7;

}



.name span {

	text-shadow: none !important;

	font-weight: 700 !important;

	font-family: sans-serif !important;

}

.conversation .conversation-container {

	height: calc(100% - 68px);

	box-shadow: inset 0 10px 10px -10px #000000;

	overflow-x: hidden;

	padding: 10px 16px;

	margin-bottom: 19px;

}



.conversation .conversation-container:after {

	content: '';

	display: table;

	clear: both;

}



/* Messages */



.message {

	color: #000;

	clear: both;

	line-height: 18px;

	font-size: 15px;

	padding: 8px;

	position: relative;

	margin: 8px 0;

	max-width: 85%;

	word-wrap: break-word;

	z-index: -1;

}



.message:after {

	position: absolute;

	content: '';

	width: 0;

	height: 0;

	border-style: solid;

}



.metadata {

	display: inline-block;

	float: right;

	padding: 0 0 0 7px;

	position: relative;

	bottom: -4px;

}



.metadata .time {

	color: rgba(0, 0, 0, 0.45);

	font-size: 11px;

	display: inline-block;

}



.metadata .tick {

	display: inline-block;

	margin-left: 2px;

	position: relative;

	top: 4px;

	height: 16px;

	width: 16px;

}



.metadata .tick svg {

	position: absolute;

	transition: 0.5s ease-in-out;

}



.metadata .tick svg:first-child {

	-webkit-backface-visibility: hidden;

	backface-visibility: hidden;

	-webkit-transform: perspective(800px) rotateY(180deg);

	transform: perspective(800px) rotateY(180deg);

}



.metadata .tick svg:last-child {

	-webkit-backface-visibility: hidden;

	backface-visibility: hidden;

	-webkit-transform: perspective(800px) rotateY(0deg);

	transform: perspective(800px) rotateY(0deg);

}



.metadata .tick-animation svg:first-child {

	-webkit-transform: perspective(800px) rotateY(0);

	transform: perspective(800px) rotateY(0);

}



.metadata .tick-animation svg:last-child {

	-webkit-transform: perspective(800px) rotateY(-179.9deg);

	transform: perspective(800px) rotateY(-179.9deg);

}



.message:first-child {

	margin: 16px 0 8px;

}



.message.received {

	background: #fff;

	border-radius: 0px 5px 5px 5px;

	float: left;

}



.message.received .metadata {

	padding: 0 0 0 16px;

}



.message.received:after {

	border-width: 0px 10px 10px 0;

	border-color: transparent #fff transparent transparent;

	top: 0;

	left: -10px;

}



.message.sent {

	background: #b9c4bc;

	border-radius: 5px 0px 5px 5px;

	float: right;

	text-shadow: none !important;

}



.message.sent:after {

	border-width: 0px 0 10px 10px;

	border-color: transparent transparent transparent #b9c4bc;

	top: 0;

	right: -10px;

}



/* Compose */



.conversation-compose {

	display: flex;

	flex-direction: row;

	align-items: flex-end;

	overflow: hidden;

	height: 40px;

	width: 100%;

	z-index: 2;

}



.conversation-compose div,

.conversation-compose input {

	background: #fff;

	height: 100%;

}



.conversation-compose .emoji {

	display: flex;

	align-items: center;

	justify-content: center;

	background: white;

	border-radius: 50% 0 0 50%;

	flex: 0 0 auto;

	margin-left: 8px;

	width: 38px;

	height: 38px;

}



.conversation-compose .input-msg {

	border: 0;

	flex: 1 1 auto;

	font-size: 14px;

	margin: 0;

	outline: none;

	min-width: 50px;

	height: 36px;

}



.conversation-compose .photo {

	flex: 0 0 auto;

	border-radius: 0 30px 30px 0;

	text-align: center;

	width: auto;

	display: flex;

	padding-right: 6px;

	height: 38px;

}



.conversation-compose .photo img {

	display: block;

	color: #7d8488;

	font-size: 24px;

	transform: translate(-50%, -50%);

	position: relative;

	top: 50%;

	margin-left: 10px;

}



.conversation-compose .send {

	background: transparent;

	border: 0;

	cursor: pointer;

	flex: 0 0 auto;

	margin-right: 8px;

	padding: 0;

	position: relative;

	outline: none;

	margin-left: 0.5rem;

}



.conversation-compose .send .circle {

	background: #008a7c;

	border-radius: 50%;

	color: #fff;

	position: relative;

	width: 38px;

	height: 38px;

	display: flex;

	align-items: center;

	justify-content: center;

}



.conversation-compose .send .circle i {

	font-size: 24px;

	margin-left: 1px;

}



/* Small Screens */



@media (max-width: 768px) {

	.marvel-device.nexus5 {

		border-radius: 0;

		flex: none;

		padding: 0;

		max-width: none;

		overflow: hidden;

		height: 100%;

		width: 100%;

	}



	.marvel-device > .screen .chat {

		visibility: visible;

	}



	.marvel-device {

		visibility: hidden;

	}



	.marvel-device .status-bar {

		display: none;

	}



	.screen-container {

		position: absolute;

		top: 0;

		left: 0;

		right: 0;

		bottom: 0;

	}



	.conversation {

		height: calc(100vh - 100px);

	}

	.conversation .conversation-container {

		height: calc(100vh - 120px);

	}

}



.ui-footer .ui-input-text {

	display: inline-block;

	width: 78%;

	margin-right: 5px;

	margin-left: 15px;

	border-radius: 25px;

	padding: 1px 10px;

	border: 2px solid #6f8477;

	text-shadow: none;

	box-shadow: none;

}



.circle {

	display: inline-block;

	background: #6f8477;

	border-radius: 50px;

	width: 40px;

	height: 40px;

}

.circle i {

	display: block;

	padding: 10px;

	color: #fff;

}



.innerlogo {

	position: absolute;

	height: 65px;

	right: 10px;

}



.ui-input-search {

	margin: 0.5em 0;

	border: 1px solid #ddd !important;

	box-shadow: none !important;

	border-radius: 20px;

	padding: 0 0 0 5px !important;

}

.ui-input-search::after {

	left: 0.6em !important;



	width: 15px !important;

	height: 15px !important;

}

.ui-listview {

	box-shadow: none !important;

	margin-top: 20px !important;

}

.ui-listview li {

	box-shadow: none !important;

	background: #fff !important;

}

.ui-listview li a {

	border: none !important;

	border-bottom: 1px solid #ddd !important;

	border-radius: 0px !important;

	background-color: none !important;

	background: none !important;

	box-shadow: none !important;

}



.ui-page {

	background: #fff !important;

}



.btnlogin {

	background-color: #6f8477 !important;

	color: #fff !important;

	text-shadow: none !important;

}



.ui-footer .ui-link {

	color: #6f8477 !important;

}

.ui-btn-icon-top:after {

	top: 0.5625em;

	color: red !important;

	background-color: #6f8477 !important;

}

.ui-btn-active {

	background: #a3b2b628 !important;

	text-shadow: none !important;

}

.chatfooter {

	background: #fff !important;

}



.ui-navbar .ui-btn:focus {

	background: none !important;

	box-shadow: none !important;

}

/* TOAST MESSAGE CSS */

.toast__msg {

	max-width: 290px;

	min-height: 50px;

	line-height: 50px;

	color: #fff;

	padding-left: 10px;

	padding-right: 10px;

	text-transform: initial;

	margin-bottom: 10px;

	background-color: #404040;

	border-radius: 3px;

	box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);

	word-break: break-all;

	font-size: 15px;

	font-weight: 400;

	opacity: 0;

	-webkit-transform: translateY(20px);

	transform: translateY(20px);

	will-change: transform;

	position: fixed;

	top: 15%;

	left: 10%;

}



.toast__msg--show {

	opacity: 1;

	-webkit-transform: translateY(0);

	transform: translateY(0);

}



.ui-btn-inline {

	display: inline-block;

	vertical-align: middle;

	padding: 5px 10px;

	margin-right: 0.625em;

	border: 1px solid #6f8477 !important;

	color: #6f8477;

}

