/*
Theme Name: afik-news
Theme URI: http://afikil.co.il
Author: BENADAM
Author URI: http://benadam.co.il
Description: afik-news site's theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: simple, custom.
Text Domain: afik-news
*/


/* FONTS */

@font-face {
  font-family: 'Philosof';
  src: url('fonts/FbPhilosofBold.eot');
  src: url('fonts/FbPhilosofBold.eot?#iefix') format('embedded-opentype'),
       url('fonts/FbPhilosofBold.woff') format('woff'),
       url('fonts/FbPhilosofBold.ttf') format('truetype'),
       url('fonts/FbPhilosofBold.svg#Philosof') format('svg');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Philosof';
  src: url('fonts/FbPhilosofRegular.eot');
  src: url('fonts/FbPhilosofRegular.eot?#iefix') format('embedded-opentype'),
       url('fonts/FbPhilosofRegular.woff') format('woff'),
       url('fonts/FbPhilosofRegular.ttf') format('truetype'),
       url('fonts/FbPhilosofRegular.svg#PhilosofBold') format('svg');
  font-weight: normal;
  font-style: normal;
}


/* BASIC STYLES */

html {
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Philosof', sans-serif;
  font-weight: 300;
  letter-spacing: -0.6px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


body {
  font-size: var(--font-m);
  line-height:normal;
  color: var(--black);
  background-color: var(--soft-background);
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

/* TYPOGRAPHY */

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: 'Philosof', sans-serif;
  letter-spacing: 0;
}

h1, .h1 {
  color: var(--black);
  font-size: var(--font-xxxl);
  font-weight: 800;
  line-height: var(--font-xxxl);
}

h2, .h2 , h2 strong {
  font-weight: 600;
  font-size: var(--font-xxl);
  line-height: var(--font-xxl);
}

h3, .h3 {
  font-size: var(--font-l);
  line-height: var(--font-l);
  font-weight: 800;
}

h5, .h5 {
  font-size: var(--font-s);
  font-weight: var(--font-w-600);
  color: var(--dark-gray);
  line-height: 25px;
}

h6, .h6 {
  font-size: var(--font-m);
  line-height: var(--font-m);
  color: var(--dark-gray);
  font-weight: 500;
  font-family: 'Philosof', sans-serif;
  letter-spacing: 0;
}

.english {
  font-family: 'Philosof', sans-serif;
}

#main-content .the_content p {
  margin-bottom: var(--gap-s);
}

#main-content .the_content ul {
  margin-bottom: var(--gap-s);
}

#main-content.post b {
  font-weight: unset;
}

p a, .link {
  text-decoration: underline;
}

.show-all-link {
  color:var(--green);
  float:left;
  font-size:var(--font-s);
  align-self: flex-end;
}

/* CONTAINER STYLES */

header,
section,
footer,
subfooter,
sub-header,
#header-ticker {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 100%;
  padding: 0 var(--gap-s);
}

section inner,
header inner,
footer inner,
subfooter inner,
sub-header inner,
#header-ticker inner {
  width: var(--content-max-width);
  max-width: 100%;
  padding: var(--gap-m) 0px;
}

section:not(.no-bottom-padding, .mobile-no-bottom-padding) inner {
  padding-bottom: var(--gap-xs);
}

@media (max-width: 550px) {
  section:not(.no-bottom-padding, .mobile-no-bottom-padding) inner {
    padding-bottom: 60px;
}
}

section inner.center-padding,
header inner.center-padding,
footer inner.center-padding,
subfooter inner.center-padding,
sub-header inner.center-padding,
#header-ticker inner.center-padding {
  padding: var(--gap-m) 0px;
}

section.dark {
  background-color: var(--black);
}

section.light {
  background-color: var(--soft-background);
}

section.orange {
  background-color: var(--orange);
}

section.green {
  background-color: var(--green);
}


section inner > h1,
section inner > h2,
section inner > h3,
section inner > h4 {
  margin-bottom: var(--gap-m);
}

section.dark inner > h1,
section.dark inner > h2,
section.dark inner > h3,
section.dark inner > h4,
section.orange inner > h1,
section.orange inner > h2,
section.orange inner > h3,
section.orange inner > h4 {
  color: white;
}

section.light inner > h1,
section.light inner > h2,
section.light inner > h3,
section.light inner > h4 {
  color: var(--orange);
}

header {
  position: fixed;
  top: 45px;
  left: 0;
  width: 100%;
  z-index: 80;
  height: 70px;
  overflow: visible;
  transition: all 0.3s ease-in-out;
  background: white;
}

body:not(.home) header, header.sticky {
  border-bottom: 1px solid var(--light-gray);
}

header inner {
  padding: 0;
}

.header-padding {
  padding-top: 120px;
}

body.sticky-header .header-padding {
  padding-top: 120px;
}

sub-header {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  z-index: 50;
  height: 45px;
  overflow: visible;
  transition: all 0.3s ease-in-out;
  margin-top:0;
}

sub-header inner {
  padding: 0;
}

body.sticky-header header {
  margin-top:-120px;
}

header inner, sub-header inner {
  padding-right: 220px;
  transition: all 0.3s ease-in-out;
}
body.sticky-header sub-header inner {
  padding-right: 0px;
}

#header-ticker {
  position: fixed;
  top: 120px;
  left: 0;
  width: 100%;
  z-index: 30;
  height: 40px;
  overflow: visible;
  transition: all 0.7s ease-in-out;
  font-size: var(--font-xs);
  opacity: 1;
}

body.sticky-header #header-ticker {
  opacity: 0;
  top:0;
  pointer-events: none;
}

.sub-header-logo {
  margin-left:-40px;
  transition: all 0.3s ease-in-out;
}

body.sticky-header .sub-header-logo {
  margin-left:0;
}

.sub-header-logo img {
  opacity:0;
  width:0;
  transition: all 0.3s ease-in-out ;
}

body.sticky-header .sub-header-logo img {
  opacity:1;
  width:50px;
  margin-right:15px;
}

.big-header-logo {
  margin-top:0;
  transition: all 0.3s ease-in-out;
  top:-37px;
  right:0;
  height:97px;
}

body.sticky-header #header-ticker {
  opacity: 0;
  top:0;
  pointer-events: none;
}

sub-header, #header-ticker {
  background: var(--lighter-black);
  color: white;
}

#header-ticker inner {
  position: relative;
}

#header-ticker inner::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:1px;
  background: white;
  opacity: 0.5;
}

#header-ticker .swiper-container {
  padding-right: 120px;
  box-sizing: border-box;
}

span.ticker-title {
  position: absolute;
  top: 2;
  right: 0px;
  height: 31px;
  width: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lighter-black);
  background: white;
}

#header-ticker .swiper-wrapper {
  display: flex;
  align-items: center;
}

#header-ticker .swiper-slide {
  transition: all 0.3s ease-in-out;
  opacity: 1;
  display: flex;
  align-items: center;
}
#header-ticker .swiper-slide:not(.swiper-slide-active){
  opacity: 0.5;
}

#header-ticker .swiper-button-next:after, #header-ticker .swiper-button-prev:after {
  font-size:17px;
}

#header-ticker .swiper-button-next, #header-ticker .swiper-rtl .swiper-button-prev,
#header-ticker .swiper-button-prev, #header-ticker .swiper-rtl .swiper-button-next {
  height:40px;
}

#header-ticker .swiper-button-prev, #header-ticker .swiper-rtl .swiper-button-next {
  left:-5px;
  right:auto;
}

#header-ticker .swiper-button-next, #header-ticker .swiper-rtl .swiper-button-prev {
  left:30px;
  right:auto;
}

#header-ticker span {
  text-wrap: nowrap;
}

.nav_separator {
  content: "";
  background:white;
  height:14px;
  width: 1px;
  opacity:0.4;
}

html {
  opacity: 0;
  animation: fadeIn 0.3s ease-in-out forwards;
}

.nav-main-button svg {
  vertical-align: -4px;
  margin-left: 13px;
}

.ticker-excerpt {
  max-width:40%;
  overflow:hidden;
}

@keyframes fadeIn {
  to {
      opacity: 1;
  }
}

@media (max-width: 1000px) {
  .ticker-excerpt {
    display: none;
  }
}

@media (max-width: 780px) {
  section:not(.no-bottom-padding, .mobile-no-bottom-padding) inner {
    padding-bottom: 80px;
  }

  header {
    position: fixed;
    background-color: var(--orange);
    height: 59px;
    top:0;
    overflow: visible;
  }

  header inner {
    padding-right:0;
  }

  .big-header-logo {
    display: none!important;
  }

  .header-padding {
    padding-top: 40px;
  }

  span.ticker-title,
  #header-ticker .swiper-button-next, #header-ticker .swiper-rtl .swiper-button-prev,
#header-ticker .swiper-button-prev, #header-ticker .swiper-rtl .swiper-button-next {
    display: none;
  }
  #header-ticker .swiper-container {
    padding-right: 0px;
  }

  /* Mobile logo smooth fade transition */
.mobile-logo {
  transition: opacity 3s ease-in-out;
}

.mobile-logo.mobile-logo-hidden {
  opacity: 0;
}

body.menu-toggle-active header .mobile-logo {
  margin-top: var(--gap-m);
  margin-right:var(--gap-xs);
}
}


/* FORM ELEMENTS */

.termscheck {
  color: white;
}

.termscheck a {
  text-decoration: underline;
}

select,.select2-selection--single, .select2-container--default .select2-selection--single, input[type="text"],input[type="email"],input[type="password"],input[type="tel"],input[type="url"],input[type="search"],input[type="number"], button[type="submit"], .button[type="submit"], .select2-container .select2-selection--single, textarea {
  height: var(--input-height)!important;
  line-height: calc(var(--font-s) + 4px);
  font-size: var(--font-m);
  font-weight: 300;
  appearance: unset;
  box-shadow: var(--shadow-s);
  padding: var(--gap-xs) var(--gap-s);
  border-radius: var(--radius-s);
  min-width: 160px;
  font-family: 'Philosof', sans-serif;
}

textarea {
  height: auto;
  min-height: 100px;
  max-height: 300px;
  resize: vertical;
}


.acf-field input[type=text], .acf-field input[type=password], .acf-field input[type=date], .acf-field input[type=datetime], .acf-field input[type=datetime-local], .acf-field input[type=email], .acf-field input[type=month], .acf-field input[type=number], .acf-field input[type=search], .acf-field input[type=tel], .acf-field input[type=time], .acf-field input[type=url], .acf-field input[type=week], .acf-field textarea, .acf-field select {
  font-size: var(--font-m)!important;
}

.lightbox-content .acf-form-submit input.acf-button.button.button-primary.button-large {
  width: 100%;
}

.lightbox-content input {
  text-align: center;
}


@media (max-width: 780px) {
  select, input[type="text"],input[type="email"],input[type="password"],input[type="tel"],input[type="url"],input[type="search"],input[type="number"], textarea {
    width: 100%;
  }
}

::-webkit-input-placeholder {
  color: var(--orange);
}

::placeholder {
  color: var(--gray);
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M9 1L5 5L1 1' stroke='%23161C2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat;
  background-position: left 0.9em top 54%, 0 0;
  background-size: 0.65em auto, 100%;
  background-color: white;
  cursor: pointer;
}

/* Adjusted gradient for buttons with angled gradients and predominant dark orange color */
button, .button {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, var(--light-orange) 30%, var(--dark-orange) 100%);
  background-size: 400% 400%;
  background-position: 100% 50%;
  padding: 10px 20px;
  border-radius: var(--radius-s);
  text-wrap: nowrap;
  min-width:fit-content;
  display: flex;
    gap: var(--gap-xs);
    justify-content: center;
    align-items: center;
  transition: all 0.2s ease-in-out;
}


button.big, .button.big {
  height: 62px;
}

button.small, .button.small {
  height: 32px;
  padding: 0 var(--gap-s) 3px var(--gap-s);
  font-size: var(--font-xs);
}

@media (max-width: 550px) {
  button.m-small, .button.m-small {
    padding: 0 var(--gap-s) 3px var(--gap-s);
    font-size: var(--font-xs);
  }
}

button.opacity, .button.opacity {
  opacity:0.8;
}

button.opacity:hover, .button.opacity:hover {
  opacity:1;
}

button:hover, .button:hover {
  background-position: 0% 50%;
}

button.dark, .button.dark {
  background: linear-gradient(135deg, var(--light-black) 30%, var(--black) 100%);
}

button.dark:hover, .button.dark:hover {
  color: white;
  box-shadow: inset 0 0 0px 2px white;
  background-color: transparent;
}

.button.light {
  color: var(--black);
  background:unset;
  background-color: white;
}


button.light:hover, .button.light:hover {
  box-shadow: inset 0 0 0px 2px white;
  background-color: transparent;
}

.button.green, button.green {
  background: linear-gradient(135deg, var(--green) 20%, var(--dark-green) 100%);
}

.button.red, button.red {
  background: linear-gradient(135deg, var(--dark-orange) 20%, var(--dark-red) 100%);
}

.button.red:hover, button.red:hover {
  background-color: var(--dark-red);
}

button.full-width, .button.full-width {
  width:100%;
}

/* .button.green:hover {
  background-color: var(--dark-green);
} */

/* Spark class with angle and animation */
  

@keyframes spark-animation {
  0%, 100% {
    background-position: 0% 25%;
  }
  50% {
    background-position: 100% 0%;
  }
}

@keyframes spark-hover-animation {
  0% {
    background-position: 0% 25%;
  }
  100% {
    background-position: 100% 0%;
  }
}

/* Example for using gradient with animation */
button.spark, .button.spark {
  background-size: 400% 400%;
  animation: spark-animation 2s infinite;
}

button:hover, button.spark:hover, .button:hover, .button.spark:hover {
  filter: brightness(1.1);
}

/* Flickering button */

/* Button Style */
button.flicker-button,
.button.flicker-button {
  background: var(--orange);
  color: white;
  transition: all 0.3s ease;
    animation: subtlePulse 2.6s infinite;
  box-shadow: inset 0 0 10px var(--dark-green);
}

button.disabled, .button.disabled, button.disabledLhover, .button.disabled:hover {
  opacity: 0.8;
  background: var(--gray)!important;
  cursor: default;
  pointer-events: none;
}

/* Continuous Subtle Glow Animation */
@keyframes subtlePulse {
  0% {
       box-shadow: inset 0 0 10px var(--dark-green);

    background: var(--green);
  }
  50% {
        box-shadow: inset 0 0 30px var(--light-orange);

    background: var(--dark-orange);
  }
  100% {
        box-shadow: inset 0 0 10px var(--dark-green);

    background: var(--green);
  }
}

/* BOX */

box, .box {
  background: white;
  position: relative;
  border-radius: var(--radius-s);
  min-height: 40px;
  width: 100%;
  padding: var(--gap-m);
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: var(--shadow-l);
}

box.no-border, .box.no-border {
  border:unset;
}

box.no-shadow, .box.no-shadow {
  box-shadow:unset;
}

.stripes {
  background-image: url('img/stripes.png'), url('img/stripes.webp');
  background-position: bottom right;
  background-size: 120%;
  background-repeat: no-repeat;
}


/* AVATAR STYLES */

avatar,
avatar-s,
avatar-m,
avatar-l,
avatar-xl {
  display: block;
  background-size: cover;
  background-color: var(--soft-background);
  border-radius: 8px;
}

avatar-s {
  height: 30px;
  width: 30px;
}

avatar {
  height: 73px;
  width: 73px;
}

avatar-l {
  height: 75px;
  width: 75px;
}

avatar-xl {
  height: 90px;
  width: 90px;
}

avatar-xl {
  height: 120px;
  width: 120px;
}

/* TAGS */

tag {
  color: var(--white);
  font-size: var(--font-xs);
  background-color: var(--dark-orange);
  padding: 5px 10px 5px 10px;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  z-index: 1;
}

/* Right angle */
tag:not(:first-child):not(.flat_start)::before {
  content: "";
  position: absolute;
  top: 0;
  right: -11px;
  width: 20px;
  height: 100%;
  background-color: inherit;
  clip-path: polygon(90% 0, 0 0, 0 100%, 50% 100%);
}

/* Left angle */
tag::after {
  content: "";
  position: absolute;
  top: 0;
  left: -19px;
  width: 20px;
  height: 100%;
  background-color: inherit;
  clip-path: polygon(90% 0, 100% 0, 100% 100%, 50% 100%);
}


tag.big {
  font-size: var(--font-xl);
  padding: 0px 14px 2px 14px;
  font-weight: 600;
}

.post-categories tag {
  margin-left:14px;
}

/* LIGHTBOX STYLES */

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #161c2d82;
  display: flex;
  visibility: hidden;
  pointer-events: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 2.5vh 0;
}

.lightbox-overlay.active {
  visibility: visible;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 95vh;
  visibility: hidden;
  position: absolute;
  pointer-events: none;
  overflow: auto;
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  /* Hide scrollbars while keeping scrolling functionality */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.lightbox-content::-webkit-scrollbar {
  display: none; /* WebKit browsers (Chrome, Safari, Edge) */
}

.lightbox-content .select2-container .select2-dropdown {
  z-index: 99999;
}

.lightbox-content.active {
  visibility: unset;
  position: relative;
  pointer-events: unset;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 95vh;
  border-radius: var(--radius-m);
  display: block;
  margin: auto;
}

.lightbox-close {
  position: absolute;
  top: 2%;
  right: 2%;
  cursor: pointer;
  color: white;
  font-size: 43px;
  font-weight: bold;
}

[lightbox-content] {
  cursor: pointer;
}


/* TABS */

.tabs-container {
  position: relative;
}

.tabs {
  display: flex;
  justify-content: space-between;
  padding: var(--gap-xs);
  position: relative;
  background-color: var(--soft-background);
  border-radius: var(--radius-m);
  margin-bottom: var(--gap-s);
  gap: var(--gap-s);
  box-shadow: inset var(--shadow-s);
}

.tab-button {
  padding: 10px 0;
  cursor: pointer;
  z-index: 1;
  position: relative;
  transition: all 0.3s ease-in-out;
  color: var(--black);
  height: var(--input-height);
  flex: 1;
  text-align: center;
  line-height: 27px;
  white-space: nowrap;
}

.tab-button.active {
  color: white;
}

.tabs-container .slider {
  position: absolute;
  top: var(--gap-xs);
  right: 0;
  background-color: orange;
  transition: right 0.5s ease, width 0.5s ease;
  z-index: 0;
}

@media (max-width: 780px) {
  .tabs {
    padding: var(--gap-xs) 4px;
    margin-bottom: var(--gap-xs);
    gap: var(--gap-xs);
  }

  .tabs[tabs-count="5"],
  .tabs[tabs-count="6"],
  .tabs[tabs-count="7"] {
    gap:0;
  }

  .tab-button {
    padding: 10px 0;
    height: 34px;
    line-height: 13px;
    font-size: var(--font-s);
    font-weight: var(--font-w-500);
    letter-spacing: -0.2px;
  }

  .tabs[tabs-count="5"] .tab-button,
  .tabs[tabs-count="6"] .tab-button,
  .tabs[tabs-count="7"] .tab-button {
    font-size: var(--font-xs);
    letter-spacing:-0.7px;
  }


  .tabs-container .slider {
    top: 4px;
    height: 39px;
  }
}

.tab-content {
  display: none;
  padding: var(--gap-xs);
  transition: all 1.5s ease;
  overflow: hidden;
  max-height: 49px;
}

.tab-content.active {
  display: block;
  height: auto;
  max-height: 1999px;
}

/* ACF FIELD STYLES */

.acf-field .acf-label label {
  color: var(--orange);
  font-size: var(--font-s);
  margin-bottom: -5px !important;
  font-weight: var(--font-w-300) !important;
}

.acf-required {
  color: var(--dark-orange)!important;
}

.js-aiarc-upload-progress {
  background-color: white;
  z-index: 5;
  width: 100%;
  margin: auto;
  text-align: center;
}

form .acf-field p.description {
  display: block;
  margin-top: 6px;
  color: var(--gray);
  font-size: var(--font-xs);
}

/* SELECT2 STYLES */

li.select2-selection__choice {
  font-size: var(--font-xs);
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
  visibility: hidden;
  width: 0;
  height: 0;
  pointer-events: none;
}

.select2-container--default .select2-selection--multiple {
  border-radius: var(--radius-s);
}

.select2-dropdown .select2-results__option {
  margin-bottom: 0;
  font-size: var(--font-xs);
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: var(--soft-background) !important;
  color: var(--gray);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--orange) !important;
}

/* ACCORDION STYLES */

.accordion {
  border-radius: var(--radius-m);
  overflow: hidden;
  margin-bottom: var(--gap-m);
  padding: var(--gap-xs) var(--gap-m);
  background-color: white;
  position: relative;
}

.accordion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--green);
}

.accordion-item {
  border-bottom: 1px solid var(--light-gray);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-title {
  padding: var(--gap-s);
  cursor: pointer;
  font-size: var(--font-m);
  font-weight: var(--font-w-700);
  color: var(--black) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-title span {
  max-width: 89%;
}

@media (max-width: 780px) {
  .accordion {
    margin-bottom: var(--gap-s);
    padding: var(--gap-xs) var(--gap-xs);
  }

  .accordion-title {
    padding: 25px var(--gap-s);
    font-size: var(--font-m);
    line-height: calc(var(--font-m) + 3px);
  }
}

.accordion-title:hover, .accordion-title.active {
  color: var(--orange) !important;
}

.accordion-title::after {
  content: '';
  background-image: url('data:image/svg+xml;utf8,<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7 1L1 7L7 13" stroke="%23161C2D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.accordion-title.active::after {
  transform: rotate(-90deg);
}

.accordion-content {
  display: none;
  padding: 0px var(--gap-s) 40px var(--gap-m);
  font-size: var(--font-s);
  color: var (--dark-gray);
}

/* MESSAGES */

.confirmation-message, .error-message {
  font-size: var(--font-s);
}

.confirmation-message {
  color: var(--green);
}

.error-message {
  color: var(--dark-orange);
}

/* TYPEAHEAD */

input.tt-input.drop-down-open {
  border-bottom: 0;
  border-radius: var(--radius-s) var(--radius-s) 0px 0px;
}

.tt-menu {
  border: 1px solid var(--gray);
  border-radius: 0px 0px var(--radius-s) var(--radius-s);
  border-top: none;
  width: 100%;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.83);
  backdrop-filter: blur(2px);
}

.tt-suggestion {
  padding: var(--gap-xs) var(--gap-m);
  white-space: nowrap;
  font-size: var(--font-s);
  text-indent: 11px;
}

.tt-suggestion.tt-cursor {
  background-color: var(--soft-background);
}

/* NOTIFICATION */

.notification {
  position: relative;
  background-color: var(--soft-background);
  border-radius: var(--radius-s);
  font-size: var(--font-xs);
  padding: var(--gap-xs) var(--gap-s);
  overflow: hidden;
}

.notification::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 3px;
  background-color: var(--green);
}

/* COPY */

[copy] {
  cursor: pointer;
}



/* change autocomplet color */
.tt-hint, tt-highlight {
  color: var(--gray);
}

/* Hide autocomplete dropdown */
.tt-menu {
  /* display: none!important; */
}

.category-input {
  background: url('data:image/svg+xml;utf8,%3Csvg width="11" height="18" viewBox="0 0 11 14" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M5.33333 0C2.71184 0 0 1.97836 0 5.28889C0 8.79978 4.90259 13.702 5.11153 13.9088C5.1702 13.9673 5.2502 14 5.33333 14C5.41647 14 5.49647 13.9673 5.55514 13.9088C5.76408 13.702 10.6667 8.79978 10.6667 5.28889C10.6667 1.97836 7.95482 0 5.33333 0ZM5.33548 7.15557C4.29736 7.15557 3.45312 6.31837 3.45312 5.28891C3.45312 4.25944 4.29736 3.42224 5.33548 3.42224C6.3736 3.42224 7.21783 4.25944 7.21783 5.28891C7.21783 6.31837 6.3736 7.15557 5.33548 7.15557Z" fill="%2368D585"/%3E%3C/svg%3E') no-repeat;
  background-position: right 1.3em top 53%, 0 0;
  background-size: 0.75em auto, 100%;
  text-indent: 35px;
  width:280px;
}

@media (max-width: 780px) {
.category-input {
  width:100%;
}
}

.category-input::placeholder {
  color:var(--black);
}

.category-input:focus::placeholder {
  color:var(--gray);
}
.ajax-done {
  filter:blur(0px);
  opacity:1;
  transition: all 0.3s ease-in-out;
}

.ajax-loading {
  filter:blur(4px);
  opacity:0.6;
}

section.setcion-main-feed::before {
  content: "";
  width: 170px;
  height: 170px;
  position: absolute;
  top: 840px;
  right: -100px;
  border-radius: 33px;
  border: 9px solid var(--green);
  transform: rotate(-10deg);
}


.view-toggle .switch {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 37px;
}

.view-toggle .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.view-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--light-gray);
  transition: .4s;
  border-radius: 34px;
  box-shadow: inset 0 0 6px #3a2fd01c;
}

.view-toggle .slider:before {
  position: absolute;
  content: "";
  height: 28px;
  width: 28px;
  left: 5px;
  bottom: 5px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 0 6px #1f18832b;
}

.view-toggle input:checked + .slider:before {
  transform: translateX(26px);
}

.view-toggle .slider svg {
  position: absolute;
  top: 8px;
  width: 20px;
  height: 20px;
  transition: .4s;
}

.view-toggle .slider svg:first-child {
  left: 9px;
}

.view-toggle .slider svg:last-child {
  right: 9px;
}

.view-toggle input:checked + .slider svg:first-child, .view-toggle input:not(:checked) + .slider svg:last-child {
  opacity: 0.2;
}

.view-toggle input:not(:checked) + .slider svg:first-child, .view-toggle input:checked + .slider svg:last-child {
  color: var(--orange);
}



/* NAVIGATION STYLES */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin-left: var(--gap-m);
  margin-top: -6px;
}

nav ul li a {
  font-size: var(--font-s);
  font-weight: 400;
  cursor: pointer;
}

nav ul li a:not(.button, nav#mobile-nav a):hover {
  color: var(--orange);
}

nav#mobile-nav ul li a:not(.button) {
  position: relative;
}

nav#mobile-nav ul li a:not(.button)::after {
  position: absolute;
  bottom:-6px;
  left:0;
  width: 100%;
  height: 4px;
  content: '';
  border-bottom: 2px dashed var(--orange);
  transform: scaleX(0);
  transition: all 0.2s ease;
  opacity: 0;
}

nav#mobile-nav ul li a:not(.button):hover::after {
  opacity: 1;
  transform: scaleX(1);
}

sub-header nav ul li a {
  font-size: var(--font-xs);
}

@media (max-width: 780px) {

body.menu-toggle-active header .mobile-logo {
  margin-top: var(--gap-m);
  margin-right:var(--gap-xs);
}


  header .mobile-logo img {
    filter: brightness(0.6);
    margin-right:var(--gap-xs);
  }
  
body.sticky-header .sub-header-logo img {
  opacity:0;
  width:0;
  margin-right:0;
}

header.sticky {
  border-bottom: unset;
}

  header nav {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(110%);
    flex-direction: column;
    height: 100vh;
    width: 317px;
    max-width: 93%;
    background-color: var(--orange);
    box-shadow: -3px 0 19px #0000004a;
    padding-top: 80px;
    transition: all 0.2s ease-in-out;
    align-items: start;
    padding-right: var(--gap-m);
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
  }

  header nav::-webkit-scrollbar {
    display: none; /* WebKit */
  }

  header nav.active {
    transform: translateX(0);
  }

  /* Prevent body scroll when mobile nav is active and redirect scroll to mobile nav */
  body.menu-toggle-active {
    position: fixed !important;
    width: 100% !important;
    overflow: hidden !important;
    left: 0 !important;
    /* top will be set dynamically by JavaScript to preserve scroll position */
  }

  .nav_separator, .sub-header-logo {
    display: none;
  }

  header nav ul {
    flex-direction: column;
    align-items: start !important;
    gap: var(--gap-s);
  }



}

@media (max-width: 650px) {
  sub-header {
    display: none;
  }
  #header-ticker {
    top: 58px;

}
}

/* TOGGLE MENU */
.menu-toggle {
    margin-right: auto;
    z-index: 10;
    cursor: pointer;
    border-radius: 99px;
    padding: 9px;
    height: 42px;
    width: 42px;
    justify-content: center;
    align-items: center;
    background: var(--orange);
}

.menu-toggle svg {
    margin-right: -6px;
}

.menu-toggle .line {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active .line1 {
  transform: translateY(-1px) translateX(6px) rotate(45deg);
}

.menu-toggle.active .line2 {
  opacity: 0;
}

.menu-toggle.active .line3 {
  transform: translateY(9px) translateX(-11px) rotate(-45deg);
}

/* MENU TOGGLE ACTIVE STATES */
.menu-toggle.active {
  background-color: var(--lighter-black);
}

.menu-toggle.active svg path {
  fill: var(--orange);
}

/* HERO SECTION STYLES */

.hero .title {
  font-size: 24px;
  color: var(--black);
}

.hero .subtitle {
  font-size: 16px;
  color: var(--gray);
}

/* SEARCH FORM STYLES */

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.home .search-form select {
  width: 240px;
}

.search-button {
  background-color: var(--orange);
  color: white;
  border: none;
  cursor: pointer;
}

.search-button:hover {
  background-color: var(--dark-orange);
}




/* Add any necessary styles for the footer here if not using inline styles */
#site-footer inner {
  display: flex;
  flex-wrap: wrap;
}

#site-footer .footer-column {
  flex: 1;
  margin: 0 10px;
}

@media (max-width: 550px) {
  #site-footer .footer-column:first-child { 
    min-width:100%;
  }
  #site-footer .footer-column:not(:first-child) {
    min-width:40%;
  }
}

#site-footer .footer-column img {
  max-width: 100%;
  height: auto;
}

#site-footer .footer-column p {
  margin: 10px 0;
}


#site-footer .footer-column .social-icons {
  display: flex;
  gap: var(--gap-m);
}

#site-footer .footer-column .social-icons a img {
  width: 24px;
  height: 24px;
}

#site-footer .footer-column h3 {
  font-size: var(--font-m);
  font-weight: var(--font-w-700);
  color:var(--gray);
}

#site-footer .footer-column ul {
  list-style: none;
  padding: 0;
}

#site-footer .footer-column ul li {
  margin-bottom: var(--gap-xs);
  padding-bottom: var(--gap-xs);
}

#site-footer .footer-column ul li:not(:first-of-type):not(:last-of-type) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#site-footer .footer-column ul li a {
  font-family: 'Philosof', sans-serif;
  font-size:var(--font-s);
  color: var(--lighter-black);
  text-decoration: none;
}

#site-footer .footer-column ul li a:hover {
  color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 550px) {
  #site-footer inner {
    flex-direction: column;
  }
  .post-feed .profile-box:nth-child(n+4) {
    display: none;
  }

}


/* Add any necessary styles for the step form here */

.stepFormContainer {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 140px;
  transition: height 0.3s ease-in-out;
}

.stepFormContainer .step {
  position: absolute;
  width: 100%;
  left: 100%;
  padding: 4px 9px;
}

.stepFormContainer .step fieldset {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  border: none;
  gap: 0px 5%;
  padding: 0;
}

.stepFormContainer .step field {
  width: 100%;
}

.stepFormContainer .step field > * {
  width: 100% !important;
}

.stepFormContainer .form_row {
  width: 100%;
  display: flex;
  gap: 0 5%;
}

.stepFormContainer .step field[columns="2"] {
  flex: 1;
}

.stepFormContainer .select2-selection__rendered {
  max-width: 335px;
}
.stepFormContainer .step:first-child {
  left: 0;
}

.stepFormButtons {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.stepFormButtons button,
.stepFormButtons input[type="submit"] {
  color: white;
  background-color: var(--orange);
  font-weight: 700;
  line-height: 23px;
  font-size: 17px;
  border-radius: 5px;
  text-transform: capitalize;
  padding: 11px 25px;
  border: 0;
  height: var(--input-height);
}

.stepFormButtons .back {
  background-color: #00C0BC;
  color: white;
}

.acf-switch.-on {
  background: var(--green) !important;
  border-color: var(--green) !important;
}

.acf-switch .acf-switch-on {
  text-shadow: var(--green) 0 1px 0 !important;
}

.acf-switch.-on .acf-switch-slider {
  border-color: var(--green) !important;
}


.range-slider {
  position: relative;
  width: 100%;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px !important;
  background: var(--light-gray);
  outline: none;
  opacity: 1;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
  border-radius: 9999px;
  box-shadow: inset 0 0 4px #161c2d3b;
  direction: ltr;
}

.acf-range-wrap .acf-prepend {
  width: 100%;
  text-align: center;
  text-indent: 196px;
  opacity: 1;
  margin-top: -5px !important;
}

input[type="range"]:hover {
  opacity: 1;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 21px;
  height: 21px;
  background: linear-gradient(to top, var(--dark-orange), var(--light-orange));;
  cursor: grab;
  border-radius: 9999px;
  opacity: 1;
}

input[type="range"]:hover::-webkit-slider-thumb {
  background: var(--dark-orange);
}

input[type="range"]::-moz-range-thumb {
  width: 21px;
  height: 21px;
  background: var(--green);
  cursor: grab;
  border-radius: 50%;
}

input[type="range"]:hover::-moz-range-thumb {
  background: var(--green);
}

.acf-range-wrap input[type="number"] {
  border: 0;
  text-align: center;
  margin-left: unset !important;
  left: 0;
  right: 0;
  position: absolute;
  padding-left: 4px;
  top: -35px;
  background: none;
  color: var(--orange);
  font-weight: 700;
  font-size: var(--font-m) !important;
  margin: auto!important;
}

.acf-icon.small,
.acf-icon.-small {
  width: 20px;
  height: 20px;
  line-height: 34px;
  font-size: 18px;
  left: 11px;
}

.acf-url i {
  line-height: 34px !important;
  font-size: 18px !important;
  left: 11px !important;
}

.brx-body .acf-url input[type="url"] {
  padding-left: 39px !important;
}

.acf-range-wrap {
  position: relative;
  padding-top: 7px;
}

ul.acf-radio-list:focus-within,
ul.acf-checkbox-list:focus-within {
  border: none !important;
}

.acf-table,
.acf-table tr,
.acf-table td,
.acf-repeater.-block>table,
.acf-repeater.-block>table tr,
.acf-repeater.-block>table td,
.acf-repeater.-block table tbody tr td,
.acf-repeater.-block table tbody tr,
.acf-repeater.-block table tbody,
.acf-repeater.-block table tbody tr td:first-of-type, .acf-repeater.-row>table>tbody>tr>td:first-of-type,
.acf-repeater.-block>table>tbody tr, .acf-repeater.-row>table>tbody>tr>td,
.acf-row-handle, .acf-repeater.-block>table>tbody>tr>td, .acf-repeater.-row>table>tbody>tr>td {
  border: none !important;
  border-bottom: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-width:0!important;
  border-left-width: 0!important;
  border-left-color:white;
  border-color:white!important;
  border:unset;
  background: white !important;
}

.form_row td.acf-fields {
  gap: var(--gap-s);
  display: flex;
  flex-wrap: wrap;
}

.acf-table > thead > tr > th:first-child,
.acf-table thead {
  display: none;
}

.acf-repeater .acf-row:hover > .acf-row-handle .acf-icon.-plus {
  display: none;
}

.acf-repeater .acf-row-handle .acf-icon {
  margin-left: -13px !important;
  margin-top: -13px !important;
}

.acf-repeater .acf-row-handle.remove {
  background: #fff;
  border-left-color: #fff;
}

.acf-form-submit {
  display: flex;
}

/* Targeting the number input type */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  /* Making the spin buttons always visible */
  opacity: 1;
}

/* For non-WebKit browsers */
input[type="number"] {
  -moz-appearance: textfield;
}

.acf-google-map {
  border: none !important;
}

.acf-field-checkbox a {
  text-decoration: underline;
  color: #00c0bc;
}

/* Targeting all number input types */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 0.6;
}

label.acf-basic-uploader {
  height: 182px;
  border-radius: 4px;
  border: 2px dashed #ccc;
  cursor: pointer;
}

.acf-file-uploader {
  background: var(--soft-background);
  padding: var(--gap-s);
  border-radius: var(--radius-s);
}

.acf-file-uploader:hover {
  background: var(--light-gray);
}

label.acf-basic-uploader::before {
  content: "לחץ לבחירת קובץ תמונה";
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

label.acf-basic-uploader input {
  display: none;
}
a.acf-icon.-collapse {
  display: none !important;
}

.image-preview {
  position: absolute;
  top: 10px;
  left: 10px;
  pointer-events: none;
  width: 302px;
  height: 178px;
  overflow: hidden;
  border-radius: 4px;
}

.image-preview img {
  width: 100%;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: cover;
}

.acf-icon.small,
.acf-icon.-small {
  line-height: 16px;
}

.submit_wrap {
  position: relative;
}

.submit_wrap input[type="submit"] {
  position: relative;
  z-index: 5;
  transition: all 0.2s ease-in-out;
}

.is-valid .submit_wrap input[type="submit"],
.is-validating .submit_wrap input[type="submit"] {
  opacity: 0;
}

.submit_wrap .submit_loader {
  position: absolute;
  top: 0;
  left: 0;
  background: #FFE600;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.submit_wrap .submit_loader img {
  width: 28px;
  height: 28px;
}

span.acf-row-number {
  position: relative;
  visibility: hidden; /* Hide the original number content */
  width: 18px; /* Set the width of the container */
  height: 15px; /* Set the height of the container */
}

span.acf-row-number::before {
  content: url("img/Reorder_icon.png");
  position: absolute;
  visibility: visible; /* Show the image */
  right: -7px;
  top: 0;
  width: 18px; /* Set the width of the image */
  height: 15px; /* Set the height of the image */
}

.acf-notice {
  border-radius: 6px;
}

.desc_letters_count, .title_letters_count, .condition_letters_count {
  margin-top: -10px;
  font-size: 14px;
  margin-right: 5px;
  text-align: right;
  width: 100%;
  color: var(--gray);
}
.desc_letters_count.error, .title_letters_count.error, .condition_letters_count.error {
  color:var(--dark-orange);
}

.desc_letters_count {
  margin-top: -19px;
}

/* show minues button not only on hover */
.acf-icon.-minus:before {
  content: "\f460" !important;
}

.acf-image-uploader .image-wrap img {
  width: 800px;
  height: 162px;
  border-radius: 4px;
  object-fit: cover;
}

.acf-repeater .acf-row-handle .acf-icon {
  display: block;
}

/* Hide the default checkbox */
ul.acf-checkbox-list li label input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  z-index: -1;
}

ul.acf-radio-list li, ul.acf-checkbox-list li {
  font-size: inherit!important;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + label {
  font-size: var(--font-s);
}

ul.acf-checkbox-list li label,
input[type="checkbox"] + label {
  position: relative;
  cursor:pointer;
}

/* Add custom checkbox using ::before */
ul.acf-checkbox-list li label::before,
input[type="checkbox"] + label::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background-color: white;
  border: 1px solid var(--gray);
  border-radius: var(--radius-s);
  cursor: pointer;
  vertical-align: middle; /* Align with label text */
  margin-left: 10px;
}

ul.acf-checkbox-list li label::after, input[type="checkbox"] + label::after {
  opacity: 0;
  content: "✔️";
  position: absolute;
  font-size: 12px;
  top: 5px;
  right: 6px;
  color: var(--dark-orange);
}

/* When the checkbox is checked, fill it with color */
ul.acf-checkbox-list li label.selected::after,
input[type="checkbox"]:checked + label::after {
  opacity: 1;
}


[data-name="pro_certs"] .acf-image-uploader-aspect-ratio-crop .image-wrap img {
  max-height: 200px;
}

.acf-field.acf-field-image-aspect-ratio-crop
  .acf-image-uploader-aspect-ratio-crop
  .image-wrap
  img {
  border-radius: 8px;
}

.cropper-point {
  background-color: var(--orange) !important;
}

.cropper-view-box {
  outline: 1px solid var(--green) !important;
  outline-color: rgb(0 192 188 / 75%) !important;
}

a.acf-icon.-duplicate.small.acf-js-tooltip.show-on-shift,
a.acf-icon.-plus.small.acf-js-tooltip.hide-on-shift {
  display: none;
}

.acf-image-aspect-ratio-crop-modal-wrapper {
  position: relative;
  width: 700px;
  max-width: 95% !important;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 2px solid white;
  box-shadow: 0px 5px 17px -2px #041e1d3b;
}

.acf-image-aspect-ratio-crop-modal .acf-image-aspect-ratio-crop-modal-heading {
  position: absolute !important;
  top: 0;
  right: 0;
  z-index: 99;
  background-color: unset !important;
}


.acf-image-aspect-ratio-crop-modal-footer
  .js-acf-image-aspect-ratio-crop-cancel,
.js-acf-image-aspect-ratio-crop-reset {
  display: none !important;
}

.acf-image-aspect-ratio-crop-modal .acf-image-aspect-ratio-crop-modal-footer {
  position: absolute !important;
  bottom: 0;
  right: 0;
  background-color: unset !important;
  padding-left: 0;
  padding-right: 10px;
}

.acf-image-aspect-ratio-crop-modal-heading-text {
  display: none;
}

.acf-image-aspect-ratio-crop-modal
  .acf-image-aspect-ratio-crop-modal-heading-close
  svg
  path {
  fill: white;
}

.acf-image-aspect-ratio-crop-modal
  .acf-image-aspect-ratio-crop-modal-heading-close
  svg {
  width: 30px;
  height: 30px;
}

.acf-image-aspect-ratio-crop-modal .acf-image-aspect-ratio-crop-modal-heading-close {
  right: var(--gap-xs)!important;
  top: var(--gap-xs);
}

.acf-image-aspect-ratio-crop-modal .acf-image-aspect-ratio-crop-modal-footer {
  height: unset !important;
  margin-bottom: 10px;
}

.acf-image-aspect-ratio-crop-backdrop {
  background-color: rgb(0 0 0 / 45%) !important;
}

.js-acf-image-aspect-ratio-crop-crop {
  background: var(--orange) !important;
  color: #ffffff !important;
  border: none !important;
  font-size: var(--font-s)!important;
  border-radius: var(--radius-s)!important;
}

.acf-image-aspect-ratio-crop-modal .cropper-point {
  border-radius: 1px !important;
}

.cropper-dashed {
  border: 0 dashed #eeeeee36 !important;
}

.acf-image-aspect-ratio-crop-modal
  .acf-image-aspect-ratio-crop-modal-image-container {
  padding: 10px 0px;
  background: black;
}

.acf-image-uploader-aspect-ratio-crop input.aiarc-upload.js-aiarc-upload {
  border: 2px dashed #cccccc;
  height: 198px;
  width: 100%;
}

.acf-field .acf-notice.-error {
  background: var(--dark-orange)!important;
  color: white!important;
  border-right: 3px solid #b74641;
  border-left:unset!important;
}

.count_error {
  color: var(--dark-orange);
}

.acf-image-uploader-aspect-ratio-crop .hide-if-value {
  border: 2px dashed var(--light-gray);
  height: 198px;
  width: 100%;
  border-radius: 8px;
  text-align: center;
  color: var(--orange);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acf-field.acf-field-image-aspect-ratio-crop .acf-image-uploader-aspect-ratio-crop {
  display: flex;
  justify-content: center;
}

.acf-image-uploader-aspect-ratio-crop .hide-if-value input {
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.acf-image-uploader-aspect-ratio-crop .hide-if-value::before {
  content: "לחץ לבחירת קובץ";
  display: block;
  position: absolute;
  color: var(--dark-orange);
}

.acf-image-aspect-ratio-crop-modal-loading-text {
  color: white !important;
}
.acf-image-aspect-ratio-crop-modal
  .acf-image-aspect-ratio-crop-modal-footer
  button {
  margin-left: 0 !important;
}

[data-name="pro_cert_title"] {
  min-width:380px;
}

body.acf-keydown-shift .acf-repeater .acf-row:hover > .acf-row-handle .acf-icon.show-on-shift {
  display:none!important;
}

.acf-switch span {
  margin-right: 11px;
}

.alert {
  background-color: var(--soft-background);
  display: inline-block;
  padding: var(--gap-xs) var(--gap-m);
  border-radius: var(--radius-s);
  border-right: 3px solid var(--green);
  color: var(--orange);
  margin-bottom: var (--gap-m);
}

#signin-signup-pop #loginform {
  display: flex;
  flex-direction: column;
  gap: var(--gap-s);
}

.acfe-form .acf-form-fields {
  display: flex;
  flex-direction: column;
  gap: var (--gap-s);
}

.acfe-form .acf-field {
  border-top: unset!important;
  padding: unset!important;
  border-left: unset!important;
  border-right: unset!important;
}

.form_row {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  align-content: stretch;
  align-items: stretch;
  gap:var(--gap-s);
}

.acf-repeater > table {
  border-collapse: separate;
  border-spacing: 10px 14px;
}

.acf-repeater > .acf-actions .acf-button {
  float: right;
  pointer-events: auto !important;
  height: 39px;
  padding: 7px 14px;
  background: var(--dark-green);
}

.acf-repeater > .acf-actions .acf-button::before {
  content: '+ ';
}


@media (max-width: 780px) {
  .form_row {
flex-direction: column;
  }
}

.form_row .acf-field {
  /* width: 100%!important;
  float: unset!important; */
  flex: 1;
  margin: unset;
  text-align:right;
}

.form_row .acf-field[data-name="intern_excpereience_item_content"] {
  width: 100%;
  flex-basis: auto;

}

.acf-field input[type=text], .acf-field input[type=password], .acf-field input[type=date], .acf-field input[type=datetime], .acf-field input[type=datetime-local], .acf-field input[type=email], .acf-field input[type=month], .acf-field input[type=number], .acf-field input[type=search], .acf-field input[type=tel], .acf-field input[type=time], .acf-field input[type=url], .acf-field input[type=week], .acf-field textarea, .acf-field select {
  padding: 10px 20px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: 1px solid var(--gray);
}

.acf-form-submit .acf-spinner {
  margin-top: 11px;
  margin-right: 17px;
}

h3.check {
  font-weight: 300;
}

.check::before {
  content: '';
  display: inline-block;
  background-image: <?= svg_icon('check', css: true); ?>;
  margin-left: 13px;
  height: 30px;
  width: 30px;
  vertical-align: middle;
}


.post-box .post-categories a {
  white-space: nowrap;
}

/* star rating */
.rating-active-star path {
  fill: var(--green);
}

.rating-disabled-star path {
  fill: var(--gray);
  opacity: 0.5;
}

.profile-box, .profile-box * {
  transition: all 0.2s ease-in-out;
}

.profile-box data {
  display: block;
  flex: 1;
  padding: 10px 20px;
}

.profile-box .total-score * {
  text-wrap-mode: nowrap;
}

#posts-feed .profile-box {
  min-height: 100%;
  justify-content: space-between;
}

exprties {
  position: relative;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  max-width: 300px;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

exprties::-webkit-scrollbar {
  display: none;
}

exprties::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 100%;
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 1;
}

.profile-box.dark {
  box-shadow: none;
  background-color: var(--soft-background);
}

.profile-box.dark bottom {
  background-color: white;
  /* border:1px solid var(--light-gray)!important; */
}

.profile-box.small {
  padding: var(--gap-xs);
}

.profile-box.featured {
  border: 1px solid var(--orange);
  overflow: visible;
}

.profile-box.featured .featured_stamp {
  position: absolute;
  top: -50px;
  right: -58px;
  width: 98px;
  height: 70px;
  object-fit: contain;
  max-width: unset;
}

.profile-box.small.featured .featured_stamp {
  width: 60px;
  height: 42px;
  right: -19px;
  top: -22px;
}

.profile-box .basic-info {
  padding-right: var(--gap-xs);
}

.profile-box bottom {
  margin-bottom: var(--gap-s);
}
.profile-box bottom-top {
  border-bottom:1px solid;
  border-right:unset;
  border-left:unset;
  border-top:unset;
}

.profile-box .link-icon{
  top: 16px;
  left:20px;
}



@media (min-width: 781px) {

  .profile-box.wide {
    max-width: 1060px;
    margin:auto;
    flex-direction: row;
    align-items: center;
  }

  .profile-box.wide .link-icon{
    top: 10px;
    left:17px;
  }
  
  .profile-box.wide .basic-info {
    min-width: 28%;
    padding-right: unset;
  }
  .profile-box.wide bottom {
    display: flex;
    max-width: 49%;
    min-width: 49%;
    overflow:hidden;
    margin-bottom:unset;
  }
  .profile-box.wide bottom-top {
    border-left: 1px solid;
    border-bottom:unset;
    border-top:unset;
  }

  .profile-box.wide bottom-top {
    width: 135px;
  }


  .profile-box.wide bottom-bottom {
    max-width: 42%;
    min-width: 42%;
  }

  .profile-box.wide bottom-top data {
    width: 135px;
  }
  .profile-box.wide button {
    width: 135px;
    margin-right:auto;
  }

}


.grow-shrink {
  display: inline-block;
  animation: growShrink 4s infinite ease-in-out;
}

.scroll-rotate {
  transition: all 0.1s ease-out;
}

nav.navigation.pagination {
  justify-content: center;
  padding: 0 var(--gap-m) var(--gap-xl) var(--gap-m);
}

nav.navigation.pagination .nav-links {
  display: flex;
  gap: var(--gap-m);
  background-color: white;
  border: 1px solid var(--light-gray);
  border-radius: 9999px;
  padding: var(--gap-xs) var(--gap-m) 9px var(--gap-m);
  box-shadow: var(--shadow-l);
}

span.page-numbers.current, nav.navigation.pagination .nav-links a:hover {
  color: var(--light-orange);
}

.the_content img {
  border-radius: var(--radius-xs);
}

.the_content h2, .the_content .h2, .the_content h2 strong {
  font-size: var(--font-l);
}

[tooltip] {
  cursor: help;
}

[lightbox-type] {
  cursor: pointer;
}

slider {
 position: relative;
 overflow: hidden;
 direction: ltr;
 display:block;
}

slides {
 display: flex;
 transition: transform 0.5s ease;
 height:100%;
}

slide {
 min-width: 100%;
 min-height: 100%;
 flex: 0 0 auto;
 text-align: center;
 display:flex;
 flex-direction: column;
 justify-content:center;
 align-items:center;
}

slide * {
  direction:rtl;
}

slider .left-arrow,
slider .right-arrow,
.swiper .left-arrow,
.swiper .right-arrow {
 position: absolute;
 top: 50%;
 transform: scale(1.2) translateY(-50%);
 cursor: pointer;
 border: none;
 padding: 20px;
 background:unset;
 transition: all 0.2s ease-out;
 z-index:20;
}

slider .left-arrow:hover,
slider .right-arrow:hover,
.swiper .left-arrow:hover,
.swiper .right-arrow:hover {
 transform: scale(1.3) translateY(-50%);
}

slider .left-arrow,
.swiper .left-arrow {
 left: 10px;
}

slider .right-arrow,
.swiper .right-arrow {
 right: 10px;
} 

.section-404 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  background-size: cover;
  background-position: center;
}

.error-title {
  font-size: var(--font-xl);
  color: var(--black);
  margin-bottom: var(--gap-m);
}

.error-message {
  font-size: var(--font-m);
  color: var(--gray);
  margin-bottom: var(--gap-m);
}
 

#accessibility-icon {
  position: fixed;
  z-index: 1001;
  bottom: 20px;
  left: 20px;
  color: var(--lighter-black);
  background-color: var(--orange);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#accessibility-icon:hover {
  position: fixed;
  z-index: 1001;
  bottom: 20px;
  left: 20px;
  background-color: var(--dark-orange);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-m);
}

/* WhatsApp Floating Button */
#whatsapp-float {
  position: fixed;
  z-index: 1001;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

#whatsapp-float:hover {
  background-color: #20c157;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

#whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: white;
  text-decoration: none;
}

#whatsapp-float svg {
  width: 28px;
  height: 28px;
}

#accessibility-toolbar {
  position: fixed;
  z-index: 1000;
  bottom: 70px;
  left: 20px;
  background: white;
  border: 1px solid var(--orange);
  padding: 0px;
  border-radius: var(--radius-m);
  display: flex;
  flex-direction: column;
  gap: var(--gap-s);
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  max-height: 0px;
  opacity: 0;
}

#accessibility-toolbar.active {
  padding: var(--gap-s);
  max-height: 400px;
  opacity: 1;
}

#accessibility-toolbar button {
  min-width: 180px;
}

.hc *:not(svg):not(#accessibility-icon):not(avatar):not(avatar-s):not(avatar-m):not(avatar-l):not(avatar-xl) {
  color: #fff !important;
  border-color: white !important;
}

.hc *:not(span):not(svg):not(#accessibility-icon):not(avatar):not(avatar-s):not(avatar-m):not(avatar-l):not(avatar-xl) {
  background-color: #000 !important;
  background-image: none;
}

.hc .button {
  background-color: #000 !important;
  background-image: none;
}

.hc .button:hover {
  filter: invert(1);
}

.hc img,
.hc avatar,
.hc avatar-s,
.hc avatar-m,
.hc avatar-l,
.hc avatar-xl,
.hc .post-thumbnail {
  filter: grayscale(1);
}

.hc box,
.hc .box,
.hc button,
.hc .button,
.hc tag {
  border: 1px solid;
}

.hc section {
  border-bottom: 1px solid;
}

.hc exprties::before,
.hc .accordion::before {
  display: none;
}

.hc .logo,
.hc svg,
.hc .social-icons img {
  filter: grayscale(1) brightness(9.5);
}

.hc a {
  color: #fd0 !important;
}


/* Posts */

.aligncenter { /* Wordpress Editor aglinment */
  text-align: center;
}

figcaption.wp-caption-text {
  font-size: var(--font-s);
  color: var(--dark-gray);
}




#main-content .the_content h2:not(:first-of-type) {
  margin-top: var(--gap-l);
}
}

#main-content .the_content h2 {
  margin-bottom: var(--gap-s);
}

#main-content .the_content a:not(.button, .profile-box, .post-box a) {
  color: var(--light-blue);
  text-decoration: underline;
}


/* Posts tables */
#main-content .the_content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--white);
  margin: var(--gap-m) 0;
  overflow: hidden;
  box-shadow:var(--shadow-l);
  border: 7px solid white;
}

#main-content .the_content table, #main-content .the_content table * {
  transition: all 0.4s ease-in-out;
}

#main-content .the_content table thead {
  box-shadow: 0 3px 10px -5px rgba(22, 28, 45, 0.7);
  background: linear-gradient(to right, var(--orange), var(--dark-orange));
  position: relative;
  z-index: 1;
}

#main-content .the_content th,
#main-content .the_content td {
  padding: var(--gap-s);
  text-align: right;
  font-size: var(--font-s);
  color: var(--black);
}

#main-content .the_content td:first-child {
  font-weight: 500;
}

#main-content .the_content th {
  color: var(--black);
  font-weight: 500 !important;
  letter-spacing: 0.03em;
  padding: calc(var(--gap-s) + 2px) var(--gap-s);
  position: relative;
 background: transparent;
}

#main-content .the_content td {
  background-color: var(--white);
}

#main-content .the_content tr:nth-child(even) td {
  background-color: var(--soft-background);
}

#main-content .the_content tr:last-child td {
  border-bottom: none;
}

#main-content .the_content tr:hover td {
  background-color: rgba(255, 205, 9, 0.05);
  color: var(--dark-orange);
}

#main-content .the_content th:first-child {
  border-top-right-radius: var(--radius-s);
}

#main-content .the_content th:last-child {
  border-top-left-radius: var(--radius-s);
}

#main-content .the_content td a {
  color: var(--light-blue);
  font-weight: var(--font-w-500);
  text-decoration: none;
  transition: color 0.2s ease, border-bottom 0.2s ease;
  border-bottom: 1px solid transparent;
}

#main-content .the_content td a:hover {
  color: var(--dark-orange);
  border-bottom: 1px solid var(--dark-orange);
}

#main-content .the_content table caption {
  font-size: var(--font-m);
  font-weight: var(--font-w-700);
  color: var(--black);
  margin-bottom: var(--gap-m);
  text-align: right; 
  caption-side: top;
}



/* Handle smaller screens with media queries */
@media screen and (max-width: 768px) {
  /* Make the table container scrollable */
  #main-content .the_content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
  }
  
  #main-content .the_content table th,
  #main-content .the_content table td {
    font-size: 0.875rem;
    padding: 8px;
  }
  
  /* Add spacing for better usability on small screens */
  #main-content .the_content table th,
  #main-content .the_content table td {
    padding: 8px 12px;
    word-wrap: break-word;
    word-break: break-word;
    min-width: 120px;
  }
  
  #main-content .the_content table caption {
    font-size: var(--font-s);
    padding: 0 var(--gap-xs);
  }
}

/* Add some additional styling for better UI */
#main-content .the_content table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}

@keyframes growShrink {
  0%, 100% {
    transform: scale(0.95);
    filter: blur(1.8px);
    opacity:0.8;
  }
  50% {
    transform: scale(1);
    filter: blur(0);
    opacity:1;
  }
}


.afik_polygon {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 0;
  left: 0;
}

.afik_polygon::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 70px;
  height: 70px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--dark-orange) 100%);
  clip-path: var(--afik-polygon);
}

.afik_polygon_shadow {
  filter:blur(6px);
  opacity: 0.6;
}

.afik_polygon_shadow::after {
  content: "";
  position: absolute;
  top: 15px;
  left: -2px;
  width: 90px;
  height: 75px;
  background: var(--lighter-black);
  clip-path: var(--afik-polygon);
}

@keyframes wave {

  0%,
  33.33%,
  100% {
    transform: translateY(0);
  }

  16.67% {
    transform: translateY(-10px);
  }
}

@keyframes slight-rotate {
  0% {
    transform: rotateZ(5deg) rotateY(5deg);
  }

  50% {
    transform: rotateZ(-5deg) rotateY(-28deg);
  }

  100% {
    transform: rotateZ(5deg) rotateY(5deg);
  }
}

@keyframes slight-rotate-reverse {
  0% {
    transform: rotateZ(-5deg) rotateY(-5deg);
  }

  50% {
    transform: rotateZ(5deg) rotateY(28deg);
  }

  100% {
    transform: rotateZ(-5deg) rotateY(-5deg);
  }
}

@keyframes shine {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes sprinkle {
  0% {
    transform: translateY(0) translateX(0) scale(0.5);
  }

  50% {
    transform: translateY(-30px) translateX(3px) scale(1);
  }

  100% {
    transform: translateY(0) translateX(0) scale(0.5);
  }
}

@keyframes sprinkle-b {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }

  50% {
    transform: translateY(80px) translateX(-23px) scale(0.5);
  }

  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
}

@keyframes sprinkle-c {
  0% {
    transform: translateY(0) translateX(0) scale(0.5);
  }

  50% {
    transform: translateY(-50px) translateX(10px) scale(1.2);
  }

  100% {
    transform: translateY(0) translateX(0) scale(0.5);
  }
}

@keyframes sprinkle-d {
  0% {
    transform: translateY(0) translateX(0) scale(0.8);
  }

  50% {
    transform: translateY(40px) translateX(-15px) scale(1.1);
  }

  100% {
    transform: translateY(0) translateX(0) scale(0.8);
  }
}

@keyframes sprinkle-e {
  0% {
    transform: translateY(0) translateX(0) scale(0.6);
  }

  50% {
    transform: translateY(-20px) translateX(5px) scale(1.3);
  }

  100% {
    transform: translateY(0) translateX(0) scale(0.6);
  }
}



.pagination {
  margin-top: var(--gap-l);
}

.pagination .nav-links {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: center;
}

.pagination .page-numbers {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  margin: 0;
  margin-left:9px;
  height: 30px;
  color: white;
  background-color: var(--dark-orange);
  text-decoration: none;
  z-index: 1;
  line-height: 20px; /* Fixes dots problem */
}

/* Left angle */
.pagination .page-numbers:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  right: -11px;
  width: 20px;
  height: 100%;
  background-color: inherit;
  clip-path: polygon(90% 0, 0 0, 0 100%, 50% 100%);
  z-index: -1;
}

/* Right angle */
.pagination .page-numbers::after {
  content: "";
  position: absolute;
  top: 0;
  left: -19px;
  width: 20px;
  height: 100%;
  background-color: inherit;
  clip-path: polygon(90% 0, 100% 0, 100% 100%, 50% 100%);
  z-index: -1;
}

.pagination .page-numbers.current {
  background-color: var(--lighter-black);
  color: white;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  background-color: var(--lighter-black);
  font-weight: var(--font-w-400);
}

.pagination .page-numbers:hover {
  background-color: var(--lighter-black);
}

@media (max-width: 550px) {
  .pagination .nav-links {
      flex-wrap: wrap;
      gap: var(--gap-xs);
  }
  
  .pagination .page-numbers {
      margin-bottom: var(--gap-xs);
  }
}

/* Logo angle effect */


.logo-angle {
  content: "";
  position: absolute;
  top: 0;
  right: -21px;
  width: 40px;
  height: 37px;
  background: linear-gradient(296deg, #a0a0a0, #1f1f1f);
  clip-path: polygon(0 0, 50% 0, 100% 100%, 0 100%);
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
  z-index: -1;
}

/* Fix for mobile responsiveness */
@media (max-width: 780px) {
  .logo-angle {
    left: -15px;
    width: 30px;
  }
  a.wp-link {
    top: 7px!important;
    left: 125px!important;
  }
}

div#the_content_main_content iframe {
    width: 100%;
    min-height: 456px;
}

@media (max-width: 680px) {
  div#the_content_main_content iframe {
    width: 100%;
    min-height: 286px;
  }
}

/* Temp fix for old afik posts */
#fluentform_1 {display:none!important}
