@media screen and (min-width: 996px) {
  .ecl-menu:not(.ecl-menu--forced-mobile) .ecl-menu__inner {
    z-index: 1 !important;
  }
}
footer .contact-us-list {
  margin-top: 1rem;
}
footer .ecl-site-footer__link, footer .ecl-site-footer__description {
  font: normal normal 400 1rem/1.75rem arial, sans-serif;
  color: unset;
}

.home-page .home-page-cards {
  grid-template-areas: "infringements" "transposition" "eu" "searchtools" !important;
}
.home-page .home-page-cards .ecl-fact-figures:nth-child(1) {
  grid-area: eu;
}
.home-page .home-page-cards .ecl-fact-figures:nth-child(2) {
  grid-area: infringements;
}
.home-page .home-page-cards .ecl-fact-figures:nth-child(3) {
  grid-area: transposition;
}
.home-page .home-page-cards .ecl-fact-figures:nth-child(4) {
  grid-area: searchtools;
}
.home-page .useful-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.home-page .home-image {
  padding: 0 15px;
}
.home-page .home-image img {
  max-width: -webkit-fill-available;
}
@media only screen and (min-width: 992px) {
  .home-page .home-page-cards {
    grid-template-areas: "infringements transposition" "eu searchtools" !important;
  }
}

.infringements .search-standalone-div, .transposition .search-standalone-div, .eu-pilot .search-standalone-div {
  display: flex;
  justify-content: flex-end;
}
.infringements .infringements-container, .transposition .infringements-container, .eu-pilot .infringements-container {
  display: flex;
  flex-direction: column;
}
.infringements .infringement-details-top-container, .transposition .infringement-details-top-container, .eu-pilot .infringement-details-top-container {
  display: flex;
  flex-direction: column;
}
.infringements .infringement-details-top-container > section, .transposition .infringement-details-top-container > section, .eu-pilot .infringement-details-top-container > section {
  display: flex;
  flex-direction: column;
}
.infringements .two-items-in-desktop > div, .transposition .two-items-in-desktop > div, .eu-pilot .two-items-in-desktop > div {
  height: max-content;
}
.infringements .two-items-in-desktop > section, .transposition .two-items-in-desktop > section, .eu-pilot .two-items-in-desktop > section {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.infringements .justify-content-start, .transposition .justify-content-start, .eu-pilot .justify-content-start {
  width: 100%;
  display: flex;
  text-align: start;
}
.infringements .filters-sidebar, .transposition .filters-sidebar, .eu-pilot .filters-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.infringements .filter-search, .transposition .filter-search, .eu-pilot .filter-search {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-end;
}
.infringements .ecl-select__multiple, .transposition .ecl-select__multiple, .eu-pilot .ecl-select__multiple {
  max-width: -webkit-fill-available;
  max-width: moz-available;
}
.infringements .ecl-inpage-navigation, .transposition .ecl-inpage-navigation, .eu-pilot .ecl-inpage-navigation {
  z-index: 9;
}
@media only screen and (min-width: 992px) {
  .infringements .infringements-container, .transposition .infringements-container, .eu-pilot .infringements-container {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 2rem;
  }
  .infringements .infringement-details-top-container, .transposition .infringement-details-top-container, .eu-pilot .infringement-details-top-container {
    display: grid;
    grid-template-columns: calc(50% - 1rem) calc(50% - 1rem);
    gap: 2rem;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1400px) {
  .infringements section > h4, .transposition section > h4, .eu-pilot section > h4 {
    min-height: 56px;
  }
}

.ecl-page-header--negative {
  margin-bottom: 0;
}

.wtmap .wt-map-content .countryLabel {
  background-color: #004494;
  color: #ffffff;
  padding: 2px;
  margin-left: -17px !important;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  border-radius: 8px;
  height: 25px;
  min-height: 25px;
  width: 35px;
  min-width: 35px;
}
.wtmap .wt-map-content .countryLabel.hidden {
  display: none;
}
.wtmap .wt-map-content .leaflet-popup {
  display: none;
}
.wtmap .wt-map-content .leaflet-bottom {
  z-index: 1;
}
.wtmap .wt-map-content .legend-map {
  background-color: #ffffff;
  padding: 0 1rem;
  border-radius: 0.5rem;
}
.wtmap .wt-map-content .legend-map p {
  display: flex;
  gap: 0.2rem;
}
.wtmap .wt-map-content .legend-map p span {
  width: 37px;
}
.wtmap .wt-map-content .leaflet-tooltip {
  display: flex;
  flex-wrap: wrap;
}
.wtmap .wt-map-content .leaflet-tooltip span {
  display: inline;
  width: 100%;
}
.wtmap .wt-map-content .leaflet-tooltip span:nth-child(1) {
  font-size: 1.3rem;
  font-weight: bold;
}
.wtmap .wt-map-content .leaflet-tooltip span:last-child {
  font-size: 0.9rem;
  font-weight: normal;
}
.wtmap .wt-map-content .wt-map-panels {
  z-index: inherit;
}

.ecl-popover__content {
  width: 300px;
}

.ecl-popover__list {
  width: 280px;
}

.border-svg {
  fill: none;
  stroke: #646464;
  stroke-width: 1px;
  stroke-linejoin: round;
}

path.leaflet-interactive:focus {
  outline: none;
}

html:lang(bg) li.ecl-inpage-navigation__item a {
  font-size: 0.9rem;
}

html:lang(pl) li.ecl-inpage-navigation__item a {
  font-size: 0.9rem;
}

.ecl-page-header__title-container {
  padding: 0 0 1.5rem !important;
}

.ecl-page-header__description {
  max-width: unset;
}

.ecl-page-header__description + .ecl-page-header__description {
  margin-top: 1rem;
}

.ecl-site-footer__logo-image {
  width: 100%;
}

.ecl-site-footer__section--site-info {
  padding-top: 1rem;
}

.ecl-site-footer__section--site-info .ecl-site-footer__description {
  font-style: italic;
}

.ecl-u-type-heading-2 {
  background-color: unset;
}

.ecl-page-header__title-container {
  padding: 1rem 0 !important;
}

main {
  padding: 2rem 0;
}

.two-items-in-desktop {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.text-align-center {
  display: flex;
  justify-content: center;
}

.mt-2 {
  margin-top: 2rem;
}

.padding-15 {
  padding: 15px;
}

.lateral-padding-15 {
  padding: 0 15px;
}

.padding-15-vertical {
  padding: 15px 0;
}

.padding-15-bottom {
  padding-bottom: 15px;
}

.text-ec-grey {
  color: #404040;
}

#scroll-top.active {
  background-color: #ffffff;
  background-size: 20px;
  display: block;
  position: fixed;
  bottom: 3rem;
  right: 2rem;
  z-index: 10;
  height: 42px;
  width: 42px;
  border-radius: 7px;
  border: 2px solid #004494;
}
#scroll-top.active::after {
  content: "";
  display: inline-block;
  height: 0.8rem;
  width: 0.8rem;
  border-left: 5px solid #004494;
  border-bottom: 5px solid #004494;
  border-radius: 20%;
  transform: rotate(135deg);
  margin-top: 15px;
  margin-left: 12px;
}

@media only screen and (min-width: 992px) {
  #main-content {
    padding-left: 30px;
    padding-right: 30px;
  }
  .two-items-in-desktop {
    display: grid;
    grid-template-columns: calc(50% - 1rem) calc(50% - 1rem);
    gap: 2rem;
  }
  .infringement-details-top-container { /**example - TODO remove**/ }
  .infringement-details-top-container img {
    height: 600px;
    place-self: flex-start;
  }
}