
.chat-container {
	position : fixed;
	left : 0;
	/*top : 400;*/
	/*top : 0;*/
	bottom : 416px;
	box-sizing: border-box;
	margin : 0;
	-webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);		
	border-radius : 0 8px 8px 0;
	cursor : pointer;
	z-index : 100;
}

.chat-container.disabled {
	opacity: 0.5;
	cursor: default;
	display: none;
	transition: all 0.2s ease;
}

.chat-container.open {
	width : 300px;
	bottom : 8px;
	margin-left: 0.25rem;
	cursor : default;
	border-radius : 8px;
}


.chat-container .chat-header {
	position : relative;
	box-sizing: border-box;
	background : rgba(128, 195, 66, 1);
	height : 48px;
	padding : 0.5rem;
	border-radius : 0 8px 8px 0;
}

.chat-container:hover .chat-header {
	padding : 0.5rem 0.5rem 0.5rem 1.5rem;
}

.chat-container.open:hover .chat-header, .chat-container.disabled:hover .chat-header {
	padding : 0.5rem;
}

.chat-container.open .chat-header {
	border-radius : 8px 8px 0 0;
}

.chat-container .chat-header .chat-header-bubble {
	width : 100%;
	
}

.chat-container .chat-header .chat-header-bubble {
	position : relative;
	box-sizing: border-box;
	float: left;
	width : 20%;
	cursor : pointer;
	
}

.chat-container.disabled .chat-header .chat-header-bubble {
	cursor : default;
}

.chat-container .chat-header .chat-header-bubble img {
	width : 36px;
}

.chat-container.open .chat-header .chat-header-bubble img {
	opacity : 0;
}	

.chat-container .chat-header .chat-header-label {
	display : none;
}

.chat-container.open .chat-header .chat-header-label {
	position : relative;
	box-sizing: border-box;
	float: left;
	width : 60%;
	box-sizing: border-box;
	text-align  : center;
	font-size : 1.25rem;
	padding-top : 2px;
	line-height : 1.8rem;
	font-family: "Acer Foco","Trebuchet MS",Arial,sans-serif;
	color : #fff;
	
	display : block;
}

.chat-container .chat-header .chat-header-close {
	display : none;
}

.chat-container.open .chat-header .chat-header-close {
	position : relative;
	box-sizing: border-box;
	float: left;
	width : 20%;
	text-align : right !important;
	padding-right : 0.25rem;
	padding-top : 6px;
	display: block;
}

.chat-container.open .chat-header .chat-header-close a {
	display : inline-block !important;
}

.chat-container .chat-header .chat-header-close img {
	width : 22px;
}

.chat-container .chat-forms {
	display : none;
}

.chat-container.open .chat-forms {
	position : relative;
	display : block;
	box-sizing: border-box;
	background: #fff;
}


.chat-container.open .chat-reactive {
	position : relative;
	height : 400px;
	box-sizing : border-box;
	background : #fff;
}

.chat-container .chat-reactive iframe {
	width : 100%;
	height : 100%;
	box-sizing : border-box;
}

.chat-container .chat-footer {
	display : none;
}

.chat-container.open .chat-footer {
	position : relative;
	box-sizing: border-box;
	background : #efeff4;
	height : 8px;
	border-radius : 0 0 8px 8px;
	display : block;
}	

.chat-container.open .chat-footer.proactive {
	position : relative;
	box-sizing: border-box;
	background : #efeff4;
	height : 8px;
	border-radius : 0 0 8px 8px;
	display : block;		
}

.chat-proactive {
	position : relative;
	height : 400px;
	box-sizing : border-box;
	display : none;
}

.chat-proactive-invitation {
	position : relative;
	padding : 4px 4px 4px 16px;
	box-sizing : border-box;
}

.chat-proactive-controls {
	position : absolute;
	bottom : 0;
	width : 100%;
	box-sizing : border-box;
	background : #efeff4;
	border-top: 1px solid #bbb;
}

.chat-proactive-controls .chat-proactive-controls-input {
	position : relative;
	box-sizing : border-box;
	padding : 0.25rem;
	width : 100%;
	
}

.chat-proactive-controls .chat-proactive-controls-input textarea {
	display : block;
	box-sizing : border-box;
	width : 100%;
	height : 80px;
	margin: 0;
	padding: 0;
}

.chat-proactive-controls .chat-proactive-controls-buttons {
	position : relative;
	box-sizing: border-box;

}

.rn_MessagePost { 
	float : left; 
	position:relative; 
	border-radius : 4px; 
	margin : 6px !important; 
	display:inline-block; 
	padding : 8px; 
	font-family : "Trebuchet MS";
	color : #4d5357 !important; 
	background : #e7e7e9; 
	padding-left : 12px; 
	padding-right : 12px; 
	clear : both; 
	font-size : 14px; 
	line-height : 18px !important;
}

.rn_MessagePost a {
	color : #4d5357 !important; 
	text-decoration : underline !important;
	
}

.rn_MessagePostAgent { 
	background : #cee895; 
	margin-left : 10px; 
	float : left; 
}

.rn_MessagePostAgentTail {
	background-color: #cee895;
	display: block;
	height: 16px;
	left: -7px;
	position: absolute;
	bottom: 4px;
	transform:             rotate( 45deg );
	-moz-transform:    rotate( 45deg );
	-ms-transform:     rotate( 45deg );
	-o-transform:      rotate( 45deg );
	-webkit-transform: rotate( 45deg );
	width: 16px;
}	


/* invitation */

#engagement {
	padding: 0.25rem !important;
}

.yui-overlay, .yui-panel-container {
	position : relative !important;
}

.yui-skin-sam .yui-panel {
	background : none !important;
	border : none !important;
}

.yui-skin-sam .yui-panel .hd {
	display : none !important;
}

.yui-skin-sam .yui-panel .bd {
	display : none !important;
}

.yui-skin-sam .container-close {
	display : none !important;
}

.yui-skin-sam .yui-panel-container.shadow .underlay {
	display : none;
}

.yui-skin-sam .yui-dialog .ft {
	padding : 0 !important;
	background : none !important;
	border : none !important;
}

.yui-skin-sam .yui-button {
	display : inline-block !important;
	background: transparent !important;
	border: 2px solid #aaa !important;
	
	border-radius: 8px !important;
	cursor: pointer !important;
	margin: auto .15em !important;
	outline: 0 !important;
	padding: 0.25rem 0.5rem !important;
	text-align: center !important;
	text-transform: uppercase !important;
	vertical-align: middle !important;
	white-space: nowrap !important;
	-webkit-transition: all 0.2s ease !important;
	transition: all 0.2s ease !important;
	-ms-touch-action: manipulation !important;
	touch-action: manipulation !important;
	text-decoration: none !important;
	border-collapse: separate !important;  		
}

.yui-skin-sam .yui-button .first-child {
	padding : 0 !important;
	margin : 0 !important;
	border : none !important;
}

.yui-skin-sam .yui-button button {
	font-size: 14px !important;
	font-weight: bold !important;
	line-height: 1 !important;	
	color: #aaa !important;
	padding : 0 !important;
	margin : 0 !important;
	min-width : 40px;
	font-family: "Acer Foco","Trebuchet MS",Arial,sans-serif;
}

.yui-skin-sam .yui-button:hover {
	background: #aaa !important;
}

.yui-skin-sam .yui-button:hover button {
	color : #efeff4 !important;
}

.yui-skin-sam .yui-dialog .ft > span:first-child {
	border: 2px solid rgb(128, 195, 66) !important;	
}

.yui-skin-sam .yui-dialog .ft > span:first-child button {
	color : rgb(128, 195, 66) !important;
}

.yui-skin-sam .yui-dialog .ft > span:first-child:hover {
	background: rgb(128, 195, 66) !important;	
}

.yui-skin-sam .yui-dialog .ft > span:first-child:hover button {
	color : #efeff4 !important;
}	

.yui-skin-sam .yui-dialog .ft .rn_RefuseDiv {
	padding : 0.25rem 0 0 0.25rem;
}

.yui-skin-sam .yui-dialog .ft .rn_RefuseDiv input {
	vertical-align : middle;
}

.yui-skin-sam .yui-dialog .ft .rn_RefuseDiv label {
	font-family: "Acer Foco","Trebuchet MS",Arial,sans-serif;
	font-size : 0.875rem;
	line-height : 1.5rem;
	vertical-align : middle;
	color : rgba(0, 0, 0, 0.7);
}

@media screen and (max-width: 800px) { 

.chat-container {
	top : 50%;
	margin-bottom : -16px;
	bottom : auto;
}

.chat-container.open {
	position :fixed;
	top: 0;
	bottom: 0;
	width : 100%;
	height : 100%;
	margin : 0;
	border-radius : 0;
}

.chat-container.open .chat-header {
	border-radius : 0;
}

.chat-container.open .chat-forms {
	height : 100%;
}

.chat-container.open .chat-reactive {
    position: absolute;
    width: 100%;
    bottom: 48px;
    top: 0;
	height : auto;
}

.chat-container.open .chat-proactive {
    position: absolute;
    width: 100%;
    bottom: 48px;
    top: 0;
	height : auto;
}
	

}

