.dl-header-image-wrapper {
  height: 31.063rem;
  overflow: hidden;
  display: flex;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  align-items: center;
}

.dl-loading-wrapper {
  position: relative;
  width: 100%;
}

.dl-loading {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.dl-header-image {
  max-width: 100%;
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.digital-library-wrapper {
  margin-top: 50px;
  position: relative;
}

.dl-heading {
  margin-bottom: 50px;
  font-family: "Helen Pro_Light";
  color: #666666;
  font-size: 2.875rem;
  text-align: center;
}

.digital-library-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  transition: all 0.3s ease-in;
  margin-bottom: 5rem;
}

.dl-category {
  width: calc((100vw - (100vw - 1440px) - 5rem) / 3);
  transition: all 0.35s ease-in-out;
  /* order: 2; */
}

.dl-category-active {
  width: 100% !important;
  /* order: 1; */
}

.dl-category-img-wrapper {
  padding: 2rem 1.5rem;
  height: 330px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s ease-in-out;
  position: relative;
  background-color: #393939;
}

/* .dl-category-img {
  display: block;
  width: 100%;
  height: 100%;
} */

.dl-category-active .dl-category-img-wrapper {
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dl-category-items-wrapper {
  position: relative;
}

.dl-category-items {
  display: flex;
  margin-top: 0.7rem;
  flex-wrap: wrap;
  grid-row-gap: 1.75rem;
  grid-column-gap: 0.75rem;
  transition: all 0.3s ease;
  margin-bottom: 3rem;
}

.dl-category-items-wrapper .dl-download-selected {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  align-items: center;
  line-height: 2rem;
  display: flex;
  gap: 0.5rem;
  position: absolute;
  bottom: -4.1rem;
  justify-content: center;
}

.dl-selected-all-icon {
  transition:
    fill 0.3s ease,
    stroke 0.3s ease;
}

.dl-download-selected circle {
  fill: #636363;
  transition: fill 0.3s ease; /* Ensure transition is applied to fill */
}

.dl-download-selected path {
  transition: stroke 0.3s ease; /* Ensure transition is applied to stroke */
}

.dl-category-items-wrapper .dl-download-selected:hover circle {
  fill: #fff;
}

.dl-category-items-wrapper .dl-download-selected:hover path {
  stroke: #05377b;
}

.dl-category-active .dl-category-items {
  height: auto;
}

.dl-categories-item {
  display: flex;
  flex-direction: column;
  width: calc((100vw - (100vw - 1440px) - 8.8rem) / 8);
  /* width: calc((100vw - (100vw - 100%) - 5.3rem) / 8); */
  transition: all 0.35s ease-in;
}

.dl-categories-item-img-wrapper {
  margin-bottom: 0.5rem;
  cursor: pointer;
  position: relative;
}

.dl-categories-item-img {
  height: 162px;
  object-fit: cover;
  position: relative;
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 100%;
  width: 100%;
}

.dl-categories-item-img.loaded {
  opacity: 1;
}

.dl-categories-item-desc-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 0.5rem;
}

.dl-categories-item-title {
  font-family: "Helen Pro_Cond";
  font-size: 1.125rem;
  line-height: 1rem;
  display: block;
}

.dl-categories-cpuntry-item-title {
  font-family: "Helen Pro_Bold";
  font-size: 1rem;
  display: block;
  margin-bottom: 0.3rem;
}

.dl-categories-item-btn {
  color: #636363;
  background: #fff;
  border: 1px solid #636363;
  font-size: 0.9rem;
  line-height: normal;
  padding: 0.2rem 0;
  text-transform: uppercase;
  width: 100%;
  display: block;
  text-align: center;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.3s ease;
  font-family: "Helen Pro_Light";
}

.dl-categories-item-btn-selected {
  background: #05377b;
  color: #fff;
  border-color: #05377b;
}

@media (min-width: 1024px) {
  .dl-categories-item-btn:hover {
    background: #05377b;
    color: #fff;
    border-color: #05377b;
  }
}

.dl-item-title {
  font-size: 2.3rem;
  line-height: 2.3rem;
  font-family: "Helen Pro_bold";
  margin-bottom: 1rem;
  max-width: 15rem;
  color: #fff;
}

.dl-category-active .dl-item-title {
  max-width: 100%;
  font-size: 3rem;
}

.dl-item-subtitle {
  font-size: 1.1rem;
  line-height: normal;
  max-width: 15rem;
  color: #fff;
  font-family: "Helen Pro_light";
}

.dl-category-desc-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 1rem 2rem 1rem;
}

.dl-category-desc {
  font-size: 1.3rem;
  line-height: 1.5rem;
  max-width: 627px;
  text-align: center;
  font-family: "Helen Pro_light";
}

.dl-categories-item-download-wrapper {
  display: flex;
  gap: 1px;
  align-items: center;
}

.dl-single-donwload {
  border: 1px solid #636363;
  width: 18%;
  height: 26.38px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  padding: 6px;
  color: #636363; /* Set text color to gray */
  fill: #636363; /* Set SVG fill color to gray */
}

.dl-single-donwload:hover {
  background: #05377b; /* Set background to blue on hover */
  fill: #fff; /* Set SVG fill color to white on hover */
  color: #fff; /* Set text color to white on hover */
  border-color: #05377b;
}

.filter_menu_bar {
  position: sticky;
  top: 400px;
  background-color: #fff;
  z-index: 10;
}

.dl-category-items-filters-container {
  display: flex;
  border-bottom: 1px solid #d9d9d9;
  justify-content: space-between;
}

.dl-category-items-filter {
  cursor: pointer;
  font-family: "Helen Pro_Cond";
  font-size: 1.125rem;
  text-transform: capitalize;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  user-select: none;
  line-height: 3.7rem;
}

.dl-filter-name {
  margin-right: 0.7rem;
}

.dl-category-items-filters-container .filter-cat-name-wrap {
  gap: 0.7rem;
}

.filter_menu_bar {
  margin-bottom: 1.9rem;
}

.dl-filter-checkmark {
  display: inline-block;
  width: 1.3rem;
  height: 1.3rem;
  background-color: #05377b;
  border-radius: 50%;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.4rem;
  text-align: center;
  visibility: hidden;
  position: relative;
  bottom: 1px;
  font-family: "Helen Pro";
}

.dl-filter-checkmark.dl-active-filter {
  visibility: visible; /* Visible when active */
}

.dl-clear-all,
.dl-download-all {
  font-family: "Helen Pro_Cond";
  font-size: 1.125rem;
  color: #888888;
  background: none;
  border: none;
  /* width: 92px;  */
  width: fit-content;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s ease;
  position: relative;
  bottom: 1px;
  height: 100%;
  padding: 0;
}

.dl-download-selected {
  color: #05377b;
}

.dl-clear-all:hover,
.dl-download-all:hover {
  color: #05377b;
}

.dl-clear-all:hover .dl-clear-icon circle,
.dl-download-all:hover .dl-download-all-icon circle {
  fill: #05377b; /* Change the circle fill color on hover */
}

.dl-clear-all:hover .dl-clear-icon path,
.dl-download-all:hover .dl-download-all-icon path {
  stroke: #fff; /* Ensure the path stroke color remains white */
}

.dl-clear-icon,
.dl-download-all-icon {
  width: 1.3rem;
  transition:
    fill 0.3s ease,
    stroke 0.3s ease; /* Apply transition to fill and stroke */
  position: relative;
  bottom: 1px;
}

.dl-clear-icon circle,
.dl-download-all-icon circle {
  transition: fill 0.3s ease; /* Apply transition to fill */
}

.dl-clear-icon path,
.dl-download-all-icon path {
  transition: stroke 0.3s ease; /* Apply transition to stroke */
}

.dl-right-actions {
  display: flex;
  gap: 1rem;
  line-height: 3.7rem;
  padding-top: 0.5rem;
}

.dl-basket-icon {
  position: relative;
  bottom: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  left: 2px;
}

.dl-no-filter-downloads-container {
  display: flex;
  gap: 0.7rem;
  width: 100%;
}

.dl-no-filter-downloads-item {
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 1.5rem;
  width: 33.33%;
  position: relative;
}

.dl-bim-files {
  background-image: url(/krono/img/express/dl-bim.jpg);
}

.dl-kronodesign {
  background-image: url(/krono/img/express/dl-mobile.jpg);
}

.dl-krono-original {
  background-image: url(/krono/img/express/dl-KO.jpg);
}

.dl-app-icon {
  width: 4rem;
}

.dl-no-filter-btn-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.dl-no-filter-btn-wrapper .dl-item-btn {
  text-decoration: none !important;
}

@keyframes popupOverlay {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* popup */
.dl-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: popupOverlay 0.3s ease-out forwards;
}

@keyframes popupEnter {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes itemsEnter {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dl-popup-content {
  position: relative;
  background: #fff;
  padding: 3rem;
  text-align: center;
  width: 95%;
  max-width: 550px;
  transition: all 0.3s ease;
  animation: popupEnter 0.3s ease-out forwards;
}

.dl-popup-close {
  position: absolute;
  top: -7px;
  right: 11px;
  font-size: 40px;
  color: #6b6b6b;
  cursor: pointer;
}

.dl-popup-title {
  margin-bottom: 1rem;
  font-family: "Helen Pro_Bold";
  font-size: 1.8rem;
  line-height: 1.9rem;
  color: #333333;
}

.dl-popup-subtitle {
  margin-bottom: 2rem;
  font-size: 1.4rem;
  line-height: 1.5rem;
  color: #333333;
  font-family: "Helen Pro_Light";
}

.dl-form-group {
  margin-bottom: 1.5rem;
}

.dl-form-terms {
  display: flex;
  align-items: flex-start;
}

.dl-form-label-terms {
  font-size: 0.9rem;
  line-height: 1rem;
  text-align: left;
  color: #393939;
  margin: 0;
  user-select: none;
}

.dl-terms {
  margin-top: 0.5rem;
  display: block;
}

.dl-form-input {
  width: 100%;
  /* padding: 0.5rem; */
  height: 42px;
  border: 1px solid #ccc;
  text-align: center;
}

.dl-form-input:disabled {
  background-color: #fff;
}

.dl-form-input::placeholder {
  text-align: center;
  text-transform: uppercase;
  font-family: sans-serif;
  font-size: 0.9rem;
  line-height: normal;
}

.dl-form-button {
  /* padding: 0.8rem 1.5rem 0.7rem 1.5rem; */
  height: 42px;
  background-color: #fff;
  border: 1px solid #05377b;
  color: #05377b;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  font-family: sans-serif;
  line-height: normal;
  font-size: 0.9rem;
}

.dl-form-button:disabled {
  border-color: #777777;
  background-color: #fff;
  cursor: not-allowed;
  color: #777777;
}

.dl-form-button:hover:not(:disabled) {
  background-color: #05377b;
  color: #fff;
}

.dl-form-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.dl-form-checkbox + label {
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  user-select: none;
}

.dl-form-checkbox + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 1px solid #6f7070;
  background-color: #fff;
}

.dl-form-checkbox:checked + label::before {
  background-color: #05377b;
  border-color: #6f7070;
}

.dl-form-checkbox:checked + label::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 3px;
  width: 16px;
  height: 16px;
  background-color: #05377b;
  border: 2px solid #fff; /* White padding effect */
  border-radius: 2px;
}

.dl-pdf-js-viwer {
  position: fixed;
}

@keyframes viwerPopupEnter {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.dl-pdf-js-viwer {
  position: relative;
  background: #fff;
  text-align: center;
  width: 90%;
  height: 90%;
  max-width: 90vw;
  transition: all 0.3s ease;
  animation: viwerPopupEnter 0.3s ease-out forwards;
}

.pdf-viwer-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.78rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(35, 35, 35, 0.65);
}

/* .dl-play-icon {
  width: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
} */

.filters-sum {
  border-radius: 100%;
  background-color: #05377b;
  color: #fff;
  width: 2rem;
  height: 2rem;
  display: inline-block;
  text-align: center;
  line-height: 2rem;
  font-family: "Helen Pro_Bold";
  font-size: 1rem;
  position: relative;
  bottom: 2px;
  margin-left: 16px;
}

.decore-filter-dropdown div {
  user-select: none;
}

/*  */

.sustanability-country-links {
  gap: 0.6rem;
  display: grid;
  grid-template-columns: repeat(21, minmax(0, 1fr));
}

.sustanability-country-links .sustanability-country-link:first-child {
  grid-column: span 2;
}

.sustanability-country-link {
  border: 1px solid #05377b;
  padding: 0.1rem 0.9vw;
  cursor: pointer;
  max-height: 29.19px;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.sustanability-country-link:hover {
  background-color: #05377b;
  color: white;
}

.active-c-filter {
  background-color: #05377b;
  color: white;
}

.inactive-link {
  color: grey;
  cursor: not-allowed;
  border: 1px solid #c8c8c8;
  background-color: #c8c8c8;
}

.inactive-link:hover {
  background-color: #c8c8c8;
  color: grey;
}

.sustanability-countries-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column-gap: 2rem;
  margin-right: -15px;
}
/* photoswipe */
.thumbnail-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.thumbnail-bar img {
  width: 50px;
  height: 50px;
  margin: 5px;
  cursor: pointer;
  border: 2px solid transparent;
}

.thumbnail-bar img.active {
  border-color: #05377b;
}

.dl-email-sent {
  margin: 0;
}

.app-col-download-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-col-download-btn .store-button {
  align-items: center;
  background: #f9f7f7;
  border-radius: 10px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
  color: #1f252b;
  display: flex;
  gap: 3px;
  padding: 6px 10px 6px 2px;
  min-width: 140px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.app-col-download-btn .store-button__logo {
  display: inline-flex;
  flex: 0 0 35px;
  height: 35px;
  justify-content: center;
  width: 35px;
}

.app-col-download-btn .store-button__logo img {
  display: block;
  height: 100%;
  width: 100%;
}

.app-col-download-btn .store-button__text {
  display: flex;
  flex-direction: column;
}

.app-col-download-btn .store-button__eyebrow {
  font-family: "Helen Pro";
  font-size: 12px;
  letter-spacing: 0.4px;
  line-height: 1;
  text-transform: none;
  color: #686868;
}

.app-col-download-btn .store-button__title {
  font-family: "Helen Pro_Bold";
  font-size: 18px;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  .app-col-download-btn .store-button:hover {
    box-shadow: 0px 0px 30px rgba(255, 255, 255, 0.5);
  }
}

@media (max-width: 1500px) {
  .sustanability-country-link {
    padding: 0.1rem 0.8vw;
  }
}

@media (max-width: 1410px) {
  .dl-category {
    width: calc((100vw - (100vw - 100%) - 1.5rem) / 3);
  }
}

@media (max-width: 1380px) {
  .sustanability-country-links {
    grid-template-columns: repeat(17, minmax(0, 1fr));
  }
}

@media (max-width: 1480px) {
}

@media (max-width: 1280px) {
  .dl-category-img-wrapper {
    height: 290px;
  }

  .dl-item-title {
    font-size: 2rem;
    line-height: 1.9rem;
  }

  .dl-category-active .dl-item-title {
    font-size: 2.5rem;
  }

  .dl-category-desc-wrapper {
    margin: 2rem 1rem;
  }

  .dl-categories-item {
    width: calc((100vw - (100vw - 100%) - 3.8rem) / 6);
  }

  .dl-categories-item-title {
    font-size: 1rem;
  }
}

@media (max-width: 1100px) {
  .sustanability-flex-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .sustanability-country-links {
    align-self: flex-start;
    margin-left: 0;
  }

  .sustanability-countries-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .dl-category {
    width: calc((100vw - (100vw - 100%) - 0.7rem) / 2);
  }

  .dl-category-active {
    width: 100%;
  }

  .dl-categories-item {
    width: calc((100vw - (100vw - 100%) - 2.3rem) / 4);
  }

  .dl-no-filter-downloads-container {
    flex-wrap: wrap;
  }

  .dl-no-filter-downloads-item {
    width: 49%;
  }

  .dl-app-icon {
    width: 3rem;
  }

  #main_filter .filter-names .filter-cat-name-wrap {
    margin-right: 30px;
  }

  #main_filter {
    flex-direction: column !important;
  }

  .dl-pdf-js-viwer {
    height: 85%;
    width: 95%;
    max-width: 95vw;
    margin-top: 2rem;
  }
}

@media (max-width: 800px) {
  .dl-header-image-wrapper {
    height: 18.75rem;
  }
}

@media (max-width: 768px) {
  .sustanability-countries-wrapper {
    margin-right: 6px;
  }

  .sustanability-country-links {
    grid-template-columns: repeat(13, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .dl-category {
    width: 100%;
  }

  .dl-categories-item {
    width: calc((100vw - (100vw - 100%) - 0.8rem) / 2);
  }

  .dl-heading {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  .digital-library-wrapper {
    margin-top: 40px;
  }

  .dl-no-filter-downloads-item {
    width: 100%;
  }

  .dl-category-active .dl-item-title {
    text-align: center;
    line-height: 2.4rem;
    animation: itemsEnter 0.3s ease-out forwards;
  }

  .dl-category-items-container.animate {
    animation: itemsEnter 0.3s ease-out forwards;
  }

  .dl-category-desc-wrapper {
    margin-bottom: 1rem;
  }

  .dl-right-actions {
    line-height: 3.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .dl-header-image-wrapper {
    height: 15.25rem;
  }

  .dl-heading {
    font-size: 2.125rem;
  }

  .dl-popup-content {
    padding: 2rem;
  }

  .dl-popup-title {
    font-size: 1.6rem;
    line-height: 1.8rem;
  }

  .dl-popup-subtitle {
    font-size: 1.2rem;
    line-height: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .dl-form-group {
    margin-bottom: 1rem;
  }

  .dl-form-label-terms {
    font-size: 0.8rem;
    line-height: 0.9rem;
  }

  .dl-popup-close {
    top: -12px;
    right: 8px;
  }

  .dl-category-items-wrapper .dl-download-selected {
    display: none;
  }

  #back-to-top {
    display: none !important;
  }

  .project-filter-mobile {
    font-size: 1.2rem !important;
    padding: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .sustanability-countries-wrapper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .sustanability-countries-wrapper {
    margin-right: 0;
  }

  .sustanability-country-links {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .dl-sr-filters {
    display: none;
  }

  .dl-no-filter-downloads-item {
    height: auto;
  }
}
