/*
	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.
 */
/**
 *	Fluid sized fonts
 *	Read more here:
 *	https://css-tricks.com/snippets/css/fluid-typography/
 */
/*
 * makes ul/ol as a dropdown select (normaly in mobile)
 * Structure: div > title > list > li > a
*/
/*
	Variables for legacy dc plugins
*/
section.form .block-section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

section.form .block-section-wrapper.align-right {
  align-items: flex-end;
}

section.form .block-section-wrapper .content-container {
  max-width: 50%;
}

@media screen and (max-width: 1004px) {
  section.form .block-section-wrapper .content-container {
    max-width: 100%;
    width: 100%;
  }
}
section.form .block-section-wrapper .form__title {
  text-wrap: balance;
  margin-bottom: 1.85rem;
}

section.form .block-section-wrapper .form__text {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

section.form .block-section-wrapper .stem-wpforms {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--color__gold);
  padding: 2rem;
}

section.form .block-section-wrapper .stem-wpforms .wpforms-container-full .wpforms-form textarea.wpforms-field-medium {
  padding: 1.5rem;
}

section.form .block-section-wrapper .stem-wpforms .wpforms-container {
  margin: 0 !important;
}

section.form .block-section-wrapper .stem-wpforms .wpforms-container .wpforms-field-container .wpforms-field .wpforms-field-label {
  color: var(--color__black);
  font-size: 1rem;
  font-weight: 400;
}

section.form .block-section-wrapper .stem-wpforms .wpforms-container .wpforms-field-container .wpforms-field .wpforms-field-label .wpforms-required-label {
  color: var(--color__black);
}

section.form .block-section-wrapper .stem-wpforms .wpforms-container .wpforms-field-container .wpforms-field .wpforms-error {
  color: var(--color__black) !important;
}

section.form .block-section-wrapper .stem-wpforms .wpforms-container .wpforms-field-container .wpforms-field .wpforms-error::before {
  background-color: var(--color__black) !important;
}

section.form .block-section-wrapper .stem-wpforms .wpforms-container .wpforms-field-container .wpforms-field input,
section.form .block-section-wrapper .stem-wpforms .wpforms-container .wpforms-field-container .wpforms-field .wpforms-field-textarea {
  border-radius: 0.3125rem;
  padding: 1.875rem 1.25rem;
}

section.form .block-section-wrapper .stem-wpforms .wpforms-container .wpforms-field-container .wpforms-field .wpforms-field-textarea {
  height: 14.125rem;
}

section.form .block-section-wrapper .stem-wpforms .wpforms-container .wpforms-submit-container .wpforms-submit {
  border-radius: 5px;
  background: var(--color__black);
  display: flex;
  width: 220px;
  padding: 1.625rem 1.25rem;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--color__white);
  justify-self: flex-end;
}

@media screen and (max-width: 849px) {
  section.form .block-section-wrapper .stem-wpforms .wpforms-container .wpforms-submit-container .wpforms-submit {
    justify-self: center;
    margin-bottom: 1rem;
  }
}
section.form .block-section-wrapper .stem-wpforms .wpforms-container .wpforms-submit-container .wpforms-submit:hover {
  background: var(--color__white);
  color: var(--color__black);
}
