/*HANSdoc Database stylesheet*/

body {
	margin: 0;
	padding: 0;
	position: absolute;
	width: 100%;
	background-color: #E5F5FC;
	background-image: url("../images/iceland.jpg");
	background-attachment: fixed;
	background-position: center;
	font-family: sans-serif;
}

a:link, a:visited {
	text-decoration: none;
	border-bottom: 1px solid #FF0030;
	color: black;
}

a:hover {
	color: #FF0030;
}

header, main {
	margin: 0 auto 40px auto;
	width: 75%;
	background-color: white;
	padding: 20px 50px 20px 50px;
}

#headertitle {
	background-image: url("../images/AAAVessels.jpg");
	background-size: 100%;
	background-position: center top;
	font-family: sans-serif;
	color: #FFFFFF;
	position: relative;
	text-shadow: -2px 0 #505050, 0 2px #505050, 2px 0 #505050, 0 -2px #505050;
}

#headertitle.archives, #headertitle.docid, #headertitle.documentation {
	background-image: url("../images/AAAdocument.jpg");
}

#headertitle.people, #headertitle.people2 {
	background-image: url("../images/AAAPersons.jpg");
}

#headertitle.places, #headertitle.places2 {
	background-image: url("../images/AAAPlaces.jpg");
}

#headertitle.commodity, #headertitle.commodity2, #headertitle.doccom {
	background-image: url("../images/AAACommodities.jpg");
}

#headertitle h1 {
	font-size: 50px;
	margin: 0;
	padding: 20px 0 5px 50px;
}

#headertitle h2 {
	font-size: 30px;
	margin: 0;
	padding: 5px 0 30px 50px;
	font-style: italic;
}

#headertitle img {
	position: absolute;
	bottom: 20px;
	right: 20px;
	width:12%;
	float:right;
	margin-left: 5px;
}

#headertitle img[src="images/leibnizlogo.png"] {
	right: 15%;
	bottom: 0;
}

#headertitle img[src="images/NorFishlogo.png"] {
	right: 28%;
}

nav {
	height:45px; 
	background:#009DE0; 
	color: #FFFFFF;
	position: relative;
}

nav a:link, nav a:visited {
	color: #FFFFFF;
	border-bottom-style: none;
}

nav ul {
	padding: 0 0 0 40px;
	list-style: outside none none; 
	font-weight:bold;
	margin: 0;
}

nav ul li {
	display:inline-block; 
	line-height:45px; 
	padding:0 1em;
}

nav ul li:hover, nav ul li:hover a, nav ul a:hover {
	background:#FFFFFF; 
	color: #009DE0;
}

#searchform h3 {
	margin: 0;
	display: table-cell;
	width: 15%;
}

#searchform form {
	padding-bottom: 10px;
	padding-top: 10px;
	display: table;
	width: 100%;
}

#searchform aside {
	display: table-cell;
	width: 50%;
	font-style: italic;
	vertical-align: top;
	background-color: #e6f5ff;
	padding-left: 2px;
}

.actualform {
	display: table-cell;
	padding-right: 10px;
}

input, select {
	border: 1px solid #009DE0;
	padding: 5px;
	margin-bottom: 5px;
	font-family: sans-serif;
}

select {
	background-color: #FFFFFF;
}

select, input:not([size]) {
	width: 75%;
}

select[name="varArchive"] {
	width: 60%;
}

input[type="submit"] {
	float: right;
	width: 20%;
	background-color: 
}

#searchform form:not(:last-of-type) {
	border-bottom:	1px dotted #009DE0;
}

figure {
	float: right;
	width: 30%;
	margin: 0 0 10px 30px;
}

figure img {
	width: 100%;
}

.historicalnames {
	background-color: #E6F5FF;
	font-style: italic;
}

.result:not(:last-of-type) {
	border-bottom:	1px dotted #009DE0;
}

.transcript {
	position: relative;
	float: right;
	margin-bottom: -40px;
	top: -50px;
}

.summary {
	clear: both;
}

.date {
	display: inline;
	font-weight: bold;
	float: left;
	width: 49%;
	position: relative;
	top: -20px;
	margin-bottom: -15px;
}

.date:empty {
	display: none;
}

.place {
	display: inline;
	font-weight: bold;
	float: right;
	text-align: right;
	width: 49%;
	position: relative;
	top: -20px;
	margin-bottom: -15px;
}

.place:empty {
	display: none;
}

.comment {
	font-style: italic;
	font-size: 80%;
}

.copyright {
	text-align: right;
}

.subdiv {
	margin-top: 40px;
	font-size: 100%;
	font-weight: bold;
}

.text sup a:link, .text sup a:visited {
	border: 1px solid #FF0030;
	text-decoration: none;
	font-size: 80%;
	color: black;
	padding: 0 2px 0 2px;
}

.text sup a:hover {
	background-color: #E5F5FC;
	color: #FF0030;
}

#tableContents {
	margin-top: 20px;
}

#tableContents ul {
	list-style-type: none;
	margin-left: 0;
	padding: 0;
}

.frontpage-list li:not(:last-of-type) {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom:	1px dotted #009DE0;
	clear: both;
}

.frontpage-img {
	width: 40%;
	float: right;
	padding: 0;
	margin: 0 0 10px 10px;
}

.frontpage-img img {
	width: 100%;
}

.frontpage-img a {
	border-bottom: none;
}

.frontpage-img figcaption {
	font-size: 80%;
}

#map {
	width: 300px; height: 180px; float: right;
}
#myTable {
        border-collapse: collapse;
}

#myTable th, #myTable td {
        border: 1px solid black;
        text-align: left;
        padding: 3px;
}

