@font-face {
    font-family: 'favorit';
    src: url('/_incf/EduFavorit-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
* { box-sizing: border-box; }
html {
	width: 100vw;
	height: 100vh;
	overflow-x: hidden;
	overflow-y: scroll;
	scrollbar-color: #91a06e #91a06e;
	scrollbar-width: none;
}
body {
	width: 100vw;
	height: 100vh;
	border: 0; margin: 0; padding: 0;
	font-family: favorit;
	background-color: #f5ffdc;
}
div.mainimageholder {
/*	width: 100vw; */
	height: 100vh;
	width: auto;
	background-color: #f5ffdc;
	position: relative;
	overflow: hidden;
}
div.mainimageholder div.mainimage {
	position: relative;
	background-size: cover; 
	background-position: center;
/*	width: 100vw; */
	
	height: 100vh;
	padding: 3.125vw;
	background-color: #f5ffdc;
	background-color: white;
	float: left;
}
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
div.projectgrid {
	margin-left: 3.125vw;
	width: 90.625vw;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 20px;
	display: block;
}
div.projectgrid .swiper {
	height: 18.75vw;
	margin-bottom: 20px;
	margin-right: 0;
}
div.projectgrid .griditem {
	background-size: cover; 
	background-position: center;
	display: block; 
/*	width: 28.125vw; */
width: auto;
	height: 18.75vw;
	margin-bottom: 3.125vw;
	cursor: pointer;
	max-width: 84vw;
}
div.projectgrid .griditem img {
	margin-right: 3.125vw;
	border: 1px solid lime;
}
.mobonly {
	display: none !important;
}
div.projectgrid div.griditem a {
	display:inline-block;
	width: inherit;
	height: inherit;
}
#topbar {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	background-color: #00f000;
	height: 3.125vw;
	z-index: 11;
}
#rightbar {
	position: fixed;
	right: 0;
	top: 0;
	width: 3.125vw;
	height: 100vh;
	background-color: #91a06e;
	z-index: 20;
	font-size: 2vw; 
	display: flex; 
	flex-direction: column; 
	justify-content: center; 
	text-align: center; 	
}
#rightbar div {
	color: #a2c3a9;
}
#rightbar div.active {
	color: #00f000;
	cursor: pointer;
}
#bottombar {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100vw;
	background-color: #f5ffdc;
	height: 3.125vw;
	z-index: 10;
}
#leftbar {
	position: fixed;
	left: 0;
	top: 0;
	width: 3.125vw;
	height: 100vh;
	background-color: #f5ffdc;
	z-index: 10;
	font-size: 2vw;
	display: flex; 
	flex-direction: column; 
	justify-content: center; 
	text-align: center; 	
}
#leftbar div {
	color: #a2c3a9;
}
#leftbar div.active {
	color: #00f000;
	cursor: pointer;
}
#cornerlt {
	position: fixed;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	border-top: 3.125vw solid #00f000;
	border-left: 3.125vw solid #f5ffdc;
	z-index: 21;
}
#cornerrt {
	position: fixed;
	right: 0;
	top: 0;
	width: 0;
	height: 0;
	border-top: 3.125vw solid #00f000;
	border-right: 3.125vw solid #91a06e;
	z-index: 21;
}
#logo {
	position: fixed;
	left: 6.25vw;
	top: 6.25vw;
	width: 6vw;
	z-index: 10;
	margin-left: -1vw;
}
#logo img {
	width: 5.6vw;
}
#niels {
	position: fixed;
	left: 11vw;
	top: 6.25vw;
	font-size: 4.8vw;
	line-height: 0.95;
	color: #00f000;
	width: 12vw;
	z-index: 10;
}
#mmi {
	position: fixed;
	left: calc(12vw + 12vw + 5vw);
	top: 6.25vw;
	font-size: 4.8vw;
	line-height: 0.95;
	color: #f5ffdc;
	width: 30vw;
	z-index: 10;
}
#asd {
	position: fixed;
	left: calc(12vw + 12vw + 5vw + 30vw + 5vw);
	top: 6.25vw;
	font-size: 4.8vw;
	line-height: 0.95;
	color: #f5ffdc;
	width: 20vw;
	z-index: 10;
}
#topnav {
	position: fixed;
	top: 0;
	right: 3.125vw;
	display: flex;
	justify-content: flex-end;
	z-index: 12;
	line-height: 3.125vw;
	font-size: 1.7vw;
}
#topnav .item {
	color: #91a06e;
	text-transform: uppercase;
	margin-left: 1.3vw;
	display: flex;
	align-items: center;
	justify-content: center;
}
#topnav .item.active {
	color: #F5FFDC;
}
#topnav .item a {
	text-decoration: none;
	color: inherit;
}
#leftbottom {
	position: fixed;
	bottom: 0;
	left: 3.125vw;
	display: flex;
	justify-content: flex-start;
	z-index: 10;
	line-height: 3.125vw;
	font-size: 1.7vw;
	text-transform: uppercase;
	color: #00f000;
}
#rightbottom {
	position: fixed;
	bottom: 0;
	right: 3.125vw;
	display: flex;
	justify-content: flex-end;
	z-index: 10;
	line-height: 3.125vw;
	font-size: 1.7vw;
	text-transform: uppercase;
	color: #00f000;
	padding-right: 1vw;
}
div.infopage {
	width: 100vw;
	height: calc(100vh - 3.125vw);
	padding: 3.125vw;
	background-color: #003cc8;
	color: #00f000;
	position: relative;
}
div.infopage div.title {
	font-size: 4.8vw;
	position: absolute;
	left: 6.25vw;
	top: 17.875vw;	
	text-transform: capitalize;
}
div.infopage div.bodytext {
	margin-left: 32vw;
	margin-top: 17.875vw;
	font-size: 3.4vw;
	font-size: 3.05vw;
	padding-right: 3.125vw;
}
div.infopage div.bodytext p:first-child {
	margin-top: -3vw;
	padding-top: 0;
}
div.infopage div.bodytext a {
	color: inherit;
	text-decoration: none;
}
div.infopage div.bodytext .small {
	font-size: 50%;
	line-height: 1.2;
}
div.hamburger {
	display: none;
}
div.projectgrid .swiper {
	display: inline-block;
}
.swiper-wrapper {
	display: block;
}
.mainimageholder .swiper-wrapper {
	display: flex;
}
.swiper-wrapper img {
	display: inline-block;
	margin-right: 20px;
}
.swiper-button-prev {
	display: none;
}
.swiper-button-next {
	display: none;
}


@media only screen and (max-width: 767px) {
	#topbar {
		height: 8vw;
	}
	#leftbar {
		width: 8vw;
		font-size: 5vw; 
	}
	#rightbar {
		width: 8vw;
		font-size: 5vw; 
	}
	#bottombar {
		height: 8vw;
	}
	#cornerlt {
		border-top-width: calc(8vw + 1px);
		border-left-width: 8vw;
	}
	#cornerrt {
		border-top-width: calc(8vw + 1px);
		border-right-width: calc(8vw + 1px);
	}
	#topnav {
		display: none;
	}
	#logo {
		left: 12vw;
		top: 12vw;
		margin-left: -2vw;
	}
	#logo img {
		width: 9vw;
	}
	#niels {
		font-size: 8vw;
		left: 20vw;
		top: 12vw;
	}
	#mmi {
		font-size: 8vw;
		left: 12vw;
		top: 28vw;
		width: 40vw;
	}
	#asd {
		font-size: 8vw;
		left: 12vw;
		top: 36vw;
	}
	div.projectgrid {
		width: 100%;
		display: block;
		margin-left: 8vw;
		margin-top: 20px;
		margin-left: 0;
		padding-left: 8vw;
	}
	div.projectgrid .swiper {
		display: flex;
	}
	
	div.projectgrid div.griditem {
		width: 84vw;
		height: 56vw;
		margin-bottom: 2vw;
	}
	div.projectgrid div.griditem a {
		display: none;
	}
	div.projectgrid div.mainimage {
		background-size: cover; 
		background-position: center;
		width: 84vw;
		height: 56vw;
		height: 60vh;
		width: auto;
		margin-bottom: 2vw;
	}
	div.mainimageholder {
		height: 56vw;
		height: 60vh;
	}
	div.mainimageholder div.mainimage {
		height: 56vw;
		height: 60vh;
	}
	#leftbottom {
		left: 8vw;
		display: none !important;
	}
	#rightbottom {
		right: 8vw;
		font-size: 4vw;
		height: 8vw;
		display: flex; 
		flex-direction: column; 
		justify-content: center; 
		text-align: center; 	
	}
	div.hamburger {
		position: fixed;
		top: 0;
		right: 10vw;
		color: white;
		font-size: 6vw;
		margin-top: 0.1em;
		display: inline-block;
		cursor: pointer;
	}
	div.hamburger img {
		width: 10vw;
	}
	#topnav {
		width: 84vw;
		height: 56vw;
		position: fixed;
		left: 8vw;
		top: 8vw;
		padding-left: 8vw;
		background-color: #00f000;
		color: white;
		font-size: 8vw;
		line-height: 1.2;
	}
	#topnav .item {
		color: #91a06e;
		display: block;
	}
	div.infopage div.title {
		font-size: 8vw;
		left: 12vw;
		top: 60vw;
	}
	div.infopage div.bodytext {
		margin-left: 10vw;
		margin-top: 74vw;
		font-size: 4vw;
		padding-right: 10vw;
	}
	div.projectgrid .swiper {
		height: 60vh;
	}
	div.projectgrid .griditem {
		height: 60vh;
		max-width: unset;
	}
	.swiper-wrapper {
		display: flex;
		height: 60vh;
		margin-bottom: 5vh;
		margin-bottom: 5vh;
	}
	.swiper-button-prev {
		left: 0;
		top: 25%;
		margin-top: 0;
		width: 10%;
		height: 50%;
		z-index: 100;
		background-color: transparent;
		color: transparent;
	}
	.swiper-button-next {
		left: 80%;
		top: 25%;
		margin-top: 0;
		width: 10%;
		height: 50%;
		z-index: 100;
		background-color: transparent;
		color: transparent;
	}
	.mobonly {
		display: inline-block !important;
	}
	
}
