/* style control for printable documents */


@media print {

   body {
      font-family: Verdana,Arial,sans-serif;
      background-color: #ffffff;
      height: auto !important;
   }
   .noprint {
      display: none;
   }

   .square_paper {
      padding: 10px;
   }

   .puzzle_box {
      border: 1px solid #000;
   }
   h2 {
      border-top: 2px solid #ccc;
      border-bottom: 2px solid #ccc;
      padding: 5px 0;

   }
   .print-border-above {
      border-top: 1px solid #999;
   }


}

@media screen {

   body {
      font-size: 100%;
      margin: 0;
      padding: 0;
      font-family: Verdana, Helvetica, Arial, sans-serif;
      background: #eee;
      color: #333;
   }

   html,body {
      height: 100%;
   }


   .print {
      display: none;
   }

   #container {
      position: relative;
      width: 800px;
      left: 50%;
      margin-left: -400px;
      background: url(images/bg_shadow.gif) repeat-y #fff center;
      z-index: 2;
      min-height: 100%;
   }

   #content {
      position: relative;
      padding-top: 20px;
      margin-left:20px;
      width: 760px;
      min-height: 100%;
   }

   .square_paper {
      background-image: url(images/squares.gif);
      background-color: #ffffff;
      border: 1px solid #000;
      padding: 0 5px 20px 5px;
      margin-top: 10px;
   }

   #header {
      position: relative;
      width: 800px;
      height: 150px;
      margin: 0 auto;
      background: url(images/header.gif) no-repeat top center;
   }

   #header h1 {
      display: none;
   }

   /* structure */

   #extraDiv1 {
      width: 50%;
      position: absolute;
      top: 17px;
      left: 0;
      height: 34px;
      background: url(images/bg_jigsaw.jpg) repeat-x;
      z-index: 1;
   }

   #extraDiv2 {
      width: 50%;
      position: absolute;
      top: 49px;
      right: 0;
      height: 34px;
      background: url(images/bg_jigsaw.jpg) repeat-x;
      z-index: 1;
   }

   #extraDiv3 {
     width: 100%;
     position: absolute;
     top: 5px;
     right: 5px;
     z-index: 2;
     text-align: right;
     font-size: 10pt;
     color: #666;
   }


   #footer {
      padding: 20px 0 10px 0;
      font-size: 80%;
      color: #ddd;
      text-align: center;
   }

   #rss_body {
      width: 760px;
      background: #fff;
      margin-left: 20px;
      font-size: 90%;
   }

   /* menu bar */

   #linklist {
      border-top: 2px solid #ddd;
      border-bottom: 2px solid #ddd;
      width: 760px;
      margin: 0 auto;
      padding: 2px 0;
   }

   #linklist ul {
      font-variant: small-caps;
      font-weight: bold;
      text-align: center;
      padding: 0;
      margin: 0;
   }


   #linklist li {
      list-style-type: none;
      margin: 0;
      padding: 0px 20px;
      display: inline;
   }

   #linklist a {
      text-decoration: none;
      color: #888;
   }

   #home a {
   }
   #home a.active, #home a:hover {
     border-top: 2px solid #f99;
     border-bottom: 2px solid #f99;
   }

   #latest a {
   }
   #latest a.active, #latest a:hover {
     border-top: 2px solid #fc8;
     border-bottom: 2px solid #fc8;
   }

   #search a {
   }
   #search a.active, #search a:hover {
     border-top: 2px solid #ad6;
     border-bottom: 2px solid #ad6;
   }

   #faq a {
   }
   #faq a.active, #faq a:hover {
     border-top: 2px solid #9bf;
     border-bottom: 2px solid #9bf;
   }

   #links a {
   }
   #links a.active, #links a:hover {
     border-top: 2px solid #d8f;
     border-bottom: 2px solid #d8f;
   }

}

/* standard element overrides */

a {
   background-color: transparent;
   color: #888;
}

a:hover {
   background-color: transparent;
   color: #faa;
}

h2 {
   margin: 10px 0;
   background: url(images/h2_left_grey_bar.gif) no-repeat bottom left;
}
h2 span {
   background: url(images/h2_right_grey_bar.gif) no-repeat bottom right;
   font-variant: small-caps;
   margin-left: 15px;
   padding-right: 15px;
   background-color: transparent;
   color: #999;
}

h3 {
   text-align: center;
   font-variant: small-caps;
   font-size: 110%;
}

h4 {
   font-family: "courier new",monospace;
   font-size: 120%;
}

dl {
   margin-bottom: 20px;
}

dd {
   margin: 10px 0;
}

dt {
   float: left;
   padding-right: 10px;
   text-align: right;
   width: 100px;
   font-variant: small-caps;
}

var {
   font-style: italic;
}

strong {
   font-weight: bold;
}


th {
  vertical-align: bottom;
}


/* custom identities */

#welcome {
   background: url(images/welcome_collage.gif);
   width: 350px;
   height: 350px;
   margin: 0 auto;
}

#welcome span {
   display: none;
}

#antispam td {
   line-height: 5px;
}

#about_problems dd {
   margin-left: 120px;
}

#rss {
   padding: 2px 2px 4px 2px;
   border-right: 1px solid #999;
   border-bottom: 1px solid #999;
   border-left: 1px solid #ddd;
   border-top: 1px solid #ddd;
   background-color: #ffb;
   color: #aaa;
   font-size: 80%;
   font-weight: bold;
   text-decoration: none;
   vertical-align: middle;
}
#rss img {
   border: none;
   vertical-align: middle;
}

#email {
   border: none;
   vertical-align: middle;
}

/* custom classes */

.square_paper {
   font-family: "Times New Roman","Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
   font-size: 110%;
   color: #111;
}

.grid {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border-collapse: collapse;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}

.grid caption {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-weight: bold;
}

.grid th, .grid td {
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 10px;
}

.shade th {
   background-color: #eee;
}

.center_table {
   margin-left: auto;
   margin-right: auto;
   text-align: center;
}

.center_table td {
   text-align: left;
}

.links li {
   margin-bottom: 20px;
}

.info {
   font-size: 90%;
}

.overline {
   border-top: 1px solid #000;
}
.radic {
   letter-spacing:-0.15em;
}
.radicand {
   text-decoration: overline;
}
a.showLink {
   font-weight: bold;
   text-decoration: none;
   font-size: 80%;
   color: #B9CEB0;
}
a.showLink:hover {
   color: #6D965C;
}