/**
 * Copyright © itbaier, Germany 2019. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * itbaier style sheet min for layout 2019
 * 
 * File:     itbaier-search-min-0.1.js
 * 
 * Author:   Herbert Baier
 * Date:     01.08.2019
 *
 * Please visit
 * 
 *   http://www.itbaier.de
 * 
 * if you need additional information or have any questions.
 */
@charset "UTF-8";

body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
}

:root {
	background: #fff;
}

* {
	box-sizing: border-box;
}

/*
 * Help classes
 */
.bold {
  font-weight: bold;
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

.ident {
	margin-left: 1em;
}

.vertical-gap {
	margin-top: 1em;
	margin-bottom: 1em;
}

.hidden {
	display:none;
}

.preformatted {
	white-space: pre-wrap;
}

/*
 * The links
 */
a, [class^="clickable"], .side-navigation-button {
	color: #003667;
}

a {
	text-decoration: none;
}

a:hover, .clickable-underline:hover {
	text-decoration: underline;
}

a.hidden {
	display:none;
}

[class^="clickable"], .side-navigation-button {
	cursor: pointer;
}

.top-link {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: fixed;
	right: 1.5em;
	bottom: 1.5em;
	z-index: 10;
  	border: 1px solid #aaa;
	border-radius: .3em;
	color: #000;
	background-color: #efefef;
	opacity: 0;
	-webkit-transition: opacity .4s ease;
	transition: opacity .4s ease;
	pointer-events: none;
	padding: .5em;
}

.top-link:focus, .top-link:hover {
	text-decoration: none;
}

.top-link.is-visible{
	opacity: 0.8;
	pointer-events: auto;
}

/*
 * The lists
 */
ul.dot-list {
	margin: 0px;
	padding: 0px 0px 0px 18px;
}

ul.dot-list li {
	list-style-image: url(../images/list-style-dots.png);
	padding-bottom: 5px;
}

/*
 * Main containers
 */
#header {
	background: #93a4ac url("../images/background-header.jpg") no-repeat scroll center top;
	padding: 10px;
	color: #003667;
	overflow: hidden;
}

#header::after {
    content: "";
    clear: both;
}

#header .logo {
	float: left;
}

#header .name {
	float: left;
	margin-top: 15px;
	margin-left: 30px;
}

#header .name h1 {
	margin: 0px;
	font-size: 1.8em;
}

#header .name h2 {
	margin: 0px;
	font-size: 1.3em;
}

#header .languages {
	float: right;
}

/*
 * The stick container
 */
.sticky-container {
	background-color: #fff;
	border-top: 1px solid #c8d3d7;
	border-bottom: 1px solid #c8d3d7;
	box-shadow: 0px 15px 25px -15px rgba(0, 0, 0, 0.5);
	margin: 0px;
	padding: 10px;
	z-index: 10; /* required to hide image view */
}

.sticky-logo {
	display: none;
	margin-left: 10px;
}

.sticky-logo img {
	vertical-align: sub;
	max-height: 30px;
}

.content {
	padding: 16px 10px;
}

.sticky {
	position: sticky;
	top: 0;
	width: 100%;
}

/* 
 * The top padding depends on the stick container height.
 * In order to take effect this class, nothing can exist between the tags using the classes stick and content.
 */
.sticky + .content {
	padding-top: 1em;
}

/*
 * Side navigation menu
 */
#main {
	transition: margin-left .5s;
}

.side-navigation-button {
	font-size: 30px;
}

.side-navigation {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 20; /* required to hide sticky container */
	top: 0;
	left: 0;
	background-color: #111;
	overflow-x: hidden;
	transition: 0.5s;
	padding-top: 60px;
}

.side-navigation a {
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	font-size: 24px;
	color: #818181;
	display: block;
	transition: 0.3s;
}

.side-navigation a:hover, .side-navigation .active {
	color: #f1f1f1;
}

.side-navigation .close-button {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
}

.quick-link {
	position: fixed;
	top: 60px; /* depends on the head and stick container height */
	right: 0;
	z-index: 20;
}

.quick-link-table {
	display: flex;
	position: absolute;
	right: -210px; /* should be negative to the width of the class quick-link-content */
	height: auto;
	border: 0;
	border-spacing: 0;
	border-collapse: inherit;
	transition: all ease-in-out 0.5s;
	opacity: 0.8;
	margin: 0;
	padding: 0;
}

.quick-link-table:hover {
	right: 0px;
}

.quick-link-icon {
	width: 22px;
}

.quick-link-content {
	white-space: nowrap; 
	width: 210px;
	overflow: hidden;
	text-overflow: ellipsis;
  	border: 1px solid #aaa;
  	border-right: none;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: .3em 0px 0px .3em;
	background-color: #efefef;
	background-image: linear-gradient(to bottom, #ffffff 0%,#edeef2 100%);
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	padding: 3px;
}

/*
 * Top navigation menu
 */
.top-navigation a {
	margin-left: 20px;
}

.top-navigation .active {
	color: #777;
	text-decoration: none;
}

/*
 * Containers
 */
.table {
	display: -webkit-flex;
	display: flex;
}

/*
 * The footer
 */
.footer {
	margin : 0px 5px 10px 5px;
}

.footer hr {
	margin: 0px 0px 2px 0px;
	border-color: #c8d3d7;
}

[class^="footer-"] {
	font-size: 0.9em;
	color: #777;
	width: 33.33333%;
	padding-top: 0;
	padding-bottom: 0;
}

.footer-left {
	text-align: left;
}

.footer-center {
	text-align: center;
}

.footer-right {
	text-align: right;
}

/*
 * Content layout
 */
table.description {
	border-collapse: collapse;
}

table.description tr {
	margin-top: 3px;
}

/*
 * Content layout
 */
.content-description {
	text-align: left;
	width: 50%;
}

.content-image {
	text-align: center;
	width: 50%;
	margin-top: 10px;
}

/*
 * Responsive media layout
 */
.small-device {
	display: inline;
}

.medium-device {
	display: inline;
}

.print-device {
	display: none;
}

@media screen and (max-width: 900px) {
	.resize-media {
		max-width: 380px;
	}
}


@media screen and (max-width: 800px) {
	.resize-media {
		max-width: 350px;
	}
}

@media screen and (max-width: 780px) {
	.medium-device {
		display:none;
	}
}

@media screen and (max-width: 720px) {
	.resize-media {
		max-width: 300px;
	}
}

@media screen and (max-width: 660px) {	
	.table {
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	
	[class^="content-"] {
		width: 100%;
	}
	
	.content-image {
		margin-top: 0px;
	}

	.resize-media {
		max-width: 250px;
	}
	
	[class^="footer-"] {
		width: 100%;
		text-align: center;
	}
	
	.top-navigation a {
		float: none;
		display: block;
		text-align: left;
		width: 100%;
		margin: 0;
		padding: 14px 0px;
	}
  
	#header {
		width: 100%;
    	text-align: center;
    }
	
	#header .logo {
		float: none;
	}
	
	#header .name {
		float: none;
		margin: 5px 0px;
	}
	
	#header .name h1 {
		font-size: 1.1em;
	}
	
	#header .name h2 {
		font-size: 1em;
	}
	
	#header .languages {
		font-size: 0.8em;
		float: none;
	}
}

@media screen and (max-width: 580px) {
	.small-device {
		display:none;
	}
}

@media screen and (max-height: 450px) {
	.side-navigation {
		padding-top: 15px;
	}
	.side-navigation a {
		font-size: 18px;
	}
}

@media print {
	body {
		font-size: 11pt;
	}
	
	a, [class^="clickable"] {
		color: black;
	}
	
	.content {
		padding: 16px 0px;
	}
	
	.resize-media {
		max-width: 300px;
	}
	
	.no-print-device, .top-link, .quick-link, #header .languages, .sticky-container, .footer {
	    display: none;
	}
	
	.print-device {
		display: inline;
	}
}
