﻿@import url("styles_reset.css");
/* @import url('https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,500,700,900'); */
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

:root{
    --main-color:
    #3177a6;
    --secondary-color:
    #8bbeba;
    --third-color:
    #000000;
/*    #827548; */

}
#foo{
    color: var(--main-color);
}

body {
	margin: 0px 0px 50px 0px;
	font-family: 'Open Sans', helvetica, arial;
	font-size: 13px;
/* 	font-family: 'Lato', sans-serif; */
/* 	background-image: url('images/'); */
/* 	background-size: contain; */

	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

h1, h2, h3, h4, h5, h6 {
	margin-bottom: 17px;
}

h1 {
	font-size: 28px;
	font-weight: 500;
	line-height: 32px;
	color:#3c3c3c;
}

h2 {
	font-size: 18px;
	font-weight: 400;
}

h3 {
	font-size: 15px;
}

p {
	font-size: 12px;
	font-weight: 300;
	line-height: 22px;
	color:#949494;
	margin-bottom: 22px;
/* 	text-decoration: underline; */
	
}

img {
}

b, strong {
	font-weight: bold;
}

i {
	font-style: italic;
}

sup {
	vertical-align: super;
	font-size: 50%;
}

#page_content a:link, #footer a:link {
    color: var(--main-color);
    text-decoration: none;
}

#page_content a:visited, #footer a:visited {
    color: var(--main-color);
    text-decoration: none;
}

#page_content a:hover, #footer a:hover {
    color: var(--main-color);
    text-decoration: underline;
}

#page_content a:active, #footer a:active {
}

#frame {
	width: 90%;
	margin: 0px auto;
	padding: 0px;
/* 	border: solid 1px black; */
/* 	background-color: rgba(255,255,255,0.8); */
}

#header {
	width: 100%;
	height: 40px;
	margin-top: 40px;
	margin-bottom: 120px;
/* 	border: solid 1px blue; */
}

#header_right_element {
	width: 200px;
	float: right;
	margin-top: 0px;
	margin-right: 0px;
}

#menu_dropdown {
 	display: inline-block;
	margin: 0px auto 20px auto;
	float: right;
/* 	border: solid 1px yellow; */
}

#show_menu {
	visibility: hidden;
	position: absolute;
	top: 44px;
	right: 22px;
	width: 30px;
	height: 30px;
}

#menu_dropdown_right_element { /* where the language chooser flags are */
	float: right;
	margin-top: 10px;
	margin-right: 10px;
}

#footer {
	width: 100%;
/* 	border: solid 1px purple;  */
}

.clearer { clear: both; }


/* FRONTPAGE CSS */

#frontpage_content {
	width: 100%;
	height: 550px;
}


/* PAGE CSS */

#page_content {
	width: 100%;
	height: auto;
	margin-bottom: 20px;
 	border-top: solid 1px var(--main-color);
 	padding-top: 32px;
}

#main {
	float: left;
	width: 70%;
	min-height: 300px; /* som forside men minus 20px top padding/margin */
	margin-right: 0px;
	}

#main img {
	width: 100%;
	height: auto;
	max-height: 900px;
	object-fit: contain;
	object-position: left;
	display: block;
	margin: 0px 20px 20px 0px;
}

#main .plan_drawing {
	max-height: 750px;
	width: auto;
	max-width: 100%;
}

#main video {
	width: 100%;
	height: auto;
}

#main iframe { /* 360 */
	width: 100%;
	height: 485px;
}

.image-align-right {
	float: right;
}

.image-align-left {
	float: left;
}

#main ul {
	list-style: square;
	list-style-position: inside;

	font-size: 15px;
	font-weight: 900;
	line-height: 16px;
}

#main ul li {
	margin-bottom: 15px;
}


/* HOMES */

#Layer_1, #Layer_2, #Layer_3 {
    position: relative;
	left: 50%;
	width:100vw;
	margin-left: -50vw;
}

#svgcontroller {
	width: 350px;
	margin: 0 auto;
	text-align: center;
}

#svgcontroller img {
	width: 45px;
	height: auto;
	margin: 0px 20px 0px 20px;
}

#homes {
/* 	border: solid red 1px; */
}

#homes div:nth-of-type(4n){
    margin-right: 0px;
}

#sliders_container {
	width: 1000px;
	margin: 0px auto;
}

/*
.slider { fra standard imagix cms - slaaet fra pga inkompatibilitet med slick
	float: left;
	width: 203px;
	overflow: hidden;
	padding: 15px;
	margin-right: 20px;
	margin-bottom: 20px;
	text-align: center;
}
*/

hr {
	height: 1px;
	color: #000;
	margin: 20px 0px 20px 0px;
}


/* HOME LISTING */

.home {
	width: 100%;
	padding-top: 12px;
	padding-bottom: 12px;
	clear: both;
	border-bottom: 1px solid #BBB;
	font-size: 18px;
	font-weight: 900;
	color: #000;
	overflow: auto;
}

.home:nth-child(odd) {
	background-color: #EEE;
}

.home:nth-child(1), .home:nth-child(1):hover {
	background-color: #3177a6;
	color: #FFF;
}

.home:hover {
	background-color: #3177a6;
}

.home img {
	width: auto;
 	height: 40px;
}

.home .col {
	float: left;
	padding-top: 10px; /* default top padding */
	width: 13%; /* default width */
}

.home .col:nth-child(1) {
	padding-top: 0px; /* foerste kolonne med billede har ingen top-padding */
}

.home .col:nth-child(2) {
	width: 32%;
}

.home .col:nth-child(3) {
	width: 16%;
}

.home .col:nth-child(4) {
}

.home .col:nth-child(5) {
}

.home .col:nth-child(6) {
	width: 5%;
}


/* TOOLTIP */

.tooltip {
/* 	columns: 4; */
	width: 100%;
	padding: 4px;
}

.tooltip table {
	width: 100%;
}

.tooltip table td {
}

.tooltip span {
}

.tooltip_type {
	font-size: 10px;
	font-weight: 900;
	color: #AAA;
	margin-bottom: 8px;
}

.tooltip_value {
	font-size: 14px;
	font-weight: 900;
	color: #000;
	margin-bottom: 8px;
}


/* SIDEBAR CSS */

#sidebar {
	float: right;
	width: 25%;
/* 	border: solid 1px grey;  */
}

#sidebar ul {
	list-style: square;
	list-style-position: inside;

	font-size: 15px;
	font-weight: 900;
	line-height: 16px;
}

#sidebar ul li {
	margin-bottom: 15px;
}

#sidebar ul li ul li {
	text-indent: 10px;
}

#sidebar ul li ul li ul li {
	text-indent: 20px;
}

#sidebar ul li ul li ul li ul li {
	text-indent: 30px;
}

/* SIDEBAR BOXES */

.box {
	width: 86%;
	padding: 0% 0% 7% 7%;
/* 	background-color: var(--secondary-color);	 */
	color: #FFF;
	margin-bottom: 15px;
}

.box h1, h2, h3 {
	color: var(--main-color);
}

.box p {
	color: var(--main-color);
}

.box a:link, .box a:visited {
	color: #FFF !important;
}

.box p:last-child {
	margin-bottom: 0px;
}

.box:empty {
   display: none;
}

.box_outsider {
	width: 25%; float: right;
}

.box_outsider h1 {
	color: var(--main-color);
	padding: 0% 0% 7% 7%;
	margin-bottom: 5px;
}


/* CITATION */

.citation {
	width: 86%;
	background-color: var(--third-color);
	padding: 7%;
}

.citation p {
	font-size: 30px;
	font-weight: 900;
	font-style: italic;
	line-height: 40px;
	color: #FFF;
	margin-bottom: 20px;
}

.citation p:last-child {
	margin-bottom: 0px;
}

.citation:empty {
   display: none;
}



/* DROP-DOWN MENU */

nav {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
	white-space: nowrap; /* goer saa menuemner ikke bliver liniedelt */
}

nav ul ul {
	display: none;
}

	nav ul li:hover > ul {
		display: block; /* none fjerner dropdowns */
	}


nav ul {
	padding: 0px 0px;
	list-style: none;
	position: relative;
	display: inline-table;
}
	nav ul:after {
		content: ""; clear: both; display: block;
	}

	nav ul li {
		float: left;
	}
		nav ul li:hover {
			background: #FFF; /* root menu hover background color */
		}
			nav ul li:hover a {
				color: #000; /* menu text mouse over color */
				text-decoration: none;
			}
		
		nav ul li a {
			display: block; padding: 16px 16px;
			color: var(--main-color); /* menu text color */
			text-decoration: none;
		}
			
		
	nav ul ul {
		background: #FFF; border-radius: 0px 0px 5px 5px; padding: 0;
		position: absolute; top: 100%;
		z-index: 999;
	}
		nav ul ul li {
			float: none; 
/* 			border-top: 1px solid #6b727c; */
/* 			border-bottom: 1px solid #575f6a; position: relative; */
			font-size: 10px;
		}
			nav ul ul li a {
				padding: 12px 12px;
				color: #FFF;
			}	
				nav ul ul li a:hover {
					background: var(--main-color);
				}
		
	nav ul ul ul {
		position: absolute; left: 100%; top:0;
	}
		

/* SITE SPECIFIC LAYOUT ELEMENTS – NOT PART OF DEFAULT THEME LAYOUT */


.flag {
	width: 24px;
	height: auto;
	margin-left: 10px;
}

.search_field {
	vertical-align: bottom;
}

.loupe {
	width: 22px;
	height: auto;
	margin-left: 10px;
}

.logo {
	width: 10%;
}

.title {
	font-size: 40px;
	font-weight: 700;
	color: var(--main-color);	
}


/* SLIDESHOW */

#slideshow { 
    position: relative;
	left: 50%;
	width:100vw;
	margin-left: -50vw;
	top: 0px;
	/* top: -146px; */ /* hoejde paa header + menu_dropdown + ? */
    height: 650px;
    padding: 0px; 
	z-index: -10;
	overflow: hidden;
	margin-bottom: 40px;
	/* margin-bottom: -116px; */ /* samme som "top" minus oenskede margen-bottom */
}

.narrow { 
    height: 183px !important;
}


#slideshow > div { 
    position: absolute; 
    top: 0px; 
    left: 0px; 
    right: 0px; 
    bottom: 0px; 
    background-position: center center;
    background-size: cover; 
}

#slideshow > div > p {
	color: #FFF;
	font-size: 80px;
	font-weight: 700;
	line-height: 90px;
	text-align: center;
	margin-top: 290px;
	text-shadow: 0 0 2px #000, 0 0 30px #000;
}

