body
{
  margin: 0;
}

#page
{
  width: auto;
}

#header > *,
#main
{
  margin-left: auto;
  margin-right: auto;
  width: 770px;
}

#content .section .section
{
  margin: 1em 0;
}

tbody tr:hover
{
  background: #ffe;
}

#languageMenu,
#userMenu
{
  padding: 0.3em 1em;
  background: #069;
  border-bottom: 1px solid #036;
}

#languageMenu
{
  left: 0;
  width: 100%;
}

#languageMenu :link,
#languageMenu :visited,
#userMenu :link,
#userMenu :visited
{
  color: #FFF;
}

#page .browse :link,
#page .browse :visited
{
  color: #069;

  /* Reset */

  display: inline;
}

#name-and-slogan,
#logo
{
  margin: 2em 0.4em 5em 0.4em;
}

#page .search
{
  width: 100%;
  float: none;
  margin-top: 0.5em;
  padding: 0.5em 0 0.3em 0;
  margin-top: 0;
  background: #EDF5FA;
  border-top: 1px solid #D3E7F4;
}

#page .search > *
{
  position: relative;
}

#page .search form
{
  width: 540px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

#page .search .form-submit
{
  background: #bcd url(../images/search.png) no-repeat center;
  border: 0;

  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;

  height: 27px;
  margin: 4px;
  position: absolute;
  top: 0;
  right: 0; /* LTR */
  text-indent: -32767px;
  width: 27px;
}

#page .search .form-submit:focus,
#page .search .form-submit:hover
{
  background-color: #abc;
}

#page [name=query]
{
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;

  /* Use consistent box model if possible */

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;

  font-size: 24px;
  margin: 0; /* Only needed in WebKit */
  width: 100%;
}

#page .search .advanced-search
{
  text-align: right;
  width: 540px;
  font-size: 90%;
}

#page .search .advanced-search a
{
  color: #069;
}

/* START: align browser/search layers to left */

#page > .search .content,
#page > .browse .content
{
  width: 770px;
  margin: 0 auto;
}

#page > .search form
{
  width: 550px;
  margin: 0;
}

#page > .browse ul
{
  text-align: left;
  margin-left: 1em;
}

/* END: align browser/search layers to left */

#page .browse
{
  padding: 0.4em 0 1em 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size:90%;
  line-height:normal;
  background: #EDF5FA;
  border-bottom: 1px solid #D3E7F4;
  width: 100%;
}

#page .browse .content
{
  text-transform: lowercase;
}

#navigation
{
  background: #069;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-bottom: 1px solid #036;
  border-top: 1px solid #036;
  font-size: 110%;
  /*margin: 0 0 3em 0;*/
  width: 100%;
}

#navigation .section
{
  width: 770px;
  margin-left: auto;
  margin-right: auto;
}

#navigation :link,
#navigation :visited
{
  background: url('../images/arrow.png') no-repeat right;
  color: #fff;
  display: block;
  padding: 4px 1em;
  padding-right: 24px;
}

#navigation li
{
  border-right: 1px solid #036;
  float: left;
  margin: 0;
  padding: 0;
  list-style-image: none; /* IE7 */
}

#navigation ul:first-child
{
  border-left: 1px solid #036;
}

#navigation li:hover :link,
#navigation li:hover :visited,
#navigation .active :link,
#navigation .active :visited,
#navigation .links .links
{
  background-color: #069;
}

#navigation li:hover :link:focus,
#navigation li:hover :link:hover,
#navigation li:hover :visited:focus,
#navigation li:hover :visited:hover,
#navigation .active :link:focus,
#navigation .active :visited:focus
{
  background-color: #000;
}

#navigation .leaf :link,
#navigation .leaf :visited
{
  background-image: none;
  padding: 4px 1em;
}

#navigation .links .links
{
  box-shadow: 2px 2px .5em rgba(0, 0, 0, .5);
  -moz-box-shadow: 2px 2px .5em rgba(0, 0, 0, .5);
  -webkit-box-shadow: 2px 2px .5em rgba(0, 0, 0, .5);

  display: none;
  font-size: 90%;
  position: absolute;
  z-index: 1;
}

#navigation .links .links :link,
#navigation .links .links :visited
{
  background-image: none;
}

#navigation .links li .links li
{
  border: none;
  display: block;
  float: none;
}

/* Fix of isuse 2383 */
#navigation a
{
  white-space: nowrap;
}

#content .search
{
  background:#FF9933 none repeat scroll 0 0;
  padding: 4px;
  border-top: 3px solid #999999;
}

#content .search .form-submit
{
  background:#000000 none repeat scroll 0 0;
  text-indent: 0;
  border-color:-moz-use-text-color #999999 #999999 -moz-use-text-color;
  border-style:none solid solid none;
  border-width:0 3px 3px 0;
  display: block;
  margin: 0 0 0 auto;
  width:auto;
  position: relative;
}

#content [name=query]
{
  font-size: 1em;
  width: 50%;
}

#content .search .form-submit:focus,
#content .search .form-submit:hover
{
  background-color: #FFF;
  color: #000;
}

/* Format date with extended properties */
.date dl
{
  margin: 0 0 0 1em;
}

.date dl dt:after
{
  content: ':';
}

.date dl dt
{
  clear: both;
}

.date dl dt,
.date dl dd
{
  float: left;
  margin: 0 1px;
}

.field ul,
.field ol
{
  margin: 0;
}

.field ul li,
.field ol li
{
  margin: 0;
}
