/*
	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: 500;
  position: fixed;
  left: 0;
  bottom: 3.125rem;
  transform: translateX(-45px);
  transition: all 0.2s;
}

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

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

.grid-container {
  max-width: 70.625rem;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-column-gap: 1.875rem;
}

@media screen and (max-width: 1280px) {
  .grid-container {
    padding: 0 0.9375rem;
  }
}
/*
	Variables for compliation
	NB! Colors should be added to base/config file as css root variable.
*/
/**
 * $size: font-size in number
 * $line-height: line-height in percentage
 * $weight: font-weight
 * $family: font-family
 * $color: font-color
 */
/**
 * 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
*/
section.two-columns {
  width: 90%;
  border-radius: var(--border-radius-biggest);
}

section.two-columns .content__accordion {
  display: flex;
  flex-flow: column;
  gap: 1.6rem;
  color: var(--color__text);
  margin: 2rem 0;
}

section.two-columns .content__accordion .content__accordion-item {
  background: var(--current-text-color, #fff);
  color: var(--current-bg-color);
}

section.two-columns .content__accordion .toggle-box__heading {
  font-weight: 500;
}

section.two-columns .content__accordion .toggle-box__content {
  display: flex;
  flex-flow: column;
  gap: 1rem;
}

section.two-columns .content__accordion .toggle-box__content ul li,
section.two-columns .content__accordion .toggle-box__content ol li {
  margin-bottom: 0.5em;
}

section.two-columns .content__accordion a {
  color: var(--color__pink) !important;
}

section.two-columns .text-content__image figure picture,
section.two-columns .text-content__image figure img {
  border-radius: var(--element-border-radius);
  overflow: hidden;
}

section.two-columns .text-content__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 767px) {
  section.two-columns .text-content__image + .bg_inherit_gradient {
    display: none !important;
  }
}
section.two-columns .content__text {
  display: flex;
  flex-flow: column;
  gap: 2rem;
}

section.two-columns .content__text h3 {
  font-weight: 600;
  margin-top: 1em;
}

section.two-columns .content__text h4 {
  font-weight: 500;
  margin-top: 1em;
}

section.two-columns .content__quote-byline {
  display: block;
  margin-top: 3rem !important;
  font-style: italic;
}

section.two-columns .content__quote {
  padding: 3rem 1.4rem;
}

section.two-columns .content__fact-box .toggle-box {
  color: var(--color__white);
  background-color: var(--color__pink);
}

section.two-columns .content__fact-box .toggle-box a {
  color: inherit !important;
  font-weight: bold;
}

section.two-columns .content__fact-box .toggle-box .toggle-box__heading * {
  font-weight: 500;
}

section.two-columns .content__fact-box .toggle-box .toggle-box__content > div {
  margin-bottom: 2rem;
}

section.two-columns .content__tabs {
  margin-top: 10rem;
}

section.two-columns .content__tabs .content__tabs-wrapper {
  position: relative;
}

section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item {
  pointer-events: none;
}

section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item .content__tab-item-wrapper {
  background-color: var(--color__white);
  border-radius: var(--element-border-radius);
  width: 250px;
  height: 270px;
  padding: 20px 30px;
  transform: rotate(-4deg);
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  pointer-events: initial;
}

section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item .content__tab-item-wrapper * {
  pointer-events: none;
}

@media only screen and (max-width: 600px) {
  section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item .content__tab-item-wrapper {
    width: 160px;
    height: 180px;
    padding: 16px 20px;
  }
}
section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item:not(:first-child) {
  position: absolute;
  bottom: 0;
  right: 0;
}

section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item * {
  font-weight: 500;
}

section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item:nth-child(2) {
  right: initial;
  left: 0;
  transform: translateX(23%) translateY(-2%) rotate(3deg);
}

section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item:nth-child(2) .content__tab-item-wrapper {
  background-color: var(--color__pink);
  color: var(--color__white);
}

section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item:nth-child(3) {
  transform: translateX(-23%) translateY(-3%) rotate(6deg);
}

section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item:nth-child(3) .content__tab-item-wrapper {
  background-color: var(--color__grey);
}

section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item:nth-child(4) {
  transform: rotate(11deg);
}

section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item:nth-child(4) .content__tab-item-wrapper {
  background-color: var(--color__teal);
}

section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item:hover .content__tab-item-wrapper {
  transform: translateY(-10px);
}

section.two-columns .content__tabs .content__tabs-wrapper .content__tab-item.open .content__tab-item-wrapper {
  transform: translateY(-50%);
}

section.two-columns .content__tabs .content__tabs-navigation {
  margin-top: 4rem;
}

section.two-columns .content__highlight {
  padding: var(--element-box-padding-small);
  border-radius: var(--element-border-radius);
}

section.two-columns .content__highlight .highlight__heading + .highlight__content {
  margin-top: 1em;
}

section.two-columns .content__highlight .highlight__heading + .highlight__content a {
  font-weight: 500;
  color: var(--color_white) !important;
}

section.two-columns .content__main_column_image figure picture,
section.two-columns .content__main_column_image figure img {
  border-radius: var(--element-border-radius);
  overflow: hidden;
}

section.two-columns .content__main_column_image img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 767px) {
  section.two-columns .content__main_column_image + .bg_inherit_gradient {
    display: none !important;
  }
}
section.two-columns .toggle-box {
  padding: 0 20px;
  border-radius: var(--element-border-radius-small);
}

section.two-columns .toggle-box svg {
  fill: currentColor;
  width: 28px;
  height: auto;
  transition: all 0.4s ease-in-out;
  flex: 0 0 auto;
}

section.two-columns .toggle-box.open svg {
  transform: rotate(135deg);
}

section.two-columns .toggle-box .toggle-box__heading {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
}

section.two-columns .toggle-box .toggle-box__heading h3 {
  line-height: 1.3;
}

section.two-columns .toggle-box .toggle-box__content {
  height: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}

section.two-columns .toggle-box .toggle-box__content > * {
  margin-top: 0rem;
}

section.two-columns .toggle-box .toggle-box__content > *:last-child {
  margin-bottom: 20px;
}

@media screen and (max-width: 1450px) {
  section.two-columns {
    padding: 0 !important;
  }
}
section.two-columns.is-style-side-main .col_main {
  order: 3;
}

section.two-columns.is-style-side-main .two-cols .col_main {
  order: 2;
}

section.two-columns.is-style-side-main .two-cols .col_side {
  order: 1;
}

section.two-columns.is-style-main-side .two-cols .col_main {
  order: 1;
}

section.two-columns.is-style-main-side .two-cols .col_side {
  order: 2;
}

section.two-columns.has-background {
  margin-top: 7.5rem !important;
  margin-bottom: 7.5rem !important;
}

section.two-columns.--is-full-height .col_content_holder {
  max-height: 60vh;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease-in-out;
}

section.two-columns.--is-full-height .col_content_holder:not(.open) .bg_inherit_gradient {
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 12%;
  width: 100%;
  background: linear-gradient(0deg, var(--color__beige) 0%, rgba(255, 255, 255, 0) 100%);
}

section.two-columns .two-cols {
  display: flex;
  justify-content: space-between;
  gap: 8rem;
}

section.two-columns .two-cols > .col,
section.two-columns .two-cols .col_content_holder {
  flex: 1;
  display: flex;
  flex-flow: column;
  gap: 1.875rem;
}

section.two-columns .two-cols > .col .img-wrap,
section.two-columns .two-cols .col_content_holder .img-wrap {
  padding-bottom: 30px;
}

section.two-columns .two-cols p {
  margin: 0;
}

section.two-columns .two-cols p a {
  color: inherit;
}

section.two-columns .two-cols p a:hover {
  color: var(--color__hover);
}

section.two-columns .two-cols .col_main {
  flex: 1 1 55%;
}

section.two-columns .two-cols .col_side {
  flex: 1 1 45%;
  gap: 10rem;
}

section.two-columns .content__heading + .content__ingress {
  margin-top: -1rem;
}

@media only screen and (max-width: 900px) {
  section.two-columns .two-cols {
    display: flex;
    flex-flow: column;
    justify-content: initial;
    max-width: 580px;
    gap: 5rem;
  }
  section.two-columns .two-cols .col:empty {
    display: none;
  }
  section.two-columns .two-cols .col_side {
    gap: 4rem;
  }
}
section.two-columns .block-section-wrapper {
  border-radius: 3.75rem;
  box-sizing: content-box;
  padding: 3.75rem;
}

@media only screen and (max-width: 900px) {
  section.two-columns .block-section-wrapper {
    padding: 3.75rem 0;
  }
}
section.two-columns {
  background-color: transparent;
}

section.two-columns.has-green-darker-background-color.--is-full-height .col_content_holder:not(.open) .bg_inherit_gradient {
  background: linear-gradient(0deg, var(--color__green-darker) 0%, rgba(255, 255, 255, 0) 100%);
}

section.two-columns.has-green-light-background-color.--is-full-height .col_content_holder:not(.open) .bg_inherit_gradient {
  background: linear-gradient(0deg, var(--color__green-light) 0%, rgba(255, 255, 255, 0) 100%);
}

section.two-columns.has-blue-light-background-color.--is-full-height .col_content_holder:not(.open) .bg_inherit_gradient {
  background: linear-gradient(0deg, var(--color__blue-light) 0%, rgba(255, 255, 255, 0) 100%);
}

section.two-columns.has-pink-background-color.--is-full-height .col_content_holder:not(.open) .bg_inherit_gradient {
  background: linear-gradient(0deg, var(--color__pink) 0%, rgba(255, 255, 255, 0) 100%);
}

section.two-columns.has-brown-background-color.--is-full-height .col_content_holder:not(.open) .bg_inherit_gradient {
  background: linear-gradient(0deg, var(--color__brown) 0%, rgba(255, 255, 255, 0) 100%);
}
