/**
 * Maximos global contact bar + welcome bubble (externalized from rat-global-contact-bar.php).
 */

/* rat-global-contact-bar-early */
body.rat-has-global-contact-bar .fixedContact,
body.rat-has-global-contact-bar .rat-whatsapp-float{
	display:none!important;
	visibility:hidden!important;
	pointer-events:none!important;
	height:0!important;
	width:0!important;
	overflow:hidden!important;
}

/* rat-global-contact-bar */
body.rat-has-global-contact-bar.rat-tawk-chat-open #rat-global-contact-bar,
body.rat-has-global-contact-bar.rat-tawk-chat-open #rat-global-contact-bar.rat-global-contact-bar{
	z-index:9990!important;
}
body.rat-has-global-contact-bar.rat-tawk-chat-open .rat-global-chat-bubble,
body.rat-has-global-contact-bar.rat-tawk-chat-open .rat-global-chat-bubble.is-visible{
	opacity:0!important;
	visibility:hidden!important;
	pointer-events:none!important;
	display:none!important;
}
#rat-global-contact-bar.rat-global-contact-bar{
	transition:opacity .35s ease,transform .35s ease,visibility .35s ease!important;
}
body.rat-has-global-contact-bar:not(.rat-contact-visible):not(.rat-tawk-chat-open) #rat-global-contact-bar,
body.rat-has-global-contact-bar:not(.rat-contact-visible):not(.rat-tawk-chat-open) #rat-global-contact-bar.rat-global-contact-bar{
	opacity:0!important;
	visibility:hidden!important;
	pointer-events:none!important;
	transform:translateY(120%)!important;
	display:block!important;
}
body.home.rat-has-global-contact-bar:not(.rat-tawk-chat-open) #rat-global-contact-bar,
body.home.rat-has-global-contact-bar:not(.rat-tawk-chat-open) #rat-global-contact-bar.rat-global-contact-bar{
	opacity:1!important;
	visibility:visible!important;
	pointer-events:auto!important;
	transform:translateY(0)!important;
	display:block!important;
}
body.rat-has-global-contact-bar.rat-contact-visible:not(.rat-tawk-chat-open) #rat-global-contact-bar,
body.rat-has-global-contact-bar.rat-contact-visible:not(.rat-tawk-chat-open) #rat-global-contact-bar.rat-global-contact-bar{
	opacity:1!important;
	visibility:visible!important;
	pointer-events:auto!important;
	transform:translateY(0)!important;
	display:block!important;
}
body.rat-has-global-contact-bar.rat-tawk-chat-open #rat-global-contact-bar,
body.rat-has-global-contact-bar.rat-tawk-chat-open #rat-global-contact-bar.rat-global-contact-bar{
	opacity:1!important;
	visibility:visible!important;
	pointer-events:auto!important;
	transform:none!important;
	display:block!important;
}
body.rat-has-global-contact-bar:not(.rat-tawk-chat-open) #rat-global-contact-bar{
	z-index:2147483000!important;
}
body.rat-has-global-contact-bar:not(.rat-contact-visible):not(.rat-tawk-chat-open) .rat-global-chat-bubble,
body.rat-has-global-contact-bar:not(.rat-contact-visible):not(.rat-tawk-chat-open) .rat-global-chat-bubble.is-visible{
	opacity:0!important;
	visibility:hidden!important;
	pointer-events:none!important;
	transform:translateY(120%)!important;
}
body.rat-has-global-contact-bar.rat-tawk-chat-open #tawkchat-container,
body.rat-has-global-contact-bar.rat-tawk-chat-open #tawkchat-maximized-wrapper,
body.rat-has-global-contact-bar.rat-tawk-chat-open #tawkchat-maximized-container,
body.rat-has-global-contact-bar.rat-tawk-chat-open [id^="tawkchat-"]{
	display:block!important;
	visibility:visible!important;
	opacity:1!important;
	pointer-events:auto!important;
	z-index:100000!important;
	bottom:var(--rat-global-contact-bar-tawk-bottom,88px)!important;
}
body.rat-has-global-contact-bar.rat-tawk-chat-open #tawkchat-minified-wrapper,
body.rat-has-global-contact-bar.rat-tawk-chat-open #tawkchat-minified-container,
body.rat-has-global-contact-bar.rat-tawk-chat-open #tawkchat-minified-box,
body.rat-has-global-contact-bar.rat-tawk-chat-open .tawk-min-container,
body.rat-has-global-contact-bar.rat-tawk-chat-open .tawk-button,
body.rat-has-global-contact-bar.rat-tawk-chat-open .tawk-minimized{
	display:none!important;
	visibility:hidden!important;
	opacity:0!important;
	pointer-events:none!important;
	width:0!important;
	height:0!important;
	max-width:0!important;
	max-height:0!important;
	overflow:hidden!important;
}
.rat-global-chat-bubble{
	position:fixed!important;
	z-index:2147483002!important;
	box-sizing:border-box!important;
	font-family:'Poppins','Poppins Fallback',Verdana,sans-serif!important;
	opacity:0!important;
	visibility:hidden!important;
	pointer-events:none!important;
	transform:translateY(6px)!important;
	transition:opacity .3s ease,transform .3s ease,visibility .3s ease!important;
	background:transparent!important;
}
.rat-global-chat-bubble.is-visible{
	opacity:1!important;
	visibility:visible!important;
	pointer-events:auto!important;
	transform:translateY(0)!important;
	z-index:2147483002!important;
}
.rat-global-chat-bubble__card{
	display:block!important;
	position:relative!important;
	background:#fff!important;
	background-color:#fff!important;
	border:1px solid #e5e7eb!important;
	border-radius:12px 12px 12px 4px!important;
	box-shadow:0 6px 20px rgba(0,0,0,.12)!important;
	overflow:visible!important;
	isolation:isolate!important;
	opacity:1!important;
}
@media (min-width:993px){
.rat-global-chat-bubble.is-visible{
	right:18px!important;
	left:auto!important;
	bottom:var(--rat-global-contact-bar-stack,92px)!important;
	width:min(300px,calc(100vw - 36px))!important;
	max-width:min(300px,calc(100vw - 36px))!important;
}
}
@media (max-width:992px){
.rat-global-chat-bubble.is-visible{
	left:12px!important;
	right:12px!important;
	margin-left:auto!important;
	margin-right:auto!important;
	bottom:var(--rat-global-contact-bar-stack,92px)!important;
	width:min(300px,calc(100vw - 24px))!important;
	max-width:min(300px,calc(100vw - 24px))!important;
	padding:0!important;
}
.rat-global-chat-bubble__text{font-size:12px!important;padding:9px 11px 11px!important;line-height:1.45!important;}
}
.rat-global-chat-bubble__head{
	display:flex!important;
	align-items:center!important;
	justify-content:space-between!important;
	gap:8px!important;
	background:#03a84e!important;
	color:#fff!important;
	font-size:12px!important;
	font-weight:600!important;
	line-height:1.25!important;
	padding:8px 10px 8px 12px!important;
}
.rat-global-chat-bubble__title{flex:1 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.rat-global-chat-bubble__close{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	flex:0 0 24px!important;
	width:24px!important;
	height:24px!important;
	margin:0!important;
	padding:0!important;
	border:0!important;
	border-radius:999px!important;
	background:rgba(255,255,255,.2)!important;
	color:#fff!important;
	font-size:16px!important;
	font-weight:600!important;
	line-height:1!important;
	cursor:pointer!important;
}
.rat-global-chat-bubble__body{
	display:block!important;
	width:100%!important;
	margin:0!important;
	padding:0!important;
	border:0!important;
	background:#fff!important;
	text-align:left!important;
	box-sizing:border-box!important;
}
.rat-global-chat-bubble__text{
	display:block!important;
	font-size:12px!important;
	font-weight:500!important;
	line-height:1.45!important;
	color:#374151!important;
	padding:10px 12px 12px!important;
	word-wrap:break-word!important;
	overflow-wrap:break-word!important;
}
#rat-global-contact-bar.rat-global-contact-bar{
	position:fixed!important;
	z-index:2147483000!important;
	box-sizing:border-box!important;
	font-family:'Poppins','Poppins Fallback',Verdana,sans-serif!important;
	background:transparent!important;
	background-color:transparent!important;
	border:0!important;
	box-shadow:none!important;
	padding:0!important;
}
body.rat-has-global-contact-bar.rat-tawk-chat-open #rat-global-contact-bar.rat-global-contact-bar::after{
	content:''!important;
	position:absolute!important;
	top:-7px!important;
	left:75%!important;
	width:14px!important;
	height:14px!important;
	background:#2563eb!important;
	transform:translateX(-50%) rotate(45deg)!important;
	border-radius:2px!important;
	box-shadow:0 2px 6px rgba(37,99,235,.35)!important;
	pointer-events:none!important;
	z-index:1!important;
}
body.rat-has-global-contact-bar.rat-tawk-chat-open #rat-global-contact-bar.rat-global-contact-bar:not(.rat-global-contact-bar--has-wa)::after{
	left:50%!important;
}
#rat-global-contact-bar .rat-global-contact-bar__actions{
	display:grid!important;
	grid-template-columns:repeat(2,minmax(0,1fr))!important;
	gap:8px!important;
}
#rat-global-contact-bar:not(.rat-global-contact-bar--has-wa) .rat-global-contact-bar__actions{
	grid-template-columns:minmax(0,1fr)!important;
}
#rat-global-contact-bar .rat-global-contact-bar__btn{
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	min-height:42px!important;
	padding:8px 12px!important;
	border-radius:12px!important;
	font-size:13px!important;
	font-weight:800!important;
	line-height:1.15!important;
	text-align:center!important;
	text-decoration:none!important;
	box-sizing:border-box!important;
	border:0!important;
	cursor:pointer!important;
	-webkit-appearance:none!important;
	appearance:none!important;
	width:100%!important;
}
#rat-global-contact-bar .rat-global-contact-bar__btn--wa{
	background:#25D366!important;
	color:#fff!important;
}
#rat-global-contact-bar .rat-global-contact-bar__btn--chat,
body.rat-has-global-contact-bar #rat-global-contact-bar .rat-global-contact-bar__btn--chat{
	background:#2563eb!important;
	background-color:#2563eb!important;
	color:#fff!important;
	border:1px solid #1d4ed8!important;
	box-shadow:0 4px 14px rgba(37,99,235,.32)!important;
	gap:6px!important;
}
#rat-global-contact-bar .rat-global-contact-bar__btn--chat svg{
	width:18px!important;
	height:18px!important;
	flex-shrink:0!important;
	display:inline-block!important;
}
#rat-global-contact-bar .rat-global-contact-bar__btn--chat:hover,
body.rat-has-global-contact-bar #rat-global-contact-bar .rat-global-contact-bar__btn--chat:hover{
	background:#1d4ed8!important;
	background-color:#1d4ed8!important;
}
#rat-global-contact-bar .rat-global-contact-bar__btn--chat.is-active,
body.rat-has-global-contact-bar.rat-tawk-chat-open #rat-global-contact-bar .rat-global-contact-bar__btn--chat{
	background:#1d4ed8!important;
	background-color:#1d4ed8!important;
	box-shadow:0 4px 14px rgba(29,78,216,.4)!important;
}
#rat-global-contact-bar .rat-global-contact-bar__btn--chat.is-active svg,
body.rat-has-global-contact-bar.rat-tawk-chat-open #rat-global-contact-bar .rat-global-contact-bar__btn--chat svg{
	transform:rotate(180deg)!important;
}
@media (min-width:993px){
#rat-global-contact-bar.rat-global-contact-bar{
	right:18px!important;
	bottom:18px!important;
	left:auto!important;
	width:min(320px,calc(100vw - 36px))!important;
}
}
@media (max-width:992px){
body.rat-has-global-contact-bar.rat-tawk-chat-open #tawkchat-container,
body.rat-has-global-contact-bar.rat-tawk-chat-open #tawkchat-maximized-wrapper,
body.rat-has-global-contact-bar.rat-tawk-chat-open #tawkchat-maximized-container{
	left:12px!important;
	right:12px!important;
	margin-left:auto!important;
	margin-right:auto!important;
	width:min(360px,calc(100vw - 24px))!important;
	max-width:min(360px,calc(100vw - 24px))!important;
	bottom:var(--rat-global-contact-bar-tawk-bottom,88px)!important;
	max-height:min(58vh,max(220px,calc(100vh - var(--rat-global-contact-bar-tawk-bottom,88px) - 20px)))!important;
}
#rat-global-contact-bar.rat-global-contact-bar{
	left:12px!important;
	right:12px!important;
	margin-left:auto!important;
	margin-right:auto!important;
	bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;
	width:min(320px,calc(100vw - 24px))!important;
	max-width:min(320px,calc(100vw - 24px))!important;
	padding:0!important;
}
body.rat-has-global-contact-bar.rat-tawk-chat-open #rat-global-contact-bar.rat-global-contact-bar::after{
	left:50%!important;
}
#rat-global-contact-bar .rat-global-contact-bar__btn{
	min-height:44px!important;
	font-size:14px!important;
}
body.rat-has-global-contact-bar{
	padding-bottom:0!important;
}
}
