/* WPBakery front-end editor fixes for the custom Sada components. */
body.vc_editor [data-reveal],
body.compose-mode [data-reveal],
body.sada-vc-preview [data-reveal],
html.vc_editor [data-reveal] {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

/* Keep the editing canvas readable while WPBakery refreshes a shortcode. */
body.vc_editor .sada-section,
body.compose-mode .sada-section,
body.sada-vc-preview .sada-section {
	min-height: 120px;
}

/* Improve the RTL settings dialog shown by WPBakery. */
body.sada-vc-inline-admin .vc_ui-panel-window,
body.sada-vc-inline-admin .vc_ui-panel-content-container,
body.sada-vc-inline-admin .vc_ui-panel-content {
	direction: rtl;
	text-align: right;
}

body.sada-vc-inline-admin .vc_ui-panel-window .vc_shortcode-param {
	clear: both;
	padding-top: 10px;
	padding-bottom: 10px;
}

body.sada-vc-inline-admin .vc_ui-panel-window .wpb_element_label {
	display: block !important;
	position: static !important;
	float: none !important;
	width: auto !important;
	margin: 0 0 8px !important;
	line-height: 1.6 !important;
	font-weight: 700;
}

body.sada-vc-inline-admin .vc_ui-panel-window input[type="text"],
body.sada-vc-inline-admin .vc_ui-panel-window input[type="url"],
body.sada-vc-inline-admin .vc_ui-panel-window textarea,
body.sada-vc-inline-admin .vc_ui-panel-window select {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
	direction: rtl;
	text-align: right;
}

body.sada-vc-inline-admin .vc_ui-panel-window textarea {
	min-height: 96px;
	resize: vertical;
}

body.sada-vc-inline-admin .vc_ui-panel-window .vc_description {
	clear: both;
	margin-top: 7px;
	color: #5f6f7d;
	line-height: 1.7;
}

body.sada-vc-inline-admin .vc_ui-panel-window .vc_param_group-list > li,
body.sada-vc-inline-admin .vc_ui-panel-window .vc_param_group-wrapper {
	border-radius: 8px;
}

body.sada-vc-inline-admin .vc_ui-panel-window .vc_ui-panel-content-container {
	overflow-y: auto;
}
