/*************************************
*
* Cross template styles + defaults
*
*************************************/

/* Margins & padding: Default */
*, body, h1, h2, h3, h4, h5, h6, form, p, ul, li { margin: 0px;  padding: 0px; }

p, ul, ol { margin: 0em 0em 1em 0em; }

/* Font preferances: Default */
body { font-size:100%; font-family: Arial, Helvetica, sans-serif; }

p, ul, ol, h1, h2, h3, h4, h5, h6, td, th, dd, dt { font-size: 0.75em; line-height: 1.5em; }

dt {
	font-weight:bold;
}

dd { margin:0 0 1em 26px;}

.livingintoronto #content h5 {
	color:#064e80;
}

.doingbusiness #content h5 {
	color:#663366;
}

.visitingtoronto #content h5 {
	color:#cc9900;
}

.accessingcityhall #content h5 {
	color:#336633;
}

.allcaps {
	text-transform:uppercase;
}

ul li p, ol li p, ul li h4, ol li h4, ul li h5, ol li h5  {
	font-size:1em;
}



/* table cell font size overrides */

td p {
	font-size:1em !important;
}

td li {
	font-size:1.35em !important;
	background-position: 0px 0px !important;
}


th p , td h2, td h3, td h4, td h5, td h6 {
	font-size:1.35em !important;
}

caption {
	font-size:.75em;
	font-weight:bold;
	margin:0 0 .5em 0;
}

/* end table cell font size overrides */


.disclaimer { font-size: 0.75em; }

li ul, li ol  { font-size: 1em !important; line-height: 1.5em; }

a { color:#000; }

hr { border:0; width:100%; background-color: #ccc; height: 1px; margin: 1em 0em 1em 0em; }

.colourbar, #footer {
	float:left;
	clear:both;
	width:100%;
	border-bottom: solid 1px #fff;
	overflow:hidden;
}

.wrapper {
	clear:both;
	float:left;
	width:770px;
	
}


.wrapper_app {
	clear:both;
	float:left;
	width:770px;
}

.hide { position: absolute; left: -200em; }

.text-small {font-size:.8em}

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}

a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; margin:0 0 1em 1em}
.alignleft {float:left; margin:0 1em 1em 0}

.nobottommargin {margin-bottom:0 !important;}

.no-margin  {margin:0 !important;}

/******** #header styles ***********/



#header { 
	float:left;
	width: 770px;
	margin-bottom:10px;
	height:53px;
}

#logo {
	position: relative;
	z-index:10;
	float:left;
	width:158px;
}

#header a.logo {
	z-index:20;
	padding-top: 48px; /* height of the replacement image */
   	float:left;
	height: 0px;
	width:158px;
	margin-right:15px;
	overflow: hidden;
	background-image:  url(../images/logo_city.gif);
	background-repeat: no-repeat;
}

#header ul { 
	list-style-type: none;
	margin-top: 21px; 
	float:left; 
	margin-left:40px;
}

#header ul li { display: inline; }

#header .home a {
	padding-top: 20px; /* height of the replacement image */
	float:left;
	height: 0px !important;
	width:34px;
	overflow: hidden;
	background: transparent url(../images/nav_top-01.gif) no-repeat 0 0;
}

#header .contactus a{
	padding-top: 20px; /* height of the replacement image */
	float:left;
	height: 0px !important;
	width:63px;
	overflow: hidden;
	background: transparent url(../images/nav_top-02.gif) no-repeat 0 0;
}

#header .faq a {
	padding-top: 20px; /* height of the replacement image */
	float:left;
	height: 0px !important;
	width:72px;
	overflow: hidden;
	background: transparent url(../images/nav_top-03.gif) no-repeat 0 0;
}

#header .searchTOsite a {
	padding-top: 20px; /* height of the replacement image */
	float:left;
	height: 0px !important;
	width:45px;
	overflow: hidden;
	background: transparent url(../images/nav_top-search.gif) no-repeat 0 0;
}


#header form { margin-top:21px; float:left;}
#header form label { float: left; margin-left: 10px;}
#header form input.textbox {float: left; width: 108px; margin: 0 4px;}
#header form input.go { border: 0; margin-left: 4px; width: 17px; }

form fieldset {
	margin:0;
	padding:0;
	border:none;
}

#header .search {
	padding-top: 20px; /* height of the replacement image */
	float:left;
	height: 0px !important;
	width:45px;
	overflow: hidden;
	background: transparent url(../images/nav_top-04.gif) no-repeat 0 0;
}

.go {
	padding-top: 20px; /* height of the replacement image */
	float:left;
	height: 0px !important;
	width:45px;
	overflow: hidden;
	background: transparent url(../images/button_go2.gif) no-repeat 0 0;
	border:none;
}

/*#header legend { 
	position: absolute; 
	left: -200em;
	
}*/

/** end #header styles **/

/******** #nav styles ***********/
#nav {
	float:left;
	display:block;
	width:139px;
	overflow:hidden;
}

#nav a { color: #fff; }

#nav ul li { 
	margin: 0px 0px 5px 0px; 
	padding: 0px 5px 0px 12px; 
	list-style:none; 
	clear:both;
}

#nav ul li ul { margin-bottom:-5px !important;}

#nav h3, #nav h4, #nav h5, #nav h6  { margin-left: 3px; margin-top: 1em; margin-right:3px; color:#fff; }

.nav_disclaimer { font-size: 0.75em; color:#FFF !important; }

/** end #nav styles **/



/******** #content styles ***********/

#content {
	display:block;
	float:left;
	width:415px;
	margin-left:5px;
	overflow:hidden;
}

.content_app {
	width:765px !important;
}


#content h2 {clear:both; background-color:#ccc; padding: 2px 0 2px 8px; font-size: 1em; line-height: 1.15em; margin-bottom:1em; }

#content h3 { font-size: 1em; margin-bottom:0em;}

.larger {font-size: 1em;}

#content div.main {
	margin:5px 0px 9px 8px !important;
}

#content div.main div {
	margin-bottom:10px;
}

#content div.homepage {
	margin:5px 14px 9px 8px;
}

#content div.story {
	margin:5px 14px 9px 8px;
}

.border { 
	border-bottom: 1px solid #ccc;
}

#content ul li{ 
	margin: 0px 0px 5px 0px; 
	padding: 0px 0px 0px 12px; 
	list-style:none; 
	/*clear:both;*/
}

#content ol li {
	margin: 0px 0px 5px 15px; 
	padding: 0px 0px 0px 0px;
	list-style: inherit;
}

#content ol li ul li{ 
	margin: 0px 0px 5px 0px !important; 
	padding: 0px 0px 0px 12px !important; 
	list-style:none; 
	/*clear:both;*/
}

.clear {
	clear:both;
}

#content ul, #content ol{
	margin-left:15px;
}

blockquote {
	margin-left:20px;
}

.question, .answer {
	padding-left:20px;
	margin-left:0 !important;
	border-bottom:none !important;
}

.back_to_top {
	padding: 26px 0 0 0; /* height of the replacement image */
	float:right;
	display:block;
	margin:0 0 0.5em 316px !important;
	height: 0px !important;
	width:89px;
	overflow: hidden;
	background: transparent url(../images/backtotop.gif) no-repeat right top;
	border:none;
}

.back_to_top_homepage {
	padding: 26px 0 0 0; /* height of the replacement image */
	float:right;
	display:block;
	margin:0 14px 0.5em 302px !important;
	height: 0px !important;
	width:89px;
	overflow: hidden;
	background: transparent url(../images/backtotop.gif) no-repeat right top;
	border:none;
}

/** end #content styles **/



/******** #sidebar styles ***********/

#sidebar {
	float:left;
	width:200px;
	margin-left:10px;
	overflow:hidden;
}

#sidebar a { color:#000; }


/* highlight links */
#highlight_links { clear:both; float:left; width:200px; margin-top:1em; }

#highlight_links ul li { 
	margin: 0px 0px 5px 0px; 
	padding: 0px 0px 0px 12px; 
	list-style:none; 
	clear:both;
}

/* highlight boxes */
#highlight_boxes { width:197px; border-top: solid 1px #ccc; border-left: solid 1px #ccc; border-right: solid 1px #ccc;  }
#highlight_boxes div { clear:both; padding:3px; border-bottom: solid 1px #ccc; height:4.375em; overflow:hidden;}
#highlight_boxes div a { font-weight:bold;}
#highlight_boxes p { margin-top:3px; line-height:1.2em;}
#highlight_boxes img a, #highlight_boxes img { float:left; border:none; margin:3px;}

/** end #sidebar styles **/



/******** #footer styles ***********/

#footer {color: #fff !important;}
#footer ul { float:left; padding:2px 10px; list-style-type:none; margin-bottom:0 !important; }
#footer ul li { display:inline;}
#footer a { color: #fff !important;}
#footer .copyright { float:left; font-size:.75em; padding:4px 0 0 75px; color: #fff;}
/** end #footer styles **/


/*************************************
*
* Living in Toronto styles
*
*************************************/

.livingintoronto .colourbar, .livingintoronto #footer  {background: #064E80;}

.livingintoronto .wrapper {
	background: url(../images/columnbg_blue.gif) repeat-y;
}

.livingintoronto #nav ul li, .livingintoronto #content ul li, .livingintoronto #highlight_links ul li, .livingintoronto #content ol li ul li {
	background:transparent url(../images/nav_bluebullet.gif) no-repeat  2px 2px;
	clear:both;
}

.livingintoronto #nav ol li, .livingintoronto #content ol li, .livingintoronto #highlight_links ol li {
	background:none;
}

/*************************************
*
* Doing Buisness styles
*
*************************************/

.doingbusiness .colourbar, .doingbusiness #footer {background: #663366;}
.doingbusiness .wrapper {background: url(../images/columnbg_purple.gif) repeat-y;}
.doingbusiness #highlight_links ul li, .doingbusiness #content ul li, .doingbusiness #nav ul li, .doingbusiness #content ol li ul li { background:url(../images/nav_purplebullet.gif) no-repeat 2px 2px; }

.subbullet ul li { background:url(../images/nav_purplesubbullet.gif) no-repeat 2px 2px; }

.doingbusiness #highlight_links ol li, .doingbusiness #content ol li, .doingbusiness #nav ol li { background:none; }

/*************************************
*
* Visiting Toronto styles
*
*************************************/

.visitingtoronto .colourbar, .visitingtoronto #footer {background: #cc9900;}
.visitingtoronto .wrapper {background: url(../images/columnbg_yellow.gif) repeat-y;}
 
#living .wrapper {background: url(../images/columnbg_yellow.gif) repeat-y;}

.visitingtoronto #highlight_links ul li, .visitingtoronto #nav ul li, .visitingtoronto #content ul li, .visitingtoronto #content ol li ul li { background:url(../images/nav_yellowbullet.gif) no-repeat 2px 2px; }
.visitingtoronto #highlight_links ol li, .visitingtoronto #nav ol li, .visitingtoronto #content ol li { background:none; }
.visitingtoronto #nav li a {color:#000 !important;}
.visitingtoronto #nav h3, .visitingtoronto #nav h4 {color:#000;}

/*************************************
*
* Accessing City Hall styles
*
*************************************/

.accessingcityhall .colourbar, .accessingcityhall #footer {background: #336633;}
.accessingcityhall .wrapper {background: url(../images/columnbg_green.gif) repeat-y;}
.accessingcityhall #highlight_links ul li, .accessingcityhall #content ul li, .accessingcityhall #nav ul li, .accessingcityhall #content ol li ul li { background:url(../images/nav_greenbullet.gif) no-repeat 2px 2px ; }
.accessingcityhall #highlight_links ol li, .accessingcityhall #content ol li, .accessingcityhall #nav ol li { background:none !important; }

/*************************************
*
* Google Translate styles
*
*************************************/

#translate { 
	height: 60px; 
	width: 200px; 
	background: #fff url(/shared/assets/images/ggltrnslt.gif) no-repeat;
	/*margin-left: 2px;*/
	margin-top: 5px;
}
			
#translate select { 
	background: #eee; 
	width:150px ;
	margin-top: 29px; 
	margin-left: 41px; 
	_margin-top: 27px; 
	_margin-left: 40px; 
	border: 1px solid #ddd; 
}
			
#translate label, #translate input{ display:none; }


/*****************************
	extended template
	
******************************/
.wrapper h2.header {
	background-color:#CCCCCC;
	font-size:1em;
	line-height:1.15em;
	margin-bottom:2px;
	margin-left:144px;
	padding:2px 0 2px 8px;
}

.extended .wrapper {
	float:left;
	min-width:60em;
	width:920px;
}

.extended #content {
	background:none repeat scroll 0 0 #FFF;
	width:768px;
}

