/* CPHA local formatting:  /styles/CPHA.css */

.outdent {margin-left:  15px;
   text-indent:  -15px;}

/* --- Underline links (since Opera doesn't!) ---  */

a {text-decoration: underline;
}

/* ---  heading formats that may be used differently than normal on the website ---  */

.h2-like-h1 {
   background: #f1e4da
               url('http://www.cpha.ca/images/h1-icon2.gif')
               12px 5px no-repeat;
   border-bottom:1px solid #c0b9b8;
   color:#8b5c29;
   font-size:12px;
   padding:3px 0 2px 32px;
   margin-top:0;}

.like-h2 {
	color: #666666;
	font-size: 17px;
}

.like-h3 {
	color: #573A1A;
	font-size: 15px;
}

.like-link {
  color: rgb(139, 69, 19);
}

.like-link-bold {
  color: rgb(139, 69, 19);
  font-weight: bold;
}

/* ---  indentation ---  */

.indent1 {
  margin-left: 40px;
}
.indent2 {
  margin-left: 80px;
}

/* ---  heavier line ---  */

.hr-heavy {border: 0;
   color: #777777;
   height: 3px;
   margin: 5px 0;
   padding: 0;}

/* ---  footnotes ---  */
div.footnote {
clear: both;
position: relative;
margin: 5px 0 0 0;
padding: 0;
}

div.num {
position: absolute;
top: 0;
left: 0;
margin: 0;
padding: 0;
text-align: right;
width: 30px;
vertical-align: top;
}

div.note {
padding: 0 0 0 35px;
text-align: left;
vertical-align: top;
}
   
/*  --- CPHA standard image handling --- */

/* last three defs are for images stacked together on one side */

.caption {font-size: 8pt;
}

.standard-image-centre-no-caption {margin: 5px;
   padding: 10px 10px 15px 10px;
/* background-color: rgb(242, 242, 242); */
   font-size: 8pt;
   text-align: center;}

.standard-image-centre {margin: 5px;
/* padding: 10px; */
/* background-color: rgb(242, 242, 242); */
   font-size: 8pt;
   text-align: left;}

.standard-image-right {margin: 0 0 5px 5px;
/* padding: 10px; */
   float: right;
/* background-color: rgb(242, 242, 242); */
   font-size: 8pt;}

.standard-image-right-no-caption {margin: 0 0 5px 5px;
   padding: 10px 10px 15px 10px;
   float: right;
/* background-color: rgb(242, 242, 242); */
   font-size: 8pt;}

.standard-image-left {margin: 0 5px 5px 0;
/* padding: 10px; */
   float: left;
/* background-color: rgb(242, 242, 242); */
   font-size: 8pt;}

.standard-image-left-no-caption {margin: 0 5px 5px 0;
/* padding: 10px 10px 15px 10px; */
   float: left;
/* background-color: rgb(242, 242, 242); */
   font-size: 8pt;}

.magnify-left {margin: 4px 5px 0 0;
   padding: 0;
   font-size: 8pt;}

.magnify-right {margin: 4px 0 0 5px;
   padding: 0;
   font-size: 8pt;}

.magnify-image-right {border: none;
   margin-top: 2px;
   padding-top: 0;}

.caption-italics {
  font-size: 8pt;
  font-style: italic;}

.standard-set-right {margin: 0 0 0 5px;
   float: right;
   font-size: 8pt;}

.standard-set-left {margin: 0 5px 0 0;
   float: left;
   font-size: 8pt;}

.standard-image-in-set {padding: 10px;
/* background-color: rgb(242, 242, 242); */
   margin: 0 0 5px 0 !important;
   font-size: 8pt;}

/*  --- sidebars and centred highlight boxes --- */

.highlight-right {float: right;
   width: 235px;
   margin: 0 0 10px 10px;
   padding: 0;
   border: 2px rgb(91, 64, 36) solid;}

.highlight-left {float: left;
   width: 235px;
   background-color: rgb(242, 242, 242);
   margin: 0 10px 10px 0;
   padding: 0;
   border: 2px rgb(91, 64, 36) solid;}

.highlight-head {font-weight: bold;
   background-color: #99ccff !important;
   text-align: center;
   margin: 0;
   padding: 2px 5px;}

.highlight-body {background-color: rgb(242, 242, 242);
   margin: 0;
   padding: 1em 5px 2px 5px;}

.highlight-body-no-head {background-color: rgb(242, 242, 242);
   margin: 0;
   padding: 2px 5px;}

.highlight-box div {margin: 10px 0;
   padding: 0;
   text-align: center;}

.highlight-box table {border-collapse: collapse;}

.highlight-box td {border: 2px rgb(91, 64, 36) solid;
   margin: 10px 0px;
   padding: 10px;
   background-color: rgb(242, 242, 242);}

/* full-width highlight box */

.highlight-box-full {border: 2px rgb(91, 64, 36) solid;
   margin: 10px 0;
   padding: 10px;
   background-color: rgb(242, 242, 242);}

/* callout box - indented centred box (contents not centered) */
/*   e.g. http://www.cpha.ca/en/activities/xeno/forum.aspx    */

div.callout {margin: 10px 30px;
   padding: 10px;
   background-color: rgb(242, 242, 242);
   border: 2px rgb(91, 64, 36) solid;}

/*  --- FAQ formatting --- */

#FAQ .QandA,
#FAQ .faq {font-size: 13pt;
   font-weight: bold;
   color: #666;}

/*  --- for members portal / EventsPro --- */

#content-tabs-plain {padding: 14px 0 0 667px;
   background: url('http://www.cpha.ca/images/h1-icon2.gif')
      top left no-repeat;
   height: 14px;}

#content-tabs-plain p {font-family: Arial, Helvetica, sans-serif;
   text-decoration: none;
   font-size: 10px;
   display: block;
   height: 13px;
   width: 83px;}

#menu {height: 29px;
   border-style: solid;
   border-color: #ffffff;
   border-width: 1px 0;}

#menu .member-title {
   height: 29px;
   width: 100%;
   line-height: 29px;
   vertical-align: middle;
   display: block;
   text-decoration: none;
   color: #ffffff;
   text-align: center;
   background: #523618;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 16px;}

#outside {max-width: 768px;}

/*  --- CPHA resolutions pages - hanging outdent --- */

.resolution p {margin: 4px 0 0 36px;
   text-indent: -36px;
   padding: 0;}

/*  --- Health literacy resources formatting --- */

#resources {width: 98%;}
p#resources {margin: 0 0 1em 0;
   padding: 0;}

.citate {margin: 0;
   padding: 0 0 0 40px;}

/* ---  CJPH formatting - no longer required?  --- */

.CJPH_Abstract {
   padding: 1em 0 1em 20px;}

.formfield {
   color: rgb(183,91,37);}

select {color: rgb(183,91,37);}

/* ---  standard table formatting ------------ */

/*
table {margin: 2px auto 0;}
td {text-align: center; vertical-align: top; padding: 1px 3px;}
td.left {text-align: left;}
td.heading {font-weight: bold; text-align: center; vertical-align: bottom;}
table, td {border: 1px solid #8B5C29; border-collapse: collapse}
td.no-bottom-border {border-bottom: none;}
td.no-horizontal-borders {border-top: none; border-bottom: none;}
*/

/* ---  CPHA publication sales formatting  --- */

.PubsTitle {
   font-weight: bold;
   margin-top: 1em;}

/* ---  job postings table  --- */

.out {
   padding: 7px 3px 3px 3px; margin: 0;
   vertical-align: top;}

.out.date {
   white-space: nowrap;}


#page_2650 td {
   padding: 7px 3px 3px 3px; margin: 0;
   vertical-align: top;}

#page_2650 .date {
   white-space: nowrap;}

/* webmaster's notes */

.webmaster {
   background-color: yellow;
   margin: 0;
   padding: 0 0 1em 0;}

/*  ---- left navigation ---- */

#nav ul.depth_0 li ul li a:hover,
#nav ul.depth_0 li ul.depth_1 li a:hover,
#nav ul.depth_0 li ul.depth_1 li ul.depth_2 li a:hover
  {background-image: none;
   background-color: #fff !important;}

/*  ---- left subnavigation                       ---- */
/*   e.g. http://www.cpha.ca/en/activities/xeno.aspx   */

#subnav {width: 151px;
   margin: 0 -5px 0 -10px;
   padding: 0 0 2px;
   border: 2px #5A471B !important;
   border-style: solid none !important;}

#subnav ul li,
#subnav ul li a,
#subnav ul li ul li,
#subnav ul li ul li a,
#subnav ul li ul li ul li,
#subnav ul li ul li ul li a
  {display: block;
   font-size: 11px !important;
   font-family: Arial, Helvetica, sans-serif;}

#nav div#subnav ul.depth_1
  {display: block;
   padding: 0 0 0 25px;
   margin: -2px 0 0;}

#nav div#subnav ul.depth_1 li ul.depth_2
  {display: block;
   padding: 0 0 0 10px;
   margin: 0;}

#subnav ul.depth_0 li,
#subnav ul.depth_0 li ul.depth_1 li,
#subnav ul.depth_0 li ul.depth_1 li ul.depth_2 li
  {display: block;
   padding: 0;
   margin: 3px 0;}

#subnav ul.depth_0 li ul.depth_1 li a,
#subnav ul.depth_0 li ul.depth_1 li ul.depth_2 li a
  {display: block;
   padding: 0;
   margin: 0;}

#subnav ul.depth_0 li ul li.newgroup a
  {border-top: solid 1px #c2a27a !important;
   border-style: solid none none;}

/*  --- decade and page navigation 
   (e.g. milestones: http://resources.cpha.ca/CPHA/ThisIsPublicHealth/milestones/pages.php) ---  */

div#PageLinks, div#decades
  {text-align: right;
    width: 100%;}

/*  --- images used as links do not have underlines ---  */

a img{text-decoration: none;}

/*  --- Alternate list styles  --- */

ol.roman, li.roman {list-style-type: upper-roman;}

.nospace {margin-top: 0; padding-top: 0;
   margin-bottom: 0; padding-bottom: 0;}

/* ---  buttons with look of H1 page heading
        button1 is for a single button in a row, usually in a <div>
        button2 is for 2 or more buttons in a row, each usually within a <td>  --- */

.button1, .button2 {border: 1px solid rgb(192, 185, 184);
   margin: 15px 0;
   padding: 3px 0 3px 12px;
   font-weight: bold;
   background: rgb(241, 228, 218) url('http://www.cpha.ca/images/h1-icon2.gif')
               no-repeat 5px 5px;
   color: rgb(139, 92, 41);}
   
a.button1:link, a.button1:visited {text-decoration: none !important;
   color: rgb(139, 92, 41) !important;
   font-weight: bold;
   font-size: 12px;}
   
.button2 {padding: 3px 3px 3px 12px;}

.buttonlink:link, .buttonlink:visited {text-decoration: none !important;
   color: rgb(139, 92, 41) !important;
   font-size: 12px;}

/* ---  forms formatting - complements the button formatting above  --- */

#cphaform input, textarea, select {border: 1px solid rgb(192, 185, 184);}

#cphaform.button1 {background: rgb(241, 228, 218)
               url('http://www.cpha.ca/images/h1-icon2.gif') no-repeat 2px 2px
               !important;
   margin: 3px 0;}

#cphaform.selected {display: block; background-color: rgb(241, 228, 218) !important;}

/* ---  attempt to better handle superscripts ---  */

sup {font-size: 80%;}

/* ---  other conferences ---  */
/*
#other-confs h4, #other-confs p ul {padding: 0;
   margin: 0;}

#other-confs p {margin: 0pt; padding: 0 0 1em 0;}

#other-confs p ul li {padding: 0 0 1em 0;
   margin: -1em 0 0 0;}
*/

#other-confs h4 {padding: 1em 0 0 0;
   margin: 0;}
   
#other-confs h4, #other-confs h4 a, #other-confs h4 a sup {color:#573A1A;}

#other-confs h4:first-child {padding-top: 0 !important;}

#other-confs p, #other-confs p ul, #other-confs p ul li {margin-top: 0pt;
   margin-bottom: 0pt;
   padding: 0;}

/* --- reference lists --------------------------------------------- */

p.ref {margin-top: 4px;}


/* --- footnotes --------------------------------------------- */
/*   e.g. http://www.cpha.ca/en/activities/xeno/legal-5.aspx   */

div.footnote-separator {
  clear: both;
  width: 150px;
  border-bottom: 1px solid #ccc;
}

div.footnote {
  clear: both;
}

td.footnote-number {
  width: 30px;
  text-align: right;
  vertical-align: top;
  padding: 2px;
  font-size: 80%;
}

td.footnote-text {
  padding: 2px;
}

/* --- home page -- main column ------------------------------ */

div.dotted-rule {
  clear: both;
  border-top: 1px dotted rgb(211,173,141);
}

/* --- home page -- right column ----------------------------- */

#home-right div.heading {
  background: url('http://www.cpha.ca/images/blue-bar.jpg') no-repeat 0 7px;
  margin-top: -7px;
  text-align: center;
  vertical-align: middle;
  padding: 7px 0;
  line-height: 30px;
  height: 31px;
  min-height: 31px;
  text-decoration: none !important;
}

#home-right div.heading, #home-right div.heading span.headingtext,
#home-right div.heading span.headingtext a {
  color: white !important;
  font-size: 20px;
  font-family: Helvetica, Arial, sans-serif;
  text-decoration: none !important;
}

#home-right div.heading span.headingtext a:hover {
  color: rgb(139, 69, 19) !important;
  font-size: 20px;
  font-family: Helvetica, Arial, sans-serif;
  text-decoration: none !important;
}

#home-right .h2-like-h1 {
   background: #f1e4da
               url('http://www.cpha.ca/images/h1-icon2.gif')
               6px 5px no-repeat;
   border-bottom:1px solid #c0b9b8;
   color:#8b5c29;
   font-size:12px;
   padding:3px 0 2px 24px;
   margin: 5px 0 0 0;
}

#home-right .h2-like-h1.first {
   margin-top: 0;
}

#home-right .mapleleaf {
   border-top:1px solid #c0b9b8;
/*   color: rgb(162, 187, 234); */
   color: #858992;
   font-size:13px;
   padding:3px 0 2px 0;
   margin: 5px 0 0 0;
}

#home-right .mapleleaf.first {
   margin-top: 0;
   border-top: none;
}

#home-right ul {
   margin: 0 0 10px;
   padding: 0 0 0 18px;
}

#home-right ul li {
   margin: 0;
   padding: 3px 0 0 0;
}

#home-right ul li a {
   text-decoration: none;
}

#home-right ul li a:hover {
   text-decoration: underline;
}

/* --- Contact us pages -------------------------------------- */

div#contacts div.unit {
  margin-top: 1em;
  font-weight: bold;
}

div#contacts div.person {
  clear: both;
  margin-left: 20px;
}

div#contacts div.person div.more {
  font-size: 10px;
}

div#contacts div.details {
  float: left;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
}

/* --- Project theme pages ----------------------------------- */

div#projects li {margin-bottom: 1em !important;}
div#projects li ul li {margin-bottom: 3px !important;}
div#projects li span.title {color: rgb(139, 92, 41); font-weight: bold;}
div#projects h2 {margin-top: 1em;}


/* --- CPHA Health Digest online ----------------------------- */

div#digest-toc    {margin-bottom: 1em;}
div#digest-toc p  {font-weight: bold;}
div#digest-toc li {margin-top: 4px !important; padding-top: 0;}
div.digest-sidebar {margin: 20px 0pt 1em 10px; padding: 10px; width: 200px; background-color: rgb(215, 233, 247); float: right;}

/* --- media pages ------------------------------------------- */

div#media div.nav {float: right;
  border: #888888 2px solid;
  padding: 10px; width: 90px;
}

div#media div.nav ul {
  padding-left: 10px;
}

div#media div.year {
  position: relative;
  color: #888888;
  font: bold 17px Arial;
  border-bottom: 3px #E0E3E3 solid;
  padding: 15px 0 0;
  clear: both;
}

div#media div.year.first {
  padding-top: 5px;
}

div#media div.month {
  color: #888888;
  position: relative;
  font: bold 14px Arial;
  padding: 7px 0 0;
}

div#media div.image {
  float: right;
  width: 140px;
  padding: 0 0 5px 10px;
  clear: both;
}

div#media div.item {
  background: white url('/images/gray-dot2.jpg') no-repeat 5px 12px;
  min-height: 10px;
  padding: 7px 0 7px 15px;
  font-family: verdana;
}

div#media div.item.sup {
  background-position: 5px 15px;
}

div#media div.item span.date {
  font-weight: bold;
}

/* --- forms ------------------------------------------------- */

input.shaded, textarea.shaded {
	border:none;
	color:#999;
	padding:4px 2px 2px 4px;
	font-size: 10px;
	background:url('/images/textfield-bg.gif') top left no-repeat;
}

select.shaded {
	border:1px solid #ccc;
	color:#999999;
	padding:0;
}
input.button {
	color:#fff;
	font-weight:bold;
	background-color:#eee;
	padding:3px 5px;
	cursor:pointer;
	background:url('/images/button-bg.gif') top repeat-x;
	border:none;
}	

.label {
	font-weight:bold;
	width:150px;
}

input.fullwidth {
	width:200px;
}
select.fullwidth {
	width:200px;
}

textarea.fullwidth {
	width:400px;
	height:100px;
}

form#contactform {
	margin-top:10px;
}

form#contactform .row {
	margin-bottom:5px; 
}

form#contactform input.shaded, form#contactform textarea.shaded {
	border-right:1px solid #ddd; 
	border-bottom:1px solid #ddd; 
}

form#contactform input.button {
	border:none;
}

/* --- History/centenary -- decades landing page ------------- */

div.decade {
  width: 230px;
  float: left;
  padding: 25px 0 25px 59px;
}

div.decade div.img {
  float: left;
  padding: 0 20px 0 0;
}

div.decade div.text {
  padding: 20px 0 0;
}

/* --- FIDDLES  --  Probably won't be required the next time - */

/* --- virtual expo - map overlays left navigation ----------- */

.fiddle-expo {
  width: 740px;
  height: 705px;
  border: none;
  margin-left: -161px;  /* the real fiddle */
  margin-bottom: -10px;  /* the real fiddle */
  background-color: white;  /* the real fiddle */
  padding: 10px 0;  /* the real fiddle */
}
