/**
 * Plugin Name: WeArePlanet
 * Author: Planet Merchant Services Ltd
 * Text Domain: weareplanet
 * Domain Path: /languages/
 *
 * WeArePlanet
 * This plugin will add support for all WeArePlanet payments methods and connect the WeArePlanet servers to your WooCommerce webshop (https://www.weareplanet.com/).
 *
 * @category Class
 * @package  WeArePlanet
 * @author   Planet Merchant Services Ltd (https://www.weareplanet.com)
 * @license  http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
 */
/* Icons for status */
@font-face {
	font-family: 'woocommerce-weareplanet';
	src: url('../font/woocommerce-weareplanet.eot?8310684');
	src: url('../font/woocommerce-weareplanet.eot?8310684#iefix') format('embedded-opentype'),
		url('../font/woocommerce-weareplanet.woff2?8310684') format('woff2'),
		url('../font/woocommerce-weareplanet.woff?8310684') format('woff'),
		url('../font/woocommerce-weareplanet.ttf?8310684') format('truetype'),
		url('../font/woocommerce-weareplanet.svg?8310684#woocommerce-weareplanet') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Status Icons */
.widefat .column-order_status mark.wearep-redirected::after, .widefat .column-order_status mark.wearep-waiting::after,
	.widefat .column-order_status mark.wearep-manual::after {
	font-family: woocommerce-weareplanet;
	speak: none;
	font-weight: 400;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	margin: 0;
	text-indent: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	border-radius: 100%;
}

.widefat .column-order_status mark.wearep-redirected:after {
	content: "\e800";
	background-color: #ffba00;
	color: #ffffff;
	line-height: 1.2;
	font-size: 75%;
}

.widefat .column-order_status mark.wearep-waiting:after {
	content: "\f252";
	background-color: #baba00;
	color: #ffffff;
	line-height: 1.6;
	font-size: 65%;
}

.widefat .column-order_status mark.wearep-manual:after {
	content: "\e801";
	background-color: #ff2000;
	color: #ffffff;
	line-height: 1.4;
	font-size: 75%;
}

.order-status.status-wearep-redirected{

}

.order-status.status-wearep-waiting{
	background-color: #f8e8a7;
	color: #94790c;
}

.order-status.status-wearep-manual{
	background-color: #f8bfa7;
	color: #94340c;

}

/* Invoice & PackingSlip Download */

.order_actions .weareplanet-button-download-invoice,.order_actions .weareplanet-button-download-packingslip {
	display: block;
	text-indent: -9999px;
	position: relative;
	height: 1em;
	width: 1em;
	padding: 0!important;
	height: 2em!important;
	width: 2em
}

.order_actions .weareplanet-button-download-invoice::after, .widefat .wc_actions .weareplanet-action-button.weareplanet-button-download-invoice::after {
	font-family: woocommerce-weareplanet;
	speak: none;
	font-weight: 400;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	text-indent: 0px;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	text-align: center;
	content: "\f0f6";
	line-height: 1.85;
	margin: 0px;
}

.order_actions .weareplanet-button-download-packingslip::after, .widefat .wc_actions .weareplanet-action-button.weareplanet-button-download-packingslip::after  {
	font-family: woocommerce-weareplanet;
	speak: none;
	font-weight: 400;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	text-indent: 0px;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	text-align: center;
	content: "\e802";
	line-height: 1.85;
	margin: 0px;
}

/* Backend Transction info */
.order-weareplanet-transaction-metabox {

}

.order-weareplanet-transaction-metabox .weareplanet-transaction-data-column-container
	{
	overflow: auto;
}

.order-weareplanet-transaction-metabox .weareplanet-transaction-data-column-container .weareplanet-transaction-column
	{
	float: left;
	margin-right: 40px;
}

#woocommerce-order-items button.button-primary.weareplanet-completion-show {
	float: left;
	margin-right: .25em;
}

/* Completion / Void in progess info */
.weareplanet-action-in-progress {
	float: left;
}

.weareplanet-status-mapping-header {
	display: flex;
	font-weight: 600;
	font-size: 1.3em;
	margin: 1em 0;
	color: #1d2327;
}
.weareplanet-status-mapping-col-left {
	width: 200px;
	padding-right: 24px;
}
.weareplanet-status-mapping-col-right {
	padding: 0 10px;
}

.weareplanet-refund-state-pending {
	background-color: rgba(255, 186, 0, 0.55);
}

.weareplanet-refund-state-failue {
	background-color: rgba(170, 0, 0, 0.55);
}

