:root {
	--pp-color: #21105D;
	--pp-color-faded: #21105Da8;
	--pp-toggle-green: #4caf50;
	--pp-center-width: 1392px;
}

#wpcontent {
	padding: 0 !important;
	transition: all .3s;
}

#toplevel_page_peachpay .wp-submenu li a {
	line-height: 1.4;
	margin: 2px 12px;
	border-radius: 4px;
	border-left: 0;
	transition: all .3s;
}

#toplevel_page_peachpay .wp-submenu li:first-of-type a {
	margin-top: 0;
}

#toplevel_page_peachpay .wp-submenu li:last-of-type a {
	margin-bottom: 0;
}

#toplevel_page_peachpay .wp-submenu li:hover a,
#toplevel_page_peachpay .wp-submenu li:focus a {
	background-color: rgba(255, 255, 255, 0.05);
	box-shadow: none;
}

#toplevel_page_peachpay .wp-submenu a:hover,
#toplevel_page_peachpay .wp-submenu a:focus {
	box-shadow: none;
}

#toplevel_page_peachpay .wp-submenu li.current a {
	background-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0px 1px 10px -6px rgb(0 0 0 / 40%);
	margin: 6px 12px;
}

.wrap {
	display: flex;
	align-items: center;
	flex-direction: column;
	align-self: center;
	margin: 0;
}

#peachpay_settings_container .form-table {
	display: flex;
	margin: 0;
}

#peachpay_settings_container table.form-table > tbody {
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
	margin: 0px 24px 32px 24px;
}

@media screen and (max-width: 1024px) {
	#peachpay_settings_container table.form-table > tbody {
		margin: 0px 16px 24px 16px;
	}
}

.peachpay_settings_container_field_editor,
.peachpay_settings_container_currency {
	max-width: 100% !important;
	margin: auto;
}

@media screen and (min-width: 782px) {
	#wpcontent {
		padding-left: 0px;
	}
}

.pp-merged-inputs {
	padding: 0;
	margin: 0;
	background-color: white;
	border-radius: 0.2rem;
	border: 1px solid #8c8f94;
	width: fit-content;
	display: flex;
	flex-direction: row;
}

.pp-merged-inputs input {
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 0;
}

.pp-merged-inputs input[type='color'] {
	width: 32px;
	height: 32px;
	border-radius: 5px;
	margin: 0px 5px !important;
}

.pp-merged-inputs input[type='text'] {
	display: inline-block;
	width: 80px;
	border-top-right-radius: 0.2rem;
	border-bottom-right-radius: 0.2rem;
	text-transform: uppercase;
}

#peachpay_settings_container:not(.peachpay_settings_container_field_editor) .peachpay-setting-section {
	background-color: white;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-sizing: border-box;
	width: 100%;
}

#peachpay_settings_container:not(.peachpay_settings_container_field_editor):not(.peachpay_settings_container_currency) .peachpay-setting-section {
	width: 100%;
}

.peachpay-setting-section > div:not(.pp-save-button-section) {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
}

.pp-setting-label,
.peachpay-setting-section h4 {
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	color: #212121;
	display: flex;
	margin: 4px 0px;
}

@media screen and (max-width: 1024px) {
	.pp-setting-label,
	.peachpay-setting-section h4 {
		font-size: 14px;
	}
}

#peachpay_settings_container p {
	margin: 0 !important;
}

#peachpay_settings_container select,
#peachpay_settings_container input {
	margin: 0 !important;
}

p.description {
	font-size: 12px !important;
	line-height: 21px;
	color: #616161;
	margin-left: 1px !important;
}

.pp-switch {
	position: relative;
	display: inline-block;
	width: 32px;
	height: 20px;
	margin: 4px 0px;
}

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

.pp-switch-disabled {
	opacity: 50%;
	cursor: default !important;
	pointer-events: none;
}

.pp-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 34px;
}

.pp-slider:before {
	position: absolute;
	content: '';
	height: 16px;
	width: 16px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 50%;
}

input:checked+.pp-slider {
	background-color: var(--pp-toggle-green);
}

input:checked+.pp-slider:before {
	-webkit-transform: translateX(12px);
	-ms-transform: translateX(12px);
	transform: translateX(12px);
	mask-image: url('../img/toggle-check.svg');
	-webkit-mask-image: url('../img/toggle-check.svg');
	mask-size: contain;
	-webkit-mask-size: contain;
	mask-position: center center;
	-webkit-mask-position: center center;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
}

input:disabled+.pp-slider {
	opacity: 0.5;
}

.button {
	width: fit-content;
	height: fit-content;
}

@media screen and (max-width: 720px) {
	.button {
		padding: 0 8px !important;
		font-size: 12px !important;
		line-height: 2 !important;
		min-height: 28px !important;
		margin-bottom: 0 !important;
	}
}

.pp-button-primary {
	background-color: #21105df5 !important;
	border: 1px solid #21105D !important;
	color: white !important;
	cursor: pointer;
	transition: all .3s;
}

.pp-button-primary:hover {
	background-color: #21105ccc !important;
	border-color: #180c43 !important;
}

.pp-button-primary:focus {
	border-color: #180c43 !important;
}

.pp-static-header {
	padding: 16px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pp-static-header .pp-section-header {
	font-size: 20px;
	font-weight: 500;
	line-height: 30px;
}

#pp-active-currencies th,
#pp-active-currencies td:not(#pp-currency-rate-column)
 {
	display: table-cell !important;
	font-size: 12px;
}

#pp-active-currencies td {
	padding: 8px 16px;
}

#pp-active-currencies th:first-of-type,
#pp-active-currencies td:first-of-type {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	max-width: 52px;
	width: fit-content;
}

.peachpay_settings_container_currency .pp-header:last-of-type > td > div {
	width: 100%;
	display: flex;
}

.currency_table_section {
	display: grid;
	width: 100%;
}

#pp-currency-table-div {
	display: flex;
	max-width: 100%;
	overflow: auto;
}

.pp-switch-section {
	display: flex;
	gap: 10px;
	margin-bottom: 4px;
}

.pp-switch-section input[type='checkbox']:not(.toggle):disabled {
	opacity: 0 !important;
}

.peachpay-setting-section h3 {
	font-weight: normal;
	margin: 0px 0px 8px 0px;
}

@media screen and (max-width: 1024px) {
	.pp-setting-label,
	.peachpay-setting-section h4 {
		font-size: 13px;
	}
}

.pp-switch-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pp-radio-icon {
	width: 109px;
	color: black;
}

.pp-radio-icon input[type=radio] {
	display: none;
}

.pp-radio-icon input[type=radio]:checked+label {
	background: #f8f8ff;
	border-color: #21105D;
}

.pp-radio-icon label {
	display: block;
	background: white;
	border-radius: 10px;
	padding: 5px;
	text-align: center;
	position: relative;
	border: 3px solid #BDBDBD;
}

.pp-radio-icon label:hover {
	border-color: #21105D;
}

.pp-color-input-container {
	display: flex;
}

.pp-icon-preview {
	width: 24px;
	height: 24px;
	vertical-align: middle;
	margin: 0 !important;
}

.pp-radio-section {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.pp-radio-effect input[type=radio] {
	display: none;
}

.pp-radio-effect input[type=radio]:checked+label {
	opacity: 1;
}

.pp-radio-effect label {
	width: 220px;
	height: 54px;
	border-radius: 5px;
	display: flex;
	border: 2px solid var(--pp-button-background-color);
	padding: 15px 1px;
	background-color: var(--pp-button-background-color);
	color: var(--pp-button-text-color);
	font-size: 16px;
	font-weight: bold;
	opacity: 0.5;
	transition: all .4s ease;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.pp-radio-effect p {
	font-size: 10px !important;
	font-weight: normal;
}

.pp-button-preview-container {
	background-color: #f1f1f1;
	display: flex;
	justify-content: center;
	padding: 16px;
	align-items: center;
}

.pp-alignment-section {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	max-width: 600px;
}

.pp-mobile-img {
	width: 184px;
	height: 250px;
}

.pp-mobile-position-section {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	max-width: 700px;
	overflow: auto;
}

.pp-button-mobile-position input[type=radio] {
	display: none;
}

.pp-button-mobile-position input[type=radio]:checked+label {
	background: #f8f8ff;
	border-color: #21105D;
}

.pp-button-mobile-position label {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: white;
	border-radius: 10px;
	padding: 8px 32px;
	text-align: center;
	position: relative;
	border: 3px solid #BDBDBD;
}

.pp-button-mobile-position label:hover {
	border-color: #21105D;
}

.pp-button-alignment input[type=radio] {
	display: none;
}

.pp-button-alignment input[type=radio]:checked+label {
	background: #f8f8ff;
	border-color: #21105D;
}

.pp-button-alignment label {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: white;
	border-radius: 10px;
	padding: 8px 32px;
	text-align: center;
	position: relative;
	border: 3px solid #BDBDBD;
}

.pp-button-alignment label:hover {
	border-color: #21105D;
}

.pp-alignment-img {
	width: 184px;
	height: 126px;
}

.pp-save-button-section {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	margin-top: 0 !important;
}

.pp-save-button-section p {
	margin: 0 !important;
	padding: 0 !important;
}

.pp-save-button-section .submit {
	text-align: right;
}

.pp-button-secondary {
	border: 1px solid #21105D !important;
	color: #21105D !important;
	background-color: transparent !important;
	cursor: pointer;
	transition: all .3s;
}

.pp-button-secondary:hover {
	background-color: #21105d1c !important;
	color: #180c43 !important;
}

.pp-help-container {
	display: flex;
	height: 30px;
}

.pp-tutorial-text {
	text-decoration: none;
	padding-left: 3px;
	color: #575757 !important;
}

.pp-help-container:hover .pp-tutorial-text{
	color: #212121 !important;
}

.pp-help-container:hover .pp-help-video-img{
	visibility: hidden;
	display: none;
}

.pp-help-video-img-hover{
	display: none;
}

.pp-help-container:hover .pp-help-video-img-hover{
	display: unset;
}

.pp-tutorial-button {
	display: flex;
	align-items: center;
	align-content: center;
	border-radius: 3px;
	padding: 0 10px;
	height: 30px;
}

.pp-section-header .pp-tutorial-button {
	padding: 0;
}

.pp-section-header .pp-help-container {
	margin-top: 5px
}

@media screen and (max-width: 782px) {
	.pp-section-header {
		display: flex;
		width: 100%;
		flex-direction: column;
	}

	.pp-section-header .pp-help-container {
		margin-top: 0;
		margin-left: 10px;
	}
}

.pp-help-link{
	text-decoration: none;
}

.pp-currency-warning-table {
	bottom: 120%;
}

.pp-popup-mousemove-trigger:hover .pp-popup,
.pp-method-warning:hover .pp-popup {
	visibility: visible;
}

#pp-active-currencies {
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0px 0px 0px;
	overflow-wrap: break-word;
}

#pp-active-currencies tr {
	text-align: center;
	align-items: center;
	align-content: center;
}

#pp-active-currencies th {
	text-align: center;
	white-space: nowrap;
	padding: 10px 10px 10px 10px;
	background-color: #E0E0E0;
}

#pp-active-currencies input[type='button']:hover {
	background: var(--pp-color-faded);
}

#pp-active-currencies input[type='button'].pp-removeButton {
	color: rgba(243, 87, 87, 1);
	background-color: transparent;
	border: 0;
	cursor: pointer;
	font-size: 24px;
	vertical-align: 4px;
}

#pp-active-currencies input[type='button'].pp-removeButton:hover,
#pp-active-currencies input[type='button'][disabled].pp-removeButton:hover {
	color: rgb(230, 22, 22, .5);
}

.pp-page-setting {
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: max-height 0.5s;
	overflow: hidden;
}

.pp-page-setting.hide {
	max-height: 0px;
	display: none !important;
}

.pp-tooltip-qm {
	height: 16px;
	vertical-align: middle;

}

.pp-currency-name {
	display: flex;
	align-items: center;
}

.pp-method-warning {
	vertical-align: middle;
	padding-left: 4px;
}

#pp-merchant-logo-buttons {
	margin-top: 5px;
}

#pp-admin-merchant-logo {
	padding: 6px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	max-height: 100px;
}

#pp-merchant-logo-img {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

#pp-merchant-logo-img:not([src]) {
	background-color: #BDBDBD;
	background-origin: border-box;
	mask-image: url(../img/merchant_logo_default.svg);
	-webkit-mask-image: url(../img/merchant_logo_default.svg);
	mask-size: contain;
	-webkit-mask-size: contain;
	mask-position: center;
	-webkit-mask-position: center;
	mask-origin: content-box;
	-webkit-mask-origin: content-box;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
}

.pp-merchant-logo-border {
	width: 160px;
	height: 160px;
	padding: 16px;
	box-sizing: border-box;
	border: 1px dashed #bdbdbd;
}

.pp-add-option {
	font-size: 14px;
	border: 0px;
	width: 35%;
	border-radius: 5px;
	padding: 5px 0px;
}

#pp-all-currency-table {
	background-color: white;
	width: 25%;
	text-align: center;
}

#pp-all-currency-table input {
	background-color: white;
	border: none;
	width: 100%;
}

.currencyRow select {
	max-width: 16rem;
}

#pp-show-all-rates {
	background: var(--pp-color);
	border: none;
	border-radius: 0.2rem;
	padding: 0.5rem 0.5rem;
	color: white;
	width: 25%;
	cursor: pointer;
}

.pp-payment-uninitialized {
	margin: 12px 18px;
	display: flex;
	gap: 8px;
	align-items: center;
}

.pp-payment-uninitialized img {
	display: flex;
	height: 20px;
	width: fit-content;
	object-fit: contain;
}

.pp-payment-uninitialized > div {
	display: flex;
}

.pp-payment-uninitialized p {
	color: #424242;
	font-size: 15px;
	font-weight: 500;
}

.pp-payment-uninitialized a {
	color: #424242;
}

.pp-payment-uninitialized a:hover {
	color: black;
}

.pp-connect-payment {
	display: inline-block;
	height: 38px;
	text-decoration: none;
	cursor: pointer;
	border: none;
	width: 14rem;
	text-align: center;

	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;

	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;

	-webkit-font-smoothing: antialiased;
	transition: all 0.2s;
}

.pp-connect-payment-loading {
	cursor: initial;
}

.pp-connect-payment span {
	color: #ffffff;
	font-size: 15px;
	font-weight: 400;
	line-height: 14px;
	position: relative;
	text-align: left;
	vertical-align: middle;
	display: inline-block;
}

.pp-connect-payment:hover {
	filter: opacity(70%);
}

.pp-button-unlink {
	color: #f0f0f0 !important;
	background: #ed5e68 !important;
	border-color: #ed5e68 !important;
}

#pp-all-currency-table tbody {
	display: block;
	width: 100%;
	max-height: 20rem;
	overflow-y: auto;
}

#pp-all-currency-table td {
	border-bottom: 1px solid #E0E0E0;
}

.pp-currency-table-save-button p {
	margin: 0px;
	padding: 0px;
}

#pp-enable-every-currency {
	background: var(--pp-color);
	border: none;
	border-radius: 0.2rem;
	color: white;
	width: fit-content;
}

#pp-enable-every-currency:hover {
	background: var(--pp-color-faded);
	cursor: pointer;
}

.chosen-drop {
	position: fixed !important;
}

.chosen-results {
	width: 100%;
	height: 100%;
}

.chosen-choices {
	height: 40px !important;
	overflow-y: scroll !important;
}


.pp-load-currency {
	margin-top: 20px;
	border: 16px solid #f3f3f3;
	/* Light grey */
	border-top: 16px solid var(--pp-color);
	/* Blue */
	border-radius: 25%;
	width: 30px;
	height: 30px;
	animation: spin 2s linear infinite;
}


.pp-load {
	margin-top: 20px;
	border: 16px solid #f3f3f3;
	/* Light grey */
	border-top: 16px solid var(--pp-color);
	/* Blue */
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 2s linear infinite;
}

.pp-load table {
	visibility: hidden;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.pp-delete-field {
	font-size: 12px;
	font-weight: 700;
	color: #d32f2f;
	cursor: pointer;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	line-height: 18px;
	margin: 8px 0px;
}

.pp-delete-field:hover {
	color: red;
}

.peachpay-setting-section .table-form::-webkit-scrollbar {
	display: none;
}

.pp-chevron-right {
	width: 8px;
	height: 8px;
	background-color: #21105D;
	mask-image: url('../img/chevron-right.svg');
	-webkit-mask-image: url('../img/chevron-right.svg');
	mask-position: center;
	-webkit-mask-position: center;
	mask-repeat: no-repeat;
}

.pp-flex-row {
	display: flex;
	flex-direction: row;
}

.pp-flex-col {
	display: flex;
	flex-direction: column;
}

.pp-ai-start {
	align-items: flex-start;
}

.pp-ai-center {
	align-items: center;
}

.pp-ai-end {
	align-items: flex-end;
}

.pp-jc-sb {
	justify-content: space-between;
}

.pp-jc-center {
	justify-content: center;
}

.pp-ai-fs {
	align-items: flex-start;
}

.pp-ai-fe {
	align-items: flex-end;
}

.pp-gap-4 {
	gap: 4px;
}

.pp-gap-12 {
	gap: 12px;
}

.pp-gap-24 {
	gap: 24px;
}

.pp-gap-32 {
	gap: 32px;
}

.pp-w-100 {
	width: 100%;
}

.pp-max-w-50 {
	max-width: 50%;
}

.pp-bold {
	font-weight: bold;
}