/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 102px;
}

/* STICKY HEADER */

/*MEIN CSS*/
.mainContent {
  margin-left: 10px;
  margin-right: 10px;
}

@media (min-width: 480px) {
  .mainContent{
    margin-left: 25px;
    margin-right: 25px;
  } 
}

.mainteaser {
  position: relative;
  margin-top: 15px;
}

@media (min-width: 480px) {
  .mainteaser > picture {
    opacity: 0.4;
  }
}

.header-logo {
  display: block;
  margin-left: auto;
}

.mobileList{
  list-style-type:none;
}

nav > ul li {
  float: left;
  list-style-type: none;
  font-size: 1rem;
  padding-top: 30px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
}

@media (min-width: 480px) {
  .navlink{
    height: 100px;
    text-align: center;
    line-height: 70px;
  }
}

@media (min-width: 680px) {
  .navlink:first-child{
    margin-left: 50px;
  }
}

@media (min-width: 680px) {
  .logo-container {

    margin-right: 60px;
  }
}

/*p {
  text-align: justify;
  margin-bottom: 1.5rem;
}*/

nav {
  margin: 0;
  margin-left: auto;
  margin-right: 0;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header {
  height: 180px;
}

.header-logo > a > img {
  height: 150px;
  width: 280px;
  margin-top: 15px;
}

.header-social {
  color: grey;
  height: 40px;
  border-bottom: 1px solid grey;
  border-top: 2px solid grey;
  padding: 10px 0;
  text-align: center;
  font-size: 0.75rem;
}

.gallery-image {
  width:100%;
  height:250px;
}

a {
  color: black;
  text-decoration: none; /* no underline */
}

nav > ul li:hover {
  border-top: 1px solid orange;
}

.footer-mobile {
  border-top: 1px solid orange;
  background-color: #fffcf5;

}

.footer-text {
  font-size: 0.7rem;
}

.footer-info {
  background-color: orange;
  color: white;
  padding: 15px;
  margin-top: 20px;
}

.footer-logo {
  height: 60px;
  border: 1px solid grey;
}

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

h1 {
  font-size: x-large;
}

nav > ul li[selected] {
  border-top: 1px solid orange;
}

.image > img {
  height: 290px;
  width: 100%;
}

.image-old > img {
  height: 240px;
}

.teaser {
  width: 100%;
  height: 500px;
  margin-bottom: 15px;
}

.headline {
  float: right;
  padding-top: 65px;
  color: #3b00aa;
  font-weight: 600;
  font-size: 40px;
}

b {
  font-weight: 900;
}

.content-headline {
  color: blue;
  text-align: center;
  margin-bottom: 30px;
  font-size: 40px;
  font-weight: 600;
  background-image: linear-gradient(to right, #fdfbf0 0%, #f90 95%);
  margin-top: 20px;
}

body {
  font-size: 1.3rem;
}

.content li {
  list-style: disclosure-closed;
}

.highlighted {
  font-weight: bold;
  text-align: center;
  font-size: 30px;
  margin-bottom: 15px;
}

.group {
  display: flex;
  margin-top: 25px;
  margin-bottom: 50px;
}

.person {
  margin: 0 auto;
  text-align: center;
}

.position {
  font-style: italic;
}

.carousel img {
  height: 420px;
}

@media (min-width: 650px) {
  .centered {
    position: absolute;
    top: 5vh;
    width: 100%;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    font-variant: all-petite-caps;
  }
}

@media (min-width: 960px) {
  .centered {
    position: absolute;
    top: 7vh;
    width: 100%;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    font-variant: all-petite-caps;
  }
}

@media (min-width: 1700px) {
  .centered {
    position: absolute;
    top: 20vh;
    width: 100%;
    text-align: center;
    font-size: 70px;
    font-weight: bold;
    font-variant: all-petite-caps;
  }
}

.koop {
  width: 150px;
  height: 80px;
  margin: 0 auto;
}

.koop-button {
  background-color: lightgray;
  justify-content: center;
  align-content: center;
  text-align: center;
  justify-items: center;
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  font-size: 11px;
}

/* Logo-Color
- light-orange: #FDFBF0 
- dark-orange: #FDFBF0
- dar-blue: #3B00AA

*/




/*-------------------------------------------------*/
/* Add a black background color to the top navigation */
.topnav {
  background-color: #FFF;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 4px 2px -2px gray;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #000;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 20px;
}

.topnav span {
  float: left;
  display: block;
  color: #000;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #F90;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #F90;
  color: #000;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(.active) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {
    border: 1px solid grey;
  }
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a{
    float: none;
    display: block;
    text-align: left;
  }

  .topnav.responsive span{
    float: none;
    display: block;
    text-align: left;
  }
  
  .topnav a:hover {
    background-color: transparent;
  }
}
