/**
	Main page layout - iPortal
	This contains the CSS that defines the layout of the main pages (index, article).

	Feb. 2021, bks@danterm.dk, Refactored for cleaner/simpler future development.
*/

html, body {
	height: 100%;
}

body {
	display: flex; /* sticky footer */
	flex-flow: column nowrap; /* sticky footer */
	text-align: left;
	margin: 0;
	padding: 0;
	font-family: Futura, Arial, sans-serif;
	font-size: 16px;
	color: #000;
	background-color: #fff;
}

h1 {
	font-size: 2rem;
}

h2 {
	font-size: 1.5rem;
}

img {
	border: none;
}

a {
	color: #41b6e6;
}
a:hover {
	color: #00262e;
}

.nowrap {
	white-space: nowrap;
}

#WACGskipToMain {
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
}

#topBanner {
	background-color: #eeaaac;
	border-bottom: 1px solid #888;
	padding: .6em 4.1%;
	margin-bottom: 1em;
}

/* HEADER */
header {
	width: 100%;
	background-color: #00263e;
}
header > .header {
	padding: 10px 0;
	margin-left: 4%;
	margin-right: 4%;
}
@media screen and (min-width: 1124px) {
	header > .header {
		margin-left: auto;
		margin-right: auto;
		max-width: 1024px;
	}
}

.header a {
	color: #41B6E6;
	text-decoration: none;
}
.header a:hover {
	color: #41B6E6;
	text-decoration: underline;
}

main {
	flex-grow: 1; /* sticky footer */
	width: 100%;
}
main > div.main {
	margin-left: 4%;
	margin-right: 4%;
}
@media screen and (min-width: 1124px) {
	main {
		margin-left: auto;
		margin-right: auto;
		max-width: 1024px;
	}
	main > div.main {
		margin-left: 0;
		margin-right: 0;
	}
}

.maincontent { /* before 2020-09-18*/
	margin-left: auto;
	margin-right: auto;
	width: 940px;
	padding: 5px;
}

.subnavi { /* before 2020-09-18*/
	background-color: #e4eaee;
	text-align: center;
	height: 60px;
	font-family: Futura, Arial;
	font-size: 18px;
	padding: 20px;
}

.subnavi a { /* before 2020-09-18*/
	color: #333333;
}

.subnavi a:hover { /* before 2020-09-18*/
	color: #00262e;
}

.subcontent {
	display: flex;
	flex-direction: row;
	margin-top: 1rem;
	margin-bottom: 0;
	padding-top: 10px;
	padding-bottom: 0;
}

.subcontent h2 {
	margin-bottom: 0.75rem;
}

@media screen and (max-width: 940px) {
	.subcontent {
		display: flex;
		flex-direction: column;
	}
	.maincontent {
		padding: 10px;
	}
}

.welcome {
	width: 90%;
	font-size: 18px;
}

.logo {
	border:0;
	height: 50px;
}

#itpSearchForm {
	margin-top: 20px;
}
#itpAdvancedSearchBtn, #itpSimpleSearchBtn {
	margin-right: 1.5em;
}

#itpLettersLabel {
	margin: 0;
	color: #495057;
}
#itpLetters {
	margin-left: -.6rem; /* align visible letters with left margin  */
}
#itpLetters a {
	display: inline-block;
	font-weight: normal;
	font-size: 1.3rem;
	margin: 0;
	padding: .2rem .6rem;
}
#itpLetters a:hover {
	background-color: #f5f5f5;
}


/* BOTTOM BOX */

.bottombox {
	background-color: #f1f4f6;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
	border-bottom-left-radius: 15px;
	padding: 30px;
	margin-top: 40px;
	margin-bottom:20px;
}
.bottombox div.blocks {
	display: flex;
	flex-flow: row wrap;
}
.bottombox div.blocks > div {
	flex-grow: 1; 
}

.bottombox h2 {
	margin: 0 0 .3em 0;
}

.bottombox ul {
	margin: 0;
	list-style-position: outside;
	padding: 0 5px 0 15px;
}

/* FOOTER */

footer {
	font-family: Futura, Arial, sans-serif;
	font-size: 16px;
	background-color: #00263e;
	width: 100%;
}
footer > .footer {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	padding-top: 0;
	padding-bottom: 10px;
	padding-left: 0;
	padding-right: 0;
	margin-left: 4%;
	margin-right: 4%;
}
@media screen and (min-width: 1124px) {
	footer > .footer {
		margin-left: auto;
		margin-right: auto;
		max-width: 1024px;
	}
}

footer > .footer > div, .footer > nav {
	margin-top: 10px;
}

footer > .footer ul {
	margin-bottom:0;
}

.footerlogo {
	margin-right: 2em;
}

.footernav {
	color: #fff;
	display: flex;
	flex-direction: column;
	margin-right: 2em;
}

.footernav ul {
	margin-left: 0;
	padding-left: 0;
	list-style-position: inside;
}

.footer2nd {
}

.footer3rd {
}

.footernav a, .footer2nd a, .footer3rd a {
	color: #41B6E6;
	text-decoration: none;
}

.footernav a:hover, .footer2nd a:hover, .footer3rd a:hover {
	color: #41B6E6;
	text-decoration: underline;
}

/* OVERWRITE DEFAULT PORTAL CSS - 3rd party lib Bootstrap */

.table-striped tbody tr:nth-child(2n) {
	background-color: #f0f0f0; 
}

.table-striped tbody tr:nth-child(2n+1) {
	background-color: #ffffff; 
}

.table-striped  th {
	background-color: #00263e;
	color: white;
}

.table-bordered td, .table-bordered th {
	border: 1px solid #eaeaea;
}

.table-responsive {
	overflow-x: auto;
	width: 100%;
	border: 0;
}

.table-responsive table {
	margin-bottom: 0;
}

/* OVERWRITE DEFAULT PORTAL CSS - iPortal */

.itp-search-button {
	background-color: #41b6e6;
	border-color: #41b6e6;
	color: #fff;
}

.itp-search-button:hover {
	background-color: #00262e;
	border-color: #00262e;
	color: #fff;
}

/* scrollbar Firefox */
#iTermPortalResults {
	scrollbar-color: #00263e #F5F5F5;
	scrollbar-width: thin;
}
/* scrollbar Chrome, Edge, Safari */
#iTermPortalResults::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 4px;
    background-color: #F5F5F5;
}
#iTermPortalResults::-webkit-scrollbar {
	height: 7px;
	background-color: #F5F5F5;
}
#iTermPortalResults::-webkit-scrollbar-thumb {
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #00263e;
}
/* scrollbar above */
#iTermPortalResults, #iTermPortalResults > div {
	transform: rotateX(180deg);
	-ms-transform: rotateX(180deg); /* IE 9 */
	-webkit-transform: rotateX(180deg); /* Safari and Chrome */
}

.table-striped th {
	min-width: 6.2em; /* avoid line wrap for button */
}
.table-striped th span { /* button */
	display: inline-block;
	position: relative;
}
.table-striped th span a { /* button */
	position: absolute;
	top: -1.6em;
}
.table-striped th a i.fas { /* icon/button large enough for touch */
	color: white;
	padding: .75rem;
}
.table-striped  th i.fas:hover {
	background-color: #908288;
}

.itp-table-striped2 > tbody > tr:nth-child(2n) > td, .itp-table-striped2 > tbody > tr:nth-child(2n) > th {
    background-color: #FFFFFF;
}

.itp-table-striped2 > tbody > tr:nth-child(2n+1) > td, .itp-table-striped2 > tbody > tr:nth-child(2n+1) > th {
    background-color: #F0F0F0;
}

.itp-table-striped2 > tbody > tr:nth-child(2n) > td.darker, .itp-table-striped2 > tbody > tr:nth-child(2n) > th.darker {
    background-color: #d2eff9;
}

.itp-table-striped2 > tbody > tr:nth-child(2n+1) > td.darker, .itp-table-striped2 > tbody > tr:nth-child(2n+1) > th.darker {
    background-color: #add9e8;
}

.floatButton {
	display: none;
	text-align: center;
	position: fixed;
	z-index: 20;
	width: 50px;
	height: 50px;
	border-radius: 25px;
	font-size: 24px;
	padding-left: 1px;
	padding-top: 13px;
	line-height: 1;
	cursor: pointer;
	color: #41b6e6;
	background-color: #8882;
}
.floatButton:hover {
	background-color: #8884;
}
.scroll2Top {
	top: calc(50% - 25px);
	right: calc(1% + 10px);
}
.scroll2Left {
	bottom: 7.5rem;
	left: 1.5%;
}
.scroll2Right {
	bottom: 7.5rem;
	right: calc(1% + 10px);
}
/* Overrides */

/*
Blue #345165
//Blue #3a5163  possible replacement Nunamedia
Cyan #8bc4d3
Cyan lighter #abe4f3
//Orange #d25638 old feb. 2021
Orange #c35d42
Orange dark #af4228
Gray #d6d7d1
blue #434EE4
blue-hover #5F68E8
light gray #f7f7f7
*/

body {
	-webkit-font-smoothing: antialiased;
	font-family: -apple-system, BlinkMacSystemFont, "Gudea", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}
main {
	margin-top: 2rem;
	margin-bottom: 2rem;
	padding: 0;
}

h1 {
	font-size: 2rem;
	/*font-weight: normal;*/
	color: #C35D42;
    font-family: Roboto, sans-serif;
    font-weight: 400;
	margin-bottom: 1rem;
}
h2 {
	font-size: 1.2rem;
}

.smaller {
	font-size: 90%;
}
.weak {
	color: #888;
}
.nobreak {
	white-space: nowrap;
}

#WACGskipToMain {
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
}

#topBanner {
	background-color: #eeaaac;
	border-bottom: 1px solid #888;
	padding: .6em 4.1%;
	margin-bottom: 1em;
}

a {
	color: #c35d42; /* orange */ /* previous #fc6743 */
}

a:hover {
	color: #af4228; /* orange dark */
	text-decoration: underline;
}

/* Requested by client: Mimicking responsive WordPress header from other company. That header has severe problems. This works better. */
header {
	background-color: #345165; /* blue */ 
}
header > .header {
	height: auto;
	padding-top: 20px;
	padding-bottom: 16px;
	font-size: 1.3rem;
	color: #fff;
}
header > .header.lang-kl {
	padding-top: 25px;
	padding-bottom: 21px;
}
.header a {
	/* display: inline-block; */
	color: #fff;
}
.header a:hover {
	color: #fff;
}
.header.logo {
	background-repeat: no-repeat;
	background-position: right;
	background-size: auto 83%;
}
.header.logo img {
	width: 21.7%;
}
.elementor-heading-title {
	/* Gudea as requested by Oqaasileriffik */
	font-family: Gudea, Roboto, sans-serif;
	font-size: 24px;
	font-weight: 300;
	line-height: 32px;
	color: #FFFFFF;
}
.menu {
	padding: 0 4%;
	background-color: #c35d42;
}
.menu .inner {
	display: flex;
	justify-content: flex-end;
}
.menu .lang-select {
	display: flex;
	flex-direction: row;
	margin-right: 2.6%;
}
.menu.lang-kl .lang-select {
	margin-right: 1.1%;
}
.menu .lang-select a {
	margin-right: .5rem;
}
.menu .lang-select a:last-child {
	margin-right: 0;
}
.menu img {
	width: 20px;
}
.menu a {
	display: flex;
	border: 2px solid transparent;
}
.menu a.current {
	border-color: #ddd;
}
@media screen and (min-width: 1025px) {
	.menu .inner {
		margin-left: auto;
		margin-right: auto;
		padding-left: 0;
		padding-right: 0;
		max-width: 1024px;
	}
}
@media screen and (max-width: 1025px) {
	main {
		margin-top: 1rem;
		margin-bottom: 1rem;
	}
	.header.logo img {
		width: 30%;
	}
	.menu .lang-select {
		margin-right: 3.5%;
	}
	.menu.lang-kl .lang-select {
		margin-right: 1.4%;
	}
}
@media screen and (max-width: 575px) {
	main {
		margin-top: 0;
		margin-bottom: 0;
	}
	header > .header {
		padding-top: 10px;
		padding-bottom: 8px;
	}
	header > .header.lang-kl {
		padding-top: 15px;
		padding-bottom: 13px;
	}
	header > .header.logo {
		background-position-y: .3rem;
	}
	.header.logo img {
		width: 49%;
	}
	.elementor-heading-title {
		font-size: 16px;
		line-height: 16px;
	}
	.lang-en .elementor-heading-title {
		font-size: 14px;
	}
	.menu .lang-select {
		margin-right: 0;
	}
	.menu.lang-kl .lang-select {
		margin-right: -1.2%;
	}

}

.tooltip-inner {
	background-color: #fff;
	color: #000;
	padding: 5px 10px;
	border-radius: 4px;
	border: 2px solid #333;
}
.tooltip.bs-tooltip-right .arrow:before {
	border-right-color: #333 !important;
}
.tooltip.bs-tooltip-left .arrow:before {
	border-left-color: #333 !important;
}
.tooltip.bs-tooltip-bottom .arrow:before {
	border-bottom-color: #333 !important;
}
.tooltip.bs-tooltip-top .arrow:before {
	border-top-color: ##333 !important;
}
 
#itpSearchForm {
	margin-top: 20px;
}

.bottombox {
	background-color: #f7f7f7; /* light gray */
	border: 1px solid #d6d7d1;
	color: #345165; /* blue */ 
	padding: 15px 25px;
	border-radius: 10px;
}

footer {
	margin-top: 2rem;
	background-color: #d6d7d2; /* gray */
	color: #345165; /* blue */
    font-family: Gudea, Roboto, sans-serif;
}
.footer {
	flex-wrap: wrap;
	padding-bottom: 0;
}
.footer a {
	color: #345165;
}
.main-footer {
	width: 100%;
	padding-top: 2rem;
	padding-bottom: 2rem;
	justify-content: space-between;
}
.footer-title {
	margin-top: 1.2em;
	padding-bottom: .5em;
}
.footer-title h2 {
	display: inline-block;
    color: #345165;
    /*font-family: Roboto, sans-serif;*/
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
	padding-bottom: .5em;
	border-bottom: 1px solid #345165;
	white-space: nowrap;
}
.footer .btn {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
.footer-line {
	border-top: 1px solid #B6B6B6c0;
}
.footer.copyright {
	padding-top: .4rem;
	padding-bottom: .6rem;
	justify-content: center;
}
span.copyr {
	font-size: 104%;
    font-family: Roboto, Gudea, sans-serif;
}
span.sep {
	padding-left: .3em;
	padding-right: .3em;
}

.itp-search-button {
	background-color: #c35d42; /* orange */
	border-color: #c35d42; /* orange dark */
	color: #fff;
}

.itp-search-button:hover {
	background-color: #af4228; /* orange dark */
	border-color: #af4228; /* orange dark */
	color: #fff;
}

#iTermPortalArticle a {
	color: #c35d42; /* orange */
}

#iTermPortalArticle a:hover {
	color: #af4228; /* orange dark */
}

#iTermPortalResults a {
	color: #c35d42; /* orange */
}

#iTermPortalResults a:hover {
    color: #af4228; /* orange dark */
}

/* scrollbar Firefox */
#iTermPortalResults {
	scrollbar-color: #c35d42 #F5F5F5;
}
/* scrollbar Chrome, Edge, Safari */
#iTermPortalResults::-webkit-scrollbar-thumb {
	background-color: #c35d42;
}

.table-striped  th {
	background-color: #345165; /* blue */
	color: #fff;
}
.table-striped  th i.fas:hover {
	background-color: #456d87;
}

.itp-table-striped2 > tbody > tr:nth-child(2n) > td.darker, .itp-table-striped2 > tbody > tr:nth-child(2n) > th.darker {
    background-color: #8bc4d3; /* cyan */ /*better #abe4f3*/
}

.itp-table-striped2 > tbody > tr:nth-child(2n+1) > td.darker, .itp-table-striped2 > tbody > tr:nth-child(2n+1) > th.darker {
    background-color: #abe4f3; /* cyan lighter */ /*better #cff5ff*/
}

.floatButton {
	color: #c35d42;
}

.scroll2Left {
	bottom: 6rem;
}
.scroll2Right {
	bottom: 6rem;
}
