diff --git a/lib/tpl/dokuwiki/css/rtl.css b/lib/tpl/dokuwiki/css/rtl.css
index e3bb7e27be7842b8e18413caab93d20444f4edb2..851f7085074fcb3b9d6148366567a4e47f2e5d20 100644
--- a/lib/tpl/dokuwiki/css/rtl.css
+++ b/lib/tpl/dokuwiki/css/rtl.css
@@ -519,7 +519,7 @@ form#subscribe__form fieldset {
 
 /*____________ mobile ____________*/
 
-@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
+@media only screen and (max-width: 768px), only screen and (max-device-width: 960px) {
 
 
 .hasSidebar #dokuwiki__content,
@@ -527,6 +527,18 @@ form#subscribe__form fieldset {
     margin-right: 0;
 }
 
+.dokuwiki div.toc {
+    float: none;
+    margin: 0 0 1em 0;
+    border-right-width: 0;
+}
+
+
+} /* /@media */
+
+@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
+
+
 #dokuwiki__header ul.a11y.skip {
     left: auto !important;
     right: 0 !important;
@@ -556,12 +568,6 @@ form#subscribe__form fieldset {
     float: left;
 }
 
-.dokuwiki div.toc {
-    float: none;
-    margin: 0 0 1em 0;
-    border-right-width: 0;
-}
-
 .dokuwiki label.block {
     text-align: right;
 }