﻿*
{
	margin: 0px;
	padding: 0px;
}

html, body, form
{
	height: 100%;
}

body
{
    background-color: #d0913f;
    background-image: url(../../PresentationLayer/Images/Template/background.gif);
    background-repeat: repeat;
    font-family: Helvetica, Arial, Sans-Serif;
    font-size: .82em;
    width: 100%;
}


/* header */
div#header
{
	background-image: url(../../PresentationLayer/Images/Template/header-background.jpg);
	background-color: #d50000;
	height: 75px;	
}


/* logo */
#logo
{
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 100;
	width: 575px;
	height: 75px;
	overflow: hidden;
}

#logo .replacement
{
	width: 575px;
	height: 75px;
	background-image: url(../../PresentationLayer/Images/Template/phoenix-dragon-kung-fu-academy.gif);
	cursor: pointer;
}


/* menu */
div#menu 
{
	background-color: #000;
	padding: 2px;
	height: 25px;
}

div#menu ul
{
	margin-top: 7px;
}

div#menu li
{
	float: left;
	margin-left: 20px;
}

div#menu li a
{
	display: block;
	color: #fff;
	text-decoration: none;
	font-family: Verdana;
	font-size: .82em;
	font-weight: bold;
}

div#menu li a:hover
{
	color: #f00; 
}

div#menu li ul 
{
	border: solid 1px #fff;
	position: absolute;
	width: 150px;
	left: -999em;
	padding-bottom: 4px;
}

div#menu li:hover ul 
{
	border: solid 1px #eaebdc;
	background-color: #fff;
	margin: 0px;
	padding: 2px;
	left: auto;
}

div#menu li:hover ul li
{
	width: 150px;
	margin-bottom: 2px;
	margin-top: 2px;
	margin-left: 4px;
}

div#menu li:hover ul a
{
	color: #000;
	width: 142px;
}

div#menu li:hover ul a:hover
{
	color: #f00; 
}


/* image replacement */
.replacement
{	
	position: absolute;
	z-index: 10;
	background-repeat: no-repeat;
}

#breadcrumb
{
	padding-left: 20px;
	margin-top: 5px;
	font-size: .92em;
}

#breadcrumb li 
{
	float: left;
}




/* container */
#container
{
	background-color: #fff;
	border-left: solid 1px #000;
	border-right: solid 1px #000;
    margin: auto;
    width: 800px;
  
	position: relative;
	min-height: 100%;
}

* html #container
{
	height: 100%;
}


/* content */
#content
{
	color: #545454;
	padding: 20px;
	padding-bottom: 6em;
}


/* footer */
#footer 
{
	background-color: #000;
	border-left: solid 1px #000;
	border-right: solid 1px #000;
	clear: left;
	color: #fff;
	font-size: .82em;
	height: 50px;
	margin: auto;
    width: 800px;
    
    position: relative;
	margin-top: -50px;
}

#footer a,
#footer a:hover
{
	color: #fff;
	text-decoration: none;
}


/* core */
ul
{
	list-style-type: none;
}

a 
{
	color: #000;
}

#content a
{
	color: #545454;
}

a:hover,
#content a:hover
{
	color: #f00;
}

p
{
	clear: left;
	margin-bottom: 10px;
}

h1
{
	clear: left;
	font-size: 2.0em;
	font-weight: normal;
	margin-bottom: 10px;
	margin-top: 10px;
}

h2
{
	font-size: 1.4em;
	font-weight: normal;
	margin-bottom: 5px;
}

.red
{
	color: #ff0000;
}


/* lineage */
.wo-ngai
{
	margin-left: 300px;
}

ul.lineage-menu
{
	overflow: auto;
	clear: left;
}

ul.lineage-menu li
{
	float: left;
	margin-right: 12px;
}

ul.lineage
{
	margin: auto;
	margin-bottom: 40px;	
	overflow: auto;
	width: 500px;
}

ul.lineage li
{
	font-weight: bold;
	float: left;
	margin-top: 40px;
	width: 250px;
}

ul.lineage li a
{
	display: block;
	text-decoration: none;
}

ul.lineage li img
{
	border: solid 1px #000;
	width: 240px;
}

img.lineage
{
	border: solid 1px #000;
	padding: 8px;
	padding-right: 16px;
}

/* images */
/* shao lin */
#shao-lin-lineage-wrapper
{
	height: 428px;
	margin-left: 100px;
	overflow: auto;
}

#shao-lin-lineage
{
	position: absolute;
	z-index: 100;
	width: 500px;
	height: 428px;
	overflow: auto;
}

#shao-lin-lineage .replacement
{
	width: 500px;
	height: 428px;
	background-image: url(../../PresentationLayer/Images/Lineage/shao-lin-lineage.png);
}

/* tai chi */
#tai-ji-lineage-wrapper
{
	height: 644px;
	margin-left: 100px;
	overflow: auto;
}

#tai-ji-lineage
{
	position: absolute;
	z-index: 100;
	width: 500px;
	height: 644px;
	overflow: auto;
}

#tai-ji-lineage .replacement
{
	width: 500px;
	height: 644px;
	background-image: url(../../PresentationLayer/Images/Lineage/tai-ji-lineage.png);
}

/* xing yi */
#xing-yi-lineage-wrapper
{
	height: 356px;
	margin-left: 100px;
	overflow: auto;
}

#xing-yi-lineage
{
	position: absolute;
	z-index: 100;
	width: 500px;
	height: 356px;
	overflow: auto;
}

#xing-yi-lineage .replacement
{
	width: 500px;
	height: 356px;
	background-image: url(../../PresentationLayer/Images/Lineage/xing-yi-lineage.png);
}

/* ba gua */
#ba-gua-lineage-wrapper
{
	height: 572px;
	margin-left: 100px;
	overflow: auto;
}

#ba-gua-lineage
{
	position: absolute;
	z-index: 100;
	width: 500px;
	height: 572px;
	overflow: auto;
}

#ba-gua-lineage .replacement
{
	width: 500px;
	height: 572px;
	background-image: url(../../PresentationLayer/Images/Lineage/ba-gua-lineage.png);
}

/* links */
#links li
{
	padding-bottom: 24px;
}

#links li span
{
	display: block;
}

/* events */
#content #events li 
{
	margin-bottom: 24px;
}


/* affiliations */
#affiliations li
{
	font-size: 1.12em;
}

/* programs */
#programs .indent
{
	margin-left: 10px;
}

/* admin */
.grid-view
{
	border: solid 1px #000;
	width: 100%;
}

.grid-view th,
.grid-view td
{
	padding: 4px;
}

/* cms */
.cms ul,
.cms ol
{
	margin-bottom: 20px;
}

.cms ol
{
	margin-left: 25px;
}

.cms ul li
{
	margin-bottom: 4px;
}

.cms ul li span
{
	display: block;
}

.cms ol li
{
	margin-bottom: 10px;
}

.cms ol li span
{
	display: block;
}

.cms img
{
	border: solid 1px #000;
	margin-bottom: 20px;
	margin-left: auto;
    margin-right: auto;
    display: block;
}

.cms .system-back
{
	display: block;
	margin-bottom: 20px;
}

.cms .note
{
	clear: left;
	display: block;
	font-size: .82em;
	margin: auto;
	width: 250px;
}

.cms .new-section
{
	margin-top: 20px;
}

/* our system */
ul.our-system-menu
{
	overflow: auto;
	padding-top: 20px;
	margin: auto;
}

ul.our-system-menu li
{
	float: left;
	width: 180px;
}

ul.our-system-menu li img
{
	margin-bottom: 0px;
}

.cms ul.our-system-menu li h2
{
	width: 120px;
	margin: auto;
	margin-top: 0px;
}


/* chin na */
.chin-na ol li
{
	margin-bottom: 4px;
}

.chin-na p
{
	margin-bottom: 20px;
}

/* shao lin - stances */
.shao-lin-basic-stances
{
	clear: left;
	overflow: auto;
}

.shao-lin-basic-stances li
{
	float: left;
	width: 190px;
}

.shao-lin-basic-stances li img
{
	margin-bottom: 0px;
}

.shao-lin-basic-stances li span
{
	display: block;
	width: 90px;
	margin: auto;
}

.form label
{  
	clear: left;
	display: block;
	line-height: 20px;
	margin-bottom: 4px;
	position: relative;
	width: 760px;
}

.form span
{
	float: left;
	font-family: Verdana, Tahoma, Helvetica;
	font-size: .92em;
	font-weight: bold;
	width: 150px;
}

.form span.custom-validator
{
	width: 600px;
}

.gallery
{
	overflow: auto;
}

.gallery tr 
{
	padding-bottom: 10px;
}

.gallery td
{
	width: 150px;
}

.gallery td img
{
	margin: auto;
	width: 75px;
}

.gallery td span
{
	display: block;
}

.home img
{
	border: solid 1px #000;
}

.home span
{
	display: block;
}

#footer ul
{
	float: left;
	margin-top: 5px;
	padding: 5px;
}

#footer ul.left
{
	width: 660px;
}

#footer ul.right
{
	width: 120px;
}

.ba-gua ol
{
	margin-top: 10px;
	list-style-type: lower-alpha;
}

.ba-gua-philosophy img
{
	margin-bottom: 2px;
}

.ba-gua-philosophy table
{
	margin-top: 60px;
}

.ba-gua-philosophy table tr
{
	padding: 4px;
}

.ba-gua-philosophy table.correlation
{
	margin-top: 0px;
	border: solid 1px #000;
	width: 300px;
}

.ba-gua-philosophy table.correlation td
{
	color: #000;
	line-height: 25px;
}

.ba-gua-philosophy .metal
{
	background-color: #e1dce0;
}

.ba-gua-philosophy .fire
{
	background-color: #ff3430;
}

.ba-gua-philosophy .wood
{
	background-color: #d4fcd7;
}

.ba-gua-philosophy .water
{
	background-color: #68ccfe;
}

.ba-gua-philosophy .earth
{
	background-color: #ce9802;
}

ol h2,
ul h2
{
	margin-top: 20px;
	margin-left: -25px;
}

#events ol h2,
#events ul h2
{
	margin-left: 0px;
}

.twelve-meridians li
{
	float: left;
	width: 200px;
}

.twelve-meridians li img
{
	margin: 0 0 0 0;
	display: block;
	margin: auto;
}

.twelve-meridians li span
{
	display: block;
	width: 80px;
	margin: auto;
}

.characters
{
	display: block;
}

h2.label
{
	margin: auto;
	margin-bottom: 60px;
	width: 300px;
}

li span
{
	display: block;
}

h1.home-title
{
	margin: auto;
	margin-bottom: 20px;
	width: 400px;
}