/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align: middle;
}

/* Website layout */

body > header {
    text-align: center;
}

body > header > h1 {
    padding-bottom: 15px;
    margin: 20px 0px 15px 0px;
    font-size: 36px;
    border-bottom: 1px solid black;
}

body > main {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}


table[lotukerfistafla] {
	display: inline-block;
    text-align: left;
    white-space: normal;
    overflow:  visible;
}

body > main > aside {
	display: inline-block;
	margin-left: 25px;
    vertical-align:top;
}

body > main > section {
    margin: 10px 4% 0px 4%;
    text-align: right;
}

body > main > section > p {
    display: inline-block;
    text-align: right;
}

/* Lotukerfistafla */

table[lotukerfistafla] > thead > tr > th:nth-child(n+2) {
    text-align: center;
	width: 68px;
	padding-bottom: 1px;
}

table[lotukerfistafla] > thead > tr > th:nth-child(n+2) > p {
	font-weight: normal;
	font-size: 11px;
}

table[lotukerfistafla] > tbody > tr > th {
	width: 32px;
	vertical-align: middle;
    text-align: center;
}

table[lotukerfistafla] > thead > tr > th:nth-child(n+2), table[lotukerfistafla] > tbody > tr > td, table[lotukerfistafla] > tbody > tr > th, table > tfoot > tr > td {
	border: 1px solid black;
}

table[lotukerfistafla] > tbody > tr > td:hover, table > tfoot > tr > td:nth-child(n+3):hover {
	background-color: #ccc;
}

table[lotukerfistafla] > tbody > tr > td[colspan] {
	border-top: none;
	border-bottom: none;
}

table[lotukerfistafla] > tbody > tr > td[colspan]:hover {
	background-color: inherit;
}

table[lotukerfistafla] > tfoot > tr > td:first-child {
	background-color: none;
	border: inherit;
}

table[lotukerfistafla] > tfoot  > tr:first-child {
	height: 25px;
}

table[lotukerfistafla] > tbody > tr > td > header, table[lotukerfistafla] > tfoot > tr > td > header {
	font-size: 12px;
}

table[lotukerfistafla] > tbody > tr > td > aside, table[lotukerfistafla] > tfoot > tr > td > aside {
	font-size: 14px;
}

table[lotukerfistafla] > tbody > tr > td, table[lotukerfistafla] > tfoot > tr > td {
	padding: 0px 3px 1px 3px;
}

table[lotukerfistafla] > tbody > tr > td > article > p, table[lotukerfistafla] > tfoot > tr > td > article > p {
	display: inline;
}

table[lotukerfistafla] > tbody > tr > td > article > h1, table[lotukerfistafla] > tfoot > tr > td > article > h1 {
	display: inline;
	float: right;
}

tr[highlighted] > td:nth-child(n+2) {
	background-color: #ccc;
}

tr[highlighted] > td[selected] {
	background-color: #ccf;
}

td[málmleysingi] {
	background-color: lightgreen;
}

td[eðallofttegund] {
	background-color: lightblue;
}

td[alkalímálmur] {
	background-color: orange;
}

td[jarðalkalímálmur] {
	background-color: yellow;
}

td[hliðarmálmur] {
	background-color: indianred;
}

td[lantaníð] {
	background-color: lightcoral;
}

td[aktiníð] {
	background-color: lightpink;
}

td[málmungur] {
	background-color: limegreen;
}

td[tregurmálmur] {
	background-color: mediumturquoise;
}

td[óþekkt] {
	background-color: plum;
}

td[hidetype] {
	background-color: inherit;
}

td[selected] {
	background-color: #ccf;
}

td[selected]:hover {
	background-color: #ccf;
}

/* Yfirlit yfir hópa */

table[lotukerfisyfirlit]  {
	margin-bottom: 25px;
    text-align: left;
    white-space: normal;
    overflow:  visible;
}

table[lotukerfisyfirlit] > tbody > tr > td {
	border: 1px solid black;
	padding: 2px;
}

table[lotukerfisyfirlit] > tbody > tr > td:nth-child(2) {
	vertical-align: middle;
}

/* Lotukerfisdæmi */

table[lotukerfisdæmi] {
	width: 100%;
    text-align: left;
    white-space: normal;
    overflow:  visible;
}

table[lotukerfisdæmi] > tbody > tr > td {
	border: 1px solid black;
	padding: 2px;
}

table[lotukerfisdæmi] > tbody > tr > td > article > p {
	display: inline-block;
	font-size: 22px;
}

table[lotukerfisdæmi] > tbody > tr > td > article > h1 {
	display: inline-block;
	float: right;
	font-size: 22px;
	font-weight: normal;
}

table[lotukerfisdæmi] > tbody > tr > td > article {
	margin-bottom: 22px;
}

table[lotukerfisdæmi] > tbody > tr > td > header {
	margin-bottom: 22px;
	font-size: 22px;
}

table[lotukerfisdæmi] > tbody > tr > td > aside {
	font-size: 22px;
}


