:root {
  --primary: #678208;
  --light: #C7D0A4;
  --lighter: #E0E5CC;
  --dark: #363F48;
  --secondary: #85AC00;
  --sidebar: #eee;
  --footer: #AAA;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local(''),
    url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/roboto-v30-latin-regular.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: local(''),
    url('../fonts/roboto-v30-latin-700.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/roboto-v30-latin-700.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@media (min-width: 992px) {
  .col-lg-8 {
    flex: 0 0 100%;
  }
}

a img:hover {
  opacity: .8;
}

a {
  color: var(--primary);
  background-color: unset;
  text-decoration: unset;
}

a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

html {
  line-height: unset;
}

body {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  font-family: Roboto, sans-serif;
  min-height: 100vh;
  line-height: unset;
  padding: 0;
}

main {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

main>div:nth-last-child(2) {
  flex-grow: 1;
}

img {
  height: auto;
}

label {
  margin-bottom: unset;
}

.modal {
  background: unset;
}

.modal-header,
.modal-footer {
  background-color: #fff;
  height: 3.6rem;
  position: sticky;
  z-index: 100;
}

.modal-header {
  top: 0;
}

.modal-footer {
  bottom: 0;
}

.main_bg {
  background: unset;
}

.header--banner {
  display: flex;
  justify-content: space-between;
}

#contentSearch,
.container {
  margin: auto;
  max-width: 1280px;
  padding: unset;
  width: 100%;
}

a.logo {
  height: 10rem;
  width: 12rem;
  margin: 0 1rem;
}

img.logo {
  top: 1rem;
  position: relative;
}

.header--center {
  display: flex;
  justify-content: space-evenly;
  flex-grow: 1;
}

.counter {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--dark);
  font-size: 1.2rem;
}

.counter-left {
  text-align: right;
  font-weight: bold;
}

.header--social {
  display: flex;
  gap: 1rem;
  margin: 1rem;
}

.header--social img {
  height: 2rem;
}

.header--news {
  margin: auto;
  max-width: 1280px;
  white-space: nowrap;
  overflow: hidden;
}

.header--news a {
  color: #fff;
  display: inline-block;
  font-size: 1.2rem;
  margin: 0;
  max-width: 1280px;
  overflow: hidden;
  padding: .5rem 1rem;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.header--news a:hover {
  opacity: .8;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.header--menu {
  background: var(--primary);
}

.navbar-toggle {
  display: none;
}

.navbar-toggle:checked~nav {
  display: block;
}

.navbar-toggle-label {
  margin-left: 1rem;
  display: none;
}

nav {
  margin-right: 1rem;
  display: block;
}

nav>ul#menu-hauptmenu,
nav>ul#menu-main-menu-english {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  background: var(--light);
  color: var(--dark);
}

nav>ul>li {
  border-bottom: 1px solid var(--primary);
  display: block;
  font-size: 1.2rem;
  border-radius: 0 1rem 0 0;
  position: relative;
}

.current-menu-item,
.current-menu-parent {
  background: white;
  font-weight: bold;
  border-bottom: unset;
}

nav li a {
  color: var(--dark);
  display: block;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
  padding: .5rem 1rem;
}

nav li a:not([href="#"]):hover {
  color: var(--dark);
  text-decoration: none;
}

nav>ul#menu-hauptmenu>li>ul,
nav>ul#menu-main-menu-english>li>ul {
  background: var(--light);
  box-shadow: 1px 1px 1px rgb(0 0 0 / 10%), -1px 1px 1px rgb(0 0 0 / 10%);
  display: none;
  font-weight: normal;
  font-size: 1.1rem;
  left: 0;
  min-width: 100%;
  padding: .5rem 0;
  position: absolute;
  top: 2.5rem;
}

nav>ul#menu-hauptmenu>li:hover,
nav>ul#menu-main-menu-english>li:hover {
  background: white;
  border-bottom: unset;
}

nav>ul#menu-hauptmenu>li:hover>ul,
nav>ul#menu-hauptmenu>li>ul:hover,
nav>ul#menu-main-menu-english>li:hover>ul,
nav>ul#menu-main-menu-english>li>ul:hover {
  display: block;
  z-index: 100;
}


nav>ul#menu-hauptmenu>li:last-child>ul,
nav>ul#menu-hauptmenu>li:nth-last-child(2)>ul,
nav>ul#menu-main-menu-english>li:last-child>ul,
nav>ul#menu-main-menu-english>li:nth-last-child(2)>ul {
  left: unset;
  right: 0;
}

nav>ul#menu-hauptmenu>li>ul li,
nav>ul#menu-main-menu-english>li>ul li {
  background: var(--light);
}

nav hr {
  border-color: #fff;
  margin: 0 -16px;
}

nav>ul#menu-hauptmenu>li>ul li:hover a:not([href="#"]),
nav>ul#menu-hauptmenu>li>ul li a:not([href="#"]):hover,
nav>ul#menu-main-menu-english>li>ul li:hover a:not([href="#"]),
nav>ul#menu-main-menu-english>li>ul li a:not([href="#"]):hover {
  background: var(--dark);
  color: white;
  text-decoration: none;
}

.main--content {
  flex-grow: 1;
}

.main--search {
  align-items: center;
  background: var(--secondary);
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 1rem;
  width: 100%;
}

.main--search i.fa-solid {
  text-align: center;
  width: 1.25rem;
}

.main--search i.fa-solid.fa-times {
  color: var(--dark);
  left: -1.75rem;
  position: relative;
}

.main--search i.fa-solid.fa-times:hover {
  color: var(--secondary);
}

.main--search--button {
  align-items: center;
  display: flex;
  flex-grow: 1;
}

.main--search--input {
  width: 60%;
  line-height: 2rem;
  border-radius: 0 1rem 1rem 0;
  border: 0;
  font-size: 1.2rem;
  outline: 0;
  padding: 0;
  padding-left: 1rem;
}

.search-button {
  align-items: center;
  background: var(--light);
  border: 0;
  border-radius: 1rem 0 0 1rem;
  color: var(--dark);
  display: flex;
  font-size: 1rem;
  gap: 1rem;
  height: 2rem;
  justify-content: flex-start;
  line-height: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 12rem;
}

#main--search--button {
  background: var(--dark);
  color: #fff;
  font-size: 1.2rem;
}

#main--search--button-extended {
  border-radius: 1rem;
}

.search-button:hover {
  color: var(--dark);
  cursor: pointer;
  opacity: .8;
  text-decoration: none;
}

#main--search--button:hover {
  color: #fff;
}

.main--categories,
.main--news,
.main--results--number,
.main--apps,
.main--bottom,
.main--datasets,
.main--title {
  width: 100%;
  border-top: 1em solid var(--primary);
}

h1 {
  color: white;
  background: var(--primary);
  display: table;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 1rem;
  padding-left: 1rem;
  padding-right: 4rem;
  padding-bottom: .5rem;
  font-weight: normal;
}

h2 {
  color: var(--dark);
  font-size: 1.2rem;
  margin-top: 0rem;
}

h3,
h4 {
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.categories--icons {
  display: grid;
  row-gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(14em, 1fr));
  justify-content: space-evenly;
  text-align: center;
  font-size: .8rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.categories--icons img {
  width: 10em;
}

.categories--icons div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.categories--icons a {
  text-decoration: none;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news--item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.news--date {
  font-size: 1rem;
  margin-left: 1em;
  margin-right: 1em;
}

.news--item a {
  text-decoration: none;
  color: var(--dark);
}

.news--date--day {
  background: var(--light);
  color: var(--dark);
  border-radius: .25em .25em 0 0;
  text-align: center;
  padding: .1em .25em .1em .25em;
}

.news--date--month {
  color: var(--light);
  background: var(--dark);
  border-radius: 0 0 .25em .25em;
  text-align: center;
  padding: .1em .25em .1em .25em;
}

.main--datasets--list {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.main--datasets--dataset {
  width: 32%;
  border: 1px solid var(--primary);
  border-radius: 1em;
  padding: 1em;
}

.main--datasets--dataset a:hover {
  text-decoration: none;
}

.main--datasets--dataset a>i {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: .5rem;
}

.main--datasets--dataset .dataset--ressources {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: center;
  justify-content: flex-start;
}


.resource-icon {
  font-size: 1rem;
}

footer {
  background: var(--dark);
  width: 100%;
  color: var(--footer);
  padding: 1rem;
}

.footer--main {
  display: flex;
  justify-content: space-between;
}

.footer--base {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer--pages {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer--logo {
  text-align: right;
}

img.footer--logo {
  height: 69.313px;
}

footer a,
footer a:hover {
  color: var(--footer);
}

footer a:hover {
  opacity: .8;
  text-decoration: none;
}

.footer--links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer--social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.data-page {
  margin-top: 2rem;
}

.bg-secondary {
  background-color: unset !important;
}

.sidebar {
  background: unset;
  padding-left: unset;
}

.modal .modal-header h4 {
  color: var(--primary);
  margin: 0;
}

.modal .modal-body fieldset {
  padding: .5rem;
}

.modal .modal-body fieldset:nth-child(odd) {
  background: var(--lighter);
}

.modal .modal-body h5 {
  font-size: 1.5rem;
  font-weight: normal;
}

.modal .modal-body div {
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 16rem;
}

.modal .modal-body div:hover {
  color: var(--secondary);
}

.modal .modal-body input[type="checkbox"] {
  margin-right: .25rem;
}


.sidebar h5 {
  background: unset;
  margin-right: unset;
  margin-bottom: unset;
  margin-left: unset;
  padding-bottom: .5rem;
  padding-left: unset;
}

.sidebar h5:hover {
  cursor: pointer;
  opacity: .8;
}

.filter-choice:first-child {
  border-top: 1px solid var(--light);
}

.filter-choice:first-child.checked {
  border-top-color: #ffff;
}

#clickable-border {
  display: none;
}

a[name="application"]~.news-item:nth-child(even) {
  background: var(--lighter);
}

a[name="application"]~.news-item .img img {
  width: 100%;
}

.news-page .data-item,
.news-page .news-item {
  background: unset;
}

.news-page .data-item:nth-child(even),
.news-page .news-item:nth-child(even) {
  background: unset;
}

.pagination {
  background: unset;
}

.menu-item-has-children>a:after {
  content: "\f105";
  font-family: "FontAwesome";
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  padding-left: .8rem;
  width: 1.75rem;
}

.menu-item-has-children:hover>a:after {
  content: "\f107";
}

.filter-choice>input[type=checkbox] {
  display: none;
}

.filter-choice>a,
.filter--active>a,
.filter-choice>label,
.filter--active>label {
  align-items: center;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  margin-bottom: unset;
  padding: .5rem;
  padding-left: 1rem;
  width: 100%;
}

.filter-choice>a,
.filter-choice>label {
  border-bottom: 1px solid var(--light);
}

.filter-choice.checked>a,
.filter-choice>input[type=checkbox]:checked+label {
  background-color: var(--primary);
  border-bottom-color: #ffff;
  color: #fff;
}

.filter-choice>a:hover,
.filter-choice>label:hover {
  background-color: var(--lighter);
  color: var(--secondary);
  cursor: pointer;
  outline: none;
  text-decoration: none;
}

.filter-choice.checked>a:hover,
.filter-choice>input[type=checkbox]:checked+label:hover {
  background-color: var(--primary);
  color: #fff;
  opacity: .8;
}

.filter-choice .closer {
  display: none;
}

.filter-choice.checked .closer,
.filter-choice>input[type=checkbox]:checked+label>.closer,
.filter--active .closer {
  background-color: var(--dark);
  border-radius: .5rem;
  display: block;
}

.filter-choice.checked .closer i,
.filter-choice>input[type=checkbox]:checked+label>.closer i,
.filter--active .closer i {
  color: #fff;
  display: table-cell;
  font-size: .9rem;
  height: 1rem;
  text-align: center;
  vertical-align: middle;
  width: 1rem;
}

#empty-resultset {
  color: var(--primary);
  font-weight: bold;
  padding: 1rem;
  text-align: center;
}

#empty-resultset i {
  animation: color-change 6s infinite;
  font-size: 4rem;
}

@keyframes color-change {
  0% {
    color: #2092D1;
  }

  16.67% {
    color: #85AD28;
  }

  33.33% {
    color: #EB6808;
  }

  50% {
    color: #D60066;
  }

  66.67% {
    color: #E34830;
  }

  83.33% {
    color: #D71017;
  }

  100% {
    color: #2092D1;
  }
}

.data-item-container,
.news-item-container {
  border: 1px solid var(--primary);
  border-radius: 0.5rem;
  border-top-left-radius: unset;
  margin-bottom: 1rem;
}

.data-item-container h6,
.news-item-container h6 {
  background-color: var(--primary);
  border-bottom-right-radius: 1rem;
  color: #fff;
  display: table;
  margin-bottom: 0rem;
  padding: .2rem 4rem .3rem 1rem;
}

.data-item,
.news-item {
  background: unset;
  padding: 0.5rem 1rem;
}

.data-item-title {
  margin-bottom: 0;
}

.data-item-publisher {
  font-size: small;
  margin-bottom: 1rem;
}

.data-item-last-changed {
  float: right;
  padding: 0.5rem 1rem;
}

.data-item-catalogue {
  flex: 1 1 auto;
  text-align: right;
  font-size: small;
  font-style: italic;
  color: var(--dark);
}

.data-item-notes,
.news-item-notes {
  margin-bottom: 1rem;
}

.data-item-notes {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}


@supports (-webkit-line-clamp: 2) {
  .data-item-notes {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: initial;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

.row {
  flex-wrap: nowrap;
}

.data-item-resources,
.news-item-compatibility {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.data-item-resource:hover {
  opacity: .8;
  text-decoration: none;
}

.data-item-resource:hover span {
  text-decoration: underline;
}

.data-item-resource i {
  font-size: xx-large;
}


.data-item-resource .fa-file-csv,
.resource-icon.fa-file-csv {
  color: #f9981c;
}

.data-item-resource .fa-file-excel,
.resource-icon.fa-file-excel {
  color: #107c41;
}

.data-item-resource .fa-file-word,
.resource-icon.fa-file-word {
  color: #2b579a;
}

.data-item-resource .fa-file-pdf,
.resource-icon.fa-file-pdf {
  color: #e3000f;
}

.data-item-resource .fa-file-code,
.resource-icon.fa-file-code {
  color: #fbc727;
}

.data-item-resource .fa-html5,
.resource-icon.fa-html5 {
  color: #e34c26;
}

.data-item-resource .fa-file-image,
.resource-icon.fa-file-image {
  color: #26a69a;
}

.data-item-resource [title="RDF"] {
  color: #3a8dc2;
}

.data-item-resource .fa-square-rss,
.resource-icon.fa-square-rss {
  color: #ee802f;
}

.data-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.dropdown-menu {
  left: unset;
  top: unset;
  margin: unset;
  border: unset;
  background-color: var(--light);
}

div.col:first-child {
  margin-top: 2rem;
}

.pagination {
  align-items: center;
  justify-content: center;
  margin-right: 0;
}

.pagination ul.page-numbers li {
  border: unset;
  background-color: unset;
  line-height: 1.3rem;
}

.data-page .pagination ul.page-numbers li {
  margin: 0 .2rem;
  width: auto;
}

.data-page .pagination ul.page-numbers li a {
  color: var(--dark);
  font-size: .9rem;
  font-weight: bold;
}

.pagination ul.page-numbers li div.page-numbers.current {
  color: #fff;
  background: #01253d;
  border-radius: .6rem;
  width: 1.2rem;
  height: 1.2rem;
}

.data-page .pagination ul.page-numbers li a div.prev,
.data-page .pagination ul.page-numbers li a div.next {
  font-size: 1.2rem;
}

.main--results--sort {
  display: flex;
  justify-content: space-between;
  padding: 0 0 1rem 0;
}

.main--results--sort a {
  text-decoration: none;
}

.main--filters--active {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.main--filters--active .filter--active>a,
.main--filters--active .filter--active>label {
  background-color: var(--light);
  border-top-right-radius: .5rem;
  border-bottom-left-radius: .5rem;
  color: var(--dark);
  font-size: .9rem;
}

.main--filters--active .filter--active .closer {
  margin-left: 1rem;
}

.main--filters--active .filter--active>a:hover,
.main--filters--active .filter--active>label:hover {
  opacity: .8;
  text-decoration: none;
}

.main--content--right {
  border-top: 1.5rem solid var(--primary);
  border-top-right-radius: 1rem;
  margin: 0 -1rem;
}

.main--content--right--tabs {
  background-color: var(--primary);
  display: flex;
  font-size: 1.2rem;
  gap: 1rem;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
}

.main--content--right--tab {
  background-color: var(--light);
  border-top-right-radius: 1rem;
  padding: .3rem 1rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}


.main--content--right--tab:first-child {
  flex-shrink: 0;
}

.main--content--right--tab>a {
  color: var(--dark);
  text-decoration: none;
}

.main--content--right--tab:hover,
.main--content--right--tab.active {
  background-color: #fff;
}

.main--content--right--tab>a:hover,
.main--content--right--tab.active>a {
  color: var(--dark);
}

.main--content--right--tab.active>a {
  font-weight: bold;
}

.screen-reader-text {
  position: absolute !important;
  left: -999em;
}

.page-numbers.current {
  color: var(--primary);
  font-size: large;
  font-weight: bold;
}

.sidebar i.fa-solid.filter {
  cursor: pointer;
}

#hamburger {
  display: none;
}

nav>ul#menu-hauptmenu label,
#menu-main-menu-english label {
  cursor: pointer;
}

nav>ul#menu-hauptmenu>li:first-child,
#menu-main-menu-english>li:first-child {
  display: none;
}

img.alignright {
  margin: 0 0 1rem 1rem;
}

hr+h4>img.alignright {
  display: block;
  float: none;
  margin-bottom: 1rem;
  margin-top: -1rem;
}

/* WPML specific styles */

.wpml-ls {
  border: none;
  margin: 1rem;
  padding: 0;
}

.wpml-ls-legacy-list-horizontal a {
  display: block;
  text-decoration: none;
  padding: unset;
  line-height: 1;
}

.wpml-ls-legacy-list-horizontal>ul {
  display: flex;
  list-style-type: none;
  padding: 0px;
  margin: 0px !important;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item {
  list-style-type: none;
  background: var(--light);
  display: inline-block;
  padding: .25rem .5rem;
  margin: 0px;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item:hover {
  opacity: .8;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-link:hover,
.wpml-ls-legacy-list-horizontal .wpml-ls-native,
.wpml-ls-legacy-list-horizontal .wpml-ls-display {
  color: var(--dark);
  outline: none;
  text-decoration: none;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-first-item {
  border-radius: 1rem 0 0 1rem;
  padding-left: .75rem;
  order: 1;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-last-item {
  border-radius: 0 1rem 1rem 0;
  padding-right: .75rem;
  order: 2;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-current-language {
  background: var(--dark);
}

.wpml-ls-legacy-list-horizontal .wpml-ls-current-language span {
  color: white;
}

/* Extended search */
#extended-search-buttons {
  display: flex;
  gap: 1rem;
  position: relative;
  width: 100%;
}

#submit-criteria {
  margin-left: auto;
}

.extendend-search-button {
  background: var(--dark);
  border: 1px solid var(--dark);
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  outline: none;
  padding: 1rem;
}

.extendend-search-button:hover {
  background: #fff;
  color: var(--dark);
  transition: .5s;
}

#add-criterion::after {
  content: "\f105";
  display: inline-block;
  font-family: "FontAwesome";
  padding-left: .8rem;
  width: 1.75rem;
}

#add-criterion:hover::after {
  content: "\f107";
}

.extendend-search-button:focus,
#add-criterion.expanded {
  background: var(--secondary);
  box-shadow: 0 0 2px 2px var(--light);
}

#add-criterion:focus::after,
#add-criterion.expanded::after {
  content: "\f107";
}

#add-criterion.expanded:hover {
  color: #fff;
}

#add-criterion.expanded:hover::after {
  content: "\f106";
}

#search-criteria {
  background: #fff;
  border: 1px solid var(--dark);
  box-shadow: 0 0 2px 2px var(--light);
  list-style-type: none;
  margin-top: .5rem;
  max-width: 28rem;
  padding: 5px;
  position: absolute;
  top: 100%;
}

#search-criteria.expanded {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: max-content;
}

#search-criteria.collapsed,
.sc-hidden {
  display: none;
}

.sc-visible {
  display: list-item;
}

.search-criterion {
  background: #fff;
  cursor: pointer;
  padding: .5rem 1rem;
  text-align: center;
  width: 13.6rem;
}

.search-criterion:hover {
  background: var(--lighter);
  color: #000;
}

#content-search {
  display: flex;
  flex-direction: column;
}

.search-field {
  align-items: center;
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
}

.search-field>label {
  min-width: 13rem;
}

.search-field-input {
  flex-grow: 1;
  width: 61.625rem;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
}

.checkbox-group label {
  width: 16rem;
}

.checkbox-group input {
  margin-right: .5rem;
}

.search-field .fa-solid.fa-trash {
  cursor: pointer;
  margin-left: auto;
}

.header--lang {
  display: none;
}


/* Custom styles for tablets */
@media screen and (max-width: 1311px) {

  #contentSearch,
  .container {
    max-width: unset;
  }

  .col-lg-4,
  .col-lg-8 {
    max-width: 100%;
  }

  nav>ul#menu-hauptmenu,
  nav>ul#menu-main-menu-english {
    padding: 0 1rem;
  }

  .main--news>div {
    padding: 0 1rem;
  }

  .news--date {
    margin-left: 0;
  }

  .main--datasets--list {
    padding: 0 1rem;
  }


  #filter-menu:checked+.sidebar {
    left: 0;
    transition: .5s;
  }

  #filter-menu:checked+.sidebar .fa-filter {
    right: 0;
    transition: .5s;
  }

  .sidebar {
    background-color: var(--sidebar);
    left: calc(1rem - 100%);
    padding-left: 1rem;
    position: absolute;
    transition: .5s;
    z-index: 1050;
  }

  .sidebar h5:hover {
    opacity: unset;
  }

  #clickable-border {
    background-color: var(--dark);
    display: block;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 1rem;

  }

  #clickable-border .fa-filter {
    background-color: var(--dark);
    border-radius: 1rem;
    color: #fff;
    height: 2rem;
    padding-top: .5rem;
    position: absolute;
    right: -1rem;
    text-align: center;
    top: 0;
    transition: .5s;
    width: 2rem;
  }

  #clickable-border .fa-angle-right {
    color: #fff;
    left: .25rem;
    position: absolute;
    top: 50%;
  }

  .sidebar+.col {
    padding: 3rem 1rem 0 2rem !important;
  }

  #filter-menu:checked+.sidebar #clickable-border .fa-angle-right::before {
    content: "\f104";
  }

  .main--title>h3,
  .main--title+div:not([class]),
  .main--title+div[class=""],
  .main--title>div,
  .main--title>p {
    padding: .25rem 1rem;
  }

  a>img {
    height: auto;
    max-width: 100%;
  }

  .main--content h4 {
    margin-top: 1rem;
  }

  .modal-header h4 {
    margin: 0;
  }

  .search-field {
    flex-wrap: wrap;
    margin: .5rem 0;
    padding: .5rem;
    row-gap: .5rem;
  }

  .search-field:nth-child(even) {
    background: var(--lighter);
  }

  .search-field:last-child {
    margin-bottom: 2rem;
  }

  .search-field>label {
    font-weight: bold;
    order: 1;
  }

  .search-field>:nth-child(2) {
    order: 3;
    width: 100%;
  }

  .search-field>i {
    order: 2;
  }
}

/* Custom styles for smart phones */
@media screen and (max-width: 767px) {

  #contentSearch,
  .container {
    max-width: 767px;
  }

  .header--banner {
    flex-wrap: wrap;
  }

  .header--center {
    align-items: flex-end;
    flex-direction: column-reverse;
    padding-right: .5rem;
    width: 40vw;
  }

  .counter {
    font-size: 1.1rem;
  }

  .header--lang {
    margin-top: 0;
  }

  .header--social {
    display: none;
  }

  .header--menu {
    background-color: #fff;
  }

  .header--news {
    background-color: var(--secondary);
  }

  .header--news a {
    font-size: 1rem;
  }

  nav>ul#menu-hauptmenu,
  nav>ul#menu-main-menu-english {
    display: block;
    padding: 0;
  }

  nav>ul#menu-hauptmenu>li:nth-child(2)~li>a,
  nav>ul#menu-main-menu-english>li:nth-child(2)~li>a {
    pointer-events: none;
  }

  nav>ul#menu-hauptmenu>li,
  nav>ul#menu-main-menu-english>li {
    background-color: var(--primary);
    border-radius: 0;
    display: none;
  }

  nav>ul#menu-hauptmenu>li:first-child~li,
  nav>ul#menu-main-menu-english>li:first-child~li {
    border-bottom-color: #fff;
  }

  #hamburger:checked~#menu-hauptmenu>li:first-child,
  #hamburger:checked~#menu-main-menu-english>li:first-child,
  nav>ul#menu-hauptmenu>li:first-child~li:hover,
  nav>ul#menu-main-menu-english>li:first-child~li:hover {
    background-color: var(--dark);
  }

  #hamburger:checked~ul#menu-hauptmenu>li>ul,
  #hamburger:checked~ul#menu-main-menu-english>li>ul {
    display: block;
  }

  nav>ul#menu-hauptmenu>li:first-child~li:not([class=menu-item-has-children]):hover,
  nav>ul#menu-main-menu-english>li:first-child~li:not([class=menu-item-has-children]):hover {
    border-bottom: 1px solid #fff;
  }

  nav>ul#menu-hauptmenu>li>a,
  nav>ul#menu-main-menu-english>li>a {
    color: #fff;
  }


  nav>ul#menu-hauptmenu>li>ul,
  nav>ul#menu-main-menu-english>li>ul {
    position: static;
  }

  nav>ul#menu-hauptmenu>li:first-child,
  nav>ul#menu-main-menu-english>li:first-child {
    border: none;
    display: block;
    text-align: right;
  }

  nav>ul#menu-hauptmenu label,
  nav>ul#menu-main-menu-english label {
    margin: 0;
  }

  #hamburger:checked~#menu-hauptmenu>li,
  #hamburger:checked~#menu-main-menu-english>li {
    display: block;
  }

  #hamburger:checked~#menu-hauptmenu>li:first-child i::before,
  #hamburger:checked~#menu-main-menu-english>li:first-child i::before {
    content: "\f00d";
  }

  .current-menu-parent {
    border-bottom: 1px solid #fff;
    font-weight: normal;
  }

  .sub-menu {
    box-shadow: none;
  }

  main>h6 {
    display: none;
  }

  .main--search {
    align-items: flex-start;
    background-color: #fff;
    flex-direction: column;
    margin-top: 0;
  }

  .main--search span {
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 8rem;
  }

  .main--search--button {
    width: 100%;
  }

  .search-button {
    align-items: center;
    background: var(--light);
    border: 0;
    border-radius: 1rem 0 0 1rem;
    color: var(--dark);
    display: flex;
    font-size: 1rem;
    gap: 1rem;
    height: 2rem;
    justify-content: flex-start;
    line-height: 2rem;
    max-width: 12rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 50%;
  }

  #main--search--button {
    margin: 0;
  }

  #main--search--button-extended {
    border-radius: 1rem 0 0 1rem;
    margin-top: .5rem;
  }

  .main--search--input {
    box-shadow: inset 0 0 2px var(--dark);
    flex-grow: 1;
  }

  .main--search i::before {
    display: inline-block;
    width: 1.2rem;
    text-align: center;
  }

  .main--news>div {
    padding: 0 1rem;
  }

  .news--date {
    margin-left: 0;
  }

  .main--datasets--list {
    flex-direction: column;
  }

  .main--datasets--dataset {
    width: 100%;
  }

  .footer--base {
    display: none;
  }

  .footer--pages {
    flex-direction: column;
  }

  .main--results--number>h1 {
    margin-bottom: 1rem;
  }

  .main--results--number+.data-page {
    margin-top: 1rem;
  }

  .main--content--right {
    display: none;
  }

  #extended-search-buttons {
    flex-direction: column;
  }

  .extendend-search-button {
    flex-grow: 1;
  }

  #submit-criteria {
    margin-left: 0;
  }

  #search-criteria {
    max-width: 100%;
    top: 28%;
  }

  #ckan-apps_wrapper .row,
  #catalog-dateneinbringer_wrapper .row {
    flex-wrap: wrap-reverse;
    gap: .5rem;
  }

  .dataTable td:first-of-type {
    word-break: break-word;
  }
}