/* 
		CSS Start Template for websites
		By Trond Ulseth - trond@idl.no - Started 1st June 2006
		
		Goal:
					Not having to create the same stuff each time a new site is created
		
		Change log:
					1st June 2006 - started this template
					2nd June 2006 - continued development of template
					
		Once implemented for a site this template should/could be edited, added to and deleted from.
		Coments can be deleted as well, but it's adviced not to.
		Parst of this template is based on the article Squeaky Clean CSS by Lokesh
			http://www.huddletogether.com/2006/02/16/practical-web-development-tips/
		Styles for css/js navigation is kept in it's own stylesheet.
		
		Table of Contents:
		
					Setting up some Global Defaults
					Main Layout
					Content Layout
					Typography
					Forms
					Header
					Footer
					Developed By
*/

/* Setting up Some Global defaults
---------------------------------------------------------------------- */

	/* since browsers have diferent default measures for margin and padding we're zeroing them out to be treated equaly all over */
* {
	margin: 0px;
	padding: 0px;
	}
	
	/* some global font attributes is good to have */
* {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	}
	
	/* for body we usually have at least a bacground color */
body {
	background-color: #900000;
	background-image: url(../wsimages/body_bg.png);
	background-repeat: repeat-x;
		}
		
/* we dont want a background in the editor */

.mceContentBody {
	background-image: none;
	background-color: #FFFFFF;
	}
	
	/* some items need their margins and/or paddings */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1.0em;
	}
	
ol, ul {
		line-height: 1.5em;
		margin: 1.2em 0 1.2em 2em;
		}

ul li,
ol li {
		margin-bottom: 0.2em;
		}

img,
a img {
		border: 0px;
		}
	
	/* sizes for the headers */
h1 {
	font-size: 14px;
	}
h2 {
	font-size: 14px;
	}
h3 {
	font-size: 1.3em;
	}
h4 {
	font-size: 1em;
	}
h5 {
	font-size: 0.8em;
	}
h6 {
	font-size: 0.6em;
	}
	
	/* some global styles for links */
a:link,
a:active,
a:visited {
			text-decoration: none;
			color: #006699;
			}
a:hover {
			text-decoration: underline;
			color: #000000;	
			}
			
	/* a clear class often comes in handy in site layouts */
	
.clear {
	clear: both;
	height: 1px;
	overflow: hidden;
	position: relative;
	width: 10px;
	}

/* Main Layout
---------------------------------------------------------------------- */

	/* There's almost always a main div container for the layout of a site */
#mainwrapper {
				width: 812px;
				margin-left: auto;
				margin-right: auto;
				background-color: #FFFFFF;
				}
				
#navigation {
	height: 50px;
	background-color: #B3B4AF;
	margin-left: 16px;
	margin-right: 16px;
	border-top: solid 1px #000000;
	border-bottom: solid 1px #000000;
	}
		
		/* toplevel contentwrapper for the background */		
#contentwrapper {
	background-image: url(../wsimages/contentwrapper_bg.gif);
	}
	
#content {
	padding-left: 32px;
	padding-right: 32px;
	padding-top: 16px;
	padding-bottom: 16px;
	line-height: 1.5em;
}

/* Mainpage */

#mainpage #contentText {
	float: left;
	width: 510px;
	}
	
#mainpage #news {
	background-color: #E4E4E4;
	border: solid 1px #666666;
	float: left;
	margin-left: 15px;
	width: 200px;
	padding-top: 9px;
	padding-right: 9px;
	padding-bottom: 0px;
	padding-left: 9px;
	}
	
#mainpage #news .news {
	background-color: #EFEFEF;
	padding: 5px;
	margin-bottom: 9px;
	font-size: 11px;
	}
	
#mainpage #news .news * {
	font-size: 11px;
	}

#mainpage #news .news h3,
#mainpage #news .news h3 * {
	font-size: 14px;
	margin-bottom: 0px;
	}
	

/* Content Layout
---------------------------------------------------------------------- */

.htmlTeaser {
	padding-bottom: 15px;
	padding-top: 15px;
	border-bottom: solid 1px #999999;
	}
	
.htmlTeaser h2 {
	margin-bottom: 0px;
	}
	
.htmlTeaser h2 a {
	font-size: 14px;
	}

#login {
	background-color: #EEEEEE;
	padding: 15px;
	}
	
#login fieldset {
	border: none;
	}
	
#login label {
	display: block;
	padding: 5px;
	}
	
#contentText img {
	border: solid 1px #000000;
	}

/* Typography
---------------------------------------------------------------------- */

.important_text {
	font-weight: bold; 
	}
	
.smaller_text {
	font-size: 0.7em;
	}
	
.quote_text {
	}

/* Forms
---------------------------------------------------------------------- */

/* Header
---------------------------------------------------------------------- */

#header {
	background-image: url(../wsimages/header.jpg);
	height: 215px;
	width: 812px;
	overflow: hidden;
	}

/* Footer
---------------------------------------------------------------------- */

#footer {
	background-image: url(../wsimages/footer_bg.png);
	height: 67px;
	width: 812px;
	overflow: hidden;
	}
	
#footer #address {
	text-align: center;
	margin-top: 18px;
	font-size: 11px;
	}

/* Developed by
---------------------------------------------------------------------- */

#devBy {
		width: 780px;
		margin-left: auto;
		margin-right: auto;
		margin-top: 20px;
		text-align: right;
		}
		
	/* this section usually has some other link styling than the default */
#devBy a:link,
#devBy a:active,
#devBy a:visited {
					text-decoration: none;
					color: #DDDDDD;
					}
#devBy a:hover {
				text-decoration: underline;
				color: #FFFFFF;	
				}

