/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* Career form */
body.page-id-423 .wpcf7,
body.page-id-602 .wpcf7 {
  width: min(100%, 640px);
  margin-inline: auto;
}

body.page-id-423 .wpcf7 form,
body.page-id-602 .wpcf7 form {
  display: block;
}

body.page-id-423 .nbd-career-form,
body.page-id-602 .nbd-career-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

body.page-id-423 .nbd-career-form .nectar-wpcf7-inline-form,
body.page-id-602 .nbd-career-form .nectar-wpcf7-inline-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 30px;
  width: 100%;
  padding: 0 !important;
}

body.page-id-423 .nbd-career-form .nectar-wpcf7-inline-form + .nectar-wpcf7-inline-form,
body.page-id-602 .nbd-career-form .nectar-wpcf7-inline-form + .nectar-wpcf7-inline-form {
  grid-template-columns: 1fr;
}

body.page-id-423 .nbd-career-form .nectar-wpcf7-inline-field,
body.page-id-602 .nbd-career-form .nectar-wpcf7-inline-field {
  display: block !important;
  width: 100% !important;
  min-width: 0;
  padding: 0 !important;
}

body.page-id-423 .nbd-career-form label,
body.page-id-602 .nbd-career-form label {
  display: block;
  width: 100%;
  margin: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: inherit;
}

body.page-id-423 .nbd-career-form .wpcf7-form-control-wrap,
body.page-id-602 .nbd-career-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 14px;
}

body.page-id-423 .nbd-career-form input[type="text"],
body.page-id-423 .nbd-career-form input[type="email"],
body.page-id-423 .nbd-career-form select,
body.page-id-423 .nbd-career-form .select2-container,
body.page-id-602 .nbd-career-form input[type="text"],
body.page-id-602 .nbd-career-form input[type="email"],
body.page-id-602 .nbd-career-form select,
body.page-id-602 .nbd-career-form .select2-container {
  display: block !important;
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
}

body.page-id-423 .nbd-career-form input[type="text"],
body.page-id-423 .nbd-career-form input[type="email"],
body.page-id-602 .nbd-career-form input[type="text"],
body.page-id-602 .nbd-career-form input[type="email"] {
  height: 58px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #f1f1f1;
  box-shadow: none;
  font: inherit;
}

body.page-id-423 .nbd-career-form .select2-selection--single,
body.page-id-602 .nbd-career-form .select2-selection--single {
  height: 58px;
  border: 0;
  border-radius: 14px;
  background: #f1f1f1;
}

body.page-id-423 .nbd-career-form .select2-selection__rendered,
body.page-id-602 .nbd-career-form .select2-selection__rendered {
  display: flex !important;
  align-items: center;
  height: 100%;
  line-height: 1.2;
  padding-inline: 18px 42px;
  font-weight: 700;
  text-align: left;
}

body.page-id-423 .nbd-career-form .select2-container.nbd-select-placeholder .select2-selection__rendered,
body.page-id-602 .nbd-career-form .select2-container.nbd-select-placeholder .select2-selection__rendered {
  color: rgba(0, 0, 0, 0.38) !important;
}

body.page-id-423 .nbd-career-form .select2-selection--single .select2-selection__arrow,
body.page-id-602 .nbd-career-form .select2-selection--single .select2-selection__arrow {
  top: 50%;
  right: 18px;
  height: 20px;
  transform: translateY(-50%);
}

body.rtl.page-id-602 .nbd-career-form .select2-selection__rendered {
  direction: rtl;
  justify-content: flex-end;
  padding-inline: 42px 18px;
  text-align: right;
}

body.rtl.page-id-602 .nbd-career-form .select2-selection--single .select2-selection__arrow {
  right: auto;
  left: 18px;
}

body.page-id-423 .nbd-career-form input[type="file"],
body.page-id-602 .nbd-career-form input[type="file"] {
  display: block;
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: #f1f1f1;
  font: inherit;
  cursor: pointer;
}

body.page-id-423 .nbd-career-form input[type="file"]::file-selector-button,
body.page-id-602 .nbd-career-form input[type="file"]::file-selector-button {
  margin-inline-end: 12px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

body.page-id-423 .nbd-career-form__submit,
body.page-id-602 .nbd-career-form__submit {
  display: flex;
  justify-content: flex-start;
  margin-top: 2px;
}

body.page-id-423 .nbd-career-form input[type="submit"],
body.page-id-602 .nbd-career-form input[type="submit"] {
  min-width: 190px;
  padding: 16px 40px !important;
  border-radius: 999px;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

body.rtl.page-id-602 .nbd-career-form {
  direction: rtl;
  text-align: right;
}

body.page-id-423 .select2-results__options,
body.page-id-602 .select2-results__options {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.page-id-423 .select2-results__option,
body.page-id-602 .select2-results__option {
  list-style: none !important;
}

body.page-id-423 .select2-results__option::before,
body.page-id-602 .select2-results__option::before,
body.page-id-423 .select2-results__option::marker,
body.page-id-602 .select2-results__option::marker {
  content: none !important;
  display: none !important;
}

body.page-id-423 .select2-results__option[aria-disabled="true"],
body.page-id-602 .select2-results__option[aria-disabled="true"] {
  color: rgba(0, 0, 0, 0.38) !important;
  cursor: default;
}

body.rtl.page-id-602 .select2-dropdown,
body.rtl.page-id-602 .select2-results__option {
  direction: rtl;
  text-align: right;
}

@media (max-width: 690px) {
  body.page-id-423 .nbd-career-form .nectar-wpcf7-inline-form,
  body.page-id-602 .nbd-career-form .nectar-wpcf7-inline-form {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body.page-id-423 .nbd-career-form input[type="submit"],
  body.page-id-602 .nbd-career-form input[type="submit"] {
    width: 100%;
  }
}

/* ==========================================
   Clean RTL Header & Mobile Unbreakable Fix
   ========================================== */

/* --- DESKTOP VIEW (>= 1000px) --- */
@media only screen and (min-width: 1000px) {
	/* Nav Container: Burger on Far Left, WhatsApp to its Right */
	body.rtl #header-outer #top nav {
		display: flex !important;
		flex-direction: row-reverse !important;
		align-items: center !important;
		justify-content: flex-end !important;
		gap: 20px !important;
	}

	body.rtl #header-outer #top nav > ul.sf-menu,
	body.rtl #header-outer #top nav > ul.buttons {
		margin: 0 !important;
		padding: 0 !important;
		display: flex !important;
		align-items: center !important;
	}

	/* WhatsApp White Pill (Text Left, Icon Right, 24px Symmetric Padding) */
	body.rtl #header-outer .menu-item-692 > a,
	body.rtl #header-outer .menu-item-693 > a {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		flex-direction: row-reverse !important;
		direction: ltr !important;
		gap: 10px !important;
		height: 44px !important;
		line-height: 44px !important;
		padding: 0 24px !important;
		box-sizing: border-box !important;
		border-radius: 999px !important;
		position: relative !important;
		white-space: nowrap !important;
		text-decoration: none !important;
	}

	body.rtl #header-outer .menu-item-692 > a .menu-title-text,
	body.rtl #header-outer .menu-item-693 > a .menu-title-text {
		direction: ltr !important;
		display: inline-block !important;
	}

	body.rtl #header-outer .menu-item-692 > a i,
	body.rtl #header-outer .menu-item-693 > a i {
		display: inline-flex !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Lock Hover Pseudo-Elements (::before & ::after) Alignment */
	body.rtl #header-outer .menu-item-692 > a::before,
	body.rtl #header-outer .menu-item-692 > a::after,
	body.rtl #header-outer .menu-item-693 > a::before,
	body.rtl #header-outer .menu-item-693 > a::after {
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		margin: 0 !important;
		transform-origin: center center !important;
	}
}

/* --- MOBILE VIEW (< 1000px) --- */
@media only screen and (max-width: 999px) {

	/* 1. Flip the header row so controls go left, logo goes right */
	body.rtl #header-outer #top .container > .row,
	body.rtl #header-outer #top .row {
		display: flex !important;
		flex-direction: row-reverse !important;
		align-items: center !important;
		justify-content: space-between !important;
	}

	/* 2. Hide Desktop Nav on Mobile */
	body.rtl #header-outer #top nav {
		display: none !important;
	}

	/* 3. Controls container: flip order so burger is leftmost */
	body.rtl #header-outer #top .span_9 {
		display: flex !important;
		flex-direction: row-reverse !important;
		align-items: center !important;
		gap: 10px !important;
		width: auto !important;
	}
}






@media only screen and (min-width: 1000px) {
	body.rtl #top .effect-shown .lines-button:after,
	body.rtl #top .effect-shown .lines:after,
	body.rtl #top .effect-shown .lines:before,
	body.rtl #top .slide-out-widget-area-toggle a:hover .lines-button:after,
	body.rtl #top .slide-out-widget-area-toggle a:hover .lines:after,
	body.rtl #top .slide-out-widget-area-toggle a:hover .lines:before {
		transform: translateX(-30px) !important;
	}
}

/* WhatsApp header CTA — shared by the English and Arabic menus. */
body #header-outer #top a[href*="wa.me"],
body #header-outer #top a[href*="whatsapp.com"] {
	color: #fff !important;
}

body #header-outer #top a[href*="wa.me"]::before,
body #header-outer #top a[href*="wa.me"]::after,
body #header-outer #top a[href*="whatsapp.com"]::before,
body #header-outer #top a[href*="whatsapp.com"]::after {
	background: #25d366 !important;
	border-color: #25d366 !important;
}

body #header-outer #top a[href*="wa.me"]:hover::before,
body #header-outer #top a[href*="wa.me"]:hover::after,
body #header-outer #top a[href*="whatsapp.com"]:hover::before,
body #header-outer #top a[href*="whatsapp.com"]:hover::after {
	background: #1ebe5d !important;
	border-color: #1ebe5d !important;
}

body #header-outer #top a[href*="wa.me"] .menu-title-text,
body #header-outer #top a[href*="wa.me"] .nectar-menu-icon,
body #header-outer #top a[href*="whatsapp.com"] .menu-title-text,
body #header-outer #top a[href*="whatsapp.com"] .nectar-menu-icon {
	color: #fff !important;
}

body #header-outer #top a[href*="wa.me"] .menu-title-text::after,
body #header-outer #top a[href*="whatsapp.com"] .menu-title-text::after {
	display: none !important;
}



/* Mirror Burger Icon Lines Hover Slide Animation */
body.rtl #top .slide-out-widget-area-toggle a span .lines-button.hover-effect {
	left: auto !important;
	right: -30px !important;
}

@media only screen and (min-width: 1000px) {
	body.rtl #top .effect-shown .lines-button:after,
	body.rtl #top .effect-shown .lines:after,
	body.rtl #top .effect-shown .lines:before,
	body.rtl #top .slide-out-widget-area-toggle a:hover .lines-button:after,
	body.rtl #top .slide-out-widget-area-toggle a:hover .lines:after,
	body.rtl #top .slide-out-widget-area-toggle a:hover .lines:before {
		transform: translateX(-30px) !important;
	}
}







