html, body
{
  margin: 0;
  padding: 0;
  font-family: Arial;
  font-size: 11px;
}

select[name=alias_view]
{
  border: 1px solid #bbb;
  font-size: 8pt;
}

#page-container
{
  width: 80%;
  margin: 0 auto;
}

#header
{
  padding: 10px;
  margin: 0 0 5px 0;
  background: #15345E;
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
}

#header a,
#header a:visited
{
  color: #fff;
}

#navigation
{
  float: right;
  list-style: none;
  margin: 0;
  padding: 0;
}

#navigation li
{
  display: inline;
}

#footer
{
  margin: 10px 0 0 0;
  padding: 5px;
  border-top: solid 1px #000;
}

#login-container
{
  width: 500px;
  margin: auto;
  padding: 25px;
  background: #eee;
  border: solid 1px #999;
}

#login-container h1
{
  border-bottom: solid 1px #ddd;
  margin: 0 0 14px;
  padding: 0 0 20px;
}

#login-dialog td,
#login-dialog th
{
  padding: 5px;
}

#login-links
{
  border-top: solid 1px #ddd;
  margin: 20px 0 0;
  padding: 16px 0 0;
}

#infobox
{
  display: none;
  position: absolute;
  background-color: #cef;
  opacity: 0.8;
  border: 1px solid #9cd;
  padding: 3px;
}
#infobox dl
{
  margin: 0;
}
#infobox dl *
{
  float: left;
  margin: 0.25em;
}
#infobox dt
{
  font-weight: bold;
  clear: left;
  width: 3em;
  padding-right: 1em;
  text-align: right;
}

#actions
{
  background: #F1F8FF;
  border: solid 1px #15345E;
  padding: 4px;
  margin: 5px 0;
  clear: both;
  overflow: auto;
}

#actions ul
{
  list-style: none;
  margin: 0;
  padding: 0;
}

#actions li
{
  float: right;
  padding-right: 3px;
}


#aliases ul {
  list-style: none;
  margin: 1em 0 2em 0;
  padding: 0.5em 1em 1em 1em;
}
#aliases li {
  float: left;
  margin: 0.25em 2em 0 0;
  padding: 0;
}


/**
 * BEGIN Pagination
 */

ul.paginate {
    list-style: none;
    margin: 5px 0 5px 0;
    padding: 0;
    clear: both;
}

ul.paginate li {
    display: inline;
    padding: 2px;
}

ul.paginate li.active {
    background-color: #ccc;
}

ul.paginate li.active a {
    color: #fff;
}

/* END Pagination */

/* BEGIN Form Errors */

ul.error_list
{
  list-style: none;
  padding: 5px 10px;
  margin: 0;
  color: #f00;
}

/* END Form Erros */

#message-container
{
  background: #eee;
}

#message-content
{
  padding: 10px;
}

#message-headers
{
  width: 100%;
  margin: 0;
  clear: both;
  overflow: auto;
}

#message-headers dt,
#message-headers dd
{
  height: 20px;
  line-height: 20px;
  border-bottom: solid 1px #fff;
  margin: 0;
}

#message-headers dt
{
  width: 180px;
  background-color: #555;
  float: left;
  padding: 2px 5px;
  color: #fff;
  font-weight: bold;
}

#message-headers dd
{
  margin-left: 190px;
  padding: 2px 10px;
  clear: right;
}

#attachment-container
{
  margin: 5px;
}

/* BEGIN UI Tabs */
/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Skin */
.ui-tabs-nav, .ui-tabs-panel {
    font-family: "Trebuchet MS", Trebuchet, Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
}
.ui-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0 0 0 4px;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 0 0 0 1px;
    min-width: 84px; /* be nice to Opera */
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    display: block;
    padding: 0 10px;
    background: url(../images/ui/tab.png) no-repeat;
}
.ui-tabs-nav a {
    margin: 1px 0 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding-left: 0;
    /*color: %%PrimaryColor%%;*/
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* required in IE 6 */    
    outline: 0; /* prevent dotted border in Firefox */
}
.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
    top: 1px;
    z-index: 2;
    margin-top: 0;
    color: #000;
}
.ui-tabs-nav a span {
    width: 64px; /* IE 6 treats width as min-width */
    min-width: 64px;
    height: 18px; /* IE 6 treats height as min-height */
    min-height: 18px;
    padding-top: 6px;
    padding-right: 0;
}
*>.ui-tabs-nav a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}
.ui-tabs-nav .ui-tabs-selected a span {
    padding-bottom: 1px;
}
.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
    background-position: 100% -150px;
}
.ui-tabs-nav a, .ui-tabs-nav .ui-tabs-disabled a:hover, .ui-tabs-nav .ui-tabs-disabled a:focus, .ui-tabs-nav .ui-tabs-disabled a:active {
    background-position: 100% -100px;
}
.ui-tabs-nav .ui-tabs-selected a span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
    background-position: 0 -50px;
}
.ui-tabs-nav a span, .ui-tabs-nav .ui-tabs-disabled a:hover span, .ui-tabs-nav .ui-tabs-disabled a:focus span, .ui-tabs-nav .ui-tabs-disabled a:active span {
    background-position: 0 0;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, .ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-deselectable a:hover, .ui-tabs-nav .ui-tabs-deselectable a:focus, .ui-tabs-nav .ui-tabs-deselectable a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-panel {
    border: 1px solid #777;
    /*border-top: 1px solid %%SecondaryColor%%;*/
    padding: 1em 8px;
    background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
}
.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(../images/ui/loading.gif) no-repeat 0 50%;
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}

/* END UI Tabs */

th,
td
{
  font-size: 11px;
  padding: 3px;
}

a, a:visited
{
  text-decoration: none;
}
a:visited
{
  color: #50f;
}

a:hover
{
  text-decoration: underline;
}

.notice-message, .success-message, .warning-message, .error-message {
    clear: both;
    border: 1px solid;
    margin: 10px auto;
    padding:15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
    width: 450px;
}

.success { color: #5bac45; font-weight: bold; }
.success-message { text-align: center; font-weight: bold; color: green; background: #e6f4e2; padding: 12px 10px; }

.error { color: #cc0000; font-weight: bold; }
.error-message { text-align: center; font-weight: bold; color: #d06969; background: #fbe9e9; padding: 12px 10px; }

.notice { color: #00529B; font-weight: bold; }
.notice-message { text-align: center; font-weight: bold; color: #00529B; background: #BDE5F8; padding: 12px 10px; }

.warning { color: #9F6000; font-weight: bold; }
.warning-message { text-align: center; font-weight: bold; color: #9F6000; background: #FEEFB3; padding: 12px 10px; }

/**
 * BEGIN Misc
 */

.msg_read
{
}

.msg_unread
{
  font-weight: bold;
}

.even
{
  background: #eee;
}

.odd
{
  background: none;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.top {
    vertical-align: top;
}

.middle {
    vertical-align: middle;
}

.bottom {
    vertical-align: bottom;
}

.clear {
    clear: both;
}

.disabled {
    background-color: #eee;
    color: #ccc;
}
