
/****************************************************************/
/*	margins, padding and default font size of the document body */
/****************************************************************/
	body {
		margin-top:0px;
		padding-top:0px;
		font-size:small;
		/*
		background-image:url(http://baggethun-2/matematikk.net/nydesign/templates/spiffy/images/bg_graph2.gif); 
		*/
		background-image:url(http://www.matematikk.net/templates/spiffy/images/bg_graph2.gif); 
		background-attachment: fixed;
	}

/********************/
/*	Form elements	*/
/********************/
	form {
		margin:0px;
		padding:0px; }
	input, textarea, select {
		color : #000000;
		font: normal x-small Verdana, Arial, Helvetica, sans-serif;
		border:1px inset #000000;
		border-color : #000000;	}
	input.btn_submit {
		width:89px;
		border:1px outset #000000;
		background-color : #FAFAFA;
		font-size:x-small;
		font-weight : bold;
	}


/**************************************************************/
/*	Styles for the overall (global) page-header and page-foot */
/**************************************************************/
	.pagehead {
		margin-top:10px;
		margin-bottom:7px; }
	.foot {
		margin-top:7px; 
		font-family:arial;
		font-size:x-small;
		color:orange;
		text-align:center;
		}
	.foot a { 
		color:#177DCE;
		text-decoration:none;}
	.foot a:hover {
		text-decoration:underline;
		color:red; }
	.exectime {
		font-family:serif;
		font-size:small;
		color:#BABABA;}
/********************************************************************/
/*	Styles for dropdown menus, the main menu inside the page-header */
/********************************************************************/
	div.dropbox {
		position:relative;
		display:none;
		top:-1px;
		left:0px;
		height:0px;
		white-space:nowrap;	}
	div.dropbox a {
		display:block;
		padding:2px;
		width:100%;
		color:#177DCE;
		font-family: verdana, arial, sans-serif;
		text-decoration:none;
		background-color:#EFEFEF;
		font-size:x-small;
		white-space:nowrap;}
	div.dropbox a:hover {
		text-decoration:underline;
		color:#DD6900;
		}
/**********************************************************************/
/*	Styles for the horizontal sub-menus inside the page-header		*/
/**********************************************************************/

	.topmenu {
		cursor:default;
		font-family: arial, sans-serif;
		font-size:x-small;
		background-color:#EFEFEF;
		padding-top:3px;
		padding-left:7px;
		color:#000000; }
	.topmenu span.activeitem {
		background-color:#DADADA;
		color:#000000;
		/* color:#FE9B06; */
		}
	.topmenu a {
		font-weight:normal;
		color:#177DCE;
		text-decoration:none;}
	.topmenu a:hover {
		color:#DD6900;
		text-decoration:underline;
		}
/****************************************/
/*	Styles for the main text contents	*/
/****************************************/
	.main { /* the table cell containing the main contents */
		font-family: verdana, arial, tahoma, sans-serif;
		font-size:small; }
	.main p { /* deafult paragraph settings */
		padding-top:3px;
		margin-top:3px;
		padding-bottom:3px;
		margin-bottom:3px;}
	p.sectiontitle { /* section titles printed by php function template_sectiontitle() */
		margin-top:18px;
		margin-bottom:6px;
		color:#708090;
		font-family: century gothic,arial,verdana,sans-serif; 
		font-weight:bold;
		font-size:large;}
	p.subsectiontitle {/* sub-section titles printed by php function template_subsectiontitle() */
		margin-top:9px;
		margin-bottom:3px;
		font-family: times,serif;
		font-style:italic;
		font-size:large;}
	.pagetitle { /* title printed by php function template_pagetitle() */
		color:#708090;
		margin-top:9px;
		margin-bottom:9px;
		font-weight:normal;
		font-size:x-large; }
	.tabtitle {	/* the text inside the canvas tab. This is a table cell */
		padding-left:10px; 
		padding-right:10px; 
		font-family: century gothic,arial narrow,century gothic, arial, sans-serif; 
		color:#405060;
		font-size:large; 
		/* font-weight:thin; */
		font-style:normal; }
	.toc { /* styles for the in-page table of contents automatically generated by php function template_pagetoc() */
		cursor:default;
		font-size:xx-small;}
	.main a {
		color:#177DCE;
		color:#006699;
		text-decoration:none;}
	.main a:hover {
		color:#DD6900;
		text-decoration:underline;
		}
/****************************************/
/*	Styles for examples					*/
/****************************************/
	div.example {
		font-size:x-small;
		margin-top:10px;
		margin-bottom:10px;
		padding:10px;
		background-color:#F1EDF1;
		border: 1px solid #080009;
		}
	div.example:first-line {
		font-weight:bold; }
	div.example p.question {
		font-family: serif;
		font-size:medium;
		font-style:italic;
		}
/****************************************/
/*	Styles for equations				*/
/****************************************/
	div.equation {
		font-size:x-small;
		margin-top:10px;
		margin-bottom:10px;
		padding:10px;
		background-color:#F8FBC5;
		border: 1px solid #080009;
	}
	table.equationtable {
		font-size:small;
		margin-left:30px;
		background-color:#DADADA;
		border: 1px solid #DADADA;
	}
	table.equationtable td {
		background-color:#FAFAFE;
		vertical-align:top;
	}
	table.equationtable th {
		text-align:left;
		font-weight:normal;
		background-color:#EAEAEE;
	}

/*********************************
 *	Lists
 *********************************/
	dt {
		font-weight:bold; }
	dd {
		margin-bottom:10px;
		margin-left:24px; }
	ul {
		margin-top:5px;
		margin-bottom:5px; }

/*****************************************/
/*	Styles pertaining to the home page  */
/*****************************************/
	table.phpbb_recent td {
		font-family: Arial Narrow, arial;
		padding-right:3px;
		padding-top:3px;
		padding-bottom:3px;
		font-size:x-small; }

	.per_news {
		font-family: verdana, Arial Narrow, arial;
		font-size:x-small;		
		}

	div.per_news ol {
		font-size:x-small;
		font-family: arial narrow;
		padding-left:0px;
		margin: 0px;
		margin-top:3px;
		margin-bottom:3px;
		margin-left:25px;
	}

/*********************************
 *	Styles for special tables	 *
 *********************************/
		table.tabledata {
			font-size:smaller;
			/*
			background-image:url(http://baggethun-2/matematikk.net/nydesign/templates/spiffy/images/bg_gradv_lblue_white_2.jpg);
			*/
			background-image:url(http://www.matematikk.net/templates/spiffy/images/bg_gradv_lblue_white_2.jpg);
			background-repeat: repeat-x;
			background-color:#FFFFFF;
			border:1px #CBD5DB solid; }
		table.tabledata th {
			background-color:#E3E8EE;}

/*************************************
 *	Various styles for special text	 *
 *************************************/
	
	.mediumthintext {
		font-size:medium;
		/* font-weight:thin; */ }
	.smallertext {
		font-size:smaller; }
	.largerboldtext {
		font-size:larger;
		font-weight:bold; }
	div.indent {
		margin-left:2em; }

/*************************************************
 *	Styles pertaining to the right coloumn ads	 *
 *************************************************/
	
	div.adscol {
		margin-left:2px;
		 }
	div.ad_supby {
		color:#ABABAB;
		font-family:arial;
		font-size:xx-small;	}
