@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;700&family=Quicksand:wght@400;500;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

div.ch_ko_openState{position:absolute;width:100%;height:100%;text-align:center;padding-top:15px;box-sizing:border-box;}
div.ch_ko_closeState{position:absolute;width:100%;height:100%;text-align:center;padding-top:25px;opacity:0;box-sizing:border-box;}

.ch_ko_fadeIn {
	animation: ch_ko_fadeIn 0.4s cubic-bezier(.73,.11,.42,.91);
}

.ch_ko_fadeOut{
	animation-name: ch_ko_fadeOut;
	animation-timing-function: cubic-bezier(.73,.11,.42,.91);
	animation-duration: 0.4s;
	animation-fill-mode: both;
}

.notification-dot {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	font-size: 10px;
	font-weight: bold;
	color: white;
	background-color: #ef4444;
	border: 2px solid white;
	border-radius: 50%;
	top: -6px;
	right: -6px;
	font-family: 'Quicksand', sans-serif;
}

.chat-frame-container {
	width: 390px;
	height: 520px;
	background: white;
	position: fixed;
	bottom: 15px;
	right: 30px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0px 6px 20px 5px rgb(0 37 54 / 10%);
	z-index: 1001;
}

@media screen and (max-width: 450px) {
    .chat-frame-container {
        max-width: 100%;
        right: 50%;
        height: 80%;
        margin-left: 2px;
        margin-right: 2px;
        transform: translate(50%, 0%);
    }


    .chat-bttn-container {
        height: 80% !important;
        width: 100% !important;
    }
}

.chat-bttn-close-frame {
    position: absolute;
    z-index: 10;
    pointer-events: initial;
	top: 20px;
	right: 17px;
	width: 17px;
	height: 17px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: none transparent;
	outline: none !important;
	padding: 0;
}

.chat-bttn-close-frame:hover {
	opacity: 0.8 !important;
	cursor: pointer;
	background: none transparent;
}

.chat-bttn-container {
	width: 390px;
	height: 520px;
	background: transparent;
	position: fixed;
	bottom: 15px;
	right: 30px;
	border-radius: 8px;
	z-index: 1002;
}

.chat-frame-iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.chat-bttn-launch {
	pointer-events: initial;
}

.chat-bttn-simple {
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: 60px;
	height: 60px;
	box-shadow: 0px 0px 15px 5px rgba(0,40,54,0.16);
	border-radius: 200px 200px 200px 200px;
	cursor: pointer;
	animation: popStartBttnOnLaunch 0.6s cubic-bezier(.82,.06,.39,.89);
	transition: 0.2s;
}

.bttn-icon {
	animation: popIconIn 0.5s cubic-bezier(.82,.06,.39,.89);
	display: flex;
	width: 25px;
	height: auto;
	color: rgb(255,255,255);
}

.chat-bttn-advanced-bttn .bttn-icon {
	width: 12px;
	margin-right: 8px;
}

.bttn-icon-chevron {
	animation: popIconOut 0.5s cubic-bezier(.82,.06,.39,.89);
	display: flex;
}

.bttn-icon g {
	fill: rgb(255,255,255);
}

.bttn-icon-chevron path {
	width: 23px;
	height: auto;
	stroke: rgb(255,255,255);
}

.chat-bttn-container.ch_ino_hide {
	pointer-events: none;
}

.chat-bttn-container.ch_ino_show {
	pointer-events: none;
}

.chat-bttn-container.ch_ino_hide .chat-bttn-simple {
	transform: scale(0)
}

.chat-bttn-container.ch_ino_show .chat-bttn-simple {
	transform: scale(1)
}

.chat-bttn-container.ch_ino_hide .chat-bttn-advanced {
	transform: translateY(110%);
}

.chat-bttn-container.ch_ino_show .chat-bttn-advanced {
	transform: translateY(0)
}

.chat-bttn-advanced {
	bottom: 0;
	transition: 0.3s cubic-bezier(.73,0,.43,.94);
	background: grey;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 23px 15px;
	background: rgb(255, 255, 255);
	box-shadow: 0px 6px 20px 5px rgb(0 37 54 / 10%);
	z-index: 10001;
	box-sizing: border-box;
	width: 100%;
	min-height: 168px;
	border-radius: 5px;
	position: absolute;
}

.chat-bttn-advanced-text {
	color: rgb(55, 58, 87);
	font-family: 'Quicksand', 'sans-serif';
	font-weight: 500;
	text-align: center;
	margin: 8px 0;
	font-size: initial;
}

.chat-bttn-advanced-img {
	width: 45px;
	height: 45px;
	object-fit: cover;
	border: 2px solid rgb(255, 255, 255);
	border-radius: 55px;
}

.chat-bttn-advanced-img:nth-child(1) {
	margin-right: -8px;
}

.chat-bttn-advanced-img:nth-child(2) {
	transform: scale(1.15);
	box-shadow: 0px 0px 7px 5px rgba(0,37,54,0.01);
}

.chat-bttn-advanced-img:nth-child(3) {
	margin-left: -8px;
}

.chat-bttn-advanced-bttn {
	padding: 7px 12px;
	border: 0;
	border-radius: 5px;
	display: flex;
	align-items: center;
	outline: none !important;
}

.chat-bttn-advanced-bttn-text {
	font-family: 'Quicksand', 'sans-serif';
	color: rgb(255, 255, 255);
	font-size: initial;
}

.chat-bttn-advanced-bttn-icon {
	width: 13px;
	margin-right: 9px;
	height: auto;
	fill: rgb(255, 255, 255);
}

@keyframes popStartBttnOnLaunch {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes popIconIn {
	from {
		transform: scale(0) rotate(90deg)
	}
	to {
		transform: scale(1) rotate(0deg)
	}
}

@keyframes popIconOut {
	from {
		opacity: 0;
		transform: translateY(50%)
	}
	to {
		opacity: 1;
		transform: translateY(0%)
	}
}

@keyframes ch_ko_fadeIn {
	from {
		opacity: 0;
		transform-origin: bottom right;
		transform: scale(0.3);
	}
	to {
		opacity: 1;
		transform-origin: bottom right;
		transform: scale(1);
	}
}

@keyframes ch_ko_fadeOut{
	from {
		opacity: 1;
		transform-origin: bottom right;
		transform: scale(1);
	}
	to {
		pointer-envents: none;
		opacity: 0;
		transform-origin: bottom right;
		transform: scale(0.3);
	}
}
