diff --git a/html/themes/default/plugin.css b/html/themes/default/plugin.css
index e4ef901931803a34832d4d2cf111ef1903d842c0..8c36ca46ecc94cc2360b09984a48ad92a4ec0f7f 100644
--- a/html/themes/default/plugin.css
+++ b/html/themes/default/plugin.css
@@ -196,6 +196,10 @@ margin-bottom:0.5%;
 margin-right:0.5%;
 }
 
+html.ltr .plugin_section.invisible, html.rtl .plugin_section.invisible {
+display:none;
+}
+
 fieldset.plugin_section.critical legend span, .plugin_section.critical > span.legend {
 font-weight:bold;
 background-color:#BCF;
@@ -220,7 +224,9 @@ background-color:#DFEFFF;
   .plugin_section > div > table {
   width:100%;
   }
-  .plugin_section, .plugin_section:nth-child(even), .plugin_section.fullwidth {
+  html.ltr .plugin_section, html.ltr .plugin_section:nth-child(even), html.ltr .plugin_section.fullwidth,
+  html.rtl .plugin_section, html.rtl .plugin_section:nth-child(even), html.rtl .plugin_section.fullwidth
+  {
   display:block;
   float:none;
   clear:both;
diff --git a/html/themes/default/setup.css b/html/themes/default/setup.css
index 6d6a571da20072a68c61b43eddd877f84a12d0b0..0d443af9717fcd309330877d22836c5e28484e81 100644
--- a/html/themes/default/setup.css
+++ b/html/themes/default/setup.css
@@ -1,6 +1,15 @@
 /*********
  * Setup
  *********/
+body.setup a.plugtop img {
+height:48px;
+}
+html.ltr body.setup div#header_left .plugtop {
+margin-left:80px;
+}
+html.rtl body.setup div#header_left .plugtop {
+margin-right:80px;
+}
 
 div.setup_menu {
 background-color:#F8F8F8;
@@ -169,3 +178,16 @@ padding-left:25px;
 html.rtl div.step2_warning_text {
 padding-right:25px;
 }
+
+/* On small screens */
+@media (max-width: 640px) {
+  body.setup a.plugtop img {
+  height:32px;
+  }
+  html.ltr body.setup div#header_left .plugtop {
+  margin-left:0px;
+  }
+  html.rtl body.setup div#header_left .plugtop {
+  margin-right:0px;
+  }
+}
diff --git a/plugins/config/class_configInLdap.inc b/plugins/config/class_configInLdap.inc
index ac83c4f39bdb9b5180627bb310faf47353286fda..7055c1889610507fe212529fcc73d5526557582e 100644
--- a/plugins/config/class_configInLdap.inc
+++ b/plugins/config/class_configInLdap.inc
@@ -239,55 +239,6 @@ class configInLdap extends simplePlugin
           ),
         )
       ),
-      'miscellaneous' => array(
-        'name'  => _('Miscellaneous'),
-        'class' => array('fullwidth'),
-        'attrs' => array(
-          new OrderedArrayAttribute (
-            new CompositeAttribute (
-              _('Hooks that are called when specific actions happens'),
-              'fdTabHook',
-              array(
-                new SelectAttribute(
-                  _('tab'), _('The tab that this hook concerns'),
-                  'hookTab', TRUE,
-                  $plugins
-                ),
-                new SelectAttribute(
-                  _('mode'), _('When to call this command'),
-                  'hookMode', TRUE,
-                  array('postcreate', 'postremove', 'postmodify',
-                        'precreate', 'preremove', 'premodify', 'check')
-                ),
-                new StringAttribute(
-                  _('cmd'), _('The command that will be called'),
-                  'hookCmd', TRUE
-                )
-              ),
-              '/^([^\\|]+)\\|([^\\|]+)\\|(.*)$/',
-              '%s|%s|%s',
-              '', // acl
-              _('Hooks')
-            ),
-            FALSE, // non-ordered
-            array(),
-            TRUE // edition
-          ),
-          new BooleanAttribute (
-            _('Display hook output'),
-            _('When enabled successful hook execution output is displayed to the user using a dialog.'),
-            'fdDisplayHookOutput'
-          ),
-          new SetAttribute(
-            new StringAttribute (
-              _('Available shells'), _('Available POSIX shells for FD users.'),
-              'fdShells', FALSE
-            ),
-            array('/bin/ash','/bin/bash','/bin/csh','/bin/sh','/bin/ksh',
-                  '/bin/tcsh','/bin/dash','/bin/zsh')
-          ),
-        )
-      ),
       'people_and_group' => array(
         'name'  => _('People and group storage'),
         'class' => array('critical'),
@@ -413,6 +364,55 @@ class configInLdap extends simplePlugin
           ),
         )
       ),
+      'miscellaneous' => array(
+        'name'  => _('Miscellaneous'),
+        'class' => array('fullwidth'),
+        'attrs' => array(
+          new OrderedArrayAttribute (
+            new CompositeAttribute (
+              _('Hooks that are called when specific actions happens'),
+              'fdTabHook',
+              array(
+                new SelectAttribute(
+                  _('tab'), _('The tab that this hook concerns'),
+                  'hookTab', TRUE,
+                  $plugins
+                ),
+                new SelectAttribute(
+                  _('mode'), _('When to call this command'),
+                  'hookMode', TRUE,
+                  array('postcreate', 'postremove', 'postmodify',
+                        'precreate', 'preremove', 'premodify', 'check')
+                ),
+                new StringAttribute(
+                  _('cmd'), _('The command that will be called'),
+                  'hookCmd', TRUE
+                )
+              ),
+              '/^([^\\|]+)\\|([^\\|]+)\\|(.*)$/',
+              '%s|%s|%s',
+              '', // acl
+              _('Hooks')
+            ),
+            FALSE, // non-ordered
+            array(),
+            TRUE // edition
+          ),
+          new BooleanAttribute (
+            _('Display hook output'),
+            _('When enabled successful hook execution output is displayed to the user using a dialog.'),
+            'fdDisplayHookOutput'
+          ),
+          new SetAttribute(
+            new StringAttribute (
+              _('Available shells'), _('Available POSIX shells for FD users.'),
+              'fdShells', FALSE
+            ),
+            array('/bin/ash','/bin/bash','/bin/csh','/bin/sh','/bin/ksh',
+                  '/bin/tcsh','/bin/dash','/bin/zsh')
+          ),
+        )
+      ),
     );
   }
 
diff --git a/setup/class_setup.inc b/setup/class_setup.inc
index abff237c0ad1ea6ddb2c05f5f4357f3c762c12eb..71b7afc0c2162cd3aac223dc1cc6e5617540ce87 100644
--- a/setup/class_setup.inc
+++ b/setup/class_setup.inc
@@ -189,9 +189,9 @@ class setup
       $b_completed  = $step->is_completed();
 
       if ($b_completed) {
-        $s = "<img src='geticon.php?context=status&icon=task-complete&size=16' alt='"._("Completed")."' class='center'>&nbsp;";
+        $s = "<img src='geticon.php?context=status&icon=task-complete&size=16' alt='"._("Completed")."' class='center optional'>&nbsp;";
       } else {
-        $s = "<img src='images/empty.png' alt=' ' class='center'>&nbsp;";
+        $s = "<img src='images/empty.png' alt=' ' class='center optional'>&nbsp;";
       }
 
       if ($b_enabled) {
diff --git a/setup/class_setupStep_Config.inc b/setup/class_setupStep_Config.inc
index ce942fc8013db2daeef77d2a01854ce5dbd22526..07943c1b32c157414f663e0626aed903bf96dfba 100644
--- a/setup/class_setupStep_Config.inc
+++ b/setup/class_setupStep_Config.inc
@@ -52,6 +52,9 @@ class Step_Config extends configInLdap
     global $config;
     parent::__construct($config, CONFIGRDN.$config->current['BASE']);
 
+    $this->attributesInfo['miscellaneous']['class'] = array('invisible');
+    $this->attributesInfo['debug']['class'] = array('invisible');
+
     $this->fdLanguage     = $cv['lang_selected'];
   }
 
diff --git a/setup/setup_frame.tpl b/setup/setup_frame.tpl
index 2d9f8e33aefa46ad6a7e8d0518ac1a5fd35618cc..5659e7796c432189a2d3c85606a3e92142771702 100644
--- a/setup/setup_frame.tpl
+++ b/setup/setup_frame.tpl
@@ -1,5 +1,5 @@
 <!-- Headline -->
-<body>
+<body class="setup">
   {$php_errors}
   <form action="setup.php" name="mainform" id="mainform" method="post" enctype="multipart/form-data">
     <div class="setup_header">