/* Common styles */
ul.horizontal { padding-left: 0px; }
  ul.horizontal li {
    float: left;
    margin-right: 2em;
    }

ul.right {
  margin: 0px;
  }
  ul.right li {
    float: right;
    margin-right: 0em;
    margin-left: 2em;
    }

.noBullet { list-style-type: none; }
a {
    text-decoration: underline;
    color: inherit;
}
h1 { font-size: 2.5em; }
fieldset { padding-top: 0; }

/* Header */
body {
  background-image: url(../images/header-background.png);
  background-repeat: repeat-x;
}
#wrapper {
  height: auto !important;
  margin: 0 auto -100px;
  min-height: 100%;
}
#header {
  background: transparent url(../images/maiana-logo.png) no-repeat 80px 0px;
  height: 120px;
}
  #header a,
  #header h1 { position: relative; }
  #header h1 { visibility: hidden; }
    #header a img {
      width: 500px;
      height: 120px;
    }

#flashMessages {
  position: absolute;
  top:120px;
  }
  #flashMessages div {
    background-repeat: no-repeat;
    background-position: 5px;
    padding-left: 26px;
    }
  #flashMessages .error { background-image: url(/images/exclamation.png);  }
  #flashMessages .notice { background-image: url(/images/information.png); }
.fieldWithErrors input { border-color: #FF0D00; }
#mainContent { margin-top: 1em; }
  #mainContent #facts h2 { margin-bottom: 0; }
  #mainContent textarea#container_description { height: 50px; }

/* Footer */
#footer {
  height: 40px;
  line-height: 38px;
  width: 100%;
  background: url(/images/footer.background.gif) repeat-x;
}
  #footer ul li {
    padding-left: 32px;
    list-style: none;
  }

  #footer #bug_report {
    position: absolute;
    padding-left: 420px;
    width: 352px;
    height: 210px;
    overflow: hidden;
  }
    #footer #bug_report fieldset {
      background: white;
      border: 3px solid;
      margin-top:-1px;
    }
    #footer #bug_report textarea {
      width: 300px;
      height: 80px;
    }

#teaser { margin: 2.5em auto; }
  #teaser h1 { text-align: center; }

#user-session {
  margin-top: 52px;
  text-align: right;
}
  #user-session a {
      text-decoration: none;
  }
  #user-session a:hover {
    text-decoration: underline;
  }
  #user-session li.gravatar {
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    background: transparent url(../images/gravatar-background.png) no-repeat;
    margin-top: -15px;
    padding: 5px 0;
  }


#site-search { text-align: right; }
  #site-search .loggedin {
    position: relative;
    bottom: 23px;
  }

  #site-search .loggedout {
    position: relative;
    top: 4px;
  }

  #site-search #siteq {
    height: 14px;
    font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
    font-size: 12px;
  }

  #site-search .submit {
    background: transparent url(/images/search.png) no-repeat scroll left bottom;
    border: medium none;
    width: 20px;
    height: 20px;
    margin: 0.4em 0 0.5em 0.2em;
    vertical-align: bottom;
  }

#endpoint-search { margin: 0px 15px 15px; }
  #endpoint-search #q {
    height: 14px;
    font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
    font-size: 12px;
	width: 170px;
  }

  #endpoint-search .submit {
    background: transparent url(/images/search.png) no-repeat scroll left bottom;
    border: medium none;
    width: 20px;
    height: 20px;
    margin: 0.4em 0 0.5em 0.2em;
    vertical-align: bottom;
  }

.omnigatorBox {
  border-width: 1px;
  border-style: solid;
  margin-bottom: 1em;
  }

  .omnigatorBox h3,
  .omnigatorBox h4 {
    padding: 5px;
    width: auto;
    }

  .omnigatorBox h4 {
    padding: 5px 1em;
    font-weight: bold;
    margin: 0;
    }
    .omnigatorBox h3 img { margin-bottom: -1px }

    .omnigatorBox.collapsible h3 {
      background-image: url('../images/expand.png');
      background-repeat: no-repeat;
      background-position: 98% center;
      cursor: pointer;
    }
    .omnigatorBox.collapsible h3 a {
      text-decoration: none;
    }
    .omnigatorBox.collapsible.expanded h3 {
      background-image: url('../images/collapse.png');
    }

  .omnigatorBox form { margin: 20px; }
  .omnigatorBox textarea { width: 495px; }

  .omnigatorBox.embed-code h3,
  .omnigatorBox#statistics h3 { margin-bottom: 0; }

.omnigatorBoxSis {
  border-width: 1px;
  border-style: solid;
  margin-bottom: 1em;
  }

  .omnigatorBoxSis h3 {
    padding: 5px;
    width: auto;
    }

  .omnigatorBoxSis form     { margin: 20px; }
  .omnigatorBoxSis textarea { width: 495px; }


.omnigatorBoxSubj3ct {
  border-width: 1px;
  border-style: solid;
  margin-bottom: 1em;
  }

  .omnigatorBoxSubj3ct h3 {
    padding: 5px;
    width: auto;
    margin-bottom: 0em;
    }

  .omnigatorBoxSubj3ct ul {
    margin-top: 1em;
    display:none;
    }

  .omnigatorBoxSubj3ct form     { margin: 20px; }
  .omnigatorBoxSubj3ct textarea { width: 495px; }

ul.Subj3ctNoBullet {
  list-style-type: none;
  display:none;
  }
  ul.Subj3ctNoBullet a { text-decoration: none; }

.tmql_results {
  overflow: auto;
}

.search_results {
  margin: 1.4em;
}

div.search_results ul.endpoint-list li {
    width: 100%;
  }

#topic_map_upload_valid,
#topic_map_upload_invalid {
    display: none;
    padding: 5px;
    padding-left: 30px;
    }
#topic_map_upload_valid {
    background: #a6f4a9 url('../images/accept.png') no-repeat 6px 6px;
    border: 1px solid #118c0e;
    }
#topic_map_upload_invalid {
    background: #f03535 url('../images/exclamation.png') no-repeat 6px 6px;
    color: white;
    border: 1px solid #8c0e0e;
    }
#endpoint_short_name { color: gray; }

#metaInformation .breadCrumbs h2,
#metaInformation .breadCrumbs h3,
#metaInformation .breadCrumbs h4 {
    display: inline;
    font-size: 24px;
}
#metaInformation .breadCrumbs h3 { font-size: 22px; }
#metaInformation .breadCrumbs h4 { font-size: 20px; }
#metaInformation .prefixLegend { text-align: right; }

ul.endpoint-list { margin-right: 0px; }
  ul.endpoint-list li {
    display: block;
    background-color: #F5E4CF;
    background-image: url(/images/spacer.gif);
    background-repeat: no-repeat;
    background-position: 3px 2px;
    list-style: none;
    margin-left: -1.5em;
    padding-left: 24px;
    margin-bottom: 2px;
    line-height: 19px;
    clear: both;
    }
  ul.endpoint-list .sublist {
    display: none;
    }
    ul.endpoint-list .sublist li {
      background-color: transparent!important;
    }
      ul.endpoint-list .sublist li.user {
        background-image: url(/images/user.png);
      }

  ul.endpoint-list span.buttons { float: right; }
  ul.endpoint-list li.public:hover  { background-color: #e0e9c0; }
  ul.endpoint-list li.private:hover { background-color: #ffd4c9; }
    ul.endpoint-list li span.buttons img {
      margin-right: 3px;
      margin-left: -1px;
      margin-bottom: -3px;
      }
    li.public.local_file-ep  { background-image: url(/images/drive.png); }
    li.private.local_file-ep { background-image: url(/images/drive-private.png); }
    li.public.local_file-ep.schema  { background-image: url(/images/schema.png); }
    li.private.local_file-ep.schema { background-image: url(/images/schema-private.png); }
    li.public.static_url-ep  { background-image: url(/images/world.png); }
    li.private.static_url-ep { background-image: url(/images/world-private.png); }
    li.public.container-ep  { background-image: url(/images/package.png); }
    li.private.container-ep { background-image: url(/images/package-private.png); }
    li.public.tm_exploration-ep { background-image: url(/images/chart_line_link.png); }
    li.private.tm_exploration-ep { background-image: url(/images/chart_line_delete.png); }
    li.public.memap-ep  { background-image: url(/images/vcard.png); }
    li.private.memap-ep { background-image: url(/images/vcard-private.png); }

#show-endpoints.tabbed .ui-tabs-panel { padding: 1em 0; }

.tipsy { padding: 5px; font-size: 10px; opacity: 0.8; filter: alpha(opacity=80); background-repeat: no-repeat;  background-image: url(../images/tipsy.gif); }
  .tipsy-inner { padding: 5px 8px 4px 8px; background-color: black; color: white; max-width: 600px; }
  .tipsy-inner { -moz-border-radius:3px; -webkit-border-radius:3px; }
  .tipsy-north { background-position: top center; }
  .tipsy-south { background-position: bottom center; }
  .tipsy-east { background-position: right center; }
  .tipsy-west { background-position: left center; }

dl.as-table { padding: 0 3em; }
  dl.as-table dt {
    float: left;
    clear: left;
    width: 160px;
    font-weight: bold;
    padding-right: 0.5em;
    }
  dl.as-table dt:after { content: ':'; }
  dl.as-table dd {
    margin: 0 0 0 150px;
    padding: 0;
    }
  dl.as-table dt.sum,
  dl.as-table dd.sum {
    font-weight: bold;
    background-color: #FFDDB1;
    border-bottom: 2px solid #C59556;
    }
  dl.as-table dt.indent-1 { 
    margin-left: 10px;
    width: 150px;
    }


#DLmenu,
#DLmenu ul { margin: 0; padding: 0;}
#DLmenu li { list-style-type: none;}

ul#DLmenu li {
  float: left;
  padding-right: 10px;
  margin-right: 5px;
  background-image: url(/images/arrow_right_grey.png);
  background-position: right center;
  background-repeat: no-repeat;
  }

ul#DLmenu li:hover {
  background-image: url(/images/arrow_right_grey_down.png);
}

ul#DLmenu ul li:hover {
    background-image: url(/images/arrow_right_grey_down.png);
}
ul#DLmenu ul {        
	margin-top:2px;
	margin-left: 1px;
        /*background-color: #352217;*/
        background-color: #FFEDD6;
        padding-left: 1px;
        border: 1px solid #352217;
}

#DLmenu li ul {
  position: relative;
  
}

#DLmenu a {
  text-decoration: none;
}

ul#DLmenu ul li {
  float:none;
  padding-top: 2px;
  background-image: none;
  /*border-bottom: 1px solid #352217;*/

}
