/* Start of CMSMS style sheet 'christie_css' */
/* Global page settings */
* {
   margin: 0;
   padding: 0;
}

/* Set initial font styles */
body {
   text-align: left;
   font-family: Verdana, Geneva, Tahoma, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1.2em;
}

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

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

/* Basic layout */
body {
   background: #fff url(images/background-1x500.jpg) repeat-x;
   color: #535353;
   margin: 0;
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 1px solid #000;
   margin: 15px auto;     /* this centers wrapper */
   width: 960px;
   background-color: #fff;
}


/* Header - hide h1 text and replace it with image */
div#header {
   border-bottom: 1px solid black;
   height: 96px;
   background: #A4C2DA;
   text-align: center;
}

div#header a {
   background: #A4C2DA url(images/header-960x96.jpg) no-repeat; 
   display: block; 
   height: 96px;
   text-indent: -999em;   /* hides the h1 text */
   text-decoration: none;
}

div#footer {
   clear: both;     /* keep footer below content and menu */
   margin: 0;
   padding: 15px 20px;
   color: #eee;
   background-color: #7090a0;
}

div#footer p {
   margin: 0;
   padding-top: 1em;
   font-size: 0.8em;
   text-align: center;
}

div#footer p a {
   color: #eee; /* needed because footer link would be same color as background otherwise */
   text-decoration: none;
}

div#footer p a:hover {
   color: #18507C;
   background-color: #C3D4DF;
}


/* Content Styling */
div#content {
   clear: both;
   margin: 10px 20px 30px 20px;
}

/* Headings */
div#content h1 {
   font-family: Verdana, Tahoma, Arial, Helvetica, Sans-Serif;
   font-size: 1.8em;
   line-height: 1.8em;
   color: #080;
   margin: 0;
   padding: 0;
   line-height: 1.8em;
}
div#content h2 {
   color: #294B5F; 
   font-size: 1.5em; 
   text-align: left; 
   /* some air around the text */
   padding-left: 0.5em;
   padding-bottom: 1px;
   /* set borders around header */
   border-bottom: 1px solid #e7ab0b; 
   border-left: 1.1em solid #e7ab0b; 
   line-height: 1.5em;
   /* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* End Headings */

/* Text */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}
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 */
}
/* End Text */

/* Lists */
div#content ul,
div#content ol,
div#content dl {
   font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#content ul li,
div#content 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 */



/*** MENU ***/

/* Top nav menu */
div#menu_tabs {
   background-color: #fff;
   margin: 20px;
}

div#menu_tabs ul {
   list-style-type: none;
   text-align: center;
   padding: 0.6em 1.5em 0.6em 4em;
   border-bottom: 1px solid #777;
}

/* menu list items */
div#menu_tabs li {
   display: inline;
   margin-right: 2.5em;
}

/* the links, that is each list item */
div#menu_tabs li a {
   border: 1px solid #bbb;
   border-bottom: 0;
   padding: 0.6em 1.5em;
   text-decoration: none;
   color: #18507C;
}

/* hover state for links */
div#menu_tabs li a:hover {
   background-color: #C3D4DF;
}

div#menu_tabs h3 {
   display: inline;
   padding: 0.6em 1.5em;
   color: #18507C;
   font-size: 1em;
   border: 1px solid #777;
   border-bottom: 1px solid #fff;
}

/* Footer nav menu */
div#footer ul {
   list-style-type: none;
   text-align: center;
}

/* menu list items */
div#footer li {
   display: inline;
}

/* the links, that is each list item */
div#footer li a {
   text-decoration: none;
   color: #eee;
   font-size: 0.8em;
}

/* hover state for links */
div#footer li a:hover {
   color: #18507C;
   background-color: #C3D4DF;
}


/*** HOME PAGE ***/

div#home_contents {
   float: left;
   width: 670px;
   margin-top: 20px;
}

div.home_section {
   overflow: hidden;
   width: 100%;
   margin-bottom: 40px;
}

div.home_section p {
   padding: 10px 15px;
   background-color: #e0e0ff;
   color: #535353;
   font-family: Georgia, Geneva, Serif;
   font-size: 1.3em;
   line-height: 1.7em;
   width: 380px;
}
div.home_section p.left {
   float: left;
}
div.home_section p.right {
   float: right;
}

div.home_section img {
   width: 240px;
   border: 1px solid #535353;
}
div.home_section img.left {
   float: left;
   margin-right: 8px;
}
div.home_section img.right {
   float: right;
   margin-left: 8px;
}

/* Sidebar */
div#home_sidebar {
   float: right;
   width: 220px;
   margin-top: 20px;
   color: #535353;
   font-family: Verdana;
   font-size: 0.9em;
}
div.sidebar_header {
   padding: 5px 5px 4px 5px;
   border: 2px solid #ffd060;
   border-right: 0;
   background: #fff url("images/sidebar-header-background-220x1.jpg") repeat-y;
   font-weight: bold;
}
div.sidebar_content {
   margin-bottom: 20px;
   padding: 6px 7px 4px 7px;
   background: #fff;
   text-align: left;
}
div.sidebar_content p {
   margin: 0;
   padding: 4px 0;
}


/*** COMMENTS ***/

div#latest_comments {
   float: left;
   width: 440px;
   margin: 10px 20px 30px 0;
   overflow: hidden;
}

div.comment_box {
   margin-top: 25px;
   padding: 5px 10px 8px 10px;
   border: 1px solid #666;
}

span.comment_author {
   color: #008;
   font-weight: bold;
}

span.comment_date {
   font-size: 80%;
   color: #777;
}

div#new_comment {
   float: right;
   width: 440px;
   margin: 10px 0 0 20px;
   overflow: hidden;
}

span.label {
   font-weight: bold;
}

div#comments textarea {
   width: 420px;
   height: 140px;
   padding: 2px 5px 3px 5px;
   border: 1px solid #666;
   background: #fef0c0;
   color: #428;
   font-family: Verdana, Helvetica, Arial, Sans-Serif;
   font-size: 1em;
}

div#comments p.name input {
   width: 210px;
   padding: 2px 5px 3px 5px;
   border: 1px solid #666;
   background: #fef0c0;
   color: #428;
   font-family: Verdana, Helvetica, Arial, Sans-Serif;
}

div#comments p.buttons input {
   padding: 2px 4px;
   color: #000;
}


/*** CONTACT ***/

div.contact_method {
   clear: both;
   overflow: hidden;
   margin-bottom: 16px;
}

div.contact_icon {
   float: left;
   width: 80px;
}

div.contact_text {
   float: left;
   width: auto;
}

/* End of 'christie_css' */

