/* Start of CMSMS style sheet 'OLMC Layout 2008' */
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/

body {
   text-align: left;
   font-family: Arial, Helvetica, sans-serif;
   font-size: small;
   line-height: 110%;
}

/*
set font size for all divs,
this overrides some body rules
*/

div {
   font-size: small;
}

/*
remove borders from images most places
*/

img {
   border: 0;
padding: 0;
}


#main img {
border: 1px solid #000;
margin-bottom: 5px;
}

.nobox img {
border-color: #fff;
}


div.image-right {
float: right;
font-size: 90%;
font-weight: bold;
font-style: italic;
text-align: right;
line-height: 110%;
margin-left: 10px;
margin-bottom: 6px;
}

div.image-left {
float: left;
font-size: 90%;
font-weight: bold;
font-style: italic;
text-align: left;
line-height: 110%;
margin-right: 10px;
margin-bottom: 6px;
}

/*
default link styles
*/

/* set all links to have underline and blue 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: #08087b; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #6a7db3;
}

/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #e7cd65;
}

/*****************
basic layout 
*****************/

body {
   background-color: #000;
   margin: 0;
}

div#pagewrapper {
   margin: 0px;
   background-color: #000;
   float: left;
   color: black;
   width: 760px;
}

div#header {
width: 759px;
padding: 0;
margin: 0;
border-right: 1px solid #000;
background-image: url(/images/olmc_yellowband.gif);
background-repeat: no-repeat;
background-position: bottom;
background-color: #fff;
}

div#content-secondary {
position: absolute;
left: 760px;
width: 230px;
background-color: #000;
}

div#header h1 a {
   font-size: 140%;
font-family: times new roman, times, serif;
font-weight: normal;
   margin: 0;
   color: #000099;
   text-decoration: none;
   line-height: 110%;
padding-left: 10px;
}

div#header h2 {
   font-size: 140%;
   font-weight: lighter;
   line-height: 130%;
padding-left: 10px;
   margin: 0;
   color: #000;
}

div#header h3 {
   font-size: 110%;
font-weight: normal;
   line-height: 120%;
padding-left: 10px;
padding-bottom: 25px;
   margin: 0;
   color: #000;
}

/* position for the search box */
div#search {
   float: right;
   width: 23em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 4px 0 4px 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 120%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 0 6px 0 ;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px solid #1A4F0C;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

div#main {
   margin-left: 181px; /* this will give room for sidebar to be on the left side */
   margin-right: 0;
border-top: 1px solid;
   border-left: 1px solid;
   border-right: 1px solid;
   border-bottom: 1px solid;
   padding: 10px 12px 10px 15px;
   background-color: #fff;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 181px;     /* sidebar width, if you change this please also change #main margins */
   margin: 0;
   padding: 0;
   display: inline;  /* FIX IE double margin bug */
   background-color: #000;
}

div.pagetitle {
   padding: 4px 0 10px 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 170%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
font-family: times new roman, times, serif;
   letter-spacing: 1px;
   color: #000099;
   margin: 0 0 6px 0 ;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px solid #000;
}

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: #000; /* needed becouse footer link would be same color as background otherwise */
}

div#printer-friendly {
float: right;
}

#printer-friendly img {
border: 0;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  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: 1em;
   margin: 0;
   color: #000;
}
div#content h2 {
	color: #000; 
	font-size: 1.5em; 
	text-align: left; 
/* some air around the text */
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #000; 
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #000; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #000; 
   font-size: 110%;
   line-height: 130%;
   margin: 0 0 1em 0;
}
div#content h5 {
   color: #000; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

h6 {
   color: #000; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

.heading {
    color: #000; 
    font-size: medium;
    font-weight: bold;
    font-family: arial, helvetica, sans-serif;
    line-height: 1.5em;
}

.subheading {
    color: #000; 
    font-size: small;
    font-weight: bold;
    font-family: arial, helvetica, sans-serif;
    line-height: 1.2em;
}


/* END HEADINGS */

/* TEXT */

p {
   font-size: 1em;
   margin: 0 0 0 0;
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
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.5em;
   font-size: 90%;
}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

.basictext {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 110%;
   line-height: 130%;
}


/* END TEXT */


/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

.content-image {
border: 0 !important;
}

/* END LISTS */

/* lightbox script styles */

#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}

#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}

#imageContainer, #hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(/images/lightbox/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/images/lightbox/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/images/lightbox/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: auto;
	line-height: 1.4em;
	overflow: hidden;
	width: 100%	
	}

#imageData{padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold; }
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 2.0em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	}

/* end lightbox script styles */
/* End of 'OLMC Layout 2008' */

