.ab-pomorskie-mapy-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 10px;
}
.ab-pomorskie-mapy-search-row .form-group {
  flex: 1 1 170px;
  display: flex;
  flex-direction: column;
}
.ab-pomorskie-mapy-search-row label {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 1.3rem;
  margin-left: 0.5rem;
}
.ab-pomorskie-mapy-search-row input[type='text'],
.ab-pomorskie-mapy-search-row select {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1.6rem;
}
.ab-pomorskie-mapy-search-row button {
  padding: 7px 15px;
  font-size: 1.3rem;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  flex: 0 0 auto;
  margin-top: auto;
  margin-bottom: 1px;
}
.ab-pomorskie-mapy-search-row button:hover {
  background-color: #0056b3;
}

#pomorskie-mapy-google-map {
  margin-bottom: 2rem;
}

#pomorskie-mapy-table thead td {
  font-weight: bold;
}

#pomorskie-mapy-table td {
  padding: 5px;
  border-bottom: 1px solid #e0e0e0;
  width: 20%;
  vertical-align: top;
  color: #000;
}

#pomorskie-mapy-table td .links a {
  width: 100%;
  display: block;
  padding: 2px;
  text-align: center;
  border: 1px solid #007bff;
  margin-bottom: 10px;
}

#pomorskie-mapy-table td .links br {
  display: none;
}

#pomorskie-mapy-table td p:not(.links) a:hover {
  text-decoration: underline !important;
}

#pomorskie-mapy-table td .links a:hover {
  border: 1px solid #007bff;
  background-color: #007bff;
  color: #fff !important;
}

/* Responsywność – przy małych ekranach elementy zajmują całą szerokość */
.lable-inline {
  display: inline-flex;
  align-items: center;
}
.tooltip-outer {
  position: relative;
}
.tooltip-outer span {
  cursor: pointer;
  font-size: 15px;
  line-height: 12px;
  display: block;
  margin-left: 3px;
  font-weight: normal;
  width: 13px;
  height: 13px;
  background: url(icon-info.png);
  background-size: cover;
  background-position: center;
}
.tooltip-outer .tooltip {
  position: absolute;
  margin: 0px;
  font-size: 11px;
  line-height: 14px;
  opacity: 1;
  display: none;
  max-width: 200px;
  width: 200px;
  transform: translate(calc(-50% + 8px), calc(-100% - 20px));
}
.tooltip-outer:hover .tooltip {
  display: block;
}
.tooltip-outer .tooltip:before {
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  bottom: -5px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
  margin: 0 auto;
}
.tooltip-outer .tooltip-inner {
  padding: 7px;
  background: #333;
}
.map-info-box {
  min-width: 150px;
}
.map-info-box h3 {
  font-size: 2rem;
  margin: 0 0 10px !important;
}
.map-info-box p {
  color: #000;
  margin: 0 0 9px !important;
}
.map-info-box p a {
  color: #000;
}
@media (max-width: 480px) {
  .logo img {
    max-width: 100% !important;
  }
}
@media (max-width: 600px) {
  .ab-pomorskie-mapy-search-row .form-group {
    flex: 1 1 100%;
    max-width: 100%;
  }
  #pomorskie-mapy-table td {
    width: 100%;
    display: block;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  #pomorskie-mapy-table td {
    font-size: 15px;
  }
  #pomorskie-mapy-table_wrapper .dt-paging-button {
    font-size: 15px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #pomorskie-mapy-table td {
    font-size: 14px;
  }
  #pomorskie-mapy-table_wrapper .dt-paging-button {
    font-size: 14px;
  }
}
@media (max-width: 767.98px) {
  .article-outer > .row > .col-lg-4 {
    order: -1 !important;
  }
}
@media (max-width: 767px) {
  #pomorskie-mapy-table {
    border: 0;
  }
  #pomorskie-mapy-table thead,
  #pomorskie-mapy-table colgroup {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  #pomorskie-mapy-table tbody {
    display: block;
    width: 100%;
  }
  #pomorskie-mapy-table tr {
    display: block;
    width: 100%;
    margin-bottom: 16px;
  }
  #pomorskie-mapy-table td {
    border-bottom: 1px solid #ddd;
    display: flex;
    font-size: 14px;
    text-align: right;
    width: 100%;
    position: relative;
    justify-content: space-between;
  }
  #pomorskie-mapy-table td::before {
    content: attr(data-label);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    max-width: 120px;
    display: block;
    text-align: left;
  }
  #pomorskie-mapy-table .links a {
    margin: 0 0 0 auto;
    white-space: nowrap;
    padding: 2px 18px !important;
  }
  #pomorskie-mapy-table_wrapper .dt-layout-cell {
    padding-top: 0;
  }
  #pomorskie-mapy-table_wrapper .dt-paging-button {
    font-size: 14px;
  }
}
