html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

.placeholder {
  background-color: transparent !important;
  box-shadow: none !important;
}

.picture {
  width: 100%;
  height: auto;
  overflow: hidden !important;
}


img.lay1 {
  width: 100%;
  transition-property: opacity, transform;
  transition-duration: 0.5s, 0.5s;
  transition-timing-function: ease, ease;
  transition-delay: 0s, 0s;
}

img.lay1a {
  width: 100%;
  margin: 0 0 -5px 0 !important;
  opacity: 1;
  transition: .5s ease;
  backface-visibility: hidden;
}

img.lay5 {
  width: 100%;
  transition-property: opacity, transform;
  transition-duration: 0.5s, 0.5s;
  transition-timing-function: ease, ease;
  transition-delay: 0s, 0s;
  margin: 0 0 -5px 0 !important;
}

img.lay2 {
  width: 100%;
  transition-property: opacity, transform;
  transition-duration: 0.5s, 0.5s;
  transition-timing-function: ease, ease;
  transition-delay: 0s, 0s;
  margin: 0 0 -5px 0 !important;
}

img.lay3 {
  width: 100%;
  margin: 20px auto;
  padding: 20px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  transition-property: opacity, transform;
  transition-duration: 0.5s, 0.5s;
  transition-timing-function: ease, ease;
  transition-delay: 0s, 0s;
}


img.lay1:hover, img.lay2:hover, img.lay3:hover {
  transform: scale(1.1);
}

.cards {
  position: relative;
  display: flex;
  margin: 20px 0px !important;
  padding: 0 !important;
  max-width: 100% !important;
}



.card, .card2, .card3, .card4, .card5 {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 10px 0 20px !important;
  background-color: #ffffff;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}



.card:first-child, .card2:first-child, .card3:first-child, .card4:first-child, .card5:first-child {
  margin: 0 10px !important;
}

.card2:last-child, .card3:last-child, .card4:last-child, .card5:last-child {
  margin: 0 10px 0 0 !important;
}


.card3:nth-child(2), .card4:nth-child(2), .card5:nth-child(2) {
  margin: 0 0 0 10px !important;
}

.card4:nth-child(3), .card5:nth-child(3) {
  margin: 0 10px !important;
}

.card5:nth-child(4) {
  margin: 0 10px !important;
}


.cardwithone {
  width: 100% !important;
}

.cardwithtwo {
  width: 50% !important;
}

.cardwiththree {
  width: 33.33% !important;
}

.cardwithfour {
  width: 25% !important;
}

.cardwithfive {
  width: 20%;
}


@media screen and (max-width: 767px) {
.cards {
  display: flex;
  flex-direction: column;
  margin: 20px 0 !important;
  max-width: 100% !important;
}

.card, .card2, .card3, .card4, .card5 {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 10px 0 !important;
  background-color: #ffffff;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}

.card:first-child, .card2:first-child, .card3:first-child, .card4:first-child, .card5:first-child {
  margin: 10px 0 !important;
}

.card2:last-child, .card3:last-child, .card4:last-child, .card5:last-child {
  margin: 10px 0 !important;
}


.card3:nth-child(2), .card4:nth-child(2), .card5:nth-child(2) {
  margin: 10px 0 !important;
}

.card4:nth-child(3), .card5:nth-child(3) {
  margin: 10px 0 !important;
}

.card5:nth-child(4) {
  margin: 10px 0 !important;
}

.cardwithone {
  width: 100% !important;
}

.cardwithtwo {
  width: 100% !important;
}

.cardwiththree {
  width: 100% !important;
}

.cardwithfour {
  width: 100% !important;
}

.cardwithfive {
  width: 100% !important;;
}
}

.textaufmacherheadercolor {
  min-height: 51px;
  padding: 10px;
  background-color: #212E38;
  color: #ffffff;
}

.textaufmacherheader {
  min-height: 51px;
  padding: 10px;
  color: #ffffff;
}

.textaufmacherheader h2, .textaufmacherheadercolor h2 {
  font-size: 1.4rem;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

.textaufmacherfooter {
  min-height: 51px;
  padding: 9px 10px 1px 10px;
  color: #ffffff;
}

.textaufmacherfootercolor {
  min-height: 51px;
  padding: 9px 10px 1px 10px;
  background-color: #212E38;
  color: #ffffff;
}

.textaufmacherfooter p, .textaufmacherfootercolor p {
  font-size: 1.4rem;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

.card .cardtext, .card2 .cardtext, .card3 .cardtext, .card4 .cardtext, .card5 .cardtext {
  flex-grow: 7;
  padding: 0 10px !important;
  color: #212E38;
}

.hleft {
  text-align: left;
  color: #EFF2F4;
}

.hcenter {
  text-align: center;
  color: #EFF2F4;
}

.hright {
  text-align: right;
  color: #EFF2F4;
}

.pcenter {
  margin: 0 auto !important;
}

.pright {
  margin: 0 0 0 auto !important;
}

.ppicbottom {
  margin: -25px auto auto auto !important;
}

.ppicfirst {
  margin: -35px auto auto auto !important;
}

.ppicbottomround {
  margin: -68px auto auto auto !important;
}

.ppicfirstround {
  margin: -68px auto auto auto !important;
}

.sqrteaserbutton {
  position: relative;
  background-color: #3D5366;
  border: 0;
  color: #EFF2F4;
  padding: 4px 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.5s;
  -webkit-appearance: none;
  border-radius: 0;
  display: block;
  letter-spacing: 1px;
  border-radius: 3px;
  border: 2px solid transparent;
  z-index: 100;
}

.sqrteaserbutton:hover, a.sqrteaserbutton:hover {
  position: relative;
  background-color: #EFF2F4;
  color: #3D5366;
  border: 2px solid #3D5366;
  text-decoration: none !important;
  z-index: 100;
}

.ribbon, .ribbon2, .ribbon3, .ribbon4, .ribbon5 {
  width: 150px;
  height: 150px;
  overflow: hidden !important;
  position: absolute;
  z-index: 10;
}
.ribbon::before,
.ribbon::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #CC0000;
}
.ribbon span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 15px 0;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font: 700 18px/1 'Lato', sans-serif;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
  text-align: center;
border-top: 2px solid #CC0000;
border-bottom: 2px solid #CC0000;
background: -ms-radial-gradient(
   center,
   circle farthest-corner,
   #FF0000 0%,
   #C70209 25%,
   #6E0000 75%
);
background: -o-radial-gradient(
   center,
   circle farthest-corner,
   #FF0000 0%,
   #C70209 25%,
   #6E0000 75%
);
background: -moz-radial-gradient(
   center,
   circle farthest-corner,
   #FF0000 0%,
   #C70209 25%,
   #6E0000 75%
);
background: -webkit-radial-gradient(
   center,
   circle farthest-corner,
   #FF0000 0%,
   #C70209 25%,
   #6E0000 75%
);
background: radial-gradient(
   center,
   circle farthest-corner,
   #FF0000 0%,
   #C70209 25%,
   #6E0000 75%
);
}
.ribbon span a {
  text-decoration: none !important;
  color: #fff;
}


.ribbon2::before,
.ribbon2::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #0B0B61;
}
.ribbon2 span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 15px 0;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font: 700 18px/1 'Lato', sans-serif;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
  text-align: center;
border-top: 2px solid #0B0B61;
border-bottom: 2px solid #0B0B61;
background: -ms-radial-gradient(
   center,
   circle farthest-corner,
   #0000FF 0%,
   #0101DF 25%,
   #08088A 75%
);
background: -o-radial-gradient(
   center,
   circle farthest-corner,
   #0000FF 0%,
   #0101DF 25%,
   #08088A 75%
);
background: -moz-radial-gradient(
   center,
   circle farthest-corner,
   #0000FF 0%,
   #0101DF 25%,
   #08088A 75%
);
background: -webkit-radial-gradient(
   center,
   circle farthest-corner,
   #0000FF 0%,
   #0101DF 25%,
   #08088A 75%
);
background: radial-gradient(
   center,
   circle farthest-corner,
   #0000FF 0%,
   #0101DF 25%,
   #08088A 75%
);
}
.ribbon2 span a {
  text-decoration: none !important;
  color: #fff;
}


.ribbon3::before,
.ribbon3::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #0B3B0B;
}
.ribbon3 span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 15px 0;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font: 700 18px/1 'Lato', sans-serif;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
  text-align: center;
border-top: 2px solid #0B3B0B;
border-bottom: 2px solid #0B3B0B;
background: -ms-radial-gradient(
   center,
   circle farthest-corner,
   #01DF3A 0%,
   #088A08 25%,
   #0B610B 75%
);
background: -o-radial-gradient(
   center,
   circle farthest-corner,
   #01DF3A 0%,
   #088A08 25%,
   #0B610B 75%
);
background: -moz-radial-gradient(
   center,
   circle farthest-corner,
   #01DF3A 0%,
   #088A08 25%,
   #0B610B 75%
);
background: -webkit-radial-gradient(
   center,
   circle farthest-corner,
   #01DF3A 0%,
   #088A08 25%,
   #0B610B 75%
);
background: radial-gradient(
   center,
   circle farthest-corner,
   #01DF3A 0%,
   #088A08 25%,
   #0B610B 75%
);
}
.ribbon3 span a {
  text-decoration: none !important;
  color: #fff;
}



.ribbon4::before,
.ribbon4::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #8A4B08;
}
.ribbon4 span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 15px 0;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font: 700 18px/1 'Lato', sans-serif;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
  text-align: center;
border-top: 2px solid #8A4B08;
border-bottom: 2px solid #8A4B08;
background: -ms-radial-gradient(
   center,
   circle farthest-corner,
   #FFBF00 0%,
   #FF8000 25%,
   #DF7401 75%
);
background: -o-radial-gradient(
   center,
   circle farthest-corner,
   #FFBF00 0%,
   #FF8000 25%,
   #DF7401 75%
);
background: -moz-radial-gradient(
   center,
   circle farthest-corner,
   #FFBF00 0%,
   #FF8000 25%,
   #DF7401 75%
);
background: -webkit-radial-gradient(
   center,
   circle farthest-corner,
   #FFBF00 0%,
   #FF8000 25%,
   #DF7401 75%
);
background: radial-gradient(
   center,
   circle farthest-corner,
   #FFBF00 0%,
   #FF8000 25%,
   #DF7401 75%
);
}
.ribbon4 span a {
  text-decoration: none !important;
  color: #fff;
}



.ribbon5::before,
.ribbon5::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #7D1A57;
}
.ribbon5 span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 15px 0;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font: 700 18px/1 'Lato', sans-serif;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
  text-align: center;
border-top: 2px solid #7D1A57;
border-bottom: 2px solid #7D1A57;
background: -ms-radial-gradient(
   center,
   circle farthest-corner,
   #F734AC 0%,
   #B2257C 25%,
   #C72A8B 75%
);
background: -o-radial-gradient(
   center,
   circle farthest-corner,
   #F734AC 0%,
   #B2257C 25%,
   #C72A8B 75%
);
background: -moz-radial-gradient(
   center,
   circle farthest-corner,
   #F734AC 0%,
   #B2257C 25%,
   #C72A8B 75%
);
background: -webkit-radial-gradient(
   center,
   circle farthest-corner,
   #F734AC 0%,
   #B2257C 25%,
   #C72A8B 75%
);
background: radial-gradient(
   center,
   circle farthest-corner,
   #F734AC 0%,
   #B2257C 25%,
   #C72A8B 75%
);
}
.ribbon5 span a {
  text-decoration: none !important;
  color: #fff;
}


/* top left*/
.ribbon-top-left {
  top: -10px !important;
  left: -10px !important;

}
.ribbon-top-left::before,
.ribbon-top-left::after {
  border-top-color: transparent;
  border-left-color: transparent;
}
.ribbon-top-left::before {
  top: 0 !important;
  right: 0 !important;
}
.ribbon-top-left::after {
  bottom: 0 !important;
  left: 0 !important;
}
.ribbon-top-left span {
  right: -25px !important;
  top: 30px !important;
  transform: rotate(-45deg);
}

/* top right*/
.ribbon-top-right {
  top: -10px !important;
  right: -10px !important;
}
.ribbon-top-right::before,
.ribbon-top-right::after {
  border-top-color: transparent;
  border-right-color: transparent;
}
.ribbon-top-right::before {
  top: 0 !important;
  left: 0 !important;
}
.ribbon-top-right::after {
  bottom: 0 !important;
  right: 0 !important;
}
.ribbon-top-right span {
  left: -25px !important;
  top: 30px !important;
  transform: rotate(45deg);
}

/* bottom left*/
.ribbon-bottom-left {
  bottom: -10px !important;
  left: -10px !important;
}
.ribbon-bottom-left::before,
.ribbon-bottom-left::after {
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.ribbon-bottom-left::before {
  bottom: 0 !important;
  right: 0 !important;
}
.ribbon-bottom-left::after {
  top: 0 !important;
  left: 0 !important;
}
.ribbon-bottom-left span {
  right: -25px !important;
  bottom: 30px !important;
  transform: rotate(225deg);
}

/* bottom right*/
.ribbon-bottom-right {
  bottom: -10px !important;
  right: -10px !important;
}
.ribbon-bottom-right::before,
.ribbon-bottom-right::after {
  border-bottom-color: transparent;
  border-right-color: transparent;
}
.ribbon-bottom-right::before {
  bottom: 0 !important;
  left: 0 !important;
}
.ribbon-bottom-right::after {
  top: 0 !important;
  right: 0 !important;
}
.ribbon-bottom-right span {
  left: -25px !important;
  bottom: 30px !important;
  transform: rotate(-225deg);
}


.hribbon{
  position:relative;
  padding: 0 0.5em;
  font-size:2.000em;
  margin: 0 0 0 -0.625em;
  line-height: 1.875em;
  color: #e6e2c8;
  border-radius: 0 0.156em 0.156em 0;
  background: rgb(123, 159, 199);
  box-shadow: -1px 2px 3px rgba(0,0,0,0.5);
}

.hribbon:before, .hribbon:after{
  position:absolute;
  content: '';
  display: block;
}

.hribbon:before{
  width: 0.469em;
  height: 100%;
  padding: 0 0 0.438em;
  top:0;
  left: -0.469em;
  background:inherit;
  border-radius: 0.313em 0 0 0.313em;
}

.hribbon:after{
  width: 0.313em;
  height: 0.313em;
  background: rgba(0,0,0,0.35);
  bottom: -0.313em;
  left: -0.313em;
  border-radius: 0.313em 0 0 0.313em;
  box-shadow: inset -1px 2px 2px rgba(0,0,0,0.3);
}

@media (max-width: 600px) {
  .hribbon{
    line-height: 1.143em;
    padding: 0.5em;
  }

  .hribbon:before, .ribbon:after{
    font-size: 0.714em;
  }
}

.figdiv {
  position: relative;
  margin: 20px 0;
}

.lay1aoverlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 2s ease;
  display: flex;
  display: -webkit-flex;
  z-index: 1000;
}

.lay1aoverlay2 {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 2s ease;
  display: flex;
  display: -webkit-flex;
  z-index: 1000;
}

.lay1aoverlay3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 2s ease;
  display: flex;
  display: -webkit-flex;
  z-index: 1000;
}

.lay1aoverlay4 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: 1s ease;
  display: flex;
  display: -webkit-flex;
  z-index: 1000;
}

.lay1aoverlay5 {
  position: absolute;
  bottom: 0;
  left: 100%;
  right: 0;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: 1s ease;
  display: flex;
  display: -webkit-flex;
  z-index: 1000;
}

.lay1aoverlay {
  background: #ffffff;
}

.lay1aoverlay2, .lay1aoverlay3, .lay1aoverlay4, .lay1aoverlay5 {
  background: #ffffff;
  opacity: 0.8;
}



 .lay1atext {
  width: 100%;
  text-align: center !important;
  margin: auto !important;
}

.lay1atext p, .lay1atexttext p {
  width: 100%;
  height: 100%;
  padding: 30px;
  text-align: center !important;
  margin: auto !important;

}

.lay1atextbutton p {
  text-align: center !important;
  margin: 30px auto 10px auto !important;
}



.lay1abutton {
  position: relative;
  background-color: #3D5366;
  border: 0;
  color: #EFF2F4;
  padding: 4px 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.5s;
  -webkit-appearance: none;
  border-radius: 0;
  display: block;
  letter-spacing: 1px;
  border-radius: 3px;
  border: 2px solid transparent;
  z-index: 100;
}

.lay1abutton:hover, a.lay1abutton:hover {

  background-color: #EFF2F4;
  color: #3D5366;
  border: 2px solid #3D5366;
  text-decoration: none !important;
  z-index: 100;
}


.picturelay4 {
  width: 100%;
  max-width: 100%;
  padding: 0 !important;
  overflow: hidden !important;
}

.picturelay4:hover .lay1aoverlay {
  opacity: 0.8;

}

.picturelay4:hover .lay1a {

}

.picturelay4:hover .lay1aoverlay2 {
  bottom: 0;
  height: 100%;
}

.picturelay4:hover .lay1aoverlay3 {
  height: 100%;
}

.picturelay4:hover .lay1aoverlay4 {
  width: 100%;
}

.picturelay4:hover .lay1aoverlay5 {
  width: 100%;
  left: 0;
}

figcaption {
  user-select: none;
}

.teaser {
  margin: 0 !important; /* 1 */
}

.teaser-meta {
  padding: 0px;
}

.teaser-title {
  display: block;
  font-weight: bold;
  font-size: 100%;
  margin-bottom: 5px;
}

.teaser-description {
  margin: 0;
}

@media (min-width: 350px) {

  .teaser {
    position: relative; /* 1 */

    overflow: hidden; /* 3 */
  }

  .teaser-image {
    width: 100%;
    position: absolute; /* 1 */
    top: 50%; /* 1 */
    left: 50%; /* 1 */
    transform: translate(-50%, -50%); /* 1 */
  }

  .teaser-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: 0.2s ease-in-out;
  }

  .teaser-overlay:hover,
  .teaser-overlay:active {
    background-color: rgba(0, 0, 0, 0.8);
  }

  .teaser-meta {
    position: absolute;
    top: 100%; /* 1 */
    right: 0;
    left: 0;
    padding: 0 20px 20px; /* 2 */
    color: rgb(255, 255, 255);
    transition: inherit; /* 3 */
  }

  .teaser:hover .teaser-meta,
  .teaser:active .teaser-meta {
    transform: translateY(-100%);
  }

  .teaser-title {
    transform: translateY(-100%); /* 1 */
    margin-top: -20px; /* 2 */
    margin-bottom: 5px; /* 3 */
    transition: inherit;
    font-size: 150%;
  }

  .teaser:hover .teaser-title,
  .teaser:active .teaser-title {
    transform: translateY(0);
  }
}