Merge "Fixed z-index definitions to avoid hiding of tree menus"
diff --git a/dev/scss/header/datepicker.scss b/dev/scss/header/datepicker.scss
index 5386d3c..faf8336 100644
--- a/dev/scss/header/datepicker.scss
+++ b/dev/scss/header/datepicker.scss
@@ -12,7 +12,7 @@
 div.datepicker {
   display: inline-block;
   position: absolute;
-  z-index: 8000;
+  z-index: 90;
 
   font-size: 80%;
   padding: 4pt;
diff --git a/dev/scss/header/hint.scss b/dev/scss/header/hint.scss
index d5c6a4a..b2e9bee 100644
--- a/dev/scss/header/hint.scss
+++ b/dev/scss/header/hint.scss
@@ -60,7 +60,7 @@
   position: absolute;
   left: 0;
   top: 0;
-  z-index: 900;
+  z-index: 90;
   white-space: pre-wrap;
   height: 0;
   display: block;
diff --git a/dev/scss/header/menu.scss b/dev/scss/header/menu.scss
index 2696163..8841de5 100644
--- a/dev/scss/header/menu.scss
+++ b/dev/scss/header/menu.scss
@@ -13,7 +13,7 @@
   font-weight: normal;
   // Pagination border?
 
-  z-index: 7000;
+  z-index: 120;
 }
 
 ul.menu > li,
@@ -87,7 +87,7 @@
       display: block;
       right: 0;
       width: 10px;
-      z-index: 600;
+      z-index: 115;
       border: {
 	radius: 4px;
 	width: 2px;
@@ -225,14 +225,14 @@
  */
 span.menu.select {
   > span {
-    z-index: 100;
+    z-index: 105;
   }
   > ul.menu.roll {
     display: none;
     z-index: -100;
     &.visible {
       display: block;
-      z-index: 200;
+      z-index: 110;
     }
   }
 }
diff --git a/dev/scss/main/logos.scss b/dev/scss/main/logos.scss
index 0e68a4a..0866f53 100644
--- a/dev/scss/main/logos.scss
+++ b/dev/scss/main/logos.scss
@@ -93,7 +93,7 @@
   top: 0;
   width: 7.8em;
   height: 2.4em;
-  z-index: 7200;
+  z-index: 105;
   background: {
     size: 72%;
     image: url('#{$img-path}/korap-logo-kalamar.svg');
diff --git a/dev/scss/main/matchinfo.scss b/dev/scss/main/matchinfo.scss
index ded592d..31b8c9f 100644
--- a/dev/scss/main/matchinfo.scss
+++ b/dev/scss/main/matchinfo.scss
@@ -82,7 +82,7 @@
 
 ul#treeMenu {
   border-top-right-radius: 8px;
-  z-index: 200;
+  z-index: 150;
   font-size: 10pt;
   position: fixed;
   // width: $left-width;
diff --git a/dev/scss/main/pagination.scss b/dev/scss/main/pagination.scss
index bc7e54e..9704638 100644
--- a/dev/scss/main/pagination.scss
+++ b/dev/scss/main/pagination.scss
@@ -27,7 +27,7 @@
   position: fixed;
   right: ($standard-margin / 4);
   bottom: ($standard-margin / 2);
-  z-index: 400;
+  z-index: 35;
   padding: 0;
   height: auto;
   line-height: 0;
diff --git a/dev/scss/main/resultinfo.scss b/dev/scss/main/resultinfo.scss
index 206cd67..5276f0a 100644
--- a/dev/scss/main/resultinfo.scss
+++ b/dev/scss/main/resultinfo.scss
@@ -80,7 +80,7 @@
 
 #resultinfo.found {
   position: relative;
-  z-index: 20;
+  // z-index: 20;
   margin-bottom: 0px;
   div.result > a {
     margin-bottom: 0;
diff --git a/dev/scss/media.scss b/dev/scss/media.scss
index 1ebf769..277226f 100644
--- a/dev/scss/media.scss
+++ b/dev/scss/media.scss
@@ -36,7 +36,7 @@
       size: 100%;
       position: 50% 0;
     }
-    z-index: 300;
+    z-index: 110;
   }
 
   #searchbar {
diff --git a/dev/scss/sidebar/sidebar.scss b/dev/scss/sidebar/sidebar.scss
index 8e6491b..7ef4fde 100644
--- a/dev/scss/sidebar/sidebar.scss
+++ b/dev/scss/sidebar/sidebar.scss
@@ -10,7 +10,7 @@
   display: block;
   background-color: $dark-green;
   position: fixed;
-  z-index: 4000; // Needs to be behind alerts
+  z-index: 100; // Needs to be behind alerts
   color: $nearly-white;
   width: $logo-left-distance;
   top: 0;