/*Font Awesome icons overrides*/
.fa-check {
	color: #45a266;
}

.fa-times {
	color: #d13e3a;
}

/*Grid overrides*/
.row {
	max-width: 100%;
}

label.pushlabel {
	padding-left: 2rem !important;
}

.radio-custom {
	margin-top: 0 !important;
}

@media only screen and (max-width: 40em) {
	.mb-select-radio .ui-radio {
		margin-top: 0 !important;
	}
}

.hiddensubmit {
	display: none;
}

th.sortable {
	cursor: pointer;
}

th.sortable:before {
	font-family: FontAwesome;
	content: "\f0dc";
}

.accordion-navigation .fa.fa-minus-square {
	display: none;
}

.accordion-navigation.active .fa.fa-plus-square {
	display: none;
}

.accordion-navigation.active .fa.fa-minus-square {
	display: inline;
}

table.trans-details td.failed {
	color: #d13e3a;
}

table.trans-details td.failed .fa-times {
	margin-right: 0.5rem;
}

table.trans-details th {
	white-space: nowrap;
}

.refund-form {
	display: inline-block;
	border-left: 1px solid #bbbbbb;
	padding-left: 1rem;
}

.refund-form:nth-child(2) {
	border-left: none;
	padding-left: 0;
}

.refund-form .ui-btn.ui-input-btn.ui-corner-all.ui-shadow {
	color: #3193a8;
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 600;
	padding-bottom: 0.3rem;
	vertical-align: bottom;
	top: 0.4rem;
}

.refund-form .ui-btn.ui-input-btn.ui-corner-all.ui-shadow:hover {
	color: #b1b82d;
}

img.cvv {
	margin-top: 0.6rem;
}

.row.collapse .small-11.columns .ui-input-text.ui-body-inherit.ui-corner-all.ui-shadow-inset {
	margin-top: 2px;
}

.hidden {
	display: none;
}

.ui-checkbox input {
	margin-left: 0.2rem !important;
}

#addedit .chk-contain .ui-checkbox label {
	padding-left: 2.5em !important
}

#gateway_id-button, #paystation_gateway_currency_id-button {
	width: 100% !important;
}

#select-generic-fields-button {
	width: 20rem !important;
}

.ui-dialog {
	background-color: #ffffff !important;
}

.ui-selectmenu-open {
	z-index: 9999 !important;
}

.ui-selectmenu-button {
	width: 100% !important;
}

.payme-url, .payme-url-actions {
	display: none;
}

#minmax > div {
	width: 4rem;
	display: inline-block;
}

ul#sortable, ul#existing-options {
	margin-left: 0 !important;
}

#select-list, #existing-options, #sortable {
	list-style-type: none;
}

#select-list li, #existing-options li, #sortable li {
	height: 1.5em;
	font-size: 1.2em;
}

.sortable-placeholder {
	height: 1.5em;
	line-height: 1.2em;
	background-color: #fff;
}

#edit-field-dialog .ui-checkbox label,
#create-field-dialog .ui-checkbox label,
.chk-contain .ui-checkbox label,
.order-filter-contain .search .ui-checkbox label {
	padding-left: 2.5rem !important;
}

#editselect, #select-list, #eeditselect, #eselect-list {
	display: none;
}

#reference_value, #ereference_value {
	display: none;
}

.drag {
	cursor: move !important;
}

.orderlist-contain .tr-child table thead {
	display: table-cell !important;
}

.off-canvas-wrap {
	height: 100%;
	overflow: visible;
}

.ui-mobile .ui-page-active {
	overflow-x: visible !important;
}

.tr-child {
	display: none;
}

.tr-child-contain .centered-image,
#dlink .centered-image {
	margin: 0 auto;
	width: 32px;
}

@media only screen and (max-width: 40em) {
	#select-generic-fields-button {
		width: 100% !important;
	}

	.drag-contain {
		width: 91% !important;
	}

	.chk-contain {
		margin-top: 0 !important;
	}

	/*.inner-wrap {
		min-height: auto;
	}*/
}

.working {
	display: none;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(255, 255, 255, .8) url('/elements/images/ajax-loader.gif') 50% 50% no-repeat;
}

body.loading {
	overflow: hidden;
}

body.loading .working {
	display: block;
}

.ui-datebox-gridminus .ui-icon-minus, .ui-datebox-gridplus .ui-icon-plus {
	background-position: 50% 50% !important;
}

.ui-datebox-grid .ui-datebox-controls .ui-controlgroup-controls .ui-icon-delete {
	background-image: none !important;
	padding: 0.5rem 0 0 0;
}

#orderlist table tbody tr.disabled a.trigger.reveal {
	color: #d13e3a !important;
}

input#csc {
	display: inline-table
}

#token_message {
	max-width: 80em;
	padding: 0 2.5rem 0 1.5rem;
}

#token_message .token_error {
	color: #d13e3a;
}

#token_message .token_success {
	color: #45a266;
}

table.trans-details td.failed {
	color: #d13e3a;
}

table.trans-details td.incomplete {
	color: #d3841d;
}

select#exp_month, select#exp_year {
	width: 4rem;
}

.tok-form {
	border: 1px solid #dddddd;
	margin: 1rem 0;
	padding: 1rem 2.5rem 1rem 1.5rem !important;
}

.tok-form .header {
	font-size: 1.4rem;
	padding-left: 0;
}

.tok-form .ui-btn {
	text-align: left;
}

.ui-btn.ui-btn-a.ui-icon-delete.ui-btn-icon-left.ui-shadow.ui-corner-all.ui-last-child {
	background-image: none !important;
	padding: 0.5rem 0 0 0;
}

#tokenvalidimg {
	height: 16px;
}

#tokenvalidimg i {
	float: right;
	position: relative;
	right: 10px;
	top: -35px;
}

#tokenvalidimg span {
	color: #d13e3a;
	font-size: 0.75rem;
}

.download.ui-link.hidden {
	display: none;
}

@media only screen and (max-width: 85em) {
	#merchant_session_search {
		display: none;
	}
}

table.transactions tr td span.incomplete {
	color: #d3841d;
	display: inline-block;
	font-size: 0.95rem;
	margin-top: 0;
}

table.transactions tr.incomplete:hover td {
	background: #f6eee3;
	cursor: pointer;
}

@media only screen and (max-width: 80em) {
	table.transactions tr td span.incomplete {
		display: none;
	}
}

@media only screen and (min-width: 40em) and (max-width: 85em ) {

	.chk-contain {
		margin-top: 0 !important;
		margin-left: -0.75em;
	}

}

.orderlist-contain table.transactions tr td span {
	display: block !important;
}

#order-item-table td {
	border-left: none;
	border-right: none;
}

#order-item-table tr:nth-child(even), #order-item-table tr:nth-child(even) td:last-child {
	background: #ffffff !important;
}

#order-item-table tr:last-child td {
	border-bottom: 1px solid #d1e3e5;
	padding-top: 0.4em;
}

#order-item-table td a.paymetranslinkchevron {
	display: none;
}

@media only screen and (max-width: 85em) {

	#order-item-table td a.paymetranslinkchevron {
		display: block;
	}

	#order-item-table td a.paymetranslinktext {
		display: none;
	}
}

.surcharge .ui-checkbox {
	margin: 0;
	min-width: 175px;
}

.surcharge .ui-checkbox label {
	padding-left: 2.5em;
}

.fld-amount {
	margin-bottom: 0.5rem;
	min-width: 180px;
}

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

.flex {
	flex: 1;
}

@media only screen and (min-width: 40.0625em) {
	.reveal-modal {
		max-width: 40em;
	}
}

.move-right .exit-off-canvas {
	box-shadow: none;
}