diff --git a/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css b/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css
index 8a825b8df0e8a870ef888b3aae43f0695ad37057..c29de880151f0a1a8f870a8fa156b28e9c8e0b19 100644
--- a/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css
+++ b/basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css
@@ -1,16 +1,3 @@
-@media (max-width: 767px){
-    .footer__section + .footer__section,
-    .footer__section{
-        min-height:2em;
-    }
-    .header__top{
-        display:none;
-    }
-    body {
-        padding-top: calc( 41px ) !important;
-    }
-}
-
 .href-break-all a[href], a[href].href-break-all{
     word-break: break-all !important;
 }
@@ -866,4 +853,20 @@ a.bg-secondary:focus {
 
 .text-muted a{
     color:#66b0ff;
+}
+
+@media (max-width: 767px){
+    .footer__section + .footer__section,
+    .footer__section{
+        min-height:2em;
+    }
+    .header__top{
+        display:none;
+    }
+    body {
+        padding-top: calc( 41px ) !important;
+    }
+    footer {
+        padding:0;
+    }
 }
\ No newline at end of file