/* ==========================================================
Master Stylesheet

version:   V02.01 Yee's Hung Ga Edinburgh from June 04 2007
authors:   Conrad Barrett-Freeman
email:     conradbf@bigfoot.com
============================================================ */

html{height:100%; margin-bottom:0px; padding-top:0px;}
a{outline:none; text-decoration: none; color: blue;}
a:hover{color:red;}
a IMG{border:none;}

body{background: #fff url(../images/bg.jpg) top center repeat-y; color:#000; font-family: Papyrus, verdana, arial, sans-serif;; font-size: 75%; margin: 0px; padding: 0px; text-align: center;}

#wrapper
{
	width: 805px;
	height: auto;
	margin-right: auto;
	margin-bottom: 0px; 
	margin-left: auto;  
	border-bottom: none;
	padding-left:1px;
}

#title
{
	width: inherit;
	height: 155px;
	background: #fff url(../images/title.jpg) 0px 0px no-repeat;
	overflow: hidden;
	position: relative;
	left: -5px;
}

a#title
{
	width: 805px;
	height: 155px;
	display: block;
}
#navigation 
{
	width: inherit;
	background: #fff url(../images/menu/MenuBG.jpg) 0px 0px no-repeat;
	position: relative;
	left: -5px;
	top: -12px;
}

#navigation ul
{
	width: 815px;
	height: 36px;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

#navigation ul li
{
	width: 79px;
	height: inherit;
	display: block;
	float:left;
}

#navigation ul li a span /* accessibility thing - allows you to add text to the links, for screenreaders (Google: screen-reader) by removing them from sight by dragging them way off to the left */
{
	position: relative;
	top: 0px;
	left: -1000px;
}

#navigation ul li a
{
	display: block;
	width: 80px;
	height: inherit;
}

#navigation ul li a,
a:link
a:visited
a:active
{
	background-position: 0px 0px;
	background-repeat: no-repeat;
}

#navigation ul li a:hover
{
	background-position: -80px 0px;
	background-repeat: no-repeat;
}

#navigation ul li a.current
{
	background-position: -160px 0px;
	background-repeat: no-repeat;
}

#navigation ul li#home a{background-image: url(../images/menu/Home.gif);}
#navigation ul li#about a{background-image: url(../images/menu/About.gif);}
#navigation ul li#classes a{background-image: url(../images/menu/Classes.gif);}
#navigation ul li#gallery a{background-image: url(../images/menu/Gallery.gif);}
#navigation ul li#links a{background-image: url(../images/menu/Links.gif);}
#navigation ul li#contact a{background-image: url(../images/menu/Contact.gif);}
/*
#badge
{
	width: inherit;
	height: 126px;
	clear: both; /* necessary to get it sitting properly below the navigation 
	background: #fff url(../images/Badge.gif) 0px 0px no-repeat;
	position: relative;
	left: -2px;
}
*/
#page_content
{
	width:598px;
	height:auto;
	float:left;	
	font-family: Papyrus, verdana, arial, sans-serif;
	font-size: 125%;
	text-align:justify;
	color: #000;
	overflow: visible;
	z-index:-10;
}

body#gallery #page_content
{
	position:relative;
	left: 10px;
	padding-bottom: 15px;
}
table#classes
{
	width: 390px;
	padding-bottom: 25px;
	position: relative;
	left: 120px;
}
table#classesloc
{
	width: 390px;
	position: relative;
	left: 120px;
}
table#classes td, table#classesloc td
{
	text-align: center;
	background-color: #ded7c4;
}
table#classes td.act
{
	width: 180px;
}
table#classes td.map
{
	background-color: #fff;
	padding-left: 20px;
}
/*
table#classes a.map
{

}*/
table#form
{
	position: relative;
	width: 530px;
	left:85px;
}
table#form td.r
{
	width: 300px;
	text-align:right;
}
#piclinks
{
	float: left;
	width: 129px;
	height: auto;
	margin-left: 23px;
	margin-right: 23px;
}

#piclinks ul
{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

#piclinks ul li
{
	display: block;
	height: 98px;
	width: 129px;
	margin-top: 23px;
	background-repeat: no-repeat;
}

#piclinks ul li#china 
{ 
	background-image: url(../images/china.jpg);
}

#piclinks ul li#dotcom
{
	background-image: url(../images/dotcom.jpg);
}

#piclinks ul li#scotland
{
	background-image: url(../images/scotland.jpg);
	margin-bottom: 20px;
}

#piclinks li a
{
	display: block;
	height: 98px;
	width: 129px;
}

#piclinks li a span
{
	position: relative;
	left: -2000px;
}


#txlinks
{
	float: right; 
	width: 280px;
	position: relative;
	left: -80px;
	padding-bottom: 25px;
}

#txlinks p
{
	padding-bottom: 48px;
	position: relative;
	top: 32px;
}

#clear
{
	clear: both;
	font-size: 12px;
	text-align: center;
	margin-top: 100px;
}

p#sign
{
	font-size:11px;
	text-align: center;
	margin-top: 300px;
}

p#body
{
	padding-top:20px;
	padding-left:25px;
	padding-right:25px;
}
h3#body
{
	padding-top:20px;
	padding-left:25px;
	padding-right:25px;
	position: relative;
	left: 40px;
}
p.classes
{
	width: 100%;
	padding-top:10px;
	padding-left:25px;
	padding-right:25px;
	padding-bottom:20px;
}

body#about p#body,
body#qigong p#body
{
	padding-top: 0px;
	position: relative;
	left: 42px;
	padding-bottom: 25px;
}
body#about p#forms,
body#qigong p#forms
{
	padding-top: 0px;
	position: relative;
	left: 42px;

}
p#about
{
	text-align: center;
	width: inherit;
	position: relative;
	top: -10px;
}
body#qigong p#about
{
	top:2px;
	left: 5px;
	padding-bottom: 10px;
}
p#about a
{
	margin-left: 70px;
}
p#about a.abouton
{
	color: #ff0006;
}
body#about #kids
{
	width: 514px;
	height:232px;
	background: url(../images/kids.jpg) 0px 0px no-repeat;
	position: relative;	
	top: -13px;
	left: 85px;
}
ul#forms
{
	padding-left:84px;
}
body#gallery p#body
{
	text-align:center;
	padding-top:60px;
}

table#body
{
	padding-top:20px;
	padding-left:25px;
	padding-right:25px;
	width:100%;
}
table#lineage
{
	padding-left:35px;
	text-align: center;
}
td.time
{
	text-align:right;
}

#PoemEnd
{
	width:152px;
	height:244px;
	float:right;
	padding-right:0px;
	background: #fff url(../images/PoemEnd.jpg) -2px 0px no-repeat;
	position: relative;
	top: -12px;
	z-index:10;
}

#Photo
{
	width:inherit;
	height:217px;
	background: #fff url(../images/photo.jpg) -1px -15px no-repeat;
	clear:both;
	position: relative;
	left: -5px;
}
#lineagepic
{
	width:inherit;
	height:298px;
	background: #fff url(../images/lineage.jpg) -1px -15px no-repeat;
	clear:both;
	position: relative;
	left: -5px;
	padding-bottom:20px;
}
#qigpic
{
	width:645px;
	height:328px;
	background: #fff url(../images/qigong.jpg) -1px -15px no-repeat;
	clear:both;
	position: relative;
	left: -5px;
	overflow: visible;
}
#Bottom
{
	width: inherit;
	height: 72px;
	background: #fff url(../images/bottom.jpg) 0px 0px no-repeat;
	position: relative;
	left: -5px;
	bottom: 0px;
	clear: both;
}
body#qigong #Bottom
{
	margin-bottom: 10px;
	height: 72px;
	top: 52px;
}
h3#closed
{
	text-align: center;
}
#stats
{
	visibility:hidden;
	height:0px;
	position:relative;
	top:-20px;
	z-index:-2;
}

body#about h3.body
{
	font-size:98%;
}

body#about img
{
	height: 150px;
}
