html,
body
{
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #000000;
  background-image: url('/images/body-background.gif');
  background-repeat: repeat-x;
}

html
{
  overflow: scroll;
  overflow-x: auto;
}

#flash-wrapper,
#flash-referencewrapper
{
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

#flash-referencewrapper
{
  position: absolute;
  z-index: 200;
  height: 500px !important;
}

#flash-referencewrapper object,
#flash-referencewrapper embed
{
  height: 500px !important;
}

#container
{
  margin: 0 auto;
  color: #ffffff;
  position: absolute;
  z-index: 10;
  left: 50%;
  width: 953px;
  margin-left: -475px;
}

body.flash #container
{
  margin-top: 460px;
}

body.flash #header
{
  position: absolute;
  margin-top: -460px;
  width: 300px;
}

#container,
#container embed,
#container object
{
  z-index: 100;
}

#container a img
{
  border-style: none;
}

#header
{
  height: 80px;
}

#header a
{
  display: block;
  position: absolute;
  margin-top: 17px;
  z-index: 20000;
}

#reference-overlay
{
  position: absolute;
  top: 85px;
  width: 953px;
  height: 349px;
  background-image: url('/images/black-transparent.png');
}

#reference-overlay.loading
{
  display: block;
}

#reference-overlay img.load_bar
{
  position: absolute;
  margin-top: 199px;
  margin-left: 55px;
}

#reference-overlay p
{
  position: absolute;
  margin-top: 139px;
  margin-left: 55px;
  text-align: center;
  width: 953px;
  line-height: 50px;
  height: 50px;
  font-size: 150%;
  font-family: 'Avenir', 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

#references
{
  background-image: url('/images/black-transparent.png');
  margin-bottom: 28px;
  z-index: 10;
  position: absolute;
}

#references.no-background
{
  background-image: none !important;
}

body.flash #references
{
  display: none;
}

#references div.reference_holder
{
  background-repeat: no-repeat;
  background-position: top left;
  width: 953px;
  height: 349px;
}

#references div.reference_holder div.content
{
  position: absolute;
  margin-top: 45px;
  margin-left: 620px;
  width: 280px;
  font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
}

#references div.reference_holder div.content b,
#references div.reference_holder div.content strong
{
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#references div.reference_holder div.content h1
{
  font-family: 'Avenir', 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}

#references div.buttons
{
  display: none;
  position: absolute;
  top: 290px;
  height: 60px;
  width: 953px;
  background-image: url('/images/black-transparent-73.png');
}

#references:hover div.buttons,
#references div.buttons:hover,
#references div.buttons:hover
{
  display: block;
}

#references div.buttons div.button
{
  padding-top: 15px;
  position: absolute;
}

#references div.buttons div.button.prev
{
  margin-left: 30px;
}

#references div.buttons div.button.next
{
  margin-left: 800px;
}

#frames
{
  position: absolute;
  z-index: 1000;
  margin-top: 380px;
}

body.flash #frames
{
  margin-top: 0;
}

#frames div.frame
{
  float: left;
  width: 347px;
  margin-right: 6px;
  overflow: hidden;
  height: 309px;
}

#frames #frame_3
{
  width: 247px;
  margin-right: 0;
}

#frames div.frame div.content
{
  height: 202px;
  font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  padding: 29px;
}

* html #frames div.frame div.content
{
  height: 220px;
}

#frames div.frame h1
{
  font-family: 'Avenir light', Verdana, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0 0 17px;
  padding-left: 43px;
  background-repeat: no-repeat;
  background-position: left center;
  height: 29px;
  line-height: 29px;
}

* html #frames div.frame h1
{
  padding-left: 0;
}

* html #frames div.frame h1 embed,
* html #frames div.frame h1 object
{
  position: absolute;
  margin-top: 4px;
  margin-left: 10px;
}

* html #frames div.frame h1
{
  font-weight: bold;
  margin-top: -10px;
}

#frames div.frame h1 img
{
  position: absolute;
  margin-left: -43px;
  margin-top: -3px;
}

#frames div.content h2
{
  font-size: 120%;
  color: #ffffff;
  margin: 0 0 10px;
  height: 60px;
  font-size: 17px;
  line-height: 20px;
}

#frames div.content,
#frames p
{
  margin: 0;
  line-height: 15px;
}

#frames .flash-text span.flash-replaced
{
  display: none;
}

#container a:link,
#container a:visited
{
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
}

#container a:hover,
#container a:visited:hover
{
  text-decoration: underline;
}

#footer
{
  position: absolute;
  clear: both;
  width: 153px;
  margin-left: 800px;
  text-align: right;
  top: 777px;
}

body.flash #footer
{
  top: 297px;
}

#footer a
{
  display: block;
  float: right;
  margin-top: 30px;
}

div.midcom_services_toolbars_fancy
{
  z-index: 1000 !important;
}

body.references #container,
body.create #container,
body.edit #container,
body.delete #container,
body.__ais #container
{
  margin-top: 40px !important;
  padding-bottom: 100px;
}

body.references #container fieldset,
body.create #container fieldset,
body.edit #container fieldset,
body.delete #container fieldset,
body.__ais #container fieldset
{
  border-color: #ffffff;
}

body.references #header,
body.create #header,
body.edit #header,
body.delete #header,
body.__ais #header
{
  margin-top: -45px;
}

body.references #container ul
{
  float: left;
  width: 200px;
  margin-right: 1em;
}

body.references #container #content,
body.references #container #content p,
body.references #container #content p *
{
  color: #ffffff !important;
}