/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 8rem;
/*  padding-bottom: 3rem; */
  color: #5a5a5a;
/*
  color: white;
  background-color: #1a1000;
  background-image: url(wood-pattern.png);
*/
}

body:before {
  background-image: url(wood-pattern.png);
  opacity: 0.1;
  content: "";
  left: 0;
  top: 0;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
/*  background-color: #7f7f7f; */
  background-color: transparent; /*#a0a0a0; */
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}

.bilder .img-fluid {
  margin-bottom: 1rem;
  aspect-ratio: 0.75;
  object-fit: cover;
  width: 100%;
}
.bilder div.img-fluid {
  display: inline-block;
  padding-bottom: 0.1rem;
margin-right: 10px;
}

.bilder .img-fluid img {
  max-width: 100%;
  margin-bottom: 0.5rem;
}

.featurette.bilder img:nth-of-type(n+2) {
    display:none;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
  margin-bottom: 2rem;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}

main {
  margin-top: 8rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 3rem 0; /* Space out the Bootstrap <hr> more */
  height: 50px;
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}

.navbar {
	box-shadow: 6px 1px 16px rgba(0,0,0,0.5);
/**/
	background-color: black !important;
	background-image: url(brick-wall.png);
/**/
/*
	background-color: black !important;
	background-image: url(brick2.jpg);
	background-size: cover;
*/
	border-bottom: 1px solid #333;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,.8);
/*  box-shadow: 0px 0px 7px 3px rgb(0 0 0 / 20%);*/ 
/*  background: rgba(0,0,0,0.2); */
  padding-left: 1rem;
}
.navbar-dark .navbar-toggler-icon {
	border: 2px solid #bbb;
	border-radius: 4px;
}
.navbar-brand img {
  max-width: 250px;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    box-shadow: none;
}

body.shrink .navbar-brand img {
  max-width: 70px;
}

.modal-content.bg-dark,
footer.bg-dark,
body.bg-dark {
/*	background-color: #9f8d81 !important; */
	background-color: #a58965 !important;
}

.modal.show .modal-dialog {
	max-width: 95vw;
}

.btn-primary {
    color: #343a40;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    text-decoration: none;
}

.btn-primary.focus, .btn-primary:focus {
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #fff;
    background-color: #aaa !important;
    border-color: #aaa6 !important;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

.carousel-caption h1 {
  font-size: 1.9rem;
  margin-bottom: 2rem;
}

h3 {
  font-weight: normal;
}

.kontakt a {
  color: #eee;
/*  text-decoration: underline; */
  border-bottom: 1px dotted #f8f9fa;
}

a:hover, a:focus {
  color: #ccc;
}

.kontakt h2,
.kontakt p {
  text-align: center;
}

.kontakt img.logo {
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 300px;
  box-shadow: none;
}
.kontakt img {
	vertical-align: text-bottom;
	box-shadow: none;
}

hr {
  border-bottom: 1px solid #636363;
  border-top: none;
}
img,div.img-fluid {
  box-shadow: 6px 1px 16px rgb(0 0 0 / 50%);
}
div.img-fluid img {
  box-shadow: none;
}
div.img-fluid p {
  padding: 0 0.5rem;
}

.fi {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
  width: 1.33333333em;
  line-height: 1em;
  margin-right: 0.5em;
}
.fi:before {
  content: '\00a0';
}
.fi-fi {
  background-image: url(../fi.svg);
}
.fi-se {
  background-image: url(../se.svg);
}

.lang {
  position: absolute;
  right: 0;
  top: 17px;
  transition: all 0.4s ease-in-out
}

body.shrink .lang {
  right: 90px;
}

.lang2 {
  white-space: nowrap;
}
.und {
/*  text-decoration: underline; */
  border-bottom: 1px dotted #f8f9fa;
}

.navbar-nav {
  flex-wrap: wrap;
}
footer a {
	color: white;
}

img.magnus {
	height: 280px;
}
.bilder img.img-fluid.ref {
	max-width: unset;
	aspect-ratio: unset;
	width: unset;
	height: unset;
}

@media (min-width: 40em) {
.featurette-divider {
    margin: 6rem 0 3rem 0;
}

.featurette.bilder img:nth-of-type(n+2) {
    display:inline;
}

/*
.featurette.bilder .btn.3 {
  display: none;
}
*/

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }
  .carousel-caption h1 {
    font-size: 2.5rem;
  }

  .featurette-heading {
    font-size: 50px;
  }
  main {
    margin-top: 12rem;
  }
  .logo,
  .navbar-brand img {
    max-width: 150px;
  }
  .bilder .img-fluid {
    max-width: 30%;
    vertical-align: top;
    margin-right: 2%;
height: 100%;
  }
  #trapporModal .bilder img:last-of-type {
    max-width: unset;
  }

  .carousel .bilder img {
    max-width: unset;
    vertical-align: unset;
  }


  .kontakt h2,
  .kontakt p {
    text-align: left;
  }
  body {
    padding-top: 0rem;
  }
}
@media (min-width: 40em) and (max-width: 61em) {
  .navbar-dark .navbar-nav .nav-link {
/*    padding-left: 0; */
  }
}

@media (min-width: 40em) and (orientation: portrait) {
  .modal-body.bilder img {
    max-width: 46%;
  }
}

@media (min-width: 62em) {
}
/*
  .featurette-heading {
    margin-top: 3rem;
  }
*/
}
