.lpc-modal section, .lpc-modal article {
	height: 100%;
}


/******************************************/
/* lpc modal (based on wc-backbone-modal) */
.lpc-modal .wc-backbone-modal .wc-backbone-modal-content {
	position: fixed;
	background: #fff;
	z-index: 100000;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	max-width: 100%;
	min-width: 500px;
	width: 80%;
	height: 80%;
}

.lpc-modal .wc-backbone-modal .wc-backbone-modal-content article {
	overflow: auto;
}

.lpc-modal .wc-backbone-modal .select2-container {
	width: 100% !important;
}

@media screen and (max-width: 782px) {
	.lpc-modal .wc-backbone-modal .wc-backbone-modal-content {
		width: 100%;
		height: 100%;
		min-width: 100%;
	}
}

.lpc-modal .wc-backbone-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 360px;
	background: #000;
	opacity: 0.7;
	z-index: 99900;
}

.lpc-modal .wc-backbone-modal-main {
	padding-bottom: 10px;
}

.lpc-modal .wc-backbone-modal-main header,
.lpc-modal .wc-backbone-modal-main article {
	display: block;
	position: relative;
}

.lpc-modal .wc-backbone-modal-main .wc-backbone-modal-header {
	height: auto;
	background: #fcfcfc;
	padding: 1em 1.5em;
	border-bottom: 1px solid #ddd;
}

.lpc-modal .wc-backbone-modal-main .wc-backbone-modal-header h1 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5em;
}

.lpc-modal .wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link {
	cursor: pointer;
	color: #777;
	height: 54px;
	width: 54px;
	padding: 0;
	position: absolute;
	top: 0;
	right: 0;
	text-align: center;
	border: 0;
	border-left: 1px solid #ddd;
	background-color: transparent;
	transition: color 0.1s ease-in-out, background 0.1s ease-in-out;
}

.lpc-modal .wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link::before {
	font: normal 22px/50px 'dashicons' !important;
	color: #666;
	display: block;
	content: '\f335';
	font-weight: 300;
}

.lpc-modal .wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link:hover, .wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link:focus {
	background: #ddd;
	border-color: #ccc;
	color: #000;
}

.lpc-modal .wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link:focus {
	outline: none;
}

.lpc-modal .wc-backbone-modal-main article {
	padding: 1.5em;
}

.lpc-modal .wc-backbone-modal-main article p {
	margin: 1.5em 0;
}

.lpc-modal .wc-backbone-modal-main article p:first-child {
	margin-top: 0;
}

.lpc-modal .wc-backbone-modal-main article p:last-child {
	margin-bottom: 0;
}

.lpc-modal .wc-backbone-modal-main article .pagination {
	padding: 10px 0 0;
	text-align: center;
}

.lpc-modal .wc-backbone-modal-main article table.widefat {
	margin: 0;
	width: 100%;
	border: 0;
	box-shadow: none;
}

.lpc-modal .wc-backbone-modal-main article table.widefat thead th {
	padding: 0 1em 1em 1em;
	text-align: left;
}

.lpc-modal .wc-backbone-modal-main article table.widefat thead th:first-child {
	padding-left: 0;
}

.lpc-modal .wc-backbone-modal-main article table.widefat thead th:last-child {
	padding-right: 0;
	text-align: right;
}

.lpc-modal .wc-backbone-modal-main article table.widefat tbody td,
.lpc-modal .wc-backbone-modal-main article table.widefat tbody th {
	padding: 1em;
	text-align: left;
	vertical-align: middle;
}

.lpc-modal .wc-backbone-modal-main article table.widefat tbody td:first-child,
.lpc-modal .wc-backbone-modal-main article table.widefat tbody th:first-child {
	padding-left: 0;
}

.lpc-modal .wc-backbone-modal-main article table.widefat tbody td:last-child,
.lpc-modal .wc-backbone-modal-main article table.widefat tbody th:last-child {
	padding-right: 0;
	text-align: right;
}

.lpc-modal .wc-backbone-modal-main article table.widefat tbody td select,
.lpc-modal .wc-backbone-modal-main article table.widefat tbody td .select2-container,
.lpc-modal .wc-backbone-modal-main article table.widefat tbody th select,
.lpc-modal .wc-backbone-modal-main article table.widefat tbody th .select2-container {
	width: 100%;
}

.lpc-modal .wc-backbone-modal-main footer {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	padding: 1em 1.5em;
	background: #fcfcfc;
	border-top: 1px solid #dfdfdf;
	box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.1);
}

.lpc-modal .wc-backbone-modal-main footer .inner {
	text-align: right;
	line-height: 23px;
}

.lpc-modal .wc-backbone-modal-main footer .inner .button {
	margin-bottom: 0;
}
