/* 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 'Nataliej: Left sidebar + 1 column' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/


/*
Set initial font styles
*/
body {
	margin:  0;
	padding: 0;
	background: #FFFFFF;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #000000;
}

div#bodyclone {
	margin: 0;
	padding: 20px 0;
	background: #4C4C4C;
	color: #6C7496;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

img.left {
	float: left;
	margin: 0 15px 0 0;
}

img.right {
	float: left;
	margin: 0 0 0 15px;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active
a:visited {
	text-decoration: none;
	border-bottom: 1px solid #BFC6E3;
	color: #145BF9;
        background-color: inherit; 
}

a:hover {
	border: none;
}

p, ul, ol {
	margin-bottom: 1.8em;
	line-height: 2em;
}


/*****************
basic layout 
*****************/



/*** 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 {
	width: 775px;
	height: 237px;
	margin: 0 auto;
	background: url(images/img01.jpg);
}

div#header h1, div#header h2 {
	float: left;
	margin: 0;
}

div#header h1 {
	margin-top: 0;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: normal;
	padding: 135px 0 0 20px;
	letter-spacing: 5px;
	font-size: 3em;
}

div#header h2 {
	padding: 175px 0 0 5px;
	font-size: 1.4em;
}

div#header a {
	border: none;
	color: #FFFFFF;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   max-width: 770px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 770px;
   background: #FFFFFF url(images/img02.gif) repeat-x;
   border-right: 5px solid #414141;
}

 div#content {
	float: left;
	width: 460px;
	padding: 30px 20px;
}

div#main {
	margin-bottom: 2em;
}

div#main .title {
	margin: 0;
        color: #846CCB;
        border: none;
}

div#main .title hover {
	color: #145BF9;
}

div#main .date {
	margin: 0 0 2em 0;
	font-size: .7em;
}

div#main .entry {
    margin: 1em 0 0 0;
}

div#main .meta {
	padding: 5px 20px;
	background: #ABE0CC;
	color: #1451F4;
}

div#main .meta a {
	color: #1451F4;
}


div#sidebar {
	float: right;
	width: 240px;
	padding: 40px 20px 0 0;
	color: #FFFFFF;
}

div#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

div#sidebar li {
	margin-bottom: 10px;
	background: #FF8DF0;
}

div#sidebar li ul {
	padding: 15px;
}

div#sidebar li li {
	margin: 0;
}

div#sidebar li h2 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: normal;
	margin: 0;
	padding: 5px 15px;
	background: #FF5DDA;
	font-size: 1.4em;
	color: #FFFFFF;

}

div#sidebar a {
	border: none;
	color: #FFFFFF;
}

div#sidebar form {
	margin: 0;
	padding: 15px;
}

div#sidebar fieldset {
	border: none;
}

div#sidebar input {
	font: normal 1em Verdana, Arial, Helvetica, sans-serif;
}

div#sidebar #s {
	width: 190px;
}



div#footer {
	width: 775px;
	margin: 0 auto;
	padding: 15px 0;
	background: url(images/img03.gif) no-repeat;
   clear: both;       /* keep footer below content and menu */
}

div#footer p {
	margin: 0;
	line-height: normal;
	font-size: .8em;
	color: #999999;
}

div#footer a {
	border: none;
	font-weight: bold;
	color: #999999;
}
div#footer a:hover {
	color: #FFFFFF;
}
/* 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;
}





/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
	margin-top: 0;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #846CCB;
	letter-spacing: -1px;
	font-size: 2.4em;
}
div#content h2 {
	margin-top: 0;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #846CCB;
	font-size: 1.8em;
}
div#content h3 {
	margin-top: 0;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #846CCB;
	font-size: 1.2em;
	font-weight: bold;
}

/* END HEADINGS */

/* TEXT */
p {
  	margin-bottom: 1.8em;
  	line-height: 2em;
}

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;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#entry ul,
div#entry ol,
div#entry dl {
   line-height: 2em;
   margin: 0 0 1.8em 0;
}

div#entry ul li,
div#entry ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#entry dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#entry dl dd {
   margin: 0 0 1em 1em;
}

div#entry dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

div#entry blockquote {
	font-style: italic;
}


/* END LISTS */
/* End of 'Nataliej: Left sidebar + 1 column' */

