/* $Id: style.css,v 1.95 2025/10/10 17:40:35 dwinston Exp $ */
/** 
 * @file
 * Subtheme specific CSS.
 */

.block-page-title-block {
  margin-top: 10px;
}

.field-content a,
.block a {
  text-decoration: none;
}

#site-logo {
  margin-left: 5px;
}

#site-name-slogan {
  color: white;
}

#navbar-main {
  background: url("../images/bg-header-stars-blue.jpg") repeat-x scroll center top transparent;
}

ul#superfish-main {
  margin-top: -10px;
}

ul#superfish-main a {
  color: white;
  text-decoration: none;
}

ul#superfish-main li.active-trail.sf-depth-1>a {
  background: url("../images/bg-nav-hover.png") top left repeat-x;
}

ul#superfish-main li.sf-depth-1 a {
  background: url("../images/bg-nav.png") top left repeat-x;
}

ul#superfish-main li a {
  border-right: 1px solid white;
  font-size: 14px;
}

ul#superfish-main li.sf-depth-2 a {
  color: black;
  background: url("../images/bg-sub-nav.png") top left repeat-x;
  background-color: #e4dcc5;
  font-size: 13px;
}

#block-userlogin,
#block-bnc-barrio-mfaloginblock {
  margin-top: 20px;
}

li.nav-item>a.nav-link--user-login,
li.nav-item>a.nav-link--user-register {
  display: none;
}

li.nav-item:has(> a.nav-link--user-login),
li.nav-item:has(> a.nav-link--user-register) {
  display: none;
}

#search-block-form #edit-actions,
#search-block-form input.image-button {
  background: transparent;
  border: none;
  padding-left: 2px;
}

.field__label {
  font-weight: bold;
}

.field--name-field-news-date {
  margin-bottom: 10px;
}

#site-name-slogan a {
  text-decoration: none;
  color: white;
}

.alert {
  padding: 1rem 1rem;
  margin-bottom: 10px;
}

a.attention:hover {
  color: red;
}

input[type="date"] {
  height: 38px;
  width: 150px;
}

table tr th,
table tr th a,
table tr th a:hover,
table tr th a:focus {
  color: black;
  font-weight: bold;
  background: darkgrey;
}

table.bnc-table {
  caption-side: top;
}

table.bnc-table td {
  vertical-align: top;
}

table tr.totals td {
  font-weight: bold;
}

/** Do not show user picture **/
.field--name-user-picture {
  display: none;
}

/** Custom form fields **/

#edit-year-month,
#edit-tpseq,
#edit-rcseq {
  width: 150px;
}

input::placeholder {
  color: lightgray;
  font-weight: lighter;
}

#edit-timezone,
select[name="district"],
select[name="district[]"],
select[name="field_office"],
#mfa-fp-form #edit-uid,
#edit-office,
#edit-field-district,
#edit-field-office,
#edit-partner-name {
  width: 300px;
}

#edit-district {
  width: 220px;
}

#edit-name,
#edit-mail,
#edit-mail-confirm,
#edit-debtor-email,
#edit-current-pass,
#edit-pass,
#edit-passcode,
#edit-org-name,
#edit-field-title-0-value,
#edit-field-bnc-function-0-value,
#edit-field-alt-phone-0-value,
#edit-field-fax-0-value,
#edit-field-text-alert-contact-0-value,
#edit-field-first-name-0-value,
#edit-field-last-name-0-value,
#edit-field-phone-0-value {
  max-width: 400px;
}

.form-item-mail-date,
.form-item-district-and-office,
.form-item-partner-name,
.form-item-start-date,
.form-item-org-name,
.form-item-end-date,
.form-item-rpt-start-month,
.form-item-case-no,
.form-item-year-month,
.form-item-debtor-name,
.form-item-bnc-form-id,
.form-item-chapter,
.form-item-nef-date {
  margin-left: 10px;
}

#bncreports-activity-report-form .form-item-rpt-start-month,
#bncreports-top-paper-notice-recipients-form .form-item-rpt-start-month {
  margin-left: 0;
}

#edit-format--wrapper--description,
#edit-debtor-activates--wrapper--description {
  display: inline-block;
  max-width: 600px;
}

#edit-debtor-name--description {
  display: inline-block;
  max-width: 400px;
}

#edit-month,
#edit-rpt-start-month {
  width: 200px;
}

#edit-dir,
#edit-file,
#edit-document-file,
#edit-other-text,
#edit-addr1,
#edit-addr2,
#edit-addr3,
#edit-addr4,
#edit-addr5 {
  width: 600px;
}

.fieldset-legend {
  font-size: 1rem;
}

#bncreports-rrd-monthly-sheet-count-form,
#bncreports-rrd-monthly-report-form,
#bncreports-postage-report-form,
#bncreports-batch-history-form,
#bncreports-case-history-form,
#bncreports-mail-date-history-form,
#bncreports-bypass-form,
#bncreports-monthly-bypass-form,
#bncreports-return-mail-form,
#bncreports-noticing-partner-form,
#bncreports-noticing-partner-activity-form,
#bncreports-preferred-address-form,
#bncreports-court-profile-form,
#bncreports-detail-report-form #edit-row1,
#bncreports-detail-report-form #edit-row2,
#bncreports-contact-log-report-form #edit-row1,
#bncreports-contact-log-report-form #edit-row2,
#bncreports-summary-report-form,
#bncreports-ebn-top20-report-form,
#bncreports-debn-query-form {
  display: flex;
  align-items: flex-start;
}

#bncreports-rrd-monthly-sheet-count-form>fieldset,
#bncreports-rrd-monthly-report-form>fieldset,
#bncreports-postage-report-form>fieldset,
#bncreports-batch-history-form>fieldset,
#bncreports-case-history-form>fieldset,
#bncreports-mail-date-history-form>fieldset,
#bncreports-bypass-form>fieldset,
#bncreports-monthly-bypass-form>fieldset,
#bncreports-return-mail-form>fieldset,
#bncreports-noticing-partner-form>fieldset,
#bncreports-noticing-partner-activity-form>fieldset,
#bncreports-preferred-address-form>fieldset,
#bncreports-detail-report-form #edit-row1>fieldset,
#bncreports-detail-report-form #edit-row2>fieldset,
#bncreports-contact-log-report-form #edit-row1>fieldset,
#bncreports-contact-log-report-form #edit-row2>fieldset,
#bncreports-summary-report-form>fieldset,
#bncreports-ebn-top20-report-form>fieldset,
#bncreports-debn-query-form>fieldset,
.flex-submit-button-container,
#edit-row2 #edit-date-range,
.form-item-start-yyyy-mm,
.form-item-end-yyyy-mm {
  margin-left: 10px;
}

#bncreports-detail-report-form #edit-row1 #edit-format--wrapper,
#bncreports-contact-log-report-form #edit-row1 #edit-format--wrapper {
  margin-left: 40px;
}

.flex-submit-button-container {
  align-self: center;
  margin-top: 8px;
}

#edit-row2 .flex-submit-button-container {
  align-self: baseline;
}

#edit-format .radio {
  display: inline-block;
}

.bnc-warning {
  color: red;
  font-weight: bold;
}

/** Specials **/

#office-container {
  width: 300px;
}

#edit-specials-container-1,
#edit-specials-container-2 {
  display: flex;
  flex-direction: row;
}

#edit-specials-container-1>fieldset,
#edit-specials-container-2>fieldset {
  margin-right: 20px;
}

#edit-specials-container-1 .mb-3,
#edit-specials-container-2 .mb-3 {
  margin-bottom: 0 !important;
}

#edit-case-no,
#edit-form-id,
#edit-bnc-form-id {
  width: 150px;
}

#bncreports-specials-stash-form .form-item-case-no,
#bncreports-specials-stash-form .form-item-debtor-name {
  margin-left: 0;
}

#edit-chapter,
#edit-return-addr-type {
  width: 150px;
}

#edit-debtor-name,
#edit-joint-debtor-name {
  width: 300px;
}

#edit-pdf-file,
#edit-recipient-file {
  width: 600px;
}

#edit-aty-return-addr {
  width: 600px;
}

#edit-stash-name {
  width: 600px;
}

#edit-pagecount {
  width: 100px;
}

#bncreports-specials-edit-form span.fieldset-legend {
  font-weight: bold;
}

#bncreports-specials-edit-form select {
  width: 150px;
}

#bncreports-specials-edit-form #edit-submit {
  display: block;
  margin-top: 10px;
}

#specials-output {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
}

#bncreports-specials-edit-form .specials-wrapper {
  border-bottom: 1px solid darkgray;
}

/** Court Profile **/

.bnc-court-profile-grid {
  display: grid;
  grid-template-columns: 70% 60%;
  grid-gap: 20px;
}

/** Password Policy **/

#password-policy-status {
  display: none;
}

/** Views **/

table.views-table {
  caption-side: top;
}

.view.view-bnc-support-guides table,
.view-users table {
  table-layout: fixed;
  width: 100%;
}

.view-bnc-support-guides .row,
.view-users .row {
  display: flex;
  flex-direction: column;
}

.view-bnc-support-guides .views-field-title {
  font-weight: bold;
}

.view-bnc-support-guides .views-field-body p {
  font-weight: normal;
}

th.views-field-changed {
  width: 200px;
}

th.views-field-edit-user {
  width: 50px;
}

th.views-field-name {
  width: 120px;
}

th.views-field-field-phone {
  width: 120px;
}

th.views-field-status {
  width: 100px;
}

.page-view-users td.views-field-mail,
.page-view-users td.views-field-name {
  overflow-wrap: break-word;
}

select[name="field_district_value"] {
  width: 250px;
}

select[name="field_status_value"] {
  width: 120px;
}

#views-exposed-form-contact-log-page-1 .form-type-date {
  display: inline-block;
}

#views-exposed-form-users-page-1 select[name="field_district_value"],
#views-exposed-form-contact-log-page-1 select[name="field_district_value"],
#views-exposed-form-contact-log-page-1 select[name="field_status_value"],
#views-exposed-form-contact-log-page-1 .form-type-date {
  margin-right: 10px;
}

#views-exposed-form-contact-log-page-1 fieldset.mb-3 {
  margin-bottom: 0px !important;
  margin-top: -10px;
}

.view-id-contact_log th {
  white-space: nowrap;
}

.bnc-court-profile-related-info ul.bnc-list-none li {
  margin-left: -30px;
}

.view-bnc-videos iframe.media-oembed-content,
.field--name-field-media-oembed-video iframe.media-oembed-content {
  width: 480px;
  height: 480px;
}

/** Detail Reports **/

.bnc-site {
  font-size: larger;
}

.detail-report table {
  width: auto;
}

.detail-report tr,
.detail-report th,
.detail-report td {
  background: none;
  border: none;
}

.detail-report th {
  border-bottom: 2px solid;
  border-bottom-color: gray;
}

/** DEBN **/

#bncreports-debn-create-account-form .form-item-case-no,
#bncreports-debn-update-account-form .form-item-debtor-name {
  margin-left: 0;
}

#bncreports-debn-query-form .form-item-debtor-name {
  width: 300px;
}

.bnc-pending {
  color: HotPink;
}

.form-control.debn-email {
  width: 400px;
}

#bncreports-debn-create-account-form .form-check-label {
  width: 600px;
}


/** Other **/

.bnc-add-user-link {
  font-size: 0.813rem;
  padding: 2px 1em;
  color: #fff;
  background-color: #0071b8;
  border: 1px solid #1e5c90;
  border-radius: 20em;
}

.bnc-add-user-link:hover {
  color: #fff;
  background-color: #2369a6;
}

.bnc-right {
  text-align: right;
}

.bnc-nowrap {
  white-space: nowrap;
}

.bnc-list-none {
  list-style: none;
}

#bnc-sort-table th:hover {
  cursor: pointer;
}

#bnc-sort-table th:hover.js-sort-none {
  cursor: default;
}

.bnc-clear {
  clear: both;
}

caption.top20-report {
  color: darkblue;
  font-size: 0.8rem;
}

caption.top20-report ul {
  margin-bottom: 0;
  padding-bottom: 0;
  list-style-type: circle
}