/**
 * frontend
 */

.ap-page * {
	box-sizing: border-box;
}

.ap-page h2 {
	margin: 20px 0;
	color: #28313F;
}

.ap-products {
	margin: 0 0 20px;
}

.ap-products .header {
	background-color: transparent;
	width: 100%;
	margin: 0 0 6px;
	padding: 4px 6px 2px;
	display: block;
	color: #ffffff;
	font-size: 12px;
	line-height: 110%;
	font-weight: 400;
}

.ap-products .list {
	background-color: #ffffff;
	width: 100%;
	display: block;
}

.ap-products .row {
	background-color: #ffffff;
	border-bottom: 1px solid #eeeeee;
	width: 100%;
	margin: 0;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
}

@media (max-width: 768px) {
	.ap-products .row {
		flex-wrap: wrap;
	}
}

.ap-products .row:hover {
	background-color: rgba(0,0,0,0.05);
}

.ap-products .row:last-of-type {
	border-bottom: none;
}

.ap-products .product-image {
	width: 32px;
	margin: 0 10px 0 0;
	display: block;
}

.ap-products .product-image img {
	width: auto;
	max-width: 100%;
	display: block;
}

.ap-products .product-meta {
	width: calc(100% - 320px);
	font-size: 12px;
	font-weight: 400;
	line-height: 100%;
	text-align: left;
}

@media (max-width: 768px) {
	.ap-products .product-meta {
		width: calc(100% - 42px);
	}
}

.ap-products .product-name {
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
}

.ap-products .product-price {
	width: 192px;
	margin: 0 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	text-align: left;
}

.ap-products .product-button {
	width: 96px;
	text-align: center;
}

@media (max-width: 768px) {
	.ap-products .product-price,
	.ap-products .product-button {
		width: 100%;
		text-align: left;
	}

	.ap-products .product-price {
		margin: 10px 0;
	}
}

/**
 * ucp
 */

.ap-ucp-table,
.ap-ucp-table * {
	box-sizing: border-box;
}

.ap-ucp-table {
	background-color: #ffffff;
	border: 1px solid #eeeeee;
	width: 100%;
	margin: 15px 0;
	padding: 0;
	display: block;
	border-radius: 3px;
	overflow: hidden;
	position: relative;
}

.ap-ucp-table .header {
	background-color: #2774d1;
	border-bottom: 1px solid #0056be;
	width: 100%;
	margin: 0;
	padding: 10px;
	display: block;
	border-radius: 0 !important;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
}

.ap-ucp-table .row {
	background-color: #ffffff;
	border-bottom: 1px solid #eeeeee;
	width: 100%;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.ap-ucp-table .row:nth-child(even) {
	background-color: #f9f9f9;
}

.ap-ucp-table .row:last-of-type {
	border-bottom: none;
}

.ap-ucp-table ul.products,
.ap-ucp-table ul.products > li {
	width: 100%;
	margin: 0;
	padding: 0;
	display: block;
	list-style: none;
}

.ap-ucp-table ul.products {
	width: 50%;
}

@media (max-width: 768px) {
	.ap-ucp-table ul.products {
		width: 100%;
		margin: 0 0 10px;
	}
}

.ap-ucp-table ul.products > li {
	border-bottom: 1px solid #eeeeee;
	color: #105289;
	font-size: 11px;
	font-weight: 700;
}

.ap-ucp-table ul.products > li > code {
	background-color: #ffffff;
	border: 1px solid #eeeeee;
	width: calc(100% - 10px);
	margin: 0 10px 0 0;
	padding: 10px;
	display: block;
	border-radius: 3px;
	color: #444444;
	font-size: 12px;
	font-weight: 400;
	font-family: monospace;
}

@media (max-width: 768px) {
	.ap-ucp-table ul.products > li > code {
		width: 100%;
		margin: 0;
	}
}

.ap-ucp-table ul.products > li:last-of-type {
	border-bottom: none;
}

.ap-ucp-table ul.products > li img {
	margin-right: 10px;
}

.ap-ucp-table .metadata {
	border-left: 1px solid #eeeeee;
	width: 25%;
	padding-left: 10px;
	color: #222222;
	font-size: 11px;
}

.ap-ucp-table .metadata-full {
	width: 50%;
}

@media (max-width: 768px) {
	.ap-ucp-table .metadata,
	.ap-ucp-table .metadata-full {
		width: 100%;
	}

	.ap-ucp-table .metadata {
		border-top: 1px solid #eeeeee;
		border-left: none;
		padding-top: 10px;
		padding-left: 0;
	}
}

.ap-ucp-table .meta-item {
	width: 100%;
	margin-bottom: 4px;
	display: block;
}

.ap-ucp-table .meta-item-text-red {
	color: #ff0000;
}

.ap-ucp-table .meta-item:last-of-type {
	margin: 0;
}

.ap-ucp-table .actions {
	width: 25%;
}

@media (max-width: 768px) {
	.ap-ucp-table .actions {
		width: 100%;
	}
}

.ap-ucp-table .actions form button,
.ap-ucp-table .actions a.button {
	float: right;
	font-size: 12px;
}

@media (max-width: 768px) {
	.ap-ucp-table .actions form button {
		margin-top: 10px;
		float: none;
	}
}

.ap-ucp-table .pagination {
	background-color: #f3f3f3;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
}

.ap-ucp-table .pagination a {
	background-color: transparent;
	width: auto;
	padding: 8px 15px;
	display: inline-block;
	font-size: 12px;
	text-decoration: none;
	cursor: pointer;
}

.ap-ucp-table .pagination a:hover {
	background-color: #ffffff;
	text-decoration: none;
}

.ap-ucp-table .pagination a:first-of-type {
	border-right: 1px solid #eeeeee;
}

.ap-ucp-table .pagination a:last-of-type {
	border-left: 1px solid #eeeeee;
}

/**
 * viewtopic
 */

.ap-super-post-options {
	width: 100%;
	margin-bottom: 10px;
	display: block;
}

.ap-super-post-options ul,
.ap-super-post-options ul li {
	width: 100%;
	margin: 0;
	padding: 0;
	display: block;
	list-style: none;
}

.ap-super-post-options ul {
	margin-top: 10px;
}

.ap-super-post-options ul li {
	border-bottom: 1px solid rgba(0,0,0,0.1);
	width: 100%;
	margin-bottom: 10px;
	padding: 0 5px 10px;
	box-sizing: border-box;
}

.ap-super-post-options ul li label {
	font-size: 12px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.ap-super-post-options ul li:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.ap-super-post-options ul li input {
	margin-right: 10px;
}

.ap-super-post-options ul li .product-image {
	margin-right: 10px;
}

.ap-super-post-options ul li .product-name {
	margin-right: 20px;
}

.ap-super-post-options ul li .product-price {
	font-weight: bold;
}

.ap-super-post-notice {
	width: 100%;
	padding-top: 10px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.ap-super-post-notice .product-image {
	width: 32px;
	margin-right: 10px;
}

.ap-super-post-notice .product-image img {
	width: 100%;
	display: block;
}

.ap-super-post-notice .payment-meta {
	width: calc(100% - 42px);
}

.ap-super-post-notice .product-meta {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.ap-super-post-notice .product-name {
	margin-right: 10px;
}

.ap-super-post-notice .product-price {
	font-weight: bold;
}

.ap-super-post-notice .payment-user {
	margin-top: 2px;
}
