/*!
 * Start Bootstrap - Busines Frontpage (https://startbootstrap.com/template-overviews/business-frontpage)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-business-frontpage/blob/master/LICENSE)
 */

body {
  padding-top: 54px;
  font-size: 18px;
}

section {
	padding: 8vh 0 10vh 0;
}

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

.business-header {

  min-height: 45vh;
  background: url('../images/header.jpg') center center no-repeat scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  text-shadow: 1px 1px 1px #000000;
}

.card {
  height: 100%;
}

.phone-link {
  font-size: 2.5rem;
  line-height: 1.4;
  border: solid 1px #ffffff;
  padding: 0 8px 3px 8px;
  border-radius: 10px;
  background-color: #0066cc;
  color: #ffffff;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.phone-link:hover {
  background-color: #0088ee;
  text-decoration: none;
  color: #ffffff;
}

.under-header {
  background-color: #003399;
  padding: 2vh;
}

.img-thumbnail {
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: .25rem;
    max-width: 100%;
    height: auto;
	padding: 0;
	box-shadow: 3px 3px 3px rgba(50, 50, 50, 0.7);
}

.btn-primary:hover {
    color: #fff;
    background-color: #0088ee;
    border-color: #0066cc;
}

.btn-group-lg > .btn, .btn-lg {
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 10px;
	font-weight: 800;
}

.btn-primary {
    color: #fff;
    background-color: #0066cc;
    border-color: #003399;
}

.angebotsanzeige {
	position: absolute;
	right: 12px;
	bottom: 20px;
	color: #ffffff;
	text-shadow: none;
	font-size: 1.8rem;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

/* Styles the lightbox, removes it from sight and adds the fade-in transition */

.lightbox-target {
position: fixed;
top: -100%;
width: 100%;
background: rgba(0,0,0,.7);
width: 100%;
opacity: 0;
-webkit-transition: opacity .5s ease-in-out;
-moz-transition: opacity .5s ease-in-out;
-o-transition: opacity .5s ease-in-out;
transition: opacity .5s ease-in-out;
overflow: hidden;
z-index: 1031;
}

/* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */

.lightbox-target img {
margin: auto;
position: absolute;
top: 0;
left:0;
right:0;
bottom: 0;
max-height: 0%;
max-width: 0%;
border: 3px solid white;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
box-sizing: border-box;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

/* Styles the close link, adds the slide down transition */

a.lightbox-close {
display: block;
width:50px;
height:50px;
box-sizing: border-box;
background: white;
color: black;
text-decoration: none;
position: absolute;
top: -80px;
right: 0;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:before {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(45deg);
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
transform:rotate(45deg);
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:after {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
transform:rotate(-45deg);
}

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */

.lightbox-target:target {
opacity: 1;
top: 0;
bottom: 0;
}

.lightbox-target:target img {
max-height: 100%;
max-width: 100%;
}

.lightbox-target:target a.lightbox-close {
top: 0px;
}




@media (min-width: 480px) {
  .angebotsanzeige {
	right: 20px;
	bottom: 4px;
	font-size: 1.6rem;
}
}

@media (min-width: 768px) {
  .angebotsanzeige {
	right: 20px;
	bottom: 4px;
	font-size: 2.2rem;
}
}

@media (min-width: 992px) {
  .angebotsanzeige {
	right: 12px;
	bottom: 3px;
	font-size: 1.5rem;
}
}

@media (min-width: 1200px) {
  .angebotsanzeige {
	right: 12px;
	bottom: 4px;
	font-size: 1.8rem;
}
}





