diff --git a/_sass/search.scss b/_sass/search.scss
index 7eef79dc876aa55ce1047749ef5324360508423b..5e75a90be7b76e00ae592ecd6abc0573cc1c8299 100644
--- a/_sass/search.scss
+++ b/_sass/search.scss
@@ -204,9 +204,9 @@
   position: fixed;
   top: 0;
   left: 0;
+  z-index: 1;
   width: 0;
   height: 0;
-  z-index: 1;
   background-color: rgba(0, 0, 0, 0.2);
   opacity: 0;
   transition: opacity ease 200ms;