/* Start of CMSMS style sheet 'OceanlifeNews' */
#news {
  margin: 1em 0.5em 1em 0.5em;/* margin for the entire div surrounding the news list */
  border: 0px solid #000000;
  font-family: Arial, Helvetica, sans-serif;
  display: inline-block;
  float: right;
  clear: both;
  color: #ffffff;
}
/* div#news h2 {line-height: 2em; background: #fff;} */


#news a { 
 color: #ffffff;

}

#news a:link ,

.a:active {

   text-decoration: underline;

/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */

   background-color: inherit; 

   color: #ffffff; 

}

/* remove underline on hover and change color */

#news a:hover {

   text-decoration: none;

   color: #ffff00;

}



#news h2 {
  color: #000000;
  font-size: 1.5em;
  text-align: left;
  padding-left: 0.5em;
  padding-bottom: 1px;
  line-height: 2em;
  background-color: #D3D3D3;
  background-image: none;
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: 0% 0%;
/* set borders around header */
  border-bottom: 1px solid #000000;
  border-left: 0.5em solid #000000;
  line-height: 1.5em;
/* and some air under the border */
  margin: 0 0 0.5em 0;
}

.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 */
  border-bottom: 1px solid #003399;
}

.NewsSummaryPostdate {font-size: 90%; font-weight: bold; color: #000000}

.NewsSummaryLink a {font-weight: bold; padding-top: 0.2em; color: #FFFFFF;}
.NewsSummaryLink a:hover {color: #FFFF00}


.NewsSummaryCategory {font-style: italic; margin: 5px 0;}

.NewsSummaryAuthor {font-style: italic; padding-bottom: 0.5em;}

.NewsSummarySummary, .NewsSummaryContent {line-height: 140%;}

.NewsSummaryMorelink {padding-top: 0.5em;}

#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 {}

*/
/* End of 'Module: News' */
/* End of 'OceanlifeNews' */

