/*
	Abstracts are helpers, variables and functions
	for scss compliation.
*/
/*
	@TODO: Add to theme: new division fix for updated sass package.
*/
/**==================================================================================================================================
BREAKPOINT
@TODO: remove? What is use case?? either use simple global points or write custom line. why does first breakpoint have to be 0?
 ==================================================================================================================================*/
/**==================================================================================================================================
BREAKPOINT ENDS
==================================================================================================================================*/
span.edit-link {
  display: inline-block;
  background-color: yellow;
  font-weight: 700;
  position: fixed;
  left: 0;
  bottom: 3.125rem;
  transform: translateX(-45px);
  transition: all 0.4s;
}

span.edit-link a {
  display: block;
  padding: 0.9375rem;
}

span.edit-link:hover {
  transform: translateX(0);
}

/*
	Variables for compliation
	NB! Colors should be added to base/config file as css root variable.
*/
/**
 * Block section background colors.
 * Include the background options ACF fields group to use these.
 */
/*
 * makes ul/ol as a dropdown select (normaly in mobile)
 * Structure: div > title > list > li > a
*/
/*
	Variables for legacy dc plugins
*/
section.subpage-hero {
  color: #fff;
  background-color: #375172;
  position: relative;
  margin: -6.875rem 0 4.375rem 0;
  height: 40.875rem;
}

section.subpage-hero.banner-margin {
  height: 43.75rem;
}

section.subpage-hero .hero-title h2 {
  font-weight: 500;
}

section.subpage-hero .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

@media screen and (max-width: 1440px) {
  section.subpage-hero .image-wrapper {
    background-position: center center !important;
  }
}
section.subpage-hero .image-wrapper .bg-image {
  position: absolute;
  top: 0;
  width: 100%;
}

section.subpage-hero .image-wrapper .bg-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

section.subpage-hero .video-wrapper {
  width: 100%;
  height: 100%;
}

section.subpage-hero .video-wrapper .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
}

section.subpage-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

section.subpage-hero div.block-section-wrapper {
  position: relative;
  width: 100%;
  bottom: 50px;
}

section.subpage-hero div.block-section-wrapper.hero-content-container {
  bottom: 0;
}

section.subpage-hero div.block-section-wrapper .hero-content {
  position: absolute;
  width: 100%;
  bottom: 50px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

section.subpage-hero div.block-section-wrapper .hero-content .hero-title {
  max-width: 36rem;
  width: 100%;
}

section.subpage-hero div.block-section-wrapper .hero-content .hero-title.full {
  max-width: 100%;
}

section.subpage-hero div.block-section-wrapper .hero-content .hero-title.full h2 {
  text-align: center;
}

@media screen and (min-width: 1200px) {
  section.subpage-hero div.block-section-wrapper .hero-content .hero-title.full h2 {
    font-size: 4.5rem;
    line-height: 5rem;
  }
}
section.subpage-hero div.block-section-wrapper .hero-content .small-text {
  max-width: 492px;
}

section.subpage-hero div.block-section-wrapper .hero-content .small-text p {
  font-size: 20px;
  font-weight: 200;
  line-height: 128%;
  text-align: right;
  margin-bottom: 0;
}

@media screen and (max-width: 992px) {
  section.subpage-hero div.block-section-wrapper .hero-content .small-text {
    max-width: 200px;
  }
}
section.subpage-hero div.block-section-wrapper .hero-content-with-backgound {
  position: absolute;
  max-width: 700px;
  display: flex;
  padding: 50px 67px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  bottom: 0px;
  color: #375172;
  font-weight: 200;
}

section.subpage-hero div.block-section-wrapper .hero-content-with-backgound .small-text p {
  font-size: 20px;
  font-weight: 200;
  line-height: 128%;
}

@media screen and (max-width: 768px) {
  section.subpage-hero div.block-section-wrapper {
    bottom: 0;
    padding: 0;
  }
  section.subpage-hero div.block-section-wrapper .hero-content-with-backgound {
    padding: 20px;
    bottom: 40px;
  }
  section.subpage-hero div.block-section-wrapper .hero-content {
    margin: 0px;
    flex-direction: column;
  }
  section.subpage-hero div.block-section-wrapper .hero-content .hero-title h2,
section.subpage-hero div.block-section-wrapper .hero-content-with-backgound .hero-title h2 {
    font-size: 42px;
  }
  section.subpage-hero div.block-section-wrapper .hero-content .small-text p,
section.subpage-hero div.block-section-wrapper .hero-content-with-backgound .small-text p {
    font-size: 18px;
    text-align: left;
  }
}
