

#templates{
	display: none;
}

.right{
	float:right;
}

.left{
	float:left;
}

.clear{
	clear:both;	
}


.hiden{
	display: none;
}


.rounded{
	border-radius: 3px; /* future proofing */
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;	
	-khtml-border-radius: 3px; /* for old Konqueror browsers */
}

.chat{
	position:relalive;
	width: 300px;
	/*height:400px;*/
	box-shadow: 1px 1px 10px #787878;
	position: fixed;
	bottom: 20px;
	right: 600px;
	/*display:none;*/ 
}

.chat .header{
	position:relative;
	width:100%;
	height: 25px;
	background: #713f75;
	cursor:pointer;
	opacity:.9;	
}


/*
.test:target{
	-webkit-animation: blink 1s step-end infinite;
	-webkit-animation-name: blink;
	-webkit-animation-duration: 1s;
	-webkit-animation-timing-function: step-end;
	-webkit-animation-delay: initial;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-direction: initial;
	-webkit-animation-fill-mode: initial;
	-webkit-animation-play-state: initial; 
}
 
*/


.blinking{
	animation:blink 1s step-end infinite;
	-webkit-animation:blink 1s step-end infinite; /* Safari and Chrome */	
}

-webkit-keyframes blink {
	0% {background: #713f75} 
	50% {background: #e250f2}
}

.blinking{background:black}
.blinking:target{-moz-animation:blink 1s step-end infinite}
.blinking:target{-webkit-animation:blink 1s step-end infinite}
.blinking:target{animation:blink 1s step-end infinite}

@-moz-keyframes blink{
	0%{background-color: #713f75}
	50%{background-color: #e250f2}
}

@-webkit-keyframes blink{
	0%{background-color: #713f75}
	50%{background-color: #e250f2}
}

@keyframes blink{
	0%{background-color: #713f75}
	50%{background-color: #e250f2}
} 







.chat .contactName{
	position: absolute;
	right:10px;
	top:0px;
	cursor: pointer;
	
	color: #fff;
	text-shadow:0 1px 0 #000;
	line-height: 25px;
	font-weight:bold;
	font-size: 13px;
	/*margin-right:10px;*/
		
}

.chat .close{
	width:15px;
	height:15px;
	position: absolute;
	left: 5px;
	top:5px;
	background: url('../images/close.png') center center no-repeat;
	cursor:pointer;
	z-index:500;
	border:1px solid #91039e;	 
}

.chat .close:hover{
	background: #91039e url('../images/close.png') center center no-repeat;	
}

.chat .minimize{	
	width:15px;
	height:15px;
	position: absolute;
	left: 25px;
	top:5px;
	background: url('../images/minimize.png') center center no-repeat;
	cursor:pointer;
	z-index:500;
	border:1px solid #91039e;	
}

.chat .minimize:hover{
	background: #91039e url('../images/minimize.png') center center no-repeat;
}

.chat .body{
	background: #e5e5e5;	
	width:100%;
	height:275px;
	border-bottom: 1px dashed #b0587b;		
}

.chat .messageSection{	
	position:relative;	
	margin:0px 10px 10px 10px;
}

.chat .imageWrap{
	width:50px;
	height:50px;
	overflow:hidden;
}

.chat img{	
	width:50px;
	max-width: 100%;
	cursor:pointer;	
}

.chat .messageWrap{	
	width: 210px;
	background: #fff;
	min-height:50px;	
	box-shadow: 1px 1px 2px #787878;
}

.chat .message{
	margin: 5px;
	font-family: Arial;
	font-size:12px;
	line-height: 1.5em;
	color:#000;
	overflow: hidden;
	width:auto;
}

.chat .message a{
	color: #4fb3ff;
	display: table-cell;
}

.chat .message div:not(.message){
	direction:ltr;
	font-size:11px;
	color: #bcbcbc;
	width:100px;
	float:rigth;
	text-align:right;
}

.chat .in .pos{
	float:right;	
}


.chat .out .pos{
	float:left;
}


.chat textarea{
	width:97%;
	height:90px;
	padding: 5px;
	font-size:13px;
	margin-top: 0px;
	/*margin:0px 10px 0px 10px;*/
	border:0px;
	/*background: #f8f8f8;*/	
}


.chat .add-private-photos{
	position: absolute;
	right: 5px;
	bottom: 90px;
}

.chat .add-private-photos .btn-add{
	width: 25px;
	height: 25px;
	background-image: url(../images/add-photo.png);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.chat .add-private-photos .content{
	display: none;
	background: #fff;
    color: #000;
    padding: 5px;
    max-width: calc(100% - 10px);
    border: 1px #0066ed dashed;
    border-radius: 3px;
}

.chat .add-private-photos:hover .content{
	display: block;
}

.chat .add-private-photos .content h5{
	font-size: 13px;
    text-align: center;
    margin-bottom: 2px;
}

.chat .add-private-photos .image{
	float: right;
	margin: 0px 0px 3px 3px;
	position: relative;
}

.chat .add-private-photos .content .image{
	width: 50px;
}

.chat .add-private-photos .image img{
	max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.chat .add-private-photos .content .image .hover{
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0.8;
	background-image: url(../images/check-photo.png);
	background-size: 90%;
    background-position: right -65px;
    background-repeat: no-repeat;
    top: 0;
    right: 0;
}

.chat .add-private-photos .content .image.unchecked:hover .hover{
	display: block;
	background-position: right -65px;
}

.chat .add-private-photos .content .image.checked .hover{
	display: block;
	background-position: right 5px;
	opacity: 0.6;
}

.chat .add-private-photos + .added-photos{
	position: absolute;
    bottom: -10px;
    right: 7px;
    width: auto;
    height: 30px;
}

.chat .add-private-photos + .added-photos .image{
	float: right;
	margin: 0px 0px 3px 3px;
	position: relative;
	max-width: 30px;
    max-height: 30px;
    width: auto;
}

.chat .add-private-photos + .added-photos .image img{
	max-height: 30px;
	max-width: 100%;
    width: auto;
    height: auto;
}





.scrollbar1 .viewport{width:280px;height:245px;overflow:hidden;position:relative}
.scrollbar1 .overview{list-style:none;position:absolute;right:0;top:0;padding-bottom:10px}
.scrollbar1 .thumb .end, .scrollbar1 .thumb{background-color:#713f75}
.scrollbar1 .scrollbar{position:relative;float:left;width:15px}
.scrollbar1 .track{background-color:#fff;height:100%;width:5px;position:relative;padding:0px;-moz-border-radius:15px;-webkit-border-radius:15px;border-radius:15px}
.scrollbar1 .thumb{height:20px;width:5px;cursor:pointer;overflow:hidden;position:absolute;top:0px;left:0px;-moz-border-radius:15px;-webkit-border-radius:15px;border-radius:15px}
.scrollbar1 .thumb .end{overflow:hidden;height:5px;width:13px;-moz-border-radius:15px;-webkit-border-radius:15px;border-radius:15px}
.scrollbar1 .disable{display:inline}

