[OPENMEETINGS-2712] alerts overlapping is fixed
diff --git a/openmeetings-web/src/main/webapp/css/raw-chat.css b/openmeetings-web/src/main/webapp/css/raw-chat.css
index 4b3d707..ecc9ada 100644
--- a/openmeetings-web/src/main/webapp/css/raw-chat.css
+++ b/openmeetings-web/src/main/webapp/css/raw-chat.css
@@ -1,15 +1,12 @@
 /* Licensed under the Apache License, Version 2.0 (the "License") http://www.apache.org/licenses/LICENSE-2.0 */
 #chatPanel {
 	position: fixed;
-	z-index: 2000;
+	z-index: var(--chat-zindex);
 	bottom: 0px;
 	right: 10px;
 	width: var(--chat-width);
 	height: var(--chat-height);
 }
-.chat-delete.confirmation {
-	z-index: 2001;
-}
 #chatPanel #chatPopup {
 	height: 100%;
 }
@@ -204,3 +201,6 @@
 .chat-toolbar .chat-btn.under, .wysiwyg-toolbar .tool-btn.under {
 	text-decoration: underline;
 }
+.chat-delete.confirmation {
+	z-index: calc(var(--chat-zindex) + 1);
+}
diff --git a/openmeetings-web/src/main/webapp/css/raw-general.css b/openmeetings-web/src/main/webapp/css/raw-general.css
index b998b62..c93d171 100644
--- a/openmeetings-web/src/main/webapp/css/raw-general.css
+++ b/openmeetings-web/src/main/webapp/css/raw-general.css
@@ -752,6 +752,7 @@
 	position: fixed;
 	right: 0;
 	bottom: 0;
+	z-index: calc(var(--chat-zindex) + 2);
 }
 .popover.confirmation.show {
 	z-index: 3000; /* FIXME TODO move this to variables */
diff --git a/openmeetings-web/src/main/webapp/css/raw-variables.css b/openmeetings-web/src/main/webapp/css/raw-variables.css
index 5ffa8f3..28b8703 100644
--- a/openmeetings-web/src/main/webapp/css/raw-variables.css
+++ b/openmeetings-web/src/main/webapp/css/raw-variables.css
@@ -14,6 +14,7 @@
 	--chat-tools-height: 40px;
 	--chat-msg-height: 80px;
 	--chat-send-width: 32px;
+	--chat-zindex: 2000;
 }
 body.no-header {
 	--header-height: 0px;