diff --git a/mamweb/static/css/base.css b/mamweb/static/css/base.css
index c562cb5b..a4433d55 100644
--- a/mamweb/static/css/base.css
+++ b/mamweb/static/css/base.css
@@ -1,7 +1,5 @@
@charset "utf-8"; /* vynuť utf-8 */
-@import "mamweb_legacy.css" supports((-webkit-touch-callout: none) and (not (offset-position: normal)));
-
/* Obecné styly pro html tagy */
@font-face {
diff --git a/mamweb/static/css/mamweb_legacy.css b/mamweb/static/css/mamweb_legacy.css
index 4da02fba..fd360d45 100644
--- a/mamweb/static/css/mamweb_legacy.css
+++ b/mamweb/static/css/mamweb_legacy.css
@@ -1,5 +1,7 @@
@charset "utf-8"; /* vynuť utf-8 */
+@supports (-webkit-touch-callout: none) and (not (offset-position: normal)) {
+
.button {
margin: 10px 0 10px 0;
padding: 4px 0; /*vertikální centování textu*/
@@ -726,3 +728,4 @@ div.gdpr p {
/*******************/
+}
diff --git a/mamweb/templates/base.html b/mamweb/templates/base.html
index 60447467..4ad7fd0a 100644
--- a/mamweb/templates/base.html
+++ b/mamweb/templates/base.html
@@ -10,7 +10,8 @@
{% block custom_css %}{% endblock %}
-
+
+