/* Start of CMSMS style sheet 'TESL Main CSS' */
/*
	Website: www.teslontario.org
	Author: Roman F., Interchange
	Contact: roman@interchange.ca // www.interchange.ca
	Date Created: 09:43 2008-01-22
	Date Modified: 
	Version: 1.0

	Purpose: Master style sheet for the whole website.

	Sections:
		> Global
		> Container
		> Header
		> Footer
		> Page Structure
		> Headings
		> Text Styles
		> Navigation
		> Forms
		> Comments
		> Extras
*/


/*
	****************************************************************************
	> GLOBAL
	****************************************************************************
*/

/*
	Reset all elements to zero to avoid cross-browser differences
	from now and on all margins and paddings will be set explicitly.
*/
* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
body {
	/*
		Force vertical scroll bar in mozilla to prevent the design
		from jumping on pages that are shorter than viewport height.
	*/
	min-height: 101%;
	/*
		* Set font-size to a percentage preventing a Windows IE "extreme
		  font re-sizing" bug.
		* Set font-size slightly larger than 100% to repair Opera rounding errors.
		* Set less than 101% to prevent Safari errors. 
		* The line-height setting gives nice, clear and easy-read spacing.
	*/
	font: 100.01%/130% Verdana, Helvetica, sans-serif;
	color: black;
	background: #f9f9f9 url("http://www.teslontario.org/_img/bg_body.png") repeat-x top left;
}
img {
	border: 0;
}
/*
	Set default style for the links. "LoVe HAte".
	Background is set to avoid warnings from validator ;)
*/
a:link    {}
a:visited {}
a:hover {}
a:active {}
/*
	Acronym and Abbreviation styles
*/
acronym,
abbr {
	border-bottom: 1px dotted black;
	cursor: help;
}
a acronym,
a abbr {
	border: 0;
}
strong, b {
	font-weight: bold;
}
em, i {
	font-style: italic;
}

/* tables */
table,
table tr td,
table tr th {
	border: 0px solid black;
}
table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	border-top: 0;
	border-left: 0;
}
table thead tr {
	background-color: gray;
	color: white;
}
table caption {
	text-align: center;
}
table tr td,
table tr th {
	border-bottom: 0;
	border-right: 0;
	padding: 5px;
}

/*
	****************************************************************************
	> CONTAINER
	****************************************************************************
*/
#doc {
	width: 856px;
	background: white url("/img/bg_doc.png") repeat-y top left;
}

/*
	****************************************************************************
	> HEADER [All Pages]
	****************************************************************************
*/
#hd {
	position: relative;
	height: 192px;
	padding-top:1px;
}
 
/* logo */
#hd #logo {
	width: 317px;
	height: 145px;
	background: white url("/uploads/images/tesl_logo.png") no-repeat bottom right;
}
#hd #logo a {
	display: block;
	width: 317px;
	height: 145px;
}
#hd #logo a img {
	display: none;
}
/* name */
#hd #name {
	display: none;
}
/* tagline */
#hd #tagline {
	display: none;
}
/* search */
#hd #search {
	position: absolute;
	width: 299px;
	height: 29px;
	padding: 9px;
	background: #dedede url("/_img/home/bg_search.png") no-repeat center center;
	font-size: 80%;
}
#hd #search form {
	position: relative;
	top: 5px;
	height: 20px;
}
#hd #search input {
	margin: 0;
	padding: 0;
}
#hd #search input#cntnt01searchinput {
	height: 16px;
	line-height: 16px;
	padding: 0 3px;
	font-size: 90%;
	width: 160px;
}
#hd #search input.button {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 57px;
	height: 20px;
}

/*
	****************************************************************************
	> HEADER [Home]
	****************************************************************************
*/
body.page-15 #hd {
	height: 270px;
	padding-top: 1px;
}
 
/* logo */
body.page-15 #hd #logo {
	width: 317px;
	height: 145px;
	background: #00428A url("/uploads/images/tesl_logo.png") no-repeat bottom right;
}
body.page-15 #hd #logo a {
	display: block;
	width: 317px;
	height: 145px;
}
body.page-15 #hd #logo a img {
	display: none;
}
/* name */
body.page-15 #hd #name {
	display: none;
}
/* tagline */
body.page-15 #hd #tagline {
	display: block;
	position: static;
	width: 317px;
	height: 77px;
	background: #373737 url("/uploads/images/bg_tagline.png") no-repeat top left;
	font-family: "Arial Narrow";
	font-size: 24px;
	line-height: 30px;
	color: white;
}
body.page-15 #hd #tagline small {
	display: block;
	width: 317px;
	height: 77px;
	background: url("http://www.teslontario.ca/_img/home/bg_tagline_small.png") no-repeat center center;
	text-indent: -5000px;
}


/*
	****************************************************************************
	> FOOTER
	****************************************************************************
*/
#ft {
	width: 856px;
	height: 25px;
	background: /*OLD #0b5096*/ #336ea7 /*url("http://www.teslontario.ca/_img/bg_ft.png")*/ no-repeat top left;
	color: white;
	font-size: 70%;
	text-align: center;
	color: white;
}
#ft #copy {
	line-height: 25px;
}

/*
	****************************************************************************
	> PAGE STRUCTURE
	****************************************************************************
*/
#bd {
	float: right;
	width: 607px;
	padding: 9px;
}

/*
	****************************************************************************
	> NAVIGATION
	****************************************************************************
*/
#nv {
	float: left;
	width: 231px;
	padding-bottom: 163px;
	background: /*OLD #00428A*/ #336ea7 url("/uploads/images//bg_nv.png") no-repeat bottom left;
}
#nv ul,
#nv ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#nv ul {

}
#nv ul li a,
#nv ul li.currentpage span {
	display: block;
	padding: 0 9px;
	line-height: 22px;
	height: 23px;
	font-size: 16px;
	font-family: Arial;
	color: white;
	text-decoration: none;
	border-bottom: 1px solid /* OLD #00387B; */ #5e92c6;
        background: url("/uploads/images/bg_nv_li_a-hover.png") no-repeat -5000px -5000px;
}

#nv ul li.activeparent,
#nv ul li.currentpage {
	background-color: /* OLD #00387B; , #5392c6; */ #0251a0;
}

#nv ul li.currentpage span,
#nv ul li.currentpage a {
          color: #DAA520 ;
}

#nv ul li a:hover {
	background-position: top left;
        color: #DAA520 ;
}
/* nav second level */
#nv ul ul {
	margin: 3px 9px 3px 18px;
	background: none;
}
#nv ul ul a {
	border: none;
}
#nv ul ul,
#nv ul ul li {
	list-style-type: square;
	list-style-position: inside;
	color: /* OLD #00387B; */ #5e92c6;
}
#nv ul ul li a,
#nv ul ul li.currentpage span {
	display: inline;
	background: none;
	font-size: 80%;
	line-height: 18px;
	padding: 0;
	border: 0;
}
#nv ul ul li a:hover,
#nv ul ul li span {
	background: none;
	text-decoration: underline;
}
#nv ul ul ul {
	font-size: 85%;
}
#nv ul ul ul,
#nv ul ul ul li {
	list-style-type: disc;
}







/*
	****************************************************************************
	> HEADINGS
	****************************************************************************
*/
h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
        font-weight: bold;
	border-bottom: 1px solid #DADADA;
}
h2 {
	font-size: 1.5em;
	margin: .75em 0;
}
h3 {
	font-size: 1.17em;
	margin: .83em 0;
}
h4 {
	margin: 1.12em 0;
}
h5 {
	font-size: .83em;
	margin: 1.5em 0;
}
h6 {
	font-size: .75em;
	margin: 1.67em 0;
}

/*
	****************************************************************************
	> TEXT STYLES
	****************************************************************************
*/
/*
	Set default lists styles
*/
#bd ol,
#bd ul,
#bd dd,
#bd blockquote {
	margin-left: 40px;
}

#bd ol ul,
#bd ul ol,
#bd ul ul,
#bd ol ol {
	margin-top: 0;
	margin-bottom: 0;
}
#bd ul {
	list-style-type: disc;
}
#bd ol {
	list-style-type: decimal;
}

#bd {
	font-size: 12px;
        font-family: Arial, Helvetica, sans-serif;
}

#bd p {
	margin: 1em 0;
	line-height: 140%;
}

/*
	****************************************************************************
	> FORMS
	****************************************************************************
*/

/*
	****************************************************************************
	> COMMENTS
	****************************************************************************
*/

/*
	****************************************************************************
	> EXTRAS
	****************************************************************************
*/
/* Back to top */
div.top {
	text-align: right;
}
div.top a {
	padding-left: 15px;
	background: url("http://www.teslontario.ca/_img/back_to_top.png") no-repeat center left;
	font-size: 77%;
	text-transform: uppercase;
	text-decoration: none;
	color: black;
}
div.top a:hover {
	text-decoration: underline;
}

div.fb_formlabel {
  font-family: Arial, Helvetica, sans-serif;
  color: #666666;
  font-size: 14px;
  font-weight: bold;
}

div.fb_formfield {
}

div.fb_pagetitle {
  font-family: Arial, Helvetica, sans-serif;
  color: #666666;
  font-size: 18px;
  font-weight: bolder;
}

div.fb_text {
  font-family: Arial, Helvetica, sans-serif;
  color: #666666;
  font-size: 14px;
  font-weight: bold;
}

.error_message {
  font-weight: bold;
  color: #ff0000;
}
/* End of 'TESL Main CSS' */

