﻿html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
	background: #fff;
}

body {
	font: 500 18px/1.6 'Robotto', sans-serif;
    overflow-x:hidden;
}

main,
#WhatsAppContainer,
#WhatsApp {
}


/* 
header 
------
*/

#header {
	display: none;
	justify-content: flex-end;
	background: #094e41;
	color: #fff;
	width: 100%;
	text-transform: uppercase;
	text-align: left;
	padding: 2px 20px;
}

#header i {
	margin: 0 5px;
}

#WhatsAppHeader {
	display: flex;
	background: #0b8577;
	color: #fff;
	padding: 20px;
	flex-direction: column;
	position: relative;
}

#WhatsAppHeader>div a {
	color: #fff;
}

#WhatsAppHeader .WhatsAppHeader {
	flex-direction: row;
	display: flex;
	margin: 0 0 20px 0;
	justify-content: center;
}

#WhatsAppHeader .WhatsAppHeader>div:first-child {
	flex-grow: 4;
	font-size: 25px;
	font-weight: 500;
}

#WhatsAppHeader .WhatsAppHeader>div i {
	margin: 0 20px;
	font-size: 20px;
}

#WhatsAppHeader .WhatsAppHeader .WhatsAppMenuIcon i {
	margin-right: 0;
}

#WhatsAppHeader .WhatsAppHeader>div img {
	vertical-align: text-bottom;
}

#WhatsAppHeader .WhatsAppTabs {
	display: flex;
	margin: 7px 0 0;
	justify-content: space-around;
}

#WhatsAppHeader .WhatsAppTabs button {
	font-size: 16px;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 700;
	color: #72aeac;
	position: relative;
	text-align: center;
	width: 100%;
	border: none;
	background: none;
}

#WhatsAppHeader .WhatsAppTabs a i {
	font-size: 20px;
}

#WhatsAppHeader .WhatsAppTabs button:hover,
#WhatsAppHeader .WhatsAppTabs button:focus {
	color: #fff;
}

#WhatsAppHeader .WhatsAppTabs button:hover:after,
#WhatsAppHeader .WhatsAppTabs button:focus:after {
	content: '';
	width: 100%;
	height: 3px;
	background: #fff;
	position: absolute;
	bottom: -20px;
	left: 0;
}


/*
------------------
Whats app Contacts
------------------
*/

#WhatsAppContainer {
	background: #fff;
	-webkit-box-shadow: inset 1px 8px 11px -7px rgba(0, 0, 0, 0.56);
	box-shadow: inset 1px 8px 11px -7px rgba(0, 0, 0, 0.56);
	height: 100%;
}


/*
----
item
----
*/

#WhatsAppContainer .WhatsApp-item {
	position: relative;
	padding: 0px 15px;
	display: -webkit-box;
	/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;
	/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;
	/* TWEENER - IE 10 */
	display: -webkit-flex;
	/* NEW - Chrome */
	display: flex;
	width: 100%;
	align-items: center;
	flex-wrap: nowrap;
}


/*
-----
image
-----
*/

#WhatsAppContainer .WhatsApp-item .profile-img {
	position: relative;
	vertical-align: middle;
	width: 60px;
	height: 60px;
	text-align: center;
	border-radius: 90px;
}

 


/*
-------
content
-------
*/

#WhatsAppContainer .WhatsApp-item .content {
	text-align: left;
	vertical-align: middle;
	/* border-bottom: 1px solid #ddd; */
	margin: 0 0 0 15px;
	padding: 15px 0;
	flex-direction: row;
	display: flex;
	width: 100%;
}

#WhatsAppContainer .WhatsApp-item:first-child {
	 padding-top: 10px!important;
}

#WhatsAppContainer .WhatsApp-item:last-child {
	padding-bottom:10px;
}
/*
-------------------
name and attributes
-------------------
*/

#WhatsAppContainer .WhatsApp-item .content .WhatsAppUser {width: 100%;}

#WhatsAppContainer .WhatsApp-item .content .WhatsApp-name {
	margin: 0;
	line-height: 100%;
	font-size: 17px;
	font-weight: 600;
	text-overflow: ellipsis;
	overflow: hidden;
	/* width: 250px; */
	white-space: nowrap;
}

#WhatsAppContainer .WhatsApp-item .content .WhatsApp-message {
	margin: 5px 0 0;
	font-size: 16px;
	color: #666;
	text-overflow: ellipsis;
	overflow: hidden;
	width: auto;
	white-space: nowrap;
	max-width: 270px;
}

#WhatsAppContainer .WhatsApp-item .content .WhatsApp-message span {
	margin: 0 4px;
	font-weight: normal;
}

#WhatsAppContainer .WhatsApp-item .content .WhatsApp-message span:first-child {
	margin-left: 0;
}

#WhatsAppContainer .WhatsApp-item .content .WhatsApp-message span img {
	max-width: 20px;
}


/*
--------------------
Time & Notifications
--------------------
*/

#WhatsAppContainer .WhatsApp-time {
	color: #666;
	margin: 0;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 500;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	width: 40%;
}

#WhatsAppContainer .WhatsApp-time.unread {
	color: #14c45f;
}

#WhatsAppContainer .WhatsApp-time .time {
	margin-bottom: 5px;
	text-align: right;
}

#WhatsAppContainer .WhatsApp-time .notifications {
	background: #14c45f;
	border-radius: 50px;
	color: #fff;
	width: 24px;
	height: 24px;
	text-align: center;
	line-height: 24px;
}


/*
 -----
 Calls
 -----
 */

#WhatsAppContainer .WhatsApp-call {
	align-items: center;
	justify-content: center;
	display: flex;
	color: #0b8577;
	font-size: 20px;
}


/*
Status
------
*/

#WhatsAppContainer #status {
	padding: 20px;
	height: 100%;
	background: url(../img/WhatsApp.jpg) no-repeat;
	background-attachment: fixed;
	background-size: cover;
}


/*
Chats
-----
*/

#WhatsAppContainer #chats {
	padding: 20px;
	height: 100%;
	background: url(../img/WhatsApp.jpg) no-repeat;
	background-attachment: fixed;
	background-size: cover;
}


/*
Speech bubbles 
--------------
*/

#WhatsAppContainer .speech-bubble {
	position: relative;
	background: #d3ffda;
	border-radius: 23px;
	font-size: 15px;
	line-height: 17px;
	padding: 15px;
	margin-left: 40px;
	box-shadow: 0px 1px 5px #bbb;
	margin-top: 15px;
	font-weight: normal;
}

#WhatsAppContainer .speech-bubble:first-child {
	margin-top: 0;
}

#WhatsAppContainer .speech-bubble:after {
	content: '';
	position: absolute;
	right: 0;
	top: 10%;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-left-color: #d3ffda;
	border-right: 0;
	border-bottom: 0;
	margin-top: 0px;
	margin-right: -14px;
}

#WhatsAppContainer .speech-bubble.me {
	margin-left: 0;
	margin-right: 40px;
	margin-top: 15px;
	background: #fff;
}

#WhatsAppContainer .speech-bubble.me:after {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-right-color: #fff;
	border-left: 0;
	border-bottom: 0;
	margin-top: 0px;
	margin-left: -10px;
}


/*
-----------------
Send a message :)
-----------------
*/

#WhatsAppMessageContainer {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
}

.WhatsAppMessage {
	display: flex;
	flex-grow: 1;
	width: 100%;
	padding: 6px 20px;
	border: 1px solid #ccc;
	position: relative;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	-ms-border-radius: 50px;
	border-radius: 50px;
	align-items: center;
	background: #fff;
	-o-border-radius: 50px;
	-webkit-box-shadow: 0 2px 14px #ccc;
	-moz-box-shadow: 0 2px 14px #ccc;
	box-shadow: 0 2px 14px #ccc
}


/* line 75, scss/custom/custom.scss */

.WhatsAppMessage {
	margin-top: 20px;
}


/* line 82, scss/custom/custom.scss */

.WhatsAppMessage i {
	font-size: 16px;
	color: #999;
	transform: rotateX(0deg);
	font-weight: bold;
	margin: 0 0 0 15px;
}

.WhatsAppMessage i:first-child {
	margin-left: 0;
}


/* line 89, scss/custom/custom.scss */

.WhatsAppMessage img {
	right: 15px !important;
	left: auto;
	top: 10px;
}


/* line 95, scss/custom/custom.scss */

.WhatsAppMessage input[type="text"] {
	width: 100%;
	height: 30px;
	padding: 0 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: 0;
	font-size: 16px;
	color: #999;
	overflow: hidden;
}


/* line 104, scss/custom/custom.scss */

.WhatsAppMessage input[type="text"]:focus,
.WhatsAppMessage input[type="text"]:active {
	outline: none;
}

.WhatsAppMicrophone {
	border-radius: 50px;
	background: #0b8577;
	width: 60px;
	height: 50px;
	color: #fff;
	text-align: center;
	line-height: 50px;
	font-size: 20px;
	margin: 0 0 0 15px;
}


/*
 ------
 Footer
 ------
 */

footer {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	background: #0b8577;
	justify-content: space-around;
	padding: 20px;
	text-transform: uppercase;
	bottom: 0;
	width: 100%;
}

footer a {
	color: #fff;
	text-align: center;
	text-decoration: none;
	font-size: 11px;
	font-weight: 700;
}

footer a:hover,
footer a:focus {
	color: #fff;
}

footer a i,
footer a img {
	display: block!important;
	margin: 4px;
	font-size: 20px;
}

@media only screen and (max-width:400px) {
	#WhatsAppContainer .WhatsApp-item .content .WhatsApp-message, #WhatsAppContainer .WhatsApp-item .content .WhatsApp-name {
		max-width: 200px;
	}
}

@media only screen and (max-width:350px) {
	#WhatsAppContainer .WhatsApp-item .content .WhatsApp-message, #WhatsAppContainer .WhatsApp-item .content .WhatsApp-name {
		max-width: 170px;
	}
}
@media only screen and (max-width:330px) {
	#WhatsAppContainer .WhatsApp-item .content .WhatsApp-message, #WhatsAppContainer .WhatsApp-item .content .WhatsApp-name {
		max-width: 140px;
	}
}
@media only screen and (min-width:600px) {
	#WhatsAppContainer .WhatsApp-item .content .WhatsApp-message, #WhatsAppContainer .WhatsApp-item .content .WhatsApp-name {
		max-width: 600px;
	}
}