* { margin: 0; padding: 0; }

body {
  background: #C8C8C8;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 80%;
}

#container {
  text-align: left;
  width: 760px;
  background: url(../img/container-bg.gif) repeat-y 0% 0%;
  padding: 0px 13px 0px 11px;
  margin: 3px auto;
  overflow: hidden;
}

#header {
  width: 760px;
  padding: 110px 13px 0px 11px;
  background: url(../img/header-bg.gif) no-repeat 0% 0%;
  margin: 0px -13px -2px -11px;
  position: relative;
}

#sidebar {
  clear: both;
  float: left;
  width: 125px;
  padding: 8px 3px 0px 3px;
  margin-left: -3px;
  font-size: 90%;
  overflow: hidden;
}

#content {
  float: right;
  width: 610px;
  padding: 205px 12px 20px 8px;
  margin-top: 9px;
  position: relative;
  background: white url(../img/content-bg.jpg) no-repeat 0% 0%;
  /* padding-top must be (image height) + 38px */
}


.two-cols {
  overflow: hidden;
  background: url(../img/vbar.gif) repeat-y 52% 0;
}

.two-cols .left-col {
  float: left;
  width: 300px;
  
}

.two-cols .right-col {
  float: right;
  width: 280px;
  
}
.two-cols-news {
  overflow: hidden;
  background: url(../img/vbar.gif) repeat-y 58% 0;
}

.two-cols-news .left-col {
  float: left;
  width: 340px;
  
}

.two-cols-news .right-col {
  float: right;
  width: 240px;
  
}

#footer {
  clear: both;
  margin-left: -11px; width: 760px;
  padding: 10px 13px 0px 11px; /* Set 10px to bottom for text to appear in the white area */
  background: #C8C8C8 url(../img/footer-bg.gif) no-repeat 0% 0%;
  font-size: 80%;
  text-align: center;
}

a.dlink { display: block; height: 1px; overflow: hidden; }
a.dlink:focus { height: auto; overflow: visible; }

.hr { height: 3px; background: url(../img/hbar.gif) repeat-x 50% 50%; }
.hr hr { display: none; }

/* ---------------------------------------------- */

/* Custom page headers here */
/* The following pages uses the standard header :
   - Home
   - Brochure
   - Contact
   - Services
*/
/* padding-top must be (image height) + 38px */

#corporate        #content { background-image: url(../img/content-bg-corporate.jpg); }
#private          #content { background-image: url(../img/content-bg-private1.jpg); }
#private.private2 #content { background-image: url(../img/content-bg-private2.jpg); }
#private.private3 #content { background-image: url(../img/content-bg-private3.jpg); }
#private.private4 #content { background-image: url(../img/content-bg-private4.jpg); }
/* ---------------------------------------------- */

#banner { position: absolute; left: 11px; top: 38px; width: 760px; height: 90px; background-repeat: no-repeat; background-position: 0px 0px; }

/* Default background */
#banner { background-image: url(../img/banner-home.jpg); }


#home        #banner { background-image: url(../img/banner-home.jpg); }
#corporate   #banner { background-image: url(../img/banner-corporate.jpg); }
#private     #banner { background-image: url(../img/banner-private.jpg); }
#contact     #banner { background-image: url(../img/banner-contact.jpg); }
#brochure    #banner { background-image: url(../img/banner-brochure.jpg); }
#services    #banner { background-image: url(../img/banner-services.jpg); }

/* The following banners do not exist - uncomment to activat them */
/*
#calculator  #banner { background-image: url(../img/banner-calculator.jpg); }
#wealth      #banner { background-image: url(../img/banner-wealth.jpg); }
#partners    #banner { background-image: url(../img/banner-partners.jpg); }
*/

#private.private1 #banner { background-image: url(../img/banner-private1.jpg); }
#private.private2 #banner { background-image: url(../img/banner-private2.jpg); }
#private.private3 #banner { background-image: url(../img/banner-private3.jpg); }
#private.private4 #banner { background-image: url(../img/banner-private4.jpg); }


#content a.maillink {
  position: absolute;
  right: 5px;
  top: 4px;
  display: block;
  text-indent: -9999px;
  width: 174px;
  height: 18px;
  overflow: hidden;
  background: url(../img/mailbutton.gif) no-repeat 0px 0px;
}

#content a.maillink:focus, #content a.maillink:hover, #content a.maillink:active {
  background-position: 0px -18px;
}

#header a.homelink {
  position: absolute;
  left: 11px;
  top: 41px;
  display: block;
  text-indent: -9999px;
  width: 375px;
  height: 71px;
  overflow: hidden;
  background: url(../img/logo.jpg) no-repeat 0px 0px;
}

/*
#header a.homelink:focus, #header a.homelink:hover, #header a.homelink:active {
  background-position: 0px -18px;
}
*/

/* ---------------------------------------------- */

#sidebar img {
  margin-top: 20px;
  margin-bottom: 20px;
}

#sidebar ul {
  display: block;
  list-style: none;
}

#sidebar ul li {
  display: block;
  width: 100%;
  background: red;
  border-top: 1px solid #2DB9EE;
  line-height: 150%;
}

#sidebar li a, #sidebar li .title {
  display: block;
  padding: 3px 8px;
  text-decoration: none;
  color: black;
  background-color: #5DC9F2; 
  background-repeat: no-repeat;
  background-position: 100% 50%;
}

#sidebar li a:link    { background-color: #5DC9F2; color: black; background-image: none; }
#sidebar li a:visited { background-color: #5DC9F2; color: black; background-image: none; }
#sidebar li a:focus   { background-color: #D18F65; color: white; background-image: url(../img/menu-arrow-3.gif); }
#sidebar li a:hover   { background-color: #D18F65; color: white; background-image: url(../img/menu-arrow-3.gif); }
#sidebar li a:active  { background-color: #D18F65; color: white; background-image: url(../img/menu-arrow-3.gif); }

#sidebar li li a { background-image: none!important; }

#sidebar li li a:link    { background: #B1E5F9; color: black; }
#sidebar li li a:visited { background: #B1E5F9; color: black; }
#sidebar li li a:focus   { background: #D18F65; color: white; }
#sidebar li li a:hover   { background: #D18F65; color: white; }
#sidebar li li a:active  { background: #D18F65; color: white; }

/* ------------------------------------------------- */

#content h1 {
  color: #FF2222;
  font-size: 125%;
  margin-bottom: 10px;
  font-weight: bold;
}

#content h2 {
  color: #000066;
  font-size: 115%;
  margin-bottom: 10px;
  margin-top: 0px;
  font-weight: bold;
}

#content h3 {
  color: #FF0000;
  font-size: 105%;
  margin-bottom: 10px;
  font-weight: bold;
}

#home #content h1 {
  /*color: #00007F;*/
  font-size: 125%;
  margin-bottom: 10px;
  font-weight: bold;
}

#home #content h1 strong {
  font-size: 140%;
  font-weight: bold;
}

#content a { text-decoration: none; }

#content a:link    { color:#000066; }
#content a:visited { color:#000066; }
#content a:focus   { color:#ff0000; }
#content a:hover   { color:#ff0000; }
#content a:active  { color:#ff0000; }

#content p {
  color: #000066;
  margin-bottom: 10px;
  line-height: 150%;
  text-align: justify;
}

#content p.footnote {
  font-weight: bold;
  color: #000066;
}

#content ul {
  list-style: none;
  margin-left: 40px;
  display: block;
  margin-bottom: 10px;
}

#content ol {
  list-style: none;
  display: block;
  margin-bottom: 10px;
}

#content li {
  display: block;
  padding-left: 24px;
  background: url(../img/bullet.gif) no-repeat 0% 0.4em;
  line-height: 1.5em;
  color: #000066;
}

#content ul.services {
  
  margin-left: 0;
}

#content ul.services li {
  padding-top: 15px;
  background: url(../img/bullet.gif) no-repeat 0% 1.7em;
  padding-bottom: 15px;
  border-bottom: 1px solid #EAEAEA;
  
}

/* ------------------ */

#content ul.floatlinks { float: left; width: 100%; margin-left: 0; }

#content ul.floatlinks li { float: left; width: 160px; min-height: 50px; position: relative; background-color: white; }

#content ul.floatlinks li a {
  position: absolute; left: 25px; top: 0px; width: 145px; min-height: 50px;
}

/*
#content ul.pdf li a:link    { color:#000066; }
#content ul.pdf li a:visited { color:#000066; }
#content ul.pdf li a:focus   { color:#ff0000; }
#content ul.pdf li a:hover   { color:#ff0000; }
#content ul.pdf li a:active  { color:#ff0000; }
*/

/* ------------------ */

#content dt {
  display: block;
  padding-left: 25px;
  background: url(../img/bullet.gif) no-repeat 0% 0.4em;
  line-height: 1.5em;
  color: #000066;
  font-weight: bold;
}

#content dd {
  display: block;
  padding-left: 25px;
  line-height: 1.5em;
  color: #000066;
  font-weight: normal;
  margin-bottom: 20px;
}

#content dd address { font-style: normal; }

a.pdf {
  display: block;
  width: auto;
  min-height: 32px;
  background: url(../img/pdf.gif) no-repeat 0% 50%;
  padding: 4px 4px 4px 36px;
  font-weight: bold;
  line-height: 32px;
  text-decoration: none;
}

/*
#services a.pdf {
  font-size: 70%;
}
*/

/* ------------------ */

#contact #content {
  position: relative;
  padding-right: 382px; /* 370 + 12 */
  width: 230px;
  min-height: 360px;
}

#contact #content img.map {
  position: absolute;
  right: 0; top: 206px;
}

/* ------------------ */

#content form h2 { margin-bottom: 0; }

form.calc {
  /*border: 2px solid white;*/
}

form.calc table {
  table-layout: fixed;
  /*width: 90%;*/
  width: 100%;
}

form .txt {
  background: transparent;
  /*border: 2px solid #2db9ee;*/
  font-family: monospace;
  border: 1px solid #C8C8C8;
  width: 20em;
  display: block;
  font-size: 110%;
  cursor: text;
  font-weight: bold;
  color: black;
  padding: 2px;
}

form.calc .txt { width: 14.5em; }
form#itc .txt { width: 10em; }

form .btn {
  background: #5dc9f2;
  border: 2px solid #5dc9f2;
  width: 8em;
  display: block;
  float: left;
  font-size: 100%;
  font-weight: normal;
  color: #000033;
  margin-right: 5px;
  margin-top: 5px;
}

#itc_allowance, #itc_keep, #wr_wealth {
  color: #006699;
}

form.calc h3 {
  font-size: 150%;
  padding: 0px;
  margin: 0px;
  color: #6C7699;
  border-bottom: 2px solid white;
}

/* ------------------------ */

table.ruled {
  border-collapse: collapse;
  margin-bottom: 10px;
}

table.ruled th, table.ruled td {
  border: 1px solid #80b3cc;
  padding: 3px;
}

/* --------------------------- */

/* ****************** */

table.partners {
  width: 100%;
}

table.partners td {
  padding-top: 20px;
}

table.partners td.sep {
  background: url(../img/hbar.gif) repeat-x 50% 50%;
  padding: 10px 0px 10px 0px;
}

table.partners td.notes {
  font-size: 90%;
  text-align: left;
  padding-top: 1em;
}

table.partners td a img {
  border: none;
}

.logos {
  text-align: left;
}

.links {
  text-align: right;
  font-weight: bold;
  font-size: 110%;
}

a img { border: none; }

a.button {
  background: #5dc9f2;
  width: 150px;
  text-align: center;
  color: #000033;
  float: right;
  display: block;
  padding: 2px 5px;
  text-decoration: none;
}

a.button:hover {
  text-decoration: underline;
  
}