/**
 * --------------------------------------------------
 * Heatbox adjustment
 * --------------------------------------------------
 */
/* exists to display the updated icon */
.heatbox h2 {
	position: relative;
}

.heatbox-cols {
	display: flex;
	flex-wrap: wrap;
}

.swift-control-settings .heatbox-main {
	width: 55%;
}

.swift-control-settings .heatbox-sidebar {
	width: 43%;
}

.swift-control-settings .heatbox-sidebar .widget-item {
	margin-top: 8px;
}

.swift-control-settings
	.heatbox-sidebar
	.widget-items
	.widget-item:first-child {
	margin-top: 0;
}

/**
 * ------------------------------
 * Setting fields
 * ------------------------------
 */
.setting-fields {
	padding: 25px 15px;
}

.setting-fields.is-gapless {
	padding: 0;
}

.setting-fields .label {
	display: block;
	font-weight: 600;
}

.setting-fields .description {
	font-weight: 400;
}

hr {
	margin: 20px 0;
	border-top: 1px solid #eee;
	border-bottom: 0;
}

.setting-fields .field:last-child {
	margin-bottom: 0;
}

.setting-fields .field {
	margin-bottom: 20px;
}

.field.is-horizontal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.field.is-horizontal .field-label {
	width: 30%;
}

.field.is-horizontal .field-body {
	padding-left: 20px;
	width: 70%;
}

/**
 * --------------------------------------------------
 * Featured products
 * --------------------------------------------------
 */
.featured-products > h2 {
	text-align: center;
	margin-bottom: 50px;
	font-size: 24px;
}

.featured-products .products {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.featured-products .products li {
	width: 32%;
}

.featured-products .products .subheadline {
	font-weight: 600;
	margin-top: -6px;
}

.featured-products .products img {
	max-width: 100%;
}

.featured-products .credit {
	margin-top: 20px;
	text-align: center;
	opacity: 0.5;
}

/**
 * --------------------------------------------------
 * Drag & locked handle
 * --------------------------------------------------
 */
.swift-control-settings .is-locked .drag-wrapper {
	cursor: default;
}

.swift-control-settings .drag-wrapper {
	position: relative;
	cursor: move;
}

.swift-control-settings .drag-handle {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-top: -2px;
	width: 20px;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.swift-control-settings .drag-handle::before {
	background-color: #dedede;
	content: "";
	display: block;
	height: 2px;
	-webkit-box-shadow: 0 10px 0 #dedede;
	box-shadow: 0 6px 0 #dedede;
}

.swift-control-settings .locked-handle {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	color: #47d87c;
	font-size: 17px;
}

.swift-control-settings .pro-unlock:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.swift-control-settings .pro-unlock {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 4px;
	background-color: #000;
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
}

/**
 * --------------------------------------------------
 * Saved status
 * --------------------------------------------------
 */
.swift-control-settings .heatbox .saved-status.is-shown,
.swift-control-settings .saved-status-bar.is-shown {
	opacity: 1;
}

.swift-control-settings .heatbox .saved-status {
	position: absolute;
	right: 20px;
	top: 50%;
	padding: 10px;
	height: 30px;
	line-height: 10px;
	font-size: 12px;
	font-weight: 700;
	opacity: 0;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	background: #47d87c;
	border-radius: 4px;
	color: #fff;
}

.swift-control-settings .saved-status-bar {
	position: fixed;
	left: 0;
	top: 32px;
	padding: 10px 0;
	width: 100%;
	color: #fff;
	font-size: 16px;
	text-align: center;
	background-color: #47d87c;
	opacity: 0;
	z-index: 1; /* The bar should be on top of widget items. */
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

/**
 * --------------------------------------------------
 * Active items area
 * --------------------------------------------------
 */
.swift-control-settings .heatbox-main .widget-item:last-child {
	border-bottom-width: 0;
}

.swift-control-settings .heatbox-main .widget-item {
	margin-bottom: 0;
	border: none;
	border-bottom: 1px solid #eee;
}

.swift-control-settings .heatbox-main .widget-item .widget-default-area {
	padding: 10px 20px 10px 10px;
}

/**
 * --------------------------------------------------
 * Available items area
 * --------------------------------------------------
 */
.swift-control-settings .heatbox-sidebar .widget-item:last-child {
	margin-bottom: 0;
}

.swift-control-settings .heatbox-sidebar .widget-item {
	padding: 10px 20px 10px 15px;
}

/**
 * --------------------------------------------------
 * Available items metabox
 * --------------------------------------------------
 */
.swift-control-settings .available-widgets-box .widget-items:empty {
	height: 70px;
	background-color: #ebebeb;
	-webkit-box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, 0.03);
	box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, 0.03);
}

/**
 * --------------------------------------------------
 * PRO items metabox
 * --------------------------------------------------
 */
.swift-control-settings .pro-widgets-box {
	margin-top: 20px;
}

.swift-control-settings .pro-widgets-box .pro-items {
	margin-bottom: 20px;
}

/**
 * --------------------------------------------------
 * jQuery UI Sortable styling
 * --------------------------------------------------
 */
.swift-control-settings .sortable-ghost {
	background-color: rgba(255, 255, 255, 1);
	border: 1px solid #eee;
	opacity: 0.75;
}

.swift-control-settings .ui-sortable-helper {
	max-width: 530px !important;
	-webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
	box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
	-webkit-transition: width 0.3s ease-in-out;
	transition: width 0.3s ease-in-out;
}

.swift-control-settings .widget-item.ui-sortable-placeholder {
	height: 70px !important;
	visibility: visible !important;
	background-color: #ebebeb;
	-webkit-box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, 0.03);
	box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, 0.03);
}

/**
 * --------------------------------------------------
 * Menu items
 * --------------------------------------------------
 */
.swift-control-settings .widget-items {
	margin-top: 0;
	margin-bottom: 0;
	min-height: 42px;
}

.swift-control-settings .widget-item {
	position: relative;
	margin-bottom: 8px;
	font-weight: 600;
	background-color: #fff;
}

/**
 * --------------------------------------------------
 * Menu item's columns
 * --------------------------------------------------
 */
.swift-control-settings .widget-item-col {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.swift-control-settings .widget-item .drag-wrapper {
	width: 5%;
}
.swift-control-settings .widget-item .icon-wrapper {
	position: relative;
	width: 12%;
}
.swift-control-settings .widget-item .text-wrapper {
	width: 25%;
}
.swift-control-settings .widget-item .extra-settings-wrapper {
	width: 46%;
}
.swift-control-settings .widget-item .actions-wrapper {
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	width: 12%;
	position: relative;
	text-align: right;
}

/** Menu item columns on available items area **/

.swift-control-settings .heatbox-sidebar .widget-item .drag-wrapper {
	width: 8%;
}

.swift-control-settings .heatbox-sidebar .widget-item .icon-wrapper {
	width: 15%;
}

.swift-control-settings .heatbox-sidebar .widget-item .text-wrapper {
	width: 33%;
}

.swift-control-settings .heatbox-sidebar .widget-item .extra-settings-wrapper {
	width: 27%;
}

.swift-control-settings .heatbox-sidebar .widget-item .actions-wrapper {
	width: 17%;
}

/** Locked handle */
.swift-control-settings .widget-item.is-locked .text-wrapper {
	padding-left: 10px;
	width: 92%;
	flex-wrap: wrap;
}

.swift-control-settings .widget-item.is-locked {
	border:  1px solid #ededf0;
	background-color: #f5f5f7;
}

.swift-control-settings .widget-item.is-locked .text-wrapper p {
	width: 100%;
	margin: 0;
	padding: 0;
}

.swift-control-settings .widget-item.is-locked .text-wrapper p:first-child {
	margin-bottom: 6px;
	font-size: 16px;
}

.swift-control-settings .widget-item.is-locked .text-wrapper .description {
	font-weight: 400;
}

/**
 * --------------------------------------------------
 * Menu item's control
 * --------------------------------------------------
 */

.swift-control-settings .widget-item .widget-icon {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 50px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-size: 16px;
	background-color: #eee;
}

.swift-control-settings .widget-item .widget-icon .icon-picker-container {
	line-height: normal;
}

.swift-control-settings .widget-icon .dashicons {
	line-height: inherit;
}

.swift-control-settings .widget-item .icon-picker:hover {
	background-color: rgba(134, 14, 230, 1);
}

.swift-control-settings .widget-item .icon-picker:hover:before {
	opacity: 1;
}

.swift-control-settings .available-widgets-box .widget-item .icon-picker {
	display: none;
}

.swift-control-settings .widget-item .icon-picker {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	text-align: center;
	font-size: 10px;
	line-height: 1.2;
	font-weight: 400;
	color: #fff;
	background-color: transparent;
	border: 2px solid rgba(134, 14, 230, 1);
	outline: none;
	cursor: pointer;
}

.swift-control-settings .edit-mode .icon-picker {
	display: block;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.swift-control-settings .widget-item .icon-picker.use-icon::before {
	content: "\f304";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	border-radius: 50%;
}

.swift-control-settings .widget-item .icon-picker::before {
	content: "Select";
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.swift-control-settings .edit-mode .edit-mode-control {
	display: block;
}

.swift-control-settings .edit-mode-control {
	display: none;
}

.swift-control-settings
	.redirect-url-setting
	.field.is-horizontal
	.field-label {
	padding-left: 10px;
}

.swift-control-settings .redirect-url-setting .field.is-horizontal .field-body {
	padding-left: 0;
}

.swift-control-settings .widget-item .edit-button {
	padding-left: 15px;
	padding-right: 15px;
	height: 30px;
	color: #777;
	background-color: transparent;
	border-width: 0;
	border-radius: 3px;
	cursor: pointer;
	outline: none;
}

.swift-control-settings .widget-item .edit-button:hover {
	color: #000;
	background-color: #eee;
}

.swift-control-settings .edit-mode .edit-button,
.swift-control-settings .edit-mode .edit-button:hover {
	/* color: #000; */
	/* background-color: #eee; */
	background-color: #860ee6;
	color: #fff;
}

/** Menu item's control on available items area **/

.swift-control-settings .heatbox-sidebar .widget-item .widget-item-control {
	display: none;
}

/**
 * --------------------------------------------------
 * Menu item fields
 * --------------------------------------------------
 */
.swift-control-settings .widget-item-control {
	color: #999;
}

.swift-control-settings .extra-settings-wrapper .widget-item-control {
	width: 100%;
	padding-left: 10px;
	padding-right: 10px;
}

.swift-control-settings .extra-settings-wrapper .new-tab-setting {
	width: 40%;
}

.swift-control-settings .extra-settings-wrapper .widget-url-setting {
	width: 60%;
}

.swift-control-settings .text-field {
	font-size: 13px;
}

.swift-control-settings .edit-mode .text-field[readonly]:hover {
	background-color: transparent;
}

.swift-control-settings .edit-mode .text-field:hover {
	background-color: #f3f3f3;
}

.swift-control-settings .edit-mode .text-field:focus {
	background-color: #f3f3f3;
}

.swift-control-settings .text-field:focus {
	outline: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.swift-control-settings .edit-mode .text-field[readonly] {
	background-color: transparent;
}

.swift-control-settings .edit-mode .text-field {
	background-color: #f5f5f5;
}

.swift-control-settings .text-field[readonly] {
	background-color: transparent;
	border-width: 0;
	color: #000;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.swift-control-settings .text-field {
	width: 100%;
	border-width: 0;
	background-color: transparent;
	border-radius: 3px;
}

/**
 * --------------------------------------------------
 * Icon picker
 * --------------------------------------------------
 */
.swift-control-settings .iconpicker-popover {
	/** Must be on top of WordPress admin's side widget */
	z-index: 9991;
}

.swift-control-settings .available-widgets-box .iconpicker-popover {
	display: none !important;
}

.swift-control-settings .iconpicker-popover,
.swift-control-settings .iconpicker-popover * {
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

.swift-control-settings .iconpicker-popover {
	overflow: hidden;
	border-radius: 6px;
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.swift-control-settings .iconpicker-popover .iconpicker-search {
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.swift-control-settings .iconpicker-popover .popover-title {
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

/**
 * --------------------------------------------------
 * Color picker
 * --------------------------------------------------
 */
.iris-picker-inner {
	display: grid;
	grid-template-columns: 1fr 20px 20px;
	grid-gap: 7px;
}

.iris-picker-inner > * {
	width: 100% !important;
	margin-left: 0 !important;
}

/**
 * --------------------------------------------------
 * Role multiselect
 * --------------------------------------------------
 */
.swift-control-settings
	.select2-container--default
	.select2-selection--multiple
	.select2-selection__rendered {
	display: flex;
}

.swift-control-settings .select2-label .select2-container {
	display: block;
}

/**
 * --------------------------------------------------
 * Responsiveness
 * --------------------------------------------------
 */
.heatbox-tab-nav .swift-control-preview {
	float: right;
	padding-right: 0;
}

.swift-control-preview .preview-text {
	margin-left: 10px;
}

/**
 * --------------------------------------------------
 * Responsiveness
 * --------------------------------------------------
 */
@media (max-width: 1200.32px) {
	/** Menu item's columns width */
	.swift-control-settings .widget-item .drag-wrapper {
		width: 10%;
	}
	.swift-control-settings .widget-item .icon-wrapper {
		width: 15%;
	}
	.swift-control-settings .widget-item .text-wrapper {
		width: 30%;
	}
	.swift-control-settings .widget-item .extra-settings-wrapper {
		width: 27%;
	}
	.swift-control-settings .widget-item .actions-wrapper {
		width: 18%;
	}

	/** Menu item's columns width on available items area */
	.swift-control-settings .heatbox-sidebar .widget-item .drag-wrapper {
		width: 10%;
	}

	.swift-control-settings .heatbox-sidebar .widget-item .icon-wrapper {
		width: 17%;
	}

	.swift-control-settings .heatbox-sidebar .widget-item .text-wrapper {
		width: 40%;
	}

	.swift-control-settings
		.heatbox-sidebar
		.widget-item
		.extra-settings-wrapper {
		width: 20%;
	}

	.swift-control-settings .heatbox-sidebar .widget-item .actions-wrapper {
		width: 13%;
	}

	/** Locked handle */
	.swift-control-settings .widget-item.is-locked .text-wrapper {
		width: 90%;
	}
}

@media (max-width: 991.32px) {
	/** Featured products */
	.featured-products .products li {
		width: 100%;
	}

	/** Menu item's columns width */
	.swift-control-settings .widget-item .drag-wrapper {
		width: 5%;
	}
	.swift-control-settings .widget-item .icon-wrapper {
		width: 12%;
	}
	.swift-control-settings .widget-item .text-wrapper {
		width: 33%;
	}
	.swift-control-settings .widget-item .extra-settings-wrapper {
		width: 35%;
	}
	.swift-control-settings .widget-item .actions-wrapper {
		width: 15%;
	}

	/** Locked handle */
	.swift-control-settings .widget-item.is-locked .text-wrapper {
		width: 95%;
	}

	.swift-control-settings .heatbox-main,
	.swift-control-settings .heatbox-sidebar,
	.swift-control-settings .general-settings-area {
		width: 100%;
	}

	.swift-control-settings .heatbox-sidebar {
		-webkit-box-pack: start;
		-ms-flex-pack: start;
		justify-content: flex-start;
		padding-left: 0;
	}

	.swift-control-settings .heatbox-main .heatbox,
	.swift-control-settings .heatbox-sidebar .heatbox,
	.swift-control-settings .general-settings-area .heatbox {
		max-width: 100%;
	}

	.swift-control-settings .ui-sortable-helper {
		max-width: 100% !important;
	}
}

@media (max-width: 575.32px) {
	/** Menu item's columns width */
	.swift-control-settings .widget-item .drag-wrapper,
	.swift-control-settings .heatbox-sidebar .widget-item .drag-wrapper {
		width: 7%;
	}
	.swift-control-settings .widget-item .icon-wrapper,
	.swift-control-settings .heatbox-sidebar .widget-item .icon-wrapper {
		width: 17%;
	}
	.swift-control-settings .widget-item .text-wrapper {
		width: 29%;
	}
	.swift-control-settings .widget-item .extra-settings-wrapper {
		width: 29%;
	}
	.swift-control-settings .widget-item .actions-wrapper {
		width: 18%;
	}

	/** Locked handle */
	.swift-control-settings .widget-item.is-locked .text-wrapper {
		width: 93%;
	}

	/** Menu item's settings */
	.swift-control-settings .widget-item .widget-icon {
		width: 35px;
		height: 35px;
		line-height: 35px;
		font-size: 13px;
	}

}

/**
 * --------------------------------------------------
 * Tools
 * --------------------------------------------------
 */
.swift-control-tools-container {
	display: flex;
	flex-wrap: wrap;
}

.swift-control-tools-container .heatbox {
	display: flex;
	flex-direction: column;
	flex: 0 49%;
	margin-right: 2%;
}

.swift-control-tools-container .heatbox:nth-child(even) {
	margin-right: 0;
}

.swift-control-tools-container p.submit {
	margin-bottom: 0;
}

@media screen and (max-width:768px) {
	.swift-control-tools-container .heatbox {
		flex: 0 100%;
		margin-right: 0;
	}
}
