/* ===========================================
   Global Page layout
   ===========================================
 */
body {
  /* We set the global background color to footer color, in order to work
     around a konqueror bug */
  background: #ffffff;
  font-family: Verdana,Geneva,sans-serif;
  text-align: justify; 
  margin: 0px;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
}

html {
  height: 100%;
}

/* "Fullheight" element: this is the table containing the whole page, its
   * default background is white. Only needed to work around konqueror bug
   */
#fullheight {
  background: #ffffff;
  height: 100%;
}

/* Header */
#header
{ 
  font-family: Times, serif;
  background: #fff0cc;
  color: #660000;
  font-weight: bold;
  font-size: 48px;
  text-align: center;
  padding: 5px;
  padding-top: 15px;

  border-width: 0px;
  border-bottom: 2px;
  border-color: #000000;
  border-style: solid;
}

#header .picture
{ 
  float: left;
  margin-top: -10px;
}

#header:after
{ 
  content: "";
  clear: both;
  display: block;
}

/* Footer */
#footer
{ 
  clear: both;
  background: #fff0cc;
  border-width: 0px;
  border: 1px;
  border-style: solid;
  text-align: center;
  margin-top: 2px;
  margin: 5px;

  position: absolute;
  bottom: 0px;
  left: 10px;
  right: 0px;

}

#footer a
{ 
  display: inline-block;
}


/* ====================================
   Misc elements 
   ====================================
*/


/* A framed box */
.box
{
  background: #ffffcc;
  margin: 5px;
  padding: 5px 10px 1px 1px;

  border-style: solid;
  border-width: 1px;
  border-color: #000000;
}

/* Adsense box, to the right of page, needs to be set in addition to box */
.adsense {
  float: right;
  padding: 0px;
  width: 160px;
  margin-left: 10px;
}

.leftfloat { 
  float: left;
  border-style: solid;
  border-width: 1px;
  border-color: #000000;  
  margin-right: 25px;
}

/* Make sure footer doesn't cover bottom end of page */
body:after
{
  content: " ";
  display: block;
  clear: both;
  width: 100%;
  height: 75px;
}

/* Navigation menu: set in addition to box */
#menu
{
  float: left;
  margin-right: 20px;
  width: 210px;
  text-align: center;
  font-size: 13px;
}

#menu ul
{ 
  text-align: left;
}

#menu a
{ 
  color: #c04000;
}

#menu ul a:hover
{ 
  background: #c04000;
  color: #ffffff;
}

#menu ul
{ 
  padding-left: 16px;
}

#menu ul li ul li 
{ 
  margin-top: 5px;
}

/* Google search box */
#google { 
  margin-left: 2px;
  background: #ffffff;
  border-style: solid;
  border-width: 1px;
  border-color: #000000;
}

#google a:hover
{ 
  background: transparent;
}

/* Main page content */
#content
{
  background: #ffffff;
  padding: 0px 5px 0px 5px;
  padding-right: 1em;
}

@media (min-width: 600px) {
  #content {
    column-width: 35em;
    column-gap: 2em;
  }

  #content h1 {
    column-span: all;
  }

  #content h2 {
    column-span: all;
  }
}

@media (max-width: 480px) {
  #content {
    box-sizing: border-box;
    max-width: 100vw;
  }
}

@media (max-width: 450px) {
  #content {
    clear: both;
  }
}

#content h1
{
	font-size: 24px;
	color: #660033;
	padding: 0px;
	margin-bottom: 20px;
	text-align: left;
	background: #ffff80;
	padding-left: 5px;
	margin-right: 5px;
}

#content h2
{
	background: #f0f0f0;

	font-size: 18px;
	color: #003300;
	padding: 0px;
	margin-bottom: 10px;


	margin-top: 50px;
}

#content h3
{
	font-size: 14px;
	color: #003300;
	padding: 0px;
	margin-bottom: 10px;
}

.yellowboard {
  border-color: black;
  border-width: thin;
  border-style: solid;
  display: table-cell;
  text-align: left;
  padding: 2px;
  padding-bottom: 0px;
  background: #fff870;
  font-size: large;
  font-weight: bold;
}

/* Code example */
pre
{
  text-align: left;
  background: #ffffe0;
  border-style: solid;
  border-color: #000000;
  border-width: 1px;
  padding: 5px;
  margin-right: 5px;
  overflow-x: auto;
  overflow: auto;
  font-family: Lucida Console,Courier,monospace;
}

tt
{ 
  font-family: Lucida Console,Courier,monospace;
}

/* Links */
a
{ 
  font-weight: bold;
  text-decoration: none;
}

a:link
{
	color: #660033;
}

a:visited
{
	color: #660033;
}

a:hover
{
	color: #ffffff;
	background-color: #990000;
}

a:active
{
	color: #0000EE;
	background-color: #FFFF99;
}

a.picture {
  display: table-cell;
  border-style: solid;
  border-width: 1px;
  border-color: transparent;
}

a.picture:hover {
  border-color: #000000;
  background-color: #ffffff; 
}

a.nohover
{
  background: transparent;
}

a img { 
  border-width: 0px;
}

/* banner */
a.banner img {  
  margin-top: 5px;
  margin-bottom: 5px;
}

a:hover.banner  { 
  background-color: inherit;
}

/* Any browser box */
.anybrowser { 
  text-align: center;
  width: 180px;
  display: table-cell;
  float: left;
 }

/* Software patents banner */
.softpat { 
  float: left;
  padding: 3px;
  margin: 0px;
 }

.banner a:hover { 
  background: transparent;
}

.textbanner { 
  border-style: solid;
  border-width: 2px;
  border-color: #000000;
  padding: 5px;
  margin: 5px;
  background: #f0e000;
  text-align: center;
  font-size: large;
}

.textbanner a { 
  color: #000000;
  padding: 5px;
}

/* ===================================
 * Usage in misc pages, to make sure code pages don't cross adsense box...
 */
.clearBoth { 
  clear: both;
}

.clearRight { 
  clear: right;
}

/* ====================================
   Testing
   ====================================
*/
/* Yellow background, for testing ... */
.yellow { 
  background: #ffff00;
}

.browserwarning { 
  display: none;
}

* html .browserwarning { 
  width: 500px;
  height: 200px;
  display: block;
}

dd { 
     margin-bottom: 25px;
}

dd p { 
     margin-top: 0px;
}
