﻿.czchat{
	position: fixed;
	right: 62px;
	bottom: 70px;
	width: 60px;
	height: 60px;
	cursor: pointer;
	border-radius: 50%;
    z-index:200;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
    transform: translateZ(0);
    display: none !important;
}
@media(min-width:1000px) {
    .czchat {
        display: none;
    }
}
@media(min-width:550px) {
    .czchat {
        bottom: 30px;
        right: 30px;
    }
    .czchat.close .img-2{
        opacity: 1;
        -webkit-transform: rotateZ(0deg);
        transform: rotateZ(0deg);
    }
    .czchat.close .js-hello {
        display: none !important;
    }
    .czchat.close img {
        -webkit-transform: rotateZ(-90deg);
        transform: rotateZ(-90deg);
        opacity: 0;
    }
    .czchat.close .animated-circles {
        visibility: hidden;
        opacity: 0;
    }
}
.czchat .img-2 {
    z-index: 2;
    width: 60px;
    height: 60px;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    -webkit-transform: rotateZ(-90deg);
    transform: rotateZ(-90deg);
    position: absolute;
    background-color: rgb(19, 19, 19);
    background-image: url('../imagesrp/close-ppmes.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition: transform .5s ease,opacity .5s ease;
    transition: transform .5s ease,opacity .5s ease;
}
.czchat img{
	width: 60px;
	height: 60px;
	position: relative;
	border-radius: 50%;
	z-index: 3;
    opacity: 1;
	box-shadow: 0px 0px 23px 0px #999;
    -webkit-transform: rotateZ(0deg);
    transform: rotateZ(0deg);
    -webkit-transition: transform .5s ease,opacity .5s ease;
    transition: transform .5s ease,opacity .5s ease;
}
.czchat .js-hello{
	position: absolute;
	width: 170px;
	height: 50px;
	line-height: 50px;
	color: #FFF;
	border-radius: 3px;
	text-align: center;
	background:rgba(36,50,56,.9);
	top: 10px;
	right: 30px;
}
.czchat .js-hello:after{
	content:"";
	display: block;
	height:0;
	right: -24px;
	top: 12px;
	border-style: solid;
	border-width: 12px;
	border-color:transparent transparent transparent rgba(36,50,56,.9); 
	position: absolute;
	
	
}
.animated-circles{
	top: 1px;
	left: 1px;
	position: absolute;
	z-index: 1;
    opacity: 1;
    -webkit-transition: visibility 1s ease 1s,opacity 1s ease 1s;
    transition: visibility 1s ease 1s,opacity 1s ease 1s;
}
.animated-circles .circle {
    background: rgba(235,77,39,0.25);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    position: absolute;
    z-index: 49;
    transform: scale(1);
    -webkit-transform: scale(1);
}
.animated-circles.animated .circle.c-1{
	    animation: 2000ms scaleToggleOne cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
.animated-circles.animated .circle.c-2{
	    animation: 2500ms scaleToggleTwo cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
.animated-circles.animated .circle.c-3{
	    animation: 3000ms scaleToggleThree cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}

@keyframes rotateInUpRight {
	from{
		transform-origin: right bottom;
		-webkit-transform: rotate3d(0,0,1,-15deg) scale(.8);
		transform: rotate3d(0,0,1,-15deg) scale(.8);
		opacity: 0;
	}
	to {
		transform-origin: right bottom;
		-webkit-transform: none;
		transform: none;
		opacity: 1;
	}
}
@keyframes rotateOutDownRight {
	from {
		opacity: 1;
		-webkit-transform-origin: right bottom;
		transform-origin: right bottom;
	}

	to {
		opacity: 0;
		-webkit-transform: rotate3d(0,0,1,-15deg) scale(.8);
		transform: rotate3d(0,0,1,-15deg) scale(.8);
		-webkit-transform-origin: right bottom;
		transform-origin: right bottom;
	}
}
@keyframes scaleToggleOne {
	0 {
		transform: scale(1);
		-webkit-transform: scale(1)
	}

	50% {
		transform: scale(2);
		-webkit-transform: scale(2)
	}

	100% {
		transform: scale(1);
		-webkit-transform: scale(1)
	}
}

@keyframes scaleToggleTwo {
	0 {
		transform: scale(1);
		-webkit-transform: scale(1)
	}

	20% {
		transform: scale(1);
		-webkit-transform: scale(1)
	}

	60% {
		transform: scale(2);
		-webkit-transform: scale(2)
	}

	100% {
		transform: scale(1);
		-webkit-transform: scale(1)
	}
}

@keyframes scaleToggleThree {
	0 {
		transform: scale(1);
		-webkit-transform: scale(1)
	}

	33% {
		transform: scale(1);
		-webkit-transform: scale(1)
	}

	66% {
		transform: scale(2);
		-webkit-transform: scale(2)
	}

	100% {
		transform: scale(1);
		-webkit-transform: scale(1)
	}
}

.chatBtn{
	width: 1.16rem;
	height: 1.16rem;
	position:fixed;
	right: .8rem;
	bottom:1.8rem;
	box-shadow: 0px 0 9px 3px #bbb;
	border-radius: 50%;
	z-index: 2000;
}
.chatBtn img{
	display: block;
	width: 1.16rem;
	height: 1.16rem;
	border-radius: 50%;
	z-index: 2;
	position: relative;
}
.chat-mask{
	background: rgba(0,0,0,.4);
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index:1500;
	display: none;
}
.chat-mask .mask {
    position: absolute;
    left: 0;
	top: 0;
	right: 0;
	bottom: 0;
    z-index: 1
}
.chat-content{
	width: 16rem;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -8rem;
	margin-top: -6rem;
	border-radius: 5px;
	background:#fff;
	text-align: center;
    z-index: 2;
}
.chat-content .title{
	height: 2rem;
	line-height: 2rem;
	background:#243238;
	color: #fff;
	font-size:.9rem;
	border-radius:5px 5px 0 0;
}
.chat-content .title img{
	width: 1rem;
	vertical-align: middle;
	margin-right: .5rem;
}
.chat-content .img{
	display: block;
	margin: 1rem auto;
	width: 5rem ;
}
.chat-content p{
	font-size: .7rem;
	color: #111;
	line-height: 1.5;
	padding-bottom:.3rem;
}
.chat-content .tab{
	font-size: 0;
	border-top: 1px solid #dde3e6;
}
.chat-content .tab a{
	display: inline-block;
	width: 50%;
	height: 2.1rem;
	line-height: 2.1rem;
	font-size: .9rem;
}
.chat-content .tab a~a{
	border-left: 1px solid #dde3e6;
}
.chat-content .tab a.on{
	color: #f00;
}
.chat-content .close{
	position: absolute;
	width: 1.4rem;
	height: 1.4rem;
	line-height: 1.4rem;
	text-align: center;
	border-radius: 50%;
	font-size: 1rem;
	color: #fff;
	background: #243238;
	right: -.5rem;
	top: -.5rem;
}

