 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements */
* { padding: 0; margin: 0; }

body {
	margin: 0px 0; 	padding: 0;
	font-family: Arial Narrow, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #000000;
	background: #e9e9e9;
	text-align: center;	
	height: 100%;	
}

table td { padding:5px;margin:5px; }

/* links */
a { background: inherit; color: #24638E; text-decoration: none; }
a:hover { background: inherit; color: #24638E; text-decoration: underline; }

/* headers */
h1, h2, h3 {
	color: #24638E;
}
h1 { font-size: 20px; }
h2 { font-size: 16px; }
h3 { font-size: 16px; }

p, h1, h2, h3 {
	margin: 10px 0px;
	padding:0px;
}


/* images */
img {
  border: 1px solid #DDD; 
  padding: 3px;
  background-color: #FFF;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #eee;    
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 15px; 	padding: 0 0 0 20px;  	
  	background: #FAFAFA url(quote.gif) no-repeat 3px 5px; 
	border: 1px solid #eee; 
	font: bold 1.2em/1.5em; 
	color: #666666;	
}

li {
	padding-left:5px;
	margin-left:25px;
	list-style-image:url('../images/bullet.gif');
}

ul {
	padding-top:5px;
	padding-bottom:10px;
}

/* form elements */
form {
	margin:10px 15px; padding: 0;
	border: 1px solid #eee; 
	background-color: #FAFAFA; 
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding: 2px;
	border:1px solid #eee;
	font: normal 1em;
	color:#777;
}
textarea {
	width:400px;
	padding:2px;
	font: normal 1em;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#777;
}
input.button { 
	margin: 0; 
	font: bold 1em Arial, Sans-serif; 
	border: 1px solid #CCC;
	background: #FFF; 
	padding: 2px 3px; 
	color: #333;	
}


/***********************
	  LAYOUT
************************/
#wrap {
	width: 850px;
	margin: 0 auto;
	background: #FFF;
	border: 1px solid #d7d7d7;
}

/* header */
#header {
	position: relative;
	height: 117px;
	width: 810px;
	text-align: left;		
	margin-left:26px;
	padding: 15px 0px 0px 0px;	
	background: #FFF;
	background: #FFF url(../images/alfredberg_top.gif) no-repeat;	
}


/* content */
#content-wrap {
	clear: both;
	float: left;
	width: 100%;
	background: #FFF;
}
#content {
	width: 820px;
	clear: both;
	text-align: left;	
	padding: 0;
	margin: 0 auto;	
}

/* sidebar */

#leftnav
{
float: left;
width: 220px;
margin: 0;
padding: 5px;
}


#sidebar {
	float: right;
	margin: 0 0 10px 0;
	padding: 0;	
	margin-right:7px;
}	
#sidebar h1 {
	padding: 10px 0px 5px 0px;
	margin: 0;		
}
.sidebox {
	margin-bottom: 10px;	
}

/* sidebar menu */
#leftnav ul.sidemenu {
	list-style:none;
	list-style-image:none;
	
	padding: 0;		
}
#leftnav ul.sidemenu li {
	padding: 0px 0px;
	list-style-image:none;
	margin-left:0px;
}
#leftnav ul.sidemenu a {
	display:block;
	font-weight:normal;
	color: #333;
	height: 1.5em;	
	padding:.3em 0 .3em 15px;
	line-height: 1.5em;
	text-decoration:none;
}
#leftnav ul.sidemenu a.top{	
}

#leftnav ul.sidemenu a:hover {
	padding: .3em 0 .3em 10px;
	border-left: 5px solid  #276399;
	color: #276399;		
}



/* main */
#main {
	float: left;
	width: auto;	
	margin: 0 0 0px 0; padding: 0;
	width:500px;
}
#main h1 {
	padding: 10px 0 5px 0px;
	margin: 0 0 0 0px;
}

#main div {
	padding-left:15px;
}



/* footer */
#footer {
	clear: both;
	margin: 0; padding: 12px 0 0 0;
	height: 10px;
	background: #333333;
	color:#ffffff;
	text-align: justify;
	padding-left:30px;
	padding-right:30px;	
	padding-top:10px;
	padding-bottom:10px;
	text-align:right;
}
#footer p {
	margin: 0; padding: 0;
}
#footer a {
	text-decoration: underline;
	color: #ffffff;	
}
#footer a:hover {
	text-decoration: underline;
	color: #efefef;
}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right {	text-align: right; }

/* additional classes */
.clear { clear: both; }
.gray  { color: #BFBFBF; }


/* menu */

div#menu {	
    height: 42px;
    width: 808px;
}
div#menu li {
    height: 30px;
    width: auto;
    margin: 1px;
    font-size: 12px;
    text-align: center;
    line-height: 200%;
    list-style-type: none;
    background-image: url(../images/buttonface-up.jpg);
    background-repeat: no-repeat;
	background-position: left top;
	float:left;
	padding:0px;
	/* Holly Hack for IE \*/
	_width:1%;
	/* End */

list-style-image:none; 
}

div#menu ul {
	background:#ffffff;
	text-align:right;
	float: right;
	padding:0px;
	margin:0px;
}

div#menu li a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
	    color: #000;
		padding-top:3px;
			float:left;

}
div#menu li a:link {
    color: #000;
}
div#menu li a:visited {
    color: #000;
}
div#menu li a:hover {
    color: #24638E;
} 

div#menu li a:active {

    color: #24638E;
    background-image: url(../images/buttonface-down.jpg); 
	float:left;
    background-repeat: no-repeat;
}


/* -------------------- */
/* MODAL				*/
/* -------------------- */
	
		.modal-overlay
	{
		position:fixed;
		top:0;
		right:0;
		bottom:0;
		left:0;
		height:100%;
		width:100%;
		margin:0px;
		padding:0px;
		background:#000000;
		opacity:.40;
		filter: alpha(opacity=40);
		-moz-opacity: 0.40;
		z-index:101;
	}
	* html .modal-overlay
	{   
		position: absolute;
		height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
	}
	.modal-window
	{
		position:fixed;
		top:45%;
		left:50%;
		margin:0;
		padding:0;
		z-index:102;
		border: 1px solid #efefef;

	}
	* html .modal-window
	{
		position:absolute;
	}
	.close-window
	{
		position:absolute;
		width:73px;
		height:60px;
		right:8px;
		top:8px;
		background:transparent url('../images/close.png') no-repeat scroll right top;
		text-indent:-99999px;
		overflow:hidden;
		cursor:pointer;

	}
	.close-window:hover	{
		background:transparent url('../images/close.png') no-repeat scroll right top;
	}
	


