/**
 * @Last modified time: 2022/07/12 16:54:45
 */

.jqueryswatches .holder {
	position: relative;
	width: 100%;
	height: 70px;
	margin-top: 0.4rem;
	border-radius: 4px;
}

.jqueryswatches .color:first-child {
	border-radius: 4px 0 0 4px;
}

.jqueryswatches .color:last-of-type {
	border-radius: 0 4px 4px 0;
}

[dir=rtl] .jqueryswatches .color:first-child {
	border-radius: 0 4px 4px 0;
}

[dir=rtl] .jqueryswatches .color:last-of-type {
	border-radius: 4px 0 0 4px;
}

.jqueryswatches .color {
	height: 100%;
	display: inline-block;
}

.minicolors-input {
	text-align: center !important;
}

.jqueryswatches .shade {
	pointer-events: none;
	position: absolute;
	bottom: 0;
	left: 0;
	height: 10px;
	width: 100%;
	background-color: #000;
	opacity: 0.14;
	border-radius: 0 0 4px 4px;
	text-align: center;
	color: #FFF;
}

.jqueryswatches .color-names {
	font-size: 9px;
	color: #aaa;
}

.jqueryswatches .name {
	display: inline-block;
	height: 100%;
	opacity: 0;
	margin-top: 4px;
	font-size: 12px;
}

.jqueryswatches .info {
	font-size: 20px;
	text-align: center;
	text-align: start;
	padding: 0.5rem 0;
	color: #000;
	width: 100%;
	display: block;
}

.swatch.jqueryswatches {
	padding-bottom: 3rem;
}

.jqueryswatches .info input.edit-swatch-name {
	font-size: 20px;
	border: none;
	padding: 2.5px 5px;
	width: calc(100% - 150px);
	margin: -1rem 0;
	background: #fbfbfbd4;
	border-radius: 4px;
}

.exportimport,
.info input {
	display: none;
}

.swatches-tool {
	float: inline-end;
	margin-top: -3px;
}

.swatches-tool span {
	-webkit-margin-start: 1rem;
	margin-inline-start: 0.5rem;
	cursor: pointer;
	display: inline-block;
	width: 30px;
}

.puiw_color_schemes_workspace .swatch .btn:focus,
.puiw_color_schemes_workspace .swatch .btn:hover {
	background-color: #464b50;
	color: #fff;
}

.puiw_color_schemes_workspace .swatch .btn {
	text-align: center;
	height: auto;
	padding: 2.5px 10px;
	text-decoration: none !important;
	border-radius: 3px;
	background-color: #595d62;
	color: #fff;
	width: 30px;
}

.puiw_color_schemes_workspace,
.puiw_color_schemes_workspace .swatch {
	position: relative;
	margin: 0;
}

.swatch-edit {
	display: none;
}

.puiw_color_schemes_workspace {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem 3rem;
}
@media only screen and (max-width: 1400px) {
	.puiw_color_schemes_workspace {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media only screen and (max-width: 1024px) {
	.puiw_color_schemes_workspace {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 600px) {
	.puiw_color_schemes_workspace {
		grid-template-columns: repeat(1, 1fr);
	}
}

.minicolors-theme-default.minicolors {
	width: 33.333%;
}

.puiw_color_schemes_tool {
	margin: 2rem 0;
}

.puiw_color_schemes_workspace:empty {
	border: 2px dashed #ccc;
	padding: 2rem;
}

.puiw_color_schemes_workspace:empty::before {
	content: attr(empty);
	display: block;
	font-size: xx-large;
	color: #dbe0e6;
	transition: all 0.7s ease-in-out;
}

.puiw_color_schemes_workspace:empty:hover::before {
	color: #b4bbc4;
}

.shade,
.swatch-name,
span.color,
span.name {
	cursor: pointer;
}

.jqueryswatches .color.highlight {
	width: 32.7%;
	box-shadow: 0 0 4px 2px yellow;
	margin: 0 2.2px;
}

.swatch.highlight .holder {
	box-shadow: 0 0 4px 2px yellow;
}

.minicolors-input {
	padding: 0.9rem;
}

.puiw_color_schemes_workspace.loading::before {
	content: "";
	display: block;
	background: #00000070;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 9999;
	border-radius: 4px;
	padding: 0.5rem;
	margin: -0.5rem;
	cursor: wait;
}

.puiw_color_schemes_workspace.loading::after {
	content: "";
	display: block;
	background: url("../css/loading.svg") repeat-x;
	width: 5rem;
	height: 5rem;
	position: absolute;
	z-index: 9999;
	cursor: wait;
	-webkit-animation: spin 1s ease-in-out infinite;
	animation: spin 1s ease-in-out infinite;
	top: 2rem;
	left: calc(50% - 5rem);
	background-size: cover;
}

.btn.dashicons.disabled {
	color: #a0a5aa !important;
	border: 1px solid #ddd !important;
	background: #f7f7f7 !important;
	box-shadow: none !important;
	cursor: default;
	transform: none !important;
}

.subsubsub {
	display: flex;
	gap: 0.5rem;
	overflow: auto;
	width: 100%;
	padding: 0 0 2rem 0;
}