/*

+----------------------------------------------------------------------------------------------------+
|                                                                                                    |
|    Grid based on and adapted from TYPOGRIDPHY                                                      |
|                                                                                                    |
+-------------------------------------------------+--------------------------------------------------+
|                                                 |                                                  |
|   TYPOGRIDPHY IS © COPYRIGHT OF HARRY ROBERTS   |   v 0.1.1                                        |
|   IT IS FREE TO BE USED AND MODIFIED PROVIDED   |   May 2008                                       |
|   THIS TEXT REMAINS INTACT -- CSSWIZARDRY.COM   |   http://csswizardry.com                         |
|                                                 |                                                  |
+-------------------------------------------------+--------------------------------------------------+



COLOUR REFERENCES
BODY BG: #FFF
TOP STRIP: #000
BODY COLOUR: #666
LINKS: #000
-------------------------------------------------------- */


/* RESET */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {  
	margin:0; 
	padding:0; 
} 
table { 
	border-collapse:collapse; 
	border-spacing:0; 
} 
fieldset,img {  
	border:0; 
} 
address,caption,cite,code,dfn,em,strong,th,var { 
	font-style:normal; 
	font-weight:normal; 
} 
ol,ul { 
	list-style:none; 
} 
caption,th { 
	text-align:left; 
} 
h1,h2,h3,h4,h5,h6 { 
	font-size:100%; 
	font-weight:normal; 
} 
q:before,q:after { 
	content:''; 
} 
abbr,acronym {
	border:0; 
}
/*---------- END RESET ----------*/


/*-------------------------------------------+
|                                            |
|            MAIN STRUCTURE STYLES           |
|                                            |
+-------------------------------------------*/
html{
	font-size:100%;
	min-height:101%;
}
body{
	font-size: 80%;
	/* original 62.5%; */
	font-family:Georgia, "Times New Roman", serif;
	color:#382513;
	background: #FFFFFF;
	/* border-top:0.5em solid #666; */
	padding:0em;
}
#wrapper{
	width:900px; 
	/* original 94em */
	margin:0 auto;
	height: 1900px;
}
#header{
	/* width:90em; */
	padding-top:0em;
	margin-bottom:2em;
}

.bigintro {
	font-size: 1.6em !important;
	color: #444444;
}

/*NAVIGATION
-------------------------------------------------------- */
#navi {
 	position: relative;
 	/* background: #FFFFFF url(./img/underline-450.png) no-repeat bottom left; */
 	background:  #888888; /* #bfe573; */
 	border-bottom:0.1em solid #A7A37E; 
	font-family: Verdana, Arial, sans-serif;
	color: #ffffff;
	font-size:1em; 
	font-variant:small-caps;
	letter-spacing: 1px;
	padding-top: 0.5em;
	margin-bottom: 0.5em;
	padding-bottom: 0.5em;
	/* margin-top:-1.2em; */
}

.navilinks {
	width:900px; 
	/* original 94em */
	margin:0 auto;
}

#navi a{
	color: #ffffff; /* #6b8c06;*/
	text-decoration:none;
	font-weight:bold;
}
#navi a:hover{
	text-decoration: underline dotted;
}

/*FOOTER NAVIGATION
-------------------------------------------------------- */
#footer-nav{
	word-spacing:0.2em;
}
#footer-nav a{
	color:#6b8c06;
	font-variant:small-caps;
}
/*GRIDS
-------------------------------------------------------- */
/* Set styles common among all grids - all grid divs must be assigned this class */
.generic{
/*	border-top:0.2em dotted #A7A37E;  /* The border at the top of each grid */
	float:left;
	padding-top: 1em; /*originally padding-top */
	margin-bottom:2em;
}
/* Sets styles for any 'start' grids - this class MUST be given to a grid that is the first in a horizontal series */
.clear{
	clear:both;
}
/* Sets styles for any 'end' grids - this class MUST be given to a grid that is the last in a horizontal series */
.end{
	margin-left:0 !important;
	margin-right:0 !important;
}

/* for navi Miha */

.eighty{
	width: 80px;
	margin-right: 2opx;
}

/* 180 px narrow for 4-way list  */

.oneeighty {
	width: 180px;
	margin-right: 20px;
}

/* 200px */
.twohun{
	width:210px;
	margin-right: 20px;
}

/* 220px */
.twotwenty{
	width:220px;
	margin-right:20px;
}
/* 280px */
.twoeighty{
	width:280px;
	margin-right:20px;
}
/* 340px */
.threeforty{
	width:340px;
	margin-right:20px;
}
/* 400px */
.fourhun{
	width:400px;
	margin-right:20px;
}
/* 460px */
.foursixty{
	width:460px;
	margin-right:20px;
}
/* 520px */
.fivetwenty{
	width:520px;
	margin-right:20px;
}
/* 580px */
.fiveeighty{
	width:580px;
	margin-right:20px;
}
/* 640px */
.sixforty{
	width:640px;
	margin-right:20px;
}
/* 700px */
.sevenhun{
	width:700px;
	margin-right:20px;
}
/* 760px */
.sevensixty{
	width:760px;
	margin-right:20px;
}
/* 820px */
.eighttwenty{
	width:820px;
	margin-right:20px;
}
/* 880px */
.eighteighty{
	width:880px;
	margin-right:20px;
}

/* 900px */
.ninehun{
	width:900px;
}

/* 940px */
.nineforty{
	width:940px;
}
/*-------------------------------------------+
|                                            |
|                FONT STYLES                 |
|                                            |
+-------------------------------------------*/
/*PARAGRAPHS
-------------------------------------------------------- */
.generic p{
	font-size:1.2em;
	line-height:1.5em;
	margin-bottom:1.5em;
}
/* Styles an introductory paragraph, similar to newspapers. Assign this class to the first paragraph in an article */
p.intro:first-line{
	font-variant:small-caps;
}
/* Styles a drop cap on each paragraph with this class */
p.drop:first-letter{
	float:left;
	font-size:3em;
	margin-top:-0.05em;
	margin-right:0.1em;
	margin-bottom:-0.5em;
}


/*HEADINGS
-------------------------------------------------------- */
h1{
	color: #444444; /* tummempi #296b73; vaaleampi #263248; */
	font-size:3em;
	margin-top:1em;
	margin-bottom:0.2em;
	font-style:italic; 
	line-height:1.2em;
}
h2{
	font-family: Verdana, Arial, sans-serif;
	font-variant:small-caps;
	letter-spacing: 1px;
	
	color:#444444;
	font-size:2em;
	padding-bottom:0.4em; /* original none */
	margin-bottom:0.5em; /* original 0.9 */
	line-height:0.9em;
 	/* background: #FFFFFF url(./img/underline.png) no-repeat bottom left; */

	border-bottom: 1px solid #296b73;   

}
h3{
	color:#444444;
	font-size:1.5em;
	margin-bottom:1em;
	line-height:1.2em;
	font-variant:small-caps;
}
h4{
	color:#296b73;
	font-size:1.2em;
	margin-bottom:1.5em;
	line-height:1.5em;
	font-variant:small-caps;
}
h5{
	color:#296b73;
	font-size:1em;
	margin-bottom:1.8em;
	line-height:1.8em;
	font-variant:small-caps;
}
h6{
	color:#296b73;
	font-size:1em;
	margin-bottom:1.8em;
	line-height:1.8em;
}
/*LINKS
-------------------------------------------------------- */
p a{
	color: #235499; /* #6b8c06; */ 
	text-decoration:none;

}
p a:hover{
	text-decoration:none;
	border-bottom: 1px dotted;
}
h1 a{
	color:#235499;
}
h1 a:hover{
	text-decoration:none;
}
li a{
	color:#235499;
}
li a:hover{
	text-decoration:none;
}

a.social{
	font-variant: small-caps;
	letter-spacing: 1px;
}

span.sidenote {
	color: #444444;
	text-decoration: none;
	font-variant: normal;
	letter-spacing: 0px;
}


/*ALL THE TRIMMINGS
-------------------------------------------------------- */
blockquote p{
	font-size:1.2em!important;
	line-height:1.5em!important;
	margin-bottom:1.5em!important;
	font-style:italic;
	font-weight:bold;
}
blockquote p cite{
	font-style:normal;
}
.generic strong{
	font-variant:small-caps;
}
.generic em{
	font-style:italic;
	font-weight:inherit;
}
.amp{ /* Give those ampersands a right sexy look */
	font-family:Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", serif;
	font-style:italic;
	font-weight:normal;
	line-height:inherit;
}
abbr{
	border-bottom:1px dotted #666;
	border-color:inherit;
	cursor:help;
}
.clear{
	clear:both;
}
.right-float{ /* Float any item to the right */
	float:right;
	margin-left:2em;
	margin-right:0;
}
.left-float{ /* Float any item to the left */
	float:left;
	margin-right:2em;
	margin-left:0;
}
.code{ /* Styling for and code type items */
	font-family:Courier, "Courier New", monospace;
	background:#ddd;
	font-size:1em;
}

.noborder{ /* The border at the top of grid */
	border-top: 0px;  
}

/*-------------------------------------------+
|                                            |
|               IMAGE STYLES                 |
|                                            |
+-------------------------------------------*/
img{
	font-size:1em;
}
img.left-img{ /* Float any image to the LEFT and give it some margin */
	font-size:1em;
	float:left;
	padding:4px;
	border:1px solid #ccc;
	margin-bottom:1.8em;
	margin-right:2em;
	margin-top:0.3em;
}
img.right-img{ /* Float any image to the RIGHT and give it some margin */
	font-size:1em;
	float:right;
	padding:4px;
	border:1px solid #ccc;
	margin-bottom:1.8em;
	margin-left:2em;
	margin-top:0.3em;
}
/*CONTACT FORM STYLES
-------------------------------------------------------- */
#contact-form{
}
#contact-form label{
	width:10em;
	float:left;
	margin-top:0.6em;
}
#name, #form-email, #url, #location{
	width:42.7em;
	height:20px;
	padding:3px;
	padding-top:5px;
	border:2px solid #666;
	margin-bottom:18px;
	background:#fff !important;
}
#comments{
	width:43.8em;
	height:10em;
	padding:3px;
	border:2px solid #666;
	margin-bottom:18px;
	overflow:auto;
	background:#fff !important;
}
#name:active, #form-email:active, #url:active, #location:active, #comments:active, #submit:active, #name:focus, #form-email:focus, #url:focus, #location:focus, #comments:focus, #submit:focus{
	border:2px solid #000;
}
#submit{
	clear:both;
	padding:5px;
	border:2px solid #666;
	background:#fff !important;
	cursor:pointer;
	margin-left:9em;
}
#reset{
	clear:both;
	padding:3px;
	border:none;
	background:#f00 !important;
	cursor:pointer;
	float:right;
	color:#fff;
	margin-top:-28px;
}
/*-------------------------------------------+
|                                            |
|                LIST STYLES                 |
|                                            |
+-------------------------------------------*/
ul{
	margin-bottom:1.8em;
	list-style:square inside;
}
ul li{
	font-size:1.2em;
	line-height:1.5em;
}
ul li.caption{ /* Apply this class to the first list item in a list to give it a caption */
	font-variant:small-caps;
	list-style:none;
	color:#000;
}
li > ul, li > ol{
	margin-bottom:0;
	margin-left:5em;
}
li > ul li, li > ol li{
	font-size:1em;
}
ol{
	margin-bottom:1.8em;
	list-style:decimal inside;
}
ol li{
	font-size:1.2em;
	line-height:1.5em;
}
/*-------------------------------------------+
|                                            |
|               MISC. STYLES                 |
|                                            |
+-------------------------------------------*/

td {
	vertical-align: top;
	padding-right: 15px;
	/* maybe need to make fixed width */
}



/*

	"I could eat a knob at night"
		-	Karl Pilkington

*/