/* Basic Structure */
body {
  /*
  background: #E5F3F6 url("../images/rule.gif") 90% 0;
  */
  background: #E5F3F6 url("../images/bg.gif") top right repeat-y;
  font-family: verdana, sans-serif, arial, helvetica;
  font-size: small;
  color: #581704;
  width: 1000px;
  margin: 10px auto;
  text-align: center;
}

td, th, input {
  font-family: verdana, sans-serif, arial, helvetica;
  font-size: small;
  color: #581704;
}

/* Header */
#header {
  background: url("../images/header_bl.gif") bottom left repeat-x;
  position: relative;
  min-height: 39px;
  height: 3.5em;
  padding: 15px 0;
  margin-bottom: 1em;
}

#header ul {
  margin: 0;
  padding: 0 15px 0 0;
  width: auto;
  float: right;
  position: absolute;
  bottom: 0;
  right: 0;
  list-style: none;
  background: url("../images/header_br.gif") no-repeat bottom right;
  z-index: 90; /* below the H1 */
}

#header li {
  display: inline;
  padding: 0 6px 0 0;
  margin: 0 1px 0 0;
  white-space: nowrap;
  float: right;
  background: transparent url("../images/header_tab.gif") 100% -600px no-repeat;
  border-bottom: 1px solid #515358;
}
#header ul a {
  float: left;
  display: block;
  padding: 4px 4px 4px 10px;
  background: transparent url("../images/header_tab.gif") 0% -600px no-repeat;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}
#header ul li a:hover { background-position: 0% -400px; }
#header ul li:hover { background-position: 100% -400px; }

#header h1 {
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  font-size: 2px;
  background: url("../images/header_tl.gif") no-repeat;
  height: 8px;
  z-index: 100; /* above the UL */
}
#header div.text {
  position: absolute;
  top: 0;
  left: 70px;
  margin: 15px 10px 10px 10px;
  font-size: 24px;
  font-weight: bold;
  color: white;
}
#header h1 a {
  display: block;
  width: 66px;
  height: 72px;
  background: transparent url("../images/712_c64.gif") no-repeat 2px center;
  text-indent: -700em;
  text-decoration: none;
}

#container {
  /*
  max-width: 70em;
  */
  width: auto;
  margin: 0 auto;
  text-align: left;
}

#mBody {
  clear: both;
  padding: 0 0 1em 0;
}

#side {
  float: left;
  /*
  width: 22%;
  */
  width: 223px;
  /*
  margin-bottom: 1em;
  */
  text-align: left;
}

#mainContent {
  float: right;
  /*
  width: 78%;
  */
  width: 750px;
  margin-bottom: 1em;
}
.deepLevel #mainContent {
  line-height: 1.4;
}

.deepLevel #mainContent :link img,
.deepLevel #mainContent :visited img {
  border: medium solid;
}
.firstColumn {
  width: 360px;
  float: left;
  padding: 10px 10px 10px 0;
}
.secondColumn {
  width: 360px;
  float: right;
  padding: 10px 10px 10px 0;
  padding-right: 10px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 1em 0 0.2em 0;
  border-bottom: 1px solid #ccc;
  font-family: arial, verdana, sans-serif;
}

.centered {
  border: 0;
  text-align: center;
}

h1 { font-size: 160%; font-weight: normal; }
h2 { font-size: 150%; font-weight: normal; }
h3 { font-size: 120%; }
h4 { font-size: 100%; }
h5 { font-size: 90%; }
h6 { font-size: 90%; border: 0; }

.imgcaption {
  font-weight: bold;
}

.floatimgright {
  float: right;
  margin: 10px 10px 0 10px;
}

/* Hebrew font */
.hebnorm {
  font-size: 1.0em;
  font-weight: bold;
}
h1.heb {
  font-size: 3em;
  text-align: center;
  border: 0;
}

form {
  margin: 0;
  display: inline;
}

table.withdata {
  border-style: solid;
  border-color: red;
  border-width: 1px;
  border-spacing: 0px;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}
table.withdata caption {
  caption-side: top;
  padding-bottom: 3px;
  font-weight: 600;
}
table.withdata th {
  border: 1px #6699CC solid;
  padding: 5px;
  background-color: #BEC8D1;
}
table.withdata td {
  border: 1px #9CF solid;
  padding: 5px;
  font-size: 0.85em;
  text-align: right;
}
table.withdata td.centered {
  text-align: center;
}
table.withdata td.left {
  text-align: left;
}
table.withdata td.size1 {
  font-size: 1em;
}
table.withdata td.size2b {
  font-size: 1.1em;
  font-weight: 600;
}

.footnotes {
  font-size: 0.8em;
  padding-left: 40px;
  text-align: left;
}

/* Search */
#header form {
  position: absolute;
  top: 0;
  right: 0;
  padding: 12px 20px 0 0;
  background: url("../images/header_tr.gif") no-repeat top right;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}
#header form input { font-size: 85%; }
#header form #submit {
  font-size: 85%;
  font-weight: bold;
  color: white;
  background: #6A7389;
  padding: 1px 4px;
  border-right: 1px solid #283043;
  border-bottom: 1px solid #283043;
  border-top: 1px solid #9097A2;
  border-left: 1px solid #9097A2;
}
#header form #q {
  width: 170px;
  font-size: 85%;
  border: 1px solid #9097A2;
  /*
  background: #D9DBE1;
  */
  color: black;
  padding: 2px;
}
#header form #q:hover, #header form #q:focus {
  background: white;
}

.bigletter {
  font-family: "times", "Times New Roman", "helvetica";
  color: #C0C0C8;
  font-size: 60px;
  font-weight: normal;
  line-height: 80%;
  letter-spacing: 2px;
}
.dropcap, .dropcapwithborder {
  margin-right: 6px;
  float: left;
  margin: 0;
  color: #C0C0C8;
  font-size: 80px;
  line-height: 60px;
  padding-top: 2px;
  padding-right: 5px;
  font-family: "times", "Times New Roman", "helvetica";
}

.dropcap {
  margin-top: 1px;
  background: none;
  border: 1px none;
}
.dropcapwithborder {
  margin-top: 5px;
  background: gray;
  border: 1px solid red;
}

a:link, a:visited {
  text-decoration: none;
  color: #BA3414;
  background-color: transparent;
}
a:hover {color:#FF0000; text-decoration:underline overline;}
a:active {
  text-decoration: none;
  color:#BA3414;
  background-color: #FD0;}

img {border: none;}

.centeredImg, .centeredImgwithBorder {
  text-align: center;
  margin: 0.5em 0 0.5em 0;
  padding: 2px;
}
.centeredImgwithBorder {
  border: 1px silver dotted;
}
.centeredImg .desc, .centeredImgwithBorder .desc {
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.8em;
}
.shortdesc {
  text-align: center;
  font-weight: 600;
  margin-bottom: 0.8em;
}

/* Sidebar */
#nav, #nav ul {
  line-height: 1em;
  /*background: url("../images/menu_back.gif") right repeat-y;*/
  margin: 0;
  padding: 0;
  list-style: none;
}
#nav {
  margin-bottom: 1em;
}
#nav li {
  display: inline;
  padding: 0;
  margin: 0;
}
#nav li a {
  display: block;
  width: 213px;
  padding: 8px 5px;
  text-decoration: none;
  background: #EDF2F2;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
}
#nav li a:hover {
  background: #E0E9E9;
}
#nav:before {
  line-height: 0.1;
  font-size: 1px;
  background: transparent url("../images/menu_tr.gif") no-repeat top right;
  margin: 0;
  height: 9px;
  display: block;
  border-bottom: 1px solid #ddd;
  content: url("../images/key-point_tl.gif");
}
#nav:after {
  display: block;
  padding-top: 0;
  line-height: 0.1;
  font-size: 1px;
  content: url("../images/key-point_bl.gif");
  margin: 0 0 0 0;
  height: 8px;
  background: transparent url("../images/menu_br.gif") scroll no-repeat bottom right;
  border-top: 1px solid #fff;
}

#nav li li a {
  width: 203px;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 15px;
}
#nav li li a:visited {
  background: transparent url("../widgets/check.gif") no-repeat right;
}

#nav li span { /* used for un-linked menu items */
  display: block;
  padding: 6px 10px;
  font-weight: bold;
  color: #666;
}

#nav li li li a {
  width: 193px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 25px;
}

.branch {
  display: none;
}

#mainContent li li {
  list-style: square;
}

/* Footer */
#footer {
  clear: both;
  margin: 2em auto 0 auto;
  border-top: 1px solid #999;
  padding: 1em 0 0 1em;
  text-align: center;
}
#footer ul {
  margin: 0 0 0.8em 0;
  padding: 0;
  list-style: none;
}
#footer li {
  display: inline;
  padding: 0 5px 0 0;
  margin: 0;
  white-space: nowrap;
}
#footer p {
  margin: 0.5em 0 0 0;
}
#footer p, #footer p a {
  color: #666;
}

.centeredtable {
  margin-left: auto;
  margin-right: auto;
}
#table_vices_virtues table{
  margin-top: 2em;
  padding: 0;
  border: solid #A1A7B2 1px;
}
#table_vices_virtues th {
  background-color: #BECDCD;
  padding: 8px;
}
#table_vices_virtues ul {
  margin-top: 0;
  margin-right: 2em;
  margin-bottom: 0;
}

#mainContent li {
  line-height: 1.5em;
}

.prevnext {
  clear: both;
  float: right;
  height: 40px;
  width: 300px;
  margin-right: 10px;
  margin-top: 20px;
}
.prevnextitem {
  position: relative;
  float: left;
  margin-left: 38px;
  /*
  background: url("../images/overbtn.jpg") no-repeat;
  */
  width: 110px;
  height: 40px;
  overflow: hidden; /* for IE to hide extra height */
}
.prevnextitem a {
  display: block;
  text-decoration: none;
  overflow: hidden; /* for IE to hide extra height */
}
.prevnextitem img {
  width: 100px;
  height: 40px;
  border: 0;
}
* html a:hover { visibility: visible; }
.prevnextitem a:hover img { visibility: hidden; }
.prevnextitem span {
  position: absolute;
  left: 30px;
  top: 15px;
}

.floatright {
  float: right;
  margin: 0 0 10px 10px;
  clear: right;
}
.containingbox p {
  margin-top: 0;
}
.fixgap {
  float: right;
  height: 0;
}

#pagelist {
  clear: both;
  height: 40px;
  width: 400px;
  margin: 10px auto;
}
#pagelist ul {
  margin: 0;
  padding: 5px;
  width: auto;
  position: relative;
  list-style: none;
}

#pagelist li {
  display: inline;
  padding-left:1px;
  margin-left: 0px;
  white-space: nowrap;
  float: left;
}
#pagelist ul a {
  float: left;
  display: block;
  padding: 4px 4px 4px 10px;
  font-weight: bold;
  text-decoration: underline;
}

.alignRight {
  float: right;
  margin-left: 1em;
}
.alignLeft {
  float: left;
  margin-right: 1em;
}

@media screen {
  a[href ^= "mailto:"] {
    padding-right: 20px;
    background: transparent url("../widgets/icon_mailto.gif") no-repeat center right;
  }
  a[href ^= "http://"] {
    padding-right: 20px;
    background: transparent url("../widgets/icon_external.gif") no-repeat center right;
  }
  a[href $= ".pdf"] {
    padding-right: 20px;
    background: transparent url("../widgets/icon_pdf.gif") no-repeat center right;
  }
 
}

@media print {
  /*
  a[href ^= "http://"] {
    padding-left: 20px;
  }
  */
  a[href ^= "http://"]:after {
    content: " [" attr(href) "] ";
    font-size: 85%;
    font-weight: lighter;
  }
}

@media print {
  #header, #nav, #footer {
    display: none;
  }

  #mainContent {
    width: 750px;
    float: none;
    position: static;
    margin: 0;
    padding: 0;
    border: 0;
  }

  body, td, th, input {
    color: black;
    background-color: white;
    font-size: 12pt;
    font-family: georgia, times, serif;
    line-height: 140%;
    word-spacing: 4px;
  }
}

