html, body {
	margin: 0;
	padding: 0;
}

header {
	position: fixed;
	top: 0;
	background: black;
	width: 100%;
	height: 120px;
}
header .offline-logo {
}
header .offline-maintitle {
	position: absolute;
	top: 48px;
	left: 200px;
}

header #searchBox {
	position: absolute;
	top: 55px;
	right: 30px;
}
header #searchBox .search-field {
	display: inline-block;
	height: 20px;
	padding: 4px 6px;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 20px;
	vertical-align: middle;
	background: url('../../Client/Content/images/magnifier.png') no-repeat #323232 99% center !important;
	color: #FAFAFA !important;
	border: 1px solid #CFCFCF !important;
}

footer {
	clear: both;
	background: #000;
	color: #bbbbbb;
	display: block;
	width: 100%;
	border-top: 1px solid #777777;
	font-size: 11px;
	padding: 0;
	position: fixed;
	bottom: 0;
	left: 0;	
	line-height: 14px;
	text-align: center;
}
footer a {
	color: white;
	text-decoration: none;
}
footer a:hover {
	text-decoration: underline;
}
footer p {
	margin: 4px 0;
}
footer .imprint_terms {
	position: absolute;
	right: 20px;
}

#body {
	margin-top: 155px;
}
#offline-topic {
	margin-left: 400px;
	padding: 0 40px 80px 0;
	min-width: 500px;
}

.topic-content a {
	text-decoration: none;
}
.topic-content a:hover {
	text-decoration: underline;
}

.highlight {
	background-color: #ffee00 !important;
}

.search-results {
	padding: 0 20px 40px 50px;
}



/* category tree */

.topic-tree .topic-tree-container {
	position: fixed;
	top: 120px;
	overflow-x: auto;
	overflow-y: scroll;
	width: 350px;
	height: 100%;
	float: left;
	padding-top: 30px;
}

#jstree-dnd.jstree-default .jstree-ok,
#jstree-dnd.jstree-default .jstree-er {
  background-image: url("../../Content/images/jstree_32px_frontend.png") !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}

.jstree-default .jstree-node,
.jstree-default .jstree-icon {
	background-image: url("../../Content/images/jstree_32px_frontend.png");
}
.jstree-default .jstree-node {
  background-position: -292px -4px;
  background-repeat: repeat-y;
}
.jstree-default .jstree-anchor .jstree-icon {
	width: 0 !important;
}

.jstree-default-small .jstree-node,
.jstree-default-small .jstree-icon {
  background-image: url("../../Content/images/jstree_32px_frontend.png");
}
.jstree-default-small .jstree-node {
  background-position: -295px -7px;
  background-repeat: repeat-y;
}

.jstree-default-large .jstree-node,
.jstree-default-large .jstree-icon {
  background-image: url("../../Content/images/jstree_32px_frontend.png");
}
.jstree-default-large .jstree-node {
  background-position: -288px 0px;
  background-repeat: repeat-y;
}

.jstree-default .jstree-clicked, .jstree-default .jstree-hovered {
	background: white;
	box-shadow: none;
	text-decoration: underline;
	color: #333;
}
.jstree-default .jstree-anchor {
	color: black;
	padding: 0 3px;
	margin-left: 8px;
}

li.tree-invisible>.jstree-anchor {
	color: #aaa !important;
}
li.tree-product>.jstree-anchor {
	font-weight: bold;
}


/* responsiveness */

.burger-menu-icon {
	display: none;
}
.topic-tree-container .close-icon {
	display: none;
}

@media screen and (max-width: 1200px) {
	footer .footer-paragraph {
		text-align: left;
		margin-left: 5px;
	}
}
@media screen and (max-width: 1000px) {
	#offline-topic {
		margin-left: 320px;
		min-width: 300px;
	}
	.topic-tree .topic-tree-container {
		width: 300px;
	}
}
@media screen and (max-width: 900px) {
	#offline-topic {
		margin-left: 270px;
	}
	.topic-tree .topic-tree-container {
		width: 250px;
	}
}
@media screen and (max-width: 800px) {
	#offline-topic {
		margin-left: 220px;
	}
	.topic-tree .topic-tree-container {
		width: 200px;
	}
	footer .footer-left {
		margin-right: 10px;
		display: block;
	}
	footer .imprint_terms {
		position: relative;
		left: 0;
	}
}
@media screen and (max-width: 700px) {
	.burger-menu-icon {
		position: absolute;
		top: 45px;
		right: 20px;
		display: block;
		background: url(../../Content/images/icons/burger_menu_icon_48px.png) no-repeat 50% 100% transparent;
		width: 48px;
		height: 48px;
		cursor: pointer;
	}
	.responsive .burger-menu-icon {
		-moz-transform: rotate(90deg);
		-ms-transform: rotate(90deg);
		-o-transform: rotate(90deg);
		-webkit-transform: rotate(90deg);
	}
	.topic-tree {
		display: none;
	}
	.responsive .topic-tree {
		display: block;
		position: absolute;
		width: 100%;
	}
	.responsive .topic-tree-container .close-icon {
		display: block;
		position: absolute;
		top: 10px;
		right: 10px;
		cursor: pointer;
		font-size: 24px;
		text-align: center;
	}
	.topic-tree .topic-tree-container {
		background: #dddddd;
		width: 100%;
	}
	body.responsive {
		overflow: hidden !important;
	}
	.jstree-default .jstree-clicked, .jstree-default .jstree-hovered {
		background: none;
		border-radius: 0;
	}
	#offline-topic {
		margin-left: 20px;
	}
	header #searchBox {
		top: 55px;
		right: 100px;
	}
}

@media screen and (max-width: 700px) {
	header .offline-maintitle {
		top: 53px;
		left: 180px;
	}
	header .offline-maintitle img {
		width: 150px;
	}
	
	header #searchBox {
		right: 80px;
	}
	header #searchBox .search-field {
		width: 150px;
	}
}

@media screen and (max-width: 510px) {
	.burger-menu-icon {
		background: url(../../Content/images/icons/burger_menu_icon_32px.png) no-repeat 50% 100% transparent;
		top: 8px;
		right: 8px;
		width: 32px;
		height: 32px;
	}
	
	header .offline-maintitle {
		top: 35px;
		left: 180px;
	}
	header .offline-maintitle img {
		width: 120px;
	}
	
	header #searchBox {
		top: 70px;
		left: 180px;
	}
	header #searchBox .search-field {
		width: auto;
	}
}

/* Custom CSS */

html {
    background-color: black;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    display: none;
}

header {
    left:0;
}

header #languageSelect {
    position: absolute;
    top: 55px;
    right: 230px;
    display: inline-block;
    height: 30px;
    padding: 4px 6px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
    background: #323232 !important;
    color: #FAFAFA !important;
    border: 1px solid #CFCFCF !important;
}

@media screen and (min-width: 1170px) {
    header {
        margin-left: calc((100% - 1170px) / 2);
        margin-right: calc((100% - 1170px) / 2);
        max-width: 1170px;
    }

    header #searchBox {
        right: 0px;
    }

    header #languageSelect {
        right: 200px;
    }
}

body {
    position: relative;
    height: 100%;
}

@media screen and (min-width: 1170px) {
    body {
        margin-left: calc((100% - 1170px) / 2);
        margin-right: calc((100% - 1170px) / 2);
        max-width: 1170px;
    }
}

#body {
    background-color: white;
    padding-top: 132px;
    margin-top: unset;
    min-height: calc(100% - 132px);
}

.topic-tree .topic-tree-container {
    background-color: white;
    padding-top: 12px;
}

.jstree-container-ul {
    margin-bottom: 50px;
}

@media screen and (max-width: 1170px) {
    .topic-tree .topic-tree-container {
        left: 0;
    }
}
@media screen and (max-width: 700px) {
    .topic-tree .topic-tree-container {
        z-index: 2;
    }
}

#offline-topic {
    padding-right: 30px;
    margin-left: 380px;
}

@media screen and (max-width: 1000px) {
    #offline-topic {
        margin-left: 320px;
    }
}
@media screen and (max-width: 900px) {
    #offline-topic {
        margin-left: 270px;
    }
}
@media screen and (max-width: 800px) {
    #offline-topic {
        margin-left: 220px;
    }
}
@media screen and (max-width: 700px) {
    #offline-topic {
        margin-left: 20px;
    }
}
@media screen and (max-width: 510px) {
    #offline-topic {
        margin-left: 20px;
    }
}

#offline-topic img {
    max-width: calc(100% - 10px);
}

.responsive .burger-menu-icon {
    background: url(../../Content/images/icons/close_icon_48px.png) no-repeat 50% 50% transparent;
    right: 30px;
}

@media screen and (max-width: 510px) {
    .responsive .burger-menu-icon {
        right: 8px;
        background-size: 95%;
    }
}

footer {
    opacity: .8;
}

.email-obfuscate-box {
    unicode-bidi: bidi-override;
    direction: rtl;
    cursor: pointer;
}

.email-obfuscate:before {
    content: attr(data-domain) "\0040" attr(data-user);
}

footer .email-obfuscate:before {
    color: #eeeeee;
}

.badge-info {
    background-color: #555555;
    display: inline-block;
    padding: 2px 4px;
    font-size: 11.844px;
    font-weight: bold;
    line-height: 14px;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    vertical-align: baseline;
    padding-right: 9px;
    padding-left: 9px;
    margin-top: 5px;
    margin-left: 5px;
}

#scrollTopButton {
    position: fixed;
    bottom: 4em;
    right: 2em;
    height: 3em;
    width: 3em;
    background-color: white;
    border: 1px solid;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-direction: column;
    user-select: none;
    font-family: Roboto, Arial, Verdana, Helvetica, Sans-Serif;
}

#scrollTopButton:hover {
    background-color: lightgray;
}

#scrollTopButton .arrUp {
    transform: rotateZ(45deg);
    width: 1em;
    height: 1em;
    border-left: 2px solid;
    border-top: 2px solid;
    margin-bottom: -5px;
}

@media screen and (min-width: 1200px) {
    #scrollTopButton {
        right: 5px;
    }
}

@media screen and (min-width: 1300px) {
    #scrollTopButton {
        right: calc((100% - 1170px) / 2 - 4em);
    }
}

#btnPrint {
    background: url(../../img/print.png) no-repeat 100% 100% transparent;
    display: inline-block;
    width: 30px;
    height: 30px;
    background-size: 97%;
    float: right;
    cursor: pointer;
}

#btnPrint:hover {
    background-color: lightgray;
}

/* Mobile style */

html {
    min-width: 370px;
}

#productName {
    position: absolute;
    color: white;
    left: 410px;
    top: 70px;
    font-size: 1.2em;
}

@media screen and (max-width: 850px) {

    body header:has(#languageSelect) #searchBox {
        top: 15px;
    }

    body header #languageSelect {
        right: 30px;
    }
}

@media screen and (max-width: 700px) {

    body.mobile header {
        height: 90px;
    }

    body.mobile .offline-logo img {
        width: 20vw;
        max-width: 170px;
        min-width: 100px;
    }

    body.mobile header .offline-maintitle {
        top: 25px;
        left: max(100px, 21vw);
    }

    body.mobile header .offline-maintitle img {
        width: max(22vw, 120px);
    }

    body.mobile footer {
        position: unset;
    }

    body.mobile .burger-menu-icon {
        top: 15px;
    }

    body.mobile header #searchBox {
        top: 25px;
    }

    body.mobile  header #languageSelect {
        top: 52px;
        right: 80px;
    }

    body.mobile #body {
        padding-top: 100px;
        min-height: calc(100% - 100px);
    }

    body.mobile .topic-tree .topic-tree-container {
        top:90px;
    }

    body.mobile #offline-tree {
        padding-bottom: 30px;
    }

    #languageSelect {
        right: 80px;
    }

    #productName {
        left: max(100px, 21vw);
        top: min(9vw, 60px);
    }
}
@media screen and (max-width: 510px) {

    body.mobile header .offline-maintitle {
        top: 15px;
    }

    body header:has(#languageSelect) #searchBox,
    body.mobile header #searchBox {
        top: 50px;
        left: unset;
        right: 5px;
    }

    body.mobile  header #languageSelect {
        top: 50px;
        left: unset;
        right: 195px;
    }

    body.mobile #offline-tree {
        padding-bottom: 70px;
    }
}

.infobox {
    border: 1px solid #ccccbc;
    clear: both;
    padding: 5px 7px;
    background: #ffffda;
    margin: 5px 0px;
}