/**
 * AMMLA Member Data – frontend styles
 *
 * Namespace: .ammla-md-
 * Do not style global tags (table, button, a, input).
 * Do not override Elementor globally.
 */

.ammla-md-section {
	display: block;
	margin: 0 0 1.25rem;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.ammla-md-section__title {
	margin: 0 0 1rem;
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.3;
	color: inherit;
}

.ammla-md-table-wrap {
	display: block;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ammla-md-table {
	display: table;
	width: 100%;
	max-width: none;
	table-layout: auto;
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #e6e2dc;
	background: transparent;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

.ammla-md-table__row {
	border-bottom: 1px solid #e6e2dc;
}

.ammla-md-table .ammla-md-table__row--header .ammla-md-table__cell {
	background: #f4f1ec;
	font-weight: 600;
	text-align: left;
	white-space: nowrap;
	overflow-wrap: normal;
	word-break: normal;
}

.ammla-md-table .ammla-md-table__cell {
	padding: 0.3rem 0.45rem;
	vertical-align: top;
	color: inherit;
	font-weight: inherit;
	text-align: left;
	border: 0;
	overflow-wrap: normal;
	word-break: normal;
}

.ammla-md-table .ammla-md-table__cell--institution {
	font-weight: 600 !important;
	white-space: nowrap;
}

.ammla-md-table .ammla-md-table__cell--type {
	width: 1%;
	white-space: nowrap;
	overflow-wrap: normal;
	word-break: normal;
}

.ammla-md-table .ammla-md-table__cell--country {
	width: 1%;
	white-space: nowrap;
	overflow-wrap: normal;
	word-break: normal;
}

.ammla-md-table .ammla-md-table__cell--visible {
	width: 1%;
	white-space: nowrap;
	text-align: center;
	overflow-wrap: normal;
	word-break: normal;
}

.ammla-md-table .ammla-md-table__cell--membership-status {
	width: 1%;
	white-space: nowrap;
	overflow-wrap: normal;
	word-break: normal;
}

.ammla-md-table .ammla-md-table__cell--action {
	width: 1%;
	white-space: nowrap;
	padding-left: 20px;
	padding-right: 0px;
}

/*
 * Shared frontend action button (.ammla-md-button).
 * Compact, content-sized. Isolated from Elementor/theme button kit rules.
 * Table action buttons keep a separate, more compact padding (see listing/directory tables).
 */
.ammla-md-button,
a.ammla-md-button,
button.ammla-md-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	min-width: 0;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 6px 14px !important;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	white-space: nowrap;
	vertical-align: middle;
	color: #ffffff;
	background-color: rgb(82, 113, 140);
	border: 0;
	border-radius: 8px;
	box-shadow: 0 1px 1px #eeeeee;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.ammla-md-button:hover,
.ammla-md-button:focus,
.ammla-md-button:active,
a.ammla-md-button:hover,
a.ammla-md-button:focus,
a.ammla-md-button:active,
button.ammla-md-button:hover,
button.ammla-md-button:focus,
button.ammla-md-button:active {
	/* Same geometry as rest — Elementor kit :active must not resize. */
	width: auto;
	min-width: 0;
	height: auto;
	min-height: 0;
	padding: 6px 14px !important;
	margin: 0;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 1px 1px #eeeeee;
	background-color: rgba(56, 75, 97, 0.467);
	color: #ffffff;
	text-decoration: none;
	font-weight: normal;
	font-size: 14px;
	line-height: 1.3;
}

.ammla-md-button:focus-visible,
a.ammla-md-button:focus-visible,
button.ammla-md-button:focus-visible {
	outline: 2px solid rgb(82, 113, 140);
	outline-offset: 2px;
}

.ammla-md-button:disabled,
.ammla-md-button[disabled],
button.ammla-md-button:disabled {
	opacity: 0.45;
	cursor: default;
	pointer-events: none;
}

/* Beat Elementor kit `button` / `button:active` !important without changing table compact size. */
.ammla-md-button,
a.ammla-md-button,
button.ammla-md-button {
	min-height: 0 !important;
	border-radius: 8px !important;
}

.ammla-md-button:hover,
.ammla-md-button:focus,
.ammla-md-button:active,
a.ammla-md-button:hover,
a.ammla-md-button:focus,
a.ammla-md-button:active,
button.ammla-md-button:hover,
button.ammla-md-button:focus,
button.ammla-md-button:active {
	min-height: 0 !important;
	border-radius: 8px !important;
	color: #ffffff !important;
	font-weight: normal !important;
}

.ammla-md-table .ammla-md-button {
	white-space: nowrap;
}

.ammla-md-news-status-form {
	display: inline;
	margin: 0;
	padding: 0;
}

.ammla-md-news-status-form .ammla-md-button {
	vertical-align: middle;
}

/*
 * AMMLA frontend form controls — visual match to Formidable Forms (.frm_primary_label / .with_frm_style inputs).
 * Reference: Formidable default style template (custom_theme.css.php CSS variables):
 * label 15px / 400 / #444444; field 14px; pad 6px 10px; border 1px solid #BFC3C8; radius 0; bg #ffffff.
 * Formidable itself is not overridden — values mirrored on .ammla-md-* only.
 */

.ammla-md-webmaster-management__assign-label,
.ammla-md-webmaster-management__field-label,
.ammla-md-webmaster-profile__label {
	display: block;
	width: auto;
	max-width: 100%;
	margin: 0 0 3px;
	padding: 0;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.3;
	color: #444444;
	text-align: left;
}

.ammla-md-post-status__label {
	display: block;
	width: auto;
	max-width: 100%;
	text-align: left;
	font-size: 24px !important;
  	font-weight: 500 !important;
  	line-height: 1.2em !important;
  	letter-spacing: 0px !important;
  	padding-top: 0px !important;
  	padding-bottom: 10px !important;
  	margin-top: 30px;
  	margin-bottom: 0px;
  	color: rgb(52, 64, 84) !important;
}

.ammla-md-webmaster-management__assign-select,
.ammla-md-webmaster-management__input,
.ammla-md-webmaster-management__password-input,
.ammla-md-webmaster-profile__input,
.ammla-md-webmaster-profile__password-input,
.ammla-md-post-status__select {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 6px !important;
	font-family: inherit;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.3;
	color: #444444;
	background-color: #ffffff;
	border: 1px solid #BFC3C8;
	border-radius: 0;
	box-shadow: none;
	vertical-align: middle;
}

.ammla-md-webmaster-management__assign-select:focus,
.ammla-md-webmaster-management__input:focus,
.ammla-md-webmaster-management__password-input:focus,
.ammla-md-webmaster-profile__input:focus,
.ammla-md-webmaster-profile__password-input:focus,
.ammla-md-post-status__select:focus {
	border-color: #98a2b3;
}

.ammla-md-webmaster-management__assign-select:focus-visible,
.ammla-md-webmaster-management__input:focus-visible,
.ammla-md-webmaster-management__password-input:focus-visible,
.ammla-md-webmaster-profile__input:focus-visible,
.ammla-md-webmaster-profile__password-input:focus-visible,
.ammla-md-post-status__select:focus-visible {
	outline: 2px solid #4a4540;
	outline-offset: 1px;
}

.ammla-md-applicant-publish {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

/* Space Admin + Applicant Publish when both sit in the same action cell. */
.ammla-md-listing__table .ammla-md-table__cell--action .ammla-md-button + .ammla-md-applicant-publish {
	margin-left: 8px;
}

.ammla-md-post-status {
	margin: 0 0 1rem;
}

.ammla-md-post-status__select {
	margin: 0 0 0.75rem;
}

.ammla-md-post-status__actions {
	margin: 0;
}

.ammla-md-post-status__current {
	margin: 0;
}

.ammla-md-post-status__notice {
	margin: 0 0 0.75rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid #c5c1ba;
	background: #f7f5f2;
}

.ammla-md-post-status__notice--success {
	border-color: #c5c1ba;
}

.ammla-md-post-status__notice--error {
	border-color: #8a3b32;
}

.ammla-md-post-status__notice-text {
	margin: 0;
}

.ammla-md-collapsible-table {
	display: block;
	margin: 0 0 1.25rem;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
}

.ammla-md-collapsible-table__header {
	display: block;
	margin: 0;
	padding: 0;
	text-align: left;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.ammla-md-collapsible-table__heading {
	margin: 0 0 10px;
	padding: 0;
	font: inherit;
	color: inherit;
	text-align: left;
	background: transparent;
	border: 0;
	box-shadow: none;
}

/*
 * Collapse section titles — heading look only (not .ammla-md-button).
 * Strong scoped resets beat theme/Elementor generic `button` styles.
 */
.ammla-md-collapsible-table button.ammla-md-collapse-trigger,
.ammla-md-collapsible-table button.ammla-md-collapsible-table__toggle,
.ammla-md-collapsible-table .ammla-md-collapse-trigger,
.ammla-md-collapsible-table .ammla-md-collapsible-table__toggle {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: flex-start;
	gap: 0.35em;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-width: 0 !important;
	border-style: none !important;
	border-radius: 0 !important;
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
	font-family: inherit !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	color: inherit !important;
	text-align: left !important;
	vertical-align: baseline;
	cursor: pointer;
}

.ammla-md-collapsible-table button.ammla-md-collapse-trigger:hover,
.ammla-md-collapsible-table button.ammla-md-collapse-trigger:focus,
.ammla-md-collapsible-table button.ammla-md-collapse-trigger:active,
.ammla-md-collapsible-table button.ammla-md-collapsible-table__toggle:hover,
.ammla-md-collapsible-table button.ammla-md-collapsible-table__toggle:focus,
.ammla-md-collapsible-table button.ammla-md-collapsible-table__toggle:active,
.ammla-md-collapsible-table .ammla-md-collapse-trigger:hover,
.ammla-md-collapsible-table .ammla-md-collapse-trigger:focus,
.ammla-md-collapsible-table .ammla-md-collapse-trigger:active,
.ammla-md-collapsible-table .ammla-md-collapsible-table__toggle:hover,
.ammla-md-collapsible-table .ammla-md-collapsible-table__toggle:focus,
.ammla-md-collapsible-table .ammla-md-collapsible-table__toggle:active {
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-color: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	color: inherit !important;
	text-decoration: none !important;
	opacity: 1;
}

.ammla-md-collapsible-table button.ammla-md-collapse-trigger:focus-visible,
.ammla-md-collapsible-table button.ammla-md-collapsible-table__toggle:focus-visible,
.ammla-md-collapsible-table .ammla-md-collapse-trigger:focus-visible,
.ammla-md-collapsible-table .ammla-md-collapsible-table__toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.ammla-md-collapsible-table__title {
	display: inline;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	color: inherit;
	text-align: left;
	background: transparent;
	border: 0;
	box-shadow: none;
	text-shadow: none;
}

.ammla-md-collapsible-table__indicator {
	flex: 0 0 auto;
	display: inline-block;
	margin: 0;
	padding: 0;
	font-size: 0.55em;
	line-height: 1;
	color: inherit;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.ammla-md-collapsible-table__content {
	margin: 0;
	padding: 0;
}

.ammla-md-collapsible-table--collapsed .ammla-md-collapsible-table__content {
	margin-top: 0;
}

.ammla-md-webmaster-management {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: 0 0 1.5rem;
}

.ammla-md-webmaster-management__notice {
	margin: 0;
	padding: 0.65rem 0.85rem;
	border: 1px solid #d6d2dc;
	background: #f7f5f2;
}

.ammla-md-webmaster-management__notice--success {
	border-color: #c5c1ba;
}

.ammla-md-webmaster-management__notice--error {
	border-color: #8a3b32;
}

.ammla-md-webmaster-management__notice-text {
	margin: 0;
}

.ammla-md-webmaster-management__application,
.ammla-md-webmaster-management__primary,
.ammla-md-webmaster-management__additional,
.ammla-md-webmaster-management__create {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
}

.ammla-md-webmaster-management__application-title,
.ammla-md-webmaster-management__primary-title,
.ammla-md-webmaster-management__additional-title,
.ammla-md-webmaster-management__create-title {
	font-size: 24px !important;
  	font-weight: 500 !important;
  	line-height: 1.2em !important;
  	letter-spacing: 0px !important;
  	padding-top: 0px !important;
  	padding-bottom: 10px !important;
  	margin-top: 0px;
  	margin-bottom: 0px;
  	color: rgb(52, 64, 84) !important;
  	border-bottom: 1px solid #888888;
}

.ammla-md-webmaster-management__current {
	margin: 0;
}

.ammla-md-webmaster-management__current-label {
	font-weight: 600;
}

.ammla-md-webmaster-management__assign {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0 0 0.75rem;
}

.ammla-md-webmaster-management__assign-select + .ammla-md-webmaster-management__assign-actions {
	/* Match Additional: form gap 0.75rem + shared actions margin-top 0.25rem */
	margin-top: 1rem;
}

.ammla-md-webmaster-management__field {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0 0 0 0;
}

.ammla-md-webmaster-management__assign-actions,
.ammla-md-webmaster-management__create-actions {
	display: flex;
	flex-wrap: wrap;
	margin: 0.25rem 0 0;
	max-width: 100%;
}

.ammla-md-webmaster-management__assign-actions .ammla-md-button {
	max-width: 100%;
	white-space: normal;
}

.ammla-md-webmaster-management__additional-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
	max-width: 100%;
	min-width: 0;
}

.ammla-md-webmaster-management .ammla-md-webmaster-management__additional-dropdown {
	width: 100%;
	max-width: 100%;
}

/*
 * Additional multi-select trigger: match Primary .assign-select visuals.
 * Visible control is the button (not a native <select>); Theme/Elementor
 * button kit often zeros borders — override with equal specificity + !important
 * where cascade requires it. Assigning table dropdowns stay on base rules.
 * Do not alter Primary assign-select or button spacing rules above.
 */
.ammla-md-webmaster-management .ammla-md-webmaster-management__additional-dropdown > button.ammla-md-webmaster-assigning__dropdown-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 10px 6px !important;
	min-height: 0;
	height: auto;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: normal !important;
	font-style: normal !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	color: #444444 !important;
	text-align: left !important;
	background-color: #ffffff !important;
	background-image: none !important;
	border-top: 1px solid #BFC3C8 !important;
	border-right: 1px solid #BFC3C8 !important;
	border-bottom: 1px solid #BFC3C8 !important;
	border-left: 1px solid #BFC3C8 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none;
	vertical-align: middle;
	cursor: pointer;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.ammla-md-webmaster-management .ammla-md-webmaster-management__additional-dropdown > button.ammla-md-webmaster-assigning__dropdown-trigger:hover,
.ammla-md-webmaster-management .ammla-md-webmaster-management__additional-dropdown > button.ammla-md-webmaster-assigning__dropdown-trigger:focus,
.ammla-md-webmaster-management .ammla-md-webmaster-management__additional-dropdown > button.ammla-md-webmaster-assigning__dropdown-trigger:active {
	border-top-color: #98a2b3 !important;
	border-right-color: #98a2b3 !important;
	border-bottom-color: #98a2b3 !important;
	border-left-color: #98a2b3 !important;
	background-color: #ffffff !important;
	background-image: none !important;
	color: #444444 !important;
	font-weight: normal !important;
	box-shadow: none !important;
}

.ammla-md-webmaster-management .ammla-md-webmaster-management__additional-dropdown > button.ammla-md-webmaster-assigning__dropdown-trigger:focus-visible {
	outline: 2px solid #4a4540 !important;
	outline-offset: 1px;
}

.ammla-md-webmaster-management .ammla-md-webmaster-management__additional-dropdown .ammla-md-webmaster-assigning__dropdown-label {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: normal !important;
	font-style: normal !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: #444444 !important;
}

/* Approximate native <select> disclosure (Primary keeps UA arrow). */
.ammla-md-webmaster-management .ammla-md-webmaster-management__additional-dropdown .ammla-md-webmaster-assigning__dropdown-indicator {
	flex: 0 0 auto;
	display: block;
	width: 12px;
	height: 12px;
	margin: 0;
	padding: 0;
	font-size: 0 !important;
	line-height: 0 !important;
	color: transparent !important;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23444444' d='M1.1 1.2l4.9 4.9 4.9-4.9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px 6px;
}

.ammla-md-webmaster-management__password-toggle,
.ammla-md-password-toggle {
	margin: 0;
	flex: 0 0 auto;
}

.ammla-md-webmaster-management__application-hint {
	margin: 0;
	font-size: 0.92em;
	opacity: 0.85;
}

.ammla-md-webmaster-management__application-data {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0;
}

.ammla-md-webmaster-management__application-row {
	margin: 0;
	padding: 0.55rem 0.7rem;
	border: 1px solid #e6e2dc;
}

.ammla-md-webmaster-management__application-role,
.ammla-md-webmaster-management__application-name,
.ammla-md-webmaster-management__application-email,
.ammla-md-webmaster-management__application-phone {
	margin: 0 0 0.2rem;
}

.ammla-md-webmaster-management__application-email-link,
.ammla-md-webmaster-management__application-phone-link {
	color: inherit;
}

.ammla-md-webmaster-management__required {
	font-weight: 600;
}

.ammla-md-webmaster-management__password {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	max-width: 100%;
}

.ammla-md-webmaster-management__password-input {
	flex: 1 1 12rem;
	min-width: 0;
	margin: 0;
}

.ammla-md-webmaster-management__create-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
}

.ammla-md-action--unavailable {
	border: 0;
	padding: 0;
	text-decoration: none;
}

.ammla-md-public-view,
.ammla-md-edit-link {
	margin: 0;
}

.ammla-md-message,
.ammla-md-empty,
.ammla-md-login-required {
	margin: 0;
	padding: 0.85rem 1rem;
	border: 1px solid #d6d2cc;
	background: #f7f5f2;
}

.ammla-md-message--notice {
	border-color: #c5c1ba;
}

.ammla-md-message--error {
	border-color: #8a3b32;
}

/* [ammla_admin_institution_name]: typography via Elementor .elementor-heading-title; layout via plugin class. */
.ammla-md-admin-institution-name {
	margin-top: 0;
	font-family: inherit;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2em;
  letter-spacing: 0px;
  color: var( --e-global-color-primary );
}

.ammla-md-webmaster-profile {
	display: block;
	margin: 0 0 1.5rem;
	max-width: 100%;
}

.ammla-md-webmaster-profile__form {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
}

.ammla-md-webmaster-profile__field {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0 0 15px;
}

.ammla-md-webmaster-profile__input--username[readonly],
.ammla-md-webmaster-profile__input--role[readonly] {
	background-color: #f7f7f7;
	color: #444444;
	cursor: default;
}

.ammla-md-webmaster-profile__password-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	max-width: 100%;
}

.ammla-md-webmaster-profile__password-input {
	flex: 1 1 12rem;
	min-width: 0;
	margin: 0;
}

.ammla-md-webmaster-profile__required {
	font-weight: 600;
}

.ammla-md-webmaster-profile__actions {
	margin: 0.25rem 0 0;
}

.ammla-md-webmaster-profile__notice {
	margin: 0 0 0.75rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid #d6d2dc;
	background: #f7f5f2;
}

.ammla-md-webmaster-profile__notice--success {
	border-color: #c5c1ba;
}

.ammla-md-webmaster-profile__notice--error {
	border-color: #8a3b32;
}

.ammla-md-webmaster-profile__notice--info {
	border-color: #c5c1ba;
}

.ammla-md-webmaster-profile__notice-text {
	margin: 0;
}

/* Webmaster assigning (0.13.3 compact table) */
.ammla-md-webmaster-assigning {
	display: block;
	margin: 0 0 0.75rem;
	max-width: 100%;
}

.ammla-md-webmaster-assigning__block {
	margin: 0 0 0.5rem;
}

.ammla-md-webmaster-assigning__block:last-child {
	margin-bottom: 0;
}

/*
 * Admin assigning news block only. Base block margin-top is 0; this adds 10px.
 * Personal assigning news does not use this class.
 */
.ammla-md-webmaster-assigning > .ammla-md-all-webmaster-assigning-news.ammla-md-webmaster-assigning__block--news {
	margin-top: 40px;
}

.ammla-md-all-webmaster-assigning {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.ammla-md-all-webmaster-assigning__controls {
	justify-content: flex-start;
	max-width: 100%;
}

.ammla-md-all-webmaster-assigning__controls .ammla-md-listing-filters {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	margin: 0;
}

.ammla-md-all-webmaster-assigning .ammla-md-listing-pagination {
	max-width: 100%;
}

/*
 * Admin assigning institution + news tables — same cell density as
 * .ammla-md-directory-table / listing action buttons. Personal assigning
 * and other tables stay on their existing rules.
 */
.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__table,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__table {
	font-size: 13px;
	line-height: 1.3;
}

.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__table .ammla-md-table__cell,
.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__table .ammla-md-table__cell--action,
.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__table .ammla-md-webmaster-assigning__action-cell,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__table .ammla-md-table__cell,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__table .ammla-md-table__cell--action,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__table .ammla-md-webmaster-assigning__action-cell {
	padding: 2px 10px;
	font-size: 13px;
	line-height: 1.3;
	vertical-align: top;
}

.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__table .ammla-md-table__row--header .ammla-md-table__cell,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__table .ammla-md-table__row--header .ammla-md-table__cell {
	padding: 6px 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__listing-name,
.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__readonly,
.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__repair,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__listing-name,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__readonly,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__repair {
	font-size: 13px;
	line-height: 1.3;
}

.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__table select.ammla-md-webmaster-assigning__responsible-select,
.ammla-md-all-webmaster-assigning button.ammla-md-webmaster-assigning__dropdown-trigger,
.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__dropdown-label,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__table select.ammla-md-webmaster-assigning__responsible-select,
.ammla-md-all-webmaster-assigning-news button.ammla-md-webmaster-assigning__dropdown-trigger,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__dropdown-label {
	padding: 1px 8px;
	font-size: 13px !important;
	line-height: 1.2;
	min-height: 0 !important;
	height: auto;
}

.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__dropdown-label,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__dropdown-label {
	padding: 0;
}

.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__table button.ammla-md-button.ammla-md-webmaster-assigning__submit,
.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__table button.ammla-md-button.ammla-md-webmaster-assigning__submit:hover,
.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__table button.ammla-md-button.ammla-md-webmaster-assigning__submit:focus,
.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__table button.ammla-md-button.ammla-md-webmaster-assigning__submit:active,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__table button.ammla-md-button.ammla-md-webmaster-assigning__submit,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__table button.ammla-md-button.ammla-md-webmaster-assigning__submit:hover,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__table button.ammla-md-button.ammla-md-webmaster-assigning__submit:focus,
.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__table button.ammla-md-button.ammla-md-webmaster-assigning__submit:active {
	padding: 2px 10px !important;
	font-size: 13px !important;
	line-height: 1.2;
	min-height: 0 !important;
	border-radius: 6px !important;
}

@media (max-width: 782px) {
	.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__table .ammla-md-table__cell,
	.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__table .ammla-md-table__cell {
		padding: 2px 8px;
		font-size: 13px;
	}

	.ammla-md-all-webmaster-assigning .ammla-md-webmaster-assigning__table .ammla-md-table__row--header .ammla-md-table__cell,
	.ammla-md-all-webmaster-assigning-news .ammla-md-webmaster-assigning__table .ammla-md-table__row--header .ammla-md-table__cell {
		padding: 6px 8px;
		font-size: 15px;
	}
}

.ammla-md-webmaster-assigning__table-wrapper {
	min-width: 0;
	overflow-x: visible;
}

.ammla-md-webmaster-assigning__table {
	width: 100%;
	table-layout: auto;
	font-size: 15px;
	line-height: 1.3;
}

/* Body zebra only — same band colors as directory/listing standard; no first-column tint/sticky/shadow */
.ammla-md-webmaster-assigning__table tbody .ammla-md-table__row .ammla-md-table__cell {
	background-color: #ffffff;
}

.ammla-md-webmaster-assigning__table tbody .ammla-md-table__row:nth-child(even) .ammla-md-table__cell {
	background-color: #f7f5f2;
}

.ammla-md-webmaster-assigning__table .ammla-md-table__row--header .ammla-md-table__cell {
	padding: 6px 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.ammla-md-webmaster-assigning__table .ammla-md-table__cell {
	padding: 5px 10px;
	font-size: 15px;
	font-weight: normal;
	line-height: 1.3;
	vertical-align: top;
}

.ammla-md-webmaster-assigning__table .ammla-md-table__cell--action,
.ammla-md-webmaster-assigning__table .ammla-md-webmaster-assigning__action-cell {
	padding: 5px 10px;
}

.ammla-md-webmaster-assigning__cell--name {
	width: auto;
	vertical-align: top;
	word-break: break-word;
}

.ammla-md-webmaster-assigning__cell--assignment,
.ammla-md-webmaster-assigning__cell--responsible {
	width: auto;
	vertical-align: top;
}

.ammla-md-webmaster-assigning__table select.ammla-md-webmaster-assigning__responsible-select {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 5px 9px;
	min-height: 0 !important;
	height: auto;
	font-family: inherit;
	font-size: 14px !important;
	font-weight: normal;
	line-height: 1.2;
	color: #444444;
	background-color: #dcdcdc;
	border: 1px solid #BFC3C8;
	border-radius: 6px;
	box-shadow: none;
}

.ammla-md-webmaster-assigning__repair {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.3;
	color: #444444;
}

.ammla-md-webmaster-assigning__cell--action,
.ammla-md-webmaster-assigning__action-cell {
	width: 1%;
	vertical-align: top;
	white-space: nowrap;
}

.ammla-md-webmaster-assigning__listing-name {
	min-width: 0;
	font-size: 15px;
	font-weight: normal;
	line-height: 1.3;
}

.ammla-md-webmaster-assigning__assignment {
	min-width: 0;
}

.ammla-md-webmaster-assigning__readonly {
	color: #666666;
	word-break: break-word;
	font-size: 15px;
	line-height: 1.3;
}

.ammla-md-webmaster-assigning__readonly--action {
	display: inline-block;
}

.ammla-md-webmaster-assigning__form {
	margin: 0;
	max-width: 100%;
	min-width: 0;
}

.ammla-md-webmaster-assigning__dropdown {
	position: relative;
	max-width: 100%;
	margin: 0;
}

button.ammla-md-webmaster-assigning__dropdown-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.25rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 5px 9px;
	min-height: 0;
	height: auto;
	font-family: inherit;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.2;
	color: #444444 !important;
	text-align: left;
	background-color: #dcdcdc !important;
	border: 1px solid #BFC3C8;
	border-radius: 6px;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

button.ammla-md-webmaster-assigning__dropdown-trigger:hover {
	border-color: #98a2b3;
	background-color: #98a2b3 !important;
	color: #444444 !important;
	font-weight: normal;
}

button.ammla-md-webmaster-assigning__dropdown-trigger:focus {
	border-color: #98a2b3;
}

button.ammla-md-webmaster-assigning__dropdown-trigger:focus-visible {
	outline: 2px solid #4a4540;
	outline-offset: 1px;
}

.ammla-md-webmaster-assigning__dropdown-label {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.2;
}

.ammla-md-webmaster-assigning__dropdown-indicator {
	flex: 0 0 auto;
	font-size: 11px;
	line-height: 1;
	color: #444444;
}

.ammla-md-webmaster-assigning__dropdown-panel {
	position: absolute;
	top: calc(100% + 2px);
	left: 0;
	right: 0;
	z-index: 20;
	max-height: 11rem;
	overflow-y: auto;
	background-color: #ffffff;
	border: 1px solid #BFC3C8;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.ammla-md-webmaster-assigning__dropdown-options {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0.2rem 0;
}

.ammla-md-webmaster-assigning__dropdown-option {
	display: flex;
	align-items: flex-start;
	gap: 0.35rem;
	margin: 0;
	padding: 5px 8px;
	font-weight: 400;
	cursor: pointer;
}

.ammla-md-webmaster-assigning__dropdown-option:hover {
	background-color: #f7f7f7;
}

.ammla-md-webmaster-assigning__dropdown-checkbox {
	flex: 0 0 auto;
	margin: 0.1rem 0 0;
}

.ammla-md-webmaster-assigning__dropdown-option-label {
	flex: 1 1 auto;
	min-width: 0;
	word-break: break-word;
	font-size: 14px;
	line-height: 1.3;
	color: #444444;
}

.ammla-md-webmaster-assigning__actions {
	margin-top: 0;
	margin-bottom: 0;
}

.ammla-md-webmaster-assigning__table button.ammla-md-button.ammla-md-webmaster-assigning__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	min-width: 0;
	height: auto;
	min-height: 0 !important;
	margin: 0;
	padding: 5px 10px !important;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.2;
	border: 0;
	border-radius: 6px !important;
	box-sizing: border-box;
	background-color: rgb(82, 113, 140);
	color: #ffffff;
	box-shadow: 0 1px 1px #eeeeee;
}

.ammla-md-webmaster-assigning__table button.ammla-md-button.ammla-md-webmaster-assigning__submit:hover,
.ammla-md-webmaster-assigning__table button.ammla-md-button.ammla-md-webmaster-assigning__submit:focus,
.ammla-md-webmaster-assigning__table button.ammla-md-button.ammla-md-webmaster-assigning__submit:active {
	min-height: 0 !important;
	padding: 5px 10px !important;
	border: 0;
	border-radius: 6px !important;
	background-color: rgba(56, 75, 97, 0.467);
	color: #ffffff !important;
	font-weight: normal !important;
}

.ammla-md-webmaster-assigning__empty {
	margin: 0;
	color: #666666;
	font-size: 15px;
	line-height: 1.3;
}

.ammla-md-webmaster-assigning__notice {
	margin: 0 0 0.5rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid #d6d2dc;
	font-size: 15px;
	line-height: 1.3;
}

.ammla-md-webmaster-assigning__notice--success {
	border-color: #c5c1ba;
}

.ammla-md-webmaster-assigning__notice--error {
	border-color: #8a3b32;
}

.ammla-md-webmaster-assigning__notice-text {
	margin: 0;
}

@media (max-width: 782px) {
	.ammla-md-webmaster-assigning__table .ammla-md-table__cell {
		padding: 5px 8px;
		font-size: 15px;
	}
}

/*
 * Shared directory table optics — Member + Webmaster + institution listings.
 * Typography, padding, zebra, first-column tint.
 * Sticky first column only with .ammla-md-table--sticky-first (not News).
 */
.ammla-md-directory-table {
	table-layout: auto;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.3;
	border-collapse: separate;
	border-spacing: 0;
}

.ammla-md-directory-table .ammla-md-table__row--header .ammla-md-table__cell,
.ammla-md-directory-table .ammla-md-table__cell {
	padding: 2px 10px !important; /* Theme/Elementor cell padding */
	font-family: inherit;
	font-size: 13px !important; /* Theme/Elementor cell font-size */
	font-weight: normal;
	line-height: 1.3;
	vertical-align: top;
	white-space: nowrap;
}

.ammla-md-directory-table .ammla-md-table__row--header .ammla-md-table__cell {
	font-weight: 600;
	font-size: 15px !important; /* Theme/Elementor header font-size */
	padding: 6px 10px !important; /* Theme/Elementor header padding */
}

.ammla-md-directory-table tbody .ammla-md-table__row {
	--ammla-md-directory-row-bg: #ffffff;
	--ammla-md-directory-row-bg-first: #faf9f7;
	background-color: var(--ammla-md-directory-row-bg);
}

.ammla-md-directory-table tbody .ammla-md-table__row:nth-child(even) {
	--ammla-md-directory-row-bg: #f7f5f2;
	--ammla-md-directory-row-bg-first: #efece7;
}

.ammla-md-directory-table tbody .ammla-md-table__row .ammla-md-table__cell {
	background-color: var(--ammla-md-directory-row-bg);
}

.ammla-md-directory-table tbody .ammla-md-table__row .ammla-md-table__cell:first-child {
	background-color: var(--ammla-md-directory-row-bg-first);
}

/*
 * Sticky first column + soft right edge — only tables with .ammla-md-table--sticky-first
 * (Member Directory, Webmaster Directory, Member Institutions, All Member Institutions).
 * Does not apply to News or Assigning.
 */
.ammla-md-table--sticky-first .ammla-md-table__row--header .ammla-md-table__cell:first-child,
.ammla-md-table--sticky-first tbody .ammla-md-table__row .ammla-md-table__cell:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
	/* Soft separation while scrolling under the fixed column — not a card shadow */
	box-shadow: 3px 0 5px -3px rgba(0, 0, 0, 0.1);
}

.ammla-md-table--sticky-first .ammla-md-table__row--header .ammla-md-table__cell:first-child {
	z-index: 3;
	background-color: #f4f1ec;
}

/*
 * Smartphones only: first column scrolls with the table (not sticky).
 * Existing compact breakpoint is 782px (phone + tablet). Use a narrower
 * ceiling so tablets keep sticky-first; phones do not.
 */
@media (max-width: 600px) {
	.ammla-md-table--sticky-first .ammla-md-table__row--header .ammla-md-table__cell:first-child,
	.ammla-md-table--sticky-first tbody .ammla-md-table__row .ammla-md-table__cell:first-child {
		position: static;
		left: auto;
		z-index: auto;
		box-shadow: none;
	}
}

@media (max-width: 782px) {
	.ammla-md-directory-table .ammla-md-table__cell {
		padding: 2px 8px !important;
		font-size: 13px !important;
	}

	.ammla-md-directory-table .ammla-md-table__row--header .ammla-md-table__cell {
		padding: 6px 8px !important;
		font-size: 15px !important;
	}
}

/* Webmaster directory (0.14.0) — directory-specific only */
.ammla-md-webmaster-directory {
	display: block;
	margin: 0;
	max-width: 100%;
}

.ammla-md-webmaster-directory__table-wrapper {
	min-width: 0;
}

.ammla-md-webmaster-directory__table {
	width: 100%;
}

.ammla-md-webmaster-directory__table .ammla-md-table__cell--action,
.ammla-md-webmaster-directory__table .ammla-md-webmaster-directory__cell--edit {
	width: 1%;
	white-space: nowrap;
}

.ammla-md-webmaster-directory__cell--institution {
	width: auto;
	word-break: break-word;
	white-space: normal;
}

.ammla-md-webmaster-directory__controls {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	width: 100%;
	margin: 0 0 0.75rem;
}

.ammla-md-webmaster-directory__toolbar {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	margin: 0 0 0 auto;
}

.ammla-md-webmaster-directory__per-page-form {
	margin: 0;
}

.ammla-md-webmaster-directory__count {
	margin: 0.75rem 0 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font-size: 13px;
	font-weight: normal;
	line-height: 1.35;
	text-align: left;
}

.ammla-md-webmaster-directory__cell--institution-expandable {
	position: relative;
	cursor: pointer;
	padding-right: 1.35em;
}

.ammla-md-webmaster-directory__cell--institution-expandable .ammla-md-webmaster-directory__institutions {
	display: block;
	padding-right: 0;
	max-width: 100%;
	box-sizing: border-box;
}

/*
 * Expand/collapse control — same glyph as .ammla-md-webmaster-directory__sort-indicator.
 * Implemented as span[role=button] so Elementor kit `button` rules never apply.
 * Do not use .ammla-md-button or a native <button>.
 */
.ammla-md-webmaster-directory .ammla-md-webmaster-directory__cell--institution-expandable .ammla-md-webmaster-directory__institutions-toggle,
.ammla-md-webmaster-directory .ammla-md-webmaster-directory__institutions-toggle {
	position: absolute;
	top: 0.3rem;
	right: 0.2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	min-width: 0;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.ammla-md-webmaster-directory .ammla-md-webmaster-directory__institutions-toggle:hover,
.ammla-md-webmaster-directory .ammla-md-webmaster-directory__institutions-toggle:focus,
.ammla-md-webmaster-directory .ammla-md-webmaster-directory__institutions-toggle:active {
	width: auto;
	min-width: 0;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

.ammla-md-webmaster-directory .ammla-md-webmaster-directory__institutions-toggle:focus-visible {
	outline: 2px solid #8a8175;
	outline-offset: 1px;
}

.ammla-md-webmaster-directory__institutions-indicator {
	display: inline;
	margin: 0;
	padding: 0;
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	opacity: 1;
}

.ammla-md-webmaster-directory__sort-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: inherit;
	text-decoration: none;
}

.ammla-md-webmaster-directory__sort-link:hover,
.ammla-md-webmaster-directory__sort-link:focus {
	color: inherit;
	text-decoration: none;
}

.ammla-md-webmaster-directory .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ammla-md-webmaster-directory__cell--email {
	width: auto;
	white-space: nowrap;
}

.ammla-md-webmaster-directory__cell--phone {
	width: auto;
	white-space: nowrap;
}

.ammla-md-webmaster-directory__name,
.ammla-md-webmaster-directory__institutions,
.ammla-md-webmaster-directory__institution-name {
	font: inherit;
	font-weight: normal;
}

.ammla-md-webmaster-directory a.ammla-md-webmaster-directory__institution-name {
	color: inherit;
	text-decoration: none;
}

.ammla-md-webmaster-directory a.ammla-md-webmaster-directory__institution-name:hover,
.ammla-md-webmaster-directory a.ammla-md-webmaster-directory__institution-name:focus {
	color: inherit;
}

.ammla-md-webmaster-directory__email {
	color: inherit;
	text-decoration: underline;
	white-space: nowrap;
}

.ammla-md-webmaster-directory__phone {
	color: inherit;
	text-decoration: underline;
	white-space: nowrap;
}

.ammla-md-webmaster-directory__email:hover,
.ammla-md-webmaster-directory__email:focus,
.ammla-md-webmaster-directory__phone:hover,
.ammla-md-webmaster-directory__phone:focus {
	color: inherit;
}

.ammla-md-webmaster-directory__table a.ammla-md-button.ammla-md-webmaster-directory__edit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	min-width: 0;
	height: auto;
	min-height: 0 !important;
	margin: 0;
	padding: 2px 10px !important;
	font-size: 12px !important;
	font-weight: normal;
	line-height: 1.2;
	border: 0;
	border-radius: 6px !important;
	background-color: rgb(82, 113, 140);
	color: #ffffff;
	box-sizing: border-box;
}

.ammla-md-webmaster-directory__table a.ammla-md-button.ammla-md-webmaster-directory__edit:hover,
.ammla-md-webmaster-directory__table a.ammla-md-button.ammla-md-webmaster-directory__edit:focus,
.ammla-md-webmaster-directory__table a.ammla-md-button.ammla-md-webmaster-directory__edit:active {
	min-height: 0 !important;
	padding: 2px 10px !important;
	font-size: 12px !important;
	border: 0;
	background-color: rgba(56, 75, 97, 0.467);
	color: #ffffff !important;
	font-weight: normal !important;
	border-radius: 6px !important;
}

.ammla-md-webmaster-directory__empty {
	margin: 0;
	color: #666666;
	font-size: 15px;
	line-height: 1.3;
}

.ammla-md-webmaster-directory__sortable-header {
	cursor: pointer;
	user-select: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.ammla-md-webmaster-directory__sort-label,
.ammla-md-webmaster-directory__sort-indicator {
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.ammla-md-webmaster-directory__sort-indicator {
	margin-left: 0.25em;
}

/* Footer logged-in status — inherits Elementor/theme typography */
.ammla-md-logged-in-user {
	font: inherit;
	color: inherit;
}

/* Member Directory (0.21.0) — JetEngine institutions */
.ammla-md-member-directory {
	display: block;
	margin: 0;
	max-width: 100%;
}

.ammla-md-member-directory__filters {
	margin: 0 0 0.75rem;
}

.ammla-md-member-directory__filter-options {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

.ammla-md-member-directory__filter-option {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font: inherit;
	font-size: 15px;
	font-weight: normal;
	line-height: 1.3;
	color: inherit;
	cursor: pointer;
}

.ammla-md-member-directory__filter-apply {
	margin: 0;
}

/* Listing filter search (admin institutions/news) — does not alter directory table rules */
.ammla-md-listing-filters__search {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.ammla-md-listing-filters__search-input {
	box-sizing: border-box;
	width: 12rem;
	max-width: 100%;
	margin: 0;
	padding: 0.25rem 0.5rem;
	font: inherit;
	font-size: 15px;
	font-weight: normal;
	line-height: 1.3;
	color: inherit;
	border: 1px solid #cfc8bf;
	border-radius: 4px;
	background: #fff;
}

.ammla-md-listing-filters__search-input:focus {
	outline: 1px solid #8a8175;
	outline-offset: 1px;
}

/* Compact action buttons in listing tables — DO NOT change; reference size for Public View/Edit/Admin */
.ammla-md-listing__table a.ammla-md-button,
.ammla-md-listing__table button.ammla-md-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	min-width: 0;
	height: auto;
	min-height: 0 !important;
	margin: 0;
	padding: 2px 10px !important;
	font-size: 13px !important;
	font-weight: normal;
	line-height: inherit;
	border: 0;
	border-radius: 6px !important;
	box-shadow: 0 1px 1px #eeeeee;
	white-space: nowrap;
	box-sizing: border-box;
}

.ammla-md-listing__table a.ammla-md-button:hover,
.ammla-md-listing__table a.ammla-md-button:focus,
.ammla-md-listing__table a.ammla-md-button:active,
.ammla-md-listing__table button.ammla-md-button:hover,
.ammla-md-listing__table button.ammla-md-button:focus,
.ammla-md-listing__table button.ammla-md-button:active {
	min-height: 0 !important;
	padding: 2px 10px !important;
	font-size: 13px !important;
	border: 0;
	border-radius: 6px !important;
	box-shadow: 0 1px 1px #eeeeee;
}

.ammla-md-member-directory__empty {
	margin: 0;
	font-size: 15px;
	line-height: 1.3;
}

.ammla-md-member-directory__table-wrapper {
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ammla-md-member-directory-count {
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	text-align: left;
}

.ammla-md-member-directory__table {
	width: max-content;
	min-width: 100%;
}

.ammla-md-member-directory__institution-link {
	color: inherit;
	text-decoration: underline;
	font-weight: inherit;
}

.ammla-md-member-directory__institution-link:hover,
.ammla-md-member-directory__institution-link:focus {
	color: inherit;
}

/* Country is first column — sticky + soft edge via .ammla-md-table--sticky-first */
.ammla-md-member-directory__sortable-header {
	cursor: pointer;
	user-select: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.ammla-md-member-directory__sort-label,
.ammla-md-member-directory__sort-indicator {
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.ammla-md-member-directory__sort-indicator {
	margin-left: 0.25em;
}

.ammla-md-member-directory__email,
.ammla-md-member-directory__phone {
	color: inherit;
	text-decoration: underline;
	white-space: nowrap;
}

.ammla-md-member-directory__email:hover,
.ammla-md-member-directory__email:focus,
.ammla-md-member-directory__phone:hover,
.ammla-md-member-directory__phone:focus {
	color: inherit;
}

.ammla-md-member-directory__website {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	text-decoration: none;
	line-height: 0;
}

.ammla-md-member-directory__website:hover,
.ammla-md-member-directory__website:focus {
	color: inherit;
	opacity: 0.75;
}

.ammla-md-member-directory__website-icon {
	display: block;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

/* Compact action buttons so they do not inflate shared directory row height */
.ammla-md-member-directory__table a.ammla-md-button.ammla-md-member-directory__public-view,
.ammla-md-member-directory__table a.ammla-md-button.ammla-md-member-directory__website-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	min-width: 0;
	height: auto;
	min-height: 0 !important;
	margin: 0;
	padding: 2px 10px !important;
	font-size: 13px !important;
	font-weight: normal;
	line-height: inherit;
	border: 0;
	border-radius: 6px !important;
	white-space: nowrap;
	box-sizing: border-box;
}

.ammla-md-member-directory__table a.ammla-md-button.ammla-md-member-directory__public-view:hover,
.ammla-md-member-directory__table a.ammla-md-button.ammla-md-member-directory__public-view:focus,
.ammla-md-member-directory__table a.ammla-md-button.ammla-md-member-directory__public-view:active,
.ammla-md-member-directory__table a.ammla-md-button.ammla-md-member-directory__website-button:hover,
.ammla-md-member-directory__table a.ammla-md-button.ammla-md-member-directory__website-button:focus,
.ammla-md-member-directory__table a.ammla-md-button.ammla-md-member-directory__website-button:active {
	min-height: 0 !important;
	padding: 2px 10px !important;
	font-size: 13px !important;
	border: 0;
	border-radius: 6px !important;
}

.ammla-md-member-directory-export {
	margin: 0;
}

/* Hidden target for CSV export links — keeps the directory page visible. */
.ammla-md-csv-download-frame {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Password visibility wrap (password-reset set form; icon toggle, not .ammla-md-button) */
.ammla-md-password-reset__input {
	margin-top: 10px;
}

.ammla-md-password-wrap {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ammla-md-password-wrap .ammla-md-password-reset__input {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding-right: 2.75rem;
}

.ammla-md-password-reset .ammla-md-password-toggle {
	position: absolute;
	right: 0.45rem;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0.2rem;
	flex: 0 0 auto;
	width: auto;
	height: auto;
	line-height: 0;
	background: transparent;
	border: 0;
	border-radius: 4px;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.ammla-md-password-reset .ammla-md-password-toggle:hover,
.ammla-md-password-reset .ammla-md-password-toggle:focus,
.ammla-md-password-reset .ammla-md-password-toggle:active {
	background: transparent;
	color: inherit;
	text-decoration: none;
	box-shadow: none;
}

.ammla-md-password-reset .ammla-md-password-toggle:focus-visible {
	outline: 2px solid rgb(82, 113, 140);
	outline-offset: 2px;
}

.ammla-md-password-toggle__icon {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
}

.ammla-md-password-toggle__icon--hide {
	display: none;
}

.ammla-md-password-toggle--revealed .ammla-md-password-toggle__icon--show {
	display: none;
}

.ammla-md-password-toggle--revealed .ammla-md-password-toggle__icon--hide {
	display: block;
}

/* [ammla_all_member_institutions] AJAX listing */
.ammla-md-admin-institutions {
	width: 100%;
	min-width: 0;
}

.ammla-md-admin-institutions__controls {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	width: 100%;
	margin: 0 0 0.75rem;
}

/* Filters must not force a full-width row (would push Show onto the next line). */
.ammla-md-admin-institutions__controls .ammla-md-member-directory__filters,
.ammla-md-admin-institutions__controls .ammla-md-listing-filters {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	margin: 0;
}

.ammla-md-admin-institutions__toolbar {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	margin: 0 0 0 auto;
}

.ammla-md-listing-per-page {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 14px;
	line-height: 1.3;
}

.ammla-md-listing-per-page__select {
	min-width: 4.5rem;
	padding: 0.25rem 0.4rem;
	font: inherit;
	font-size: 14px;
	border: 1px solid #cfc8bf;
	border-radius: 4px;
	background: #fff;
}

.ammla-md-admin-institutions__status,
.ammla-md-admin-institutions__error,
.ammla-md-admin-institutions__count {
	font-size: 13px;
	font-weight: normal;
	line-height: 1.35;
	text-align: left;
}

.ammla-md-admin-institutions__status,
.ammla-md-admin-institutions__error {
	margin: 0 0 0.5rem;
}

/*
 * Table is wrapped in .ammla-md-section (margin-bottom: 1.25rem). That margin
 * sat between the table and the count; zero it only inside results.
 */
.ammla-md-admin-institutions__results > .ammla-md-section {
	margin-bottom: 0;
}

.ammla-md-admin-institutions__count {
	margin-top: 8px;
	margin-bottom: 0;
}

.ammla-md-admin-institutions__error {
	color: #8a3b32;
}

.ammla-md-admin-institutions__add-toolbar,
.ammla-md-admin-news > .ammla-md-member-news__toolbar {
	margin: 0.75rem 0 0;
}

/* Personal [ammla_member_news]: Add remains above the table. */
.ammla-md-member-news > .ammla-md-member-news__toolbar {
	margin: 0 0 0.75rem;
}

.ammla-md-admin-institutions__add,
.ammla-md-member-news__add,
a.ammla-md-button.ammla-md-admin-institutions__add,
a.ammla-md-button.ammla-md-member-news__add {
	display: inline-flex;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	min-width: 0;
	min-height: 0 !important;
}

/* [ammla_all_member_news] AJAX listing */
.ammla-md-admin-news {
	width: 100%;
	min-width: 0;
}

.ammla-md-admin-news__controls {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	width: 100%;
	margin: 0 0 0.75rem;
}

.ammla-md-admin-news__controls .ammla-md-member-directory__filters,
.ammla-md-admin-news__controls .ammla-md-listing-filters {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	margin: 0;
}

.ammla-md-admin-news__status,
.ammla-md-admin-news__error {
	font-size: 13px;
	font-weight: normal;
	line-height: 1.35;
	text-align: left;
	margin: 0 0 0.5rem;
}

.ammla-md-admin-news__error {
	color: #8a3b32;
}

/*
 * Listing pagination — fully isolated from Elementor/theme ul/li/button kit rules.
 * UL/LI only arrange; button dimensions come from __button only.
 */
.ammla-md-listing-pagination {
	display: block;
	margin: 0.75rem 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-sizing: border-box;
}

.ammla-md-listing-pagination .ammla-md-listing-pagination__list,
nav.ammla-md-listing-pagination ul.ammla-md-listing-pagination__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.35rem;
	width: auto;
	max-width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	list-style-type: none !important;
	border: 0;
	background: transparent;
	box-sizing: border-box;
}

.ammla-md-listing-pagination .ammla-md-listing-pagination__item,
nav.ammla-md-listing-pagination li.ammla-md-listing-pagination__item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	background: transparent;
	list-style: none !important;
	list-style-type: none !important;
	box-sizing: border-box;
}

.ammla-md-listing-pagination .ammla-md-listing-pagination__item::before,
.ammla-md-listing-pagination .ammla-md-listing-pagination__item::after,
.ammla-md-listing-pagination .ammla-md-listing-pagination__item::marker,
nav.ammla-md-listing-pagination li.ammla-md-listing-pagination__item::before,
nav.ammla-md-listing-pagination li.ammla-md-listing-pagination__item::after,
nav.ammla-md-listing-pagination li.ammla-md-listing-pagination__item::marker {
	content: none !important;
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 0 !important;
	height: 0 !important;
	border: 0 !important;
	background: none !important;
}

.ammla-md-listing-pagination .ammla-md-listing-pagination__button,
.ammla-md-listing-pagination button.ammla-md-listing-pagination__button,
.ammla-md-listing-pagination span.ammla-md-listing-pagination__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	min-width: 0;
	height: auto;
	min-height: 0 !important;
	margin: 0;
	padding: 0.25rem 0.55rem !important;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 13px !important;
	font-weight: normal;
	line-height: 1.3 !important;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	white-space: nowrap;
	color: #444444;
	background-color: #ffffff;
	border: 1px solid #cfc8bf;
	border-radius: 4px !important;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	vertical-align: middle;
}

.ammla-md-listing-pagination button.ammla-md-listing-pagination__button:hover,
.ammla-md-listing-pagination button.ammla-md-listing-pagination__button:focus,
.ammla-md-listing-pagination button.ammla-md-listing-pagination__button:active,
.ammla-md-listing-pagination button.ammla-md-listing-pagination__button:focus-visible {
	width: auto;
	min-width: 0;
	height: auto;
	min-height: 0 !important;
	padding: 0.25rem 0.55rem !important;
	margin: 0;
	font-size: 13px !important;
	font-weight: normal !important;
	line-height: 1.3 !important;
	color: #444444 !important;
	background-color: #ffffff;
	border: 1px solid #8a8175;
	border-radius: 4px !important;
	box-shadow: none;
	text-decoration: none;
}

.ammla-md-listing-pagination button.ammla-md-listing-pagination__button:focus-visible {
	outline: 2px solid #8a8175;
	outline-offset: 1px;
}

.ammla-md-listing-pagination .ammla-md-listing-pagination__button--current,
.ammla-md-listing-pagination span.ammla-md-listing-pagination__button--current {
	font-weight: 600 !important;
	background-color: #f4f1ec;
	border-color: #cfc8bf;
	cursor: default;
}

.ammla-md-listing-pagination .ammla-md-listing-pagination__button--disabled,
.ammla-md-listing-pagination span.ammla-md-listing-pagination__button--disabled {
	opacity: 0.45;
	cursor: default;
	pointer-events: none;
}

/* [ammla_notification_settings] */
.ammla-md-notification-settings {
	max-width: 28rem;
}

.ammla-md-notification-settings__notice {
	margin: 0 0 0.75rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid #c5c1ba;
	background: #f7f5f2;
}

.ammla-md-notification-settings__notice--success {
	border-color: #c5c1ba;
}

.ammla-md-notification-settings__notice--error {
	border-color: #8a3b32;
}

.ammla-md-notification-settings__notice-text {
	margin: 0;
}

.ammla-md-notification-settings__form {
	margin: 0;
}

.ammla-md-notification-settings__options {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
}

.ammla-md-notification-settings__option {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 16px;
	font-weight: normal;
	line-height: 1.35;
	color: inherit;
	cursor: pointer;
}

.ammla-md-notification-settings__checkbox {
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	margin: 0.1em 0 0;
	padding: 0;
	vertical-align: top;
	accent-color: #90B2D1;
}

.ammla-md-notification-settings__option-text {
	flex: 1 1 auto;
	min-width: 0;
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.ammla-md-notification-settings__actions {
	margin: 14px 0 0;
	padding: 0;
}

/*
 * Elementor container .ammla-notifications on /webmaster-profile/.
 * Body class set server-side when TARGET cannot manage notification settings (1.5.2).
 */
body.ammla-notifications-hidden .ammla-notifications {
	display: none !important;
}

/*
 * Formidable logo / hero / gallery thumbnails (0.38.29).
 * Compact 75×75 previews only — no filename/size. Brochure untouched.
 * Scoped under .ammla-md-image-upload*.
 */
.ammla-md-image-upload.frm_dropzone .dz-preview {
	position: relative;
	box-sizing: border-box;
	display: block;
	float: none;
	clear: none;
	width: 75px;
	height: 75px;
	min-height: 0;
	max-width: 75px;
	margin: 8px 10px 4px 0;
	padding: 0;
	border: 1px solid #d8dee6;
	border-radius: 6px;
	background: #fff;
	overflow: visible;
}

.ammla-md-image-upload.frm_dropzone .dz-preview .dz-image,
.frm_compact .ammla-md-image-upload.frm_dropzone .dz-preview .dz-image {
	display: block !important; /* Formidable: .frm_compact … .dz-image { display:none } */
	float: none;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	max-width: none; /* Formidable dropzone.css: .dz-image { max-width: 30% } */
	aspect-ratio: 1 / 1;
	margin: 0;
	overflow: hidden;
	border-radius: 5px;
	background: #f4f6f8;
}

.ammla-md-image-upload.frm_dropzone .dz-preview .dz-image img,
.ammla-md-image-upload.frm_dropzone .dz-preview .ammla-md-image-upload__thumbnail {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	margin: 0;
	max-width: none;
	max-height: none;
	object-position: center;
}

/* Flatten Formidable wrappers so .dz-remove positions against .dz-preview. */
.ammla-md-image-upload.frm_dropzone .dz-preview .dz-column,
.ammla-md-image-upload.frm_dropzone .dz-preview .dz-details {
	display: contents;
}

.ammla-md-image-upload.frm_dropzone .dz-preview .dz-filename,
.ammla-md-image-upload.frm_dropzone .dz-preview .dz-size,
.frm_compact .ammla-md-image-upload.frm_dropzone .dz-preview .dz-filename,
.frm_compact .ammla-md-image-upload.frm_dropzone .dz-preview .dz-size {
	display: none !important;
}

.ammla-md-image-upload.frm_dropzone .dz-preview input[type='hidden'] {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	pointer-events: none;
}

.ammla-md-image-upload.frm_dropzone .dz-preview .dz-remove {
	position: absolute;
	top: -6px;
	right: -6px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 1px #c5ccd6;
	color: #5a6570;
	text-decoration: none;
	line-height: 1;
}

.ammla-md-image-upload--logo.frm_dropzone .dz-preview .dz-image img,
.ammla-md-image-upload--logo.frm_dropzone .dz-preview .ammla-md-image-upload__thumbnail {
	object-fit: contain;
}

.ammla-md-image-upload--hero.frm_dropzone .dz-preview .dz-image img,
.ammla-md-image-upload--hero.frm_dropzone .dz-preview .ammla-md-image-upload__thumbnail,
.ammla-md-image-upload--gallery.frm_dropzone .dz-preview .dz-image img,
.ammla-md-image-upload--gallery.frm_dropzone .dz-preview .ammla-md-image-upload__thumbnail {
	object-fit: cover;
}

/* Keep progress during upload; hide after complete/success. */
.ammla-md-image-upload.frm_dropzone .dz-preview.dz-processing:not(.dz-complete):not(.dz-success) {
	height: auto;
	min-height: 75px;
}

.ammla-md-image-upload.frm_dropzone .dz-preview.dz-processing:not(.dz-complete):not(.dz-success) .dz-progress {
	display: block;
	position: absolute;
	left: 4px;
	right: 4px;
	bottom: 4px;
	width: auto;
	height: 5px;
	margin: 0;
	z-index: 1;
}

.ammla-md-image-upload.frm_dropzone .dz-preview.dz-complete .dz-progress,
.ammla-md-image-upload.frm_dropzone .dz-preview.dz-success .dz-progress,
.ammla-md-image-upload.frm_dropzone .dz-preview:not(.dz-processing) .dz-progress {
	display: none !important; /* Formidable leaves a styled bar after complete */
}

.ammla-md-image-upload.frm_dropzone .dz-message {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: 14px 12px;
	min-height: 0;
}

/* Gallery: fixed 75px tiles, wrap — no stretched 1fr cards. */
.ammla-md-image-upload--gallery.frm_dropzone {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0;
}

.ammla-md-image-upload--gallery.frm_dropzone > .fallback {
	display: contents;
}

.ammla-md-image-upload--gallery.frm_dropzone .dz-message,
.ammla-md-image-upload--gallery.frm_dropzone .fallback > input[type='file'],
.ammla-md-image-upload--gallery.frm_dropzone .fallback > .frm_clearfix,
.ammla-md-image-upload--gallery.frm_dropzone > .frm_clearfix {
	flex: 1 1 100%;
	width: 100%;
}

.ammla-md-image-upload--gallery.frm_dropzone .dz-preview {
	flex: 0 0 75px;
}

/*
 * Formidable: .frm_form_field:not(.frm_compact) .frm_dropzone.frm_multi_upload
 * .dz-message + .dz-preview { margin-top: 16px; } — first gallery tile only.
 */
.frm_form_field:not(.frm_compact) .ammla-md-image-upload--gallery.frm_dropzone.frm_multi_upload .dz-message + .dz-preview,
.ammla-md-image-upload--gallery.frm_dropzone .dz-message + .dz-preview {
	margin-top: 8px;
}
.frm_form_field:not(.frm_compact) .frm_dropzone.frm_multi_upload, 
.frm_form_field:not(.frm_compact) .frm_dropzone {
	padding: 5px 10px;
}

/* -------------------------------------------------------------------------
 * Institution view/type switcher ([ammla_institution_view_switcher])
 * ------------------------------------------------------------------------- */

.ammla-md-iv-switcher {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0 0 1rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ammla-md-iv-switcher__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	max-width: 100%;
}

/* View row: controls only, right-aligned within the shortcode widget. */
.ammla-md-iv-switcher__group--view {
	justify-content: flex-end;
	width: 100%;
}

.ammla-md-iv-switcher__label {
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: inherit;
	min-width: 7rem;
}

.ammla-md-iv-switcher__view-options {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 0.35rem;
	max-width: 100%;
}

/*
 * Cards/List/Map use the same .ammla-md-button as [ammla_all_institutions_button].
 * No geometry/typography overrides here — only Active = Hover background.
 * Existing .ammla-md-button:hover already covers inactive hover.
 */
.ammla-md-iv-switcher__view-options .ammla-md-button.is-active,
.ammla-md-iv-switcher__view-options .ammla-md-button[aria-checked='true'] {
	background-color: rgba(56, 75, 97, 0.467);
}

.ammla-md-iv-switcher__type-options {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	max-width: 100%;
}

/* View panels — Elementor sections/containers get these classes */
body.ammla-md-iv-view-cards .ammla-md-iv-panel--list,
body.ammla-md-iv-view-cards .ammla-md-iv-panel--map,
body.ammla-md-iv-view-list .ammla-md-iv-panel--cards,
body.ammla-md-iv-view-list .ammla-md-iv-panel--map,
body.ammla-md-iv-view-map .ammla-md-iv-panel--cards,
body.ammla-md-iv-view-map .ammla-md-iv-panel--list {
	display: none !important;
}

.ammla-md-iv-panel[hidden] {
	display: none !important;
}

/*
 * Shared busy state (assets/js/busy.js): the native wait cursor is the only loading indicator.
 * !important: child/inline cursors (buttons, links, inputs, Elementor widgets, Google Maps) would override.
 */
body.ammla-md-loading,
body.ammla-md-loading * {
	cursor: wait !important;
}

/*
 * Public institution list — content-driven column widths (scoped; does not alter other AMMLA tables).
 *
 * Root cause of narrow Type column: global .ammla-md-table__cell--type { width: 1% } combined with
 * list override white-space: normal (0.39.5). Institution column global nowrap also hoards width.
 */
.ammla-md-institution-list__table {
	table-layout: auto;
	width: 100%;
}

@media (min-width: 783px) {
	.ammla-md-institution-list__table .ammla-md-table__cell--country,
	.ammla-md-institution-list__table .ammla-md-table__cell--type {
		width: auto;
		max-width: none;
		white-space: nowrap;
	}

	.ammla-md-institution-list__table .ammla-md-table__cell--institution,
	.ammla-md-institution-list__table .ammla-md-table__cell--address {
		width: auto;
		max-width: none;
		white-space: normal;
	}
}

@media (max-width: 782px) {
	.ammla-md-institution-list__table .ammla-md-table__cell--country,
	.ammla-md-institution-list__table .ammla-md-table__cell--type,
	.ammla-md-institution-list__table .ammla-md-table__cell--institution,
	.ammla-md-institution-list__table .ammla-md-table__cell--address {
		white-space: normal;
		max-width: none;
	}
}

/* [ammla_news_delete] — destructive action below Formidable save */
.ammla-md-news-delete {
	margin: 0;
	padding: 0;
	max-width: 100%;
}

.ammla-md-news-delete__form {
	margin: 0;
	padding: 0;
}

.ammla-md-news-delete__notice {
	margin: 0 0 0.75rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid #c5c1ba;
	background: #f7f5f2;
}

.ammla-md-news-delete__notice--error {
	border-color: #8a3b32;
}

.ammla-md-news-delete__notice-text,
.ammla-md-news-delete-notice__text {
	margin: 0;
}

.ammla-md-news-delete-notice {
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid #c5c1ba;
	background: #f7f5f2;
}

button.ammla-md-button.ammla-md-news-delete__button,
button.ammla-md-button.ammla-md-news-delete__button:hover,
button.ammla-md-button.ammla-md-news-delete__button:focus,
button.ammla-md-button.ammla-md-news-delete__button:active {
	background-color: #8a3b32 !important;
	color: #ffffff !important;
	font-weight: normal !important;
}

button.ammla-md-button.ammla-md-news-delete__button:hover,
button.ammla-md-button.ammla-md-news-delete__button:focus,
button.ammla-md-button.ammla-md-news-delete__button:active {
	background-color: #6e2f28 !important;
}
.jet-login p {
  margin-bottom: 10px !important;
}


/* -------------------------------------------------------------------------
 * Short links ([ammla_short_links]) — scoped under .ammla-md-short-links
 * ------------------------------------------------------------------------- */

.ammla-md-short-links__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin: 0 0 1rem;
}

.ammla-md-short-links__search {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	flex: 1 1 16rem;
	margin: 0;
}

.ammla-md-short-links__search-input {
	flex: 1 1 12rem;
	min-width: 10rem;
	max-width: 28rem;
	padding: 6px 10px;
	font-size: 14px;
	border: 1px solid #e6e2dc;
	border-radius: 8px;
	background: #fff;
}

.ammla-md-short-links__notice {
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid #c5c1ba;
	background: #f7f5f2;
}

.ammla-md-short-links__notice--success {
	border-color: #b7c4b0;
}

.ammla-md-short-links__notice--error {
	border-color: #d0b0aa;
}

.ammla-md-short-links__notice-text {
	margin: 0;
}

.ammla-md-short-links__table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ammla-md-short-links__table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #e6e2dc;
	table-layout: auto;
}

.ammla-md-short-links__row--header .ammla-md-short-links__cell {
	background: #f4f1ec;
	font-size: 15px;
	font-weight: 600;
	padding: 6px 10px;
	text-align: left;
	border-bottom: 1px solid #e6e2dc;
	white-space: nowrap;
}

.ammla-md-short-links__cell {
	font-size: 13px;
	line-height: 1.3;
	padding: 2px 10px;
	border-bottom: 1px solid #e6e2dc;
	vertical-align: middle;
}

.ammla-md-short-links__table tbody .ammla-md-short-links__row:nth-child(odd) {
	background: #ffffff;
}

.ammla-md-short-links__table tbody .ammla-md-short-links__row:nth-child(even) {
	background: #f7f5f2;
}

.ammla-md-short-links__table tbody .ammla-md-short-links__row:hover {
	background: #efece7;
}

.ammla-md-short-links__sort {
	color: inherit;
	text-decoration: none;
}

.ammla-md-short-links__sort:hover,
.ammla-md-short-links__sort:focus {
	text-decoration: underline;
}

.ammla-md-short-links__cell--title {
	white-space: nowrap;
}

.ammla-md-short-links__cell--short {
	white-space: nowrap;
}

.ammla-md-short-links__short-link {
	display: inline-block;
	white-space: nowrap;
	vertical-align: bottom;
}

.ammla-md-short-links__cell--dest {
	max-width: 0;
	width: 35%;
}

.ammla-md-short-links__dest-text {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ammla-md-short-links__cell--clicks,
.ammla-md-short-links__cell--status {
	white-space: nowrap;
	width: 1%;
}

.ammla-md-short-links__status {
	display: inline-block;
	font-size: 12px;
	white-space: nowrap;
}

.ammla-md-short-links__cell--actions {
	white-space: nowrap;
	width: 1%;
}

.ammla-md-short-links__actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 4px;
}

.ammla-md-short-links__action,
a.ammla-md-short-links__action,
button.ammla-md-short-links__action {
	appearance: none;
	-webkit-appearance: none;
	display: inline-block;
	box-sizing: border-box;
	margin: 0;
	padding: 3px 7px;
	border: 0;
	border-radius: 5px;
	background: rgb(82, 113, 140);
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	vertical-align: middle;
}

.ammla-md-short-links__action:hover,
.ammla-md-short-links__action:focus,
.ammla-md-short-links__action:active,
a.ammla-md-short-links__action:hover,
a.ammla-md-short-links__action:focus,
a.ammla-md-short-links__action:active,
button.ammla-md-short-links__action:hover,
button.ammla-md-short-links__action:focus,
button.ammla-md-short-links__action:active {
	background: rgba(56, 75, 97, 0.75);
	color: #fff;
	text-decoration: none;
}

.ammla-md-short-links__inline-form {
	display: inline-flex;
	margin: 0;
	padding: 0;
	border: 0;
}

.ammla-md-short-links__form-title {
	margin-top: 0;
}

.ammla-md-short-links__back {
	margin: 0 0 0.75rem;
}

.ammla-md-short-links__back-link,
.ammla-md-short-links__cancel {
	color: rgb(82, 113, 140);
	text-decoration: underline;
}

.ammla-md-short-links__field {
	margin: 0 0 0.85rem;
	max-width: 36rem;
}

.ammla-md-short-links__label {
	display: block;
	margin: 0 0 0.25rem;
	font-size: 14px;
	font-weight: 600;
}

.ammla-md-short-links__required {
	color: #8a3b32;
}

.ammla-md-short-links__input,
.ammla-md-short-links__select {
	display: block;
	width: 100%;
	max-width: 36rem;
	padding: 6px 10px;
	font-size: 14px;
	border: 1px solid #e6e2dc;
	border-radius: 8px;
	background: #fff;
	box-sizing: border-box;
}

.ammla-md-short-links__help {
	margin: 0.35rem 0 0;
	font-size: 13px;
	color: #5c5852;
}

.ammla-md-short-links__field--checkbox {
	margin-top: 1rem;
}

.ammla-md-short-links__checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 14px;
}

.ammla-md-short-links__form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-top: 1rem;
}

@media (max-width: 782px) {
	.ammla-md-short-links__toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.ammla-md-short-links__search {
		flex: 1 1 auto;
	}

	.ammla-md-short-links__actions {
		flex-wrap: wrap;
	}
}

/* Institution card gallery placeholder (empty gallery → Dummy, same JE geometry classes). */
.ammla-md-gallery-fallback.jet-engine-gallery-slider {
	overflow: hidden;
	width: 100%;
}

.ammla-md-gallery-fallback .swiper-wrapper {
	display: block;
	width: 100%;
}

.ammla-md-gallery-fallback .jet-engine-gallery-slider__item-wrap {
	display: block;
	width: 100%;
	line-height: 0;
}

.ammla-md-gallery-fallback__img,
.ammla-md-gallery-fallback .jet-engine-gallery-slider__item-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center;
}

/* AMMLA Board read-only: Formidable edit forms (Forms\Read_Only_View adds the form class). */
.ammla-md-form--read-only .frm_submit,
.ammla-md-form--read-only .frm_save_draft,
.ammla-md-form--read-only .frm_repeat_buttons,
.ammla-md-form--read-only .frm_add_form_row,
.ammla-md-form--read-only .frm_remove_form_row,
.ammla-md-form--read-only .frm_dropzone .dz-message,
.ammla-md-form--read-only .dz-remove {
	display: none !important; /* fallback if a Formidable Pro hook does not run; Formidable sets display on these controls */
}

.ammla-md-form--read-only input[readonly],
.ammla-md-form--read-only textarea[readonly],
.ammla-md-form--read-only select[disabled],
.ammla-md-form--read-only input[disabled] {
	background-color: #f7f7f7;
	color: #444444;
	cursor: default;
}

.ammla-md-form--read-only .frm_switch_block {
	cursor: default;
	pointer-events: none;
}

/* AMMLA Board read-only: webmaster profile and member administration. */
.ammla-md-webmaster-profile--read-only .ammla-md-webmaster-profile__input[readonly] {
	background-color: #f7f7f7;
	color: #444444;
	cursor: default;
}

.ammla-md-webmaster-management__additional-list {
	margin: 0 0 15px;
	padding-left: 1.25rem;
}

.ammla-md-webmaster-management__additional-item {
	margin: 0;
}
