/* Global styles including initial HTML definitions. */
html    { height: 100%; }
body    { font-family:Verdana, "Bitstream Vera Sans", Arial, Helvetica, sans-serif; font-size:13px; background:white; margin:5px 0 5px 0; padding:0 0 0 0; color:#234;} 
div     { margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; height: auto; clear:none; background:transparent; color:#234;}
a:hover { text-decoration:underline;}
ul      { margin-top:1em; margin-bottom:1em; }
p       { text-align:justify; }

body {
	background-image: url('../images/bkgnd.gif'); 
	background-repeat: repeat;
	background-position:top left;
}

b, strong, th {
	color: inherit;
	font-weight:bolder;
}

form {
	padding: 0;
	margin: 0;
	display: inline;
}

textarea {
	width:99%;
	height:6em;
	font-size:12px;
	font-family:inherited;
}

.png {
	behavior: url('css/iepngfix.htc');
}
  
a img {
	border: none;
}

a:hover {
	text-decoration: underline;
}

a {
	color:#006699;
	text-decoration:underline;
}

a:visited {
	color:#006699;
	text-decoration:underline;
}

a:hover {
	color:/*teal*/#234;
	text-decoration:underline;
}

/* layout */
h1, h2, h3, h4 {
	color:/*teal*/#234;
	font-weight:bold;
	font-family: "Comic Sans MS", inherit;
	color:#4D5E7F;
}
 

h1, h2, h3 {
	margin-top:0em;
	margin-left:1em;
	
}

h1 {
	font-size:26px;
}

p b {
	font-weight: bold;
}


#container {
	position:relative;
	display:block;
	width:75em; 
	min-width:975px;
	margin: 0px auto 0px auto;
	border:silver 1px solid; 
	padding:0 0 0 0;
	color: #eee;
	background-color:#4D5E7F;
}

#header {
	display:block;
	height:133px;
	max-height:133px;
	width:100%;
	margin-left:0;
	margin-top:0;
	background-image: url('../images/logo_bg.jpg'); 
	background-repeat: repeat-x;
	background-position:top left;
	color:#234;
}

* html #header {
	width:975px;
}

#header #logo {
	margin-left:2em;
	float:left;
}

#header #mobile {
	float:right;
	margin-top:20px;
	margin-right:1em;
	background-color:transparent;
	width:20em;
	min-width:260px;
}

* html #header #mobile {
	width:260px;
}

#header #mobile img {
	float:left;
	margin:0 1em 0 1em;
}


/*
   box with borders and round corners, for more details see
   http://home.tiscali.nl/developerscorner/liquidcorners/liquidcorners.htm
*/

#header #mobile .top-left {
	margin-right: 9px; /* clip right corner */
	background-image: url('../images/corners1280x18.gif');
	height: 9px; /* vertical: show first half of the image with the top-corners in it */
	font-size: 2px; /* correct height for IE */
}

#header #mobile .top-right {
	margin-top: -9px; /* to level of top-left corner */
	margin-left: 9px; /* clip left corner */
	background-image: url('../images/corners1280x18.gif'); 
	background-position: 100% 0; /* show bg-image starting at the right */
	height: 9px; 
	font-size: 2px;
}

#header #mobile .bottom-left {
	margin-right: 9px; /* clip right corner */
	background-image: url('../images/corners1280x18.gif');
	background-position: 0 -9px; /* show under half of the image */
	height: 9px;
	font-size: 2px;
}

#header #mobile .bottom-right {
	margin-top: -9px; /* to level of bottom-left corner */
	margin-left: 9px; /* clip left corner */
	background-image: url('../images/corners1280x18.gif'); 
	background-position: 100% -9px; /* under half, right side */
	height: 9px; 
	font-size: 2px; 
}

#header #mobile .inside {
	border-left: 1px solid #4D5E7F;
	border-right: 1px solid #4D5E7F;
	background-color: #EFEFEF;
	color: /*#000000;*/inherit;
	padding-left: 10px;
	padding-right: 10px;
	min-height:60px;
}

#header #mobile .notopgap {
	margin-top: 0;
}

#header #mobile .nobottomgap {
	margin-bottom: 0;
}

* html #header #mobile .nobottomgap {
	height:60px;
}


/* navigation systen */
#navigation {
	width:100%;
	font-size:18px;
	background:/*#234*/#4D5E7F;
	padding-top:0.1em;
	height:2em;
}

* html #navigation {
	width:975px;
	font-size:18px;
}

/* page styling, unimportant for the menu. only makes the page looks nicer */

/* - - - ADxMenu: BASIC styles [ MANDATORY ] - - - */

/* remove all list stylings */
#navigation .menu, #navigation .menu ul {
  margin: 0 0 0 0;
  /*padding: 0.5em 0 0.5em 0.5em;*/
  padding: 0 0 0 0;
  border: 0;
  list-style-type: none;
  display: block;
}

#navigation .menu li {
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  float: left;  /* move all main list items into one row, by floating them */
  position: relative; /* position each LI, thus creating potential IE.win overlap problem */
  z-index: 5;   /* thus we need to apply explicit z-index here... */
}

#navigation .menu li:hover {
  z-index: 10000; /* ...and here. this makes sure active item is always above anything else in the menu */
  white-space: normal;/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
              see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */
}

#navigation .menu li li {
  float: none;/* items of the nested menus are kept on separate lines */
}

#navigation .menu ul {
  visibility: hidden; /* initially hide all submenus. */
  position: absolute;
  z-index: 10;
  left: 0;  /* while hidden, always keep them at the top left corner, */
  top: 0;   /*    to avoid scrollbars as much as possible */
}

#navigation .menu li:hover>ul {
  visibility: visible;  /* display submenu them on hover */
  top: 100%;  /* 1st level go below their parent item */
}

#navigation .menu li li:hover>ul {  /* 2nd+ levels go on the right side of the parent item */
  top: 0;
  left: 100%;
}

/* -- float.clear --
  force containment of floated LIs inside of UL */
#navigation .menu:after, #navigation .menu ul:after {
  content: ".";
  height: 0;
  display: block;
  visibility: hidden;
  overflow: hidden;
  clear: both;
}
#navigation .menu, #navigation .menu ul { /* IE7 float clear: */
  min-height: 0;
}
/* -- float.clear.END --  */

/* -- sticky.submenu --
  it should not disappear when your mouse moves a bit outside the submenu
  YOU SHOULD NOT STYLE the background of the ".menu UL" or this feature may not work properly!
  if you do it, make sure you 110% know what you do */
#navigation .menu ul {
  background-image: url('../images/empty.gif'); /* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
  padding: 10px 30px 30px 30px;
  margin: -10px 0 0 -30px;
  /*background: #f00;*/ /* uncomment this if you want to see the "safe" area.
                you can also use to adjust the safe area to your requirement */
}
#navigation .menu ul ul {
  padding: 30px 30px 30px 10px;
  margin: -30px 0 0 -10px;
}
/* -- sticky.submenu.END -- */






/* - - - ADxMenu: DESIGN styles [ OPTIONAL, design your heart out :) ] - - - */

#navigation .menu, #navigation .menu ul li {
  color: #eee;
  background: /*#234*/#4D5E7F;
}

#navigation .menu ul {
  width: 9em;
  font-size:1em;
}

#navigation .menu a {
  text-decoration: none;
  color: #eee;
  padding: .2em 0.5em;
  display: block;
  position: relative;
}

#navigation .menu a:hover {
   text-decoration:underline;
}

#navigation .menu a:hover, #navigation .menu li:hover>a {
  color: /*#fc3;*//*#44EEDC;*/white;
  background:gray;
}

#navigation .menu li li { /* create borders around each item */
  border: 1px solid #ccc;
}

#navigation .menu ul>li + li {  /* and remove the top border on all but first item in the list */
  border-top: 0;
}

#navigation .menu li li:hover>ul {  /* inset 2nd+ submenus, to show off overlapping */
  top: 5px;
  left: 90%;
}

/* special colouring for "Main menu:", and for "xx submenu" items in ADxMenu
  placed here to clarify the terminology I use when referencing submenus in posts */
/*
.menu>li:first-child>a, .menu li + li + li li:first-child>a {
  color: #567;
}
*/

/* Fix for IE5/Mac \*//*/
.menu a {
  float: left;
}
/* End Fix */





#column {
	width: 3em;
	min-width:39px;
	padding: 1em 0 1em 0;
	float: left;
	min-height:25em;
	background:transparent;
}


* html #column {
	margin:0 0 0 0;
	height:25em;
	width:39px;
}

#content {
	float:right;
	width:70em;
	min-width:910px;
	margin-left:0px;
	padding:1em 13px 1em 13px;
	background:white;
	min-height:25em;
	background-color:white;
	background-image:url('../images/topleft.png');
	background-repeat: no-repeat;
	background-position:top left;
}

* html #content {
	height:25em;
	width:905px;
	font-size:13px;
	position:relative;
	right:-5px;
}

#content p {
	padding-left:1.5em;
	font-size:16px;
}


#content ul {
  text-align:justify; list-style-image: url('../images/li2.png'); list-style-position:outside;
}


#content ul li {
  padding-bottom:1em;
}




#content form
{ background-color:#fff; display:block; margin:0 0 0 2em;}
#content form  table
{ width:70%; background-color:#E9F0FF; border:0px; border-spacing:0px; border-collapse:collapse; padding:0 0 0 0;  margin:1em 0em 0em 1.5em; font-size:1em; color:black; /*#636363;*/}
#content form#search  table
{ width:auto; background-color:#E9F0FF; border:0px; border-spacing:0px; border-collapse:collapse; padding:0 0 0 0;  margin:0em 1em 0em 0em; font-size:1em; color:black; /*#636363;*/}
#content form#uploadForm table
{ width:auto; background-color:#E9F0FF; border:0px; border-spacing:0px; border-collapse:collapse; padding:0 0 0 0;  margin:0em 1em 0em 0em; font-size:1em; color:black; /*#636363;*/ margin-left:2em; float:left;}
#content form#uploadForm td.msg
{ padding-left:1em; color:maroon; white-space:normal;}
#content form#uploadForm td
{ white-space:nowrap;}
#content form  td
{  border:0px; padding:5px; white-space:nowrap;}
#content form .topleft
{  background-image: url('../images/form/corner-tl.gif'); background-repeat: no-repeat; background-position: top left;}
#content form .topright
{  background-image: url('../images/form/corner-tr.gif'); background-repeat: no-repeat; background-position: top right;}
#content form .bottomleft
{  background-image: url('../images/form/corner-bl.gif'); background-repeat: no-repeat; background-position: bottom left;}
#content form .bottomright
{  background-image: url('../images/form/corner-br.gif'); background-repeat: no-repeat; background-position: bottom right;}
#content form .footnote
{ vertical-align:super; color:maroon }
#content form em
{ color:maroon }


#footer {
	width:100%;
	clear:both;
	margin:0 0 0 0;
	padding:0 0 0 0;
}

#leftfooter {
	float:left;
	width:3em;
	min-width:39px;
	/*height:2ex;*/
	padding:1ex 0 1ex 0;
	background-color:transparent;
	border-top:solid 1px transparent;
}

* html #leftfooter {
	width:39px;
	border-top:none 1px transparent;
}

#rightfooter {
	float:right;
	width:70em;
	min-width:910px;
	margin-left:0px;
	padding:1ex 13px 1ex 13px;
	/*height:2ex;*/
	color:#234;
	background:white;
	text-align:center;
	border-top:dotted 1px gray;
}

* html #rightfooter {
	width:905px;
	font-size:13px;
	position:relative;
	right:-5px;
}

#rightfooter p {
}

