
/*
  Browser: Default Browser  Version: */

/* 
based on:
andreas01 - an open source xhtml/css website layout by Andreas Viklund (http://andreasviklund.com). Made for OSWD.org, free to use as-is for any purpose as long as the proper
credits are given for the original design work. For design assistance and support, contact me through my website or through http://oswd.org/email.phtml?user=Andreas

Version: 1.0
(July 25, 2005)

Screen layout: 

*/

@import url( "andreas01.css" );
@import url( "flyout.css" );
   
   
body {
  background: #f4f4f4 url( ../images/bg.gif ) top center repeat-y;
}

table {
  width: 100%;
}

a, a:visited {
  text-decoration: none;
  color: #286ea0;
}

a:hover {
  text-decoration: underline;
  color: #286ea0;
  background: inherit;
}

a img {
  border: 0;
}

dt {
  font-weight: bold;
}

dd {
  margin-bottom: 10px;
}

h1, h2, h3, h4, h5, h6, dt {
  color: #505050;
}

#wrap {
  width: 770px;
}

/* ***************** Header ***************** */
div#header {
  background: transparent;
}
 
div#header h1 {
  width: auto;
  background: white;
  padding: 0;
  padding-left: 20px;
}

div#header h1 a {
  text-decoration: none;
  color: #286ea0;
}

#frontphoto {
  margin: -18px 0 10px 0;
  border: 0;
}
/* ************ end header *********** */


/* ***************** Menu ***************** */

#leftside {
  width: 120px;
  margin-left: -2px;
}

#leftside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #cccccc;
  width: 100px;
}

#leftside>ul {
  width: 120px;
}


#leftside li {
  margin: 0px 0px 4px 0px;
}

ul#index, ul#index ul {
  background-color: white;
}

ul#index li {
  padding-bottom: 1px;
}

ul#index li ul {
  left: 104px; /* IE */
  top:  -7px;
}    
ul#index li>ul { 
  left: 110px; 
} /* others */
ul#index li>ul li>ul { 
  left: 90px; 
} /* others */


#leftside ul#index {
  margin-bottom: 20px;
}

#leftside ul#index li a {
  font-weight: bold;
  height: 20px;
  text-decoration: none;
  color: #505050;
  display: block;
  padding: 4px 0 2px 10px;
  background: #f4f4f4;
  border-left: 4px solid #cccccc;
}

#leftside ul#index li a:hover {
  background: #eaeaea;
  color: #286ea0;
  border-left: 4px solid #286ea0;
}

#leftside ul#index .long li a {
  height: 40px;
}

#loginmenu #username {
  text-align: center;
  margin-left: 0px;
}

#leftside ul#loginmenu {
  background: #eaeaea;
  color: #286ea0;
  border: 1px solid #cccccc;
}

#loginmenu li a {
  font-weight: bold;
  height: 20px;
  text-decoration: none;
  color: #505050;
  display: block;
  padding: 4px 0 2px 10px;
  background: #f4f4f4;
}

#loginmenu li a:hover {
  background: #eaeaea;
  color: #286ea0;
}
/* ************ end menu *********** */
/* ************ begin content *********** */

#content {
/*
  border-left: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
*/
  border: 0;
  margin-left: 120px;
  margin-right: 0;
}


#content > ul, #content > ul ul {
  list-style: none;
  width: 150px;
}

#content > ul li a {
  font-weight: bold;
  height: 20px;
  text-decoration: none;
  color: #505050;
  display: block;
  padding: 4px 0 2px 10px;
}

/* ************ end content *********** */


/* ************ begin commands *********** */
#commands {
  float: right;
  margin-top: -10px;
}


#commands ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}


#commands li:before {
  content: "[";
}


#commands li:after {
  content: "]";
}
/* ************ end commands *********** */


/* ************ Body ************** */
#content h1 {
  font-size: 1.5em;
}

#content h2 {
  font-size: 1.3em;
  margin: 0 0 10px 0;
}

#content img {
  padding: 1px;
  display: inline;
  background: #cccccc;
  border: 4px solid #f0f0f0;
}

#photo {
  float: right;
  height: 120px;
  margin-right: 5px;
  vertical-align: middle;
}
/* ************ end body *********** */

/* ************ begin forms *********** */
fieldset {
  border: solid #cccccc 1px;
}

legend {
  font-weight: bold;
  font-size: 1.3em;
}

label {
  display: block;
  float: left;
  width: 150px;
}

input, select, textarea {
  background: #eaeaea;
  border: 1px solid #cccccc;
}

form ul {
  list-style: none;
}

.field {
  width: 285px;
}

#login .field {
  width: 85px;
}

li.button, div.button {
  text-align: center;
  margin-top: 30px;
}

div.button {
  margin-bottom: 0px;
}

.button input {
  cursor: pointer;
}
/* ************ end   forms *********** */

#edit {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 100%;
}


#edit textarea {
  width: 100%;
  height: 100%;
  font-size: 0.9em;
}

.biblio {
  text-align: center;
}

.biblio h2 {
  display: none;
} 

.biblio div h2, .biblio .c2, .biblio .c5 {
  display: block;
}

.biblio .name {
  color: #001A99;
}

/*
.biblio .title {
  color: #801A1A;
}
*/

.biblio dl {
  display: block;
}

.biblio dt {
  list-style: none;
  display: block;
}

.biblio dd {
  display: block; 
  margin-left:0px;
  margin-bottom: 20px;
}

#content .biblio ul, #content ul.biblio {
  margin: 0;
  margin-left: -5px;
  list-style: none;
  padding-left: 0;
}

#content .biblio li, #content li.biblio {
  margin-left: 0;
  margin-bottom: 5px;
  font-size: 0.9em;
  text-align: justify;
}


/* ************ begin footer ************ */

/* ************ end footer ************ */

/* ************ extra styles ************ */

#links th {
  font-size: 1.3em;
  color: #505050;
}

#links td:first-child {
  text-align: center;
}
#links img {
  max-width:  50px;
  max-height: 50px;
}

.left {
  margin: 10px 10px 5px 0;
  float: left;
}

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

.textright {
  text-align: right;
}

.center {
  text-align: center;
}

.small {
  font-size: 0.8em;
}

.bold {
  font-weight: bold;
}

.hide {
  display: none;
}

/****************FancyTable from http://lutrov.com/blog/fancy-html-tables-with-css/********/
table.fancytable {
	margin: 1em 1em 1em 0;
	background: whitesmoke;
	border-collapse: collapse;
}
table.fancytable tr:hover {
	background: lightsteelblue !important;
}
table.fancytable th, table.fancytable td {
	border: 1px silver solid;
	padding: 0.2em;
}
table.fancytable th {
	background: gainsboro;
	text-align: left;
}
table.fancytable caption {
	margin-left: inherit;
	margin-right: inherit;
}

