table {
  font-family: Nunito Sans, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

thead,
tr,
th {
  background-color: #d4d7de;
  text-align: center;
  color: #000;
}

thead {
  position: sticky;
}
td {
  padding: 10px 20px;
  text-align: center;
  overflow-x: auto;
  word-break: break-word;
  background-color: rgb(255, 255, 255);
}

tr {
  border-bottom: 1px solid rgb(198, 201, 208);
}

th {
  background-color: #d4d7de;
  padding: 25px 20px;
  vertical-align: middle;
}

tbody tr td:nth-child(1) {
  text-transform: capitalize;
  white-space: nowrap;
}

#tab {
  overflow: hidden;
  display: flex;
  justify-content: center;
  position: relative;
  margin: 0 auto;
}

#tab button {
  background-color: #f4f4f4;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  /* font-size: 20px; */
  font-weight: bold;
  flex-grow: 1;
  color: #1d4da5;
}

#tab button:nth-child(1) {
  border-radius: 20px 0px 0px 20px;
}

#tab button:nth-child(3) {
  border-radius: 0px 20px 20px 0px;
}

#tab button:hover {
  background-color: #3176f6;
  color: #fff;
}

#tab button.active {
  background-color: #1d4da5;
  color: #fff;
}

#tab button.verymobile {
  color: #00623a;
}

#tab button.active.verymobile {
  background-color: #00623a;
  color: #fff;
}

#tab button.verymobile:hover {
  background-color: #038123;
  color: #fff;
}
#tab button.active.windtre {
  background-color: #ff6900;
}
#tab button.windtre:hover {
  background-color: #038123;
  color: #fff;
}
#tab button.windtrebusiness {
  color: #000000;
}

#tab button.active.windtrebusiness {
  background-color: #000000;
  color: #fff;
}
#tab button.windtrebusiness:hover {
  background-color: #303030;
  color: #fff;
}

div#filter {
  font-family: Nunito Sans, sans-serif;
  margin: 100px 0 50px 0;
  row-gap: 0;
  -moz-column-gap: 40px;
  column-gap: 40px;
  grid-template-columns: 20% 55%;
  grid-template-rows: auto;
  padding-right: 50px;
  padding-left: 20px;
  padding: 0 20px;
  visibility: hidden;
  display: flex;
  width: 250px;
  flex-direction: column;
}

label {
  padding-top: 5px;
  font-size: 16px;
  color: #000;
  font-weight: bold;
}

select {
  font-family: Nunito Sans, sans-serif;
  border-bottom: solid 1px #c6c9d0;
  padding: 5px 10px;
  font-size: 100%;
  text-transform: capitalize;
}

.pagination {
  padding: 8px 12px;
  cursor: pointer;
  background-color: #f1f3f5;
  border: none;
  margin-right: 2px;
}

div#pagination button.pagination:hover {
  background-color: #21409a !important;
  color: #fff;
}

div#pagination {
  visibility: hidden;
}

.pagination-arrow {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
  border: none;
}

.pagination-arrow:hover {
  opacity: 0.5;
}

.page-active {
  background-color: #21409a;
  color: #fff;
  font-weight: 400;
}

.margin-table {
  margin: 50px 20px;
}

section#berec-data {
  overflow-x: auto;
  position: relative;
  max-width: 80%;
  margin: 0 auto;
  padding: 0 24px;
}

@media screen and (min-width: 1240px) {
  section#berec-data {
    max-width: 20in;
    width: 83.333333333%;
  }
}

@media screen and (max-width: 1240px) {
  section#berec-data {
    max-width: 20in;
    width: 83.333333333%;
  }
}

p#publication-date {
  font-weight: bold;
  margin-top: 40px;
}

#spinner[hidden='false'] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#spinner::after {
  content: '';
  width: 80px;
  height: 80px;
  border: 2px solid #f3f3f3;
  border-top: 3px solid #f25a41;
  border-radius: 100%;
  will-change: transform;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#errorDialog {
  position: absolute;
  left: 50%;
  top: 50%;
}

@media (min-width: 481px) {
  #tab {
    max-width: 80%;
  }
  #tab button {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  div#filter {
    margin: 0 auto !important;
    margin-top: 50px !important;
    margin-bottom: 50px !important;
    flex-wrap: wrap !important;
  }
}
