/**
 * All of the CSS for your admin-facing functionality should be
 * included in this file.
 */
/*--------------------------------------------------------------*/
#adp_popup_metabox .inside {
	margin: 0;
	padding: 0;
}

#adp_popup_metabox .hidden {
	display: none;
}

/* Basic -------------------------------------------------------------- */
.adp-metabox-wrap .adp-metabox-tabs {
	background: none;
	border: none;
	display: flex;
	margin: 0;
	padding: 0;
	border-radius: 0;
}

.adp-metabox-wrap .adp-metabox-tabs > .adp-metabox-tabs-navigation {
	display: flex;
	flex-direction: column;
	border: none;
	border-right: 1px solid #eee;
	background: #FAFAFA;
	flex: 0 0 200px;
	margin: 0;
	padding: 0;
}

.adp-metabox-wrap .adp-metabox-tabs > .adp-metabox-tabs-navigation:before {
	display: none;
}

.adp-metabox-wrap .adp-metabox-tabs > .adp-metabox-tabs-navigation li {
	display: block;
	background: transparent;
	border: none;
	margin: 0;
	padding: 0;
	float: none;
	outline: none;
	box-shadow: none;
	border-radius: 0;
}

.adp-metabox-wrap .adp-metabox-tabs > .adp-metabox-tabs-navigation li a {
	border: none;
	border-bottom: 1px solid #eee;
	position: relative;
	display: block;
	font-size: 0.8125rem;
	line-height: 1.25rem;
	padding: 0.625rem;
	text-decoration: none;
	outline: none;
	box-shadow: none;
	color: #0073aa;
	float: none;
	cursor: pointer;
}

.adp-metabox-wrap .adp-metabox-tabs > .adp-metabox-tabs-navigation li a:hover {
	color: #00a0d2;
}

.adp-metabox-wrap .adp-metabox-tabs > .adp-metabox-tabs-navigation li.ui-tabs-active {
	margin: 0;
	padding: 0;
}

.adp-metabox-wrap .adp-metabox-tabs > .adp-metabox-tabs-navigation li.ui-tabs-active a {
	background-color: #eee;
	color: #555;
	cursor: pointer;
}

.adp-metabox-wrap .adp-metabox-tabs > .adp-metabox-tabs-content {
	flex-grow: 1;
}

.adp-metabox-wrap .adp-metabox-tabs > .adp-metabox-tabs-content .ui-tabs-panel {
	padding: 0;
	border-radius: 0;
}

@media screen and (max-width: 768px) {
	.adp-metabox-wrap .adp-metabox-tabs {
		flex-direction: column;
	}
	.adp-metabox-wrap .adp-metabox-tabs > .adp-metabox-tabs-navigation {
		flex: 0 0 100%;
	}
}

.adp-metabox-wrap .adp-metabox-field {
	display: flex;
	position: relative;
	flex-direction: column;
}

.adp-metabox-wrap .adp-metabox-field:last-child {
	border-bottom: none;
}

.adp-metabox-wrap .adp-metabox-field .adp-metabox-label {
	position: relative;
	flex: 0 0 100%;
	float: none;
	margin: 0;
	padding: 1rem 1rem 0.5rem;
	box-sizing: border-box;
}

.adp-metabox-wrap .adp-metabox-field .adp-metabox-label label {
	display: block;
	font-size: 14px;
	line-height: 1.4em;
	margin: 0 0 3px;
}

.adp-metabox-wrap .adp-metabox-field .adp-metabox-input {
	position: relative;
	flex: 0 0 100%;
	margin: 0;
	padding: 1rem 1rem 0.5rem;
	box-sizing: border-box;
}

.adp-metabox-wrap .adp-metabox-field .adp-metabox-input input[type="number"],
.adp-metabox-wrap .adp-metabox-field .adp-metabox-input input[type="text"],
.adp-metabox-wrap .adp-metabox-field .adp-metabox-input select,
.adp-metabox-wrap .adp-metabox-field .adp-metabox-input textarea {
	width: 100%;
}

.adp-metabox-wrap .adp-metabox-field .adp-metabox-input input[type="number"].short,
.adp-metabox-wrap .adp-metabox-field .adp-metabox-input input[type="text"].short,
.adp-metabox-wrap .adp-metabox-field .adp-metabox-input select.short,
.adp-metabox-wrap .adp-metabox-field .adp-metabox-input textarea.short {
	max-width: 100px;
}

@media (min-width: 1200px) {
	.adp-metabox-wrap .adp-metabox-field {
		flex-direction: row;
	}
	.adp-metabox-wrap .adp-metabox-field .adp-metabox-label {
		flex: 0 0 20%;
		padding: 1rem 1.25rem;
	}
	.adp-metabox-wrap .adp-metabox-field .adp-metabox-input {
		flex: 0 0 80%;
		padding: 1rem 1.25rem;
	}
}

.adp-metabox-wrap .adp-metabox-switcher {
	display: flex;
	position: absolute;
	top: -2rem;
	right: 1rem;
}

.adp-metabox-wrap .adp-metabox-switcher .adp-metabox-switch {
	border: 2px solid #555d66;
	box-sizing: border-box;
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 1.75rem;
	height: 18px;
	padding: 0;
	position: relative;
	vertical-align: middle;
	width: 36px;
	margin-right: 0.5rem;
	border-radius: 9px;
}

.adp-metabox-wrap .adp-metabox-switcher .adp-metabox-switch .adp-metabox-switch-on {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 10px;
	height: 10px;
	z-index: 1;
	background: #6C7781;
	border-radius: 50%;
	transition: all 0s ease 0.25s;
}

.adp-metabox-wrap .adp-metabox-switcher .adp-metabox-switch .adp-metabox-switch-off {
	border: 2px solid #6c7781;
	display: block;
	position: absolute;
	top: 3px;
	right: 3px;
	width: 7px;
	height: 7px;
	z-index: 1;
	border-radius: 50%;
}

.adp-metabox-wrap .adp-metabox-switcher .adp-metabox-switch .adp-metabox-switch-slider {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 10px;
	height: 10px;
	z-index: 1;
	background: #6C7781;
	border-radius: 50%;
	transition: all 0.25s ease;
}

.adp-metabox-wrap .adp-metabox-switcher .adp-metabox-checkbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 2;
}

.adp-metabox-wrap .adp-metabox-switcher .adp-metabox-checkbox:checked + .adp-metabox-switch {
	border-color: #11A0D2;
	background: #11A0D2;
}

.adp-metabox-wrap .adp-metabox-switcher .adp-metabox-checkbox:checked + .adp-metabox-switch .adp-metabox-switch-on {
	top: 4px;
	left: 6px;
	width: 2px;
	height: 6px;
	background: #FFFFFF;
	transition: none;
}

.adp-metabox-wrap .adp-metabox-switcher .adp-metabox-checkbox:checked + .adp-metabox-switch .adp-metabox-switch-slider {
	background: #FFFFFF;
	top: 2px;
	left: calc(50% + 4px);
}

.adp-metabox-wrap .adp-metabox-repeater {
	width: 100%;
}

.adp-metabox-wrap .adp-metabox-repeater > table {
	width: 100%;
	border: none;
	border-collapse: collapse;
}

.adp-metabox-wrap .adp-metabox-repeater > table tr {
	background: #FFFFFF;
	width: 100%;
}

.adp-metabox-wrap .adp-metabox-repeater > table tr th {
	text-align: left;
}

.adp-metabox-wrap .adp-metabox-repeater > table tr th,
.adp-metabox-wrap .adp-metabox-repeater > table tr td {
	border: none;
	vertical-align: top;
}

.adp-metabox-wrap .adp-metabox-repeater > table tr.ui-sortable-helper {
	display: table;
}

.adp-metabox-wrap .adp-metabox-repeater > table tr.ui-sortable-placeholder {
	background: #F9F9F9;
}

.adp-metabox-wrap .adp-metabox-repeater > table tr.ui-state-highlight td {
	background: #F9F9F9;
	border: 1px dashed #D8D8D8;
}

.adp-metabox-wrap .adp-metabox-repeater .btn-add-row {
	margin: 1rem 1.25rem;
}

.adp-metabox-wrap .adp-metabox-repeater .row-content input, .adp-metabox-wrap .adp-metabox-repeater .row-content textarea {
	width: 100%;
}

.adp-metabox-wrap .adp-metabox-repeater .row-content input[type="number"] {
	max-width: 100px;
}

.adp-metabox-wrap .adp-metabox-repeater .row-content p {
	width: 100%;
}

.adp-metabox-wrap .adp-metabox-repeater .row-topbar {
	position: relative;
	border-bottom: 1px solid #EFEFEF;
	padding: 1rem 1.25rem;
	zoom: 1;
	cursor: move;
}

.adp-metabox-wrap .adp-metabox-repeater .row-topbar .handlediv {
	display: block !important;
	background-position: 6px 5px;
	visibility: hidden;
	width: 27px;
	height: 26px;
}

.adp-metabox-wrap .adp-metabox-repeater .row-topbar .handlediv:before {
	content: "\f142";
	cursor: pointer;
	display: inline-block;
	font: 400 20px/1 Dashicons;
	line-height: .5;
	padding: 8px 10px;
	position: relative;
	right: 12px;
	top: 0;
}

.adp-metabox-wrap .adp-metabox-repeater .row-topbar.closed .handlediv:before {
	content: "\f140";
}

.adp-metabox-wrap .adp-metabox-repeater .row-topbar .delete {
	color: red;
	font-weight: 400;
	line-height: 26px;
	text-decoration: none;
	position: relative;
	visibility: hidden;
	float: right;
}

.adp-metabox-wrap .adp-metabox-repeater .row-topbar .signature {
	display: inline-block;
	padding-right: 100px;
	line-height: 26px;
	font-weight: 700;
}

.adp-metabox-wrap .adp-metabox-repeater .row-topbar .signature span {
	opacity: 0.5;
}

.adp-metabox-wrap .adp-metabox-repeater .row-topbar:hover .handlediv,
.adp-metabox-wrap .adp-metabox-repeater .row-topbar:hover .delete {
	visibility: visible;
}

.adp-metabox-wrap .adp-metabox-repeater .row-fields {
	border-bottom: 1px solid #EFEFEF;
	background-color: #FDFDFD;
}

.adp-metabox-wrap .adp-metabox-repeater .row-body {
	padding: 1rem 1.25rem;
}

/* Popup -------------------------------------------------------------- */
.adp-metabox-wrap .popup-field-info-text,
.adp-metabox-wrap .popup-field-info-buton-label,
.adp-metabox-wrap .popup-field-info-buton-action,
.adp-metabox-wrap .popup-field-info-buton-link {
	display: none;
}

.adp-metabox-wrap .popup-field-rules {
	flex-direction: column;
}

.adp-metabox-wrap .popup-field-rules input[type="text"],
.adp-metabox-wrap .popup-field-rules select {
	width: 100%;
	box-sizing: border-box;
}

.adp-metabox-wrap .popup-field-rules .delete {
	display: inline-block;
	color: red;
	font-weight: 400;
	line-height: 26px;
	margin-left: 1rem;
}

.adp-metabox-wrap .popup-field-rules .add-new-rule {
	margin-left: 1rem;
	margin-bottom: 1rem;
	margin-right: auto;
}

.adp-metabox-wrap .popup-field-rules-list:not(:empty) {
	margin-bottom: 2rem;
}

.adp-metabox-wrap .popup-field-rules-list .row {
	border-top: 1px dashed #EEEEEE;
	margin-top: 1.5rem;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	padding-top: 1.5rem;
}

.adp-metabox-wrap .popup-field-rules-list .row:first-child {
	border-top: none;
	margin-top: 0;
	padding-top: 0;
}

.adp-metabox-wrap .popup-field-rules-list .tools {
	position: relative;
	border-left: 2px solid #555D66;
	background: #FAFAFA;
	margin-top: 1rem;
	padding: 1rem;
	padding-right: 3rem;
}

.adp-metabox-wrap .popup-field-rules-list .tools:first-child {
	margin-top: 0;
}

.adp-metabox-wrap .popup-field-rules-list .tools-bar {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-top: 1rem;
}

.adp-metabox-wrap .popup-field-rules-list .remove-another-rule {
	position: absolute;
	justify-content: center;
	align-items: center;
	top: 1rem;
	right: 1rem;
	margin: 0;
	font-size: 1rem;
	color: #555d66;
	text-decoration: none;
}

.adp-metabox-wrap .popup-field-rules-list .remove-another-rule:hover {
	color: #000000;
}

.adp-metabox-wrap .popup-field-rules-list input[type="text"],
.adp-metabox-wrap .popup-field-rules-list .select2 {
	width: 100%;
	margin-top: 1rem;
}

.adp-metabox-wrap .popup-field-rules-list .select2-selection {
	border: 1px solid #ddd;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
	border-radius: 0;
	min-height: 30px;
	height: 30px;
}

.adp-metabox-wrap .popup-field-rules-list .select2-selection__choice {
	background: #FAFAFA;
	border-color: #CDCDCD;
}

.adp-metabox-wrap .adp-popup-objects.hidden + .select2 {
	display: none;
}

.popup-block-easy .editor-post-title {
	margin-bottom: 2rem;
}

.popup-block-easy .edit-post-header-toolbar {
	visibility: hidden;
}

.popup-block-easy .editor-post-text-editor,
.popup-block-easy .block-editor-block-list__layout {
	display: none;
}

.popup-block-easy .adp-metabox-wrap .popup-field-info-text,
.popup-block-easy .adp-metabox-wrap .popup-field-info-buton-label,
.popup-block-easy .adp-metabox-wrap .popup-field-info-buton-action,
.popup-block-easy .adp-metabox-wrap .popup-field-info-buton-link {
	display: flex;
}
