body {
	cursor: pointer !important;
}

.csChatbox {
	position: absolute;
	top: 0px;
	height: 100%;
	background: #f6f9fc;
	z-index: 999;
}

.csChatbox .convImgPreview {
	position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 90% auto;
    background-color: rgba(255,255,255,0.7);
    z-index: 999;
}

.csChatbox .convImgPreview .progress {
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: url(images/progress-blue@2x.gif) no-repeat 0 0;
    background-size: 35px;
	background-color: rgba(255,255,255,0.5);
	background-position: center;
}

.csChatbox .convImgPreview .btn {
	position: relative;
	top: 90%;
    min-width: unset;
    width: calc(80% / 2);
    box-sizing: border-box;
    margin: unset !important;
}

.csChatbox .convImgPreview .btn-close {
	float: left;
    margin-left: 5% !important;
}

.csChatbox .convImgPreview .btn-confirm {
	float: right;
    margin-right: 5% !important;
}

.csChatbox .content {
	height: 100% !important;
}

.csChatbox .convContent {
	width: 100%;
	height: calc(100% - 29px);
	padding: 40px 20px 40px 20px;
	overflow-y: auto;
	box-sizing: border-box;
	background-size: contain;
	background-position: center;
	background-color: #ebebeb;
    -webkit-overflow-scrolling: touch;
}

.csChatbox .convContent:after {
	content: "";
	display: table;
	clear: both;
}

.csChatbox .convContent ul {
	list-style: none;
}

.csChatbox .convContent li {
	position: relative;
	clear: both;
	-webkit-user-select: text !important;
	-moz-user-select: text !important;
}

.csChatbox .msg {
	padding: 5px 10px;
	margin-bottom: 25px;
	border-radius: 5px;
	max-width: 65%;
	font-size: 13px;
	white-space: pre-wrap;
}

.csChatbox .msg .name {
	position: absolute;
	top: -18px;
	left: 5px;
	color: #4d4d4d;
	font-size: 12px;
}

.csChatbox .msg.system {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	color: grey;
	font-size: 12px;
}
.csChatbox .msg.system .msg-sys {
    color: #4d4d4d;
    background-color: #efefef;
    margin: 0 auto;
    border: 1px solid grey;
    border-radius: 5px;
    padding: 5px 10px;
    text-align: justify;
    margin-bottom: 2.5em;
    font-size: 13px;
}

.csChatbox .msg.left {
	float: left;
	background-color: white;
}

.csChatbox .msg.left:before {
	content: "";
	display: table;
	height: 10px;
	width: 10px;
	transform: rotate(45deg);
	position: absolute;
	top: 10px;
	left: -5px;
	background-color: white;
}

.csChatbox .msg.right {
	float: right;
	background-color: #A0E75B;
}

.csChatbox .msg.right:after {
	content: "";
	display: table;
	height: 10px;
	width: 10px;
	transform: rotate(45deg);
	position: absolute;
	top: 10px;
	right: -5px;
	background-color: #A0E75B;
}

.csChatbox .msg i {
	position: absolute;
	border-radius: 50%;
	width: 45px;
	height: 45px;
	left: -55px;
	top: 0px;
	background: #32c24d;
	border: 1px solid #32c24d;
	text-align: center;
	line-height: 45px;
	font-style: normal;
	color: #fff;
	font-size: 16px;
}

.csChatbox .msg .msg-txt {
	float: left;
	color: #4d4d4d;
	word-wrap: break-word;
	overflow-wrap: break-word;
	max-width: 100%;
	text-align: left;
	user-select: text;
}

.csChatbox .msg .msg-img {
	width: 45vw;
	height: auto;
	display: block;
	background-size: contain;
	background-repeat: no-repeat;
}

.csChatbox .msg .msg-img img, .csChatbox .msg .msg-txt img {
	width: 100%;
}

.csChatbox .msg .timestamp {
	margin-left: 5px;
	margin-top: 5px;
	font-size: 10px;
	float: right;
	text-align: right;
	min-width: 38px;
	color: #6e6e6e;
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer */
	-khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
	-webkit-user-select: none; /* Chrome, Safari, and Opera */
	-webkit-touch-callout: none; /* Disable Android and iOS callouts*/
}

.csChatbox .convBtm {
	width: calc(100% - 10px);
    margin: 0 5px;
	height: 50px;
	position: fixed;
	bottom: 0;
	background: #efefef;
}

.csChatbox .convSend {
	cursor: pointer;
	height: 40px;
	width: 45px;
	top: 5px;
	right: 3px;
	position: absolute;
	box-sizing: border-box;
}

.csChatbox .convSend[icon=txt] {
	background: url(images/sprite@2x.png) no-repeat -215px -405px;
	background-size: 250px;
}

.csChatbox .convSend[icon=img] {
	background: url(images/sprite@2x.png) no-repeat -94px -601px;
	background-size: 250px;
}

.csChatbox .convBox {
	width: calc(100% - 5px);
	height: 40px;
	margin: 5px auto auto 5px;
	border: 0.5px solid #d2d2d2;
	border-radius: 10px;
	box-sizing: border-box;
	background-color: #fff;
	padding: 7px 2px 2px 10px !important;
    padding-right: 45px !important;
	color: #000 !important;
	position: relative;
	text-align: left;
}

.register .csChatbox .convBtm .convBox {
	width: 88% !important;
	height: 40px !important;
	margin: 5px auto auto 5px;
	border-top: 1px solid #d2d2d2 !important;
	border-left: 1px solid #d2d2d2 !important;
	border-bottom: 1px solid #d2d2d2 !important;
	border-top-left-radius: 10px !important;
	border-bottom-left-radius: 10px !important;
	box-sizing: border-box;
	background-color: #fff !important;
	padding: 2px 2px 2px 10px !important;
	color: #000;
	position: relative;
	text-align: left;
	background: url() #fff;
	text-indent: unset;
}

.csChatbox .fileInput {
	visibility: hidden;
	position: absolute;
	background: magenta;
	height: 40px;
	box-sizing: border-box;
	margin-top: 5px;
	width: 45px;
	left: 85%;
	margin-left: 5px;
	z-index: 1;
}

.dialog-model {
	z-index: 99999;
}

.msg.loading div {
	display: inline-block;
    width: 36px;
    height: 1em;
    background-image: url(images/loading.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.csChatbox-container .satisfy {
	position: absolute;
	top:0;
	left:0;
	width: 100vw;
	height: 100vh;
    z-index: 9999;
}

.csChatbox-container .satisfy .curtain {
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,0.8);
}

.csChatbox-container .satisfy .satisfy-container {
	position: absolute;
    width:90vw;
    height: auto;
    top: 50%;
	left:50%;
	padding-bottom: 8vw;
	transform: translate(-50%, -50%);
	background-color: #fff;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
	border:1px solid #4d4d4d;
	z-index: 1;
}

.csChatbox-container .satisfy .satisfy-container .close {
	position: absolute;
    width: 5.3vw;
    height: 6vw;
    top: 3vw;
    right: 3vw;
    background-image: url(images/sprite@2x.png);
    background-size: 60vw;
    background-position: -55vw -32vw;
    background-repeat: no-repeat;
}

.csChatbox-container .satisfy .satisfy-container .title {
    text-align: center;
    margin-top:3vh;
	font-size: 3vh;
	color: #4d4d4d;
}

.csChatbox-container .satisfy .satisfy-container .satisfy-faces {
    position: relative;
    margin-top:4vh;
    width: 95%;
    height: 11.1vw;
    left:50%;
    transform: translateX(-50%);
    text-align: center;
}

.csChatbox-container .satisfy .satisfy-container .satisfy-faces li {
	position: relative;
    display:inline-block;
    width: 10vw;
    height:10vw;
    background-image: url(images/faces.png);
    background-repeat: no-repeat;
    background-size: 300px;
    opacity: 0.5;
    transition: all 500ms ease;
    border-radius: 50%;
    border: 0.5px solid white;
    cursor: pointer;
    border: 2px solid transparent;
}

.csChatbox-container .satisfy .satisfy-container .satisfy-faces li.selected {
    opacity: 1;
    background-color: rgba(0,0,0,0.3);
    border: 2px solid rgba(0,0,0,0.3);
}

.csChatbox-container .satisfy .satisfy-container .satisfy-faces li:not(:last-child) {
	margin-right: 5%;
}

.csChatbox-container .satisfy .satisfy-container .satisfy-faces li.face1 {
    background-position: 0 0;
}

.csChatbox-container .satisfy .satisfy-container .satisfy-faces li.face2 {
    background-position: -53px 0;
}

.csChatbox-container .satisfy .satisfy-container .satisfy-faces li.face3 {
    background-position: -105px 0;
}

.csChatbox-container .satisfy .satisfy-container .satisfy-faces li.face4 {
	background-position: -156px 0;
}

.csChatbox-container .satisfy .satisfy-container .satisfy-faces li.face5 {
    background-position: -209px 0;
}

.csChatbox-container .satisfy .satisfy-container .satisfy-faces li span {
	position: absolute;
	left: 50%;
	bottom: -5.5vw;
    transform: translateX(-50%);	
    word-break: keep-all;
    color: #000;
    font-size: 3vw;
}

.csChatbox-container .satisfy .satisfy-container textarea {
    position: relative;
    margin-top: 5vh;
    padding: 3vw 2vw !important;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    resize: none;
    border-radius: 2vw;
    box-sizing: border-box;
	border: 0.5px solid rgba(0,0,0,0.3);
	color: #000 !important;
}
.csChatbox-container .satisfy .satisfy-container ::placeholder {
	color: rgba(0,0,0,0.3);
}

.csChatbox-container .satisfy .satisfy-container .satisfy-send {
    position: relative;
    display: block;
    width: 40vw;
    height: 12vw;
    margin-top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    background-image: linear-gradient(#008eff, #0078d7);
    border-radius: 2vw;
    font-size: 5vw;
    text-align: center;
    line-height: 12vw;
    color: #fff;
    cursor: pointer;
}

.csChatbox-container .satisfy .satisfy-container .satisfy-send:active {
    background-image: linear-gradient(#0078d7, #008eff);
}

.side-menu .convBtm {
	width: calc(100% - 10px) !important;
    margin: 0 5px;
	height: 50px;
	position: fixed;
	bottom: 0;
	background: #efefef;
	-webkit-backface-visibility: hidden;
}

.side-menu .convBox {
	width: calc(100% - 4px)!important;
	height: 40px;
	margin: 5px auto auto 5px;
	border: 0.5px solid #d2d2d2;
	border-radius: 10px;
	box-sizing: border-box;
	background-color: #fff;
	padding: 7px 2px 2px 10px !important;
    padding-right: 45px !important;
	color: #000 !important;
	position: relative;
	text-align: left;
}

.button-secondary {
    color: #fff;
    border-radius: 25px;
    min-width: 100px;
    background: #40b3d6;
    border: 1px solid #40b3d6;
}
.button {
    width: auto;
    min-width: 55%;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    border-radius: 10px;
    display: inline-block;
}

.offline .msg-txt {
    color: darkgray !important;
    font-style: italic;
}


/* NEW */
.new-header {
    padding: 10px 0px;
    background-image: url('images/common-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
	background-color: transparent;
}

.input-box-container{
	/* bottom: 20px !important; */

	padding: 5px 5px 20px;
    background: #fff!important;
    margin: 0px 0px !important;
    /* bottom: -0px; */
    position: fixed;
    bottom: 0px !important;
}
	
.input-box{
	width: 100%;
	max-width: 100vw;
	height: 60px;
	box-sizing: border-box;
	color: #000 !important;
	position: relative;
	text-align: left;

	background-color: #fff;
    display: flex;
    align-items: center;
    border: 2px solid #59c8ff;
    border-radius: 10px;
	padding: 20px !important;
	padding-right: 50px !important;
}
.input-box:focus{
	border: 4px solid #59c8ff;
	outline: none;
}
.send-btn{
    top: 15px!important;
	right: 15px!important;
}

.csChatbox .msg.right, .csChatbox .msg.right:after  {
	background-color: #7ad5ff;
}

.csChatbox .msg.left,.csChatbox .msg.left:before  {
	background-color: #ededed;
}

.csChatbox .convContent{
	background-color: #fff;
	padding-bottom: 90px;
}