.col-lg-5, .col-lg-3, .col-lg-4 {
    max-width: unset !important;
}
.alert {
    border-radius: 0;
    text-align: center;
    padding: 35px;
}
.alert-info {
    color: #0c5460;
    background: #d1ecf1;
}

 // NEW CODE FOR SOLVING ERRORS
@media (min-width: 600px) {
    #wsal-navbar. {
        position: static;
        top: 32px;
        width: auto;
    }
}

.acf-headerbar {
    position: static !important; /* Ensures the header stays in place */
    top: 32px !important; /* Adjust the top position if needed */
    z-index: 700; /* Keeps it above other content */
    display: flex;
    align-items: center;
}

/* TOP toolbar: force Bulk actions <select> to 27px */
.wp-admin .tablenav.top .bulkactions select#bulk-action-selector-top {
  height: 27px !important;
  min-height: 30px !important; 
  font-size: 14px !important;
  line-height: 27px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  box-sizing: border-box;
  -webkit-appearance: none;       /* helps on WebKit */
  appearance: none;
}

/* (If needed) match the Apply button too */
.wp-admin .tablenav.top .bulkactions .button.action,
.wp-admin .tablenav.top #doaction {
  height: 27px !important;
   
  font-size: 14px !important;
  line-height: 27px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
   box-sizing: border-box;
    -webkit-appearance: none;       /* helps on WebKit */
  appearance: none;
}


/* Style Apply button in BOTTOM bulk action bar */
.wp-admin .tablenav.bottom .bulkactions .button.action,
.wp-admin .tablenav.bottom .bulkactions select {
  height: 40px !important;
  line-height: 25px !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  vertical-align: middle;
}


/* Fix height for select dropdown and apply button */
select#bulk-action-selector-top {
    height: 40px !important; /* Ensure the height of the dropdown matches the button */
    line-height: 40px; /* Align the text vertically inside the dropdown */
    padding-left: 7px; /* Optional: Keeps padding for text inside the dropdown */
    padding-right: 19px !important ; /* Remove padding-right to align it properly */
}

#bulk-action-selector-bottom {
    padding-right: 25px !important;   /* creates space for caret */
    background-position: right 8px center !important; /* move caret inward */
    background-repeat: no-repeat;
}

/* Hide the span containing edit.php links in the toolbar */
.acf-admin-toolbar .acf-admin-toolbar-inner a[href*="edit.php?post_type=acf-field-group"] span,
.acf-admin-toolbar .acf-admin-toolbar-inner a[href*="edit.php?post_type=acf-post-type"] span,
.acf-admin-toolbar .acf-admin-toolbar-inner a[href*="edit.php?post_type=acf-taxonomy"] span,
.acf-admin-toolbar .acf-admin-toolbar-inner a[href*="edit.php?post_type=acf-ui-options-page"] span,
.acf-admin-toolbar .acf-admin-toolbar-inner a .uip-id-holder {
    display: none !important; /* Hide only the unwanted span text, keep icons & labels */
}

/* Remove default padding from WP list-table toolbars */
.wp-admin .tablenav.top .actions,
.wp-admin .tablenav.bottom .actions,
[uip-admin-theme=true] .tablenav.top .actions,
[uip-admin-theme=true] .tablenav.bottom .actions {
  padding: 0 !important;
}

/* Adjust caret position and size in Bulk actions dropdown */
.wp-admin.edit-tags-php.taxonomy-people_category .tablenav.bottom .bulkactions select {
  -webkit-appearance: none !important;  /* Remove default webkit caret */
  appearance: none !important;  /* Remove default caret */
  padding-right: 20px !important;  /* Adjust padding for caret */
  background-position: 95% center !important;  /* Move caret to the left */
  background-size: 16px 16px !important;  /* Resize the caret */
  height: 40px !important;   /* Set the height */
  line-height: 25px !important;  /* Ensure text is centered */
}

/* Ensure all table cells are properly displayed */
.wp-admin .wp-list-table td,
.wp-admin .wp-list-table th {
    padding: 8px !important; /* Adds space between content and borders */
    text-align: left; /* Aligns text to the left for clarity */
}

/* Title Column */
.wp-admin .wp-list-table td.title,
.wp-admin .wp-list-table th.column-title {
    max-width: 300px !important; /* Maximum width for title column */
    width: auto !important; /* Set width to prevent overflow */
    word-wrap: break-word !important; /* Break long titles */
    overflow-wrap: break-word !important;
    white-space: normal !important; /* Allow text to wrap */
    padding-right: 15px; /* Padding to avoid text clipping */
}

/* Author Column */
.wp-admin .wp-list-table td.author,
.wp-admin .wp-list-table th.column-author {
    width: auto !important; /* Set width for author column */
    min-width: 150px !important; /* Prevent shrinking */
    padding-left: 10px; /* Padding to the left */
    word-wrap: break-word !important; /* Ensure long names wrap */
}

/* Categories Column */
.wp-admin .wp-list-table td.categories,
.wp-admin .wp-list-table th.column-categories {
    width: auto !important;
    min-width: 150px !important;
    padding-left: 10px;
}

/* Tags Column */
.wp-admin .wp-list-table td.tags,
.wp-admin .wp-list-table th.column-tags {
    width: auto !important;
    min-width: 150px !important;
    padding-left: 10px;
}

/* Markets Column */
.wp-admin .wp-list-table td.markets,
.wp-admin .wp-list-table th.column-markets {
    width: auto !important; /* Set width for Markets column */
    min-width: 150px !important; /* Prevent shrinking */
    padding-left: 10px !important; /* Padding to the left */
   
    text-align: left !important; /* Left-align text */
}

/* Disciplines Column */
.wp-admin .wp-list-table td.disciplines,
.wp-admin .wp-list-table th.column-disciplines {
    width: auto !important; /* Set width for Disciplines column */
    min-width: 150px !important; /* Prevent shrinking */
    padding-left: 10px !important; /* Padding to the left */
    
    text-align: left !important; /* Left-align text */
}



/* Date Column */
.wp-admin .wp-list-table td.date,
.wp-admin .wp-list-table th.column-date {
    width: auto !important;
    min-width: 150px !important;
    padding-left: 10px;
}

/* Target the "All Categories" dropdown */
.wp-admin .tablenav.top select#cat {
    height: 27px !important; /* Set the height to align with other controls */
    line-height: 27px !important; /* Align text vertically */
    padding-left: 10px !important; /* Ensure left padding for text */
    padding-right: 20px !important; /* Space for the caret */
    background-position: 95% center !important; /* Align the caret to the right */
    background-size: 16px 16px !important; /* Set caret size */
    font-size: 14px !important; /* Font size consistency */
    -webkit-appearance: none !important; /* Remove default caret */
    appearance: none !important; /* Remove default caret */
     /* Ensure it doesn’t stretch unnecessarily */
}

/* Target the "All Formats" dropdown */
.wp-admin .tablenav.top select#filter-by-format {
    height: 27px !important; /* Set the height to align with other controls */
    line-height: 27px !important; /* Align text vertically */
    padding-left: 10px !important; /* Ensure left padding for text */
    padding-right: 20px !important; /* Space for the caret */
    background-position: 95% center !important; /* Align the caret to the right */
    background-size: 16px 16px !important; /* Set caret size */
    font-size: 14px !important; /* Font size consistency */
    -webkit-appearance: none !important; /* Remove default caret */
    appearance: none !important; /* Remove default caret */
   
}

#top_submit.button.button-primary {
    padding: 4px 10px;   /* reduce inside spacing */
    font-size: 11px;     /* make text slightly smaller */
    max-width: 82px;     /* optional: cap its width */
    height: auto;        /* let height adjust naturally */
    line-height: 1.2;    /* keeps text vertically aligned */
 margin-right: 20px;
 }

#attachment-filter.attachment-filters {
    padding-right: 25px !important;         /* extra space for caret */
    background-position: right 8px center !important; /* nudge caret inward */
    background-repeat: no-repeat;
}

#parent.postform {
    padding-right: 25px !important;         /* create room for caret */
    background-position: right 8px center !important; /* move caret inward */
    background-repeat: no-repeat;
}
#name.postform {
    padding-right: 25px !important;         /* space for caret */
    background-position: right 8px center !important; /* nudge caret inside */
    background-repeat: no-repeat;
}

select[name="post_statuss"] {
    padding-right: 25px !important;         
    background-position: right 8px center !important; 
    background-repeat: no-repeat;
}

nav#wsal-navbar {
    position: relative !important;  /* stays under WP admin bar */
    top: auto !important;           /* adjust for WP admin bar height */
    width: 100% !important;         /* stretch full width */
    height: 72px;                   /* same height as before */
    background-color: #384A2F;      /* ensure consistent background */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    z-index: 80;
}

/* Make the Message column readable in WP list tables (WSAL screen) */
#wpbody-content .wp-list-table td.column-message {
  max-width: 520px;            /* give the column real room */
  white-space: normal !important;
  word-break: break-word;      /* wrap long tokens like meta keys */
  overflow-wrap: anywhere;     /* fallback for very long strings */
  line-height: 1.35;
}

/* Optional: slightly widen table so columns breathe */
#wpbody-content .wp-list-table {
  table-layout: auto !important; /* let columns size to content */
}

/* Keep “More details…” tidy next to/under the text */
#wpbody-content .wp-list-table td.column-message a {
  display: inline-block;
  margin-left: 6px;
  white-space: nowrap;
}

body.wp-admin select.attachment-filters {
    padding-right: 25px !important;
    background-position: right 8px center !important;
    background-repeat: no-repeat;
}
/* Match Change Role select + button to Bulk Actions/Apply (40px height) */
#new_role2,
#changeit2.button {
    height: 40px !important;
    line-height: 40px !important; /* vertical centering */
    font-size: 14px;
    padding: 0 12px;              /* adjust horizontal padding */
    box-sizing: border-box;
}


/* Redirection toolbar only */
body.wp-admin .wrap.redirection .tablenav.top {
  display: flex;
  align-items: center;
  gap: 14px;                 /* more breathing room between groups */
  flex-wrap: wrap;
}

/* Left control cluster should also space its children */
body.wp-admin .wrap.redirection .tablenav.top .alignleft.actions {
  display: flex;
  align-items: center;
  gap: 12px;                 /* space between each control */
  flex-wrap: wrap;
}

/* Make controls 40px tall & comfy */
body.wp-admin .wrap.redirection .tablenav.top select,
body.wp-admin .wrap.redirection .tablenav.top .button,
body.wp-admin .wrap.redirection .tablenav.top input[type="submit"],
body.wp-admin .wrap.redirection .tablenav.top button {
  height: 40px !important;
  line-height: 40px !important;
  font-size: 14px;
  padding: 0 16px;           /* a bit wider padding */
  box-sizing: border-box;
  border-radius: 10px;       /* match WP’s rounded controls */
}

/* Caret spacing for selects (text not cramped against arrow) */
body.wp-admin .wrap.redirection .tablenav.top select {
  padding-left: 12px;
  padding-right: 28px !important;
  background-position: right 10px center !important;
  background-repeat: no-repeat;
}

/* Push pagination to the far right to reduce congestion on the left */
body.wp-admin .wrap.redirection .tablenav.top .tablenav-pages {
  margin-left: auto;
}

/* Pagination controls: same height + a touch of side padding */
body.wp-admin .wrap.redirection .tablenav.top .tablenav-pages .pagination-links a,
body.wp-admin .wrap.redirection .tablenav.top .tablenav-pages .pagination-links span,
body.wp-admin .wrap.redirection .tablenav.top .tablenav-pages .button {
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 12px;
  box-sizing: border-box;
}

.wp-admin .tablenav.top .actions,
.wp-admin .tablenav.bottom .actions,
[uip-admin-theme=true] .tablenav.top .actions,
[uip-admin-theme=true] .tablenav.bottom .actions {
    padding: 10px !important;
}
/* Fix caret position ONLY for Bulk Actions select in Redirection */
body.wp-admin .wrap.redirection .tablenav.bottom .alignleft.actions.bulkactions select[name="action"] {
  padding-right: 28px !important;                /* extra room for caret */
  background-position: right 10px center !important;
  background-repeat: no-repeat;
  background-size: 12px auto;
}

.theme-browser .theme .theme-name {
	height: 48px;
}
/* Fix overlap: Yoast Readability filter */
#wpseo-readability-filter {
    margin-top: 5px !important;
}

section.quote-img {
  margin-bottom: 25px !important;
}

