/*Credits and Copyright
-----------------------------------------------
Concrescence Design Inc. Content Management System
author:    Craig Hermanson/Concrescence Design Inc.
version:   2009-09-04 hamiltonccas.on.ca
copyright: Concrescence Design Inc., Hamilton ON
client: FRS Instrumentation and Controls
----------------------------------------------- */

/*  Global Elements
----------------------------------------------- */

html, body { 
margin:0; 
padding:0; 
text-align:left; 
background-color: #e0e5ec;
height: 100%;
} 
#page p {font: normal 11px/17px Verdana, Arial, Helvetica, sans-serif;}
div,p,h1,h2,h3,h5,ul,li {
	margin: 0;
	padding: 0;
 }


/* Links 
----------------------------------------------- */
a:link {color: #c00;} 
a:visited {color: #c00; text-decoration: none;}
a:hover {color: #039; text-decoration: none; }

/* TitleBar
-----------------------------------------------*/
#banner {
 width:754px;
 height:300px;
 background:transparent;
 border-top: 1px solid #FFFFFF;
 border-bottom: 1px solid #FFFFFF;
 }
#bannertag {
	clear:both;
	width:932px;
	height:19px;
	background-color:#056A9D;
	color:#FFF;
	font: bold 11px/16px Verdana, Arial, Helvetica, sans-serif;
	border: 4px solid #056A9D;
	margin:0;
 }
#headers {
  padding: 0 0 0 15px;
  background: transparent;
  clear:both;
  }
#newUpcoming {
  margin: 60px 0 0 0;
  padding-top: 55px;
  width: 200px;
  background-image: url('newUpcoming.gif');
  background-repeat: no-repeat;
  overflow: hidden;
  height:55px;
  voice-family: "\"}\""; 
  voice-family:inherit;
  height: 0;
  }  
#welcome {
  margin: 0 0 0 0;
  padding-top: 50px;
  width: 400px;
  background: #FFF url('/med/graphic/welcome.png');
  background-repeat: no-repeat;
  overflow: hidden;
  height:50px;
  voice-family: "\"}\""; 
  voice-family:inherit;
  height: 0;
  }  



/* Layout
----------------------------------------------- */
#container {
	display:block;
	position:relative;
	margin: 0 auto 0 auto;
	padding: 0 30px 20px 30px;
	width: 940px;
	text-align: left;
	background: transparent url(/css/ccas_pagebackground.png) repeat-y;
	min-height: 100%;
	height:auto !important;
	height:	100%;
  }
#header {
	position: relative;
	margin: 0 25px;
	width: 890px;
	visibility: visible;
	padding: 0;
  }
#pageTitle {
	float:left;
	width:260px;
	padding: 0;
	height: 60px;
	margin-top: 20px;
  }
#textTitle {
	margin: 20px 10px 0 0;
	width:185px;
	overflow: hidden;
	height:120px;
	voice-family: "\"}\"";
	voice-family:inherit;
	height: 60px;
	background: transparent url(/images/texttitle.png) no-repeat;
	float: right;
	clear: none;
	padding-top: 0px;
}
#textTitle h3 {
	font: bold 10/10 verdana;
	padding-top: 10px;

}



/*Main Level Tab ----------------------------*/
#mainTabBack {
  margin: 0 0 0 0;
  padding: 15px 0 13px 0;
  width:730px;
  	}
#mainTab {
  float:left;
  width:730px;
  padding: 0;
  background:transparent url("tab-bk.gif") repeat-x bottom;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  }
#mainTab ul {
  margin:0;
  padding:15px 10px 0;
  list-style:none;
  }
#mainTab li {
  float:left;
  background:url("left.gif") no-repeat left top;
  margin:0;
  padding:0 0 0 9px;
  }
#mainTab a {
  float:left;
  display:block;
  background:url("right.gif") no-repeat right top;
  padding:10px 15px 4px 6px;
  text-decoration:none;
  color:#069;
  }
/* Commented Backslash Hack
   hides rule from IE5-Mac \*/
#mainTab a {float:none;}
/* End IE5-Mac hack */
#mainTab a:hover {
  color:#003;
  }
#mainTab #current {
  background-image:url("left_on.gif");
  }
#mainTab #current a {
  background-image:url("right_on.gif");
  color:#333;
  padding-bottom:5px;
  }

/*Sub-Level Tab ----------------------------*/
#subTab {
  float:left;
  width:620px;
  background:transparent url("mainTabBg.gif") repeat-x bottom;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size:10px;
  line-height:normal;
  }
#subTab ul {
  margin:0;
  padding:10px 10px 0;
  list-style:none;
  }
#subTab li {
  float:left;
  background:url("subLeft.gif") no-repeat left top;
  margin:0;
  padding:0 0 0 9px;
  }
#subTab a {
  float:left;
  display:block;
  background:url("subRight.gif") no-repeat right top;
  padding:5px 15px 4px 6px;
  text-decoration:none;
  color:#069;
  }
/* Commented Backslash Hack
   hides rule from IE5-Mac \*/
#subTab a {float:none;}
/* End IE5-Mac hack */
#subTab a:hover {
  color:#003;
  }
#subTab #selected {
  background-image:url("subLeft_on.gif");
  }
#subTab #selected a {
  background-image:url("subRight_on.gif");
  color:#333;
  padding-bottom:5px;
  }



/* Main 
----------------------------------------------- */
.spacer {
	float:left;
	width:100%;
	height:5px;
	background: transparent;
	font: 1px/2px sans-serif;
	clear: both;
  }
#sidebar {
	float:left;
	width:203px;
	padding:0;
	font: 11px/15px Verdana, Helvetica, Arial, sans-serif;
	color: #000;
	margin:0;
	z-index:100;
	clear: both;
  }
#sidebarText {
	margin:40px 0 0 13px;
	padding:20px 10px 10px 10px;
	background: transparent url(/css/ccas_yellowbar2.png) top left no-repeat;
}
#sidebar nav {margin-top:0;}

#sidebar p {
	padding: 6px;
 }
.date, .inline {
 font-weight:bold;
 color:#006666;
 }
#sidebar h2 {
	font: normal 17px/20px "Palatino Linotype", Palatino, serif;
	color:#003399;
	padding:14px 0 0 0;
	width:165px;
	clear: none;
 }
#sidebar h3 {
	margin:6px;
}
#main {
	float:right;
	width:691px;
	padding:0 20px 90px 0;
	background: transparent;
	font: 11px/15px Verdana, Helvetica, Arial, sans-serif;
	color: #000;
	margin: 0;
	z-index: 50;
 }
#zoomcontent {
 float:left;
 width:510px;
 background: transparent;
 font: 11px/15px Verdana, Helvetica, Arial, sans-serif;
 padding: 0;
 margin: 5px 0 30px 25px;


 /* unhack ie5/win */
text-align: left;
}
#heading h1 {
	font: normal 36px/42px "Palatino Linotype", Palatino, serif;
	color:#FFF;
	margin:0;
	padding:10px;
	letter-spacing: 0px;
	}
#main h2,
#gallerycontent h2,
#zoomcontent h2 {
 font: 20px/28px "Palatino Linotype", Palatino, serif;
 color: #6F0445;
 padding: 5px 10px 0 0;
 width:100%;
 clear: none;
 }

h3 {
 margin: 0 6px 3px 0;
 font: 14px/18px Verdana, Arial, Helvetica, sans-serif;
 color:#003366;
  }
#main p {
  margin: 0 6px 15px 0;
  }
#main ul {
  margin: 5px 10px 15px 25px;
  }
#main ul li {
  list-style: square;
  list-style-image: url(bullet.gif);
  }


/* Navigation
-----------------------------------------------*/
#nav {
	float: left; /* prevent ie/win bug (white line underneath a:hover) */
	width: 202px;
	margin: 0;
	padding: 0;
	border-bottom: none;
 }
#nav ul {
 list-style: none;
 padding: 0px;
 margin: 0px;
 border-bottom: none;
 }
#nav ul ul li {
 margin: 0;
/* border-top: 1px #cccccc solid;*/
 border-bottom: 1px #014d7d solid;
 padding:0;
 }
#nav ul ul li a {
	font: normal 11px verdana, arial, sans-serif;
	display: block;
	margin:0;
	padding: 4px 8px 4px 24px;
	/* border-left: 20px #8BACCD solid;*/
 text-decoration: none;
	text-align: left;
	color: #003366;
	/* ie5/win box model hack */
 width: 180px;
	voice-family: "\"}\"";
	voice-family:inherit;
	width: 170px;
}
/* unhack ie5/win */
#nav>li a {
width: 164px;
border-bottom: 1px #FFF solid;
}
#nav a {
text-decoration: none;
}
#nav a:hover {
color: #003366;
background: transparent url(navbk2.png) repeat-y;
}

#nav li {position: relative;}
#nav ul ul ul {
 position: absolute;
 top: 0;
 left: 100%;
 width: 100%;
 background: transparent url(navsubbk.png) repeat-y left top;
 }
div#nav ul ul ul,
div#nav ul ul li:hover ul ul {
	display: none;
	border:1px solid #3C7096;
	width:200px;
	margin:0;
	z-index:2;
}
div#nav ul ul li:hover ul,
div#nav ul ul ul li:hover ul {
	display: block;
	border:1px solid #3C7096;
	width:200px;
	margin:0;
	z-index:2;

}

#nav ul ul ul a {
	border:0 none;
	padding-left:16px;
	width:177px;
	}
#nav ul ul ul li a:hover {
 background: transparent url(navsubbk2.png) repeat-y;
}

/* -- Styling for Expand -- */
#nav a.x, #nav a.x:visited{
 background: transparent url(/css/navexpand.png) no-repeat right center;
}
#nav a.x:hover {
 background: transparent url(/css/navbk2.png) repeat-y 0 0;
}
#nav a.x:active {
color:#c00;
}
/* -- Styling for Portals -- */
#nav a.s, #nav a.s:visited{
 background: transparent url(/css/navbk_s.png) repeat-y 0 0;
}
#nav a.s:hover {
 background: transparent url(/css/navbk_s2.png) repeat-y 0 0;
}
/*---------- --  footer -- */
#footerwrapper {
	display:block;
	position:relative;
	height:35px;
	width:940px;
	margin:-35px auto -20px auto;
	padding:0 34px;
 }
 #footer {
	width:940px;
	height:24px;
	text-align:left;
	padding: 10px 0 0 0;
	background: url(/css/footer.png) repeat-x 0 0;
	border-top:1px solid #003e74;
 } 
#footer p ul {
	font: 10px/10px Verdana, Helvetica, Arial, sans-serif; 
	color:#002447;
	padding: 0;
	margin:0;
}
#footer ul {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
}
#footer li  {
	float: left;
	border-left: 1px #D8E9F6 solid;
	margin: 0;
	font: 9px/10px Verdana, Helvetica, Arial, sans-serif;
	color:#002447;
	padding: 0 24px;
}
#footer li.first  {
	border-left: none;
	margin-left: 0;
	padding-top: 0;
	width: 180px;
}

/* photo gallery styling
------------------*/
div.searchresults {
border-top: 1px #A7D4FF solid;
border-bottom: 1px #A7D4FF solid;
padding: 3px;
margin: 3px 0 8px 0;
font: 11px/16px Verdana, Helvetica, Arial, sans-serif; 
color:#002447;
}
div.searchresults a,
div.searchresults a:visited,
div.searchresults a:active {
color: #009900;
text-decoration:none;
border-bottom: none;
}

div.searchleft {
  float: left;
  }
div.searchright {
	float: right;
	font-size: 10px;
	color: #b31b1b;
  }

/* highlight box
-----------------*/
.dialog {
	width:212px;
	color:#002447;
	float:right;
	margin:10px 0 20px 15px;
	clear:both;
}
.dialog .hd .c,
.dialog .ft .c {
font-size:1px; /* ensure minimum height */
height:13px;
}
.dialog .ft .c {height:14px;}
.dialog .hd {background:url(box-tl.png) no-repeat 0px 0px;}
.dialog .hd .c {background: url(box-tr.png) no-repeat right 0px;}
.dialog .bd {background: url(box-ml.png) repeat-y 0px 0px;}
.dialog .bd .c {background: url(box-mr.png) repeat-y right 0px;}

.dialog .bd .c .s {
margin:0px 8px 0px 4px;
background:#FFFFFF url(box-ms.png) repeat-x 0px 0px;
padding:12px;
}
.dialog .ft {background:transparent url(box-bl.png) no-repeat 0px 0px;}
.dialog .ft .c {background:transparent url(box-br.png) no-repeat right 0px;}

.dialog h2 {padding-top:0;}

.dialog h3 {
padding:1px 2px 2px 2px;
margin: 20px 0px 9px -8px;
font: 13px/16px Verdana, Helvetica, Arial, sans-serif;
color:#002447;
border: 1px #669933 solid;
border-top: 1px #99ff00 solid;
border-left: 1px #99ff00 solid;
}
.dialog p {
margin:0.5em 0px 0px 0px;
padding:0px !important;
font: 11px/15px Verdana, Helvetica, Arial, sans-serif; ;
}

#page {
	width: 940px;
	margin:0;
}
#sidebar ul {
	padding: 0;
}
#sidebarText ul {
	padding:10px 10px 0 20px;
}
#main #rightcol {
	width:170px;
	float:right;
}
#main #homeintro,
#main #hometext,
#main #secondaryintro,
#main #secondarytext {
	float: left;
	padding:0 0 0 20px;
	width:460px;
}
#homeintro p {
	font: normal 18px/26px "Palatino Linotype", "Book Antiqua", Palatino, serif;
	color: #0D3E74;
}

#hometext p {font: normal 11px/16px Verdana, Geneva, sans-serif}

#secondaryintro p {
	font: normal 18px/26px "Palatino Linotype", "Book Antiqua", Palatino, serif;
	color: #0D3E74;
	}

#main #quickbox_wrapper {
	float:left;
	}
#main #homeboxtop {
	position:relative;
	left:0;
	background: transparent url(/css/ccas_yellowbar3.png) bottom left no-repeat;
	margin: 30px 0 0 20px;
	height:20px;
	width:460px;
}
#main #homeboxes {
	position:relative;
	left:0;
	background: #f9f9fa url(/css/gradientbk.png) repeat-x bottom left;
	padding: 0px;
	width: 450px;
	margin: 0 0 10px 20px;
	border-top: 1px solid #CCC;
}
div.boxrow {margin:0 5px 0 10px;}

div.smartbox {
	float:left;
	padding:6px 0;
}

div.smartbox h3 {
	margin: 10px 5px 10px 0;
	border-bottom: 2px solid #CCC;
	}

#main div.smartbox {margin: 0;}

#topbanner {
	width:940px;
	height:105px;
	background-color:#fff8ea;
	border-bottom: 1px solid #002e5f;
}
#homepano {
	padding: 0 0 0 25px;
}
#mainbody {
	padding: 0;
	margin: 0 0 25px 25px;
	width: 915px;
}
#homepano #homenav {
	height: 345px;
	width: 200px;
}
#homepano #homephotos {
	float: right;
	padding:0px;
}
#homepano #heading {
	float: right;
	padding:0px;
	width:711px;
	height:100px;
	background: white url(/css/ccas_bluebar1.png) bottom left no-repeat;
}
#main #heading {
	float: right;
	padding:0px;
	width:691px;
	height:100px;
	background: white url(/css/ccas_bluebar1.png) bottom left no-repeat;
	margin-bottom:22px;
}
#header #searchbox {
	float: right;
	height: 82px;
	width: 300px;
	overflow: hidden;
}
#homeboxes #boxrow {
	padding-left: 10px;
}
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
#secondnav {
	background: transparent url(/css/navbk.png) repeat-y;
}
#thirdcolumn {
	position:absolute;
	right:55px;
	top:230px;
	width:170px;
}
#thirdcolumn p {
	font-size:10px;
}
