html
{
	--main-color:  #254875;
	--background-color: #ffffff;
	--background-color2: #f4f4f4;
	--background-color3: #3d4148;
	--highlight-color: #e0e5ef;
	--text-color1: #909090;
	--text-color2: #000;
	--text-color3: #254875;
	--text-color4: #ffffff;
	--logo-color: #4b7cbf;
}

body
{
	text-align: center;
	background: var(--main-color);
	font-family: /*"Times New Roman", Times, serif*/ SyndicatGrotesk, Helvetica, sans-serif;
}

#header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}

#ecm-header {
	height: 150px;
	background-color: var(--background-color);
	z-index: 100;
	display: flex;
	top: 0;
}

#ecm-logo-wrapper {
	width: 250px;
	height: 100%;
	position: relative;
	margin-top: 9px;
	z-index: 101;
	cursor: pointer;
}

#ecm-title {
	width: 100%;
	position: absolute;
	height: 100%;
}

#ecm-title-top {
	width: 100%;
	position: relative;
	height: 50%;
	font-size: 3em;
	font-family: serif;
	color: var(--text-color1);
	align-content: end;
	text-align: center;
}

#ecm-title-line {
	position: relative;
	width: 90%;
	height: 2px;
	background-color: var(--logo-color);
	display: block;
	left: 170px;
	top: -2px
}

#ecm-title-bottom {
	width: 100%;
	position: relative;
	height: calc(50% - 2px);
	font-weight: bold;
	font-size: 1.1em;
	font-family: serif;
	color: var(--text-color1);
	align-content: start;
	text-align: center;
}

#main-navbar {
	width: 100%;
	height: 50px;
	background-color: var(--background-color2);
	display: flex;
	flex-direction: row;
	justify-content: center;
	position: fixed;
	align-items: center;
	z-index: 99;
}
#main-navbar .nav-item {
	border-top: var(--background-color2) solid 10px;
	width: 150px;
	height: 100%;
	text-align: center;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
	line-height: 30px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 500;
}

#main-navbar .nav-active {
	background-color: var(--background-color);
	border-top: var(--main-color) solid 10px;
	color: var(--main-color);
}

#main-navbar .nav-item:hover {
	border-top: var(--main-color) solid 10px;
	cursor: pointer;
}

#ecm-main {
	background-color: var(--background-color);
	width: 100%;
	min-width: 800px;
	height: fit-content;
	margin-top: 200px;
}

#welcome-text{
	width: 100%;
	height: 120px;
	background-color: var(--main-color);
	color: var(--text-color4);
	padding-top: 80px;
	font-size: 1.5em;
	font-family: Arial, Helvetica, sans-serif;
	position: relative;
	min-width: 0;
}

#ecm-qualities {
	display: flex;
	flex-direction: row;
	justify-content: center;
	width: 100%;
	position: relative;
	height: 830px;
	min-height: fit-content;
	background-color: var(--background-color);
}

.ecm-quality-item {
	width: 500px;
	height: 750px;
	background-color: var(--background-color);
	margin: 20px;
	margin-top: 40px;
}

.quality-logo {
	font-size: 3em;
	color: var(--main-color);
	margin-top: 20px;
}

.quality-text {
	width: 75%;
	text-align: justify;
	margin-left: 12.5%;
	line-height: 1.5em;
}

.ecm-quality-list {
	margin-left: -20px;
}

#ecm-map-section {
	width: 100%;
	height: 1000px;
	background-color: var(--main-color);
	color: var(--text-color4);
	line-height: 50px;
	font-size: 1.5em;
	font-family: Arial, Helvetica, sans-serif;
	position: relative;
}

#ecm-map-section h2 {
	padding-top: 40px;
}

#map-wrapper {
	position: relative;
	width: fit-content;
	height: fit-content;
	justify-self: center;
	max-width: 90%;
}
#world-map {
	margin-top: 30px;
	position: relative;
	width: auto;
	height: auto;
	max-width: 100%;
}


.world-map-dot {
	position: absolute;
	width: 20px;
	height: 20px;
	background-color: red;
	border-radius: 50%;
	border: #000 1px solid;
	cursor: pointer;
}

.world-map-dot-active {
	background-color: rgb(255, 187, 0) !important;
}

#world-dot-norway {
	top: 38%;
	left: 48%
}

#world-dot-canada {
	top: 48%;
	left: 23%
}

#world-dot-chile {
	top: 81%;
	left: 26%
}

#world-dot-india {
	top: 64%;
	left: 67.5%
}

#world-dot-australia {
	top: 84%;
	left: 86.5%
}

#ecm-main-content {
	width: 70%;
	justify-self: center;
	height: fit-content;
	min-height: 500px;
	text-align: start;
	padding-top: 70px;
	color: var(--main-color);
}

#ecm-main-content-line {
	position: relative;
	width: 100%;
	height: 2px;
	background-color: var(--logo-color);
	display: block;
	margin-bottom: 50px;
}

#ecm-main-gallery {
	margin-top: 50px;
	width: 100%;
	height: fit-content;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
}
#ecm-main-gallery div{
	width: 49%
}

.ecm-main-gallery-image {
	width: 100%;
}

#footer {
	width: 100%;
	min-width: 800px;
	height: fit-content;
	min-height: 200px;
	background-color: var(--background-color3);
	color: var(--text-color4);
	line-height: 100px;
	font-family: Arial, Helvetica, sans-serif;
	position: relative;
}


#footer-content {
	width: 70%;
	height: 100%;
	display: flex;
	flex-direction: row;
	line-height: 1.4em;
	text-align: left;
	justify-content: space-evenly;
	justify-self: center;
}

#footer a{
	text-decoration: none;
	color: var(--text-color4);
}

.dropdown {
	position: relative;
	display: inline-block;
  }

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #3e8e41;}

@media only screen and (min-width: 1201px) {
	#footer-content {
		width: 70%;
	}

	#footer-content-left, #footer-content-middle, #footer-content-right {
		width: 30%;
		height: fit-content;
		margin-top: 30px;
		margin-left: 150px;
	}
}

@media only screen and (max-width: 1200px) {
	#footer-content {
		width: 100%;
	}

	#footer-content-left, #footer-content-middle, #footer-content-right {
		width: 30%;
		height: fit-content;
		margin-top: 30px;
	}

	.ecm-quality-item {
		height: 1250px;
	}
}

@media only screen and (max-width: 800px) {
	#ecm-title {
		left: 200px;
		width: calc(100% - 250px);
	}

	#ecm-title-line {
		left: -20px;
		width: 120%;
	}

	#main-navbar .nav-item {
		padding-left: 10px;
		padding-right: 10px;
		width: 20%;
		min-width: fit-content;
	}

	#ecm-qualities {
		flex-direction: column;
		height: fit-content;
	}

	.ecm-quality-item {
		width: 90%;
		height: fit-content;
	}

	#ecm-main-gallery {
		flex-direction: column;
	}

	#ecm-main-gallery div{
		width: 100%;
		margin-bottom: 20px;
	}

	#ecm-main-content {
		justify-self: start;
		margin-left: 100px;
	}

	.world-map-dot {
		width: 30px;
		height: 30px;
	}
}
