/* NOTE
html is set to 62.5% so that all the REM measurements 
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
  font-size: 62.5%; }
body {
  font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.6;
  font-weight: 400;
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222; }

/* Design 
——————————*/

/* Header */
header {margin-bottom: 50px;}
.quickinfo {
	padding-top: 25px;
	padding-bottom: 25px;}
.logo-header {margin-bottom: 15px;}
.kopfbild {position: relative;}
.kopfbild-text-block {display: none;}
@media (min-width: 750px) {
	.kopfbild-text-block {
		position: absolute;
		bottom: 10%;
		background-color: white;
		color: #053c7b;;
		padding-left: 20px;
		padding-right: 20px;
		opacity: 0.74;
		padding-top: 20px;
		display: inline;
		left: 10%;
		min-width: 350px;}
}
/* Header Dropdown-Navigation */
.dropbtn {
	color: #053c7b;
	padding: 5px 10px;
	cursor: pointer;
	font-size: 0.9em;
	border: 1px solid #053c7b;}
.dropdown {
	position: absolute;
	right: 15px;
	top: 115px;
	display: inline-block;
	float: right;}
.dropdown-content {
	display: none;
	position: absolute;
	right: 0;
	background-color: #f9f9f9;
	min-width: 250px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;}
.dropdown-content a {
	padding: 12px 16px;
	text-decoration: none;
	display: block;}
.dropdown-content a:hover {
	color: #053c7b;
	border-bottom: 6px solid #053c7b;}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropbtn {background-color: #e0f6ff;}
@media (min-width: 750px) {
	.dropdown {top: 140px;
		right: 1px;
	}
}
@media (min-width: 1300px) {
	.dropdown {top: 140px;}
}

/*Main */
.grid-half-width {
	display: grid;
  	grid-gap: 1em;}
.grid-third-width {
	display: grid;
	grid-gap: 2em;}
.collapsible-container {
	border-bottom: 1px solid silver;
	margin-bottom: 35px;}
.collapsible {
	cursor: pointer;
	padding-top: 18px;
	padding-right: 5px;
	padding-left: 0;
	text-align: left;
	outline: none;}
.collapsible-button {
	margin-bottom: 0;
	border-right: none;
	border-left: none;
	border-bottom: none;
	border-radius:  0;
	width: 100%;
	padding-bottom: 0;}
.collapsible-header {
	float: left;
	font-size: 0.9em;
	margin-bottom: 0;}
.collapsible-content {
	max-height: 0;
	overflow: hidden;
  	transition: max-height 0.5s ease-in;}
.active {border-bottom:  none;}
.collapsible-button:after {
  content: '\002B';
  float: right;
  margin-left: 5px;
  font-size: 1.7em;
  position: relative;
  bottom: 11px;}
.minus:after {content: "\2212";}
@media (min-width: 756px) {
	.grid-half-width {grid-template-columns: repeat(auto-fill, minmax(min(33.333333%, 100%), 1fr));}
	.grid-third-width {grid-template-columns: repeat(auto-fill, minmax(min(25%, 100%), 1fr));}
	.sticky {
		position: sticky;
		top: 10px;}
	.collapsible-header {
		font-size: 2.5rem;
		margin-bottom: 12px;
	}
	.collapsible:after {
		font-size: 2.5em;
		bottom: 7px;
	}
}
.card {
  	transition: 0.3s;
  	background-color: #e0f6ff;}
.card:hover {box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);}
.card-angebot {
	background-color: #ecf4f8;
	padding-left: 1em;
	padding-top: 1.6em;}
.card-angebot-content {
	display: flex;
	align-items:  stretch;}
.card-angebot-text {
	padding-left: 1em;
	padding-bottom: 2em;
	margin-right: 25px;}
.card-angebot-img {display: none;}
.card-angebot-aside {
	background-color: #ecf4f8;
	padding: 1.5em;
	margin-top: 5px;}
@media (min-width: 400px) {
	.card-angebot-img {
		object-fit: cover;
		height: 480px;
		width: 150px;
		display: block;
	}
}
.name {margin-top: 30px;}
/* Footer and Navigation */
footer {
	background-color: #053c7b;
	margin-top: 50px;}
.navigation {
	padding-top: 40px;
	padding-bottom: 40px;}
.about {
	background-color: #00234b;
	padding: 15px;
	position: relative;
	bottom: 15px;}
.impressum {
	color: #86a6ca;
	padding-top: 20px;
	padding-bottom: 20px;
	border-top: 1px solid #86a6ca;
	font-size: 0.95em;}
footer a {
	color: #fff;
	display: block;
	text-decoration: none;}
footer a:hover {
	color: #fff;;}
nav h5 {
	border-bottom-style: solid;
	padding-bottom: 5px;
	color: #86a6ca;
	letter-spacing: 0.5px;}
nav a {
	color: white;
	font-size: 1.2em;
	line-height: 2em;}
nav.about {
	margin-top: 30px;
	padding-left: 0;}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
  	margin-bottom: 2rem;
  	font-weight: 600;
	color: #053c7b;}
h1 { font-size: 2.8rem; line-height: 1.2; color: #053c7b;}
h2 { font-size: 2.5rem; line-height: 1.25; }
h3, .card-angebot-aside h1 { font-size: 2.0rem; line-height: 1.3; }
h4 { font-size: 2rem; line-height: 1.35; }
h5, .logo-header h1 { font-size: 1.8rem; line-height: 1.5; }
h6 { font-size: 1.5rem; line-height: 1.6; }
p, ul, ol {
	margin-top: 0;
	font-size: 1.2em;}
.blau {color: #053c7b;}
.fett {font-weight: bold;}
.align-right {text-align: right;}
address {font-style:  normal;}
address.quickinfo {font-size:  1.2em;}
@media (min-width: 756px) {
	h1 { font-size: 4.0rem; }
	h2 { font-size: 3.5rem; }
	h3, .card-angebot-aside h1 { font-size: 2.5rem; }
	h4 { font-size: 2.5rem; }
	h5 { font-size: 2rem; }
	h6 { font-size: 1.5rem; }
}
@media (min-width: 750px) {
	.logo-header h1 { font-size: 3.6rem; }
}
@media (max-width: 1300px) and (min-width: 650px) {
	address.quickinfo {font-size: 1em;}
}

/* Icons */
.lnr {
  display: inline-block;
  fill: currentColor;
  width: 1em;
  height: 1em;
  vertical-align: -0.05em;}
.lnr-phone-handset, .lnr-envelope {
  color: #053c7b}

/* Links */
a {
  	color: black;
  	border-bottom: 0.4em solid #b8def1;
  	text-decoration: none;
  	opacity: 1;}
a:hover {
  	border-bottom: 0.4em solid #44a5d6; }
footer a, footer a:hover {border-bottom-style: none;}

/* Bilder */
img {width: 100%;}
figcaption {
	font-style: italic;
	font-size: 0.9em;
	margin-top: 10px;}
.collapsible-img {margin-bottom: 15px;}
.logo {
	float: left;
	width:  20%;
	margin-right: 12%;}
.logo-footer {
	float: left;
	width: 4%;
	margin-right: 2%;
	position: absolute;
	top: 20px;}
@media (min-width: 750px) {
	.collapsible-img {
		width: 50%;
		float: right;
		margin-left: 20px;}
}

/* Buttons */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  padding: 5px 30px;
  color: #053c7b;;
  text-align: center;
  font-size: 1.2em;
  line-height: 38px;
  text-decoration: none;
  white-space: nowrap;
  background-color: white;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box;}
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #333;
  border-color: #888;
  outline: 0;
  border-bottom-width: 1px;
}
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #FFF;
  background-color: #33C3F0;
  border-color: #33C3F0; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #FFF;
  background-color: #1EAEDB;
  border-color: #1EAEDB; }
.angebot-button {margin-top: 4em;}


/* Lists */
ul, ol {
	margin-left: 1em;
	padding-left: 1em;}
ul {list-style: circle; }
ol {list-style: decimal; }
li {margin-bottom: 1rem; }

/* Tables */
.table {overflow-x: auto;}
th,
td {
	padding: 12px 15px;
	text-align: right;
  	border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  	padding-left: 0; 
	min-width:  200px;
  	text-align: left;}
th:last-child,
td:last-child {
  	padding-right: 0; }
tr td {text-align: right;}
tr td:first-child {text-align: left;}
@media (min-width: 750px) {
	th:first-child,
	td:first-child {
		padding-left: 0; 
		min-width:  20px;
	}
}
/* Spacing */
button,
.button {
  	margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  	margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form,
.abstand-unten {margin-bottom: 2.5rem; } 
/* Misc */
hr {
	margin-top: 3rem;
	margin-bottom: 3.5rem;
	border-width: 0;
  	border-top: 1px solid #E1E1E1; }