body {
    font-family: Arial, "Arial Unicode MS", sans-serif;
    font-size: 9pt;
}

a:link, a:visited {
    text-decoration: none;
    color: #606060;
}

a:link:hover, a:visited:hover {
    text-decoration: underline;
    color: #303030;
}

.message, .error {
    color: #e01010;
}

.Content label input[type="checkbox"], .Content label input[type="radio"] {
   margin-right: 0.6em; /* space after checkbox */
}

/* the following currently doesn't work on IE, see http://stackoverflow.com/questions/359821/styling-the-last-td-in-a-table-with-css */
table.listing th:last-child:not(:first-child), table.listing td.listing:last-child:not(:first-child) {
  text-align: right;
}

table.listing select {
    max-width: 360px;
}

table.listing tr.Add > td {
    padding-bottom: 1em;
}

tr.listing.odd, tr.Add.odd {
  background-color: #f6f6f6;
}

td.listing {
    vertical-align: top;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
}

td.listing.nopadding {
    padding-top: 0;
    padding-bottom 0;
}

form.div.container div.content-right {
    position: relative;
}

form div.container div.description, form div.row div.description {
    border-left: 2px solid #c2c2c2;
    width: 200px;
    padding-left: 8px;
    position: absolute;
    margin-top: 0px;
    background-color: #ffffff;
    display: none;
    z-index: 10;
}

form div.container select[multiple],
form div.container select
{
    max-width: 40em;
}

.cmsSearch form {
    z-index: 999;
    padding: 10px;
    margin: 0;
    float: right;
    clear: both;
    background-color: #ddd;
    background-image: url('media/cms_search_lb.gif');
    background-position: 0 bottom;
    background-repeat: no-repeat;
}

.cmsSearch input[type=text] {
    width: 150px;
    margin: 0 5px 0 0;
}

.cmsSearch input[type=text]:hover {
    background-color: #fff;
}

/********************************************************/
/* Styling for the page header                          */
/********************************************************/
a.navbar-brand:link, a.navbar-brand:visited {
    color: #e34785;
}

header.navbar-header {
    float: none; /* navbar-nav below */
}

.nav > li {
    color: white;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 0;
    padding-bottom: 5px;
}

.navbar-static-top {
    z-index: 0;
}

.nav > li > a {
    line-height: inherit;
    padding-left: 0;
    padding-right: 5px;
    padding-top: 0;
    padding-bottom: 0;
}
/********************************************************/
/* Main page list styling.                              */
/********************************************************/

#content {
    padding-top: 0px;
}

#content > div.container-fluid h2,
#content > div.container-fluid h3,
#content > div.container-fluid h4
{
    font-weight: bold;
}

#content > div.container-fluid h2
{
    font-size: 13pt;
}
#content > div.container-fluid h3
{
    font-size: 11pt;
}
#content > div.container-fluid h4
{
    font-size: 9pt;
}

/* for multiselect */
.uiMultiselect {
    min-width: 560px;
    min-height: 12em;
}

/* for autocompleter */
div.autocomplete {
  position: absolute;
  z-index: 10;
  background-color: white;
  border: 1px solid #888;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
}

div.autocomplete ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}

div.autocomplete ul li.selected { background-color: #ffb;}
div.autocomplete ul li {
  font-size: smaller;
  list-style-type: none;
  display: block;
  margin: 0;
  padding: 2px;
  cursor: pointer;
  /* following: dbu */
  <!--[if IE]>
  width:250px;
  <![endif]-->
  overflow: hidden;
  white-space: nowrap;
}

ul.sortableList {
    list-style-type: none;
    padding: 0px;
    padding-right: 8px;
    margin: 0px;
}

ul.sortableList li {
    cursor: move;
    padding: 2px 2px;
    margin: 2px 0px;
    border: 1px solid #000000;
}

/* item-edit */
#measurements_additional {
    display: block;
}

ul.PublicationSelector {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  min-height: 3em;
}

ul.PublicationSelector#publicationInactive {
    max-height: 400px;
    overflow: auto;
}

ul.PublicationSelector li {
    cursor: move;
    padding: 2px 2px;
    margin: 2px 0px;
}

/* route-specific styles */
ul.root li.indent {
    list-style-type: circle;
    margin-left: 1em;
}

/* Tiny MCE */
/* if we want
 *  resize: true
 * we have to set
 *  statusbar: true,
 * so hide it with CSS
 * see https://stackoverflow.com/a/47291122
 */
.mce-path.mce-flow-layout-item.mce-first {
    display: none !important;
}
.mce-statusbar {
    border: 0 !important;
}