/*
	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.downloads {
  --text-color: $deep-ocean-blue;
}

section.downloads .block-section-wrapper .downloads-title {
  margin-bottom: 3.125rem;
}

@media screen and (max-width: 999px) {
  section.downloads .block-section-wrapper .downloads-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
}
section.downloads .block-section-wrapper .downloads-layout {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

@media screen and (max-width: 849px) {
  section.downloads .block-section-wrapper .downloads-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}
section.downloads .block-section-wrapper .downloads-layout.has-image {
  flex-direction: row;
  gap: 7.5rem;
}

@media screen and (max-width: 849px) {
  section.downloads .block-section-wrapper .downloads-layout.has-image {
    flex: 1 1 60%;
    flex-direction: column;
    gap: 1.875rem;
  }
}
@media screen and (max-width: 849px) {
  section.downloads .block-section-wrapper .downloads-layout.has-image .downloads-content-wrapper {
    flex: 1 1 60%;
    flex-direction: column;
  }
}
section.downloads .block-section-wrapper .downloads-image {
  width: 100%;
}

@media screen and (max-width: 849px) {
  section.downloads .block-section-wrapper .downloads-image {
    flex: 0 0 35%;
  }
}
section.downloads .block-section-wrapper .downloads-image img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

section.downloads .block-section-wrapper .downloads-content-wrapper {
  width: 100%;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item {
  color: var(--text-color);
  text-decoration: none;
  min-height: 80px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  border-radius: 0;
  margin-bottom: 1rem;
  padding: re-calc(12) 0;
  border-bottom: 1px solid rgba(66, 98, 138, 0.3882352941);
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover {
  border-bottom: 1px solid #ad5156;
  color: #ad5156;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover.bg--moss, section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover.bg--blue-mist, section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover.bg--green {
  color: inherit;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover.bg--moss .button-circle span::after, section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover.bg--blue-mist .button-circle span::after, section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover.bg--green .button-circle span::after {
  background-color: #293d56;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover.bg--moss {
  background-color: #cdd9d4;
  border-bottom: none;
  border-radius: 1.25rem;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover.bg--deep-blue {
  background-color: #395578;
  color: white;
  border-bottom: none;
  border-radius: 1.25rem;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover.bg--deep-blue .button-circle span::after {
  background-color: white;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover.bg--blue-mist {
  background-color: #c4ccd9;
  border-bottom: none;
  border-radius: 1.25rem;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover.bg--green {
  background-color: #aad1c7;
  color: inherit;
  border-bottom: none;
  border-radius: 1.25rem;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item:hover .button-circle span::after {
  background-color: #ad5156;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item.bg--green, section.downloads .block-section-wrapper .downloads-content-wrapper .download-item.bg--moss, section.downloads .block-section-wrapper .downloads-content-wrapper .download-item.bg--blue-mist, section.downloads .block-section-wrapper .downloads-content-wrapper .download-item.bg--deep-blue {
  padding: 0.75rem 1.625rem;
  border-bottom: none;
  border-radius: 1.25rem;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item.bg--green {
  background-color: #b2d9d0;
  padding: 0.75rem 1.625rem;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item.bg--blue-mist {
  background-color: #d3dbe8;
  padding: 0.75rem 1.625rem;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item.bg--moss {
  background-color: #dce6e2;
  padding: 0.75rem 1.625rem;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item.bg--deep-blue {
  background-color: #293d56;
  padding: 0.75rem 1.625rem;
  color: #fff;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item.bg--deep-blue a {
  color: #fff;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item.bg--deep-blue a:hover {
  color: #dce6e2;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item.bg--deep-blue .button-circle span::after {
  background-color: white;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item .button-circle.small-text span::before {
  font-size: 10px;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item .button-circle.small-text span::after {
  width: 14px;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item .button-circle span {
  position: relative;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item .button-circle span::before {
  font-size: 13px;
}

section.downloads .block-section-wrapper .downloads-content-wrapper .download-item .button-circle span::after {
  content: "";
  position: absolute;
  transform: translate(-50%, -50%);
  bottom: -4px;
  left: 50%;
  width: 20px;
  height: 2px;
  background-color: #293d56;
}
