html { overflow: hidden; height: 100%; }
body { overflow-x: hidden; overflow-y: scroll; height: 100%; }

textarea, 
pre {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  resize: none;
}

/* textarea and submit */
#messageForm {
    background-color: #f0f4f7;
    border-top: 1px solid #ececec;
    bottom: 0;
    min-height: 60px;
    position: absolute;
    width: 100%;
    z-index: 9999;
    overflow: hidden;
}

#messageForm textarea {
    border-radius: 8px;
    color: #8495a3;
    display: table;
    float: left;
    font-family: "Helvetica";
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 10px 60px;
    min-height: 30px;
    padding: 10px;
    z-index: 9999;
    overflow: hidden;
}

#optionsMenu{
	/* display: none; */
	position: absolute; 
	z-index: 8888; 
	height: 93px; 
	bottom: 60px; 
	overflow-x: scroll; 
	padding: 10px 15px 5px; 
	width: 100%; 
	background-color: #fff; 
	border-top: #ececec solid 1px;
	border-left: #ececec solid 1px;
}
.optionsInner{
	height: 82px;
	width: 500px;
	overflow: scroll;
	text-align: center;
	font-size: 10px;
}
.optionsInner img{
	margin-right: 10px;
	border-radius: 100px;
	border: #ccc solid 1px;
}
.optionsInner a{
	line-height: 2.2em;
	float: left;
	width: 60px;
	height: 80px;
	text-transform: uppercase;
	font-weight: bold;
	font-family: "Helvetica";
	color: #999;
	margin-right: 10px;
}
.openOptionsContainer{
	margin: 10px auto;
	width: 60px;
	float: left;
	text-align: center;
	position: absolute;
	bottom: 0px;
	z-index: 9999;
}
.openOptionsContainer button{
	width: 40px;
	height: 40px;
	background-color: #fff;
	border: #ececec solid 1px;
	border-radius: 100px;
}

.send_msg {
    background-color: #f0f4f7;
    border: 0 none;
    bottom: 0;
    color: #8495a3;
    float: right;
    font-size: 1.5em;
    height: 60px;
    padding: 5px;
    position: absolute;
    right: 0;
    width: 60px;
    z-index: 9999;
}
/* end expanding area */

/* header */
#header{
	height: 60px;
	width: 100%;
	background-color: #ececec;
	position: fixed;
	top: 0px;
	z-index: 7777;
}
.fixfixed .header, 
.fixfixed .footer { 
    position: absolute; 
} 
#chat-messages.animate {
    margin-top: 0;
    opacity: 1;
}
#chat-messages-container{
	margin-top: 60px;
	display: table;
	width: 100%;
}
#chat-messages {
    height: 100%;
    opacity: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    padding-right: 20px;
    transition: all 200ms cubic-bezier(0, 0.995, 0.99, 1) 0s;
    width: 100%;
}
#chat-messages label {
    color: #aab8c2;
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin: 15px 0;
    text-align: center;
    width: 100%;
}
#chat-messages div.message {
    clear: both;
    display: table;
    margin-bottom: 15px;
    padding: 0 0 30px 58px;
    width: 100%;
}
#chat-messages .message .img {
    border-radius: 50%;
    float: left;
    margin-left: -38px;
    margin-top: 2px;
    width: 30px;
}
.message .bubble {
    background: #f0f4f7 none repeat scroll 0 0;
    border-radius: 0;
    color: #8495a3;
    float: left;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 13px;
    position: relative;
}
.message span{
	text-align: left;
}
.message.right span{
	text-align: right;
	margin-right: 0px;
}

.bubble .corner {
    background: rgba(0, 0, 0, 0) url("../images/bubble-corner.png") no-repeat scroll 0 0;
    top: 0;
    height: 7px;
    left: -7px;
    position: absolute;
    width: 7px;
}
.bubble span {
    bottom: -22px;
    color: #aab8c2;
    font-size: 11px;
    line-height: 11px;
    position: absolute;
    right: 0;
    min-width: 100%;
    white-space: nowrap;
}


#chat-messages div.message.right .bubble {
    border-radius: 0;
    float: right;
}
#chat-messages div.message.right {
    margin-left: 19px;
    margin-right: -19px;
    padding: 0 56px 30px 0;
    text-align: right;
}
#chat-messages div.message.right .img {
    float: right;
    margin-left: 0;
    margin-right: -38px;
}
div.message.right .corner {
    background: rgba(0, 0, 0, 0) url("../images/bubble-cornerR.png") no-repeat scroll 0 0;
    left: auto;
    right: -5px;
}
#chatview, #sendmessage {
    border-radius: 0;
    overflow: hidden;
}



#sendmessage {
    background: #fff none repeat scroll 0 0;
    border-top: 1px solid #e7ebee;
    bottom: 0;
    height: 60px;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 7777;
}

#sendmessage textarea {
    background: #fff none repeat scroll 0 0;
    border: medium none;
    color: #aab8c2;
    font-family: "Open Sans",sans-serif;
    font-size: 14px;
    margin: 10px 0 0 15px;
    padding: 0;
    width: 80%;
}
#sendmessage button {
    background: #fff url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/245657/send.png") no-repeat scroll 0 -41px;
    border: medium none;
    height: 30px;
    position: absolute;
    right: 15px;
    top: 23px;
    width: 30px;
}

ul.messenger.messenger-fixed.messenger-on-bottom{
	top: 0px !important;
}
ul.messenger.messenger-fixed.messenger-on-top, ul.messenger.messenger-fixed.messenger-on-bottom {
    left: 0 !important;
    margin-left: 0;
    width: 100% !important;
}
ul.messenger-theme-air .messenger-message{
	background-color: rgba(255, 255, 255, 0.8);
	border: 0 none;
	border-radius: 0px;
	box-shadow: 0 0 0 1px #fff inset, 0 2px #fff inset, 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.2);
	color: #666;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 1em;
	padding: 10px 30px 11px 46px;
	position: relative;
	transition: background-color 0.4s ease 0s;
 }
 
 /* Card Style */
.card{
	max-height: 200px;
	overflow: hidden;
}
.card-cover{
	width: 100%;
}
.cover-title {
    color: #fff;
    font-family: "Hind",sans-serif;
    font-size: 1.7em;
    padding: 40px 30px;
    position: absolute;
    z-index: 5579;
}
.card-controls{
	position: absolute; z-index: 5580; bottom: 20px; right: 20px; font-size: 40px;
}
.card-controls a{
	color: #fff;
}
.card-cover img{
	width: 100%;
	display: table;
}
.cover-darken-overlay{
	background-color: rgba(0,0,0,0.5); min-height: 100%; position: absolute; z-index: 5578; width: 100%;
}
 