diff --git a/html/css/custom/styles.css b/html/css/custom/styles.css
index 00f7e8ab85ba353785db8e9084feeef82fbd0524..26f708350cf8f93898ef1fa6bd4fdfee35b2c40f 100644
--- a/html/css/custom/styles.css
+++ b/html/css/custom/styles.css
@@ -78,8 +78,6 @@ html[data-theme='dark'] {
   --text-color-highlight: hsl(25, 70%, 45%);
 }
 
-
-
 /* SCROLL BAR*/
 
 ::-webkit-scrollbar {
@@ -648,12 +646,27 @@ legend {
 }
 
 /* OVERLIB BG*/
-.overlib {
-
-    background-color: #000000;
+.lib_overlib {
+    background: inherit;
+    background-color: #333;
+    color:cyan;
+    padding: 0; 
+    margin: 0; 
+}
 
+.devices-overlib-box {
+    background-color: #292929;
 }
 
+/*border of overlib different than content*/
+#overDiv {
+    z-index: 1200 !important;
+    border: solid 1px #777;
+    background-color: #333;
+    padding: 5px;
+    border-radius: 4px;
+    box-shadow: 0 5px 15px rgba(0,0,0,.5);
+}
 
 /* FOOTER */