﻿html {
	margin: 0;
	padding: 0;
}

body {
	color: #333;
	background-color: #ad9ea4;
	font-size: 16px;
	font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
	margin: 0;
	padding: 0;
}

.page {
	width: 100%;
	max-width: 1110px;
	min-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

@media only screen and (min-width: 1110px) {
	.page {
		margin-top: 10px;
	}
	body.extern {
		margin-bottom: 50px;
	}
}

a {
	color: #333;
	outline: none;
	padding-left: 3px;
	padding-right: 3px;
	text-decoration: underline;
}

a:link, a:visited, a:active, a:hover {
	color: #333;
}

a:hover {
	background-color: #c7d1d6;
}

#header {
	background-color: #fff;
}

#banner {
	height: 130px;	
	background-repeat: no-repeat;
	background-color:white;
	position: relative;	
}

@media only screen and (min-width: 900px) {
    #banner {
		height: 130px;
        background-image: url('seksja.jpg');
    }
}

@media only screen and (max-width: 900px) {
    #banner {
		height: 80px;
        background-image: url('seksja2.jpg');
    }
}

#banner a, #banner a:hover, #banner a:active {
	background: none;
	color: #c8c8c8;
	outline: none;
	text-decoration: none;
}

#banner a img {
	border: none;
}

#header2 {
	height: 45px;
	background-color: #fcfbc0;
	border-top: 1px solid black;
}

#application {
	float: left;
	font-size: 20px;
	font-weight: bold;
	color: #5c3d13;
	margin-top: 8px;
	margin-left: 15px;
}

#header3 {
	color: #92083d;
	background-color: #e2e2e2;
	height: 30px;
	padding-top: 7px;
}

#action {
	font-size: 18px;
	font-weight: bold;
	display: block;
	margin-left: 15px;
}

table.index {
	margin-top: 0px;
}

table.index td.index-left {
	padding-top: 20px;
	padding-right: 0px;
	width: 300px;
	vertical-align: top;
	text-align: right;
}

table.index td.index-left a.index-url {
	text-decoration: none;
	background-color: transparent;
}

table.index td.index-left img.index-image {
	border: none;
	width: 200px;
}

table.index td.index-right {
	width: 700px;
	vertical-align: top;
	padding-left: 20px;
}

table.index td.index-right p.index-title {
	color: #1f5606;
	font-size: 1.5em;
	font-weight: bold;
}

table.index td.index-right p.index-description {
	color: #6d6a6a;
	font-weight: bold;
}

body.main {
	background-color: white;
}

@media only screen and (min-width: 900px) {
	body.main {
		background-image: url(couple.jpg);
		background-repeat: no-repeat;
	}
}

a.application-image-link {
	color: transparent;
	background-color: transparent;
}

a.application-title:link, a.application-title:visited, a.application-title:active {
	color: #0b3a0b;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	border: none;
}

a.application-title:hover {
	color: #0f6509;
	background-color: transparent;
}

.application-description {
	font-size: 14px;
	font-weight: bold;
}

.clear-fix:after {
	content: ".";
	clear: both;
	display: block;
	height: 0;
	visibility: hidden;
}

h1, h2, h3, h4, h5, h6 {
	color: #000;
	margin-bottom: 0;
	padding-bottom: 0;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.75em;
}

h3 {
	font-size: 1.22em;
	color: #1b0553;
}

h3.title {
	color: #5e3721;
	text-shadow: 0.1em 0.1em 0.2em #716f6f;
}

h4 {
	font-size: 1em;
	color: #4d4f4d;
}

h5, h6 {
	font-size: 1em;
	color: #504d4d
}

h5 a:link, h5 a:visited, h5 a:active {
	padding: 0;
	text-decoration: none;
}

/* main layout
----------------------------------------------------------*/

#body {
	/*background-color: white;*/
	clear: both;
	padding: 20px;
}

@media only screen and (min-width: 900px) {
	#body {
		min-height: 600px;
	}
}

#iframe_content {
	width: 100%;
	max-width: 1110px;
	min-height: 200px;
	background-color: white;
	border: none;
	/*margin: 0;*/
	/*padding: 0;*/
	/*opacity: 0.8;*/
	/*height: 100%;*/
	/*display:block;*/
}

.main-content {
	padding-left: 10px;
	padding-top: 30px;
}

@media only screen and (max-width: 900px) {
    br {
        display: none;
    }
}

#footer {
	text-align: center;
	clear: both;
	background-color: #e2e2e2;
	padding-top: 5px;
	height: 80px;
}

/* DROP DOWN MENU
----------------------------------------------------------*/

#menucontainer {
	background: #444;
	min-height: 40px;
	display: flex;
	flex-wrap: wrap;	
}

#menucontainer ul {
	background: #444;
	list-style: none;
	margin: 0;
	padding: 0;
}

#menucontainer li {
	float: left;
	position: relative;
}

#menucontainer a {
	font-size: 15.5px;
	font-weight: 800;
	color: #fff;
	display: block;
	float: left;
	height: 40px;
	line-height: 40px;
	padding: 0 10px;
	text-decoration: none;
}

#menucontainer ul li ul li a {
	width: 180px;
}

#menucontainer a:hover {
	background: #555;
}

#menucontainer ul ul {
	display: none;
	position: absolute;
	top: 40px;
	left: 0;
	width: auto;
}

#menucontainer ul ul li {
	width: 200px;
}

#menucontainer ul li:hover>ul {
	display: block;
}

/*#menucontainer ul ul ul {
    left: 100%;
    top: 0;
}*/

#title {
	background: lightyellow;
	padding: 10px;
}

/* page elements
----------------------------------------------------------*/

/* features */

section.feature {
	width: 300px;
	float: left;
	padding: 10px;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
	border: 1px solid #ddd;
	padding: 0.3em 1.3em 0.3em 1.3em;
	margin: 0 0 0 0;
}

legend {
	font-size: 1.0em;
	font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
	color: #444;
}

label.checkbox {
	display: inline;
}

input, textarea {
	border: 1px solid #ccc;
	background: #fff;
	color: #333;
	padding: 5px;
	height: 20px;
	width: 200px;
}

select {
	border: 1px solid #ccc;
	background: #fff;
	color: #333;
	height: 26px;
	width: 200px;
	padding: 2px;
}

input[type="text"], input[type="password"], input[type="file"] {
	padding: 2px;
	font-size: 1.2em;
	color: #444;
	height: 20px;
	width: 200px;
	font-size: 1.0em;
	font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
}

textarea {
	font-family: inherit;
	width: 500px;
}

input:focus, textarea:focus {
	border: 1px solid #7ac0da;
}

input[type="checkbox"] {
	background: transparent;
	border: inherit;
	width: auto;
}

input[type="submit"], input[type="button"], button {
	background-color: #d3dce0;
	border: 1px solid #787878;
	cursor: pointer;
	/*font-size: 1.2em;*/
	font-weight: 600;
	padding: 7px;
	margin-right: 8px;
	height: auto;
	width: auto;
}

td input[type="submit"], td input[type="button"], td button {
	font-size: 1em;
	padding: 4px;
	margin-right: 4px;
}

/* tables
----------------------------------------------------------*/

table {
	border-collapse: collapse;
	border-spacing: 0;
	margin-top: 0.75em;
	border: 0 none;
}

th {
	font-size: 1em;
	text-align: left;
	border: none 0px;
	padding-left: 0;
}

th a {
	display: block;
	position: relative;
}

th a:link, th a:visited, th a:active, th a:hover {
	color: #333;
	font-weight: 600;
	text-decoration: none;
	padding: 0;
}

th a:hover {
	color: #000;
}

th.asc a, th.desc a {
	margin-right: .75em;
}

th.asc a:after, th.desc a:after {
	display: block;
	position: absolute;
	right: 0em;
	top: 0;
	font-size: 0.75em;
}

th.asc a:after {
	content: '▲';
}

th.desc a:after {
	content: '▼';
}

td {
	padding: 0.25em 2em 0.25em 0em;
}

table.horizontal-layout {
	width: 1070px;
}

table.horizontal-layout td.horizontal-layout {
	vertical-align: top;
	padding: 5px;
}

table.vertical-layout {
	width: 100%;
	margin-top: 0px;
}

table.vertical-layout td.vertical-layout {
	padding-top: 0px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
}

table.panel {
	border: 1px solid #d5dbe0;
	margin-top: 0px;
	width: 100%;
}

table.panel td.header {
	padding: 5px;
	font-weight: bold;
	background-color: #F0F0F0;
}

table.panel td.body {
	padding: 5px;
}

table.category {
	width: 180px;
	margin-top: 0px;
	margin-right: 0px;
}

table.category td.category {
	padding: 2px;
}

table.category td.category a.category {
	display: block;
	width: 182px;
	text-decoration: none;
	background-color: transparent;
	color: grey;
	font-weight: bold;
}

table.category td.category a.category:hover {
	background-color: #F0F0F0;
}

@media (min-width: 900px) {
	#table {
		height: 750px;
	}
}

#table tr td.table-left {
	width: 280px;
}

@media only screen and (max-width: 900px) {
	#table tr td.table-left {
		display: none;
	}
}

@media only screen and (max-width: 900px) {
	#table tr td.table-center {
		vertical-align: top;
		max-width: 500px;
	}
}

@media only screen and (max-width: 1100px) {
	#table tr td.table-right {
		display: none;
	}
}

/* forms */

input {
	width: 90%;
}

div.partner {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}

div.partner a {
	background-color: transparent;
	text-decoration: none;
}

div.partner a img {
	border: 3px solid lightgray;
	width: 200px;
}

img.advertise {
	border: 3px solid #dddddd;
}

img.advertise:hover {
	border: 3px solid #cccccc;
}