/* andreas07 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com . Free to use for any purpose as long as the proper credits are given for the original design work.

Version: 1.1, November 28, 2005 */

/**************** Page and tag styles ****************/

    body {
        margin:0;
        padding:0;
        border:0;			/* This removes the border around the viewport in old versions of IE */
        width:100%;
        background:#fff;
        min-width:600px;    /* Minimum width of layout - remove line if not required */
							/* The min-width property does not work in old versions of Internet Explorer */
		font:76% Verdana,Tahoma,sans-serif;
    }
	a {
    	color:#369;
	}
	a:hover {
		color:#fff;
		background:#369;
		text-decoration:none;
	}
    h1, h2, h3 {
        margin:.8em 0 .2em 0;
        padding:0;
    }
    p {
        margin:.4em 0 .8em 0;
        padding:0;
    }
	img {
		margin:10px 0 5px;
	}
	/* Header styles */
    #header {
        clear:both;
        float:left;
        width:100%;
    }
	#header {
		border-bottom:1px solid #000;
	}
	#header p,
	#header h1
	{
		text-align:left;
		color:Red;
	    padding:.4em 15px 0 15px;
        margin:0;
	}
	#header h2 
	{
		text-align:right;
		color:Red;
	    padding:.4em 15px 0 15px;
        margin:0;
	}
	#header ul {
	    clear:left;
	    float:left;
	    width:100%;
	    list-style:none;
	    margin:10px 0 0 0;
	    padding:0;
	}
	#header ul li {
	    display:inline;
	    list-style:none;
	    margin:0;
	    padding:0;
	}
	#header ul li a {
	    display:block;
	    float:left;
	    margin:0 0 0 1px;
	    padding:3px 10px;
	    text-align:center;
	    background:#eee;
	    color:#000;
	    text-decoration:none;
	    position:relative;
	    left:15px;
		line-height:1.3em;
	}
	#header ul li a:hover {
	    background:#369;
		color:#fff;
	}
	#header ul li a.active,
	#header ul li a.active:hover {
	    color:#fff;
	    background:#000;
	    font-weight:bold;
	}
	#header ul li a span {
	    display:block;
	}
	/* 'widths' sub menu */
	#layoutdims {
		clear:both;
		background:#eee;
		border-top:4px solid #000;
		margin:0;
		padding:6px 15px !important;
		text-align:right;
	}
	/* column container */
	.colmask {
	    position:relative;		/* This fixes the IE7 overflow hidden bug */
	    clear:both;
	    float:left;
        width:100%;			/* width of whole page */
		overflow:hidden;	/* This chops off any overhanging divs */
	}
	/* common column settings */
	.colright,
	.colmid,
	.colleft {
		float:left;
		width:100%;				/* width of page */
		position:relative;
	}
	.col1,
	.col2,
	.col3 {
		float:left;
		position:relative;
		padding:0 0 1em 0;	/* no left and right padding on columns, we just make them narrower instead 
								only padding top and bottom is included here, make it whatever value you need */
		overflow:hidden;
	}
	/* 3 Column settings */
	.threecol {
		background:#eee;		/* right column background colour */
	}
	.threecol .colmid {
		right:42%;				/* width of the right column */
		background:#fff;		/* center column background colour */
	}
	.threecol .colleft {
		right:42%;				/* width of the middle column */
		background:#e0e0e0;		/* left column background colour */
	}
	.threecol .col1 {
		width:38%;				/* width of center column content (column width minus padding on either side) */
		left:102%;				/* 100% plus left padding of center column */
	}
	.threecol .col2 {
		width:20%;				/* Width of left column content (column width minus padding on either side) */
		left:42%;				/* width of (right column) plus (center column left and right padding) plus (left column left padding) */
		
	}
	.threecol .col3 {
		width:38%;				/* Width of right column content (column width minus padding on either side) */
		left:86%;				/* Please make note of the brackets here:
								(100% - left column width) plus (center column left and right padding) plus (left column left and right padding) plus (right column left padding) */
	}
	/* Footer styles */
	#footer {
        clear:both;
        float:left;
        width:100%;
		border-top:1px solid #000;
    }
    #footer p {
        padding:10px;
        margin:0;
    }
    
    .col1 img 
    {
		float:left;
		margin-right:2%;
    }

    .col3 img 
    {
		float:left;
		margin-right:2%;
    }

	.col2 h1
	{margin:20px 18px 0 5px; color:Red; font-size:1.6em; letter-spacing:-2px; text-align:right;}

	.col2 h2, #col1 h3
	{margin:0 20px 18px 5px; color:Red; font-size:1.1em; font-weight:bold; letter-spacing:-1px; text-align:right;}

	.col2 h3
	{margin:20px 18px 4px 5px; color:Red;}

	.col2  p
	{margin:0 20px 18px 5px; color:#606060; font-size:0.8em;}
	.col2 a
	{color:#808080; text-align:right;}

	.h4
	{color:Red; text-align:left; font-weight:bold; text-decoration:underline;}
	/**************** Navigation menu styles ****************/

	#menu a
	{display:block; padding:5px 18px 5px 10px; color:#606060; background:#e0e0e0 url(img/sidebarbg.gif) top right repeat-y; font-size:1.8em; font-weight:normal; text-decoration:none; letter-spacing:-2px; text-align:right;}

	#menu a:hover 
	{color:#303030; background:#f0f0f0;}

	#menu a.active
	{padding:5px 18px 5px 10px; background:#fafafa; border-top:2px solid #c0c0c0; border-bottom:2px solid #c0c0c0;}

	#menu a.active:hover
	{color:#505050; background:#fafafa;}

