﻿/* TOMMI mix */
div.pages .current {
	color: white;
}

div#content div.ad {
	text-align: center;
}

body { 
	font-family: verdana, sans-serif;
	font-size: 12px;
	line-height: 1.5em;
	margin: 0;
	padding: 0;
	background: #FFFFFF /*url("http://www.nfmh.is/img/body-pattern.gif")*/;
	color:#404040;

}
table {
	font-size: 10px;
	border-collapse: collapse;
	}
a, a:visited {
	color: black;
	text-decoration: none;
	}
a:hover {
	color:#424242;
	}
label, th {
 	font-weight: bold;
	font-size: 10px;
	}
select {
	font-family: verdana, sans-serif;
	font-size: 10px;
	}
head:first-child+body blockquote {
	border-left: 1px black dotted;
	margin: 0px 0px;
	padding: 4px 4px 8px 8px;
	background: url("http://www.nfmh.is/img/blockquote.gif") no-repeat 9px 4px;
	color: #424242;
	}
blockquote h3 {
	margin: 0;
	padding: 0 0 3px 48px;
	font-size: 90%;
	}
blockquote p {
	margin: 0;
	font-size: 80%;
	}

b {
	font-weight: bold;
	}
u {
	text-decoration: underline;
	}
i {
	}
h2 {
	font-size: 120%;
	}
h3 {
	font-size: 105%;
	}

hr {
	border: 1px #e0e0e0 dotted;
	height: 1px;
	}


.ad {
	border: 0;
	padding-top:5px;
	padding-bottom: 3px;
	}

#sidebar .ad {
	border:0;
	background-color:#FFFFFF;
	margin:-1px;
	text-align:center;
	}

#top-ad {
	position:absolute;
	top:260px;
	overflow:visible;
}

.decoration, .decoration th {
	background: #fff;
	margin: 0;
	padding: 6px;
	border-top: 1px #e0e0e0 solid;
	border-left: 1px #e0e0e0 solid;
	}
.decoration th {
	border-left: 0;
	}

#container {
	margin:0px auto;
	padding:0 10px;
	margin-left: -390px;
	position: relative;
	left: 50%;
	text-align: left;
	background: url("http://www.nfmh.is//layout/default/grar-kassi-750x100.jpg") repeat-y;
	width: 750px;
	}

/* Owen's hack */
head:first-child+body #container { 
	background: url("http://www.nfmh.is//layout/default/grar-kassi-750x100.jpg") repeat-y;
	}

/* body */

#body {
	width: 738px;
	padding-top:248px;
	padding-right:20px
	}

/* head */

#head {
	margin-left:-375px;
	position: absolute;
	left: 50%;
	width: 705px;
	margin-right:80px;
	margin-top:-10px;
	overflow:visible;
	}

head:first-child+body #head {
	margin-left: -375px;
	}

/* header */

#header {
	background: url("http://www.nfmh.is//layout/default/head-header1.jpg") no-repeat top center;
	height: 210px;
  	width: 720px;
	margin-left:20px;
	}

#header h1 {
	font-size: 120%;
	visibility: hidden;
	padding: 0;
	margin-right:10px;
}

/* navigation */



#nav {
  	width: 715px;
	float: left;
	
	padding-top: 4px;
	font-size: 80%;	
	background-color: #007BC0; 
	text-align: center;
	color:white;
	background-color:#007bc0;
	margin-left:10px;
	padding-left:5px;
	margin-top:-16px;
	}
head:first-child+body #nav {
	margin-left:20px;
}  
#nav ul {
	margin-left:10px;
	margin-top:-3px;
	padding: 0;

	}

#nav li {
	float: left;
	margin-right:5px;
	padding-right:0;
	list-style: none;
	background-color:#acceed;
	color:gray;
	}

#nav a {
	float:left;
	text-decoration: none;
	color: white;
	font-weight: bold;
	background: #007bc0 no-repeat;
	padding: 6px 10px 6px 10px;
	border-bottom: 1px #007bc0 solid;
	border-right: 1px #007bc0 solid;
	border-left: 1px #007bc0 solid;
	}

/*

#nav-news a {
	background-image: url("http://www.nfmh.is/img/nav-news.gif");
	}
#nav-forums a {
	background-image: url("http://www.nfmh.is/img/nav-forums.gif");
	}
#nav-gallery a {
	background-image: url("http://www.nfmh.is/img/nav-gallery.gif");
	}
#nav-subpages a {
	background-image: url("http://www.nfmh.is/img/nav-statictext.gif");
	}
#nav-help a {
	background-image: url("http://www.nfmh.is/img/nav-help.gif");
	}
#nav-statictext a {
	background-image: url("http://www.nfmh.is/img/nav-statictext.gif");
	}
#nav-settings a {
	background-image: url("http://www.nfmh.is/img/nav-settings.gif");
	}
#nav-groups a {
	background-image: url("http://www.nfmh.is/img/box-skaramuss.gif");
	}

*/

#group-page h2 {
        color:white;
        background: url("http://www.nfmh.is//layout/default/dokk-blatt-solid.jpg") top left no-repeat;
}
#group-page h2:before {
        content:url("http://www.nfmh.is//layout/default/arrows.jpg");
        padding-left:3px;
        padding-right:4px;
} 


#nav a.active{
	color:#000;
	border-bottom:1px #007bc0 solid;
	background-color: #acceed;
}

#nav a:hover {
	color: #000;
	background-color: #acceed;
	border-bottom: 1px #acceed solid;
	}

/* active  */
#nav .active a {
	background-color:#acceed;
	color:#000;
	border-bottom: 1px #acceed solid;
	}

/* breadcrump */

#breadcrumb {
	clear: right;
	color:#424242;
	background: #acceed /*url("http://www.nfmh.is/img/breadcrumb-bg.gif") repeat-x bottom left*/;
	padding: 3px 3px 3px 10px;
	margin-left:20px;
	margin-right:0px;
	font-size: 80%;
	border-bottom: 24px solid #fff;
	height:14px;
	width:707px;
	}

head:first-child+body #breadcrumb {
	height:34px;
	border-bottom:1px solid #fff;
} 


#breadcrumb ul {
	margin-left: 3px;
	padding-left: 0;
	display: inline;
	border: none;
	} 
#breadcrumb ul li {
	margin-left: 0px;
	padding-left: 2px;
	border: none;
	list-style: none;
	display: inline;
	}

/* content */

#content {
	margin-top:65px;
	margin-left:25px;
	margin-right:10px;
	margin-bottom:0px;
	padding:0px;
	height:80%;
	background-color:#acceed;
	color:#424242;
	width:503px;
	}

head:first-child+body #content {  
	margin-top:75px;
	margin-left:20px;
	padding:0px;
}

/* sidebar */

#sidebar {
	float: right;
	width: 194px;
	margin-top: 0px;
	background-color:#ACCEED;
	}
#sidebar h3, #sidebar p, #sidebar li, #sidebar span {
	padding-left: 20px;
}

#sidebar h3 {
	margin: 0px;
	font-size: 110%;
	background: #007BC0 no-repeat 0 2px;
	}
#sidebar span {
	font-size: 80%;
	background-color: #ACCEED;
	}
#sidebar ul, #sidebar p {
	background-color: #ACCEED;
	margin: 0;
	font-size: 80%;
	list-style: none;
	}
#sidebar li {
	background: no-repeat 0 2px;
	}


form {
	padding: 0;
	margin: 0;
	font-size: 90%;
	}
input {
	width: 93%;
	vertical-align: middle;
	font-size: 110%;
	font-family: verdana, sans-serif;
	}
input.text {
	width: 465px;
	color:black;
	}
input.checkbox {
	width: 20px;
	vertical-align: middle;
	text-align: left;
	color:black;
	}
input.submit, input.button {
	margin-top: 4px;
	width: 100px;
	padding: 1px 3px 1px 3px;
	background: #acceed url("http://www.nfmh.is/img/frm-submit.gif") no-repeat 100px 1px; 
	color:black;
	}
input.submit {
	padding-left: 16px;
	background: #acceed url("http://www.nfmh.is//layout/default/frm-submit.gif") no-repeat 3px 1px; 
	color:black;
	}
#sidebar input.submit {
	background: #acceed url("http://www.nfmh.is//layout/default/frm-submit.gif") no-repeat 3px 0; 
	color:black;
	}
textarea {
	width: 465px;
	height: 300px;
	font-size: 110%;
	font-family: verdana, sans-serif;
	color:black;
	}
iframe {
	border: 1px dashed #f2f2f2;
	width: 300px;
	height: 100px;
	padding: 5px;
	float: right;
	margin: 0 30px 5px 5px;
	}

/* Boxes. Mainly Color schemes and img's/logos */

/* Notendaboxið */
#box-user h3 {
	background: url("http://www.nfmh.is//layout/default/dokk-blatt-solid-minni.jpg") no-repeat;
	color:#fcfafa;
	padding-bottom:5px;
	padding-top:3px;
	height:20px;
	}
	
#box-user h3:before{
	content: url("http://www.nfmh.is//layout/default/arrows.jpg");
	padding-left:0px;
	padding-right:4px;
}

#box-user li {
	margin-left:-20px;
	background: url("http://www.nfmh.is/http://www.simnet.is/hlynzit/nfmh/umslagid-fagra-blatt.jpg") left no-repeat;
}

#newm div:after{
	content: url("http://www.nfmh.is//layout/default/umslagid-fagra.jpg");
}
	
/* Login boxið */
#box-login h3 {
	background: url("http://www.nfmh.is//layout/default/dokk-blatt-solid-minni.jpg") no-repeat;
	color:white;
	margin-bottom:10px;
	position:relative;
	}

#box-login h3:before{
        content:url("http://www.nfmh.is//layout/default/arrows.jpg");
	padding-left:2px;
	padding-right:4px;
}
	

/*Skaramúss boxið */
	
#box-skaramuss a {
	color:#fcfcfa
}
#box-skaramuss {
	color:#424242;
	}
#box-skaramuss h3 {
	background:url("http://www.nfmh.is//layout/default/dokk-blatt-solid-minni.jpg") no-repeat;
	color:#fcfafa;
	}
	
/* Afmælisbarna boxið */
#box-birthday h3 {
        background:url("http://www.nfmh.is//layout/default/dokk-blatt-solid-minni.jpg") no-repeat;      
	color:#fcfafa;
	}
#box-birthday li {
	background: #acceed url("http://www.nfmh.is//layout/default/misc-user.gif") no-repeat;
	color:gray;
	}
#box-birthday ul {
	padding-left: 10px;
	}
	
/* Döfin boxið */

#box-events h3 { 
        background:url("http://www.nfmh.is//layout/default/dokk-blatt-solid-minni.jpg") no-repeat;      
}

#box-events ul {
	padding-left: 0px;
	color:#424242;
	}
#box-events a {
	color:#000;
}

#box-events-h3 a {
	color:#fff;
}	
	
/* Innskráða boxin */
#box-online h3 {
        background:url("http://www.nfmh.is//layout/default/dokk-blatt-solid-minni.jpg") no-repeat;      
	color:#fcfafa;
	}
#box-online li {
	background: #acceed url("http://www.nfmh.is//layout/default/misc-user.gif") no-repeat;
	color:gray;
	}
#box-online ul {
	padding-left:10px;
}
#box-online li:before {
	content: "-";
}

/* Útlitsveljarabox */
#box-layout h3 {
        background:url("http://www.nfmh.is//layout/default/dokk-blatt-solid-minni.jpg") no-repeat;      
	color:#fcfafa;
	}
#box-layout ul {
	list-style-type: decimal;
	padding-left: 30px;
	}
#box-layout li {
	padding-left: 0px;
	}

/* Horizontal ruler, hvíta bilið milliboxa */

.box-hr {
	height:10px;
	background-color:#fcfafa;
	color:#fcfafa;
}

/* Haiku */

#box-haiku h3 {
	background: #007BC0 url("http://www.nfmh.is/img/box-haiku.gif") no-repeat ;
	color:#fcfafa;
	}

/* Owen's hack */
head:first-child+body #box-styles ul a, #box-layout ul a {
	display: block;
	}

#box-login, #box-birthday, #box-haiku, #box-events, #box-skaramuss, #box-online, #box-layout, #box-user {
	margin-bottom: 10px;
	}

/* footer */

#footer {
	clear: both;
	margin-left:20px;
	margin-top: 40px;
	color:white;
	background-color:#007bc0
	}
#footer p {
	font-size: 80%;
	padding: 7px 0;
	margin: 0;
	line-height: 1.4em;
	text-align: center;
	color:white;
	background-color:#007bc0;
	}


	/* Article (News) */
#articleWrapper {
	border-top:1px solid #000;
}


	/* Events */


	/* Forums */
#mod-forumsView {
	border-spacing: 0;
	width:505px;
	}
#mod-forumsView h2 {
	color:white;
}

#mod-forumsView table {
	width: 100%;
	}
#mod-forumsView h3 {
	font-size: 100%;
	margin: 0;
	color:white;
	background:url("/layout/default/dokk-blatt-solid.jpg") no-repeat center;
	}
#mod-forumsView p {
	font-size: 80%;
	margin: 0;
	color: #666;
	line-height: 1em;
	}
#mod-forumsView th {
	background: #007bc0;
	color: white;
	font-size: 80%;
	padding: 5px 5px 5px 5px;
	height: 25px;
	}
#mod-forumsView td {
	padding: 5px;
	}
#mod-forumsView .center {
	text-align: center;
	}


	/* Threads */
#mod-forumView {
	line-height: 1.1em;  
	padding:15px 5px 5px 5px;
	margin-top:20px;
		
}
#mod-forumView h2 {
        color:white;
        background: url("http://www.nfmh.is//layout/default/dokk-blatt-solid.jpg") top left no-repeat;
}
#mod-forumView h2:before {
        content:url("http://www.nfmh.is//layout/default/arrows.jpg");
        padding-left:3px;
        padding-right:4px;
} 

#mod-forumView table {
	width: 100%;
	margin-top:10px;
	}
#mod-forumView th {
	border-bottom: 1px #f0f0f0 solid;
	border-right: 1px #f0f0f0 solid;
	border-top: 1px #e0e0e0 solid;
	border-left: 1px #e0e0e0 solid;
	background:#007bc0;
	height: 25px;
	padding-bottom:0px;
	color:white;
	}

#mod-forumView h2 {
	margin: -15px -10px 0px -5px;
        padding-left:20px;
        padding-top:3px;
        padding-right:5px; 
        padding-bottom:10px;
        background-color:#007bc0;
        color:white;      
        background: url("http://www.nfmh.is//layout/default/dokk-blatt-solid.jpg") top left no-repeat; 
}

#mod-forumsView h2:before {
	content: url("http://www.nfmh.is//layout/default/arrows.jpg");
	padding-left:2px;
	padding-right:4px;
}

#mod-forumView span {
	margin: 0;
	color: #333;
	}
#mod-forumView td {
	padding: 5px 3px;
	}
#mod-forumView td a {
	font-weight: bold;
	}
#mod-forumView .center {
	text-align: center;
	}
#mod-forumView .zebra td {
	}

.disapproved {
	background: #FF9999;
	}

.postView h2 {
	line-height: 1.1em;
	font-size: 100%;
	margin: 0;
	color:white;
	background-color:#007bc0
	}
.postView p {
	
	}
.postView span {
	font-size: 85%;
	}
.postView {
	border-bottom: 1px #f0f0f0 solid;
	border-right: 1px #f0f0f0 solid;
	border-top: 1px #e0e0e0 solid;
	border-left: 1px #e0e0e0 solid;
	margin: 10px 0 10px 0;
	padding: 10px 10px 0 10px;
	background: #acceed;
	}


.controlpanel h2 {
        color:white;
        background: url("http://www.nfmh.is//layout/default/dokk-blatt-solid.jpg") top left no-repeat;
}
.controlpanel h2:before {
        content:url("http://www.nfmh.is//layout/default/arrows.jpg");
        padding-left:3px;
        padding-right:4px;
} 

.controlpanel {
	padding: 5px 0 5px 0;
	margin: 5px 0 5px 0;
	border-bottom: 1px #e0e0e0 dotted;
	}
.pages {
	padding: 5px 0 5px 0;
	margin: 5px 0 5px 0;
	text-align: center;
	}

span.author:before {
	content: "Höfundur: ";
	}
span.group:before {
	content: " [";
	}
span.group:after {
	content: "] ";
	}
span.date:before {
	content: " / Dags: ";
	}

a.abutton {
	border-bottom: 1px #e0e0e0 solid;
	border-right: 1px #e0e0e0 solid;
	border-top: 1px #fff solid;
	border-left: 1px #fff solid;
	background: #007bc0 /*url("http://www.nfmh.is/img/nav-bg.gif") repeat-x top left*/;
	padding: 3px 6px;
	font-weight: bold;
	font-size: 9px;
	margin: 1px;
	vertical-align: middle;
	text-align:center;
	color:white;
	}
.abuttons {
	padding: 5px 0;
	margin: 5px 0;
	text-align:center;
	background-color: #acceed;
	font-size: 9px;
	color:white;
	}

.invalid {
	color: red;
	}

#browser {
	padding-top: 7px;
	padding-left: 0;
	width: 182px;
	text-align: right;
	}
#browser img {
	border: 0;
	}


/* Form */

/* Statictext */

#mod-statictextView {
	font-size: 10px;
	margin-top:10px;
	}

#mod-statictextModify {
	
	}

#mod-statictextView h2 {
        color:white;
        background: url("http://www.nfmh.is//layout/default/dokk-blatt-solid.jpg") top left no-repeat;
}
#mod-statictextView h2:before {
        content:url("http://www.nfmh.is//layout/default/arrows.jpg");
        padding-left:3px;
        padding-right:4px;
} 

/* Imagegallery */

body #albumPopup {
	background:#acceed;
	padding: 0 15px 0 15px;
	}
#albumPopup div.img {
	text-align: center;
	height: 650px;
	width: 650px;
	}

#albumView table {
	margin: auto;
	width: 495px;
	}

#albumView td {
	vertical-align: middle;
	text-align: center;
	width: 96px;
	height: 96px;
}



#albumView a.thumb {
	display: block;
	width: 96px;
	height: 66px;
	vertical-align: middle;
	text-align: center;
	background-position: center;
	background-repeat: no-repeat;
	margin: 11px 0;
	padding-top:5px;
	border-bottom: 1px #007bc0 solid;
	border-right: 1px #007bc0 solid;
	border-top: 1px #007bc0 solid;
	border-left: 1px #007bc0 solid;
	background-color: #acceed;
	}

#albumView a.thumb:hover {
	border-bottom: 1px #000 solid;
	border-right: 1px #000 solid;
	border-top: 1px #000 solid;
	border-left: 1px #000 solid;
	cursor: pointer;
}

#albumView p {
	font-size: 10px;
	display: none;
	}

/* Skaramuss Members */

#profile h2 {
	color:white;
        background: url("http://www.nfmh.is//layout/default/dokk-blatt-solid.jpg") top left no-repeat;
}
#profile h2:before {
	content:url("http://www.nfmh.is//layout/default/arrows.jpg");
        padding-left:3px;      
        padding-right:4px; 
}

#profile {
	padding-bottom:200px;
}


#profile img {
	margin-right:10px;
	float:right;
	border: 1px #007bc0 solid;
	background-color:#acceed;
	z-index: -1;
	}
#profile ul {
	list-style-type: none;
	}

#index p {
	text-align: justify;
	line-height: 1.1em;
	padding: 0 8px;
	border: 0px #007bc0 solid;
	}
#index img, #eventView img {
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 1.2em;
	background: #acceed;
	padding: 8px;
	border: 0px #007bc0 solid;
	float: right ;
	}

#index .ad img {
margin-left:0;
}
	
#index {
	margin-top:20px;
}

#sidebar {
	margin-top:20px;
}

body {
	margin-left:5px;
}

/* Yfirlit yfir fréttir : */
#index h2 {
	margin: 0px;
	padding-left:5px;
	padding-top:3px;
	padding-right:5px;
	background-color:#007bc0; 
	color:white;
	background: url("http://www.nfmh.is//layout/default/dokk-blatt-solid.jpg") top left no-repeat;

	}

#index h2:before{
	content:url("http://www.nfmh.is//layout/default/arrows.jpg");
	padding-left:2px;
	padding-right:4px;
}

.indexHead {
	background: #acceed;
	color:gray;
/*	border-bottom: 1px #007bc0 solid;
	border-right: 1px #007bc0 solid;
	border-top: 1px #006bc0 solid;
	border-left: 1px #006bc0 solid;
*/	padding: 6px 6px;
}

.indexHead h3 {
	margin: 0;
	}
.indexHead span {
	font-size: 80%;
	}

#message {
	margin: 0 auto;
	padding: 0 16px;
	margin-left: 0px;
	position: absolute;
	left: 50%;
	width: 250px;
	border: 1px #007bc0 solid;
}

hr {
	height: 5px;
	background: #fff;
	border-bottom: 1px #f0f0f0 solid;
	border-right: 1px #f0f0f0 solid;
	border-top: 1px #e0e0e0 solid;
	border-left: 1px #e0e0e0 solid;
	margin-top: 10px;
	margin-bottom: 20px;
	width: 503px;
	}

#mod-postCreate, #mod-postModify {
	margin-top:20px;
	}

#mod-threadView h2 {
	margin: 0px;
	padding-left:5px;
	padding-top:3px;
	padding-right:5px;
	background-color:#007bc0; 
	color:white;
	background: url("http://www.nfmh.is//layout/default/dokk-blatt-solid.jpg") top left no-repeat;
}

#mod-threadView h2:before {
	content:url("http://www.nfmh.is//layout/default/arrows.jpg");
	padding-left:2px;
	padding-right:4px;
}