﻿/************************************************ 
Style sheet for main pages of MLC web site.
Created by Mike Lewis, December 2007 
*************************************************/

/*********** Main page structure ****************/

html 
{
    /* Applies to entire page. Creates a banner along the top of
    the page, containing a colour gradient, the remainder of the 
    page being in a very pale colour. Masthead.jpg contains the 
    gradient. It is 138 px high; it's only 10 px wide, but will
    repeat across the page */
    
    background-color: #ECF5FF;
    background-image: url(masthead.jpg);
    background-repeat:repeat-x;
}

body 
{
    /* all page content will occupy 90% of width of the physical screen,
    giving a small margin on either side */
    width: 90%;
    margin: 0 auto;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, Sans-Serif;
	font-size: 10pt;
	line-height: 1.2em;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
}

body h1
{
    font-size: 12pt;
    font-weight:bold;
    color:Navy;
    padding: 0.1em 0 0 0;
    line-height:1.4em;
  
}

body h2
{
    font-size: 10pt;
    font-weight:bold;
    color:Navy;
    padding: 0.8em 0 0 0;
  
}

body h3
{
    font-size: 10pt;
    font-weight:bold;
    padding: 0.8em 0 0 0;
}

body li
{
    margin-bottom: 0.5em;
}

a { text-decoration:none; color:Blue; }
a:hover, a:focus {background-color:Silver;}


.masthead
{
    /* Colour gradient across top of page, holding logo and main headings */
    position:relative;
    height: 138px;  /* This is the height of the gradient colour image */
    margin-bottom: 10px;
}
.masthead h2 
{
    /* This will hold the company logo within the masthead */
   margin: 0;
   padding: 25px 0 0 0; 
}

.tagline
{
    /* Other text that appears in the masthead */
    position: absolute;
    top: 25px;
    left: 240px;
}
.tagline h2
{
    font-size: 12pt;
    font-weight:bold;
    padding: 0;
    color: Black;
}
.tagline p
{
    font-size: 10pt;
    font-weight:bold;
}    

.simple-menu
{
    /* This the very small set of links at the top of the page, linking
    for example just to Home and Contact */
    position: absolute;
    top: 0px;
    right:15px;
    font-size: 8pt;
}
.simple-menu a { text-decoration:none; color:Black; }
.simple-menu a:hover {background-color:Silver;}
.simple-menu a:focus {background-color:Silver;}

.gutter
{
    /* A dummy container designed to place some white space between the 
       vertical regions of the page */
    float: left;
    width: 5%;
}
.main-content
{
    /* The main part of the page. This will float to the right of the left-hand sidebar */
    width: 50%;
    float: left;
}

.sidebar
{
    /* A vertical space to hold the main menu, search box and similar paraphernalia.
       This will float to the left of the main content. */
    width: 20%;
    float: left;
    margin: 0;
    padding: 0;
}

.main-menu
{
    /* The main navigation links within the sidebar*/
    border-bottom: 1px solid #707070;  /* grey horizontal rule below the last menu item */
    font-size: 8pt;
}
 
 .main-menu p
 {
    padding: 0.75em 0 0 0;           /*space between the link and the horizontal rule*/
    border-top: 1px solid #707070;  /* grey horizontal rule above all menu items */
    
}
.main-menu a { text-decoration:none; color:Black; }
.main-menu a:hover, a:focus {background-color:Silver;}

.main-menu p.current
{
    /* Displays menu tiem for the currently-selected page in lighter type; this item should
       not contain a link*/
   color:Gray;
}

.submenu p
{
    /* This is 2nd-level menu, below the main menu. The items will be indented slightly,
       and without the horizontal rule above them */
    margin-left:10px;
    border-top: none;
    padding: 0 0 0 0;
}

.menu3 p
{
    /* This is 3rd-level menu, below the submenu. The items will be indented slightly more,
       and without the horizontal rule above them */
    margin-left:20px;
    border-top: none;
    padding: 0 0 0 0;
}

.searchbox
{
    /* Appears within the left-hand sidebar, usually below the main menu */
    font-size: 8pt;
}   
    
.copyright
{
    /* copyright notice, at foot of page */
    text-align: right;
    padding-top: 15px;
    font-size: 8pt;
    clear: both;
    font-style: italic;
}
 
.monial
{
    /* Testimonials. These will appear in a floating column, to 
    the right of the main content */
    width: 20%;
    float: right;
    margin: 0;
    padding: 5px;  
}
.qu
{
    /* testimonial (quote) */
    font-size: 8pt;
    color: #336677;
    font-weight: bold;
    line-height: 1.1em;
}

.so
{
    /* testimonial (source) */
    font-size: 8pt;
    color: #336677;
    padding-bottom:40px;
    margin-top:-1em;
}

