/*  
Theme Name: IWTA Canada v1.2
Theme URI: http://wingtsun.ca/
Description: Wordpress theme for <a href="http://www.wingtsun.ca">WingTsun.ca</a>
Version: 1.2
Author: Edwin Liang
Author URI: http://edwinliang.com/

	IWTA Canada v1.2
	 http://www.wingtsun.ca

	This theme was designed and built by Edwin Liang for IWTA Canada
	whose blog you will find at http://edwinliang.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/


/* Reset CSS */
html,body,div,span,
applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,code,
del,dfn,em,font,img,ins,kbd,q,s,samp,
small,strike,strong,sub,sup,tt,var,
dd,dl,dt,li,ol,ul,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: normal;
	font-style: normal;
	font-size: 100%;
	/*line-height: 1;*/
	font-family: inherit;
	text-align: left;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
ol,ul {
	list-style: none;
}
q:before,q:after,
blockquote:before,blockquote:after {
	content: "";
}
/* End Reset CSS */

/* Begin Typography & Colors */

BODY {
 	font-size: 8pt;
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background-color: #e8e8e8;
	text-align: center;
}

FORM {
	margin: 0;
	padding: 0;
	}

P, H1, H2, H3, H4, TD, LI, A, DIV {
	text-align: left;
	font-size: 8pt;
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	margin: 0;
	padding: 0;
	}

H1, H2, H3, H4 {
	clear: both;
	}

H1, H1 a { display: none; font-size: 24pt; font-weight: bold; }
H2, H2 a { font-size: 16pt; }
H3, H3 a { font-size: 12pt; }
H4, H4 a { font-size: 10pt; }

a, a:link, a:hover, a:visited, a:active {
	color: #9c0000;
	text-decoration: none;
	}
a:hover {
	text-decoration: underline;
}

.red  { color: #9c0000; }

/* SIDEBAR STYLES - BEGIN */

.sidebar H2 { font-size: 9pt; font-weight: bold; }

.sidebar ul, .sidebar ul ol {
	margin: 0;
	padding: 0;
	}

.sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

.sidebar ul p, .sidebar ul select {
	margin: 5px 0 8px;
	}

.sidebar ul ul, .sidebar ul ol {
	margin: 5px 0 0 10px;
	}

.sidebar ul ul ul, .sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, .sidebar ul ol li {
	list-style: decimal outside;
	}

.sidebar ul ul li, .sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}

.sidebar li.MoreInfo {
	font-size: 1em;
	line-height: 2em;
}

/* SIDEBAR STYLES - END */

#page {
	background-color: white;
	border: 1px solid #959596;
	}

#header {
	background: #ffe707 url('images/header.gif') no-repeat bottom center;
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

#footer {
	background: #e8e8e8 url('images/footer.jpg') no-repeat top; 	
	border: none;
	height: 75px;
	}
	
/* POSTS - BEGIN */

DIV.date {
	margin-top: 5px;
    margin-bottom: 10px;
	color: #777;
	}
	
.post { padding: 10px; margin-bottom: 30px; clear: both; }
	
DIV.feature {
	margin-right: 10px;
	margin-bottom: 40px;
	background-color: #EFEFEF; 
	padding: 20px;
	border: 1px solid #DFDFDF;
	}
DIV.previous {
	margin: 20px;
	margin-bottom: 40px;
}
	
.post hr {
	display: block;
	}

.postmetadata {
	clear: left;
}

/* POSTS - END */
	
.entry p {
	margin: 10px 0 10px 0;
    line-height: 1.5em;
	}

.entry p a:visited {
	color: #b85b5a;
	}
	
.commentlist li, #commentform input, #commentform textarea {
	font-size: 0.9em;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	}

.commentmetadata {
	font-weight: normal;
	}

small, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}
	
code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0 0 20px 0;
	padding: 0; 
	}

#page {
	background-color: white;
	margin: 20px auto;
	padding: 0;
	width: 950px;
	/* border: 1px solid #959596;*/
	}

#header {
	background-color: #E8E8E8;
	margin: 0;
	padding: 0px; 
	height: 200px; 
	width: 950px;
	}

#headerimg {
	margin: 0;
	width: 100%;
	}
	
#content {
    display: inline-block;
	margin: 20px 0px 100px 20px;
	padding: 0;
    zoom: 1;
    *display: inline;
	}
    
.hasMidbar {
    width: 540px;
}
    
.noMidbar{
    width: 720px;
}
    
#footer {
	padding: 0;
	margin: 0 auto;
	width: 950px;
	clear: both;
	}
    
#midbar {
	width: 160px;
	padding: 20px 0 10px 5px;
    display: inline-block;
    vertical-align: top;
	border-left: 1px dotted black;
    zoom: 1;
    *display: inline;
    }
    
.sidebar {
	width: 180px;
	padding: 20px 0 10px 5px;
    display: inline-block;
    vertical-align: top;
	border-left: 1px dotted black;
    zoom: 1;
    *display: inline;
	}
/* End Structure */

/* Begin Images */

a img {
	border: none;
}

p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
    
.aligncenter {
    text-align: center;
    }
	
.entry img {
	margin: 8px;
	padding: 1px;
	border: 1px solid #6F6F6F;
	vertical-align: middle;
	}
/* End Images */


/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}

.sidebar #searchform #s {
	width: 100px;
	padding: 2px;
	}

.sidebar #searchsubmit {
	font-size: 9pt;
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

/* End Form Elements */


/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
    border: 1px solid black;
	display: none;
	}

/* End Various Tags & Classes*/

/* Classes and Schedule Section Structure and Font Properties */

TABLE.schedule {
    width: 100%;
	margin: 20px 0 10px 0;
}

TABLE.schedule TD {
	width: 175px;
	height: 50px;
	text-align: center;
	background-color: #e8e8e8;
	}

TABLE.schedule TD.colHeader {
	width: 150px;
	}

TABLE.schedule TD.colHeader, TABLE.schedule TR.rowHeader TD {
	font-weight: bold;
	background-color: #ffe707;
	}



DIV#legal p {
	text-align: center;
	}

	
/* SECTION Page styles */
/* Parent of About IWTA, IWTA Toronto, Photos, Videos */
	
.iwta-section-group {
    clear: both;
    margin-bottom: 20px;
}

.iwta-section-header, .iwta-section-spacer {
    width: 167px;
    height: 167px;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    *display: inline;
    margin-right: 5px;
    text-align: right;
}
.iwta-section-header {
    color: white;
    background-color: #9C0003;
}
.iwta-section-header TABLE TD {
	width: 167px;
	height: 167px;
	background-color: #9C0003;
	vertical-align: bottom;
	text-align: right;
	color: white;
	font-size: 18pt;
	padding: 5px;
	}
.iwta-section-image { 
    width: 520px;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    *display: inline;
}
.iwta-section-image IMG {
	padding: 0 !important;
	margin: 0 !important;
	border: 0 none !important;
    width: 520px;
	}
.iwta-section-content {
    width: 520px;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    *display: inline;
}
.iwta-section-content h3,
.iwta-section-content h4 { margin-top: 1em; margin-bottom: 0.5em }
.iwta-section-content p { margin-top: 1em; margin-bottom: 1em; }
.iwta-section-content ul, 
.iwta-section-content ol { margin-top: 1em; margin-left: 3em; margin-bottom:1em; }
.iwta-section-content li { margin-top: 0.5em; margin-bottom: 0.5em; }
.iwta-section-content ul li { list-style: circle outside; }
    
/*  General styles */

strong { font-weight: bold; }


/*
    FLICKR SIDEBAR
                                */
                                
#flickr-sidebar img {
    width: 150px;
    height: 150px;
    margin: 5px auto 5px auto;
}
