/* AlpineJS support */
[sl-x-cloak] { display: none !important; }

/* SL - X New Modal */
.sl-x-modal {
	position: fixed;
	inset: 0;
	z-index: 100910;
	align-items: start;
	justify-content: center;
	background: rgba(0,0,0,0.5);
	backdrop-filter: blur(1px);
	padding-top: 50px;
}

.sl-x-modal__wrapper {
	max-width: 800px;
	width: 100%;
	flex-direction: column;
	background-color: #fff;
	position: relative;
}

.sl-x-modal__close-button {
	position: absolute;
	left: -15px;
	top: -15px;
	border: 1px solid rgba(0, 0, 0, 0.25);
	background-color: #fff;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.sl-x-modal__close-button span {
	font-size: 14px;
	line-height: 14px;
}

.sl-x-modal__header {
	padding: 15px 20px;
	border-bottom: 1px solid #ddd;
	background-color: #f5f5f5;
}

.sl-x-modal__header > h3 > span {
	text-transform: capitalize;
}

.sl-x-modal__section {
	padding: 15px 20px;
	background-color: #fff;
	border-top: 1px solid #ddd;
}

.sl-x-modal__section--secondary {
	background-color: #f5f5f5;
}

.sl-x-modal__footer {
	display: flex;
	justify-content: flex-end;
	background-color: #f5f5f5;
	padding: 15px 20px;
	border-top: 1px solid #ddd;
}

.sl-x-modal__spinner {
	float: none !important;
	margin: 30px auto;
	position: relative;
	top: -15px;
}

.sl-x-modal__selected-wrapper {
	padding: 0;
	max-height: 150px;
	overflow: auto;
	display: flex;
	flex-wrap: wrap;
	margin-right: -3px;
	margin-left: -3px;
}

.sl-x-modal__selected-item {
	padding: 2px 10px 2px 5px;
	border: 1px solid #d4d4d4;
	margin: 3px;
	background-color: #fff;
	border-radius: 10px;
	display: flex;
	align-items: center;
	min-height: 30px;
	height: 30px;
}

.sl-x-modal__selected-item button {
	margin-right: 10px !important;
	display: flex !important;
	align-items: center;
	border-radius: 6px !important;

	color: #890000 !important;
	font-size: 12px !important;
	line-height: 12px !important;
}

.sl-x-selector {
	display: flex;
}

.sl-x-selector button {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.sl-x-modal__search-bar {
	display: flex;
	flex-wrap: wrap;
	padding: 5px 10px 10px;
}

.sl-x-modal__bar-group {
	display: flex;
	flex-direction: column;
	margin: 10px;
}

.sl-x-modal__bar-group label {
	margin-bottom: 2px;
	color: #111;
}

.sl-x-modal__bar-group .ts-wrapper {
	min-height: 30px;
	min-width: 100px;
}

.sl-x-modal__bar-group .ts-control > input {
	min-width: unset;
}

.sl-x-modal__bar-group .ts-wrapper.single .ts-control {
	background-image: none;
}

.sl-x-modal__bar-group  .ts-control {
	padding-top: 5px;
	padding-bottom: 5px;
}

.sl-x-modal__bar-group .plugin-dropdown_input .dropdown-input {
	padding: 2px 8px;
}

#sl-x-modal__field__season + .ts-wrapper {
	width: 100px;
}

#sl-x-modal__field__league + .ts-wrapper {
	width: 220px;
}

#sl-x-modal__field__country + .ts-wrapper {
	width: 180px;
}

#sl-x-modal__field__club + .ts-wrapper, #sl-x-modal__field__club-home + .ts-wrapper, #sl-x-modal__field__club-away + .ts-wrapper {
	width: 180px;
}

.sl-x-modal__bar-group .ts-wrapper.single .ts-control:not(.rtl)::after {
	left: 8px;
}

.sl-x-modal__section-main {
	max-height: 300px;
	overflow-y: auto;
}

.sl-x-modal__section-main table thead td,
.sl-x-modal__section-main table tfoot td {
	white-space: nowrap;
}

.sl-x-modal__section-main {
	border-top: 1px solid #ddd;
}

.sl-x-modal__clear-filter {
	margin-right: auto;
	font-size: 14px;
	color: #85181d;
	cursor: pointer;
}

.sl-x-modal__section-action {
	padding: 0 !important;
	width: 30px;
	height: 30px;
	border-radius: 8px !important;

	display: flex !important;
	justify-content: center;

	font-size: 24px !important;
	line-height: 24px !important;
}

.ts-control .anwp-d-flex {
	display: flex !important;
}

/*--------------------------------------------------------------
>>> Some Global Styles for Sports Leagues Admin part:
----------------------------------------------------------------*/

.anwp-align-items-center {
	align-items: center;
}

.anwp-sl-help-header-link {
	border-radius: 50%;
	background-color: #fff;
	color: #717171;
	font-size: 13px;
	width: 22px;
	height: 22px;
	text-align: center;
	text-decoration: none;
	line-height: 20px;
	border: 1px solid #d9d9d9;
	display: inline-block;
	margin-top: 4px;
}

.anwp-sl-widget-select {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Update - 2024-09-29 - Temp Safari 18 fix //////////////////////////////////////////// */
:root #post-body #postbox-container-2 {
	clear: right;
}

/* Update - 2020-11-29 ///////////////////////////////////////////////////////////////// */
.d-none {
	display: none;
}

.anwp-mr-2 {
	margin-left: 0.5rem !important;
}

.anwp-ml-2 {
	margin-right: 0.5rem !important;
}

.anwp-mt-2 {
	margin-top: 0.5rem;
}

.anwp-sl-shortcode-modal__select2-dropdown {
	z-index: 10000065 !important;
}

.anwp-sl-shortcode-modal__select2-dropdown .select2-search__field {
	line-height: 1;
}

.anwp-d-flex {
	display: flex !important;
}

.anwp-d-flex--noimp {
	display: flex;
}

.anwp-flex-grow-1 {
	-ms-flex-positive: 1!important;
	flex-grow: 1!important;
}

.anwp-search-is-active.anwp-sl-shortcode-modal__content {
	padding: 40px !important;
}

.anwp-alert-warning {
	color: #856404;
	background-color: #fff3cd;
	padding: 5px 10px;
	border: 1px solid #fdcc38 !important;
}

/* Update - 2020-06-16 ///////////////////////////////////////////////////////////////// */
.anwp-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	stroke-width: 4px;
	stroke: #495057;
	fill: #fff;

	transition: stroke 0.15s ease-in-out;
}

.anwp-icon--octi {
	stroke: none;
	fill: #495057;
	stroke-width: 2px;
}

/**  **/
.anwp-g-admin-list-input.hasDatepicker {
	width: 100px;
}


/* CMB2 notice */
.anwp-sl-cmb2-notice h3 {
	margin: 15px 0 5px;
	font-size: 1.2em;
}

.anwp-sl-cmb2-notice img {
	float: right;
	width: 95px;
	margin-left: 15px;
	margin-top: 15px;
	margin-bottom: 10px;
}

.anwp-sl-cmb2-notice img:first-child {
	margin-left: 10px;
}

.anwp-sl-cmb2-notice p {
	margin: 10px 0;
}

.anwp-sl-cmb2-notice p.anwp-notice-clear-both {
	clear: both;
	margin: 0 !important;
}

.anwp-sl-cmb2-notice a.button + a.button {
	margin-right: 5px;
}

/* TinyMCE Button Icon */
.mce-btn .sl-shortcode-button-icon {
	background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjY2xpcDApIj48cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIGZpbGw9IndoaXRlIi8+PHBhdGggZD0iTTYuODE5NDMgMTUuMTgyQzYuMjc4MSAxNS4xODIgNS43NjAxIDE1LjEyMTMgNS4yNjU0MyAxNUM0Ljc4MDEgMTQuODc4NyA0LjM2MDEgMTQuNzE1MyA0LjAwNTQzIDE0LjUxTDQuMTczNDMgMTIuNjM0QzQuNTkzNDMgMTIuODk1MyA1LjAzMjEgMTMuMTAwNyA1LjQ4OTQzIDEzLjI1QzUuOTU2MSAxMy4zOSA2LjM4NTQzIDEzLjQ2IDYuNzc3NDMgMTMuNDZDNy4yMjU0MyAxMy40NiA3LjU4OTQzIDEzLjM2NjcgNy44Njk0MyAxMy4xOEM4LjE0OTQzIDEyLjk5MzMgOC4yODk0MyAxMi43NDYgOC4yODk0MyAxMi40MzhDOC4yODk0MyAxMi4xODYgOC4xOTYxIDExLjk5NDcgOC4wMDk0MyAxMS44NjRDNy44MjI3NiAxMS43MjQgNy41Mjg3NiAxMS41NzQ3IDcuMTI3NDMgMTEuNDE2TDYuNzkxNDMgMTEuMjc2QzYuNzQ0NzYgMTEuMjU3MyA2LjY5MzQzIDExLjIzODcgNi42Mzc0MyAxMS4yMkM2LjU4MTQzIDExLjE5MiA2LjUxNjEgMTEuMTY0IDYuNDQxNDMgMTEuMTM2QzUuOTE4NzYgMTAuOTIxMyA1LjQ5ODc2IDEwLjcyMDcgNS4x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NS42NzZaIiBmaWxsPSIjMDk0NjBDIi8+PHBhdGggZD0iTTAgLTguNzQyMjhlLTA3TDIwIDBMMjAgMS41TC02LjU1NjdlLTA4IDEuNUwwIC04Ljc0MjI4ZS0wN1oiIGZpbGw9IiMwOTQ2MEMiLz48cGF0aCBkPSJNMCAxOC41TDIwIDE4LjVMMjAgMjBMLTYuNTU2N2UtMDggMjBMMCAxOC41WiIgZmlsbD0iIzA5NDYwQyIvPjxwYXRoIGQ9Ik0yMCAwTDIwIDIwTDE4LjUgMjBMMTguNSAtMS4zMTEzNGUtMDdMMjAgMFoiIGZpbGw9IiMwOTQ2MEMiLz48cGF0aCBkPSJNMS41IDBMMS41IDIwTDAgMjBMMy4wNTk3NmUtMDYgLTEuMzExMzRlLTA3TDEuNSAwWiIgZmlsbD0iIzA5NDYwQyIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImNsaXAwIj48cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIGZpbGw9IndoaXRlIi8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+');
}

.anwp-shortcode-select2-dropdown {
	z-index: 105000 !important;
}

.anwp-info-badge {
	background-color: #0073aa;
	color: #fff;
	padding: 3px 5px;
	line-height: 1;
	display: inline-block;
	text-transform: uppercase;
	font-size: 11px;
	margin-left: 3px;
}

.anwp-text-muted {
	color: #999;
}

/*--------------------------------------------------------------
# Admin Widget UI
--------------------------------------------------------------*/
.anwp-widget-docs {
	text-align: left;
	margin: 12px 1px 0;
}

.anwp-widget-docs + p {
	margin-top: 0;
}

.anwp-widget-desc {
	line-height: 1.3;
	margin-top: 2px;
	display: inline-block;
	font-size: 85%;
	color: #555;
}

body.wp-admin.widgets-php div.widget[id*="_sl-widget-"] .widget-title > h3 {
	position: relative;
	padding-right: 34px;
}

body.wp-admin.widgets-php div.widget[id*="_sl-widget-"] .widget-title > h3:before {
	content: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0i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PSJNMCAxOC41TDIwIDE4LjVMMjAgMjBMLTYuNTU2N2UtMDggMjBMMCAxOC41WiIgZmlsbD0iIzA5NDYwQyIvPjxwYXRoIGQ9Ik0yMCAwTDIwIDIwTDE4LjUgMjBMMTguNSAtMS4zMTEzNGUtMDdMMjAgMFoiIGZpbGw9IiMwOTQ2MEMiLz48cGF0aCBkPSJNMS41IDBMMS41IDIwTDAgMjBMMy4wNTk3NmUtMDYgLTEuMzExMzRlLTA3TDEuNSAwWiIgZmlsbD0iIzA5NDYwQyIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImNsaXAwIj48cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIGZpbGw9IndoaXRlIi8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+');
	display: inline-block;
	width: 16px;
	height: 16px;
	position: absolute;
	top: 12px;
	right: 8px;
}

/*--------------------------------------------------------------
# Others
--------------------------------------------------------------*/
.anwp-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	stroke-width: 0;
	stroke: none;
	fill: #595959;
}

.anwp-g-float-left {
	float: right;
}

.anwp-g-admin-list-input {
	line-height: 28px;
	height: 28px;
	vertical-align: middle;
}

.anwp-metabox-tabs__control-item span {
	width: min-content !important;
	margin: auto;
}

.anwp-metabox-tabs__control-item {
	text-align: center;
}

.menu-top.toplevel_page_sports-leagues {
	margin-top: 11px;
}

.post-type-sl_tournament #post-body-content {
	margin-bottom: 0;
}

body.wp-admin.post-type-sl_tournament table.wp-list-table.fixed,
body.wp-admin.post-type-sl_team table.wp-list-table.fixed,
body.wp-admin.post-type-sl_player table.wp-list-table.fixed,
body.wp-admin.post-type-sl_official table.wp-list-table.fixed,
body.wp-admin.post-type-sl_standing table.wp-list-table.fixed,
body.wp-admin.post-type-sl_game table.wp-list-table.fixed {
	table-layout: auto;
}

body.wp-admin.post-type-sl_official table.wp-list-table.fixed #sl_official_photo,
body.wp-admin.post-type-sl_player table.wp-list-table.fixed #sl_player_photo,
body.wp-admin.post-type-sl_team table.wp-list-table.fixed #sl_team_logo {
	width: 70px;
}

body.wp-admin.post-type-sl_tournament #posts-filter table.wp-list-table tr.level-0.type-sl_tournament td.column-primary.page-title strong:before {
	width: 18px;
	height: 18px;
	display: inline-block;
	position: relative;
	margin-left: 8px;
	top: 4px;
	content: '';
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAuNDc5IDEuMDY0IDE5LjA5OSAxOC45MzYiPjxwYXRoIGZpbGw9IiNhMGE1YWEiIGQ9Ik02IDE5SDV2MWgxMHYtMWgtMXYtMWgtMS4xMzVhNy4xNjQgNy4xNjQgMCAwIDEtLjc2NS0xLjUgMTAuMTkgMTAuMTkgMCAwIDEtLjU1My0yLjQ3MWMxLjc4LS42MzkgMy4xMjMtMi4zNDcgMy4zOTEtNC40MzcgMS40NjctLjgyOCAzLjIyMi0yLjA2NyAzLjkwNi0zLjMwNS45OC0xLjY1Ny45OC0zLjMxNCAwLTQuMTQzLS45NTUtLjgwNy0yLjg0MS0uODI4LTMuODQ0LjcwM1YxLjA2NEg1LjAxNnYxLjcxOWMtMS4wMTQtMS40NjYtMi44Ni0xLjQzNC0zLjgwMS0uNjM5LS45ODEuODI5LS45ODEgMi40ODYgMCA0LjE0My42NzQgMS4yMjEgMi4zODkgMi40NDEgMy44NDIgMy4yNjguMjU3IDIuMTA3IDEuNjA2IDMuODMxIDMuMzk2IDQuNDc0QTEwLjE5IDEwLjE5IDAgMCAxIDcuOSAxNi41YTcuMTY0IDcuMTY0IDAgMCAxLS43NjUgMS41SDZ2MXoiLz48L3N2Zz4=) !important;
}

.anwp-global-info {
	color: #0c5460;
	background-color: #d1ecf1;
	margin: 15px 0;

	position: relative;
	padding: 0.75rem 1.25rem;
	border: #bee5eb 1px solid;
	border-radius: 0;

	width: 95%;
	box-sizing: border-box;
}

.sl_official_photo.column-sl_official_photo img,
.sl_staff_photo.column-sl_staff_photo img,
.sl_standing_logo.column-sl_standing_logo img,
.sl_player_photo.column-sl_player_photo img {
	max-height: 60px !important;
	width: auto !important;
}

.sl_team_logo.column-sl_team_logo img {
	max-height: 60px !important;
	width: auto !important;
}

.sl_team_logo.column-sl_team_logo img[src$=".svg"],
#set-post-thumbnail img[src$=".svg"] {
	min-width: 60px;
	min-height: 60px;
}

/* Handle admin notices */
.anwp-visible-after-header {
	display: none;
}

h1 ~ .anwp-visible-after-header {
	display: block;
}

.anwp-admin-tournament-icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	position: relative;
	top: 3px;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAuNDc5IDEuMDY0IDE5LjA5OSAxOC45MzYiPjxwYXRoIGZpbGw9IiNhMGE1YWEiIGQ9Ik02IDE5SDV2MWgxMHYtMWgtMXYtMWgtMS4xMzVhNy4xNjQgNy4xNjQgMCAwIDEtLjc2NS0xLjUgMTAuMTkgMTAuMTkgMCAwIDEtLjU1My0yLjQ3MWMxLjc4LS42MzkgMy4xMjMtMi4zNDcgMy4zOTEtNC40MzcgMS40NjctLjgyOCAzLjIyMi0yLjA2NyAzLjkwNi0zLjMwNS45OC0xLjY1Ny45OC0zLjMxNCAwLTQuMTQzLS45NTUtLjgwNy0yLjg0MS0uODI4LTMuODQ0LjcwM1YxLjA2NEg1LjAxNnYxLjcxOWMtMS4wMTQtMS40NjYtMi44Ni0xLjQzNC0zLjgwMS0uNjM5LS45ODEuODI5LS45ODEgMi40ODYgMCA0LjE0My42NzQgMS4yMjEgMi4zODkgMi40NDEgMy44NDIgMy4yNjguMjU3IDIuMTA3IDEuNjA2IDMuODMxIDMuMzk2IDQuNDc0QTEwLjE5IDEwLjE5IDAgMCAxIDcuOSAxNi41YTcuMTY0IDcuMTY0IDAgMCAxLS43NjUgMS41SDZ2MXoiLz48L3N2Zz4=) !important;
}

.anwp-admin-tournament-icon + strong {
	border-bottom: 1px dotted #aaa;
}

.anwp-option-desc {
	display: block;
	font-size: 85%;
	color: #777;
	margin-top: 3px;
	font-weight: 400;
}

/*--------------------------------------------------------------
# Select2
--------------------------------------------------------------*/
.anwp-sl-shortcode-modal .select2-container--default.select2-container--focus .select2-selection--multiple, .anwp-sl-shortcode-modal .select2-container--default .select2-selection--multiple,
.anwp-sl-shortcode-modal .select2-container--default.select2-container--focus .select2-selection--single, .anwp-sl-shortcode-modal .select2-container--default .select2-selection--single,
.anwp-b-wrap .select2-container--default.select2-container--focus .select2-selection--multiple, .anwp-b-wrap .select2-container--default .select2-selection--multiple,
.anwp-b-wrap .select2-container--default.select2-container--focus .select2-selection--single, .anwp-b-wrap .select2-container--default .select2-selection--single {
	background-color: #fff;
}

.select2-container li {
	margin-bottom: 0;
}

.modaal-content-container .select2-container.select2-container--default .select2-selection--multiple {
	border-radius: 3px;
	border-color: #7e8993;
	min-height: 30px;
}

.modaal-content-container .select2-container .select2-search__field {
	min-height: 30px;
	line-height: 1px !important;
}

.modaal-content-container .select2-container .select2-selection--multiple .select2-search__field {
	min-height: 18px;
}

.modaal-content-container .select2-container--default .select2-selection--single {
	border-color: #7e8993;
	box-shadow: none;
	border-radius: 3px;
	min-height: 30px;
}

.modaal-content-container .select2-container--default .select2-selection--multiple .select2-selection__choice {
	margin-top: 4px;
}
/*--------------------------------------------------------------
# Modaal
--------------------------------------------------------------*/
#anwp-sl-shortcode-modal {
	display: none !important;
}

.anwp-sl-shortcode-modal, .modaal-wrapper {
	z-index: 100060 !important;
}

.modaal-overlay {
	z-index: 100050 !important;
}

.anwp-sl-shortcode-modal .modaal-content-container {
	padding: 0;
}

.anwp-sl-shortcode-modal .modaal-container {
	max-width: 600px;
}

.anwp-sl-shortcode-modal .anwp-sl-shortcode-modal__header {
	padding: 15px 20px;
	border-bottom: 1px solid #ddd;
	background-color: #f5f5f5;
}

.anwp-sl-shortcode-modal .anwp-sl-shortcode-modal__content {
	padding: 10px 20px;
}

.anwp-sl-shortcode-modal .anwp-sl-shortcode-modal__footer {
	padding: 15px 20px;
	background-color: #f5f5f5;
	border-top: 1px solid #ddd;
}

#anwp-sl-shortcode-modal__selector, #anwp-sl-shortcode-modal__insert {
	margin-right: 5px;
}

.anwp-shortcode-docs-link {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;

	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;

	border: 1px solid #9ca3af;
	background-color: #eff6ff;

	padding: 0.625rem 0.75rem;
	margin-bottom: 1rem;
}

.anwp-shortcode-docs-link b {
	margin: 0 0.5rem;
	color: #1e40af;
}

.anwp-shortcode-docs-link .anwp-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	stroke-width: 0;
	stroke: none;
	fill: #2563eb;
}

.anwp-sl-shortcode-modal .select2-container .select2-selection--single .select2-selection__rendered {
	white-space: normal;
}

.anwp-sl-shortcode-modal .select2-selection {
	overflow: hidden;
}

/*!
	Modaal - accessible modals - v0.4.4
	by Humaan, for all humans.
	http://humaan.com
 */

.modaal-noscroll {
	overflow: hidden;
}

.modaal-accessible-hide {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	padding: 0 !important;
	border: 0 !important;
	height: 1px !important;
	width: 1px !important;
	overflow: hidden;
}

.modaal-overlay {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	opacity: 0;
}

.modaal-wrapper {
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	overflow: auto;
	opacity: 1;
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.modaal-wrapper * {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-backface-visibility: hidden;
}

.modaal-wrapper .modaal-close {
	border: none;
	background: transparent;
	padding: 0;
	-webkit-appearance: none;
}

.modaal-wrapper.modaal-start_none {
	display: none;
	opacity: 1;
}

.modaal-wrapper.modaal-start_fade {
	opacity: 0;
}

.modaal-wrapper *[tabindex="0"] {
	outline: none !important;
}

.modaal-wrapper.modaal-fullscreen {
	overflow: hidden;
}

.modaal-outer-wrapper {
	display: table;
	position: relative;
	width: 100%;
	height: 100%;
}

.modaal-fullscreen .modaal-outer-wrapper {
	display: block;
}

.modaal-inner-wrapper {
	display: table-cell;
	width: 100%;
	height: 100%;
	position: relative;
	vertical-align: middle;
	text-align: center;
	padding: 80px 25px;
}

.modaal-fullscreen .modaal-inner-wrapper {
	padding: 0;
	display: block;
	vertical-align: top;
}

.modaal-container {
	position: relative;
	display: inline-block;
	width: 100%;
	margin: auto;
	text-align: right;
	color: #000;
	max-width: 1000px;
	border-radius: 0px;
	background: #fff;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	cursor: auto;
}

.modaal-container.is_loading {
	height: 100px;
	width: 100px;
	overflow: hidden;
}

.modaal-fullscreen .modaal-container {
	max-width: none;
	height: 100%;
	overflow: auto;
}

.modaal-close {
	position: fixed;
	left: 20px;
	top: 20px;
	color: #fff;
	cursor: pointer;
	opacity: 1;
	width: 50px;
	height: 50px;
	background: rgba(0, 0, 0, 0);
	border-radius: 100%;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.modaal-close:focus,
.modaal-close:hover {
	outline: none;
	background: #fff;
}

.modaal-close:focus:before,
.modaal-close:focus:after,
.modaal-close:hover:before,
.modaal-close:hover:after {
	background: #b93d0c;
}

.modaal-close span {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	padding: 0 !important;
	border: 0 !important;
	height: 1px !important;
	width: 1px !important;
	overflow: hidden;
}

.modaal-close:before,
.modaal-close:after {
	display: block;
	content: " ";
	position: absolute;
	top: 14px;
	right: 23px;
	width: 4px;
	height: 22px;
	border-radius: 4px;
	background: #fff;
	-webkit-transition: background 0.2s ease-in-out;
	transition: background 0.2s ease-in-out;
}

.modaal-close:before {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.modaal-close:after {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.modaal-fullscreen .modaal-close {
	background: #afb7bc;
	left: 10px;
	top: 10px;
}

.modaal-content-container {
	padding: 30px;
}

.modaal-confirm-wrap {
	padding: 30px 0 0;
	text-align: center;
	font-size: 0;
}

.modaal-confirm-btn {
	font-size: 14px;
	display: inline-block;
	margin: 0 10px;
	vertical-align: middle;
	cursor: pointer;
	border: none;
	background: transparent;
}

.modaal-confirm-btn.modaal-ok {
	padding: 10px 15px;
	color: #fff;
	background: #555;
	border-radius: 3px;
	-webkit-transition: background 0.2s ease-in-out;
	transition: background 0.2s ease-in-out;
}

.modaal-confirm-btn.modaal-ok:hover {
	background: #2f2f2f;
}

.modaal-confirm-btn.modaal-cancel {
	text-decoration: underline;
}

.modaal-confirm-btn.modaal-cancel:hover {
	text-decoration: none;
	color: #2f2f2f;
}

.modaal-instagram .modaal-container {
	width: auto;
	background: transparent;
	box-shadow: none !important;
}

.modaal-instagram .modaal-content-container {
	padding: 0;
	background: transparent;
}

.modaal-instagram .modaal-content-container > blockquote {
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.modaal-instagram iframe {
	opacity: 0;
	margin: -6px !important;
	border-radius: 0 !important;
	width: 1000px !important;
	max-width: 800px !important;
	box-shadow: none !important;
	-webkit-animation: instaReveal 1s linear forwards;
	animation: instaReveal 1s linear forwards;
}

.modaal-image .modaal-inner-wrapper {
	padding-right: 140px;
	padding-left: 140px;
}

.modaal-image .modaal-container {
	width: auto;
	max-width: 100%;
}

.modaal-gallery-wrap {
	position: relative;
	color: #fff;
}

.modaal-gallery-item {
	display: none;
}

.modaal-gallery-item img {
	display: block;
}

.modaal-gallery-item.is_active {
	display: block;
}

.modaal-gallery-label {
	position: absolute;
	right: 0;
	width: 100%;
	margin: 20px 0 0;
	font-size: 18px;
	text-align: center;
	color: #fff;
}

.modaal-gallery-label:focus {
	outline: none;
}

.modaal-gallery-control {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	opacity: 1;
	cursor: pointer;
	color: #fff;
	width: 50px;
	height: 50px;
	background: rgba(0, 0, 0, 0);
	border: none;
	border-radius: 100%;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.modaal-gallery-control.is_hidden {
	opacity: 0;
	cursor: default;
}

.modaal-gallery-control:focus,
.modaal-gallery-control:hover {
	outline: none;
	background: #fff;
}

.modaal-gallery-control:focus:before,
.modaal-gallery-control:focus:after,
.modaal-gallery-control:hover:before,
.modaal-gallery-control:hover:after {
	background: #afb7bc;
}

.modaal-gallery-control span {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	padding: 0 !important;
	border: 0 !important;
	height: 1px !important;
	width: 1px !important;
	overflow: hidden;
}

.modaal-gallery-control:before,
.modaal-gallery-control:after {
	display: block;
	content: " ";
	position: absolute;
	top: 16px;
	right: 25px;
	width: 4px;
	height: 18px;
	border-radius: 4px;
	background: #fff;
	-webkit-transition: background 0.2s ease-in-out;
	transition: background 0.2s ease-in-out;
}

.modaal-gallery-control:before {
	margin: -5px 0 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.modaal-gallery-control:after {
	margin: 5px 0 0;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.modaal-gallery-next-inner {
	right: 100%;
	margin-right: 40px;
}

.modaal-gallery-next-outer {
	left: 45px;
}

.modaal-gallery-prev:before,
.modaal-gallery-prev:after {
	right: 22px;
}

.modaal-gallery-prev:before {
	margin: 5px 0 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.modaal-gallery-prev:after {
	margin: -5px 0 0;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.modaal-gallery-prev-inner {
	left: 100%;
	margin-left: 40px;
}

.modaal-gallery-prev-outer {
	right: 45px;
}

.modaal-video-wrap {
	margin: auto 50px;
	position: relative;
}

.modaal-video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	background: #000;
	max-width: 1300px;
	margin-right: auto;
	margin-left: auto;
}

.modaal-video-container iframe,
.modaal-video-container object,
.modaal-video-container embed {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.modaal-iframe .modaal-content {
	width: 100%;
	height: 100%;
}

.modaal-iframe-elem {
	width: 100%;
	height: 100%;
	display: block;
}

.modaal-loading-spinner {
	background: none;
	position: absolute;
	width: 200px;
	height: 200px;
	top: 50%;
	right: 50%;
	margin: -100px -100px 0 0;
	-webkit-transform: scale(0.25);
	-ms-transform: scale(0.25);
	transform: scale(0.25);
}

.modaal-loading-spinner > div {
	width: 24px;
	height: 24px;
	margin-right: 4px;
	margin-top: 4px;
	position: absolute;
}

.modaal-loading-spinner > div > div {
	width: 100%;
	height: 100%;
	border-radius: 15px;
	background: #fff;
}

.modaal-loading-spinner > div:nth-of-type(1) > div {
	-webkit-animation: modaal-loading-spinner 1s linear infinite;
	animation: modaal-loading-spinner 1s linear infinite;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
}

.modaal-loading-spinner > div:nth-of-type(2) > div,
.modaal-loading-spinner > div:nth-of-type(3) > div {
	-ms-animation: modaal-loading-spinner 1s linear infinite;
	-moz-animation: modaal-loading-spinner 1s linear infinite;
	-webkit-animation: modaal-loading-spinner 1s linear infinite;
	-o-animation: modaal-loading-spinner 1s linear infinite;
}

.modaal-loading-spinner > div:nth-of-type(1) {
	-ms-transform: translate(-84px, 84px) rotate(-45deg) translate(-70px, 0);
	-webkit-transform: translate(-84px, 84px) rotate(-45deg) translate(-70px, 0);
	transform: translate(-84px, 84px) rotate(-45deg) translate(-70px, 0);
}

.modaal-loading-spinner > div:nth-of-type(2) > div {
	-webkit-animation: modaal-loading-spinner 1s linear infinite;
	animation: modaal-loading-spinner 1s linear infinite;
	-webkit-animation-delay: .12s;
	animation-delay: .12s;
}

.modaal-loading-spinner > div:nth-of-type(2) {
	-ms-transform: translate(-84px, 84px) rotate(-90deg) translate(-70px, 0);
	-webkit-transform: translate(-84px, 84px) rotate(-90deg) translate(-70px, 0);
	transform: translate(-84px, 84px) rotate(-90deg) translate(-70px, 0);
}

.modaal-loading-spinner > div:nth-of-type(3) > div {
	-webkit-animation: modaal-loading-spinner 1s linear infinite;
	animation: modaal-loading-spinner 1s linear infinite;
	-webkit-animation-delay: .25s;
	animation-delay: .25s;
}

.modaal-loading-spinner > div:nth-of-type(4) > div,
.modaal-loading-spinner > div:nth-of-type(5) > div {
	-ms-animation: modaal-loading-spinner 1s linear infinite;
	-moz-animation: modaal-loading-spinner 1s linear infinite;
	-webkit-animation: modaal-loading-spinner 1s linear infinite;
	-o-animation: modaal-loading-spinner 1s linear infinite;
}

.modaal-loading-spinner > div:nth-of-type(3) {
	-ms-transform: translate(-84px, 84px) rotate(-135deg) translate(-70px, 0);
	-webkit-transform: translate(-84px, 84px) rotate(-135deg) translate(-70px, 0);
	transform: translate(-84px, 84px) rotate(-135deg) translate(-70px, 0);
}

.modaal-loading-spinner > div:nth-of-type(4) > div {
	-webkit-animation: modaal-loading-spinner 1s linear infinite;
	animation: modaal-loading-spinner 1s linear infinite;
	-webkit-animation-delay: .37s;
	animation-delay: .37s;
}

.modaal-loading-spinner > div:nth-of-type(4) {
	-ms-transform: translate(-84px, 84px) rotate(-180deg) translate(-70px, 0);
	-webkit-transform: translate(-84px, 84px) rotate(-180deg) translate(-70px, 0);
	transform: translate(-84px, 84px) rotate(-180deg) translate(-70px, 0);
}

.modaal-loading-spinner > div:nth-of-type(5) > div {
	-webkit-animation: modaal-loading-spinner 1s linear infinite;
	animation: modaal-loading-spinner 1s linear infinite;
	-webkit-animation-delay: .5s;
	animation-delay: .5s;
}

.modaal-loading-spinner > div:nth-of-type(6) > div,
.modaal-loading-spinner > div:nth-of-type(7) > div {
	-ms-animation: modaal-loading-spinner 1s linear infinite;
	-moz-animation: modaal-loading-spinner 1s linear infinite;
	-webkit-animation: modaal-loading-spinner 1s linear infinite;
	-o-animation: modaal-loading-spinner 1s linear infinite;
}

.modaal-loading-spinner > div:nth-of-type(5) {
	-ms-transform: translate(-84px, 84px) rotate(-225deg) translate(-70px, 0);
	-webkit-transform: translate(-84px, 84px) rotate(-225deg) translate(-70px, 0);
	transform: translate(-84px, 84px) rotate(-225deg) translate(-70px, 0);
}

.modaal-loading-spinner > div:nth-of-type(6) > div {
	-webkit-animation: modaal-loading-spinner 1s linear infinite;
	animation: modaal-loading-spinner 1s linear infinite;
	-webkit-animation-delay: .62s;
	animation-delay: .62s;
}

.modaal-loading-spinner > div:nth-of-type(6) {
	-ms-transform: translate(-84px, 84px) rotate(-270deg) translate(-70px, 0);
	-webkit-transform: translate(-84px, 84px) rotate(-270deg) translate(-70px, 0);
	transform: translate(-84px, 84px) rotate(-270deg) translate(-70px, 0);
}

.modaal-loading-spinner > div:nth-of-type(7) > div {
	-webkit-animation: modaal-loading-spinner 1s linear infinite;
	animation: modaal-loading-spinner 1s linear infinite;
	-webkit-animation-delay: .75s;
	animation-delay: .75s;
}

.modaal-loading-spinner > div:nth-of-type(7) {
	-ms-transform: translate(-84px, 84px) rotate(-315deg) translate(-70px, 0);
	-webkit-transform: translate(-84px, 84px) rotate(-315deg) translate(-70px, 0);
	transform: translate(-84px, 84px) rotate(-315deg) translate(-70px, 0);
}

.modaal-loading-spinner > div:nth-of-type(8) > div {
	-webkit-animation: modaal-loading-spinner 1s linear infinite;
	animation: modaal-loading-spinner 1s linear infinite;
	-webkit-animation-delay: .87s;
	animation-delay: .87s;
}

.modaal-loading-spinner > div:nth-of-type(8) {
	-ms-transform: translate(-84px, 84px) rotate(-360deg) translate(-70px, 0);
	-webkit-transform: translate(-84px, 84px) rotate(-360deg) translate(-70px, 0);
	transform: translate(-84px, 84px) rotate(-360deg) translate(-70px, 0);
}

@media only screen and (min-width: 1400px) {

	.modaal-video-container {
		padding-bottom: 0;
		height: 731px;
	}

}

@media only screen and (max-width: 1140px) {

	.modaal-image .modaal-inner-wrapper {
		padding-right: 25px;
		padding-left: 25px;
	}

	.modaal-gallery-control {
		top: auto;
		bottom: 20px;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
		background: rgba(0, 0, 0, 0.7);
	}

	.modaal-gallery-control:before,
	.modaal-gallery-control:after {
		background: #fff;
	}

	.modaal-gallery-next {
		right: auto;
		left: 20px;
	}

	.modaal-gallery-prev {
		right: 20px;
		left: auto;
	}

}

@media screen and (max-width: 900px) {

	.modaal-instagram iframe {
		width: 500px !important;
	}

}

@media only screen and (max-width: 600px) {

	.modaal-instagram iframe {
		width: 280px !important;
	}

}

@media screen and (max-height: 1100px) {

	.modaal-instagram iframe {
		width: 700px !important;
	}

}

@media screen and (max-height: 1000px) {

	.modaal-inner-wrapper {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.modaal-instagram iframe {
		width: 600px !important;
	}

}

@media screen and (max-height: 900px) {

	.modaal-instagram iframe {
		width: 500px !important;
	}

	.modaal-video-container {
		max-width: 900px;
		max-height: 510px;
	}

}

@media only screen and (max-height: 820px) {

	.modaal-gallery-label {
		display: none;
	}

}

@keyframes instaReveal {

	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}

}

@-webkit-keyframes instaReveal {

	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}

}

@-webkit-keyframes modaal-loading-spinner {

	0% {
		opacity: 1;
		-ms-transform: scale(1.5);
		-webkit-transform: scale(1.5);
		transform: scale(1.5);
	}

	100% {
		opacity: .1;
		-ms-transform: scale(1);
		-webkit-transform: scale(1);
		transform: scale(1);
	}

}

@keyframes modaal-loading-spinner {

	0% {
		opacity: 1;
		-ms-transform: scale(1.5);
		-webkit-transform: scale(1.5);
		transform: scale(1.5);
	}

	100% {
		opacity: .1;
		-ms-transform: scale(1);
		-webkit-transform: scale(1);
		transform: scale(1);
	}

}

/*--------------------------------------------------------------
# Shortcode Builder (Alpine.js)
--------------------------------------------------------------*/

/* Field input base widths */
.sl-shortcode-fields input[type="text"].sl-shortcode-attr,
.sl-shortcode-fields input[type="number"].sl-shortcode-attr {
	max-width: 400px;
}

.sl-shortcode-fields input[type="number"].sl-shortcode-attr {
	max-width: 140px;
}

.sl-shortcode-fields select.sl-shortcode-attr {
	max-width: 400px;
}

/* Field input width classes (applied to inputs) */
.sl-shortcode-fields .sl-shortcode-attr--narrow {
	width: 120px !important;
}

.sl-shortcode-fields .sl-shortcode-attr--medium {
	min-width: 180px;
	max-width: 300px;
}

.sl-shortcode-fields .sl-shortcode-attr--wide {
	width: 400px;
}

.sl-shortcode-fields .sl-shortcode-attr--selector {
	width: 150px !important;
}

.sl-shortcode-fields .sl-shortcode-attr--multiselect {
	width: 400px !important;
}

/* Field wrapper override for wide inputs */
.sl-shortcode-fields .sl-field:has(.sl-shortcode-attr--multiselect),
.sl-shortcode-fields .sl-field:has(.sl-shortcode-attr--wide) {
	max-width: 420px !important;
}

/* Section wrapper - border color set here (not via anwp- utilities) for TinyMCE modal compatibility */
.sl-section-card {
	margin-bottom: 1rem;
	border: 1px solid #9ca3af;
}

/* Header button reset */
.sl-section-card__header {
	border: none;
	border-bottom: 1px solid #9ca3af;
	text-align: right;
	font-size: 14px;
	width: 100%;
	background: #fff;
	transition: background-color 0.15s ease;
}

.sl-section-card__header:hover {
	background-color: #f0f6fc !important;
}

.sl-section-card__content {
	background: #fff;
	padding: 1rem 0.5rem;
}

.sl-section-card__header:focus {
	outline: none;
	box-shadow: inset 0 0 0 1px #2271b1;
}

/* Shortcode output text styling */
.anwp-shortcode-output {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	word-break: break-word;
	white-space: pre-wrap;
}

/* Section descriptions at footer */
.sl-section-descriptions {
	width: 100%;
	font-size: 12px;
	line-height: 1.4;
	color: #6b7280;
}

.sl-section-description + .sl-section-description {
	margin-top: 3px;
}

.sl-section-description strong {
	color: #374151;
}

/* Flex wrap utilities (no !important for TinyMCE compat) */
.anwp-flex-wrap--noimp {
	flex-wrap: wrap;
}

.anwp-items-start--noimp {
	align-items: flex-start;
}

.anwp-flex-col {
	flex-direction: column;
}

/* Dashicon size utilities */
.anwp-dashicons-14:before {
	font-size: 14px;
	width: 14px;
	height: 14px;
}

.anwp-dashicons-16:before {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* Shortcode builder icon size */
.anwp-icon--s16 {
	width: 16px;
	height: 16px;
}

/* Shortcode builder two-column layout */
.sl-shortcode-builder {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
}

.sl-shortcode-builder__form {
	max-width: 800px;
	flex: 1 1 auto;
	min-width: 0;
}

.sl-shortcode-builder__preview {
	flex-shrink: 0;
	width: 700px;
	position: sticky;
	top: 32px;
}

/* Preview panel */
.sl-preview-panel {
	border-radius: 4px;
	overflow: auto;
	max-height: calc(100vh - 78px);
}

.sl-preview-iframe-wrap {
	background: #f0f0f1;
	position: relative;
	min-height: 200px;
}

.sl-preview-loading-overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

/* Fix dashicon alignment in preview panel buttons */
.sl-preview-panel button .dashicons {
	vertical-align: middle;
	margin-top: -2px;
}

/* Preview width toggle button group */
.sl-preview-width-toggle {
	display: inline-flex;
	gap: 0;
}

.sl-preview-width-toggle .button {
	border-radius: 0;
	margin-right: -1px;
	min-width: 50px;
}

.sl-preview-width-toggle .button:first-child {
	border-radius: 0 3px 3px 0;
	margin-right: 0;
}

.sl-preview-width-toggle .button:last-child {
	border-radius: 3px 0 0 3px;
}

/* Import/Parse modal overlay */
.sl-import-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100100;
}

.sl-import-modal {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 3px 30px rgba(0, 0, 0, 0.3);
	max-width: 500px;
	width: 100%;
}

.sl-import-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #ddd;
	background: #f0f0f1;
}

.sl-import-modal__close {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	color: #666;
}

.sl-import-modal__close:hover {
	color: #d63638;
}

.sl-import-modal__body {
	padding: 1.25rem;
}

.sl-import-modal__footer {
	padding: 1rem 1.25rem;
	border-top: 1px solid #ddd;
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	background: #f9f9f9;
}

.sl-import-error {
	color: #d63638;
	background: #fcf0f1;
	padding: 0.5rem;
	border-right: 4px solid #d63638;
}

.sl-import-warning {
	color: #996800;
	background: #fcf9e8;
	padding: 0.5rem;
	border-right: 4px solid #dba617;
}

/* Spin animation for refresh icon */
@keyframes anwp-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(-360deg); }
}

.anwp-spin {
	animation: anwp-spin 1s linear infinite;
}

/* Responsive adjustments for shortcode builder */
@media (max-width: 1200px) {
	.sl-shortcode-builder {
		flex-direction: column;
	}

	.sl-shortcode-builder__preview {
		width: 100% !important; /* Override Alpine binding on mobile */
		position: static;
	}

	.sl-preview-panel {
		max-height: none;
	}
}

