/* Start of CMSMS style sheet 'Module: News' */
div#news {
  margin: 2em 0 1em 1em;  /* margin for the entire div surrounding the news list */
  border: 1px solid #000; 
  background: #FFE9AF; 
}

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 */
    border-bottom: 1px solid #ccc; 
}

.NewsSummaryPostdate {
  font-size: 90%;
  font-weight: bold;
 }

.NewsSummaryLink {
    font-weight: bold;
    padding-top: 0.2em;
}

.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' */

/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* 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: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* 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: #18507C;
/* 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 */
/* End of 'Accessibility and cross-browser tools' */

/* Start of CMSMS style sheet 'Layout: Top menu + 2 columns' */
/*  SWN color notes:
  #33cccc:  The light blue that is an unvisited link 
  #339999: blue-green background on active links and menu mouseovers
  #000000: The background is mostly black 
  #ff0000: visited links are red
  #336699: pretty blue from quote container, much like our newsletter blue
  #800000: Maroon H3 headers that look like film strips
  #ffff99: Accent color for calendar dates and others
  --------------------------------
  Menu colors come from the menu stylesheet and inherit from link styles
  #003366: The dark blue background of menu items (like top of SWN logo)
  #33cccc: The light blue in links is also the light blue border around menus
  #339999: the blue green on active links is inherited by menus
  #cc0000: menu items that are "active" as you hover over other parts of the menu are red.  
    Might want to change this to match visited links, but visited links are thinner and probably 
	need the brighter red.  Brighter red may be too much in blocks.  
   Another good but not bright red is 993232 -  Maybe try that for blocks
*/

/* Note:  % padding on a div makes text inside jump on mouseover in IE 6.  Use ems or something instead.  */

/*****************
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;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Geneva, Verdana, Arial, Helvetica, sans-serif;
   font-size: 85.01%;
   line-height: 1.6;
   letter-spacing: .035em;
   word-spacing: .09em;
   background-color: #000000;
   color: #ffffff;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1.02em;

}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
   z-index: 0;
}

/*
if img is inside "p" we want to give it some padding automatically.
*/
img {
   margin: 5px 10px 5px 10px;
}

/*
But if image is in the header, we don't want any margin/padding.
*/
div#header img {
    margin: 0px;  
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
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: #33cccc;
   font-weight: bold;
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #ff0000;;                /* a different color can be used for visited links */
   font-weight: bold;

}


/* remove underline on hover and change color */
/* stop main gif from reloading and animating if hovered over in IE6 */

a:hover {
   text-decoration: underline;
   background-color: #339999;
   color: #ffffff;
   font-weight: bold;   
}

/*****************
basic layout 
*****************/
body {
   background-color: #000000;
   color: #ffffff;
   background: #000000 url(images/teeth.jpg) repeat-y 100% 0%;
   
   margin:3%; /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 1px solid black;
   margin: 0 auto;     /* this centers wrapper */
   max-width: 80em; /* IE wont understand these, so we will use javascript magick */
   min-width: 55em;
   background-color: #000000;;
   color: #ffffff;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 63px; /* adjust according your image size */
   background: #000000;         
}

div#header h1 {
/* you can set your own image here */
   background: #000000; 
   display: block; 
   height: 63px;             /* 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 */
}

div#search {
   float: right;
   width: 24em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;             /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   /* border-bottom: 1px dotted #000; */
}

div#content {
   margin: 1.5em auto 2em 0; /* some air above and under menu and content */
   background: #000000;   
}

div#main {
   margin-left: 28%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 2%; /* and some air on the right */
}


div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 23%;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
   background-color: #000000;
   
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0em 0em;
   width: 23%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #fff;
   background-color: #000000; /* same bg color as in header */
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
}

div#footer p a {
   /* color: #fff; needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

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: 1;
   margin: 0;
}

div#content h2 {
   color: #ffffff; 
   font-size: 1.5em; 
   text-align: left; 
   font-weight: bold;
/* some air around the text */
   padding-left: .5em;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #cc0000; 
   border-left: 1.5em solid #cc0000; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.75em 0;
}

div#content h3 {
   color: #ffffff; 
   font-size: 1.2em;
   line-height: 1.5;
   margin: .5em;
   font-weight: bold;
   padding: .1em .1em;
   padding-left: .5em;
   background: #800000;
   border-left: 3px solid #800000; 
   border-right: 3px solid #800000;
   border-top: 3px dashed #000000;
   border-bottom: 3px dashed #000000;

 /* width: 60%;  
   border-left: .4em solid #800000; 
   border-right: .2em solid #800000;
   border-top: 4px dashed #000000;
   border-bottom: 4px dashed #000000;
*/ 
}

div#sidebar h4 {
   color: #ffffff; 
   font-size: 1.3em;
  line-height: 2.0 !important;
  background: #000000 url(images/headerhole.jpg) no-repeat -2px -2px !important;
   margin: 0.6em 0.5em 0.5em 0.6em;
   padding-left: 0.1em;
   font-weight: bold;
}



div#content h4 {
   color: #ffffff; 
   font-size: 1.2em;
   line-height: 1.5;
   margin: 0 0 0.25em 0;
   font-weight: bold;
}
div#content h5 {
   font-size: 1.03em;
   line-height: 1.5;
   margin: 0 0 0.25em 0;
   font-weight: bold;
}
h6 {
   font-size: 1.0em;
   line-height: 1.5;
   margin: 0 0 0.25em 0;
   font-weight: bold;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1.0em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.5;
   padding: 0;
}

pre {
   font-family: monospace;
   font-size: 1.2em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.6;
   margin: 0 0 0.1em 0;
}
div#main ul li,
div#main ol li,
{
   margin: 0 0 0.1em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.1em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}

div#sidebar li, #sidebar ul, .hascontent ul {
margin: 0 0 0.1em 0em;


}

.normallistIndent  {
margin-bottom: 0.1em;
list-style-position: inside;
padding-left: 1.5em;
list-style-type: disc;
}

.normallist  {
margin-bottom: 0.1em;
list-style-position: inside;
}


.normallistsub  {
margin-bottom: 0.1em;
list-style-position: inside;
list-style-type: circle;
padding-left: 1.5em;

}


/* END LISTS */


/* Start Highlights and Quotation Boxes */

#highlight-container {
float: right;
width: 35%;
background: #000000;  
text-align: right;
clear: right;
margin-right: 1px;
}

#highlights{

  width: 69%;
  text-align: left;

  border: 2px solid #336699;
  padding:5%;
  margin-top: 4%;
  margin-left: 7%;
  margin-right: 1px;
  margin-bottom: 4%;
  background: #000000;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 5px;
   padding-left: 10px;
   padding-right: 5px;
   padding-bottom: -20px;
   z-index: 15;
}

/* Rounded Boxes for Quote container  - http://webdesign.about.com/od/css/a/aa072406.htm */

/* To make rounded corners work, don't use padding here.  */
.quote-container {
background:#336699;
color:#fff;
width: 80%;
margin-top: -15px;
margin-bottom: 0px;
margin-right: 0px;
margin-left: 5%;
/*float: right;*/
z-index:1;
}

   /* Content of quote container.  This can have padding.  */
#quotation {
 position: relative;
  top: -1.8em;
   text-align: center;
  background: transparent;
  padding-left: 3%;
  padding-right: 4px;
  z-index: 3;
  font-size: 90%;
  line-height: 1;
}

/* This is to try to get a nice watermark background, which we then turned into the title.  */
.quotation-background {
  position: relative;
  text-align: center;
  font-family: Times, Serif;
  font-size: 4.2em;
  font-weight: bold;
  color: #003366;
  z-index:2;
  background: transparent;
  clear: none;
  word-spacing: -5px;
  letter-spacing: -6px;
  overflow: visible;
  margin-top: -.2em;
  margin-bottom: 0em;
}


.rtop, .rbottom{
display:block;
background:#000000;
}

.rtop *, .rbottom *{
display: block;
height: 1px;
overflow: hidden;
background:#336699;
}

.r1{margin: 0 5px}
.r2{margin: 0 3px}
.r3{margin: 0 2px}
.r4{margin: 0 1px; height: 2px}
/* End Rounded Boxes */  

/* Tagline for Header */
#tagline {
     background: transparent;   
     color: #ffffff;
     float: right;
     text-align: left;     
     margin-right: 2px;
     padding: 2px; 
     font-weight: bold;
     font-family: Palatino, Serif;
     font-size: 1.2em;
     position: absolute;
     left: 650px;
     top: 35px;
}

.noscreen {
width: 0px;
height:0px;
display: none;
}

/* Accent color == yellowish */
.accent {
  color: #ffff99;
}

/* Fix the IFrame on embedded content pages so scroll bar doesn't show in Firefox */
#myframe { height: 1175px; width:97%; }

@media all {
* html div#footer {height: 0;}
}


/* End of 'Layout: Top menu + 2 columns' */

