.woocommerce table.my_account_invoices {
    font-size: .85em;
}

.woocommerce table.my_account_invoices td,
.woocommerce table.my_account_invoices th {
    padding: 4px 8px;
    vertical-align: middle;
}

.woocommerce table.my_account_invoices .button {
    white-space: nowrap;
}

.woocommerce table.my_account_invoices .order-actions {
    text-align: right;
}

.woocommerce table.my_account_invoices .order-actions .button {
    margin: .125em 0 .125em .25em;
}

.my_account_invoices.my_account_all_orders .button.view::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: -.125em;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    line-height: inherit;
    vertical-align: baseline;
    content: "\f06e";
    margin-left: 0.5407911001em;
}

.my_account_all_orders_table td,
th {
    padding: 4px;
}

.my_account_invoices_search_table td,
th {
    padding: 4px;
}

.sapphire_orders_none {
    display: block;
    clear: both;
}

.my_account_all_orders .button.view::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: -.125em;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    line-height: inherit;
    vertical-align: baseline;
    content: "\f06e";
    margin-left: 0.5407911001em;
}

.sapphire_budget_header {
    float: right;
    font-size: .85em;
}

.sapphire_budget_header .sapphire_budget_amount {
    font-weight: bold;
    min-width:90px;
    display:inline-block;
}

.sapphire_budget_header .sapphire_budget_location {
    font-weight: bold;
    display: inline-block;
}

/* Applies to all large popups */
.sapphire_large_popup {
    background-color: #ffffff;
    padding: 20px;
    height: auto;
    max-height: 500px;
    overflow:scroll;
    overflow-x: hidden;
    max-width: 700px;
    margin: 30px auto;
}

/* this name needs to be more generic and apply to all popups with the default width being small */
.sapphire_location_popup {
    background-color: #ffffff;
    padding: 20px !important;
    width: 300px;
    height: 180px;
    max-width: 300px;
    margin: 30px auto !important;
}

.sapphire_location_popup .fstToggleBtn {
    font-size: 1em;
    padding: 0.4em;
}

.sapphire_location_popup .fstResultItem {
    font-size: 1em;
    padding: 0.3em;
}

.sapphire_location_popup .sapphire_location_select_buttons {
    padding-top: 10px;
}

/* popup width override */
.sapphire_popup_medium{
	width: 380px;
	max-width: 380px;
	height: auto;
}

.sapphire_popup_medium .fstElement{
	width:100%;
}

.sapphire_order_decline_error {
    color: red;
}

.sapphire_nowrap{
	white-space: nowrap;
}

.sapphire_text_center {
    text-align: center;
}

.sapphire_table_overflow {
    max-width: 100%;
    overflow: auto;
}

.sapphire_form_group {
    margin-bottom: 2em;
}

.sapphire_imported_results .sapphire_failed_import {
    color: #d71a21;
}

/* hide address on checkout */
.woocommerce-checkout input.readonly{
    background-color:#FFF !important; /* force it above focus */
    border:0 !important;
}

#billing_country_field,
#billing_address_1_field, #billing_address_2_field,
#billing_city_field,
#billing_state_field,
#billing_postcode_field,
#billing_phone_field{
    display:none !important; /* force it above form js change */
}

/* NO!
#loginform{
	display:none;
}
*/

/* older versions of select css need some help */
ul#select2-select-stores-container{
	white-space: normal !important;
}
ul#select2-select-stores-container li{
	float:none !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    padding-bottom: 30px;
}

/* override height else cutoff placeholder */
.select2-container .select2-search--inline .select2-search__field{
	height:auto !important;
	max-height:2rem;
}

/* new defaults for front-end data tables */
.dataTables_wrapper .page-link{
	text-decoration: none !important;
}
.dataTables_wrapper .page-item.active .page-link{
	background-color: #666;
	border-color: #666;
}

button.overrides-loading span::after {
    content: '...';
}
