/** CHAT ***/

#chat {
	position: fixed;
	right: 30px;
	bottom: 0;
	z-index: 1021;
	width: 330px;
}

@media (max-width: 425px) {
	#chat {
		left: 10px;
		right: 0;
	}
}

@media (max-width: 767px) {
	#chat {
		display: none
	}
}


#chat .cTabs {
	background: rgba(74, 80, 101, 0.7);
	/*height: 32px;*/
	line-height: 12px !important;
	width: 330px;
	margin-bottom: -2px;
	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
	-moz-border-radius-topleft:10px;
	-moz-border-radius-topright:10px;
	border-top-left-radius:10px;
	border-top-right-radius:10px;
}
#chat .cTabs .close {
	display: inline-block;
	width: 32px;
	height: 32px;
	text-align: center;
	line-height: 32px;
	float: right;
	font-size:26px;
	cursor: pointer;
	position: inherit !important;

	-webkit-border-top-right-radius:10px;
	-moz-border-radius-topright:10px;
	border-top-right-radius:10px;
	opacity: 1;
}
#chat .cTabs .close:hover {
	background-color: rgba(0, 0, 0, 0.2);
}

#chat .cTabs ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#chat .cTabs ul li {
	background: #fbfbfc;
	background: -moz-linear-gradient(top, #fbfbfc 0%, #c7c8cc 100%);
	background: -webkit-linear-gradient(top, #fbfbfc 0%, #c7c8cc 100%);
	background: linear-gradient(to bottom, #fbfbfc 0%, #c7c8cc 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbfbfc', endColorstr='#ebecf2', GradientType=0);

	display: inline-block;
	padding: 0 5px 0 5px;
	color: #000;
	margin: 0;
	cursor: pointer;
	line-height: 32px !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
#chat .cTabs ul li:first-child {
	-webkit-border-top-left-radius:10px;
	-moz-border-radius-topleft:10px;
	border-top-left-radius:10px;
	padding-left:10px;
	padding-right:10px;
}
#chat .cTabs ul li.unread {
	color: #f74877;
}

#chat .cTabs ul li .pizdiylinka {
	background: #d14a00;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	display: inline-block;
	margin-left: 4px;
}
#chat .cTabs ul li:hover, #chat .cTabs ul li.active {
	background: #fdfcfd;
	background: -moz-linear-gradient(top, #fdfcfd 0%, #eae1d4 94%, #d8c9ae 100%);
	background: -webkit-linear-gradient(top, #fdfcfd 0%, #eae1d4 94%, #d8c9ae 100%);
	background: linear-gradient(to bottom, #fdfcfd 0%, #eae1d4 94%, #d8c9ae 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfcfd', endColorstr='#d8c9ae', GradientType=0);
	color: #2c5fc6;
}
#chat .cTabs ul li.active {
	cursor: default;
}
#chat .cTabs ul li i {
	width: 22px;
	height: 22px;
	float: left;
	margin-right: 4px;
	position: relative;
	top: 4px;
}
#chat .chat {
	font-family: Tahoma, sans-serif;
	display: none;
}
#chat .chat .chatMessages {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f4f4f4+0,c9c9c9+100 */
	background: #f4f4f4;
	/* Old browsers */
	background: -moz-linear-gradient(top, #f4f4f4 0%, #e2e5ea 100%);
	/* FF3.6-15 */
	background: -webkit-linear-gradient(top, #f4f4f4 0%, #e2e5ea 100%);
	/* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #f4f4f4 0%, #e2e5ea 100%);
	/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#c9c9c9', GradientType=0);
	/* IE6-9 */

	height: 313px;
	padding: 13px;
	overflow-y: auto;
}
#chat .chat .chatMessages .chat-msg {
	margin-bottom: 15px;
	position: relative;
}
#chat .chat .chatMessages .chat-msg .cmLogin {
	color: #eb5711;
	display: block;
	cursor: pointer;
}
#chat .chat .chatMessages .chat-msg .cmLogin i {
	font-style: normal;
}
#chat .chat .chatMessages .chat-msg .cmLogin:hover {
	text-decoration: underline;
}
#chat .chat .chatMessages .chat-msg .cmDate {
	float: right;
	font-size: 13px;
	color: #818181;
}
#chat .chat .chatMessages .chat-msg .cmDate i {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 4px;
	float: left;
	position: relative;
	top: 1px;
}
#chat .chat .chatMessages .cMessage {
	-ms-word-wrap:break-word;
	word-wrap:break-word;
}
#chat .chat .chatMessages .sysMsg {
	color: #0a91ff;
}

#chat .chat .chatMessages .chat-msg .cmAdmin {
	background: rgba(0, 0, 0, 0.85);
	padding: 4px 2px;
	position: absolute;
	right: 0;
	top: 0;
	border-radius: 6px;
	font-size: 11px;
	display: none;
}
#chat .chat .chatMessages .chat-msg .cmAdmin a {
	margin: 0 4px;
	color: #fff
}
#chat .chat .chatMessages .chat-msg:hover .cmAdmin {
	display: block;
}
#chat .chat .chatFormContainer {
	border-top: #a9a9a9 1px solid;
}
#chat .chat .chatFormContainer h2,
#chat .chat .chatFormContainer label,
#chat .chat .chatFormContainer .col-xs-12.col-sm-3.col-md-3.col-sm-offset-3.col-md-offset-3 {
	display: none;
}

#chat .chat .chatFormContainer .form-group {
	margin: 0;
}



#chat .chat .chatFormContainer input.form-control {
	border: 0;
	width: 100%;
	height: 40px;
	outline: none !important;
	resize: none;
	padding: 10px 35px 10px 10px;
	box-sizing: border-box;
	font-family: Tahoma;
	font-size: 15px;
	border-radius: 0;
}

#chat .chat .chatFormContainer input.form-control:focus {
	box-shadow: none !important;
}

#chat .chat .chatFormContainer .col-xs-12.col-sm-9.col-md-9 {
	position: relative;
	float: none;
	width: 100%;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	border-radius:0;
	padding: 0 !important;
}
#chat .chat .chatFormContainer .smileButton {
	background: url(/media/enclave/img/sprites.png) -2px -632px no-repeat;
	display: inline-block;
	width: 40px;
	height: 40px;
	position: absolute;
	right: 0;
	top: 0;
	cursor: pointer;
}
#chat .chat .chatFormContainer .smileButton:hover {
	background: url(/media/enclave/img/sprites.png) -48px -632px no-repeat;
}
#chat .chat .chatFormContainer .selectSmiles {
	background: rgba(116, 122, 145, 0.7);
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 15px 15px 5px;
	display: none;
}
#chat .chat .chatFormContainer .selectSmiles .smiles img {
	margin: 0 10px 10px 0;
	cursor: pointer;
}
#chat .chat .chatFormContainer .selectSmiles .close {
	background: url(/media/enclave/img/sprites.png) -6px -96px no-repeat;
	display: inline-block;
	width: 32px;
	height: 32px;
	float: right;
	cursor: pointer;
	bottom: 0;
	right: 0;
	position: absolute;
}
#chat .chat .chatFormContainer .selectSmiles .close.closed {
	background: url(/media/enclave/img/sprites.png) -96px -636px no-repeat;
}
#chat .chat .chatFormContainer .selectSmiles .close:hover {
	background-color: rgba(0, 0, 0, 0.2);
}
#chat .chat .chatFormContainer .alert-danger {
	margin-bottom: 0;
	background: #8E3232;
	padding: 6px 10px;
	color: #FFFFFF;
	border: none;
	border-radius: 0;
}
#chat .chat .chatFormContainer .alert-danger .close {
	background: url(/media/enclave/img/sprites.png) -373px -687px no-repeat;
	display: inline-block;
	width: 20px;
	height: 20px;
	float: right;
	cursor: pointer;
	margin-right: -4px;
	margin-top: -2px;
}
