/* Style sheet for KYFA site           */
/* by Jasmey and Erik                  */
/* Last change 23MAY2007               */

body {
	margin: 0;
	padding: 0;
	background-color: #a5a5a5;
	color: #000000;	
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
}

a:link    { color: #0099FF; text-decoration: none; font-weight: bold; outline: none; }
a:visited { color: #0099FF; text-decoration: none; font-weight: bold; outline: none; }
a:hover   { color: #FF0000; text-decoration: underline; }
a:active  { color: #FF0000; text-decoration: underline; }
.ahem { display: none; }

strong, b { font-weight: bold; }
p  { font-size: 12px; line-height: 1.5; margin: 1em 0; padding: 0; color: #555;}
li { font-size: 12px; line-height: 1.5; margin-top: 10px; margin-bottom: 5px; }
ol {color: #555;}
ul {color: #555;}

h1 { font-size: 22px; line-height: 30px; font-weight: bold; margin-top: 0; margin-bottom: 0; }
h2 { font-size: 18px; line-height: 24px; font-weight: bold; margin-top: 0; margin-bottom: 0; }
h3 { font-size: 12px; font-weight: bold; margin-top: 0; margin-bottom: 0; color: #fff; background-color: #444; display: block; padding:3px 10px; text-transform:uppercase;}
h4 { font-size: 180%; line-height: normal; font-weight: bold; margin-top: 0; margin-bottom: 0; color: #666666;}
h5 { font-size: 100%; line-height: 18px; font-weight: bold; margin-top: 0; margin-bottom: 0; }
h6 { font-size: 10px; line-height: 18px; font-weight: bold; margin-top: 0; margin-bottom: 0; }
h7 { font-size:  9px; line-height: 16px;                    margin-top: 15px; margin-bottom: 5px; }
img { border: 0; }

.normal { font-size: 10px; line-height: 14px; }
.itals  { font-size: 10px; line-height: 14px; font-style: italic; }
.tiny   { font-size:  8px; line-height: 12px; }
.level0 { font-size: 12px; line-height: 14px; }

#container {
	width: 830px;
	/*height: 800px;*/
	padding: 0;
	margin-left: auto; /* centering according to http://www.maxdesign.com.au/presentation/center/ */
	margin-right: auto;
	background: #fff url(../images/mainwrap-bg.gif) repeat-y center top;
	}
	
#top {
	width: 100%;
	height: 50px;
	padding: 0px;
	margin-left: 0px;
	border: 0px solid gray;  /* <-- diagnostics only */
	color: #FFFFFF;
	text-align: left;
}
#menubar {
	clear: both;
	height: 35px;
	margin: 0px 10px 10px;
	padding: 0px 0px 0px 0px;
	background: #444 url(../images/menu-bak.png) repeat-x;
	text-align:center;
	list-style-type:none;

}
/* start KYFA-specific section */
#topbar {
	margin:0;
	width:830px;
	height:122px;
	background: url(../images/mainwrap-top.gif) no-repeat left top;
	}
	
#logo {background: url(../images/logo.JPG) no-repeat; width: 144px; height: 150px; float: left; margin: 15px 10px 0 25px;}
#logotext {float: left; margin: 40px 0 0 10px;}
	
#maincontent{
	float:left;
	margin:0 5px 0 20px;
	width:530px;
	padding:5px;
}
#rightcontent{
	margin:0 20px 0 0px;
	float:right;
	width:230px;

}

#rightcontent p{
	padding: 5px;
}

#box{
	border:1px solid black;
	width:238px;
	margin:5px;
	padding:0px;
}
#box1{ 
	margin-bottom: 10px;
	border-color: #CDCDCD #CDCDCD #888888;
	border-style: solid;
	border-width: 1px 1px 2px 1px;
	background: #f9f9f9
}
#box2{
	width:100px;
	margin-left:0;
	font-size:14px;
	
}
/* end KYFA-specific section */
#bottombar {
	clear: both;
	margin: 0px;
	padding: 10px 0px;
	text-align: center;
	background: url(../images/mainwrap-bot.gif) no-repeat left bottom;
	font-size: .8em;
	color: #a5a5a5;
	display: block;
}

#footer {padding:15px 5px 10px 5px; margin: 10px 10px 0 10px; border-top: 5px solid #F8F730; display: block; background-color: #222;}

/*Tables*/
 /* table formatting according to robertdenton.org */
table.mix 
{
	text-align: center;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif ;
	font-weight: normal;
	font-size: 11px;
	color: #fff;
	width:100%;
	background-color: #8FBC8F;
	border: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
}

table.mix th
{
	background-color: #8FBC8F;
	color: #fff;
	padding: 4px;
	text-align: left;
	border-bottom: 2px #fff solid;
	font-size: 12px;
	font-weight: bold;
}

table.mix td 
{
	background-color: #B4EEB4;
	color: #000;
	padding: 4px;
	text-align: left;
	border: 1px #fff solid;
}

/*** Fly-out menus from John 'Max' Maxwell on http://www.project.ex16.co.uk/ ***/
/* (see http://www.mail-archive.com/listdad@webstandardsgroup.org/msg05082.html) */

/* Start of Navigation */
/* common styling      */
.top01 {z-index: 60}
.top02 {z-index: 50}
.top03 {z-index: 40}
.top04 {z-index: 30}
.top05 {z-index: 20}
.top06 {z-index: 10}
.sub   {z-index: 70}

#nav1 {	width: 42px; float: left; width: 160px; }
#nav2 {	width: 42px; float: left; width: 160px; }
#nav3 {	width: 42px; float: left; width: 160px; }
#nav4 {	width: 42px; float: left; width: 160px; }
#nav5 {	width: 42px; float: left; width: 160px; }
#nav6 {	width: 42px; float: left; width: 160px; }


.nav {
	float: left;
	position: relative;
	z-index: 0;
	display: block;
}
.nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	width: 158px; /* width of submenus only */ 
	display: block;
}
.nav ul li {
	float: left;
	position:relative; /* relative to top level menu or not*/
	margin: 0;
	padding: 0;
	vertical-align: bottom;
	display: block;
}
/* Navigation and Sub Navigation Styling */
.nav ul li ul {
	visibility:hidden;
	position:absolute;
	overflow:hidden;
	top:  35px; /* ver position of submenu (px from top of top menu item)*/
	left: 0px; /* hor position of submenu (px from left of top menu item)*/
}
.nav ul li a,
.nav ul li a:visited {  /* this one determines much of the top level menu */
	display: block;
	padding: 8px 0;
	float: left;
	width: 155px; /* width of block behind main and sub menus */
	text-decoration: none;
	text-transform: uppercase;
	color: #ddd; /* text main, non-hover */
	background: #444 url(../images/menu-bak.png) repeat-x; /* bg of main menu, non-hover */
}

* html .nav ul li a,
/* * html .nav ul li a:visited {width:160px; w\idth:160px;} /*ori 160px*/

.nav table {
	border-collapse:collapse; 
	border:0;
	margin:0px /*was -1px;*/;
	padding:0;
}

/* first line for IE7 and non-IE browsers - second line for IE5.5 and IE6 */
.nav ul li:hover a,
/*.nav li.sfhover ul*/
.nav ul li a:hover{
	background: #0304C1 url(../images/menu-hov.png) repeat-x; /* bg main menu when hovering */
	color: #fff; /* text main menu when hovering */
}
.nav ul li:hover ul,
/*.nav li.sfhover  ul,*/
.nav ul li a:hover ul {
	visibility:visible; 
	position:absolute;
	height:auto;
	background: #222;/*yellow; /* bg of submenu when expanded, non-hover */
}
.nav ul li:hover ul li a,
/*.nav li.sfhover  ul,*/
.nav ul li a:hover ul li a{
	display:block;
	background:transparent;
	color:#ddd; /* text of submenu when expanded, non-hover */
	padding: 5px;
	height:auto;
	text-decoration:none;
}

.nav ul li:hover ul li:hover a,
/*.nav li.sfhover  ul*/
.nav ul li a:hover ul li a:hover {
	background:#0304C1; /* bg submenu, hovering */
	color:#EEEEEE; /* text color submenu, hovering */
	/*border-left: 3px solid #ffff60;  band on the left of the submenu - there is none on the right */
}
.nav ul li:hover ul li ul,
/*.nav li.sfhover  ul*/
.nav ul li a:hover ul li a ul {
	visibility:hidden;
	position:absolute;
	height:0;
	overflow:hidden;
	top:0px;
	left:120px;
}
.nav ul li:hover ul li:hover ul,
/*.nav li.sfhover  ul*/
.nav ul li a:hover ul li a:hover ul {
	visibility:visible;
	position:absolute;
	height:auto;
	color:#000000;
	padding:0;
	border:1px solid #006090;
	list-style-type:none;
	background:#006090;
}
.nav ul li:hover ul li:hover ul li a,
/*.nav li.sfhover  ul*/
.nav ul li a:hover ul li a:hover ul li a {
	display:block;
	background:transparent;
	color:#f0f000;
}
.nav ul li:hover ul li:hover ul li:hover a,
/*.nav li.sfhover  ul*/
.nav ul li a:hover ul li a:hover ul li a:hover {
	background:#eeeeee;
	color:#000000;
}
/*** End of Navigation ***/
