/*!
 * settings.css
 *
 * Copyright (c) "kento" Karim Rahimpur www.itthinx.com
 *
 * This code is provided subject to the license granted.
 * Unauthorized use and distribution is prohibited.
 * 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.
 *
 * This header and all notices must be kept intact.
 *
 * @author itthinx
 * @package woocommerce-product-search
 * @since 5.0.0
 */
 
table.woocommerce-product-search-cache {
	position: relative;
}
table.woocommerce-product-search-cache th,
table.woocommerce-product-search-cache td {
	display: table-cell !important;
	padding: 1em !important;
	vertical-align: top;
	line-height: 1.75em;
}
table.woocommerce-product-search-cache tr:nth-child(odd) td {
	background: #f9f9f9;
}
table.woocommerce-product-search-cache th.woocommerce-product-search-cache-column-cache-enabled {
	text-align: center;
	width: 10%;
}
table.woocommerce-product-search-cache th.woocommerce-product-search-cache-column-cache-actions {
	text-align: right;
	width: 30%;
}
table.woocommerce-product-search-cache th.woocommerce-product-search-cache-column-cache-info,
table.woocommerce-product-search-cache th.woocommerce-product-search-cache-column-cache-enabled,
table.woocommerce-product-search-cache th.woocommerce-product-search-cache-column-cache-description,
table.woocommerce-product-search-cache th.woocommerce-product-search-cache-column-cache-actions {
	font-weight: 700;
}
table.woocommerce-product-search-cache td.cache-info div.cache-name {
	font-weight: 700;
}
table.woocommerce-product-search-cache td.cache-enabled {
	text-align: center;
}
table.woocommerce-product-search-cache td.cache-settings {
	text-align: right;
}
table.woocommerce-product-search-cache td.sort {
	font-size: 15px;
	text-align: center;
}
table.woocommerce-product-search-cache td.sort .wc-item-reorder-nav {
	white-space: nowrap;
	width: 72px;
}

table.woocommerce-product-search-cache td.sort .wc-item-reorder-nav::before {
	content: "\f333";
	font-family: "Dashicons";
	text-align: center;
	line-height: 1;
	color: #999;
	display: block;
	width: 24px;
	float: left;
	height: 100%;
	line-height: 24px;
	cursor: move;
}

table.woocommerce-product-search-cache td.sort .wc-item-reorder-nav button {
	position: relative;
	overflow: hidden;
	float: left;
	display: block;
	width: 24px;
	height: 24px;
	margin: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	color: #82878c;
	text-indent: -9999px;
	cursor: pointer;
	outline: none;
}

table.woocommerce-product-search-cache td.sort .wc-item-reorder-nav button::before {
	display: inline-block;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	font: normal 20px/23px dashicons;
	text-align: center;
	text-indent: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

table.woocommerce-product-search-cache td.sort .wc-item-reorder-nav button::hover,
table.woocommerce-product-search-cache td.sort .wc-item-reorder-nav button::focus {
	color: #191e23;
}

table.woocommerce-product-search-cache td.sort .wc-item-reorder-nav {
	cursor: grab;
}

table.woocommerce-product-search-cache td.sort .wc-item-reorder-nav .wc-move-down::before {
	content: "\f347";
}

table.woocommerce-product-search-cache td.sort .wc-item-reorder-nav .wc-move-up::before {
	content: "\f343";
}
table.woocommerce-product-search-cache td.sort .wc-item-reorder-nav .wc-move-disable {
	color: #d5d5d5 !important;
	cursor: default;
	pointer-events: none;
}

.product-search-tab .section-heading a.section-navigation-up {
	text-decoration: none;
}
.product-search-tab .section-heading a.section-navigation-up * {
	font-size: 14px;
	vertical-align: top;
}

.product-search-tab .cache-settings-field {
	display: grid;
	grid-template-columns: 240px 1fr;
	padding: 8px 0;
}
.product-search-tab .cache-settings-field-label {
	font-weight: bold;
	padding: 8px;
	vertical-align: top;
}
.product-search-tab .cache-settings-field-input {
	padding: 8px;
	vertical-align: top;
	min-width: 180px;
}
.product-search-tab .cache-settings-field-input input[type="text"],
.product-search-tab .cache-settings-field-input input[type="password"] {
	width: 100%;
}
.product-search-tab .cache-settings-field-input input[type="number"],
.product-search-tab .cache-settings-field-input input.measure {
	text-align: right;
	width: 240px;
}

.product-search-tab .cache-settings-field-input label.description {
	display: block;
}
.product-search-tab .cache-settings-field-input label.description.measure {
	margin: 4px 0 0 0;
	max-width: 388px;
}

.product-search-tab .cache-settings .button {
	margin: 0 4px 4px 0;
}

.product-search-tab fieldset.wps-caches-override legend.highlight {
	background: inherit;
	font-size: 14px;
	padding: 16px 0;
	margin: 0;
}
.product-search-tab fieldset.wps-caches-override legend.highlight::before {
	font-family: dashicons;
	content: "\f348";
	font-size: 20px;
	padding: 0;
	margin: 0;
	vertical-align: middle;
	color: #ff9900;
}

.wps-cache-action.blinker {
	padding-right: 16px;
	background-image: url( ../images/blinker.gif );
	background-position: right center;
	background-repeat: no-repeat;
}
.wps-cache-action.status-ok::after {
	font-family: dashicons;
	content: "\f147";
	vertical-align: middle;
	line-height: normal;
}
.wps-cache-action.status-fail::after {
	font-family: dashicons;
	content: "\f158";
	vertical-align: middle;
	line-height: normal;
}

div.wps-cache-status-box {
	font-weight: normal;
}
div.wps-cache-status-box ul.infos {
	border: 1px dotted #999;
	border-radius: 4px;
	padding: 4px;
	margin: 4px;
	font-size: smaller;
}

span.warning.storage-space-warning {
	cursor: help;
}
span.warning.storage-space-warning::before {
	font-family: dashicons;
	content: "\f534";
	font-size: 20px;
	padding: 0;
	margin: 0;
	vertical-align: middle;
	color: #ff9900;
}
