#onoffice-ajax .metabox-holder .postbox-container .postbox .template-list input,
#onoffice-ajax .metabox-holder .postbox-container .postbox .template-list label,
#onoffice-ajax .metabox-holder .postbox-container .postbox .template-list select {
	float: none;
	margin: 4px 2px;
}

#onoffice-ajax .metabox-holder .postbox-container .postbox .template-list summary {
	margin: 5px 0;
}

#onoffice-ajax .metabox-holder .postbox-container .postbox .template-list p {
	margin-top: 0;
}

#onoffice-ajax .metabox-holder .postbox-container .postbox .template-list .oo-template-folder-path {
	color: #646970;
}

#onoffice-ajax input[name=oopluginlistviewsaddress-name],
#onoffice-ajax input[name=oopluginlistviews-name],
#onoffice-ajax input[name=oopluginforms-name] {
	font-size: 1.7em;
	padding: 3px 8px;
	width: 100%;
}

#onoffice-ajax #post-body.columns-2 input[name=oopluginlistviews-name],
#onoffice-ajax #post-body.columns-2 input[name=oopluginforms-name] {
	width: 100%;
}

#onoffice-ajax h2.hndle {
	background: #fafafa;
}

#onoffice-ajax #poststuff .metabox-holder.columns-2 #postbox-container-1 {
	width: 49%;
	margin-right: 0;
}

#onoffice-ajax #poststuff .metabox-holder.columns-2 #postbox-container-2 {
    width: 49%;
	max-width: 500px;
}

#onoffice-ajax #poststuff #post-body.columns-2 #side-sortables {
    width: 100%;
}

#onoffice-ajax #poststuff #post-body.columns-2 {
    margin-right: 0;
	max-width: 1000px;
}

#onoffice-ajax #listSettings {
	width: 49%;
	box-sizing: border-box;
}

body #onoffice-ajax span.viewusage {
	font-size: 1.2em;
	position: relative;
	margin-bottom: 20px;
	display: inline-block;
}

body #onoffice-ajax span.viewusage .italic {
	font-style: italic;
}

.fieldsSortable {
	float: right;
	min-height: 320px;
	max-width: 488px;
	background: #fff;
	width: 49%;
}

.sortableFieldsListForForm .menu-item-bar,
#sortableFieldsList .menu-item-bar {
	display: block;
	margin: 0 12px;
}

.sortableFieldsListForForm .menu-item-bar > .menu-item-handle,
#sortableFieldsList .menu-item-bar > .menu-item-handle {
	max-width: 430px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.sortableFieldsListForForm .menu-item-settings,
#sortableFieldsList .menu-item-settings {
	max-width: 440px;
}

.sortableFieldsListForForm .menu-item-settings .submitdelete,
#sortableFieldsList .menu-item-settings .submitdelete {
	text-align: right;
	display:block;
	width: 98%;
}

#listSettings .accordion-section-title:hover {
	cursor: inherit;
}

.sortableFieldsListForForm .menu-item-settings,
#sortableFieldsList .menu-item-settings {
	display: block;
	position: relative;
	margin: 0 12px;
	background: #fff;
	clear: both;
}

.sortableFieldsListForForm .item-delete-link,
#sortableFieldsList .item-delete-link {
	padding-right: 10px;
}

.sortableFieldsListForForm .item-delete-link:hover,
#sortableFieldsList .item-delete-link:hover {
	cursor: pointer;
}

#listSettings .accordion-section-content > .inside > p {
	max-height: 200px;
	padding: 2px;
	overflow-y: auto;
}

#listSettings .accordion-section-content {
	padding: 0;
}

.sortableFieldsListForForm .menu-item-settings-name,
#sortableFieldsList .menu-item-settings-name {
	font-style: italic;
}

.accordion-title {
	display: flex;
	justify-content: space-between;
}

.accordion-section .accordion-trigger {
	background: inherit;
	text-align: left;
	border: 0;
	cursor: pointer;
	width: 100%;
	padding: 0;
}

.accordion-section-title .dashicons {
	color: #787c82;
}

.accordion-section-title .dashicons:hover {
	color: #1d2327;

}
#listSettings p:empty {
	display: none;
}

.fieldsSortable .item-edit:before {
    margin-top: 10px;
    margin-left: 4px;
    width: 20px;
    border-radius: 50%;
    text-indent: -1px;

	content: "\f140";
    font: 400 20px/1 dashicons;
    speak: none;
    display: block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none!important;
}

.fieldsSortable .item-edit {
    position: absolute;
    right: -20px;
    top: 0;
    display: block;
    width: 30px;
    height: 40px;
    outline: 0;
}

#menu-item-dummy_key {
	display: none;
}

div.fieldsSortable .sortableFieldsListForForm div.menu-item-settings p,
div.fieldsSortable #sortableFieldsList div.menu-item-settings p {
	line-height: 1em;
}

div.fieldsSortable .sortableFieldsListForForm div.menu-item-settings p span.deleteButtonLang:before,
div.fieldsSortable #sortableFieldsList div.menu-item-settings p span.deleteButtonLang:before {
	vertical-align: middle;
}

div.fieldsSortable .sortableFieldsListForForm div.menu-item-settings p span.deleteButtonLang,
div.fieldsSortable #sortableFieldsList div.menu-item-settings p span.deleteButtonLang {
	color: #737373;
}

div.fieldsSortable .sortableFieldsListForForm div.menu-item-settings p span.deleteButtonLang:before:hover,
div.fieldsSortable #sortableFieldsList div.menu-item-settings p span.deleteButtonLang:before:hover {
	color: #ce8483;
}

div.fieldsSortable .sortableFieldsListForForm div.menu-item-settings p span.deleteButtonLang:hover,
div.fieldsSortable #sortableFieldsList div.menu-item-settings p span.deleteButtonLang:hover {
	cursor: pointer;
	color: #d43f3a;
}

body.toplevel_page_onoffice .card {
	max-width: 720px;
	display: inline-block;
	text-align: justify;
}

body.toplevel_page_onoffice #madeby {
	max-width: 720px;
	display: block;
	text-align: center;
	min-width: 255px;
	height: 20px;
	box-sizing: border-box;
	position: relative;
	top: 25px;
	color: #a0a0a0;
	font-style: italic;
}

body.toplevel_page_onoffice #madeby .heart {
	color: #d0a0a0
}

body.toplevel_page_onoffice img.logo {
	max-width: 720px;
	display: block;
	position: relative;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
	background: #fff;
	box-sizing: border-box;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	border-color: #e5e5e5;
}

body.toplevel_page_onoffice .card h3 {
	font-size: 1.15em;
}

.menu-item-settings div.multiselect > div.onoffice-multiselect-popup > label {
    display: block;
    min-height: 16pt;
    width: 300px;
}

div[data-name^=oopluginfieldconfigformdefaultsvalues-value].multiselect {
    width:  100%;
    margin-top: 10pt;
}

div[data-name^=oopluginfieldconfigformdefaultsvalues-value].multiselect > input.onoffice-multiselect-edit {
    position: relative;
    float: right;
}

#viewformspecific .inside{
	overflow: hidden;
}

#toplevel_page_onoffice .wp-menu-image {
	background-color: #3f9de4;
	-webkit-mask-image: url(../images/oo-logo-plugin.svg);
	mask-image: url(../images/oo-logo-plugin.svg);
	mask-repeat: no-repeat;
	mask-size: 50%;
	mask-position: center;
}
#toplevel_page_onoffice.wp-has-current-submenu .wp-menu-image {
	background-color: white;
}

#onoffice-form-search-estate {
	display: flex;
	float: right;
	margin-top: -33px;
}
#onoffice-form-search-address{
	display: flex;
	float: right;
	margin-top: -33px;
}
#onoffice-form-search-form {
	display: flex;
	float: right;
	margin-top: 20px;
}
.oo-description--notice {
	border: 1px solid #c3c4c7;
	border-left: 4px solid #dba617;
	background-color: #fff;
	font-size: 13px;
	line-height: 1.5;
	padding: 10px;
}

#notice-seo, .description-notice, .do-not-modify {
	margin-left: 20px;
}

#viewformspecific .hint-text {
	color: #646970;
	font-style: italic;
	text-decoration: none;
}

.do-not-modify ul {
	padding-left: 10px;
}

.do-not-modify li {
	list-style: disc;
	margin-left: 25px;
}

.do-not-modify summary {
	cursor: pointer;
}

input#onoffice-input-submit {
	color: #2271b1;
	border-color: #2271b1;
	border-style: solid;
	border-radius: 2px;
	border-width: 1px;
}

body #post-head-content p.wp-clearfix:nth-child(1) {
	display: block !important;
}
.button.button-copy{
	display: none;
}

.memssageOnlyReference{
	text-align: right;
}

.inputFieldButton{
	margin-top: 2px;
	color: rgba(20, 20, 20, 0.685);
	transition: 0.3s;
}

.inputFieldButton:hover{
	cursor: pointer;
	color: rgb(0, 0, 0);
}

.page-option-add-form{
	display: inline-block;
	position: relative;
	top:-3px
}

.page-option-action {
	position: relative;
	border-radius: 2px;
	border: 1px solid #2271b1;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
}

.page-option-action summary {
	padding: 4px 8px;
	font-weight: 600;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #f6f7f7;
	cursor: pointer;
	color: #2271b1;
	list-style: none;
}

.page-option-action summary div{
	padding-right:10px;
}

.page-option-action[open]{
	border-radius: 2px;
	border: 1px solid#3582c4;
	box-shadow:0px 0px 0px 1px #3582c4;
}

.page-option-action[open] summary{
	background-color: #f0f0f1;
	color:#124B75;
}

.page-option-action summary:hover{
	box-shadow:0px 0px 0px 1px #124B75;
	background-color: #f0f0f1;
	border-radius: 1px;
	color:#124B75;
}

.page-option-action[open] summary:before {
	content: '';
	border-radius: 5px;
    display: block;
    width: 100vw;
    height: 100vh;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
}

.page-option-action summary:after {
	content: '';
	margin-bottom: 4px;
	width: .4rem;
	height: .4rem;
	border-bottom: 2px solid #8c8f94;
	border-left: 2px solid #8c8f94;
	border-bottom-left-radius: 2px;
	transform: rotate(-45deg) translate(0%, 0%);
	transform-origin: center center;
}

.page-option-action .options-menu {
	width: max-content;
	margin-top: 4px;
	background: #fff;
	position: absolute;
	box-sizing: border-box;
	border: 1px solid #c3c4c7;
	z-index: 1000;
}

.options-menu li a{
	text-decoration: none;
	color: #3c434a;
}

.page-option-action .options-menu li {
	margin-bottom: 0px;
}

.options-menu li a p{
	color:#124B75;
	padding: 0px 10px;
	margin: 0;
}

.options-menu li:hover{
	background-color: rgb(46,146,249);
}

.options-menu li:hover a p{
	color:#fff;
}

.oo-page-api-settings select.onoffice-input {
	width: 100%;
	max-width: 368px;
}

/* new style */
.oo-poststuff .custom-input-field {
	display: flex;
	justify-content: space-between;
}

.oo-poststuff .custom-input-field > *,
.oo-poststuff .custom-input-field.custom-lable-language label,
.oo-poststuff .custom-input-field.custom-lable-language input[type="text"],
.oo-poststuff .custom-input-field.custom-lable-language select {
	width: 50%;
}

.oo-poststuff .custom-input-field input[type="checkbox"],
.oo-poststuff .custom-input-field input[type="radio"] {
	margin-left: auto;
	width: 16px;
	min-width: 16px;
	max-width: 16px;
}

.oo-poststuff .custom-input-field input[name*=rangeFieldDisplayMode] + label {
	width: auto;
}

.oo-poststuff .custom-input-field.custom-from-to-input {
	flex-wrap: wrap;
}

.oo-poststuff .custom-input-field.custom-from-to-input input[type="number"],
.oo-poststuff .custom-input-field.custom-from-to-input input[type="text"] {
	margin: 0 0 10px;
}

.oo-poststuff .custom-input-field.custom-label-language > span {
	width: auto !important;
}

.oo-poststuff .custom-input-field label.custom-label[for^="checkbox"] {
	width: 100%;
	display: block;
}

.oo-poststuff .custom-input-field > div.multiselect .onoffice-multiselect-popup label {
	display: flex;
	flex-direction: row-reverse;
}

.oo-poststuff .custom-input-field > div.multiselect span {
	display: flex;
	padding-right: 10px;
	line-height: 1.5rem;
}

.oo-poststuff .custom-input-field > div.multiselect input[type="button"] {
	width: auto !important;
	float: right;
}

.oo-poststuff .custom-input-field:has(div.multiselect) {
	display: block;
}

.oo-poststuff .custom-input-field div.multiselect > div.onoffice-multiselect-popup > label {
	display: flex;
	margin-bottom: 5px;
}

.oo-poststuff .custom-input-field .select2 .select2-selection {
	display: flex;
	border: 1px solid #8c8f94;
	min-height: 30px;
	height: 100%;
}

.oo-poststuff .custom-input-field .select2 .select2-selection .select2-search--inline {
	margin-bottom: 0;
}

/** fix shortened Placeholder in multiselect */
.oo-poststuff .custom-input-field .select2 .select2-selection .select2-search__field {
	width: auto !important;
	margin-top: 0;
}

.oo-poststuff .custom-input-field .select2 .select2-selection .select2-search__field::placeholder {
	color: #999;
}

.oo-poststuff .custom-input-field input[name=oopluginlistviews-countryactive]:checked::before,
.oo-poststuff .custom-input-field input[name=oopluginlistviews-radiusactive]:checked::before,
.oo-poststuff .custom-input-field input[name=oopluginforms-countryactive]:checked::before,
.oo-poststuff .custom-input-field input[name=oopluginforms-radiusactive]:checked::before {
	filter: brightness(0) saturate(100%) invert(35%) sepia(4%) saturate(967%) hue-rotate(170deg) brightness(91%) contrast(94%);
}

.oo-poststuff .custom-input-field input[name=oopluginlistviews-countryactive],
.oo-poststuff .custom-input-field input[name=oopluginlistviews-radiusactive],
.oo-poststuff .custom-input-field input[name=oopluginforms-countryactive],
.oo-poststuff .custom-input-field input[name=oopluginforms-radiusactive],
.oo-poststuff .custom-input-field:has(input[name="oopluginlistviews-countryactive"]) > label,
.oo-poststuff .custom-input-field:has(input[name="oopluginlistviews-radiusactive"]) > label,
.oo-poststuff .custom-input-field:has(input[name="oopluginforms-countryactive"]) > label,
.oo-poststuff .custom-input-field:has(input[name="oopluginforms-radiusactive"]) > label {
	pointer-events: none;
}

.sortable-tags { 
	background-color: #fff;
	list-style-type: none; 
	margin: 0; 
	width: 100%;
	margin-top: 6px;
	display: flex;
	flex-direction: column;
}

.sortable-tags .rotate-icon {
	transform: rotate(90deg);
}

.sortable-tags .sortable-tag {
	margin: 5px  0;
	padding: 10px 10px 10px 15px;
	background-color: #fafafa;
	cursor: move;
	border: 1px solid #c3c4c7;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sortable-tags .sortable-tag:hover {
	border-color: #8c8f94;
}

.sortable-tag:hover label {
	cursor: move;
}

.sortable-tags .sortable-tag span {
	color: #c3c4c7;
}

#listSettings .custom-input-field,
#viewcontactimagetypes .custom-input-field,
#viewpicturetypes .custom-input-field {
	display: block;
}

#viewaccesscontrol .custom-input-field label{
	width: 100%;
}

#viewcontactimagetypes .custom-input-field label,
#viewpicturetypes .custom-input-field label {
	float: left;
	max-width: 50%;
}

#viewcontactimagetypes .custom-input-field input,
#viewpicturetypes .custom-input-field input {
	float: right;
	max-width: 50%;
}

.oo-poststuff .key-of-field-block {
	display: flex;
}

.oo-toggle-switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 28px;
}

.oo-toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.oo-toggle-switch .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.oo-toggle-switch .slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

.oo-toggle-switch > input:checked + .slider {
	background-color: #2271b1;
}

.oo-toggle-switch > input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

.oo-toggle-switch > input:disabled + .slider {
	background-color: #ccc;
	cursor: not-allowed;
}

.oo-toggle-switch > input:checked + .slider:before {
	transform: translateX(30px);
}

.oo-toggle-switch .slider.round {
	border-radius: 34px;
}

.oo-toggle-switch .slider.round:before {
	border-radius: 50%;
}

.oo-poststuff .custom-input-field .onoffice-input-radio {
	border-radius: 4px;
	width: 50%;
	display: grid;
	float: left;
	justify-content: initial;
	border: 1px solid #8c8f94;
}

.oo-poststuff .custom-input-field .onoffice-input-radio label {
	display: flex;
	justify-content: space-between;
	margin: 10px;
}

.oo-poststuff .custom-input-field .field-item-detail {
	margin-left: 5px;
}

.oo-poststuff .custom-input-field textarea[name=oopluginformtaskconfig-description],
.oo-poststuff .custom-input-field textarea[name=oopluginformactivityconfig-remark] {
	min-height: 100px;
}

.oo-poststuff .select2-container--default.select2-container--disabled .select2-selection--multiple {
	background-color: #f6f7f7;
	border-color: #dcdcde;
}

.oo-poststuff .select2-container--default .select2-selection--multiple[aria-disabled="true"] .select2-selection__choice {
    opacity: 0.5;
}

.oo-search-field {
	width: 100%;
	float: left;
}

.oo-search-field .input-search{
	width: 100%;
	padding: 7px 15px;
	border-radius: 0;
	margin-bottom: 7px;
}

.oo-search-field .field-lists {
	display: none;
	width: 100%;
	position: absolute;
	z-index: 999;
	left: -1px;
	background-color: white;
	margin-top: 2px;
	box-sizing: content-box;
	border: 1px solid #c3c4c7;
	border-top: none;
	border-bottom: 2px solid #747474;
	box-shadow: 0 12px 6px #00000014;
}

.oo-search-field .field-lists .line-bottom-content {
	margin: 15px 14px 0;
	border-bottom: 1px solid #c3c4c7;
}

.oo-search-field .field-lists .search-field-list {
	width: 100%;
	overflow-y: auto;
	max-height: 217px;
}

.oo-search-field .ui-sortable-handle {
	border-bottom: 1px solid #c3c4c7;
}

.oo-search-field .field-lists .search-field-list .search-field-item {
	cursor: pointer;
	padding: 2px 8px;
	margin: 2px;
	list-style-type: none;
	background-color: white;
	box-sizing: border-box;
}

.oo-search-field .field-lists .search-field-list .search-field-item:hover {
	background-color: #ddd;
}

.oo-search-field .field-lists .search-field-list .field-item {
	display: flex;
	align-items: center;
}

.oo-search-field .field-lists .search-field-list .field-item-detail .field-item-detail-category {
	margin: 0 0 0 5px;
	font-size: 12px;
}

.oo-search-field .field-lists .search-field-list .field-item-detail .field-item-detail-name {
	margin: 0 0 0 5px;
	font-size: 14px;
	display: block;
	font-weight: 600;
}

.oo-search-field .field-lists .search-field-list .action-remove {
	color: #ff000091;
}

.oo-search-field .box-search {
	position: relative;
	display: inline-block;
	width: 100%;
}

.oo-search-field .box-search .clear-icon {
	position: absolute;
	top: 38%;
	font-size: 27px;
	right: 20px;
	transform: translateY(-50%);
	cursor: pointer;
}

.delete-google-recaptcha-keys-button.button,
.delete-google-recaptcha-enterprise-keys-button.button {
    border: 1px solid #ff0000;
    color: #ff0000;
    margin-top: 20px;
}

.delete-google-recaptcha-keys-button.button:hover,
.delete-google-recaptcha-keys-button.button:focus,
.delete-google-recaptcha-enterprise-keys-button.button:hover,
.delete-google-recaptcha-enterprise-keys-button.button:focus {
    border: 1px solid #ff0000;
    color: #ffffff;
    background-color: #ff0000;
}

.oo-google-recaptcha-key {
	max-width: 380px;
	position: relative;
}

.oo-google-recaptcha-key > button.button {
	position: absolute;
	top: 0;
	right: 10px;
	background: none;
	border: 1px solid transparent;
	box-shadow: none;
	width: 40px;
	height: 30px;
	min-width: 40px;
}

.oo-google-recaptcha-key > button.button:hover {
	background: none;
	border: 1px solid transparent;
	transform: scale(1.2);
}

.oo-google-recaptcha-key > button.button:focus {
	background: none;
	border: 1px solid transparent;
	box-shadow: none;
}

.oo-google-recaptcha-key > button > span {
	margin-top: 5px;
}

@media only screen and (max-width: 1365px) {
	.block-publish .postbox-header {
		display: none;
	}
}

@media only screen and (min-width: 1366px) and (max-width: 1440px) {
	.block-publish {
		max-width: 230px !important;
	}
}

@media only screen and (min-width: 1366px) {
	.oo-poststuff {
		display: block;
		width: 100%;
	}

	.oo-poststuff #post-head-content {
		max-width: 1000px;
		width: 100%;
	}

	#onoffice-ajax #poststuff #post-body.columns-2 {
		display: inline-block;
		width: 100%;
	}

	.oo-poststuff-address-detail .viewusage,
	.oo-poststuff-estate-detail .viewusage {
		width: 100%;
	}

	.oo-poststuff-address-detail .block-publish,
	.oo-poststuff-estate-detail .block-publish,
	.oo-poststuff-similar-estate .block-publish {
		margin-top: 0;
	}

	.block-publish {
		width: calc(100% - 1000px);
		max-width: 280px;
		min-width: 200px;
		border: 1px solid #c3c4c7;
		box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
		background: #fff;
		display: inline-block;
		position: fixed;
		margin-left: 20px;
	}

	.block-publish .inside {
		font-size: 13px;
		margin: 0 !important;
		padding: 0 !important;
	}

	.block-publish p.submit {
		text-align: left;
		padding: 10px 10px 10px 10px;
		margin: 0 !important;
	}
}

.oo-poststuff .oo-vertical-radio {
	margin-top: 13px;
}

.oo-poststuff .oo-vertical-radio .oo-information-text {
	margin-bottom: 0;
}

.reCAPTCHA_badge .badge {
	display: inline-block;
	background-color: #9acd32;
	border-radius: 10px;
	padding: 2px 6px;
	font-size: 10px;
	color: #fff;
}

@media only screen and (max-width: 782px) {
	.page-option-action summary{
		padding: 10px 15px;
		font-size: 14px;
		white-space: nowrap;
	}

	.oo-google-recaptcha-key {
		max-width: none;
		width: 100%;
	}

	.oo-google-recaptcha-key > button > span {
		margin-top: 10px;
	}
}

.list-fields-for-each-page {
	outline: 1px solid #ccc;
	margin: 10px;
	padding: 10px;
	cursor: move;
}

.list-fields-for-each-page .filter-fields-list {
	min-height: 20px;
	width: 100%;
}

.list-fields-for-each-page .multi-page-title {
	margin: 0 12px 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.list-fields-for-each-page .multi-page-counter {
	font-weight: 600;
}
.list-fields-for-each-page .multi-page-title .custom-input-field {
	margin: 0;
	align-items: center;
}
.list-fields-for-each-page .multi-page-title .custom-input-field:first-of-type {
	flex-wrap: wrap;
	justify-content: flex-start;
}
.list-fields-for-each-page .multi-page-title .custom-input-field input:first-of-type {
	width: 100%;
}
.list-fields-for-each-page .multi-page-title-delete {
	width: 20px;
	padding: 0;
	background: transparent;
	border: none;
}

.list-fields-for-each-page .sortable-item:hover,
.list-fields-for-each-page .ui-droppable-hover {
	background-color: #f0f0f0;
	cursor: move;
}

.list-fields-for-each-page .ui-sortable-helper {
	background-color: #e0e0e0;
	border: 1px solid #ccc;
	opacity: 0.8;
}

.list-fields-for-each-page .ui-sortable-placeholder {
	border: 1px dashed #ccc;
	background: #f9f9f9;
	height: 40px;
}

.list-fields-for-each-page .item-remove-page .item-remove-page-link {
	cursor: pointer;
	color: #b32d2e;
	border: none;
	margin-right: 12px;
}

.list-fields-for-each-page .item-remove-page {
	display: flex;
	justify-content: flex-end;
}

.list-fields-for-each-page:hover {
    outline-color: #2271B1;
    background-color: #fafafa;
    transition: outline-color 0.3s, background-color 0.3s;
}

/* Disable hover effect if hovering over .sortable-item.item */
.list-fields-for-each-page:hover:has(.sortable-item.item:hover) {
	outline-color: #ccc;
    background-color: transparent;
}

.page-dragging {
	outline: 1px solid #2271B1;
}

.add-page-container {
	display: flex;
	justify-content: center;
}

.add-page-container .add-page-button {
	padding: 5px 22px;
	border-radius: 3px;
	margin-left: 10px;
	color: black !important;
	border: 1px solid #2271B1;
	color: #fff;
	cursor: pointer;
}

.add-page-container .add-page-button:hover {
	border: 1px solid #0f4775;
}

.sortable-item.selected .menu-item-handle {
	border-color: #2271B1;
}

.postbox-select-all {
	display: flex;
	gap: 8px;
	align-items: end;
	padding: 12px 8px;
	font-weight: 600;
	cursor: pointer;
}

.add-page-container .add-page-button:disabled {
	background-color: #ccc;
  	color: #666;
  	cursor: not-allowed;
  	opacity: 0.7;
}

.oo-poststuff .oo-email-subject-container .oo-email-subject-title {
	box-sizing: border-box;
	width: 100%;
	padding: 5px 5px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	min-height: 30px;
	position: relative;
}

.oo-poststuff .oo-email-subject-container .oo-insert-variable-button {
	color: #646970;
	border: 1px solid #646970;
	background: #f6f7f7;
	padding: 5px 10px;
	border-radius: 4px;
	cursor: pointer;
	margin-bottom: 10px;
}

.oo-poststuff .oo-email-subject-container .oo-insert-variable-button:hover {
	background: #e0e0e0;
}

.oo-poststuff .oo-email-subject-container .oo-email-subject-tag {
	background-color: #e4e4e4;
	border: 1px solid #aaa;
	border-radius: 4px;
	padding: 0px 4px;
	margin: 3px;
	display: inline-flex;
	align-items: center;
	cursor: default;
}

.oo-poststuff .oo-email-subject-container .oo-email-subject-tag .oo-remove-tag {
	cursor: pointer;
}

.oo-poststuff .oo-email-subject-container .oo-email-subject-suggestions {
	border: 1px solid #ccc;
	background-color: #fff;
	position: absolute;
	z-index: 1000;
	max-height: 150px;
	overflow-y: auto;
	display: none;
	min-width: 220px;
	box-shadow: rgba(32, 33, 36, 0.28) 0px 1px 6px;
	border-bottom: 1px hidden rgb(255, 255, 255);
	margin-top: -5px;
	margin-left: 7px;
}

.oo-poststuff .oo-email-subject-container .oo-suggestion-item {
	padding: 5px;
	cursor: pointer;
}

.oo-poststuff .oo-email-subject-container .oo-suggestion-item:hover {
	background-color: #f0f0f0;
}

.oo-sortable-checkbox-wrapper {
	height: 1.25rem;
	display: inline-flex;
	align-items: center;
}

.oo-sortable-checkbox-wrapper input[type="checkbox"] {
	transform: translateY(0.125rem);
}
