@media screen, print {
	body {
		background-color: #ffffff;
		margin:0;
		}
	table, td, tr{
		padding:0;
		margin:0;
		border:0;
		text-align: justify;
		}
	table table {
		font-size: 12px;
		}
	a {
		text-decoration: none;
		border: 0;
		border-bottom: 1.5px solid brown; /* dotted */
 		color: green;
		cursor: pointer;
		font-weight: bold;
		}
	a:visited {color: #00a000;}	
	img {
		border:0;
		}
	#container { /*Constrains everything to 850px, centers the page*/
		margin:0 auto 0 auto;
		font-family: Helvetica, sans-serif;
		font-weight:100;
		}
	#header { /*header*/
		height:150px;
		margin:0;
		background-repeat:no-repeat;
		}
	.hiddenpic {
		display: none;
		}
	#lightbox {
		position:absolute;
		width:100%;
		height:100%;
		background-color:#000;
		opacity:0.4;
		filter:alpha(opacity=40);
		z-index:5;
		display:none;
		}
		
	h1 {
		font-size:16pt;
		text-align:left;
		}
	h2 {
		font-size:14pt;
		text-align:left;
		}
	h3 {
		font-size:12pt;
		text-align:left;
		}
	h4 {
		font-size:10pt;
		text-align:left;
		}
		
		
	#lightboxcell {
		position:absolute;
		max-width:200px;
		max-height:200px;
		z-index:6;
		background-color:#fff;
		display:none;
		padding:10px;
		text-align:right;
		}
	#lbimg {
		max-height:200px;
		max-width:200px;
		padding-bottom:10px;
		}
	#lbclose {
		cursor:pointer;
		}
	#lbcaption {
		color: #AAAAAA;
		font-family:"Helvetica";
		}
	.lblink {
		cursor:pointer;
		}
		
		
/* Le premiere menu */		
	#topmenu { /*container for the upper menu and its buttons*/
		height:34px;
		}
	#topmenubuttons { /*container for the buttons*/
		height:34px;
		margin-left:50px;
		margin-right:0px;
		}
	.topmenubutton { /*styles for all the buttons*/
		height:34px;
		border:0;
		}
	
		
/* Le deuxieme menu */
	#subtopmenu { /*container and background for the lower menu*/
		height:35px;
		padding-left:50px;
		}
	#subtopmenubuttons { /*menu, text goes here*/
		height:35px;
		padding-left:10px;
		padding-right:0px;
		}
	#submenu {
		font-size:12px;
		text-align: justify;
		}
	#openclose {
		width:25px;
		padding-left:0px;
		cursor:pointer;
		}
/* login stuff */
	#loginbutton {
		height:35px;
		text-align:right;
		font-size:12px;
		padding-right:10px;
		}
	#loginform {
		height:35px;
		text-align:right;
		font-size:12px;
		vertical-align:middle;
		padding-right:10px;
		}
	#ieloginform {
		height:35px;
		text-align:left;
		font-size:12px;
		vertical-align:middle;
		padding-right:10px;
		}
	#formoflogin {
		vertical-align:middle;
		}
	#loginbox, #passbox {
		width:6em;
		}
/* submenu links */
	#hiddenmenu {
		display:none;
		}
/* Content */
	#maincontentbox { /*repeating background*/
		background-repeat:y;
		}
	#maincontent { /*main body of the page*/
		padding-top: 10px;
		padding-left: 50px;
		padding-right: 25px;
		vertical-align:top;
		font-size:12px;
		overflow:hidden;
		}
	#indextable { /*table in main page of postmarks etc */
		border:0;
		width:100%;
		}
	#indextable td {
		padding:8px;
		}
	#postmarktable { /*table in main page of postmarks etc */
		/* border:5px solid black;*/
		width:100%;
		}
	#postmarktable td, #postmarktable img {
		/* border:1px dotted black; */
		vertical-align: middle;
		text-align: center;
		margin: 0 auto;
		padding:8px;
		}
/* sidebar stuff */
	#sidebar { /*sidebar*/
		vertical-align: top;
		width:145px;
		padding-right:40px;
		padding-left:15px;
		padding-top:10px;
		font-size: 12px;
		text-align: left;
		}
	#hiddensidebar { /*hidden div to replace default content*/
		display:none;
		}
	#comm_srch, #whole_srch, #key_srch, .sidebarSelect {
		width:145px;
		}
	#county_select_ON, #county_select_NL, #county_select_NB, #county_select_NS, #county_select_PQ {
		display:none;
		}
/* IMCRSC specific */
	#city_select_BC, #city_select_AB, #city_select_ON, #city_select_NB, #city_select_NS, #city_select_PQ {
		display:none;
		}
	#city_select_PE, #city_select_NF, #city_select_SK, #city_select_MB {
		display:none;
		}


	#searchtable {
		width:100%;
		border:0;
		}
	#searchheaderrow {
		background-color: #D7CAB6;
		}
	.row2 {
		background-color: DEDDD4;
		}
/* Le formatting */
	p {
		text-align:justify;
		}
/* Footer */
	#footer { /*footer*/
		height:58px;
		font-size:9px;
		text-align:center;
		}

/* FAQ */
	.faq_section h4 { /*FAQ title block*/
		margin-left: 20px;
		cursor: pointer;
		}
	.faq_subsection { /*FAQ info block*/
		display: none;
		font-size: 12px;
		text-align: justify;
		margin-left: 20px;
		margin-right: 20px;
		}
	.noundy {
		border:0;
		}
/* Study Group Stuff */
	.highlightbox {
		font-size: 12px;
		text-align: center;
		margin-left: 9px;
		margin-right: 9px;
		border: 1px dashed black;
/*		outline-style: dashed;
		outline-color: black;
		outline-width: thin;	*/
		padding-top: 5px;
		padding-bottom: 5px;
		}

/*popup boxes*/
.tooltip{
	position: relative; /*this is the key*/
	z-index: 24;
	background-color: #dddddd;
	color: #6666cc;
	text-decoration: none;

	-webkit-transition: background-color .5s linear;
	}
.tooltip span.tipbox{
	padding: 5px;
	display: none;
	opacity: 0;
	border: 2px solid #777777;
	position: absolute;
	top: -2; left: 0;
	background-color: #cccccc; 
	overflow: hidden;
	  }
.tooltip span.tipbox td{
	color:#333333;
	font-size: 12px;
	}
.tooltip:active {
	background-color: #75835f;
	}
.tooltip:hover span.tipbox{ /*the span will display just on :hover state*/
	display: block;
	opacity: 1;
	}
.tooltip span.tipbox-machine{
	padding: 5px;
	display: none;
	opacity: 0;
	border: 2px solid #777777;
	position: absolute;
	top: -2; left: 0;
	background-color: #cccccc; 
	overflow: hidden;
	  }
.tooltip span.tipbox-machine td{
	color:#333333;
	font-size: 12px;
	}
.tooltip:hover span.tipbox-machine{ /*the span will display just on :hover state*/
	display: block;
	opacity: 1;
	}

}


@media print {
	.printHidden {
		visibility: hidden;
		}
	.screenOnly {
		display: none;
		}
	.printOnly {
	    font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; 
	    font-size: 60%; 
	    color: #999999;	
		}
	#copyright {
		align:center;
		}
}


@media screen {
	.printOnly {
		display: none;
		float: right;
		}
	.screenOnly { 
		}
}

