/* Default formatting rules */

html
{
	font-size:100%; /* IE hack */
}

body
{
	border: 0px;
	margin: 0px;
	padding: 0px;
	background-color: white;
	color: #666;
	font-size: 50%;
	/*font-size: 0.75em;*/
	text-align: center;
	font-family: Arial, Verdana, Sans-serif;
	/*letter-spacing:0.05em;*/
}

p, li, h1, h2, h3, h4
{
	text-align: left-justify;
	line-height: 175%;
	padding: 0px;
	margin: 0px;
	border: 0px;
}

p,span
{
	font-size: 120%;
}

span
{
	/*display: table;*/
}

h1, h2, h3, h4, a, .content .quote, .content .photo h1
{
	color: #38A;
}

h1, h2, h3, h4
{
	text-align: left;
}

h1
{
	font-size: 1.5em;
}

h2
{
	font-size: 1.25em;
}

p
{
	padding-bottom: 10px;
}

a
{
	text-decoration:none;
}

a:hover
{
	color: #279;
}

img
{
	padding: 0px;
	margin: 0px;
	border: 0px;
	position: relative;
}

div
{
	display: block;
	vertical-align: top;
}

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

li
{
	margin: 0px;
	padding-left: 30px;
	padding-bottom: 10px;
	margin-left: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	background: transparent url('../images/yinyang-blue-small.gif') 0px 0px no-repeat;
}



/*.content formatting */

.content
{
	display: block;
	background: transparent url("../images/page.gif") top left repeat;
	padding: 0px 11px;
}

.content h1, .content h2, .content p, .content li
{
	margin-left: 50px;
	margin-right: 50px;
}

.content h2.address , .content p.address, li.portrait, .thumbnail li
{
	margin: 0px;
}

.content .quote
{
	text-align: center;
	font-style: italic;
}



/* setup the page layout */

#page
{
	width: 942px;
	margin: 10px auto 0px auto;
	padding: 0px;
	font-size: 1.4em;
	text-align: left;
}



/* qualities styling */

#pages-qualities
{
	margin-left: 160px;
}

#pages-qualities h1
{
	text-align: center;
}

#pages-qualities img
{
	padding: 0px 20px;
}

/*#pages-qualities li
{
	margin-left: -80px;
	list-style: none;
	text-align: center;
	font-size: 2em;
	background: transparent url('./images/yinyang-blue-small.gif') 0px 0px no-repeat;
}*/


/* Header and Footer styling */

#header
{
	background: transparent url('../images/header-40years.gif') no-repeat;
	margin: 0px;
	padding: 99px 0px 51px 0px;
	border: 0px;
	color: black;
	height: 0px;
}

#header ul
{
	/*background:#333 url("../images/button.gif") top left repeat;*/
	/*list-style: none;*/
	/*width: 894px;*/
	display: table;	
	margin: 0px 0px -33px 31px;
	padding: 0px;
	border: 0px;
	border-left: 1px solid #876c43;
	height: 32px;
}

#header li
{
	float: left;
	margin: 0px;
	padding: 0px;
	background: none;
	font-size: 16px;
	font-weight: bold;
	line-height: 100%;
}

#header div, #header a, #header a:hover
{
	float: left;
	text-decoration: none;
	border-top: 1px solid #876c43;
	border-right: 1px solid #876c43;
	margin: 0px;
	padding: 8px 8px;
	background: transparent /*url("../images/button.gif") top left repeat*/;
	color: #38A;
}

#header div
{
	background:white /*url("../images/button-active.gif") top left repeat*/;
	color: #279;
}

#header a:hover
{
	background: #38A /*url("../images/button-hover.gif") top left repeat*/;
	color: white;
}

/*#footer
{
	background: transparent url('../images/footer.gif') no-repeat;
	clear: both;
	padding: 5px;
	margin-bottom: 10px;
	text-align: center;
	font-size: 1.2em;
	color: #876c43;
	height: 50px;
}*/

#footer
{
	background: transparent url('../images/footer-top.gif') no-repeat;
	padding-top: 1px;
}

#footer .site-map
{
	background: transparent url('../images/footer-middle.gif') repeat-y;
	clear: both;
}

#footer p
{
	background: transparent url('../images/footer-bottom.gif') no-repeat;
	clear: both;
	padding: 5px;
	margin-bottom: 10px;
	text-align: center;
	font-size: 1.2em;
	color: #876c43;
	height: 50px;
}



/* formatting site feed */

.site-map
{
	padding: 10px 51px;
}

.site-map div
{
	clear: both;
}

.site-map ul
{
	float: left;
	width: 172px;
	font-size: 1em;
}

.site-map h1
{
	font-weight: bold;
	text-transform: uppercase;
}
.site-map li
{
	padding: 0px;
	padding-left: 10px;
	margin: 0px;
	background: none;
}




/* Sidemenu styling */

.sidemenu
{
	display: block;
}

.sidemenu ul, .sidemenu li
{
	list-style: none;
	border: 0px;
	padding: 0px;
	margin: 0px;
}

.sidemenu ul
{
	float: left;
}

.sidemenu li
{
	position: relative;
	left: -36px;
}


/* Submenu styling */

#submenu
{
	background: url('../images/submenu.gif') top left no-repeat;
	display: block;
	width: 800px;
}

#submenu ul, #submenu li
{
	list-style: none;
	border: 0px;
	padding: 0px;
	margin: 0px;
	background: none;
}

#submenu ul
{
	background: url('../images/submenu-end.gif') top right no-repeat;
	clear: both;
	height: 32px;
	padding: 11px 10px 10px 0px;
}

#submenu li
{
	float: left;
	font-size: 16px;
	font-weight: bold;
	line-height: 100%;
	text-decoration: none;
	color: #38A;
}

#submenu div, #submenu a
{
	display: block;
	margin: 0px;
	padding: 8px 8px;
	border-right: 1px solid #876c43;
	/*background: transparent url("../images/button.gif") top left repeat;*/
}

#submenu a:hover
{
	background-color: #38A;
	color: white;
}

#submenu a.active
{
	background-color: white;
	color: #279;
}



/* store format */

#store h2
{
	text-align: left;
}

#store ul, #store li, .list li
{
	display: block;
	text-align: left;
	margin: 0px;
	background: white;
}

#store ul.short
{
	margin-left: 1px;
	border-top: 1px solid lightblue;
}

#store #form p
{
	margin: 0px;
}

#store li, .pad
{
	padding: 10px 50px;
}

#store li, #store .total, .pad
{
	border-bottom: 1px solid lightblue;
}

#store li:hover
{
	background: #E0F0F8;
}

#store .odd, .list > .odd
{
	background: #F0F8FF;
}

#store p.odd, #store p.even, #store p.description, #store h2, .list > .odd
{
	margin: 0px;
}

#store .text
{
	width: 30px;
}

#store li.price
{
	margin: 0px;
	padding: 0px;
}

#store .total h1
{
	color: grey;
	font-weight: bold;
	font-size: 175%;
	text-align: right;
	margin: 0px;
	padding-bottom: 0px;
}

#store img
{
	float: left;
	padding-right: 10px;
}



.short .description
{
	display: block;
}

.short .price
{
	display: block;
	float: right;
}

.short .price div
{
	font-size: 150%;
	text-align: right;
}

.short .price p
{
	margin: 0px;
	text-align: right;
}


.long .description
{
	display: inline;
}

.long .price
{
	display: block;
	float: right;
	font-size: 150%;
}

.long .price li
{
	text-decoration: none;
	padding: 0px;
	margin: 0px;
	background: white;
}


/* form formatting */

#form h1, #form ul, #form p
{
	clear: both;
}

#form h1
{
	padding: 10px 0px;
}

#form ul
{
	margin: 0px 50px;
}

#form li
{
	float: left;
	clear: none;
	width: 560px;
	text-decoration: none;
	border: 1px solid #7CF;
	padding: 10px;
	margin: 0px;
	margin-right: 10px;
	margin-bottom: 10px;
	background: white;
}


#form label
{
	display: table;
	float: left;
	width: 110px;
}

#form input, #form textarea
{
	width: 430px;
}

#form textarea
{
	height: 100px;
}

#store #form input, #store #form textarea
{
	width: 130px;
}

#store #form li
{
	width: 260px;
}

#form p
{
	padding: 5px 0px;
	/*margin: 0px 0px;*/
}

#form .center
{
	text-align: center;
	margin: auto 0px;
}


#form textarea.message
{
	width: 620px;
	text-decoration: none;
	border: 1px solid #7CF;
	padding: 10px;
}

#form #securimage
{
	border: 1px solid #876c43
}


#form #error h1
{
	margin: 0px -10px;
	margin-top: -30px;
	/*padding: 0px;*/
}

#form .button
{
	margin-left: 110px;
	width: 100px;
}


/* error formatting */

#store #error
{
	margin: 0px 10px;
}

#error, .error
{
	color: red;
}

#error h1
{
	padding: 10px;
	background: red;
	color: white;
}

#error h1, #error p
{
	text-align: center;
}

#error
{
	/*border: 1px solid red;*/
	margin-top: 20px;
}

input.error
{
	background: #FDD;
}


.list
{
	border-top: 1px solid lightblue;
	margin-bottom: 20px;
}

.list li
{
	padding: 10px 50px 0px 50px;
	border-bottom: 1px solid lightblue;
}

.timetable label
{
	font-weight: bold;
	font-size: 150%;
}

.timetable p
{
	left: 200px;
	margin-top: -20px;
	margin-left: 200px; 
}

.kungfu .list > .odd
{
	background: #FFE8E0;
}

.kungfu .list
{
	border-top: 1px solid red;
}

.kungfu .list li
{
	border-bottom: 1px solid red;
}


/* common bar elements, tai-chi, kung-fu, dim mak and acupuncture */

.taichi-bar-left, .kungfu-bar-left, .dimmak-bar-left, .acupuncture-bar-left
{
	float: right;
	background-repeat: no-repeat;
	width: 700px;
}

.taichi-bar-right, .kungfu-bar-right, .dimmak-bar-right, .acupuncture-bar-right
{
	padding: 25px 0px;
	margin-left: 10px;
	background-position: top right;
	background-repeat: no-repeat;
}

.taichi-bar-right h1, .kungfu-bar-right h1, .dimmak-bar-right h1, .acupuncture-bar-right h1
{
	text-align: left;
	padding-bottom: 30px;
	padding-right: 50px;
}



/* tai-chi text bar */

.taichi-bar-left
{
	background-image: url("../images/taichi-bar.gif");
}

.taichi-bar-right
{
	background-image: url("../images/taichi-bar-yinyang.gif");
}


/* kung fu text bar */

.kungfu-bar-left
{
	background-image: url("../images/kungfu-bar.gif");
}

.kungfu-bar-right
{
	background-image: url("../images/kungfu-bar-yinyang.gif");
}

.kungfu-bar-right h1
{
	color: #C11;
}



/* dim mak text bar */

.dimmak-bar-left
{
	background-image: url("../images/dimmak-bar.gif");
}

.dimmak-bar-right
{
	background-image: url("../images/dimmak-bar-yinyang.gif");
}

.dimmak-bar-right h1
{
	color: green;
}



/* acupuncture text bar */

.acupuncture-bar-left
{
	background-image: url("../images/acupuncture-bar.gif");
}

.acupuncture-bar-right
{
	background-image: url("../images/acupuncture-bar-yinyang.gif");
}

.acupuncture-bar-right h1
{
	color: orange;
}



/* formatting of partraits page */

.portrait
{
	display: table;
	margin: 0px auto;
	text-align: center;
}

.portrait ul
{
	display: table-row;
	list-style: none;
	margin:0px;
}

.portrait li
{
	float: left;
	display: table-cell;
	text-align: center;
	padding: 10px;
	margin:0px;
	background: white;
}



/* formatting of photo slide */

.photo img
{
	margin: 0px;
	padding: 0px;
}

.photo li
{
	margin: 0px;
	padding: 0px;
	display: block;
	text-align: center;
	list-style: none;
	background: white;
}

.photo h1
{
	font-size: 1em;
	font-style: italic;
	font-weight: normal;
	text-align: center;
	margin: 0px;
	padding: 0px;
}

.thumbnail
{
	display: none;
	margin: 0px auto;
	text-align: center;
	margin-bottom: 20px;
}

.thumbnail ul
{
	display: table-row;
	list-style: none;
	clear: both;
	text-align: center;
}

.thumbnail li
{
	float: left;
	display: table-cell;
	text-align: center;
	background: white;
	height: 80px;
	padding: 0px;
}


.pictures
{
	display: table;
	margin: 0px auto;
	text-align: center;
	margin-bottom: 20px;
}

.pictures ul
{
	display: table-row;
	list-style: none;
	clear: both;
	text-align: center;
}

.pictures li
{
	float: left;
	display: table-cell;
	text-align: center;
	background: white;
	padding: 0px;
	margin: 5px;
}


/* formatting timetable */

#timetable
{
	margin: 0px 50px;
}

#timetable td
{
	padding: 2px;
}

#timetable td.taichi
{
	background-color: #CCF;
	border-color: #9AD;
}

#timetable td.kungfu
{
	background-color: #FCC;
	border-color: #DA9;
}

#timetable th
{
	width: 75px;
}

#timetable tr
{
	height: 7px;
}

#timetable tr.odd
{
	background-color: #f8f7a6;
}

#timetable .seperator
{
	margin: 0px;
	padding: 2px;
	border: 0px;
	padding-bottom: 1px;
	border-bottom: 1px solid;
}


/* album formatting rules */

div.album
{
	margin-left: 50px;
	margin-right: 50px;
}

.album img
{
	float: left;
	padding-right: 10px;
	padding-bottom:10px;
}

.album.even img
{
	float: right;
	padding-left: 10px;
}

.album h1, .album p
{
	margin-left: 0px;
	margin-right: 0px;
	padding-bottom: 5px;
}

.album.even h1, .album.even p
{
	text-align: right;
}

.album h1
{
	font-size: 1.25em;
}


/* some general formatting rules */

.dynamic
{
	display: none;
}

#submenu .hide, .hide, #hide
{
	display: none;
}

.left
{
	float: left;
	margin-right: 20px;
}

.right
{
	float: right;
	margin-left: 20px;
}

.center
{
	text-align: center;
	padding: 0px;
}

.seperator
{
	border-top: 1px solid #555;
	padding-top: 10px;
}

.sublink
{
	padding-bottom: 10px;
}

.heading, #submenu div
{
	background-color: #fde587
}

