html {
	height: 100%;
}
body {
	font-family: Verdana;
	font-size: 14px;
	margin: 0px;
	padding: 0px;
	height: 100%;
	background-color: #fff;
		background-image: url(images/bgs/lblue047.gif);
	background-position: top left;
	background-repeat: repeat;
	}

/*<!-- general styles -->*/
#topcontainer {
    position: absolute;
    width: 900px;
    margin: 0 0 0 -450px;
    border: 2px solid #0b3149;
    left: 50%;
    top: 20px;
	 background: #fff;
}
#main {
	color: #000;
	display: block;
	background: #fff;
	margin: 0px;
	padding: 0px;
	width: 900px;
}
#pagetop {
	position: relative;
	margin: 0px;
	padding: 0;
	width: 900px;
	color: #000;
	border-bottom: 0px solid #ccc;
	filter:alpha(opacity=90);
	opacity: 0.90;
	-moz-opacity: 0.90;
	background-color: #d3c5fe;
	}
#pagetop h1 {
	color: #000;
    font: bold 20px;
		font-family: Verdana;
		text-decoration: none;
}
#modal {
	background-color: white;
	visibility: hidden;
	position: absolute;
	top: 0px;
	left: 0px;
	padding: 0px;
	border: 0px;
	width: 100%;
	height: 100%;
	z-index: 10;
	filter:alpha(opacity=75);
	opacity: 0.75;
	-moz-opacity:0.75;
}
#modal_msg {
	background-color: white;
	visibility: hidden;
	position: absolute;
	top: 100px;
	left: 100px;
	padding: 20px;
	border: 2px solid black;
	z-index: 11;
	color: black;
	font-size: 20px;
}

#textbox {
	color: black;
	background-color: white;
	margin: 0px;
	padding: 3px;
	filter:alpha(opacity=100);
	opacity: 1.00;
	-moz-opacity: 1.00;
	border: 2px solid black;
	text-align: center;
}
#textbox_header_container {
	padding: 0px;
	margin: 0px;
	border: none;
	display: table;
}
#textbox_header {
	color: white;
	font: bold 20px;
	background-color: black;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	margin: 0px;
	padding: 0px;
	display: table-cell;
}
#textbox_header_end {
	padding: 0px;
	margin: 0px;
	display: table-cell;
}
div.clearfloat {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/*<!-- gallery styles -->*/
#gallery {
	padding: 5px;
	margin: auto;
	display: table-cell;
	text-align: center;
	width: 900px;
}
#gallery h1 {
	font: bold 14px;
	padding: 3px;
	margin: 0;
}
#gallery p {
	font:  14px;
}
#gallery_img {
	border: none;
	padding: 5px;
	margin: 0;
	float: none;
}
#viewer {
	top: 50px;
	left: 50px;
	padding: 0px;
	margin: 0px;
	border: 0px none;
	position: absolute;
	display: none;
	z-index: 100;
	border: 4px solid #706959;
	background-color: #fff;
}
#viewer a {
	float: right;
}
/**************** menu coding *****************/
#menu_top {
	width: 100%;
	float: left;
	background-color: #eee;
}

#menu_top ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	width: 225px;
	text-align: center;
	float: left;
}

a img {
	border: none;
}
#menu_top a, #menu_top h2 {
    font: bold 17px/17px Verdana;
    display: block;
    border-width: 0px;
    border-style: solid;
    border-color: #ccc #888 #555 #bbb;
    margin: 0px;
    padding: 2px 3px;
    color: #000;
		background-image: url(images/bgs/nav-tausta.jpg);
	background-position: left;
	background-repeat: repeat;
	    text-decoration: none;
}

#menu_top a:hover {
    color: #fff;
		background-image: url(images/bgs/nav-tausta-hover.jpg);
	background-position: left;
	background-repeat: repeat;
	}

#menu_top li {position: relative;}

#menu_top ul ul {
    position: absolute;
    z-index: 500;
}

#menu_top ul ul ul {
    position: absolute;
    top: 0px;
    left: 100%;
}

div#menu_top ul ul,
div#menu_top ul li:hover ul ul,
div#menu_top ul ul li:hover ul ul
{display: none;}

div#menu_top ul li:hover ul,
div#menu_top ul ul li:hover ul,
div#menu_top ul ul ul li:hover ul
{display: block;}

/*------ left side vertical menu ------*/
#menu_left {
	width: 12em;
 	background: #d5dce6;
	margin: 50px 5px 0px 0px;
}

#menu_left_wrapper {
	vertical-align: top;
	display: table-cell;
}

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

#menu_left a, #menu_left h2 {
    font: bold 12px/12px Verdana;
    display: block;
    border-width: 3px 0px;
    border-style: solid;
    border-color: #fff;
    margin: 0px;
    padding: 2px 3px;
    color: #000;
	 	background: ;
	    text-decoration: none;
}

#menu_left a:hover {
    color: #0b3149;
	    background: #e7ecf2;
	}

#menu_left li {
	position: relative;
}

#menu_left ul ul {
    position: absolute;
	width: 100%;
	left: 100%;
	top: 0px;
    z-index: 500;
}

#menu_left ul ul ul {
	position: absolute;
	top: 0px;
	left: 100%;
	width: 100%;
    z-index: 500;
}

div#menu_left ul ul,
div#menu_left ul li:hover ul ul,
div#menu_left ul ul li:hover ul ul
{display: none;}

div#menu_left ul li:hover ul,
div#menu_left ul ul li:hover ul,
div#menu_left ul ul ul li:hover ul
{display: block;}
	