/*
	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.2s;
}

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
*/
.block-section.info-tree .wrapper {
  display: flex;
}

.block-section.info-tree .wrapper .empty-space {
  flex-shrink: 0;
  width: 35%;
  padding: 4rem 2rem;
}

@media screen and (max-width: 999px) {
  .block-section.info-tree .wrapper {
    display: block;
  }
  .block-section.info-tree .wrapper .empty-space {
    display: none;
  }
  .block-section.info-tree .wrapper .two-column-layout {
    padding-left: 0;
  }
}
.block-section.info-tree .wrapper .two-column-layout {
  padding-left: 3rem;
  width: 100%;
}

@media screen and (max-width: 999px) {
  .block-section.info-tree .wrapper .two-column-layout {
    padding-left: 0;
  }
}
.block-section.info-tree .wrapper .two-column-layout .header {
  padding-bottom: 12px;
  border-bottom: 1px solid #12374F;
}

.block-section.info-tree .wrapper .two-column-layout .header__text {
  color: #12374F;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}

@media screen and (max-width: 849px) {
  .block-section.info-tree .wrapper .two-column-layout .header__text {
    font-size: 14px;
  }
}
.block-section.info-tree .wrapper .two-column-layout .row {
  --row-gap: 30px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: var(--row-gap);
}

.block-section.info-tree .wrapper .two-column-layout .row:first-of-type {
  margin-top: 30px;
}

.block-section.info-tree .wrapper .two-column-layout .row .connection-line {
  flex-grow: 1;
  position: relative;
  height: 100px;
}

.block-section.info-tree .wrapper .two-column-layout .row .connection-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #12374F;
  transform: translateY(-50%);
}

.block-section.info-tree .wrapper .two-column-layout .row .connection-line--hidden::before {
  display: none;
}

.block-section.info-tree .wrapper .two-column-layout .row .column {
  width: 320px;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 1439px) {
  .block-section.info-tree .wrapper .two-column-layout .row .column {
    width: 260px;
  }
}
@media screen and (max-width: 999px) {
  .block-section.info-tree .wrapper .two-column-layout .row .column {
    width: 220px;
  }
}
@media screen and (max-width: 849px) {
  .block-section.info-tree .wrapper .two-column-layout .row .column {
    width: 160px;
  }
}
.block-section.info-tree .wrapper .two-column-layout .row .column__wrapper {
  position: relative;
  flex: 1;
  display: flex;
}

.block-section.info-tree .wrapper .two-column-layout .row .column__content {
  position: relative;
  margin: 0;
  flex: 1;
  display: flex;
}

.block-section.info-tree .wrapper .two-column-layout .row .column__connected::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: var(--row-gap);
  background-color: #12374F;
}

.block-section.info-tree .wrapper .two-column-layout .row .column__step, .block-section.info-tree .wrapper .two-column-layout .row .column__info {
  margin: 0;
  flex: 1;
  display: flex;
}

.block-section.info-tree .wrapper .two-column-layout .row .column__step {
  background-color: #E7F5F4;
  min-height: 100px;
  padding: 14px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 16px;
  border-radius: 6px;
}

@media screen and (max-width: 849px) {
  .block-section.info-tree .wrapper .two-column-layout .row .column__step {
    font-size: 12px;
  }
}
.block-section.info-tree .wrapper .two-column-layout .row .column__step__number {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 1px solid #12374F;
  border-radius: 50%;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 150%;
}

@media screen and (max-width: 849px) {
  .block-section.info-tree .wrapper .two-column-layout .row .column__step__number {
    font-size: 8px;
    width: 14px;
    height: 14px;
  }
}
.block-section.info-tree .wrapper .two-column-layout .row .column:last-of-type .column__step {
  background-color: #FFF7DC;
}

.block-section.info-tree .wrapper .two-column-layout .row .column__info {
  min-height: 56px;
  border: 1px solid #12374F;
  padding-inline: 14px;
  padding-block: 12px;
  font-size: 16px;
  border-radius: 6px;
  align-items: center;
  word-break: break-word;
}

@media screen and (max-width: 849px) {
  .block-section.info-tree .wrapper .two-column-layout .row .column__info {
    font-size: 12px;
  }
}
