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

This version also covers Foxstuff and other pages holding
technical articles
*************************************************/

/*********** 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 h1
{
    font-size: 16pt;
    font-weight:bold;
    padding: 0;
    color:Navy;
}
.tagline h2
{
    font-size: 12pt;
    font-weight:bold;
    padding: 0;
    color:Black;
}
.tagline p
{
    font-size: 10pt;
    font-weight:bold;
} 

.homelink
{
    /*Link to home page within the tagline */
    font-size: 9pt;
    font-weight:bolder; 
      
}

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

.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: 15%;
    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 p.current
{
    /* Displays menu tiem for the currently-selected page in bold; this item should
       not contain a link*/
   font-weight:bold;
}

.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;
}
    
.main-menu a { text-decoration:none; color:Black; }
.main-menu a:hover, a:focus {background-color:Silver;}

.searchbox
{
    /* Appears within the left-hand sidebar, usually below the main menu */
    font-size: 8pt;
}   
    

.article
{
    /* Main body of page for technical articles. This will occupy a similar position
    to the main content on other pages */
    width: 75%;
    float:left;
    
}

.article h1
{
	font-size:14pt;
}

.article pre
{
	/* Mainly used for program code and other fixed-pitch text within articles */
	font-family:Courier New, Monospace;
	font-size: 10pt;
	margin-left:2em;
}
.article-sig
{   
    /* Date and by-line at foot of article */
    font-style:italic;
}
 
.figure-caption 
{
    /* caption for illustration in article */
    font-weight: bold;
    font-size:8pt;
    line-height:1.2em;
}
    


.house-ads
{
    /* A panel within the ad-bar containing small text ads for our services */
    border-style:solid;
    border-color:Gray;
    border-width:1px;
    width:118px;    /* should ideally match width of Google ad unit */
    
}

.house-ads h2
{
    /* Title for panel containing text ads */
    background-color:Gray;
    color:White;
    font-weight:bold;
    margin:0;
    padding:4px;
}

.house-ads p {padding:4px;}

.smallprint 
{
    /* Disclaimer, etc on article pages */
    font-size:8pt;
    line-height:1.2em;
}

.smallprint a 
{	
	font-size:8pt;
    line-height:1.2em;
}
	

.foot-menu
{
    /* extra set of links at bottom of article page*/
    text-align: left;
    padding-top: 15px;
    font-size: 9pt;
    clear: both;
}
    
.smallprint-end
{
	/* extra copyy of disclaimer etc. to appear in print
	(at foot of article) but not on the screen */
    font-size:8pt;
    line-height:1.2em;
    clear: both;
}

.byline
{
	/* author's byline within article */
	font-style:italic;
}

.langs
{
	/* link to article in other languages */
	font-size: 8pt;
	float:right;
	padding-left: 5em;
	padding-top: 1em;
}

.book-ads
{
	/* panel at foot of page to hold Amazon script */
	text-align:left;
	clear:both;
	padding-top:2em
	
}


