/* Fonts */

body.rtl,
body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6 {
	font-family: "primary-font", "segoe ui", "tahoma";
	line-height: 1.85;
}
body.rtl #wpadminbar * {
	font-family: "primary-font", "segoe ui", "tahoma";
}
body.rtl p {
	line-height: 2;
}
body.rtl .postbox .inside,
body.rtl .stuffbox .inside {
	line-height: 1.85;
}

/* Login */

body.rtl.login input:not(.button) {
	font-family: Tahoma, Arial, sans-serif;
	direction: ltr;
	text-align: right;
}

/* Customizer */

.wp-customizer .customize-control {
	margin-bottom: 20px;
}
.wp-customizer .control-section .accordion-section-title,
.wp-customizer .customize-pane-child .accordion-section-title {
	padding-top: 11px;
}
.wp-customizer .select2-search--dropdown {
	display: none;
}
.wp-customizer .select2-results__option {
	margin-bottom: 0;
	line-height: 1.4;
}
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-texts,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-top_text,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-middle_text,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-buttons,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-button_1_title,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-button_1_color,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-button_1_text,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-button_1_link,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-button_2_title,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-button_2_color,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-button_2_text {
	border-bottom: 0;
}
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-button_1_title,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-button_2_title {
	margin-bottom: 0;
}
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-button_2_title {
	margin-top: 25px;
}
.wp-customizer #customize-control-contact_info_phone textarea,
.wp-customizer #customize-control-contact_info_email textarea,
.wp-customizer #customize-control-advantages_video input,
.wp-customizer #customize-control-contact_map_api input,
.wp-customizer #customize-control-contact_map_latitude input,
.wp-customizer #customize-control-contact_map_longitude input,
.wp-customizer #customize-control-contact_map_zoom,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-button_1_link input,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-button_2_link input,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-icon input,
.wp-customizer .customize-control-repeater .repeater-field.repeater-field-link input {
	direction: ltr;
}
.wp-customizer.rtl .customize-control-repeater .repeater-field.repeater-field-button_1_color label label,
.wp-customizer.rtl .customize-control-repeater .repeater-field.repeater-field-button_2_color label label {
	display: inline-block;
	margin-left: 15px;
	margin-bottom: -5px;
}
.wp-customizer.rtl #customize-controls .description {
	font-style: normal;
	line-height: 1.85;
}
.wp-customizer.rtl .customize-control-repeater .repeater-row-header .dashicons {
	left: 12px !important;
	right: auto !important;
}
.wp-customizer.rtl .customize-control-kirki-color .iris-border .iris-palette-container {
	right: auto;
	left: 10px;
}

/* Meta Boxes */

body.rtl .rwmb-label {
	margin-top: 4px;
}
body .rwmb-text#portfolio_link {
	width: 100%;
}

/* Misc */

body.rtl #post-body.columns-2 #postbox-container-1 {
	left: 320px;
	right: auto;
}
body.rtl #titlediv #title-prompt-text {
	padding-top: 0;
	padding-bottom: 0;
	margin-top: -2px;
}
body.rtl #poststuff .inside {
	margin-top: 12px;
}
body.rtl #post-body #visibility:before,
body.rtl #post-body .misc-pub-post-status:before,
body.rtl #post-body .misc-pub-revisions:before,
body.rtl .curtime #timestamp:before {
	vertical-align: middle;
}
body.rtl #edit-slug-box #edit-slug-buttons {
	margin-right: 5px;
}
body.rtl input[type=checkbox],
body.rtl input[type=radio] {
	margin-top: 0;
}
body.rtl input[type=checkbox]:checked::before {
	margin-right: -0.2rem;
}
