/*
	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.project-map-block .block-section-wrapper {
  display: block;
  width: 90%;
}

.block-section.project-map-block .two-columns {
  display: block;
}

.block-section.project-map-block .two-columns .text-content {
  display: inline-block;
  float: left;
  width: 31.25rem;
  padding-right: 3.125rem;
}

.block-section.project-map-block .two-columns .image-content {
  display: inline-block;
  float: left;
  width: calc(100% - 500px);
}

.block-section.project-map-block .two-columns .image-content .image-wrapper {
  display: block;
}

.block-section.project-map-block .two-columns .image-content .image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.25rem;
}

.block-section.project-map-block .two-columns .map-block__under .image-slider-with-modal {
  overflow: visible;
  margin-left: 0;
  margin-right: 0;
  margin-top: 3.75rem;
}

.block-section.project-map-block .two-columns .map-block__under .image-slider-with-modal .block-title {
  font-size: 2rem;
}

.block-section.project-map-block .two-columns .map-block__under .image-slider-with-modal .nav-cluster {
  left: -177px;
  top: -170px;
  right: auto;
  bottom: auto;
  transform: none;
}

@media screen and (max-width: 1440px) {
  .block-section.project-map-block .two-columns .map-block__under .image-slider-with-modal .nav-cluster {
    top: -150px;
  }
}
@media screen and (max-width: 1340px) {
  .block-section.project-map-block .two-columns .map-block__under .image-slider-with-modal .nav-cluster {
    top: -130px;
  }
}
@media screen and (max-width: 1200px) {
  .block-section.project-map-block .two-columns .map-block__under .image-slider-with-modal .nav-cluster {
    top: -110px;
  }
}
@media screen and (max-width: 1140px) {
  .block-section.project-map-block .two-columns .map-block__under .image-slider-with-modal .nav-cluster {
    top: -80px;
  }
}
@media screen and (max-width: 1023px) {
  .block-section.project-map-block .two-columns .map-block__under .image-slider-with-modal .nav-cluster {
    top: -120px;
  }
}
.block-section.project-map-block .two-columns .map-block__under .image-slider-with-modal .swiper-wrapper {
  counter-reset: myCounter;
}

.block-section.project-map-block .two-columns .map-block__under .image-slider-with-modal .swiper-wrapper .swiper-slide:before {
  content: counter(myCounter);
  font-weight: bold;
  margin-right: 5px;
  counter-increment: myCounter;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: rgba(18, 55, 79, 0.8);
  width: 2.375rem;
  position: absolute;
  z-index: 10;
  border-radius: 0.375rem 0 0 0.375rem;
  color: white;
}

@media screen and (min-width: 1000px) {
  .block-section.project-map-block .two-columns .map-block__under .image-slider-with-modal .swiper-slider-bottom {
    width: 100%;
  }
  .block-section.project-map-block .two-columns .map-block__under .image-slider-with-modal .swiper-scrollbar {
    width: 100% !important;
  }
}
@media screen and (max-width: 999px) {
  .block-section.project-map-block .two-columns .text-content {
    width: 100%;
    padding-right: 0;
    margin-bottom: 2.5rem;
  }
  .block-section.project-map-block .two-columns .image-content {
    width: 100%;
  }
  .block-section.project-map-block .two-columns .image-content .map-block__under .image-slider-with-modal {
    margin-top: 1.875rem;
  }
  .block-section.project-map-block .two-columns .image-content .map-block__under .image-slider-with-modal .nav-cluster {
    left: auto;
    top: 50%;
    right: 0;
    bottom: auto;
    transform: translateY(-50%);
  }
}
.wp-admin .project-map-block {
  background: #efeff9;
  border: solid 1px #d1d1d1;
  padding-top: 1.875rem;
  padding-bottom: 1.875rem;
}

.wp-admin .project-map-block .map-block__under {
  padding: 1.875rem 0 0 0;
}
