/* Start of CMSMS style sheet 'Layout: Top menu + 2 columns' */
/*****************
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 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;
}

/*
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: #18507C; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #18507C; /* a different color can be used for visited links */
}
 
/*****************
basic layout 
*****************/
body {
	background-color: #8A1660;
	color: #333;
	text-align: left;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 80.01%;
	line-height: 1em;
	margin: 0px;
	padding: 0px;
}

/* center wrapper, min max width */
div#pagewrapper {
	width: 100%;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	background-color: #8A1660;
	background-image: url(images/APP-Template/BodyRepeat.png);
	background-repeat: repeat-x;
	background-position: 0px 166px;
	height: 100%;
	padding: 0px;
}
 
div#mainblock {
	width:995px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	background-color: #DFC0D4;
	border-right-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #AD8EA2;
	border-left-color: #AD8EA2;
	padding: 0px;
	position: relative;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #8A1660;
}

div#mainblock:after{
 	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
div#content {
	border: 3px solid #E1249D;
	margin: 10px;
	padding: 10px;
	width: 947px;
	background-color: #FFFFFF;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	_height: 1%;
	position: relative;
	min-height:620px;
	_height:620px;   /* because IE6 is too stupid to understand min-height!!!! ARRGH!  */
}

div#content:after{
 	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
 
/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
	height: 166px;
	background-color: #FFFFFF;
	background-image: url(images/APP-Template/header.png);
	background-repeat: no-repeat;
	background-position: left center;
	display: block;
	position: relative;
	width: 100%;
 
}

div#header h1 a {
	display: block;
	height: 148px;  
	text-indent: -999em;  /* this hides the text */
	text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
	width: 580px;
	background-image: url(images/APP-Template/Logo.png);
	background-repeat: no-repeat;
	background-position: center center;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 125px;
	position: relative;
	top: 5px;
}

#super_cute{
	position: absolute;
	left: 0px;
	bottom: 0px;
 	
}


div#search {
	text-align: center;
	width: 100%;
	padding-top: 1.5em;
}

div.breadcrumbs {
	font-size: 90%;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
	margin-top: 0;
	margin-right: 1em;
	margin-bottom: 1em;
	margin-left: 0em;
	padding-top: 1em;
	padding-right: 0;
	padding-bottom: 1.2em;
	padding-left: 0;
}

div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 }
div.breadcrumbs a{
	color: #CC6699;
}

div.breadcrumbs a:visited{
	color: #3FAED4;
}
div.breadcrumbs a:hover{
	color: #FF3366;
}

div#main {
	display: block;
	float: left;
	width: 473px;
	margin-right: 15px;
	position: relative;
	font-size: 1.25em;  

}
 
div#sidebar {
	float: left;
	width: 243px;
	display: block;
	margin-right: 20px;
	height: auto;
	border: 1px solid #FFFFFF;
}
div#sidebar ul {
	margin-top: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 20px;

}
div#sidebar ul li, div#sidebar p{
		font-size: 1.25em;
	padding-bottom: 0.25em;
	line-height: 1.25em;
}
div#feature_column {
	width: 188px;
	display: block;
	float: left;
	position: relative;
	z-index: 100;
}

.feature-title{
	background-image: url(images/APP-Template/FeatureBlockHead.png);
	background-repeat: repeat-x;
	background-position: center top;
	width: auto;
	font-weight: bold;
	color: #FFFFFF;
	text-align: center;
	line-height: 29px;
	border: 1px solid #77B60E;
	background-color: #78D32D;
 	-moz-border-radius-topleft: 10px;
	-webkit-border-top-left-radius:  10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-right-radius:  10px;
}

.feature-body{
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
	background-image: url(images/APP-Template/VertMenuBlockRepeat.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	padding-top: 10px;
	width: auto;
	-moz-border-radius-bottomleft: 10px;
	-webkit-border-bottom-left-radius:  10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius:  10px;
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom: 10px;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  /* 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;
	margin-bottom: 15px;
}

#footera{
	float: left;
	width: 60%;
}

#footerb{
	float: left;
	width: 40%;
	position: relative;
	top: -10px;
}

div#footer p {
   font-size: 1em;
   padding: 1.5em;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
}

div#footer p a {
	color: #4AB6D9;
	font-weight: bold;
	text-shadow: -2px 2px 2px #fff;
	text-decoration: none;
}
div#footer p a:hover {
	color: #FF1DAD;  
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
	background-image: url(images/APP-Template/HorizontalRule.gif);
	background-repeat: no-repeat;
	background-position: center center;
	height: 14px;
	width: 100%; 
}
#print{
	position: absolute;
	top: 5px;
	right: 0px;
}
/* relational links under content */
#relational_links p{
	font-size: 10px;
}
#relational_links p a{
	color: #29A2D6; 
}
#relational_links p a:hover{
	color: #66FF00; 
}

#top1 a{
	display: block;
	height: 31px;
	width: 64px;
	background-image: url(images/APP-Template/TopBone.png);
	background-repeat: no-repeat;
	background-position: bottom;
	font-size: 1px;
	text-indent: -9999px;
	float: right;
	position: relative;
	top: -6px;
}
#top1 a:hover{
	background-position: top;
}
#top2 a{
	display: block;
	height: 31px;
	width: 64px;
	background-image: url(images/APP-Template/TopMouse.png);
	background-repeat: no-repeat;
	background-position: bottom;
	font-size: 1px;
	text-indent: -9999px;
	float: right;
	position: relative;
	top: -6px;
}
#top2 a:hover{
	background-position: top;
}
/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 1.6em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	line-height: 28px;
	background-image: url(images/APP-Template/heading-bullets/H1.png);
	background-repeat: no-repeat;
	background-position: left top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.65em;
	font-weight: bold;
	color: #00B81E;
	padding-left: 33px;
	letter-spacing: .125em;
	margin-bottom: 0.35em;
}
div#content h3 {
	line-height: 24px;
	background-image: url(images/APP-Template/heading-bullets/H2.png);
	background-repeat: no-repeat;
	background-position: left top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.5em;
	font-weight: bold;
	color: #FF29AF;
	padding-left: 30px;
	letter-spacing: .05em;
	margin-bottom: 0.35em;
}
div#content h4 {
 	line-height: 20px;
	background-image: url(images/APP-Template/heading-bullets/H3.png);
	background-repeat: no-repeat;
	background-position: left top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.45em;
	font-weight: bold;
	color: #0E91C9;
	padding-left: 30px;
	letter-spacing: 0.05em;
	margin-bottom: 0.35em;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.4em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
#main p {
	line-height:1.5em;
	color: #4A4A4A;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 1.5em;
	margin-left: 0;
 	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
 
}
#main p {
	padding-left: 30px;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
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%;   /* smaller font size, as these are usually not so important data */
}
/* Form */

#main form{
	background-color: #CAFFBB;
	width: 95%;
	border: 2px solid #25AE00;
	padding: 10px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
}
#main textarea{
	width: 440px;
	font-size: 1.5em;
	color: #E4318F;
}
#main input{
	margin-bottom: 5px;
	font-size: 1.5em;
	color: #E4318F;
}

#footer form{
	background-color: #ECD9E6;
	width: 300px;
	border: 2px solid #AD8EA2;
	padding: 10px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
}
#footer input{
	font-size: 1.2em;
	color: #333333;
	margin-right: 5px;
}
/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
	line-height:1.5em;
	margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
	margin: 0 0 0.25em 3em;

}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */
/* End of 'Layout: Top menu + 2 columns' */

