/*
	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.text-block .block-section-wrapper {
  color: #293d56;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.text-block .block-section-wrapper .text-block-container {
  padding: 0;
  border-radius: 1.25rem;
  width: 100%;
}

section.text-block .block-section-wrapper .text-block-container p strong {
  font-weight: 600;
}

section.text-block .block-section-wrapper .text-block-container p img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.5rem;
}

section.text-block .block-section-wrapper .text-block-container h2 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 3.3125rem;
}

@media screen and (max-width: 849px) {
  section.text-block .block-section-wrapper .text-block-container h2 {
    font-size: 2.375rem;
    line-height: 3rem;
  }
}
section.text-block .block-section-wrapper .text-block-container h3 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 2.25rem;
}

@media screen and (max-width: 849px) {
  section.text-block .block-section-wrapper .text-block-container h3 {
    font-size: 1.5rem;
    line-height: 1.875rem;
  }
}
section.text-block .block-section-wrapper .text-block-container h4 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.875rem;
}

section.text-block .block-section-wrapper .text-block-container.bg--green, section.text-block .block-section-wrapper .text-block-container.bg--blue-mist, section.text-block .block-section-wrapper .text-block-container.bg--moss, section.text-block .block-section-wrapper .text-block-container.bg--deep-blue {
  padding: 1.25rem 2.5rem;
}

@media screen and (max-width: 849px) {
  section.text-block .block-section-wrapper .text-block-container.bg--green, section.text-block .block-section-wrapper .text-block-container.bg--blue-mist, section.text-block .block-section-wrapper .text-block-container.bg--moss, section.text-block .block-section-wrapper .text-block-container.bg--deep-blue {
    padding: 1.25rem;
  }
}
section.text-block .block-section-wrapper .text-block-container.bg--green {
  background-color: #b2d9d0;
}

section.text-block .block-section-wrapper .text-block-container.bg--blue-mist {
  background-color: #d3dbe8;
}

section.text-block .block-section-wrapper .text-block-container.bg--moss {
  background-color: #dce6e2;
}

section.text-block .block-section-wrapper .text-block-container.bg--deep-blue {
  background-color: #293d56;
  color: #fff;
}

section.text-block .block-section-wrapper .text-block-container.bg--deep-blue a {
  color: #fff;
}

section.text-block .block-section-wrapper .text-block-container.bg--deep-blue a:hover {
  color: #dce6e2;
}
