a:link,
a:visited {
  color: #969696;
  text-decoration: none;
}

a:hover {
  color: #969696;
  text-decoration: underline;
}

a:active,
a.active {
  color: #969696;
  text-decoration: underline;
}

table {
  margin: 1em 0;
  width: 100%;
}

thead th {
  border-bottom: 2px solid #c6c6c6;
  color: #494949;
  font-weight: bold;
}

th a:link, th a:visited {
  color: #6f9dbd;
}

table.system-status-report th {
    border-bottom: 1px solid #000;
}

tr.even, tr.odd, tbody th {
  border: solid #000;
  border-width: 1px 0;
}

tr.odd, tr.info {
  background-color: #eeeeee;
}

tr.even {
  background-color: #fff;
}

tr.drag {
  background-color: #fffff0;
}

tr.drag-previous {
  background-color: #ffd;
}

tr.odd td.active {
  background-color: #eeeeee;
}

tr.even td.active {
  background-color: #eeeeee;
}

td.region, td.module, td.container, td.category {
 border-top: 4px solid #C6C6C6;
  border-bottom: 4px solid #c6c6c6;
  background-color: #c6c6c6;
  color: #455067;
  font-weight: bold;
}

tr:first-child td.region, tr:first-child td.module, tr:first-child td.container, tr:first-child td.category {
  border-top-width: 0;
}

.messages, .preview {
  margin: .75em 0 .75em;
  padding: .5em 1em;
}

.messages ul {
  margin: 0;
}


/**
 * Collapsible fieldsets
 */
fieldset {
  margin: 1em 0;
  padding: 1em;
  border: 1px solid #c6c6c6;
}

/* Targets IE 7. Fixes background image in field sets. */
*:first-child+html fieldset {
  padding: 0 1em 1em;
  background-position: 0 .75em;
  background-color: transparent;
}

*:first-child+html fieldset > .description, *:first-child+html fieldset .fieldset-wrapper .description {
  padding-top: 1em;
}

fieldset legend {
  /* Fix disappearing legend in FFox */
  display: block;
}

*:first-child+html fieldset legend, *:first-child+html fieldset.collapsed legend {
  display: inline;
}

html.js fieldset.collapsed {
  background: transparent;
  padding-top: 0;
  padding-bottom: .6em;
}

html.js fieldset.collapsible legend a {
  padding-left: 2em; /* LTR */
  background: url(../images/menu-expanded.gif) no-repeat 0% 50%; /* LTR */
}

html.js fieldset.collapsed legend a {
  background: url(../images/menu-collapsed.gif) no-repeat 0% 50%; /* LTR */
}

/**
 * Generic elements.
 */
.messages {
  background-color: #fff;
  border: 1px solid #b8d3e5;
}

.preview {
  background-color: #fcfce8;
  border: 1px solid #e5e58f;
}

div.status {
  color: #33a333;
  border-color: #c7f2c8;
}

div.error, tr.error {
  color: #a30000;
  background-color: #FFCCCC;
}

.form-item input.error, .form-item textarea.error {
  border: 1px solid #c52020;
  color: #363636;
}

/**
 * Local tasks
 */
ul.primary, ul.primary li, ul.secondary, ul.secondary li {
  border: 0;
  background: none;
  margin: 0;
  padding: 0;
}

#tabs-wrapper {
  margin: 0 0px 1em;
  padding: 10px 0 0 0px;
  border-bottom: 1px solid #c6c6c6;
  position: relative;
}
ul.primary {
  padding: 0.2em 0 10px;
  float: left; /* LTR */
}
ul.secondary {
  clear: both;
  text-align: left; /* LTR */
  border-bottom: 1px solid #e9eff3;
  margin: -0.2em 0px 1em;
  padding: 0 0px 0.6em;
}
h1.with-tabs {
  float: left; /* LTR */
  margin: 0 2em 0 0; /* LTR */
  padding: 0;
}

ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited,
ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
  border: 0;
  background: transparent;
  padding: 4px 1em;
  margin: 0 0 0 1px; /* LTR */
  height: auto;
  text-decoration: none;
  position: relative;
  top: -1px;
  display: inline-block;
  color: #929292;
  font-weight: bold;
}
ul.primary li.active a, ul.primary li.active a:link, ul.primary li.active a:visited, ul.primary li a:hover,
ul.secondary li.active a, ul.secondary li.active a:link, ul.secondary li.active a:visited, ul.secondary li a:hover {
  background: url(../images/bg-tab.png) repeat-x 0 50%;
  color: #fff;
}
ul.primary li.active a,
ul.secondary li.active a {
  font-weight: bold;
}


.block-region {
  padding: 1em;
  background: transparent;
  border: 2px dashed #b4d7f0;
  text-align: center;
  font-size: 1.3em;
}

/**
 * Block edit links css
 */
.block .sonepar-edit {
  display: none;
  padding: 0;
  position: relative;
  right: 0;
  float:right;
  text-align: left; /* LTR */
  top: 2;
  z-index: 999999;
}

.block:hover > .sonepar-edit {
  display: block;
}

.block .sonepar-edit a {
  background-color: #fff;
  border: 1px solid #333;
  display: block;
  float: right;
  outline: 0;
  padding: 2px 2px 2px 6px;
  text-indent: -9999px;
  width: 16px;
}

.block .sonepar-edit a:hover {
  background-color: #eee;
  text-decoration: none;
}

.block .sonepar-block-config,
.block .sonepar-block-edit {
  background: url(../images/emblem-system.png) center center no-repeat;
}

.block .sonepar-edit-menu {
  background: url(../images/text-x-generic-menu.png) center center no-repeat;
}