/* based on andreas08 - an open source xhtml/css website layout by
   Andreas Viklund - http://andreasviklund.com . Free to use in any way
   and for any purpose as long as the proper credits are given to the
   original designer. Version: 1.0, November 28, 2005 */

/**************** Body and tag styles ****************/

*{margin:0; padding:0;}

body {
  font:100% Verdana,Tahoma,Arial,sans-serif;
  line-height:1.4em;
  text-align:center;
  color:#303030;
  background:#efebe7;
  padding: 20px; /* left a gap around the "container" */
}

#container {
  width:100%;
  margin: 0px;
  padding:0;
  text-align:left;
  background:#ffffff;
  color:#303030;
  border:3px solid #467aa7;
}

a{
  color:#467aa7;
  font-weight:bold;
  text-decoration:none;
  background-color:inherit;
}

a:hover{color:#2a5a8a; text-decoration:none; background-color:inherit;}
a img{border:none;}

p {padding: 0.75ex 0 0.75ex 0;  margin 0;}

/*p form{margin-top:0; margin-bottom:20px;}*/

img.logo{
  padding: 0;
  border: 0;
  float:left;
  height: 100px;
  margin:5px 15px 5px 5px; /* top right bottom left */
}

img.left,img.center,img.right{padding:4px; border:1px solid #a0a0a0;}
img.left{float:left; margin:0 12px 5px 0;}
img.center{display:block; margin:0 auto 5px auto;}
img.right{float:right; margin:0 0 5px 12px;}

/* class for for tiny inlined icon images (always square) */
img.inline_icon { width:16px; height: 16px; margin: 0; padding: 0; }

ul {list-style-type: square}

/**************** Size and positions settings ****************/

/**************** Header and navigation styles ****************/

#header {
  clear:both;
  width:100%;
  height:110px;
  margin:0;
  background:#467aa7;
  color:#ffffff;
}

/* in the header, insert a single H1 title or a main
   title at level H2 follwoed by a subtitle at level H3 */

#header h1{
  padding:60px 0 0 15px; /* top right bottom left */
  font-size:40px;
  background-color:inherit;
  color:#ffffff;
  letter-spacing:-2px;
  font-weight:normal;
}

#header h2{
  padding:35px 0 0 20px; /* top right bottom left */
  font-size:2.4em;
  background-color:inherit;
  color:#ffffff;
  letter-spacing:-2px;
  font-weight:normal;
}

#header h3{
  margin:10px 0 0 40px;
  font-size:1.4em;
  background-color:inherit;
  color:#f0f2f4;
  letter-spacing:-1px;
  font-weight:normal;
}

#navigation{
  clear:both;
  height:2.2em;
  line-height:2.2em;
  width:auto;
  margin:1px 1px 0 1px; /* left a spacing wrt header (top right bottom left) */
  background:#467aa7;
  color:#ffffff;
}

#navigation li{
  float:left;
  list-style-type:none;
  border-right:1px solid #ffffff;
  white-space:nowrap;
}

#navigation li a{
  display:block;
  padding:0 10px;
  font-size:0.8em;
  font-weight:normal;
  text-transform:uppercase;
  text-decoration:none;
  background-color:inherit;
  color: #ffffff;
}

* html #navigation a {width:1%;}

#navigation .selected, #navigation a:hover{
  background:#80b0da;
  color:#ffffff;
  text-decoration:none;
}

#navigation{
  clear:both;
  height:2.2em;
  line-height:2.2em;
  width:auto;
  margin:1px 1px 0 1px; /* left a spacing wrt header (top right bottom left) */
  background:#467aa7;
  color:#ffffff;
}

#navbar {
  clear:both;
  font-weight:bold;
/*
  font-size:0.8em;
  font-weight:normal;
  text-transform:uppercase;
  text-decoration:none;
  background-color:inherit;
  height:2.2em;
  line-height:2.2em;
  width:auto;
 */
  margin:1px 1px 0 1px; /* left a spacing wrt header (top right bottom left) */
  background:#739ec4;
  color:#ffffff;
  padding: 3px;
  /* margin-bottom: 25px; */
}

#navbar a {
  color:#386286; /*#40586d;*/
  text-decoration:none;
}

#navbar .selected, #navbar a:hover {
  color:#ffffff;
  text-decoration:none;
}

#navbar ul {
  margin-left: 0;
  padding-left: 0;
  display: inline;
  border: none;
} 

#navbar ul li {
  margin-left: 0;
  padding-left: 2px;
  border: none;
  list-style: none;
  display: inline;
}

/* MENU BUTTTON (http://alistapart.com/articles/taminglists/) */
#button {
  width: 180px; /*12em;*/
  border-right: 1px solid #000;
  padding: 0 0 1em 0;
  margin-bottom: 1em;
  font-family: 'Trebuchet MS', 'Lucida Grande',
    Verdana, Lucida, Geneva, Helvetica, 
    Arial, sans-serif;
  background-color: #90bade;
  color: #333;
}

#button ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
}
		
#button li {
  border-bottom: 1px solid #90bade;
  margin: 0;
}

#button li a {
  display: block;
  padding: 5px 5px 5px 0.5em;
  border-left: 10px solid #1958b7;
  border-right: 10px solid #508fc4;
  background-color: #2175bc;
  color: #fff;
  text-decoration: none;
  width: 100%;
}

html>body #button li a {
  width: auto;
}

#button li a:hover {
  border-left: 10px solid #1c64d1;
  border-right: 10px solid #5ba3e0;
  background-color: #2586d7;
  color: #fff;
  text-decoration: none;
}

/**************** Content styles ****************/

#content{
  margin-left: 210px;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size:0.9em;
  padding:0 20px 0 20px; /* top right bottom left */
}

#content h2{
  display:block;
  margin:20px 0 15px 0;
  font-size:1.7em;
  font-weight:normal;
  letter-spacing:-1px;
  color:#505050;
  background-color:inherit;
}

#content h2 a{font-weight:normal;}
#content h3{margin:0 0 5px 0; font-size:1.4em; letter-spacing:-1px;}
#content a:hover, #sidebar a:hover{text-decoration:underline;}
#content ul, #content ol{margin:0 5px 16px 35px;}
#content dl{margin:0 5px 10px 25px;}
#content dt{font-weight:bold; margin-bottom:5px;}
#content dd{margin:0 0 10px 15px;}
#content table{font-size:0.9em;}

#content p {text-align:justify;}

/**************** Sidebar styles ****************/

#sidebar{
  float:left;
  width:190px;
  padding:10px 0 20px 10px; /* top right bottom left */
  line-height:1.4em;
  /*
  border-right: 2px dotted #a0a0a0;
  height: 100%;
  */
  display:block;
}

#sidebar h2{
  display:block;
  margin:0 0 15px 0;
  font-size:1.6em;
  font-weight:normal;
  text-align:left;
  letter-spacing:-1px;
  color:#505050;
  background-color:inherit;
}

#sidebar p{margin:0 0 16px 0; font-size:0.9em;}

/**************** Menublock styles ****************/

.menublock{margin:0 0 15px 10px; font-size:0.9em;}
.menublock li{list-style:none; display:block; padding:1px; margin-bottom:1px;}
.menublock li a{font-weight:bold; text-decoration:none;}
.menublock li a:hover{text-decoration:none;}
.menublock li ul{margin:3px 0 3px 15px; font-size:1em; font-weight:normal;}
.menublock li ul li{margin-bottom:0;}
.menublock li ul a{font-weight:normal;}

/**************** Searchbar styles ****************/

#searchbar{margin:0 0 20px 0;}
#searchbar form fieldset{margin-left:10px; border:0 solid;}

#searchbar #s{
  height:1.2em;
  width:110px;
  margin:0 5px 0 0;
  border:1px solid #a0a0a0;
}

#searchbar #searchbutton{
  width:auto;
  padding:0 1px;
  border:1px solid #808080;
  font-size:0.9em;
  text-align:center;
}

/**************** Footer styles ****************/

#footer{
  clear:both;
  width:100%;
  margin:0;
  padding:5px 0;
  font-size:0.9em;
  background:#467aa7;
  color:#ffffff;
}

#footer p{padding:0; margin:0; text-align:center;}
#footer a{color:#f0f0f0; background-color:inherit; font-weight:bold;}
#footer a:hover{color:#ffffff; background-color:inherit; text-decoration: underline;}

/**************** Misc classes and styles ****************/

.splitcontentleft{float:left; width:48%;}
.splitcontentright{float:right; width:48%;}
.clear{clear:both;}
.small{font-size:0.8em;}
.hide{display:none;}
.textcenter{text-align:center;}
.textright{text-align:right;}
.textjustify{text-align:justify;}
.important{color:#f02025; background-color:inherit; font-weight:bold;}
.keyword{color:#707070; background-color:inherit; font-weight:bold; font-family: monospace;}
.filename{color:#b07070; background-color:inherit; font-weight:normal; font-family: monospace;}
.variable{color:#009010; background-color:inherit; font-weight:normal; font-family: monospace;}
.function{color:#700090; background-color:inherit; font-weight:normal; font-family: monospace;}
.noun{font-variant: small-caps;}

div.box{
  margin:0 0 20px 0;
  padding:10px;
  border:1px solid #c0c0c0;
  background-color:#f7f7f7;
  color:#101010;
  line-height:1.5em;
}

pre{
  margin: 5px 0 5px 0; /* top right bottom left */
  padding:10px;
  border:1px solid #c0c0c0;
  background-color:#f7f7f7;
  color:#101010;
  line-height:1.5em;
}

