/* -------------------------------------------------------------- 

   typography.css
   * Sets up some sensible default typography.
   
-------------------------------------------------------------- */

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
html { font-size:100.01%; }
body { 
  font-size: 75%;
  line-height: 1.5;
  color: #222; 
  background: #fff;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

/* Font resizing */
body.small 	{ font-size: 62.5%; }
body.medium { font-size: 80%; }
body.large  { font-size: 100%; }

/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }

h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; }
p img.left  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }
p.lead-in { font-weight: bold; }

a:focus, 
a:hover     { color: #000; text-decoration: underline; }
a           { color: #003399; text-decoration: none; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre 				{ margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th 		{ background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td  { background: #e5ecf9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }




/* Import fra Meløy */
#main-content h2,#main-content h3,#main-content h4,#main-content h3.header {
	font-family: Georgia, "Nimbus Roman No9 L", "Times New Roman", Serif;
	font-weight: normal;
	letter-spacing: .05em;
}

#main-content .front-box p,
#main-content .front-box-blue p {
	margin: 0 10px 5px 10px; 
}

#main-content .article-box p {margin-right: 10px; margin-left: 10px;}
#main-content .yellow-black-box p { 
	color: yellow;
	margin-top: 1em;
}

#main-article h3, #main-article h4, #main-article h5 {
	font-family: 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif;
	letter-spacing: 0;
	text-transform: none;
	font-weight: bold;
	margin: 0 8px .2em 8px;
}
#main-article h3 { font-size: 1.6em; }
#main-article h4 { font-size: 1.3em; }

#main-article h3.header { text-transform: none; font-size: 1.75em; border-bottom: 1px solid #ccc; margin: 0; padding: 0 8px .2em;}

#left-content .nav-box h3 { 
	text-transform: none;
	font-size: 1.5em;
	border-bottom: 1px solid #eee;
	padding: .2em .4em;
	margin: 0;
}

#right-article h4 {
	text-transform: none;
	letter-spacing: 0;
	padding: 0 8px .25em 8px;
	margin-bottom: .25em;
	border-bottom: 1px solid #ccc;
}

#main-content .front-box h2,
#main-content .article-box h2,
#main-content .front-box-blue h2 {
	font-size: 1.5em;
	color: #333;
	border-bottom: 1px dotted #ccc;
	padding: 0 8px;
	margin-bottom: 5px;
}

#main-content .article-box h2 {
	border-bottom: 1px solid #eee;
	text-transform: none;
	font-size: 2.5em;
	margin-bottom: 0;
}

#main-content .front-box-blue h2 { border-color: #fff; }

#main-content .yellow-black-box h2 {
	color: yellow;
	border-color: yellow;
}
