.customize-control-ast-responsive-background {
    position: relative;
	.background-container h4 {
		font-size: 14px;
        font-weight: 600;
        color: rgb(85, 93, 102);
	}

    .background-attachment,
    .background-color,
    .background-position,
    .background-repeat,
    .background-size {
        h4 {
            margin-bottom: 5px;
            margin-top: 10px;
        }
    }

    .background-color {
        margin-bottom: 12px;
    }

    .background-repeat {
        margin: 15px 0 15px 0;
    }

    .background-attachment,
    .background-size {
        .buttonset {
            display: flex;
            flex-wrap: wrap;

            .switch-label {
                background: #ffffff;
                border: 1px solid rgba(0, 0, 0, 0.1);
                color: #555;
                padding: 2px 4px;
                margin-right: 15px;
                text-align: center;
                flex-grow: 1;
                transition: background-color 140ms linear;
            }
            .switch-label:last-child {
                margin-right: 0;
            }
            .switch-input:checked + .switch-label {
                background-color: #f5f5f5;
                color: #565e67;
            }
            .switch-input[checked="checked"] + .switch-label {
                background-color: #f5f5f5;
                color: #565e67;
            }
        }
	}

	.ast-bg-img-remove {
		&.components-button {
			&.is-link {
				width: 100%;
				border: 1px dashed #b4b9be;
				box-sizing: border-box;
				box-shadow: unset;
				padding: 9px 0;
				line-height: 1.6;
				margin-top: 10px;
				text-decoration: none;
			}
			&.is-destructive:hover:not(:disabled) {
				color: #a02222;
				box-shadow: unset;
				border-color: #a02222;
			}
		}
	}

    .more-settings {
        margin-top: 12px;
		display: flex;
		justify-content: flex-end;
        padding: 5px 0 5px 0;
        cursor: pointer;
		float: none;
		text-decoration: none;
    }

    .more-settings:focus {
        outline: 0;
        box-shadow: none;
    }

    .arrow-icon {
        margin-left: 5px;
    }


    // Responsive option toggle style.
    .background-container {
		display: none;
		&.active {
			display: block;
		}
	}
    .wp-picker-container {
        display: block;
        .wp-picker-clear {
            margin-left: 4px;
            min-height: 30px;
        }
	}
	.customize-control-content {
		.color-button-wrap {
			position: absolute;
			right: 24px;
			top: -5px;
		}
		.ast-responsive-btns {
			position: absolute;
			right: 0px;
			top: -1px;
		}
		.astra-color-picker-wrap {
			margin-top: -14px;
		}
		.components-color-picker__saturation-color,
		.components-color-picker__saturation-white {
			border-radius: unset;
		}
	}
	.ast-color-btn-clear-wrap {
		right: 84px;
	}
	.ast-color-btn-reset-wrap {
		right: 65px;
	}
}


/**
 * BG Media Button.
 */
/**
* Gradient field
*/
.components-color-picker__inputs-toggle-wrapper {
	.components-color-picker__inputs-toggle {
		vertical-align: middle;
		height: 32px;
	}
}
.astra-popover-tabs {
	.components-button.upload-button.button-add-media {
		width: 100%;
		position: relative;
		text-align: center;
		color: #555d66;
		border: 1px dashed #b4b9be;
		box-sizing: border-box;
		box-shadow: unset;
		padding: 9px 0;
		line-height: 1.6;
		&:hover {
			color: #555d66;
			box-sizing: border-box;
			box-shadow: unset;
			border-color: #0185ba;
		}
	}
	[ID*="-gradient-view"] {
		padding: 15px;
		.components-circular-option-picker__clear {
			flex: unset;
			box-shadow: unset;
			width: auto;
			padding: 0 5px;
			&:hover {
				box-shadow: unset;
			}
			&:active {
				box-shadow: unset;
			}
			&:focus {
				box-shadow: unset;
			}
		}
	}
	#tab-panel-0-image-view > div {
		text-align: center;
		img {
			width: 200px;
			margin-bottom: 18px;
		}
		.media-position-setting {
			text-align: left;
		}
	}
}
.astra-popover-color {
	.components-circular-option-picker {
		position: relative;
		margin-top: 0;
		.components-circular-option-picker__custom-clear-wrapper {
			margin-top: 10px;
			justify-content: flex-start;
			@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
				width: 50px;
			}
		}
	}
	[ID*="-color-view"] .components-circular-option-picker {
		width: auto;
	}
	.ast-color-palette {
		width: auto;
		padding: 16px 0px 0px 14px;
		.components-circular-option-picker__option {
			width: 100%;
			height: 100%;
			border-radius: 100%;
		}
	}
	.components-custom-gradient-picker {
		margin-top: 0;
	}
	.components-custom-gradient-picker__gradient-bar {
		box-sizing: border-box;
		opacity: 1;
	}
	.components-custom-gradient-picker__type-picker {
		.components-base-control__label {
			display: block;
		}
	}
}
.components-custom-gradient-picker {
	.components-base-control__label {
		padding-top: 10px;
		font-size: 12px;
		display: block;
		letter-spacing: 0.1px;
		line-height: 18px;
	}
}
[ID*="-gradient-view"] {
	.components-toolbar.components-custom-gradient-picker__toolbar {
		.components-button.has-icon {
			border: none;
		}
	}
}
.media-position-setting.hide-settings {
    display: none;
}
.ast-field-settings-modal {
	.customize-control-content {
		.color-button-wrap {
			right: 30px;
		}
		.ast-responsive-btns {
			right: 7px;
		}
		.astra-color-picker-wrap {
			margin-left: 0px;
		}
		.ast-color-btn-reset-wrap {
			right: 72px;
		}
		.ast-color-btn-clear-wrap {
			right: 91px;
		}
	}
	.customize-control-ast-responsive-background {
		&.customize-control {
			margin-top: 28px;
			&:first-child {
				margin-top: 28px;
			}
		}
	}
}
