/*
primary: #003b8a;
primary-light: rgba(0, 59, 138, .5);
light-background: #eee;
*/

html,
body {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'Roboto Slab', serif;
  color: #444;
  overflow-x: hidden;
  min-height: 100vh;
}

* {
  
}

.title {
  font-size: 2.5em;
  margin: 0;
  text-align: center;
  color: #003b8a;
  padding: 1em 0;
}


main > .container {
  padding-top: 7em;
}

.container {
  max-width: 1000px;
  margin: auto;
  width: calc(100% - 2em);
}

@media (max-width: 700px) {
  .title {
    font-size: 1.8em;
  }
}

.topnavi {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: .5em;
}

.topnavi:before {
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #003b8a;
  opacity: .2;
}

.topnavi[dark-bg]:before {
  background-color: #003b8a;
  opacity: 1;
}

.topnavi--wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: .99;
  max-width: 1000px;
  margin: auto;
  width: calc(100% - 2em);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.topnavi--logo {
  width: 100px;
}

.topnavi--logo img {
  width: 100%;
}

.topnavi--list {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-left: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.topnavi--listitem {
  padding: 0 .5em;
  border-right: 1px solid rgba(255, 255, 255, .7);
}

.topnavi--listitem:last-child {
  border-right: 0;
}

.topnavi--listitem a {
  color: #fff;
  text-decoration: none;
}

.topnavi--listitem a:hover {
  text-decoration: underline;
}

header {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

header .bg {
  position: absolute;
  height: 100vh;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url(/public/images/header.jpg);
  background-size: cover;
  background-position: top;
  margin-bottom: -15px;
  padding-top: 30px;
  margin-left: -15px;
  padding-right: 30px;
}

header .bg-blured {
  -webkit-filter: blur(15px);
          filter: blur(15px);
}

.header--inner {
  opacity: .99;
  width: 700px;
  height: 340px;
  position: absolute;
  left: calc(50vw);
  bottom: calc(40vh);
  margin-left: -350px;
  margin-bottom: -100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header--inner-logo {
  display: block;
  width: 290px;
}

.header--inner-logo img {
  width: 100%;
}

.header--inner-title {
  display: block;
  overflow: hidden;
  position: relative;
  text-align: center;
  margin: 0;
  color: #fff;
  font-size: 2.2em;
  padding: .5em 0;
  width: 100%;
  text-transform: uppercase;
}

.header--inner-title .bg-blured {
  left: calc(-50vw);
  right: calc(-50vw);
  top: calc(-60vh);
  margin-left: 350px;
  margin-right: 350px;
  margin-top: 230px;
}

@media (max-width: 890px) {
  .header--inner {
    width: 500px;
    height: 300px;
    margin-left: -250px;
  }
  
  .header--inner-logo {
    width: 270px;
  }
  
  .header--inner-title .bg-blured {
    margin-left: 250px;
    margin-right: 250px;
  }
  
  .header--inner-title {
    font-size: 1.7em;
  }
}

@media (max-width: 500px) {
  .header--inner {
    width: 300px;
    margin-left: -150px;
  }
  
  .header--inner-logo {
    width: 220px;
  }
  
  .header--inner-title .bg-blured {
    margin-left: 150px;
    margin-right: 150px;
  }
  
  .header--inner-title {
    font-size: 1.7em;
  }
}

.header--inner-title span {
  position: relative;
  z-index: 1;
}
  
.header--nav {
  overflow: hidden;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.header--nav:after,
.header--inner-title:after {
  content: " ";
  position: absolute;
  top: -10px;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #003b8a;
  opacity: .2;
}

.header--nav-list {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0;
  padding: .5em;
}

.header--nav-listitem {
  padding: .2em 1em;
}

.header--nav-listitem a {
  padding: .2em .4em;
  font-weight: 600;
  color: #fff;
  font-size: 1.1em;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  -webkit-transition: border .2s ease-in;
  -o-transition: border .2s ease-in;
  transition: border .2s ease-in;
}

.header--nav-listitem a:hover,
.header--nav-listitem a:focus {
  border-bottom-color: #fff;
}

.header--scroll {
  border-radius: 1em;
  width: 1em;
  height: 2em;
  border: 2px solid #fff;
  position: absolute;
  left: 50%;
  margin-left: -.5em;
  bottom: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 59, 138, .2);
}

.header--scroll:before {
  content: " ";
  border-style: solid;
  border-width: 5px;
  border-color: #fff transparent transparent;
  margin-top: 5px;
}

.products {
  background-color: #eee;
  padding-bottom: 4em;
}

.products--title {
  margin: 0;
}

.products--list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  max-width: 1100px;
  margin: auto;
  width: calc(100% - 2em);
}

.products--listitem {
  padding: .5em 2em;
  width: 150px;
}

.products--listitem-link:hover .bg-blured,
.products--listitem-link:focus .bg-blured {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-transition-delay: 0s;
       -o-transition-delay: 0s;
          transition-delay: 0s;
}

.products--listitem-link {
  display: block;
  text-align: center;
  text-decoration: none;
}

.products--listitem-image {
  border-radius: 50%;
  overflow: hidden;
  width: 150px;
  height: 150px;
  border: .5em #003b8a solid;
  margin: auto;
  position: relative;
}

.products--listitem-image .image-before,
.bg-blured .bg-before {
  content: " ";
  background-position: center;
  background-size: cover;
  position: absolute;
}

.products--listitem-image .image-before {
  top: -10px;
  right: -10px;
  bottom: -10px;
  left: -10px;
}

.products .bg-blured .bg-before {
  width: 170px;
  height: 170px;
  top: calc(50% - 85px);
  left: calc(50% - 85px);
  -webkit-filter: blur(5px);
          filter: blur(5px);
}

@media (max-width: 1100px) {
  .products--listitem {
    width: 120px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .products--listitem-image {
    width: 120px;
    height: 120px;
  }
  
  .products .bg-blured .bg-before {
    width: 140px;
    height: 140px;
    top: calc(50% - 70px);
    left: calc(50% - 70px);
  }
}

.products .bg-blured {
  position: absolute;
  overflow: hidden;
  top: 50%;
  right: 50%;
  bottom: 50%;
  left: 50%;
  border-radius: 50%;
  -webkit-transition-duration: .2s;
       -o-transition-duration: .2s;
          transition-duration: .2s;
  -webkit-transition-delay: .2s;
       -o-transition-delay: .2s;
          transition-delay: .2s;
  -webkit-transition-timing-function: ease-in;
       -o-transition-timing-function: ease-in;
          transition-timing-function: ease-in;
  -webkit-transition-property: top, right, bottom, left;
  -o-transition-property: top, right, bottom, left;
  transition-property: top, right, bottom, left;
}

.products .bg-blured:before {
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #003b8a;
  opacity: .2;
  z-index: 1;
}

.products--listitem-title {
  text-transform: uppercase;
  color: #444;
  font-weight: bold;
  font-size: .9em;
}

.introduction {
  padding: 4em 0;
}

.introduction--wrapper {
  max-width: 700px;
  margin: auto;
  width: calc(100% - 2em);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.introduction--col {
  width: calc(50% - 1em);
}

.introduction--title {
  text-align: left;
  width: 100%;
  padding: 0;
  margin: 0em;
  padding-bottom: .2em;
}

.introduction--subtitle {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: rgba(0, 59, 138, .5);
  margin: 0;
  padding-bottom: .5em;
}

.introduction--content {
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  color: rgba(0, 0, 0, .7);
  margin: 0;
  padding-bottom: .2em;
}

@media (max-width: 700px) {
  .introduction--wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  
  .introduction--col,
  .introduction--title {
    max-width: 330px;
    width: 100%;
    margin: auto;
  }
}

.story {
  background-color: #eee;
  padding: 4em 0;
}

.story--wrapper {
  max-width: 1000px;
  margin: auto;
  width: calc(100% - 2em);
}

.story--col {
  margin-bottom: 2em;
}

.story--col:last-child {
  margin-bottom: 0;
} 

.story--title {
  margin: 0;
  margin-bottom: .3em;
  color: rgba(0, 59, 138, .5);
}

.story--content {
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  color: rgba(0, 0, 0, .7);
  margin: 0;
}

.offers {
  padding: 4em 0em;
  background-image: url(/public/images/offers/background.jpg);
  background-position: center;
  background-size: cover;
}

.offers--list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0;
  padding: 0;
}

.offers--listitem {
  background-color: rgba(255, 255, 255, .7);
  width: 300px;
  list-style: none;
  margin: 1em;
}

.offers--listitem-image {
}


.offers--listitem-image img {
  width: 100%;
  height: auto;
  display: block;
}

.offers--listitem-title {
  font-size: 1.1em;
  padding: 1.5em .5em;
  margin: 0;
  font-weight: 400;
  text-align: center;
}

.fields {
  
}

.fields--item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 50vh;
  overflow: hidden;
}

.fields--item-image,
.fields--item-content {
  width: 50%;
  overflow: hidden;
}

.fields--item:nth-child(2n) .fields--item-image {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}

.fields--item-content {
  padding: 2em 5em;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;  
}

.fields--item-image {
  position: relative;
  min-height: 50vh;
}

.fields--item-background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-position: center;
  background-size: cover;
  -webkit-transition: opacity 1.5s ease-out;
  -o-transition: opacity 1.5s ease-out;
  transition: opacity 1.5s ease-out;
}

.fields--item-title {
  color: #003b8a;
  font-size: 2em;
  margin: 0;
}

.fields--item-text {
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  color: rgba(0, 0, 0, .7);
}

.fields--item-logolist {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.fields--item-logolistitem {
  width: 125px;
  margin: .5em;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.fields--item-logo {
  width: 100%;
  display: block;
}

@media (max-width: 890px) {
  .fields--item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  
  .fields--item-image,
  .fields--item-content {
    width: 100%;
  }
  
  .fields--item-image {
    height: 300px;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
}

@media (max-width: 500px) {
  .fields--item-content {
    padding: 1em;
    font-size: .95em;
  }
}

.spacer-image {
  background-image: url(/public/images/kids.jpg);
  background-position: center;
  background-size: cover;
  height: 50vh;
  position: relative;
  margin: 6em 0;
}

.spacer-image:before {
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #003b8a;
  opacity: .5;
}

@media (max-width: 500px) {
  .spacer-image {
    margin: 2em 0;
    margin-bottom: 0;
  }
}

.family,
.card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 50vh;
  margin-bottom: 6em;
}

.card {
  margin-bottom: 0;
}

.family--item,
.card--item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 50vh;
}

.family--image,
.family--content,
.card--image,
.card--content {
  width: 50%;
}

.family--content,
.card--content {
  padding: 2em 5em;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;  
}

.family--image,
.card--image {
  position: relative;
  background-image: url(/public/images/theiner-family.jpg);
  background-position: center;
  background-size: cover;
  -webkit-transition: opacity 1.5s ease-out;
  -o-transition: opacity 1.5s ease-out;
  transition: opacity 1.5s ease-out; 
  min-height: 50vh;
}

.card--image {
  background-image: url(/public/images/card.jpg);
}

.family--title,
.card--title {
  color: #003b8a;
  font-size: 2em;
  margin: 0;
}

.family--text,
.card--text {
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  color: rgba(0, 0, 0, .7);
}

@media (max-width: 890px) {
  .family,
  .card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  
  .family--image,
  .family--content,
  .card--image,
  .card--content {
    width: 100%;
  }
  
  .family--image,
  card--image {
    height: 300px;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
}

@media (max-width: 500px) {
  .family--content,
  .card--content {
    padding: 1em;
    font-size: .95em;
  }
}

.footer {
  background-color: #003b8a;
  color: #fff;
}

.footer--wrapper  {
  max-width: 1000px;
  width: calc(100% - 2em);
  margin: auto;
  padding: 2em 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-size: .95em;
}

.footer--col  {
  width: calc(25%);
  text-align: center;
  padding: 1em;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.footer--logo {
  display: block;
  max-width: 150px;
  margin: auto;
}

.footer--logo img {
  width: 100%;
}

.footer--title {
  font-size: 1.5em;
  margin-top: 0;
}

.footer--content {
  font-family: 'Roboto', sans-serif;
  color: rgba(255, 255, 255, .7);
  margin: 0;
}

.footer--content a {
  color: rgba(255, 255, 255, .7);
}

.footer--sub {
  background-color: rgba(0, 0, 0, .4);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: .9em;
}

.footer--sub-wrapper {
  max-width: 1000px;
  width: calc(100% - 2em);
  margin: auto;
  padding: 2em 0 1.5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.footer--copyright {
  padding-right: 1em;
  margin-bottom: .5em;
}

.footer--navi {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.footer--naviitem {
  padding: 0 .5em;
  border-left: 1px solid rgba(255, 255, 255, .7);
}

.footer--naviitem:first-child {
  border-left: 0;
  padding-left: 0;
}

.footer--naviitem-link {
  color: #fff;
  text-decoration: none;
}

.footer--naviitem-link:hover {
  text-decoration: underline;
}

.social-icons {
  text-transform: capitalize;
}

.social-icons:before {
  width: 30px;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
  margin-right: .2em;
  padding: .3em .2em;
}

.social-icons[data-icon="facebook"]:before {
  content: url(/public/images/icons/facebook.svg);
}

.social-icons[data-icon="whatsapp"]:before {
  content: url(/public/images/icons/whatsapp.svg);
}

.social-icons[data-icon="looptown"]:before {
  content: url(/public/images/icons/looptown.svg);
}

.social-icons[data-icon="instagram"]:before {
  content: url(/public/images/icons/instagram.svg);
}

.urlaub {
  z-index: 1000;
  position: absolute;
  right: 40px;
  bottom: 80px;
}

.urlaub img {
  width: 360px;
}

@media (max-height: 1090px) {
  .header--inner {
    top: 30%;
  }
}

@media (max-height: 900px) {
  .header--inner-logo {
    display: none;
  }
}

@media (max-width: 890px) {
  .footer--col {
    width: calc(50% - 1em);
  }
}

@media (max-width: 700px) {
  .urlaub {
    width: 100%;
    text-align: center;
    right: 0;
  }
}

@media (max-width: 500px) {
  .footer--col {
    width: 100%;
  }
  .urlaub img {
    width: 300px;
  }
}

/*.urlaub img:nth-child(2) {
  margin-left: 20px;
}*/

.urlaub img {
  display: block;
  margin-bottom: 10px;
}

@media (max-width: 1000px) {
  .urlaub img {
    display: inline-block;
    margin-bottom: 0;
  }
}

@media (max-width: 1000px) {
  .urlaub {
    width: 100%;
    text-align: center;
    right: 0;
  }
}
@media (max-width: 650px) {
  .urlaub img {
    display: block;
    margin: 10px auto 0 !important;
  }
}

/* new header */

.header {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}

.header .header-image {
  height: 100%;
  width: 100%;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

.header .logo-theiner {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translate(-50%);
}

.header .header-title {
  position: absolute;
  bottom: 58px;
}

.header .header-title .header--inner-title {
  padding: 15px;
}

.header .bg {
  background-image: url(/public/images/new-header.jpg);
}

.header .urlaub {
  right: 0;
  bottom: 60px;
}

.header .urlaub .bg {
  background-color: #003b8a;
  opacity: .4;
  background-image: none;
}

.header .offnungszeiten {
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.header .offnungszeiten .button {
  color: #fff;
  text-transform: uppercase;
  opacity: 1;
  min-width: calc(100% - 20px);
  border: 1px solid #fff;
  position: relative;
  padding: 10px;
  text-decoration: none;
  display: block;
  text-align: center;
  margin-top: 18px;
  transition-duration: .5s;
  letter-spacing: .5px;
}

.header .offnungszeiten .button:hover {
  background: rgba(255,255,255,.2);
}

.header .offnungszeiten img {
  z-index: 3;
  position: relative;
  margin-left: 0;
}

@media (max-width: 1700px) {

  .header .urlaub {
    left: 0;
    top: 65px;
    right: auto;
    bottom: auto;
  }

}

@media (max-width: 1200px) {

  .header .offnungszeiten img {
    width: 280px;
  }

  .header .logo-theiner {
    width: 200px;
  }

}

@media (max-width: 1000px) {

  .header {
    align-items: start;
    flex-wrap: wrap;
    height: auto;
  }

  .header .header-image {
    height: auto;
    position: relative;
    margin-top: 0;
    width: 135%;
  }

  .header .logo-theiner {
    width: 170px;
    top: 60px;
  }

  .header .header-title {
    position: relative;
    bottom: 2px;
    width: 100%;
  }

  .header .urlaub {
    top: auto;
    position: relative;
    bottom: 0;
    margin-top: -2px;
  }

  .header .urlaub img {
    margin-top: 0 !important;
  }

  .header--nav {
    position: relative;
    width: 100%;
  }

}

@media (max-width: 750px) {

  .header .header-image {
    margin-top: 50px;
  }

}

@media (max-width: 550px) {
  .header .header-image {
    margin-top: 110px;
  }
}
