/* General stuff */
HTML
{
  margin: 0;
  padding: 0; 
}

BODY 
{
  background-color    : #e0e0f0;
  font-family         : Tahoma,Arial,Helvetica,san-serif;
  font-size           : small;
  color               : #202020;
  padding             : 0.0em;
  margin              : 0.0em;
  min-width: 720px; 
}

/* Banner */
div.banner
{
  max-width: 1320px;
}

div.banner div#packetship
{
  position: absolute;
  left: 10px;
  top: 10px;
  background: transparent url(brands/common/images/packetship-logo.gif) no-repeat top left; 
  width: 240px;
  height: 53px;
}
div#packetship-logo-login
{
  position: absolute;
  left: -80px;
  top: 10px;
  background: transparent url(brands/common/images/packetship-logo.gif) no-repeat top left; 
  width: 263px;
  height: 60px;
}

div#brand-logo-login
{
  position: absolute;
  right: -80px;
  top: 10px;
  background: transparent url(brands/common/images/extranet-logo.gif) no-repeat top left; 
  width: 330px;
  height: 60px;
}

H1
{
  font-family         : "Humanst521 BT",Tahoma,Arial,Helvetica,san-serif;
  font-size           : 150%;
  font-weight         : bold;
  color               : #003070;
  text-align          : left;
  margin-top: 0.5em;
}

/* stop opera from adding an extra line per form */
form { 
display:inline; 
}

H2 
{
  font-family         : "Humanst521 BT",Tahoma,Arial,Helvetica,san-serif;
  font-size           : 130%;
  color               : #003070;
  margin-top: 1em;
  border-top:  solid 1px #003070;
}

H3, H3 A
{
  font-size           : 100%;
  font-weight         : bold;
  margin: 0;
  color               : #003070;
}

P
{
  margin-top:  0.5em;
  margin-bottom: 0.5em;
  text-align: justify; 
  line-height: 140%;
}

A IMG
{
  border              : none; 
}

TABLE
{
  border: 1px;
}


/* Banner */
DIV.banner
{
  position: absolute;
  width: 94%;
  min-width: 700px;
  top: 12px;
  left: 32px;
}


DIV.abc
{
  visibility: hidden;
}

H1.logo
{
  margin: 0;
  padding: 0;
  padding-left: 8px;
  padding-right: 8px;
  position: absolute;
  right: 0;
  top: 0;
  background-color: #e0e0f0;
  z-index: 1;
}
  
DIV.banner IMG.logo
{ 
  margin-top: 8px;
}


/* Suboptions bar */
DIV.suboptions-wrap
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
}

DIV.suboptions
{
  position: absolute;
  left: 160px;
  bottom: 0;
  width: 75%;
  min-width: 600px;
  vertical-align: bottom;
}

DIV.suboption, DIV.suboption-current, DIV.suboption-highlight, DIV.suboption-current-highlight
{ 
  font-family         : "Humanst521 BT",Tahoma,Arial,Helvetica,san-serif;
  font-weight         : bold;
  font-size: 120%;
  padding-right: 4px;
  display: inline; 
}

DIV.suboption DIV.left, DIV.suboption-current DIV.left, DIV.suboption-highlight DIV.left, DIV.suboption-current-highlight DIV.left
{
  padding-left: 8px;
  padding-right: 4px;
  display: inline;
  background: transparent url(brands/common/images/option.gif) no-repeat top left; 
}

DIV.suboption DIV.right, DIV.suboption-current DIV.right, DIV.suboption-highlight DIV.right, DIV.suboption-current-highlight DIV.right
{
  margin: 0;
  background: transparent url(brands/common/images/option.gif) no-repeat top right; 
  display: inline;
}

DIV.suboption-current
{
  color    : #003070;
}

DIV.suboption-current DIV.left, DIV.suboption-current DIV.right
{
  background-image: url(brands/common/images/option-current.gif);
}

DIV.suboption-highlight DIV.left, DIV.suboption-highlight DIV.right
{
   background-image: url(brands/common/images/option-highlight.gif); 
}

DIV.suboption-current-highlight DIV.left, DIV.suboption-current-highlight DIV.right
{
   background-image: url(brands/common/images/option-current-highlight.gif); 
}

DIV.suboptions A:hover 
{
  color    : #003070;
  background-color: transparent;
}


/* Options bar */
DIV.options
{
  position: absolute;
  top: 120px;
  left: 0px;
  width: 150px;
  height: 70%;
  min-height: 450px;
  padding-top: 12px;
  text-align: right;
}

DIV.option, DIV.option-current, DIV.logout
{ 
  clear:both; 
  float: right;
  margin              : 0;
  text-align: center;
  font-family         : "Humanst521 BT",Tahoma,Arial,Helvetica,san-serif;
  font-weight         : bold;
  font-size: 150%;
  width: 6em;
  max-width: 130px; 
  height: 1.5em;
  min-height: 32px;
  margin-bottom: 8px;
  background: transparent url(brands/common/images/option.gif) no-repeat top left; 
}

DIV.option-current
{
  background: transparent url(brands/common/images/option-current.gif) no-repeat top left; 
  color    : #003070;

}

DIV.logout
{
  background: transparent url(brands/common/images/option-yellow.gif) no-repeat top left; 
}

DIV.options A
{
  padding-left: 0.5em;
  padding-right: 0.5em;

  text-decoration     : none;
  color: #406080;
}

DIV.options A:hover 
{
  color    : #003070;
  background-color: transparent;
}

/* Main content box */
DIV#main
{
  position: absolute;
  top: 120px;
  left: 150px;
  width: 75%;
  min-width: 600px;
  max-width: 1180px;
  min-height: 500px;
}

DIV#main DIV.boxcontent
{
  min-height: 480px;
  min-width: 550px;
  padding: 1em;
  padding-top: 2em;
}

DIV#content
{
  position: absolute;
  top: 86px;
  left: 0px;
  width: 66%;
  min-width: 600px;
  min-height: 540px;
}

div#scroller
{
  overflow: auto;
  max-height: 480px;
  max-width: 1100px;
  padding-bottom: 2em;
  padding-right: 1em;
}

/* Various */
A
{ 
  color               : #4080C0;
  text-decoration     : none;
}

A:hover 
{
  background-color    : #c0e0ff;
}

UL, OL
{
  margin-right:  2em;
  margin-left:   2em;
  padding: 4px;
}

LI
{
  list-style-position : inside;
  line-height         : 160%;
  margin-bottom: 0.5em;
  margin-left: 0.5em;
}

UL LI
{
  list-style-type     : disc;
}  

/* Forms */
div.create
{
  margin-top: 2em;
}

table.update
{
}

table.update th
{
  text-align: right;
}

td.submit
{
  text-align: right;
}

input
{
  background-color: transparent;
}

td.submit input,
div.create input
{
  background-color: #e0e0f0;
}

table.list
{
  margin-bottom: 1em;
}

table.list TH, table.list TD
{
  padding: 0.5em;
}
 
table.list TH
{
  text-align: left; 
  border-top: solid 1px #003070;
  border-bottom: solid 1px #003070;
  background-color: #f0f0f8;
}

table.list th.sitegroup
{
  text-align: center;
}

tr.over-title th
{
  background-color: transparent;
  border: 0;
}

table.list td.yn, table.list th.category
{
  text-align: center;
}

td.country
{
  text-align: left;
}

form.cancel, div.cancel, div.commit
{
  display: inline;
}

div.commit, div.cancel
{
  padding-right: 1em;
}

/* Metadata per-language data table */
table.langdata
{
  border: solid 1px #c0c0c0;
  background-color: #f0f0f8;
  padding: 1em;
  margin-bottom: 1em;
}

table.langdata input
{
  background-color: white;
}

form.metadata div.update
{
  text-align: center;
  padding-top: 2em;
}

/* Usage report table */
form.usage
{
  margin-top: 1em;
}

table.usage
{
  margin-top: 2em;
  width: 100%;
}

table.usage th, table.usage td
{
  padding-left: 1em;
  padding-right: 1em;
  text-align: left;
}

table.usage tr.provider-heading th
{
  background-color: #f0f0f8;
  border-top: solid 1px #003070;
  border-bottom: solid 1px #003070;
}

table.usage tr.provider-total td
{
  border-top: solid 1px #003070;
  padding-bottom: 2em;
}

table.usage tr.total td
{
  border-top: solid 2px #003070;
  font-weight: bold;
}


/* General tables */
table.info /*, table.infoslim */
{
  border-left: solid 1px #003070;
  border-top: solid 1px #003070;
}

table.info td, table.info th
{
  border-bottom: solid 1px #003070;
  border-right: solid 1px #003070;
  padding: 0.5em;
  vertical-align: top;
  text-align: left;
}

table.info th, table.infoslim th
{
  background-color: #f0f0f8;
}

table.info td.submit
{
  text-align: right;
}

table.infoslim td, table.infoslim th
{
  width: 70px;
  border-bottom: solid 1px #003070;
  border-right: solid 1px #003070;
  /*text-align: center; */
/*  padding: 0.1em; */
}

td.infoslim-image
{
       text-align: center; 
}
/* Rounded corner box trickery */
DIV.box
{
  position: relative;
  min-width: 100px;
  z-index: 1;
  padding-left: 8px;
  _zoom: 1;  /* IE6 hack to force hasLayout, otherwise width of top is wrong */
}

/* Default background for boxes  */
div.box div.top,
div.box div.top div.left,
div.box div.bottom,
div.box div.bottom div.left
{
  background: transparent url(brands/common/images/box-background.gif); no-repeat top right;  
}

/* Thin top stripe */
div.box div.top
{
  position: relative;  /* Become scope for left below */
  background-position: top right;
  width: 100%;
  height: 12px;
  z-index: -1;
  font-size: 1px;
}

div.box div.top div.left
{
  position: absolute;
  top: 0px;
  left: -12px;
  background-position: top left;
  width: 12px;
  height: 12px;
}

/* Bottom stripe, containing content */
div.box div.bottom
{
  position: relative;
  height: 100%; 
  background-position: bottom right;
  padding-bottom: 1px;  /* Avoid clipping leakage over antialiased bottom of box */
}

div.box div.bottom div.left
{
  position: absolute;
  top: 0px;
  left: -12px;
  background-position: bottom left;
  width: 12px;
  height: 100%;
  /* Evil IE6 hack */
  _height: expression(this.parentNode.offsetHeight + 'px');
}

/* Content - offset slightly to centre in box */
div.box div.bottom div.boxcontent
{
  position: relative;
  left: 0px;
  margin-right: 12px;
  z-index: 1;
  padding: 0.5em;
}

/* Login page */
div#login-wrap
{
  padding: 80px;
  text-align: center;
}

div#login
{
  position: relative;
  margin: auto;
  text-align: center;
  max-width: 600px;
  padding-top: 150px; 
}

div#login-form
{
  margin: auto;
  width: 400px;
  min-height: 200px;
}

div#login-form H1
{
  text-align: center;
  margin-top: 0;
  padding-top: 4px;
  text-decoration: none;
  font-size: 150%;
}

div#login-form div.error
{
  text-align: center;
  color: red;
  font-size: 120%;
}

form#login
{
  font-size: 140%;
  font-family         : "Humanst521 BT",Tahoma,Arial,Helvetica,san-serif;
  color               : #003070;
  text-align: center;
  margin-bottom: 1em;
}

form#login table
{
  margin: auto;
  text-align: left;
}

form#login th, form#login td
{
  padding-top: 1em;
}

form#login th
{
  text-align: right;
  font-weight: normal;
}

form#login td.submit
{
  text-align: right;
}

form#login input
{
  font-size: 100%;
  padding: 0.1em;
}

form#login td.submit input
{
  font-family         : "Humanst521 BT",Tahoma,Arial,Helvetica,san-serif;
  background-color: #e0e0f0;
  font-size: 100%;
}
DIV.error
{
  color: red;
}
DIV.gauge
{
  display: inline-block;
  position: relative;
  width: 100%;  /* or fixed px */
  height: 16px;
  border: solid 1px black;
  color: black;

}

DIV.gauge DIV.bar
{
  display: inline-block;
  background-color: #88f154;
  height: 100%; 
  float: center;
  text-align: center;
}