@font-face {
    font-family: 'roboto-regular';
    src: url('/_incf/RobotoSerif-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'roboto-medium';
    src: url('/_incf/RobotoSerif-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'roboto-medium';
    src: url('/_incf/RobotoSerif-MediumItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'roboto-semibold';
    src: url('/_incf/RobotoSerif_120pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'roboto-semibold';
    src: url('/_incf/RobotoSerif-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}
:root {
	--fontsize1: 1rem;
	--fontsize2: 1.7rem;
	--fontsize2h: 2.0rem;
	--fontsize3: 3.25rem; /* kdk */
	--fontsize3h: 5rem; /* kdk home */
	--fontsize4: 1.4rem;
	--fontsizetotop: 0.66rem;
	--fontsizearrow: 4rem;
	
	--otherblue: #265175;
}
* { box-sizing: border-box; }
html {
  font-size: 100%; /* equals 16px (browser default) */
}
body {
	border: 0; margin: 0; padding: 0;
	font-family: 'roboto-regular', serif;
	font-size: var(--fontsize1);
	font-weight: normal;
	background-color: var(--color2);
	color: var(--color5);
	max-width: 100vw;
	overflow-x: hidden;
	line-height: 1.3;
}
a {
	color: inherit;
	text-decoration: none;
	outline: 0;
}
a:hover {
	text-decoration: underline;
}
video {
/*	width: 100%; */
	width: 24vw;
	height: auto;
}
#site {
	width: 82.5vw;
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
}
div.header {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 11rem;
	background-color: var(--color2);
	z-index: 30;
}
#kdktitle {
	position: fixed;
	left: 8.75vw;
	top: 4.25rem;
	margin-bottom: 1rem;
	font-family: 'roboto-semibold';
	font-size: var(--fontsize3);
	letter-spacing: 0.1rem;
}
#kdktitle a {
	text-decoration: none;
}
body.home #kdktitle {
	font-size: var(--fontsize3h);
}	
#kdksubtitle {
	position: fixed;
	left: 8.75vw;
	top: 8.25rem;
	font-family: 'roboto-regular';
	font-size: var(--fontsize2);
	letter-spacing: 0.05rem;
}
#kdksubtitle a {
	text-decoration: none;
}
body.home #kdksubtitle {
	top: 10rem;
	font-size: var(--fontsize2h);
}	
div.pagecontent {
	padding-top: 14rem;
}
.sliding-navbar {
    position: fixed;
    top: 0;
    right: -35vw;
    height: 100dvh;
    width: 35vw;
    background-color: var(--color1);
    transition: right 0.4s ease-in-out;
    z-index: 300;
}
.sliding-navbar-open {
    right: 0px;
}
.menuitems {
    list-style-type: none;
    margin-top: 7rem;
	letter-spacing: 0.05rem;
/*    margin-left: 2rem;*/
}
.menuitems .item {
    margin-bottom: 0.5rem;
    color: var(--color5);
    font-family: roboto-semibold;
    font-size: var(--fontsize2);
	margin-top: 1rem;
}
.menuitems .item.indent {
	padding-left: 2rem;
	font-size: var(--fontsize1);
	margin-top: 0;
	font-weight: normal;
	font-family: roboto-regular;
}
.menuitems .item a {
	text-decoration: none;
}
.menuitems .item.active {
	color: var(--color3);
}
.menuitems .item:hover {
	color: var(--color3);
}
.langswitch {
	margin-top: 4rem;
	margin-left: 2rem;
}
.langswitch div {
	display: inline-block;
    background-color: var(--color5);
    color: var(--color1);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 1rem;
	margin-right: 1rem;
	font-family: roboto-semibold;
}
.langswitch div a {
	text-decoration: none;
}
.langswitch div a:hover {
	color: var(--color3);
}
div.sm {
	margin-top: 1rem;
	margin-left: 2rem;
}
img.smimg {
	width: 2rem;
}
/*
.menuitems .item ul {
    list-style-type: none;
}
.menuitems .item li {
    font-size: var(--fontsize1);
	text-indent: 4rem;
}
*/
.hamburger-menu {
    z-index: 999;
    position: fixed;
    top: 2.5rem;
    right: 3rem;
    margin: auto;
    cursor: pointer;
    color: var(--color5);
    font-family: roboto-semibold;
    font-size: var(--fontsize2);
}
.hamburger {
    padding-top: 0;
    padding-bottom: 0.5rem;
}
.hamburger.menu-open {
    display: none;
}
.closemenu {
    background-color: var(--color5);
    color: var(--color1);
    display: none;
    font-family: roboto-semibold;
    font-size: 1.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 1rem;
	margin-top: -0.5rem;
	z-index: 400;
	position: absolute;
    top: 2.5rem;
    right: 3rem;
	cursor: pointer;
}
.closemenu.menu-open {
    display: inline-block;
}
div.illrows {
	margin-bottom: 8em;
	display: flex;
	flex-flow: row wrap;
	margin-left: -1em;
	margin-right: -1em;
}
div.illrowitem > div {
	display: inline-block;
	position: relative; top: 100%; transform: translateY(-100%);
	margin-bottom: 4em;
	margin-right: 4em;
	padding-left: 1em;
	padding-right: 1em;
	font-weight: bold;
	font-weight: normal;
/*	font-family: 'roboto-semibold'; */
}
div.illrowitem > div img {
    margin-bottom: 0.5em;
}
div.illrowitem img {
	display: block;
	max-width: 230px;
	max-width: 23vw;
	max-height: 130px;
	max-height: 200px;
}
div.illrowitem div.illrowitemtitle {
	line-height: 1.3;
}

div.illnavline {
	margin-left: 0;
}
div.illnavline a {
	display: inline-block;
	color: inherit;
	text-decoration: none;
	margin-right: 30px;
}
div.illdetailimgholder {
	margin-bottom: 1.5rem;
}
div.illdetailimgholder img {
	max-width: 100%;
	max-height: 330px;
	max-height: 370px;
	height: 50dvh;
}
div.illdettitle {
	font-size: var(--fontsize2);
	font-family: 'roboto-semibold';
	font-weight: bold;
	line-height: 130%;
	margin-bottom: 0.7em;
}
div.copyright {
	display: none;
	font-size: var(--fontsize2);
}
div.illdetailtext {
	float: left;
    width: 55%;
	margin-top: 0.5em;
}
div.illdetailtext div:first-child p {
	font-weight: bold;
}
div.illdetailtext p:first-child {
	margin-top: 0;
}
div.illdetail::after {
	content: '';
	display: block;
	clear: both;
}
div.thumbrow img {
    border: 2px solid transparent;
	max-height: 45px;
	margin-right: 30px;
	max-height: 60px;
	margin-right: 20px;
}
div.thumbrow img.selectedimg {
    border: 2px solid black;
}
div.newsitems {
	width: 86vw;
}
div.newsitem {
	width: 39.5vw;
	margin-right: 3.5vw;
width: 38.5vw;
margin-right: 4.5vw;
	margin-bottom: 6rem;
	border-bottom: 1px solid white;
	margin-bottom: 3rem;
	padding-bottom: 2rem;
}
body.news3 div.newsitem {
	width: 24vw;
}
div.newsitemtext {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}
div.newstitle {
	font-family: roboto-medium;
	font-size: var(--fontsize4);
}
div.newssubtitle {
	font-size: var(--fontsize1);
}
div.newsbodytext {
	font-size: var(--fontsize1);
	margin-top: 1.7rem;
	line-height: 1.33;
}
div.newsbodytext img {
	max-width: 100%;
	height: auto;
}
div.newsitemimages {
	position: relative;
	width: 39.5vw;
width: 38.5vw;
	height: auto;
}
body.news3 div.newsitemimages {
	width: 24vw;
}
div.newsitemimages div.slide {
	position: absolute;
	left: 0;
	top: 0;
	display: none;
	height: inherit;
}
div.newsitemimages div.slide:first-child {
	display: block;
}
div.newsitemimages div.slide img {
	max-height: 100%;
	max-width: 100%;
	display: block;
}
div.arrownext {
	position: absolute;
	right: 0;
/*	top: calc(50% - 2rem); */
	bottom: 0;
	margin-bottom: -1.5rem;
	color: var(--color3);
	z-index: 100;
	font-size: var(--fontsizearrow);
}
div.newsbodytext img {
	display: block;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}
div.publications {
	margin-right: -3.5vw;
margin-right: -4.5vw;
}
div.publication {
	float: left;
	width: 25vw;
width: 24vw;
	margin-right: 3.5vw;
margin-right: 4.5vw;
	margin-bottom: 3.5rem;
	font-family: roboto-regular;
	line-height: 1.33;
}
div.publications div.publication:nth-child(3n+4) {  
	clear: both;
}
body.publications4 div.publication {
	width: 17.2vw;
}
body.publications4 div.publications div.publication:nth-child(3n+4) {  
	clear: unset;
}
body.publications4 div.publications div.publication:nth-child(4n+5) {  
	clear: both;
}
div.publication a {
	cursor: pointer;
}
div.publication img {
	max-width: 100%;
	/*width: 100%; */
	margin-bottom: 1rem;
}
div.publicationtitle {
	font-family: roboto-medium;
}
div.fancybox-content {
	background-color: var(--color4);
	color: var(--color2);
	font-family: roboto-regular;
	min-width: 400px;
}
button.fancybox-button {
	all: unset;
	display: inline-block;
	background-color: var(--color5);
	position: absolute;
	right: 1rem !important;
	top: 1rem !important;
	width: 2rem;
    font-family: roboto-semibold;
    font-size: var(--fontsize2);
    padding-left: 0.5rem !important;;
    padding-right: 0.5rem !important;;
    padding-top: 0.25rem !important;;
    padding-bottom: 0.25rem !important;;
    border-radius: 1rem;
	text-align: center;
}
button.fancybox-button svg {
	display: none;
}
button.fancybox-button::before {
	content: "x";
	color: var(--color2) !important;
}
div.publicationpopup {
	padding-top: 4rem !important;
	border-radius: 10px;
}
div.publicationpopup img {
	margin-bottom: 2rem;
}
div.contactpageleft {
	float: left;
	width: 45%;
	padding-right: 5%;
}
div.contactpageleftinner {
	background-color: var(--color5);
	color: var(--color2);
	border-radius: 1rem;
	padding: 1rem;
}
div.contactpageright {
	float: left;
	width: 50%;
}
#contactform div.contactformheader {
	width: 100%;
	padding: 0.5rem;
	padding-left: 1rem;
	padding-right: 1rem;
	border-radius: 1rem;
	margin-bottom: 1rem;
	font-family: roboto-medium;
	font-size: var(--fontsize2);
	background-color: var(--color5);
	color: var(--color2);
}
#contactform input,
#contactform textarea {
	width: 100%;
	padding: 0.5rem;
	padding-left: 1rem;
	padding-right: 1rem;
	border-radius: 1rem;
	margin-bottom: 1rem;
	font-family: roboto-medium;
	font-size: 1.5rem;
	background-color: var(--color5);
	color: var(--color2);
}
#contactform input[type=submit] {
	width: auto;
}
div.privacy {
	padding: 1rem;
	border-radius: 1rem;
	margin-top: 4rem;
	margin-bottom: 1rem;
	font-family: roboto-medium;
	font-size: var(--fontsize1);
	background-color: var(--color5);
	color: var(--color2);
}	
div.biography {
	padding-bottom: 4rem;
}
div.biosection {
	background-color: white;
	color: var(--color2);
	font-size: var(--fontsize2);
	padding: 10px;
	margin-top: 2em;
	margin-bottom: 1em;
}
div.biosectioninner {
}
div.biography div.biosection:first-child {
	/*margin-top: 0;*/
}
div.bioentry {
}
div.bioentry::after {
	content: '';
	display: block;
	clear: both;
}
div.bioperiod {
	float: left;
	width: 25%;
	text-align: right;
	margin-right: 1.5rem;
}
div.biodesc {
	float: left;
	width: calc(100% - 25% - 1.5rem);
	line-height: 1.3;
}
div.biodesc p:first-child {
	margin-top: 0;
}
div.backtotop {
	float: right;
	margin: 0;
	padding: 0;
	margin-top: -2em;
	cursor: pointer;
	font-size: var(--fontsizetotop);
}
div.subnavbiography {
	text-align: right;
	margin-top: -3em;
	margin-bottom: 4em;
}
div.subnavbiography div {
	float: right;
	margin-left: 3em;
}
div.subnavbiography::after {
	content: '';
	display: block;
	clear: both;
}
div.bioinfoleft {
	float: left;
	width: 45%;
	margin-right: 5%;
}
div.bioinforight {
	float: left;
	width: 45%;
}
div.bioinfo::after {
	content: '';
	display: block;
	clear: both;
}
div.bioinfo img {
	width: 37vw !important;
	height: 28vw !important;
	object-fit: cover;
	margin-bottom: 2rem;
}
#contactformhandler {
	display: none;
}
body.loose {
	max-width: unset;
	overflow-x: unset;
}
@media only screen and (min-width: 1745px) {
	body {
		
	}
	#kdktitle {
		left: calc((100vw - 1440px) / 2);
	}
	#kdksubtitle {
		left: calc((100vw - 1440px) / 2);
	}
	div.publication {
		width: 418px;
		margin-right: 78px;
	}
	body.publications4 div.publication {
		width: 300px;
		margin-right: 75px;
	}
}
@media only screen and (orientation: portrait) and (max-width: 767px) {
	:root {
		--fontsize1: 1rem;
		--fontsize2: 1.7rem;
		--fontsize2h: 1.7rem;
		--fontsize3: 2.5rem; /* kdk */
		--fontsize3h: 2.5rem; /* kdk home */
		--fontsize4: 1.2rem;
		--fontsizetotop: 0.66rem;
		--fontsizearrow: 4rem;
		
		--otherblue: #265175;
	}
	#site {
		width: 92vw;
	}
	#kdktitle, #kdksubtitle {
		left: 4vw;
	}
	#kdksubtitle {
		top: 7rem;
	}
	body.home #kdksubtitle {
		top: 7rem;
	}
	body.home div.pagecontent img {
		max-width: 100%;
	}
	.hamburger-menu,
	.closemenu {
		font-size: var(--fontsize1);
		right: 4vw;
	}
	.sliding-navbar {
		position: fixed;
		top: 0;
		right: -100vw;
		height: 100dvh;
		width: 100vw;
		background-color: var(--color1);
		transition: right 0.4s ease-in-out;
		z-index: 300;
	}
	.sliding-navbar-open {
		right: 0px;
	}
	.menuitems {
		margin-left: 0;
		padding-left: 4vw;
		margin-top: 5rem;
	}
	.menuitems .item {
		margin-bottom: 0.5rem;
	}
	div.sm {
		float: right;
		margin-right: 4vw;
		margin-top: -2rem;
	}
	div.newsitems {
		width: 100%;
	}
	div.newsitem {
		width: 100%;
		margin-right: 0;
	}
	body.news3 div.newsitem {
		width: 100%;
		margin-right: 0;
	}
	div.newsitemimages {
		width: 100%;
		height: 60vw !important;
	}
	body.news3 div.newsitemimages {
		width: 100%;
		height: 60vw !important;
	}
	div.newsitemimages div.slide {
		height: 60vw !important;
	}
	div.newsitemimages div.slide img {
		height: 60vw !important;
		width: auto;
	}
	div.newsbodytext img {
		max-width: 100%;
		height: auto;
	}
	div.illrowitem img {
		max-width: 46vw;
	}
	div.illdetailimgholder img {
		height: auto;
	}
	div.publication {
		float: none;
		width: 92vw;
	}
	body.publications4 div.publication {
		float: none;
		width: 92vw;
	}
	div.bioinfoleft {
		float: none;
		width: 100%;
		margin-right: 0;
	}
	div.bioinforight {
		float: none;
		width: 100%;
	}
	div.bioinfo img {
		width: 92vw !important;
		height: auto !important;
	}
	body.contact div.pagecontent {
		display: flex;
		flex-direction: column;
	}
	body.contact div.contactpageleft {
		order: 2;
		width: 100%;
		padding-right: 0;
	}
	body.contact div.contactpageright {
		order: 1;
		width: 100%;
		display: flex;
		flex-direction: column;
		margin-bottom: 4rem;
	}
	body.contact #contactform {
		width: 100%;
		margin-bottom: 4rem;
	}
	.langswitch {
		margin-left: 4vw;
		margin-top: 2rem;
	}
	div.sm {
		margin-left: 4vw;
	}
}
