/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 90.01%;
   line-height: 1.1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

ul.circle {line-height:25px; padding-left:15px }
ul.small_circle {line-height:18px; padding-left:15px }
ul.none {list-style-type:none; line-height:22px; padding-left:30px }
ul.points {list-style-type:decimal; line-height:20px; padding-left:35px; }

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: forestgreen; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
   color: navy;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: azure;
   color: cornflowerblue;
}

/*****************
basic layout 
*****************/
body {
   background-color: #ccc;
   color: #333;
   margin:1em;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 1px solid black;
   margin: 0 auto;       /* this centers wrapper */
   max-width: 76em;   /* IE wont understand these, so we will use javascript magick */
   min-width: 60em;
   background-color: #fff;;
   color: black;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   position: absolute;
   height: 173px;    /* adjust according your image size */
   width: 160px;
   background: white;           
}

div#header_right {
   height: 173px;    /* adjust according your image size */
   background: white;           
}
div#contact_details {
   width: 100%;
   height: 24px;
   margin: 0 0 0px 0;   /* some air above and under menu and content */
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   background-color: #cc3300; /* same bg color as in header */
   display: block;
}
div#contact_details td {
   font-size: 0.8em;
   line-height: 100%;
   padding: 0.6em;       /* some air for footer */
   padding-top: 0.2em;
   padding-bottom: 0.1em;
   text-align: left;  /* centered text */
   margin-left:10px;
}

div#content {
   margin: 1.5em auto 0.2em 0;   /* some air above and under menu and content */
}

div#main {
   margin-left: 165px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 2%; /* and some air on the right */
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 154px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#footer {
   margin: 1.5em 0 0px 0;   /* some air above and under menu and content */
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   background-color: #cc3300; /* same bg color as in header */
}

div#footer p {
   font-size: 0.8em;
   padding: 0.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 1.6em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: Black; 
	font-size: 1.4em; 
	text-align: left; 
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #ff7547; 
	border-left: 1.1em solid #ff7547; 
        line-height: 1.3em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
   color: black; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: Black; 
   font-size: 1.1em;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #ff7547; 
	border-left: 0.9em solid #ff7547; 
   line-height: 1.3em;
   margin: 0.3em 0 0.6em 0;
}
div#content h5 {
   color: white; 
   font-size: 0.9em;
   font-weight: bold;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
   background: limegreen;
   border: 1px solid cornflowerblue;
   line-height: 1.7em;
}
h6 {
   color: RoyalBlue; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 0.9em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}
p.small {line-height: 90%}
p.big {line-height: 120%}
p.form {margin-bottom: 0.3em}
p.news {font-size:1em;}
.news li {list-style-type:none; font-size:1em; font-family:verdana; line-height:1.2em; margin-bottom:0.5em; margin-top:5px;}
.date {margin-left:30px; font-size:0.9em; color:green; position:relative;}

.ruler {clear:both}
.clear {clear:both; height:0px; width:0%}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

form, label, input { font-size : 1em; }
fieldset { width : 32em; padding : 0.5em 1em; margin-left:20px; margin-top:20px;}
label { position : relative; width : 14em; display : block; margin : 1.5em 0.0em; }
label input { position : absolute; left : 100%; top : 0px; width : 10em; }
label textarea { position : absolute; left : 100%; top : 0px; width : 15em; display:block;}
label select { position : absolute; left : 100%; top : 0px; width : 15em; }

/* END TEXT */

/* sidebar menu */
.menu {font-family: arial, sans-serif; width:154px; height:150px; position:relative; font-size:13px; margin:0px 0px 0px 0px;}
.menu ul li a, .menu ul li a:visited {display:block; text-decoration:none; color:white; width:150px; height:26px; text-align:left; border:1px solid #fff; border-width:1px 1px 0 0;    background: white url(images/b1.gif) no-repeat 0 0px; line-height:25px; font-size:13px;padding-left:8px;}
.menu ul {padding:0; margin:0;list-style-type: none; }
.menu ul li {float:left; margin-right:1px; position:relative;}
.menu ul li:hover a {color:#fff; background: white url(images/b2.gif) no-repeat 0 0px;  }

div#img_news {margin:0 0 0 0px; border:0px solid blue; float: right;}
div#img_front {margin:3 3 3 3px; border:0px solid blue; float: left; padding:5px}
div#img_logo {margin-left:25px;}
div#img_logo2 {margin-left:75px;}
div#img_staff img {margin:0px 5px 5px 0px; border:1px solid black; }
div#img_small {margin:5px; margin-left:0px; margin-top:0px; border:1px solid blue; float: left;}
div#img_email {margin:0.4em 0 0 0px; border:0px solid blue;}

div.img {  margin: 10px;  border: 1px solid grey;  height: auto;  width: auto;  float: left;  text-align: center;}	
div.img img {  display: inline;  margin: 3px;  border: 1px solid #ffffff;}
div.img a:hover img {border: 1px solid grey;}
div.desc {  text-align: center;  font-weight: normal;  width: 200px;  margin: 2px;}


/* table layouts */

div#lib {margin-left:2%; margin-right:2%;}

div#lib table {
	border-collapse: collapse;
	table-layout: fixed;
}

div#lib td, th {
	padding: 0.3em;
	border: 1px solid #ccc;
	/*white-space: nowrap;
	overflow: hidden;*/
}

/*th {
   white-space: pre;
}*/

div#lib thead, tfoot {
	background-color: #ffd5c7;
}

div#lib tr.rowodd {
	background-color: #FFF;
}

div#lib tr.roweven {
	background-color: #F2F2F2;
}

.sortcol {
	cursor: pointer;
	padding-right: 20px;
	background-repeat: no-repeat;
	background-position: right center;
}
.sortasc {
	background-color: #DDFFAC;
	background-image: url(images/up.gif);
}
.sortdesc {
	background-color: #B9DDFF;
	background-image: url(images/down.gif);
}
.nosort {
	cursor: default;
}
th.resize-handle-active {
	cursor: e-resize;
}

div.resize-handle {
	cursor: e-resize;
	width: 2px;
	border-right: 1px dashed #1E90FF;
	position:absolute;
	top:0;
	left:0;
}


/* playing with pictures :-)  */
#gallery {width:320px}
#gallery ul {
  padding:0; 
  margin:0; 
  list-style-type:none; 
  overflow:hidden; 
  width:320px; 
  height:425px; 
  border:1px solid #888; 
  background:#fff url(windows/win_back.gif);
  }
#gallery li {
  float:left;
  }
#gallery li a {
  display:block; 
  height:30px;
  width:320px; 
  float:left; 
  text-decoration:none; 
  border-bottom:1px solid #fff; 
  cursor:default;
  }
#gallery li a img {
  width:320px; 
  height:30px; 
  border:0;
  }
#gallery li a:hover {
  background:#eee; 
  height:239px;
  }
#gallery li a:hover img {
  height:239px;
  }


