/* Start of CMSMS style sheet 'thealth' */
Layout: Left sidebar + 2 column

'/*****************
browsers interpret margin and padding a little differently,
we''ll remove all default padding and margins and
set them later on
******************/

* {
margin:0;
padding:0;
}

div.NewsSummarySummary img{
margin: 7px !important;
}

/* Set initial font styles */


body {
text-align: left;
font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
font-size: 80%;
line-height: 1em;
}

/* set font size for all divs,
this overrides some body rules */ 


div {
font-size: 1em;
}

img {
border: 0;
}

/*
default link styles
*/

/* set all links to have underline and bluish color */
a,
a:link,
a:active {
text-decoration: underline;
background-color: inherit;
color: #284e90; 
}

a:visited {
text-decoration: underline;
background-color: inherit;
color: #284e90;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
text-decoration: none;
background-color: #C3D4DF;
color: #284e90;
}

/*****************
basic layout 
*****************/

body {
background-color: #ccd;
margin:1em;    /* gives some air for the pagewrapper */
}

/* /////////////////////// Used for shadow effect /////////////// */
.blur{
background-color: #aaa; /*shadow color*/
color: inherit;
margin-left: auto;
margin-right: auto;
width: 762px;
}
.shadow{
background-color: #888; /*shadow color*/
margin-left: auto;
margin-right: auto;
width: 758px;
}

/*/////////////////////////////////////// end shadow //////////////*/


/* center wrapper, min max width */
div#pagewrapper {
border: 1px solid black;
width: 750px;
margin-left: auto;
margin-right: auto;
background-color: #fff;
color: #333;
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/

div#header {
margin-left: 10px;
margin-right: 10px;
height: 90px;    /* adjust according your image size */
background-color: #fff;
}

div#header h1 a {
/* you can set your own image here */
background: url(uploads/images/newmasthead.jpg) no-repeat bottom center;
background-color: transparent; 
display: block;
height: 90px;
/* adjust according your image size */
text-indent: -999em;  /* this hides the text */
text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
/* add a slogan under the header */

div#slogan{
margin: 0px 10px 0px 10px;
text-align: center;
line-height: 1.2em;
border-top: 1px solid #000;
border-bottom: 1px solid #000;
}

/* //position for the search box ////*/

div#search {
text-align: center;
margin-bottom: 10px; 
}

/*////////size the search box ////*/

#cntnt01searchinput{
background: #fee;
width: 220px;
font-size: 1.1em;
height: 1.3em;
}

div.breadcrumbs {
padding: 1em 0 1.2em 0;
font-size: 90%; 
margin: 0 1em;
border-bottom: 1px solid #000;  
}

div#content {
margin: 1.5em auto 2em 0;   /* some air above and under menu and content */
}

div#main {
margin-left: 177px; 
margin-right:140px;
padding: 0px 8px 0px 8px;
border-right: solid 1px red;
border-left: solid 1px red;
}

div#main img{margin: 10px}

div#sidebar {
float: left;
width: 164px;
display: inline; /* FIX IE double margin bug */
margin-left: 0;
}

/* //////// style the buttonbar ////// */
div#buttonbar{
margin-left: 12px;
text-align: center;
}
div#buttonbar img{
width: 120px;
margin: 5px auto 5px auto;
}

div#buttonbar a:hover{
background: transparent;
}

/*////// style the adblock ///// */

div#adblock{
margin-top: 5px;
text-align: center;
}

div#adblock img{
margin: 5px auto 5px auto;  
}

div#adblock a:hover{
background: transparent;
}

div#rightside {
float: right;
width: 130px;
display: inline;  /* FIX IE double margin bug */
margin-right: 5px;
}

div#footer {
clear: both;       /* keep footer below content and menu */
color: #000;
}

div#footer p {
font-size: 0.8em;
padding: 1.5em;
text-align: center;
margin: 0;
}

div#footer p a {  
color: #000;
}  

div.hr{
height: 1px;
padding: 1em;
border-bottom: 1px dotted black;
margin: 1em;
}
p.hr{height: 1px; line-height: 1px; border-bottom: 1px black solid; margin: 8px}

div.left49 {
width: 49%;
}

div.right49 {
float: right;
width: 49%;
text-align: right;
}


/******^CONTENT STYLING^*****/

div#content {
}

/* HEADINGS */
div#content h1 {
font-size: 2em; /* font size for h1 */
line-height: 1em;
margin: 0;
}

div#content h2 {
color: #294B5F; 
font-size: 1.5em; 
text-align: left;
padding-left: 0.5em;
padding-bottom: 1px;
line-height: 1.5em;
margin: 0 0 0.5em 0;
}

div#content h3 {
color: #294B5F;
font-size: 1.3em;
line-height: 1.3em;
margin: 0 0 0.5em 0;
}

div#content h4{
color: #294B5F;
font-size: 1.2em;
line-height: 1.3em;
margin: 0 0 0.25em 0;
}

div#content h5{
color: #294B5F;
font-size: 1.1em;
line-height: 1.3em;
margin: 0 0 0.25em 0;
}

/* ///// style the department header links ///// */

div.department h3 a{
text-decoration: none;
color: #d53734;
}

div.department h3 a:hover{
color: #b33112;
background-color: transparent;
}

h6 {   
color: #294B5F;
font-size: 1em;
line-height: 1.3em;
margin: 0 0 0.25em 0;
}

/* END HEADINGS */

/* TEXT */
p {
font-size: 1em;
/* margin: 0 0 1.5em 0; /* some air around p elements */
line-height: 1.4em;
padding: 0;
}

address{
font-weight: bold;
margin-top: 3px;
border-top: 1px black solid;
}

blockquote {
margin: 0 3em;
}

strong, b {
/* explicit setting for these */
font-weight: bold;
}

em, i {
/* explicit setting for these */
font-style:italic;
}

/* END TEXT */



/*IMAGES */

.picleft {
float: left;
margin: 10px;
display: inline;
}

.picright {
float: right;
margin: 10px;
display: inline; 
}

/*style the front page content */ 
  
 div#first h2{ 
 display: block; 
 width: 70%; 
 margin: 10px auto 10px auto; 
 background: #284e90; 
 border: 1px solid black; 
 color: white; 
 text-align: center; 
 font-size: 1.8em; 
 } 
  
 div#therest h2{ 
 display: block; 
 width: 60%; 
 margin: 10px auto 10px auto; 
 background: #d53734; 
 border: 1px solid black; 
 color: white; 
 text-align: center; 
 } 
  
 div.department h3{ 
 margin-left: 2em; 
 display: block;  
 background: #AFC3E9; 
 border: solid 1px black; 
 padding: 5px; 
 color: #d53734 !important; 
 text-align: center; 
 } 
  
 input#m5email, input#m5username{ 
 width: 110px; 
 }


/********************
MENU
*********************/

/*style the menu box */
#menu_vert {
   margin-left: 10px;
   padding-left: 0;
   background: url(uploads/images/menuback.gif);
   background-position: 100% 100%;
   height: 425px;
   width: 160px;
}

/* style the menu heading */

p#navhead {
   color: #284E90;
   padding: 1em 0em 0em 1em;
   font-style: oblique;
   font-weight: bold;
   font-size: 1.1em;
}

#menu_vert ul {
padding: 0;
margin-left: 5px;
}

#menu_vert li {
   display: block;
   list-style-type: none;
   line-height: 1.5em;
}

#menu_vert a{
   text-decoration:none; 
 
   text-transform: uppercase;
   font-weight: bold; 
   padding-left: 15px;
}

#menu_vert a:hover {
   text-decoration: underline;
   background-color: transparent;
}

#menu_vert a.currentpage{
 background: url(images/cms/arrow-right-active.gif) no-repeat 0 .3em; /*list-item style*/ 

cursor: default;
text-decoration: none;
}


/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #284e90;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #284e90; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #284e90;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */


/* add module news styles */


div#news {
   
}

div#news h2 {
   line-height: 2em;
   background: #fff;
}

.NewsSummary {
    padding: 0.5em 0.5em 1em; /* padding for the news article summary */
    margin: 0 0.5em 1em 0.5em; /* margin to the bottom of the news article summary */
    
}

.NewsSummaryPostdate {
  font-size: 90%;
  font-weight: bold;
 }

.NewsSummaryLink{ /* //////////////////////////// modified to use as a button */
  font-size: 1.7em;
  line-height: 1.2em;
  
}

.NewsSummaryLink a{ /* ////////////////////////////////modified to use as button */
    text-decoration: none;
    font-weight: bold; 
       
}

.NewsSummaryLink a:hover{
    text-decoration: underline;
    background: none;
}

.NewsSummaryCategory { /*//////////////////////////// modified to use as titlebar */
  display: block;
  line-height: 1.2em;
  width: 400px;  
  font-weight: bold;
  margin: 5px auto;
  font-size: 1.5em;
  font-style: oblique;
  color: #d23735;
  text-align: center;
 }

.NewsSummaryAuthor {
  font-style: italic;
  padding-bottom: 0.5em;
}

.NewsSummarySummary{
margin-top: 10px;
}

.NewsSummarySummary, .NewsSummaryContent {
  line-height: 140%;
 }

.NewsSummaryMorelink {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px black solid;
  }

#NewsPostDetailDate {
  font-size: 90%;
  margin-bottom: 5px;
  font-weight: bold;
  }

#NewsPostDetailSummary {
   line-height: 150%;
   }

#NewsPostDetailCategory {
  font-style: italic;
  border-top: 1px solid #ccc;
  margin-top: 0.5em;
  padding: 0.2em 0;
}

#NewsPostDetailContent {
  margin-bottom: 15px;
  line-height: 150%;
  }

#NewsPostDetailAuthor {

  padding-bottom: 1.5em;
  font-style: italic;
}


/* to add specific style to the below divs, uncomment them. */

/* 
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}
*/

/* style the subscribe box and form */

#m6email, #m6username{
width: 95%;
}

div#subscribe{
width: 90%;
padding: 5px;
background: #284e90;
border: 1px solid black;
margin: 10px auto;
}

div#subscribe h4{
color: white;
}

.nms_block{
border: 1px solid black;
background: #ddd;
padding: 5px;
margin-bottom: 15px;
}

.nms_message{
background: #eee;
border: 1px solid black;
padding: 5px;
}

div#subscribe a{
color: white;
font-weight: bold;
}

div#subscribe a:hover{

color: #f99;
}

.label{
display: block;
width: 100px;
text-align: right;
margin-right: 5px;
float: left;
}

/* Calendar */

/*
Example stylesheet for Calendar module

For using this "big"-class insert something like this in your page
or template;

{cms_module module='Calendar' table_id='big'}

*/



/* make all links red */
.calendar tr td a
{
  color: red;
}

/* highlight "today" for the small calendar */
.calendar-today
{
  font-weight: bold;
}

/* display the "upcominglist" as one line per entry (assuming table_id='cal-upcominglist') */
#cal-upcominglist .calendar-date-title
,#cal-upcominglist .calendar-summary-title
{
  display: none;
}

#cal-upcominglist h2
,#cal-upcominglist .calendar-date
,#cal-upcominglist .calendar-summary
{
  display: inline;
  margin-right: 5px;
}

/* tidy up text sizes for lists */
#cal-list h1, #cal-upcominglist h1
{
  color: red;
  font-size: 120%;
}
#cal-list h2, cal-upcominglist h2
{
  font-size: 110%;
}

/** large calendar rules (assuming table_id='big') **/
/* border on for #big */
#big{
  margin: 0px;
  border-collapse:    collapse;
  border: 1px solid black;
  margin-bottom: 15px;
}

/* nice squares for the #big table */
#big th
{
  border: 1px solid black;
  padding: 3px;
  width: 75px;
}

#big td {
  border: 1px solid black;
  vertical-align: top;
  padding: 3px;
  height: 75px;
  width: 75px;
}

/* format summaries nicely in #big */
#big ul
{
  margin: 0px;
  padding: 0px;
  padding-left: 5px;
}

#big li
{
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}

/* background colours for #big */
#big td
{
  background-color: silver;
}

#big .calendar-day
{
  background-color: #80ff80;
}

#big .calendar-today
{
  font-weight: normal;
  background-color: #8080ff;
}

.calendar-event .calendar-date-title,
.calendar-event .calendar-summary-title,
.calendar-event .calendar-details-title
{
  display: none;
}
/* End of 'thealth' */

