/*!
 * Start Bootstrap - Modern Business (https://startbootstrap.com/template-overviews/modern-business)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-logomodern-business-nav/blob/master/LICENSE)
 */

/* Die k24-Schriftart für navbar-brand */
/* slabo-27px-regular - latin */
@font-face {
  font-family: 'Slabo 27px';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/slabo-27px-v4-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Slabo 27px'), local('Slabo27px-Regular'),
       url('../fonts/slabo-27px-v4-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/slabo-27px-v4-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/slabo-27px-v4-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/slabo-27px-v4-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/slabo-27px-v4-latin-regular.svg#Slabo27px') format('svg'); /* Legacy iOS */
}

.font-k24 {
  font-family: 'Slabo 27px', serif;
}

/* Modern Business Styles */
html {
  position: relative;
  min-height: 100%;
}

body {
  padding-top: 54px;
  /* Margin bottom by footer height */
  margin-bottom: 80px;
}

@media (min-width: 992px) {
  body {
    padding-top: 56px;
  }
}

.carousel-item {
  height: 65vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.portfolio-item {
  margin-bottom: 30px;
}

/* CUSTOM */
/* CUSTOM */
/* CUSTOM */

/* Das k24-Orange */
.bg-k24 {
	background-color: #FFAF00!important;
}

/* Offset für Anker bei Fixed Header */
/* Quelle: https://pixelflips.com/blog/anchor-links-with-a-fixed-header
   Alternative: https://www.caktusgroup.com/blog/2017/10/23/css-tip-fixed-headers-and-section-anchors/ */
.anchor{
  display: block;
  height: 60px; /*same height as header*/
  margin-top: -60px; /*same height as header*/
  visibility: hidden;
}

/* Sticky Footer */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  /* background-color: #f5f5f5; */
}

.footer-text {
  margin: 18px 0;
}

.carousel-caption {
  text-align: left !important;
}

/* "Nach-Oben"-Button */
/* Quelle: https://www.templatemonster.com/de/blog/wie-erstelle-ich-einen-nach-oben-button-mit-css-und-jquery/ */
/* Customized für k24 */
#button {
  display: inline-block;
  background-color: #FFAF00;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 4px;
  /* margin: 30px; */
  position: fixed;
  bottom: 10px;
  right: 40px;
  transition: background-color .3s;
  z-index: 1000;
}

#button.show {
  opacity: 1;
  visibility: visible;
}

#button:hover {
  cursor: pointer;
  background-color: #333;
}

#button:active {
  background-color: #555;
}

#button::after {
  content: "\f077";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-size: 2em;
  line-height: 40px;
  color: #fff;
}

#button {
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
}

/* Breadcrumb */
/* Quelle: https://bootsnipp.com/snippets/DrKen */
/* Customized für k24 */
.breadcrumb {
    padding: 0px;
	/* background: rgba(0,0,0,.03); */
	background: rgba(0,0,0,.00);
	list-style: none; 
	overflow: hidden;
    margin-top: 20px;
}
.breadcrumb>li+li:before {
	padding: 0;
}
.breadcrumb li { 
	float: left; 
}
.breadcrumb li.active a {
	background: orange;                   /* fallback color */
	background: #ffc107 ; 
}
.breadcrumb li.completed a {
	background: orange;                   /* fallback color */
	background: #7F7F7F; 
}
.breadcrumb li.active a:after {
	border-left: 30px solid #ffc107 ;
}
.breadcrumb li.completed a:after {
	border-left: 30px solid #7F7F7F;
} 

.breadcrumb li a {
	color:  rgba(255,255,255,.9) !important;
	text-decoration: none; 
	padding: 10px 0 10px 45px;
	position: relative; 
	display: block;
	float: left;
}
.breadcrumb li a:after { 
	content: " "; 
	display: block; 
	width: 0; 
	height: 0;
	border-top: 50px solid transparent;           /* Go big on the size, and let overflow hide */
	border-bottom: 50px solid transparent;
	border-left: 30px solid hsla(0, 0%, 83%, 1);
	position: absolute;
	top: 50%;
	margin-top: -50px; 
	left: 100%;
	z-index: 2; 
}	
.breadcrumb li a:before { 
	content: " "; 
	display: block; 
	width: 0; 
	height: 0;
	border-top: 50px solid transparent;           /* Go big on the size, and let overflow hide */
	border-bottom: 50px solid transparent;
	border-left: 30px solid white;
	position: absolute;
	top: 50%;
	margin-top: -50px; 
	margin-left: 1px;
	left: 100%;
	z-index: 1; 
}	
.breadcrumb li:first-child a {
	padding-left: 15px;
}
.breadcrumb li a:hover { background: #ffc107  ; }
.breadcrumb li a:hover:after { border-left-color: #ffc107   !important; }


/* table-header gleiches grau wie card-header */
.table .thead-light th {
    background-color: rgba(0, 0, 0, 0.03) !important;
}

/* Navbar customs */
/* Versuch für bg-color. Weiße Schrift auf grauem Grund. Oben und unten sind immer Ränder übrig. Später fixen. */
.dropdown-item.active, .dropdown-item:active {
	background-color: #7F7F7F;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    /* color: rgba(0,0,0,.9); */
    color: rgba(255,255,255,.9);
	background-color: #7F7F7F;
	/* Versuch, die Ränder zu beseitigen. Geht so nicht wg padding .navbar */
	/* border-top: 10px solid #7F7F7F; */
	/* border-bottom: 10px solid #7F7F7F; */
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    /* color: rgba(0,0,0,.7); */
    color: rgba(255,255,255,.9);
	background-color: #7F7F7F;
}