/**
 * groups_admin.css
 *
 * Copyright (c) "kento" Karim Rahimpur www.itthinx.com
 *
 * This code is released under the GNU General Public License.
 * See COPYRIGHT.txt and LICENSE.txt.
 *
 * This code is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * This header and all notices must be kept intact.
 *
 * @author Karim Rahimpur
 * @package groups
 * @since groups 1.0.0
 */
.manage-groups,
.manage-capabilities {
	margin-right: 1em;
}
.filters,
.manage {
	background-color: #fff;
	padding: 0.62em;
	margin-bottom: 0.62em;
	border: 1px solid #ddd;
}
.filters fieldset,
.manage fieldset {
	display: inline-block;
	clear: both;
}
.filters legend {
	padding: 0 0 2px 0;
}
.filters form label {
	white-space: nowrap;
	margin-bottom: 0.62em;
}
.manage a.add {
	text-decoration: none;
	cursor: pointer;
}
.manage a.add .icon {
	vertical-align: middle;
	padding-right: 4px;
}
.manage-groups a.add.page-title-action img.icon,
.manage-groups a.refresh.page-title-action img.icon,
.manage-groups .row-actions span.edit img,
.manage-groups .row-actions span.remove img,
.manage-capabilities a.add.page-title-action img.icon,
.manage-capabilities a.refresh.page-title-action img.icon,
.manage-capabilities .row-actions span.edit img,
.manage-capabilities .row-actions span.remove img {
	vertical-align: sub;
}
.manage a.add .label {
	height: 20px;
	vertical-align: middle;
}
.manage a.refresh {
	text-decoration: none;
	cursor: pointer;
	float: right;
}
.manage a.refresh .icon {
	vertical-align: middle;
}
.manage a.refresh .label {
	height: 20px;
	vertical-align: middle;
}
div.field {
	padding-bottom: 0.62em;
}
div.field a.cancel {
	vertical-align: middle;
}
div.field input[type="submit"],
div.group.remove input[type="submit"],
div.capability.remove input[type="submit"] {
	margin-right: 1em;
}
label.group-id-filter,
label.group-name-filter,
label.capability-id-filter,
label.capability-filter,
label.field-label {
	padding-right: 0.62em;
}
input.group-id-filter,
input.group-name-filter,
input.capability-id-filter,
input.capability-filter {
	margin-right: 0.31em;
}

div.group.new label,
div.group.edit label,
div.capability.new label,
div.capability.edit label {
	display: block;
}


.groups-overview .page-options,
.capabilities-overview .page-options {
	float: left;
	display: inline;
	/*width: 250px;*/
	padding-bottom: 1em;
}
.groups-overview .page-options.right,
.capabilities-overview .page-options.right {
	float: right;
}
.groups-overview .page-options label,
.groups-overview .page-options input[type="text"],
.groups-overview .page-options .button,
.capabilities-overview .page-options label,
.capabilities-overview .page-options input[type="text"],
.capabilities-overview .page-options .button {
	margin-right: 4px;
	vertical-align: middle;
}
.groups-overview .page-options input[type="text"],
.capabilities-overview .page-options input[type="text"] {
	text-align: center;
}
.groups-overview .tablenav.top,
.capabilities-overview .tablenav.top {
	display: inline;
	width: 250px;
}
.groups-overview th.check-column,
.capabilities-overview th.check-column {
	padding: 10px 0 0 3px;
}
.groups-overview th.edit,
.groups-overview th.group_id,
.groups-overview th.remove,
.capabilities-overview th.capability_id,
.capabilities-overview th.edit,
.capabilities-overview th.remove {
	width: 10%;
}

.groups-overview td.capabilities,
.capabilities-overview td.capability {
	text-overflow: ellipsis;
}

.groups-overview td.capabilities ul {
	margin: 0;
}

.groups-overview td.capabilities span.inherited {
	font-style: italic;
}

.manage-groups .required,
.manage-capabilities .required {
	background: url(../images/required.png) transparent no-repeat left center;
	padding-left: 16px ! important;
}
.groups-footer {
	padding-top: 16px;
	color: #999;
}
.groups-footer a {
	color: #777;
	text-decoration: none;
	font-weight: bold;
}
.groups-footer form {
	display: inline;
}

.groups-options input[type="checkbox"] {
	margin-right: 4px;
}
.groups-options .groups-permissions thead td {
	padding: 0 4px;
	font-weight: bold;
	margin: 0;
}
.groups-options .groups-permissions td.checkbox {
	text-align: center;
}
.info {
	background-color: #eec;
	border: 1px solid #cca;
	border-radius: 4px;
	margin: 1em;
	padding: 1em;
}

#groups-extensions-box {
	position: relative;
	float: right;
	padding: 1em;
	margin: 1em;
	background-color: #fff;
	border-radius: 4px;
	color: #111;
	border: 1px solid #999;
	width: 256px;
}
#groups-extensions-box h3 {
	margin: 0.62em 0;
}
#groups-extensions-box h3::after {
	content: "\f487";
	background: transparent;
	color: #f33;
	display: inline-block;
	font: normal 18px dashicons;
	vertical-align: middle;
	text-align: center;
	transform: rotate(21deg);
	position: relative;
	top: -4px;
	left: 4px;
}
#groups-extensions-box p {
	margin: 0.31em 0;
}
#groups-extensions-box a.close {
	color: #999;
	line-height: 18px;
	position: absolute;
	right: 4px;
	text-decoration: none;
	top: 4px;
	font-family: sans;
	font-size: 12px;
}
#groups-extensions-box a.close::before {
	background: transparent;
	color: #ddd;
	content: "\f153";
	display: inline-block;
	font: normal 16px/20px dashicons;
	height: 20px;
	text-align: center;
	width: 20px;
	position: relative;
	top: 4px;
	right: 4px;
	transition: all .62s ease-in-out;
}
#groups-extensions-box a.close:hover::before {
	color: #f00;
}

.groups-bitcoin-box {
	padding: 1em;
	margin: 1em;
	background-color: #fff;
	border-radius: 4px;
	color: #111;
	border: 1px solid #999;
	width: 256px;
}
.groups-bitcoin-box.options {
	position: relative;
	float: right;
}
.groups-bitcoin-box-inside {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.groups-bitcoin-box span {
	margin: 0.31em 0;
	flex-grow: 1;
	text-align: center;
}
.groups-bitcoin-box .groups-bitcoin-cta {
	font-weight: bold;
	padding-bottom: 16px;
}
.groups-bitcoin-box .groups-bitcoin-image img {
	width: 100%;
}
.groups-bitcoin-box.small .groups-bitcoin-image img {
	width: 128px;
}
.groups-bitcoin-box .groups-bitcoin-description {
	padding-top: 12px;
}
.groups-bitcoin-box .groups-bitcoin-description .groups-bitcoin-address {
	word-wrap: anywhere;
	vertical-align: middle;
	font-weight: bold;
}
.groups-bitcoin-box .groups-bitcoin-description .dashicons.dashicons-admin-page {
	opacity: 0.42;
	vertical-align: middle;
}

.groups-bitcoin-box.horizontal {
	flex: auto;
	max-width: 384px;
	min-width: 256px;
	width: auto;
	padding: 8px;
	margin: 8px;
}
.groups-bitcoin-box.horizontal .groups-bitcoin-box-inside {
	display: grid;
	grid-template-rows: 25% 75%;
	grid-template-columns: 35% 65%;
}
.groups-bitcoin-box.horizontal .groups-bitcoin-cta {
	grid-column-start: 2;
	grid-row-start: 1;
	padding: 4px;
}
.groups-bitcoin-box.horizontal .groups-bitcoin-image {
	grid-row-start: 1;
	grid-column-start: 1;
	grid-row-end: span 2;
}
.groups-bitcoin-box.horizontal .groups-bitcoin-image img {
	width: 128px;
}
.groups-bitcoin-box.horizontal .groups-bitcoin-description {
	grid-row-start: 2;
	grid-column-start: 2;
	padding: 4px;
}

.groups-bitcoin-box a.close {
	color: #999;
	line-height: 18px;
	position: absolute;
	right: 4px;
	text-decoration: none;
	top: 4px;
	font-family: sans;
	font-size: 12px;
}
.groups-bitcoin-box a.close::before {
	background: transparent;
	color: #ddd;
	content: "\f153";
	display: inline-block;
	font: normal 16px/20px dashicons;
	height: 20px;
	text-align: center;
	width: 20px;
	position: relative;
	top: 4px;
	right: 4px;
	transition: all .62s ease-in-out;
}
.groups-bitcoin-box a.close:hover::before {
	color: #f00;
}

#groups-extensions-support {
	padding: 1em;
	margin: 0 0 24px 0;
	background-color: #fff;
	border-radius: 4px;
	color: #111;
	border: 2px solid #7494d1;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
}
#groups-extensions-support p {
	font-size: 14px;
	color: #333;
}
#groups-extensions-support h2::after {
	content: "\f487";
	background: transparent;
	color: #f33;
	display: inline-block;
	font: normal 18px dashicons;
	vertical-align: middle;
	text-align: center;
	transform: rotate(21deg);
	position: relative;
	top: -4px;
	left: 4px;
}
#groups-extensions-support-inside {
	flex: 1;
	min-width: 256px;
}
.groups-bulk-container {
	padding-bottom: 1em;
}
.groups-bulk-container,
.capabilities-bulk-container,
.tablenav .tablenav-pages {
	line-height: 24px;
}
.groups-bulk-container .capabilities-select-container {
	width: 25%;
	float: left;
	vertical-align: middle;
}
.groups-bulk-container .selectize-control,
.groups-bulk-container select.bulk-action,
.capabilities-bulk-container select.bulk-action {
	margin-right: 4px;
	vertical-align: middle;
}
.groups-bulk-container .selectize-input {
	font-size: inherit;
	line-height: 18px;
	padding: 0 4px;
	vertical-align: middle;
}
.groups-bulk-container .selectize-input input[type="text"],
.groups-bulk-container .selectize-input input[type="select-multiple"],
.groups-groups-container .selectize-input input[type="select-multiple"] {
	font-size: inherit;
	vertical-align: middle;
	height: 28px;
	line-height: 28px;
}
.groups-bulk-container .button,
.capabilities-bulk-container .button {
	vertical-align: middle;
}

.group.new .selectize-control,
.group.edit .selectize-control,
.groups-options .selectize-control {
	padding: 2px;
}
.group.new .selectize-input,
.group.edit .selectize-input,
.groups-options .selectize-input {
	font-size: inherit;
	line-height: 18px;
	padding: 2px;
}

.groups.messages {
	padding: 1em 0;
}

@media screen and ( max-width: 782px ) {
	.groups-bulk-container .selectize-input {
		padding: 2px;
	}
	.groups-bulk-container .selectize-input .item,
	.groups-bulk-container .selectize-dropdown-content .option {
		font-size: 16px;
	}
	.groups-bulk-container .selectize-input input[type="text"] {
		height: 32px;
		font-size: 16px;
	}
}

.groups-admin-add-ons {
	margin: 24px 24px 0 2px;
}
.groups-admin-add-ons ul.add-ons {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	overflow: hidden;
}
.groups-admin-add-ons ul.add-ons li.add-on {
	margin: 0 1em 1em 0;
	padding: 16px;
	vertical-align: top;
	width: 256px;
	min-height: 158px;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 3px;
	flex: 1 1 22%;
	max-width: 384px;
}
.groups-admin-add-ons ul.woocommerce.add-ons li.add-on p {
	font-size: 15px;
}
.groups-admin-add-ons ul.woocommerce.add-ons li.add-on h3 {
	font-size: 18px;
	font-weight: 600;
}
.groups-admin-add-ons ul.groups.add-ons li.add-on,
.groups-admin-add-ons ul.other.add-ons li.add-on {
	max-width: 256px;
	min-height: 128px;
}
.groups-admin-add-ons .add-ons h3 {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: left;
}
.groups-admin-add-ons h3.woocommerce {
	font-size: 18px;
}
.groups-admin-add-ons .add-ons h3 img {
	vertical-align: middle;
	height: 36px;
	margin: 0 8px 0 0;
	border-radius: 3px;
}
.groups-admin-add-ons .woocommerce.add-ons h3 img {
	width: 48px;
	height: auto;
}
.groups-admin-add-ons .add-ons a {
	text-decoration: none;
	display: block;
	overflow: hidden;
}
.groups-admin-add-ons .add-ons p {
	margin: 0;
	padding-top: 8px;
	clear: both;
	display: block;
	color: #333;
	font-size: 14px;
}

.groups-admin-add-ons .woocommerce-marketplace {
	margin: 0 0 2em 0;
	padding: 8px;
	background-color: #fff;
	border: 1px solid #ccc;
	display: inline-block;
}

.groups-welcome-panel {
	position: relative;
	overflow: auto;
	margin: 1em;
	padding: 1em;
	border: 1px solid #e5e5e5;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
	box-shadow: 0 1px 1px rgba(0,0,0,0.04);
	background: #fff;
	font-size: 14px;
	line-height: 2.1em;
}
.groups-welcome-panel h2 {
	margin: 1.62em 0 0 0;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.2;
}
.groups-welcome-panel h3 {
	margin: 1.33em 0 0;
	font-weight: 500;
	font-size: 17px;
}
.groups-welcome-panel li {
	font-size: 14px;
}
.groups-welcome-panel p {
	color: #72777c;
	font-size: 15px;
	line-height: 1.6em;
	margin: 1em 0;
}
.groups-welcome-panel-description p {
	font-size: 16px;
}
.groups-welcome-panel a {
	text-decoration: none;
}
.groups-welcome-panel .headline {
	font-size: 17px;
	margin: 1em 0 1.62em 0;
}

.groups-welcome-panel-content {
	margin-left: 13px;
	max-width: 1500px;
}
.groups-welcome-icon {
	float: right;
	margin: 0 0.62em 0.62em 0.62em;
}
.groups-welcome-panel .important {
	border: 1px solid #e5e5e5;
	border-left: 2px solid #ffcc00;
	padding: 1em;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
	box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}
.groups-welcome-panel .indent {
	border: 1px solid #e5e5e5;
	padding: 0 0.62em;
}

ul.groups-group-bulk-remove,
ul.groups-capability-bulk-remove {
	list-style: disc inside;
}

ul.groups-tree {
	list-style: inside;
}
li.groups-tree-node {
	padding-left: 1em;
}
