.public-page-content {
  min-height: 88vh;
}

.header-background {
  padding: 1.5rem 1rem 9rem;
  background-color: #00775B;
  color: white;
  position: relative;
}

.header-background::before {
  content: "";
  background-image: url(/public/images/public-listing-background.png);
  background-size: cover;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 15%;
}

.header-background-inner {
  max-width: 1140px;
  margin: auto;
  position: relative;
}

.header-background-inner h2 {
  margin-bottom: 0.75rem;
}

.header-background-inner > .pb-4 {
  padding-bottom: 0px !important;
}

.top-content {
  margin: -105px auto 0;
  background: white;
  padding: 1.5rem;
  max-width: 1140px;
  box-shadow: 0px 8px 60px 0px rgb(16 40 88 / 15%);
  -webkit-box-shadow: 0px 8px 60px 0px rgb(16 40 88 / 15%);
  -moz-box-shadow: 0px 8px 60px 0px rgba(16, 40, 88, 0.15);
  border-radius: 0.5rem !important;
  position: relative;
}

.top-content.caller-name-id-query {
  font-size: 1.125rem;
  line-height: 2rem;
}

.top-content ol {
  padding-left: 1rem;
  margin-bottom: 0;
}

.top-content-title {
  padding-left: 0;
}

.top-content ol li {
  padding-left: 0.5rem;
}

.top-content ol.sub-ol.mt-2 {
  margin-bottom: 0px;
  font-size: 0.75rem;
}

.top-content .special-note {
  background-color: #00775B;
  border-radius: 0.5rem;
  padding: 15px;
  color: white;
}

.top-content .special-note a {
  color: inherit;
  text-decoration: underline;
}

.top-content .special-note .bi.bi-bell-fill {
  font-size: 1.5rem;
  color: #FFD100;
}

.bottom-content {
  margin: 2rem auto 0;
  background: white;
  padding: 0.5rem 1.5rem 1.5rem;
  max-width: 1140px;
  box-shadow: 0px 8px 60px 0px rgb(16 40 88 / 15%);
  -webkit-box-shadow: 0px 8px 60px 0px rgb(16 40 88 / 15%);
  -moz-box-shadow: 0px 8px 60px 0px rgba(16, 40, 88, 0.15);
  border-radius: 0.5rem !important;
}

.bottom-content .table-wrapper .card-body {
  padding: 1rem 0rem 1.5rem;
}

.bottom-content table tr th {
  padding-top: 0px;
  border-bottom: none !important;
}

.bottom-content tbody {
  border-radius: 0.5rem;
}

.bottom-content tbody tr td {
  border: none !important;
}

.bottom-content .record-listing tbody {
  box-shadow: inset 0 0 0 1px var(--cnir-border-color);
}

.bottom-content .record-listing tbody tr:nth-child(even) {
  background: #F0F3FB80;
}

.bottom-content .record-listing tbody td {
  height: auto;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.bottom-content .pagination-wrapper {
  margin-bottom: 0px;
}

.bottom-content + .footer {
  margin: 1.5rem 0 2.5rem !important;
}

.bottom-content .record-listing tbody tr td {
  text-align: left;
  background-color: transparent !important;
}

.bottom-content .record-listing tbody tr:nth-child(even) td:first-child {
  border-left: 1px solid var(--cnir-border-color) !important;
}

.bottom-content .record-listing tbody tr:nth-child(even) td:last-child {
  border-right: 1px solid var(--cnir-border-color) !important;
}

.bottom-content .record-listing tbody tr:nth-child(even) {
  background-color: var(--cnir-background-body);
}

.sub-ol {
  font-size: 0.8rem;
  color: #42444A;
}

.org-check-content {
  padding: 1.5rem;
  background-color: var(--cnir-background-body);
  border-radius: 0.25rem;
  align-items: center;
}

.org-check-content .checkbox-content {
  width: 115px;
  align-items: center;
}

.org-check-content .form-switch .form-check-input {
  margin-right: 0.5rem;
}

.org-check-content .span-opt-out {
  width: 53px;
}

.public-list-table-functions {
  margin-bottom: 2rem;
}

.request-status {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 0.5rem;
  margin-right: 0.625rem;
}

.request-status.registered {
  background-color: #14B8A6;
}

.request-status.not-registered {
  background-color: black;
}

.request-status.not-for-register {
  background-color: var(--cnir-border-color);
}

.request-status.review {
  background-color: #F2994A;
}

.status-content {
  display: flex;
  align-items: center;
}

.search-result {
  margin: 2rem auto 0;
  max-width: 1140px;
  font-size: 1.5rem;
  font-weight: bold;
}

.filter.btn-group .btn-filter .bi.filter-icon {
  font-size: 1rem;
  color: var(--cnir-muted);
  padding-left: 0;
}

@media (max-width: 1171px) {

  .top-content,
  .bottom-content {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (max-width: 768px) {
  .bottom-content .pagination-wrapper {
    margin: 0px;
  }

  .bottom-content ul.pagination.mobile-page-numbers {
    justify-content: center !important;
    margin-top: 1rem;
  }
}

@media (max-width: 767px) {
  .fix-column-table-container tr.record td:first-child {
    min-width: 5.625rem;
  }

  .request-status {
    padding: 0 0.25rem;
    margin-bottom: 0.25rem;
  }

  .status-content {
    display: block;
  }
}

@media (min-width: 280px) {
  .bottom-content .table-with-pagination > div {
    width: 100% !important;
  }

  .bottom-content table.table.record-listing.js-record-listing {
    width: 100% !important;
  }
}

@media (max-width: 1024px) and (min-width: 280px) {
  .bottom-content .table-with-pagination > div {
    width: 100% !important;
  }
}

@media only screen and (min-width: 1024px) {
  .org-check-content .form-switch {
    transform: none;
  }

  .org-check-content .form-switch .form-check-input {
    width: 60px;
    height: 30px;
    margin: 0;
  }
}