:root {
	font-size:5.5px;
}
@media (min-width:650px) {
	:root {
		font-size:7px;
	}
}
@media (min-width:1200px) {
	:root {
		font-size:8px;
	}
}
@media (min-width:1500px) {
	:root {
		font-size:10px;
	}
}


body {
	font-size:16px; /*restore default*/
}


html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	text-underline-offset: 0.15em;
	
	color:#000000; /*default*/
	background-color:white;
}
a img {
	border:none;
}
div.clearfloat {
	overflow:hidden;
	height:0px;
	clear:both;
	visibility:hidden;
}


body {
    margin:0;
    padding:0;
    font-family: 'Radikal', sans-serif;
	font-weight: 300;
	font-size:2.2rem;
	line-height:normal;
}
@media (max-width:850px) {
	body {
		font-size:2.75rem;
	}
}


.wconstrain {
	margin-left:auto;
	margin-right:auto;
}
.wconstrain_w_xl {
	width:100%;
}
.wconstrain_w_m {
	width:min(calc(100% - 6rem), 170rem);
}
.wconstrain_w_s {
	width:min(calc(100% - 6rem), 110rem);
}
.wconstrain_w_xs {
	width:min(calc(100% - 6rem), 90rem);
}
@media (min-width:1500px) {
    .wconstrain_w_m {
        width:min(calc(100% - 20rem), 170rem);
    }
    .wconstrain_w_s {
        width:min(calc(100% - 20rem), 110rem);
    }
    .wconstrain_w_xs {
        width:min(calc(100% - 20rem), 90rem);
    }
}
@media (max-width:1023px) {
    .wconstrain_w_xs {
        width:min(calc(100% - 6rem), 110rem);
    }
}

header {
	padding:3.8rem 0;
    box-shadow: 0 0 1.2rem #DDD;

	position: relative;
	background-color: white;

    position: sticky;
    top:0;
	z-index: 20;
}
header .headerinner {
	display:flex;
	justify-content:space-between;
    align-items:center;
}
header .logo {
	width: 57rem; /*48rem;*/
    max-width: 53vw;
    padding-top:2rem;
	display: block;
}
@media (max-height:450px) {
    header .logo {
        width: 22.5rem;
    }
}
header .menubar {
	display:flex;
	margin-bottom:0.25rem;
}
header .menubutton {
	display: block;
	width: 3.4rem;
    cursor: pointer;
}
header .dummy {
	width: 3.4rem;
}

header.compact {
    padding-top: 6rem;
    padding-bottom: 4.5rem;
}
header.compact .logo {
    width:27.6rem; /*22.5rem;*/
    padding-top:0;
}
@media (max-width:600px) {
    header.compact .logo {
        width:30rem;
    }
}
header.compact .headerinner .menubutton {
    align-self:flex-end;
}


.pagesegment > .wconstrain {
	padding-top:8.5rem;
    padding-bottom:8.5rem;
}
/*
.pagesegment .wconstrain_w_m {
    padding-top:6.5rem;
    padding-bottom:7.5rem;
}
.pagesegment .wconstrain_w_m.margintb_s {
    padding-top:5rem;
    padding-bottom:5rem;
}
*/
.pagesegment .wconstrain.margintb_z {
    padding-top:0;
    padding-bottom:0;
}


footer {
    color:white;
    background-color: #797777;
    font-size:2.2rem;
}



#menu {
    position: fixed;
    left:0;
    width:65rem;
    top:0;
    bottom:0;
    z-index:30;

    background-color: #EBEBEB;

    box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.3);

    font-size: 3rem;
    font-weight: 300;

    color:#797777;

    overflow:auto;
    scrollbar-width: thin;
}
#menu::-webkit-scrollbar {
    width:5px;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(155, 155, 155, 0.5);
}

#menu a {
    color:inherit;
    text-decoration: none;
    transition: color 0.2s;
}
#menu a:hover {
    color:black;
}
#menu .menuitems {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
#menu .menuitems a {
    display: block;
    margin-left: 13rem;
    line-height: 1.75;
}
#menu .menuitems a.disabled {
    display: none;
}
#menu .langchooser {
    margin-top:4rem;
    margin-bottom:4rem;
    /*visibility: hidden;*/
}
#menu .address {
    margin-top:3em;
    margin-left: 13rem;
    margin-bottom: 2em;

    font-size: 2rem;
    letter-spacing: 0.01em;
}
#menu .address a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}
#menu .closebutton {
    width: 3.4rem;
    height: 3.4rem;
    cursor: pointer;

    background-image: url('/images/icons/menuclose.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;

    margin:8rem 0 8rem 13rem;
}

#menu {
    transition:transform 0.2s;
}
#menu.hidden {
    transform: translateX(-110%); /*100% + shadow*/
}

@media (max-width:1024px) {
    #menu {
        width: 70rem;
    }
    #menu .closebutton {
        margin-left: 10rem;
    }
    #menu .menuitems a,
    #menu .address {
        margin-left: 18rem;
    }
}
@media (max-width:600px) {
    #menu {
        width:100%;
        font-size: 4rem;
    }
    #menu .address {
        font-size: 3rem;
    }

    #menu .closebutton {
        margin-left: 6rem;
    }
    #menu .menuitems a,
    #menu .address {
        margin-left: 6rem;
    }
}


/*block gaps*/
.wt-ai-defmarginb + .wt-ai-defmargint {
	margin-top:5rem;
}
.wt-ai-defmarginb[data-bltype=pagesegment] + .wt-ai-defmargint[data-bltype=pagesegment] {
	margin-top:0;
}



#totopbutton {
	display:none;
	position:fixed;
	right:5rem;
	bottom:6rem;
	width:2.5rem;
	z-index:999;
	cursor:pointer;
}
#totopbutton img {
	width:100%;
}

