/*-------------------------------------------*/
/* frontpage                                 */
/*-------------------------------------------*/

html {
  background: none;
}



.frontpage_slideshow img,
.frontpage_left img,
.frontpage_right img,
.frontpage_featured .pic img {
  display: block;
  width: 100%;
  height: auto;
}

.front {
  background-image: url("/images/bg-frontpage16.avif");
  background-repeat: no-repeat;
  background-position: top right;
}

.frontpage_top {
  margin: 10px 0 30px;
  width: 100%;
  min-width: 675px;
}

.frontpage_slideshow {
  margin: 40px 0 0;
  max-width: 100%;
}

/*-------------------------------------------*/
/* margin overlap                             */
/*-------------------------------------------*/

.frontpage_both {
  justify-content: space-between;
  max-width: 80%;
  width: 1200px;
  margin-bottom: 500px;
}

.frontpage_innercontent {
  padding: 30px;
  background: #fff;
  margin-top: -500px;
}

/*-------------------------------------------*/
/* end margin overlap                         */
/*-------------------------------------------*/

.frontpage_left,
.frontpage_right {
  width: 49%;
  max-width: 590px;
}

.frontpage_left img,
.frontpage_right img {
  border-radius: 20px;
}

.front_part1,
.front_part2,
.front_part3 {
  padding: 30px 0;
  border-bottom: 2px solid #eee;
}

.block {
  margin-bottom: 0;
}

.frontpage_content {
  width: 100%;
  background: #fff;
  margin: 30px 0;
  padding: 20px 0;
}

.frontpage-row {
  margin-bottom: 20px;
}

.frontpage_articles {
  margin-right: 20px;
  width: 50%;
  min-width: 280px;
}

.frontpage_articles h2 {
  font-size: 23px;
  color: #4684c1;
}

.frontpage_articles h3,
.frontpage_articles h4 {
  color: #4684c1;
  margin: 0 0 5px;
}

.frontpage_articles .view-header {
  margin: 0 5px 5px 0;
}

.frontpage_articles .view-content {
  margin-bottom: 10px;
}

.frontpage_photo_text {
  margin: 0 10px;
}

.frontpage_content02 {
  border-right: 4px dotted #eee;
  padding-right: 20px;
}

.frontpage_featured h2 {
  color: #4684c1;
}

.frontpage_featured h4 {
  color: #3f4d5a;
  font-weight: bold;
  font-size: 14px;
}

.front_part1 .pic,
.front_part2 .pic,
.front_part3 .pic {
  min-width: 40%;
}

.front_part1 .text,
.front_part3 .text {
  margin-right: 20px;
}

.front_part2 .text {
  margin-left: 20px;
}

/*-------------------------------------------*/
/* facebook                                  */
/*-------------------------------------------*/

._2p3a {
  width: 100% !important;
}

/*-------------------------------------------*/
/* MEDIA QUERIES                             */
/*-------------------------------------------*/

/* Medium and under (tablets / small laptops) */
@media (max-width: 1025px) {
  .frontpage_innercontent {
    flex-wrap: wrap;
    flex-direction: column-reverse;
    margin-top: unset;
  }

  .frontpage_both {
    margin-bottom: unset;
  }

  .frontpage_articles {
    margin-right: unset;
    width: 100%;
  }

  .frontpage_content02 {
    border-right: 0;
    padding-right: unset;
  }

  .frontpage_content03 {
    margin: unset;
  }
}

/* Mobile */
/* Mobile: hide the top promo pictures, but keep featured images visible */
@media (max-width: 768px) {
  .frontpage_top picture,
  .frontpage_left picture,
  .frontpage_right picture {
    display: none;
  }

  .front {
    background: none;
    background-image: initial;
  }

  .frontpage_content {
    margin: 10px 0;
    padding: 0;
  }

  .frontpage_innercontent {
    flex-wrap: wrap;
    flex-direction: column-reverse;
    margin: unset;
  }

  .frontpage_top {
    margin: 0;
    width: 100%;
    min-width: initial;
    flex-wrap: wrap-reverse;
  }

  .front_part1 .text,
  .front_part2 .text,
  .front_part3 .text {
    margin: unset;
  }

  .front_part2 {
    flex-direction: column;
  }

  .frontpage_slideshow {
    margin: 0;
  }

  .front_part1,
  .front_part2,
  .front_part3 {
    margin-bottom: 30px;
  }

  .frontpage_both {
    margin-bottom: unset;
  }
}
