diff --git a/core/modules/system/system.theme-rtl.css b/core/modules/system/system.theme-rtl.css
index b2ee453..79af92f 100644
--- a/core/modules/system/system.theme-rtl.css
+++ b/core/modules/system/system.theme-rtl.css
@@ -8,9 +8,9 @@
  * HTML elements.
  */
 th {
-  text-align: right;
-  padding-left: 1em;
   padding-right: 0;
+  padding-left: 1em;
+  text-align: right;
 }
 caption {
   text-align: right;
@@ -37,23 +37,23 @@ caption {
   text-align: left;
 }
 .more-help-link a {
-  background-position: 100% 50%;
   padding: 1px 20px 1px 0;
+  background-position: 100% 50%;
 }
 
 /**
  * Collapsible details.
  */
 .collapse-processed > summary:before {
-  background-position: 100% 100%;
   float: right;
+  background-position: 100% 100%;
 }
 .collapse-processed:not([open]) > summary:before {
   background-position: 75% 35%;
+  -webkit-transform: rotate(90deg);
   -moz-transform: rotate(90deg);
   -ms-transform: rotate(90deg);
   -o-transform: rotate(90deg);
-  -webkit-transform: rotate(90deg);
   transform: rotate(90deg);
 }
 
@@ -62,8 +62,8 @@ caption {
  */
 
 ul.menu {
-  margin-left: 0;
   margin-right: 1em;
+  margin-left: 0;
   text-align: right;
 }
 .menu .collapsed {
@@ -74,22 +74,22 @@ ul.menu {
  * Markup generated by theme_menu_local_tasks().
  */
 .tabs > li {
-  margin-left: 0.3em;
   margin-right: 0;
+  margin-left: 0.3em;
 }
 
 /**
  * RTL Styles for link buttons and action links.
  */
 .action-links li:first-child {
-  margin-left: 0.3em;
   margin-right: 0;
+  margin-left: 0.3em;
 }
 .button-action:before {
-  margin-left: 0;
   margin-right: -0.1em;
-  padding-left: 0.2em;
+  margin-left: 0;
   padding-right: 0;
+  padding-left: 0.2em;
 }
 
 /**
@@ -97,8 +97,8 @@ ul.menu {
  */
 
 div.messages {
-  background-position: 99% 8px;
   padding: 10px 50px 10px 10px;
+  background-position: 99% 8px;
 }
 div.messages ul {
   margin: 0 1em 0 0;
diff --git a/core/modules/system/system.theme.css b/core/modules/system/system.theme.css
index 680d15e..0e8f558 100644
--- a/core/modules/system/system.theme.css
+++ b/core/modules/system/system.theme.css
@@ -8,24 +8,24 @@
  * HTML elements.
  */
 fieldset {
-  border: 1px solid #ccc;
   margin: 1em 0;
   padding: 0.5em;
+  border: 1px solid #ccc;
 }
 form {
   margin: 0;
   padding: 0;
 }
 hr {
-  border: 1px solid gray;
   height: 1px;
+  border: 1px solid gray;
 }
 img {
   border: 0;
 }
 table {
-  border-collapse: collapse;
   width: 100%;
+  border-collapse: collapse;
 }
 th {
   padding-right: 1em; /* LTR */
@@ -35,8 +35,8 @@ thead > tr {
   border-bottom: 1px solid #000;
 }
 tr {
-  border-bottom: 1px solid #ccc;
   padding: 0.1em 0.6em;
+  border-bottom: 1px solid #ccc;
 }
 caption {
   text-align: left; /* LTR */
@@ -103,10 +103,10 @@ label.option {
   font-weight: normal;
 }
 h4.label {
-  font-size: inherit;
-  font-weight: bold;
   margin: 0;
   padding: 0;
+  font-weight: bold;
+  font-size: inherit;
 }
 .form-checkboxes .form-item,
 .form-radios .form-item {
@@ -117,15 +117,17 @@ h4.label {
 .form-type-checkbox .description {
   margin-left: 2.4em;
 }
-input.form-checkbox,
-input.form-radio {
+.form-checkbox,
+.form-radio {
   vertical-align: middle;
 }
 .marker,
 .form-required {
   color: #e00;
 }
-abbr.form-required, abbr.tabledrag-changed, abbr.ajax-changed {
+abbr.form-required, 
+abbr.tabledrag-changed, 
+abbr.ajax-changed {
   border-bottom: none;
 }
 .form-item input.error,
@@ -135,13 +137,13 @@ abbr.form-required, abbr.tabledrag-changed, abbr.ajax-changed {
 }
 .button,
 .image-button {
-  margin-left: 1em;
   margin-right: 1em;
+  margin-left: 1em;
 }
 .button:first-child,
 .image-button:first-child {
-  margin-left: 0;
   margin-right: 0;
+  margin-left: 0;
 }
 
 /**
@@ -170,8 +172,8 @@ abbr.form-required, abbr.tabledrag-changed, abbr.ajax-changed {
   text-align: right; /* LTR */
 }
 .more-help-link a {
-  background: url(../../misc/help.png) 0 50% no-repeat; /* LTR */
   padding: 1px 0 1px 20px; /* LTR */
+  background: url('../../misc/help.png') 0 50% no-repeat; /* LTR */
 }
 
 /**
@@ -182,10 +184,10 @@ abbr.form-required, abbr.tabledrag-changed, abbr.ajax-changed {
   text-align: center;
 }
 .item-list .pager li {
-  background-image: none;
   display: inline;
-  list-style-type: none;
   padding: 0.5em;
+  background-image: none;
+  list-style-type: none;
 }
 .pager-current {
   font-weight: bold;
@@ -209,9 +211,9 @@ abbr.form-required, abbr.tabledrag-changed, abbr.ajax-changed {
  * @thanks http://nicolasgallagher.com/css-background-image-hacks/
  */
 details {
-  border: 1px solid #ccc;
   margin-top: 1em;
   margin-bottom: 1em;
+  border: 1px solid #ccc;
 }
 details > .details-wrapper {
   padding: 0.5em 1.5em;
@@ -223,22 +225,22 @@ summary {
   padding: 0.2em 0.5em;
 }
 .collapse-processed > summary {
-  padding-left: 0.5em;
   padding-right: 0.5em;
+  padding-left: 0.5em;
 }
 .collapse-processed > summary:before {
-  background: url(../../misc/menu-expanded.png) 0px 100% no-repeat; /* LTR */
-  content: "";
   float: left;
-  height: 1em;
   width: 1em;
+  height: 1em;
+  content: "";
+  background: url('../../misc/menu-expanded.png') 0 100% no-repeat; /* LTR */
 }
 .collapse-processed:not([open]) > summary:before {
   background-position: 25% 35%; /* LTR */
+  -webkit-transform: rotate(-90deg);
   -moz-transform: rotate(-90deg);
   -ms-transform: rotate(-90deg);
   -o-transform: rotate(-90deg);
-  -webkit-transform: rotate(-90deg);
   transform: rotate(-90deg);
 }
 
@@ -282,35 +284,35 @@ th.checkbox {
   font-weight: bold;
 }
 .progress .bar {
-  background: #ccc;
-  border-color: #666;
   margin: 0 0.2em;
+  border-color: #666;
   border-radius: 3px;
+  background: #ccc;
 }
 .progress .filled {
-  background: #0072b9 url(../../misc/progress.gif);
+  background: #0072b9 url('../../misc/progress.gif');
 }
 
 /**
  * Markup generated by theme_menu_tree().
  */
 ul.menu {
-  list-style: none outside;
   margin-left: 1em; /* LTR */
   padding: 0;
+  list-style: none outside;
   text-align: left; /* LTR */
 }
 .menu .expanded {
-  list-style-image: url(../../misc/menu-expanded.png);
   list-style-type: circle;
+  list-style-image: url('../../misc/menu-expanded.png');
 }
 .menu .collapsed {
-  list-style-image: url(../../misc/menu-collapsed.png); /* LTR */
   list-style-type: disc;
+  list-style-image: url('../../misc/menu-collapsed.png'); /* LTR */
 }
 ul.menu li {
-  padding-top: 0.2em;
   margin: 0;
+  padding-top: 0.2em;
 }
 ul.menu a.active {
   color: #000;
@@ -326,8 +328,8 @@ ul.links.inline {
 }
 ul.inline li {
   display: inline;
-  list-style-type: none;
   padding: 0 0.5em;
+  list-style-type: none;
 }
 
 /**
@@ -342,9 +344,8 @@ ul.inline li {
 }
 .breadcrumb li {
   display: inline;
-  list-style-type: none;
-  margin: 0;
   padding: 0;
+  list-style-type: none;
 }
 /* IE8 does not support :not() and :last-child. */
 .breadcrumb li:before {
@@ -361,9 +362,9 @@ div.tabs {
   margin: 1em 0;
 }
 ul.tabs {
-  list-style: none;
   margin: 0 0 0.5em;
   padding: 0;
+  list-style: none;
 }
 .tabs > li {
   display: inline-block;
@@ -386,9 +387,9 @@ ul.tabs {
  * Styles for link buttons and action links.
  */
 .action-links {
-  list-style: none;
-  padding: 0;
   margin: 1em 0;
+  padding: 0;
+  list-style: none;
 }
 .action-links li {
   display: inline-block;
@@ -399,31 +400,31 @@ ul.tabs {
 }
 .button-action {
   display: inline-block;
-  line-height: 160%;
   padding: 0.2em 0.5em 0.3em;
   text-decoration: none;
+  line-height: 160%;
 }
 .button-action:before {
-  content: '+';
-  font-weight: 900;
   margin-left: -0.1em; /* LTR */
   padding-right: 0.2em; /* LTR */
+  content: '+';
+  font-weight: 900;
 }
 
 /**
  * Styles for system messages.
  */
 div.messages {
+  margin: 0.465em 0;
+  padding: 0.77em 0.77em 0.77em 3.85em; /* LTR */
+  border: 1px solid;
   background-position: 8px 8px; /* LTR */
   background-repeat: no-repeat;
-  border: 1px solid;
-  margin: 6px 0;
-  padding: 10px 10px 10px 50px; /* LTR */
 }
 
 .messages.status {
-  background-image: url(../../misc/message-24-ok.png);
   border-color: #be7;
+  background-image: url('../../misc/message-24-ok.png');
 }
 .messages.status,
 .ok {
@@ -435,8 +436,8 @@ table tr.ok {
 }
 
 .messages.warning {
-  background-image: url(../../misc/message-24-warning.png);
   border-color: #ed5;
+  background-image: url('../../misc/message-24-warning.png');
 }
 .messages.warning,
 .warning {
@@ -448,8 +449,8 @@ table tr.warning {
 }
 
 .messages.error {
-  background-image: url(../../misc/message-24-error.png);
   border-color: #ed541d;
+  background-image: url('../../misc/message-24-error.png');
 }
 .messages.error,
 .error {
