/* Start of CMSMS style sheet 'Paisley Home Shorty: Layout' */
/*****************
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;
}

body {
   text-align: left;
   font-family: Georgia, Times New Roman, Times, serif;
   font-size: 90%;
   line-height: 1em;
}

/*
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
*/
a,
a:link 
a:active {
/* 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: #4365AB;
   padding-bottom: -1px;
}

h2 a, h3 a, h4 a {
   text-decoration: none;
   }

div#sidebox1 a {
   color: #200000;
   }

a:visited {
   background-color: inherit;
  color: #344E84;               
}

a:hover {
   background-color: #F2F5F9; 
   text-decoration: underline;
   color: #200000;
}

/*****************
basic layout 
*****************/
body {
   background: url(uploads/images/template_graphics/purpletile_200px.gif);
   color: #200000;
   margin-left: 50px;
   margin-bottom: 50px;
}

/*header
we will include text but hide text from regular graphic browsers and replace it with a image
*/
div#header {
   height: 150px;    /* adjust according your image size */
   background: none;           
   margin: 0px
}

div#header h1 a {
   background: url(uploads/images/template_graphics/header1.gif) no-repeat 0 0; 
   display: block;
   height: 150px;             /* 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#content {
   border: none;
   width: 64em;
   background-color: #fffffa;
   padding: 1.5em 0 1.5em 0;
}

div#main {
   min-height: 25em;
   margin-left: 14em; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   padding: 0.1em 1.5em 0 1.25em;   
   border-left: 1px solid #200000;
}

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

div#sidebox1 {
   border-bottom: 1px dashed #200000;
   }


/********************
CONTENT STYLING
*********************/

/* HEADINGS */

div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}

div#content h2 {
	color: #4365ab; 
	font-size: 2.5em; 
        font-weight: normal;
	text-align: left; 
        line-height: 1em;
}

div#content h3 {
   color: #4365ab; 
   font-size: 1.1em;
   line-height: 1.2em;
   margin: 1em 0 0.5em 0;
}

div#content h4 {
   color: #4365ab; 
   font-size: 0.9em;
   font-weight: bold;
   text-transform: uppercase;
   letter-spacing: 2px;
   line-height: 1.25em;
   margin: 1.5em 0 0.5em 0;
}

div#sidebox1 h3 {
   color: #200000;
   font-size: 0.9em;
   font-weight: bold;
   margin: 0em 0 0.5em 0;
   padding-top: 1.25em;
   border-top: 1px dashed #200000;
   }

div#sidebox1 h4 {
   color: #200000;
   font-size: 0.9em;
   font-weight: bold;
   margin: 1em 0 0.5em 0;
   text-transform: none;
   letter-spacing: 0px;
}


/* END HEADINGS */

/* IMAGES */

div#main img {
    margin: 0 0 2em 2em;
    }

/* TEXT */
p {
   font-size: 1.1em;
   margin: 0 0 1em 0; /* some air around p elements */
   line-height: 1.75em;
   padding: 0;
}

div#sidebox1 p {
   font-size: 0.9em;
   line-height: 1.5em;
}

blockquote {
   margin: 0 2em 1.25em 2em;
   line-height: 1.5em;
}

strong, b {
/* explicit setting for these */
   font-weight: bold;
}

em, i {
/* explicit setting for these */
   font-style:italic;
}

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%;
}


/* 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;
}


/* END LISTS */
/* End of 'Paisley Home Shorty: Layout' */

