/* ---------- Browser normalization ---------- */
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  clear: both;
}

fieldset, img {
  border: 0;
}

address, caption, cite, code, dfn, th, var {
  font-style: normal;
  font-weight: normal;
}

caption, th {
  text-align: left;
}

q:before, q:after {
  content: '';
}

abbr, acronym {
  border: 0;
  border-bottom: 1px dotted #000;
  cursor: help;
}

html {
  overflow-y: scroll;
}

html.aui-dialog-iframe-root-node {
  overflow: auto;
}

body {
  background-repeat: no-repeat;
  background-position: 50% 10px;
  background-color: #fff;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  color: #333333;
  font-size: 0.875em;
}

.dockbar-ready {
  background-position: 50% 47px;
}

body.aui-dialog-iframe-popup {
  padding-bottom: 0;
}

body.portal-iframe {
  padding: 0;
}

blockquote, ul, ol, dl {
  margin: 1em;
}

ol, ul, dl {
  margin-left: 2em;
}

ol {
  list-style: decimal outside;
}

ul {
  list-style: disc outside;
}

ul ul {
  list-style-type: circle;
}

ol ol {
  list-style-type: upper-roman;
}

dl dd {
  margin-left: 1em;
}

th {
  font-weight: bold;
}

caption {
  margin-bottom: 0.5em;
  text-align: center;
}

p {
  margin-bottom: 1em;
}

/* ---------- Links ---------- */
a {
  color: #333333;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- HTML Editor ---------- */
body.html-editor {
  background: #FFF;
  color: #000;
}

.html-editor.portlet-message-boards blockquote {
  background: #eef0f2 url(../images/message_boards/quoteleft.png) no-repeat 5px 5px;
  border: 1px solid #777;
  position: relative;
  padding: 5px 45px;
}

.html-editor.portlet-message-boards blockquote:after {
  background: url(../images/message_boards/quoteright.png) no-repeat 50%;
  bottom: 5px;
  content: '';
  display: block;
  height: 24px;
  position: absolute;
  right: 5px;
  width: 31px;
  z-index: 999;
}

.html-editor.portlet-message-boards blockquote cite {
  display: block;
  font-weight: bold;
}

.html-editor.portlet-message-boards pre {
  background: #F9F9F9;
  border: 1px solid #777;
  padding: 0.5em;
}

/* ---------- Text formatting ---------- */
b, strong {
  font-weight: bold;
}

i, em {
  font-style: italic;
}

code, pre {
  font-family: "Courier New", Courier, monospace;
  white-space: pre;
}

.important {
  font-weight: bold;
}

/* ---------- Staging area ---------- */
body.staging, body.live-view {
  border: 10px solid #F00;
}

body.live-view {
  border-color: #FC0;
}

.portal-iframe.staging {
  border: none;
}

/* ---------- Main content body ---------- */
.portal-iframe #main-content {
  width: 100%;
}

/* ---------- Alerts and popups ---------- */
.alert-background {
  background: #000;
}

.popup-alert-notice {
  background-color: #FFC;
  border-bottom-color: #FC0;
}

.popup-alert-warning {
  background-color: #FDD;
  border-bottom-color: #F00;
}

/* ---------- Portal add content ---------- */
.portal-add-content {
  background: #FFF;
  text-align: left;
  z-index: 20;
}

.portal-add-content a {
  text-decoration: none;
}

/* ---------- Loading animation ---------- */
.loading-animation {
  background: url(../images/progress_bar/loading_animation.gif) no-repeat top center;
  margin-top: 10px;
  padding-top: 40px;
  text-align: left;
}

/* ---------- Separator ---------- */
hr, .separator {
  background-image: url(../images/sisal/separator-h.png);
  background-repeat: repeat-x;
  background-position: 0 0;
  border: 0;
  margin: 0;
}

/* ---------- Update Manager ---------- */
.update-available {
  margin-top: 10px;
  padding: 2px;
  text-align: left;
}

/* ---------- Text highlighting ---------- */
.highlight {
  background: #FFC;
  font-weight: bold;
  margin: 0 1px;
}
