/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.4.1757688494
Updated: 2025-09-12 14:48:14

*/

/* ===== Filter Toggle Button ===== */
#matw-toggle-vacancies-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--e-global-color-primary);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  position: relative;
  transition: background 0.3s ease;
}

#matw-toggle-vacancies-filters:hover {
  background: #444;
}

#matw-toggle-vacancies-filters svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hide close icon by default */
#matw-toggle-vacancies-filters .matw-close-icon {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

/* When active, swap icons */
#matw-toggle-vacancies-filters.active .matw-filter-icon {
  opacity: 0;
  transform: scale(0.8);
}

#matw-toggle-vacancies-filters.active .matw-close-icon {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ===== Filter Panel (Mobile) ===== */
@media (max-width: 768px) {
  body .matw-vacature-filter {
    position: fixed;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: bottom 0.4s ease-in-out;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  }

  .matw-vacature-filter.active {
    bottom: 0;
  }

  body.matw-filter-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
  }
}

@media (max-width: 768px) {
  #matw-toggle-vacancies-filters {
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
}

#filters .accordion__title-text {
  font-weight: 600;
  color: var(--e-global-color-primary);
  font-size: 20px;
}

#search_block form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body #search_block input[name="search"] {
  border: 1px solid #bdbdbd !important;
  box-shadow: 0 0 0;
}

body .select2-container--default .select2-selection--single,
body #search_block .select2-container--default .select2-selection--single {
  border: 1px solid #bdbdbd !important;
  box-shadow: 0 0 0 !important;
}

#search_block {
  min-width: 100%;
  width: 100%;
  padding: 0;
  border: 0px;
  background: transparent;
  margin-bottom: 0px;
  margin-top: 0px;
}

/* Wrapper for each input/select with icon */
.ffc-input-wrapper {
  position: relative;
}

.ffc-input-wrapper i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 14px;
  pointer-events: none;
  z-index: 9;
}

.ffc-input-wrapper input,
.ffc-input-wrapper select {
  padding-left: 35px !important; /* space for icon */
  width: 100%;
  height: 42px;
  box-sizing: border-box;
}

/* Optional: nice style for select2 container to align with icon */
.ffc-input-wrapper .select2-container .select2-selection--single {
  padding-left: 35px !important;
  height: 42px;
  display: flex;
  align-items: center;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__clear {
  padding-left: 0;
}

#vacancies_list.grid .items_wrap .item .view_vacancy {
  width: calc(100% + 40px);
  margin-right: -20px;
  margin-left: -20px;
  margin-bottom: -20px;
}

#vacancies_list .items_wrap {
  gap: 30px;
}

#vacancies_list .items_wrap .item {
  transition: 0.2s;
  height: 100%;
}

#vacancies_list .item:hover {
  background-image: linear-gradient(
    90deg,
    var(--e-global-color-primary) 0%,
    var(--e-global-color-text) 100%
  );
  color: #fff;
}

#vacancies_list .item:hover .vacancy_criteria .label svg g path {
  fill: #fff !important;
}

#vacancies_list .item:hover .job_title,
#vacancies_list .items_wrap .item:hover .label {
  color: #fff;
}

#vacancies_list .items_wrap .item:hover .ffc-button {
  background-color: #fff !important;
  color: #183153;
}

#vacancies_list .items_wrap .item .vacancy_criteria {
  flex-wrap: nowrap;
}

#filters .checkbox_wrap label {
  padding: 7px 10px 7px 35px;
  border-radius: 4px;
  transition: 0.2s ease;
}

#filters .checkbox_wrap label:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

#filters .checkbox_wrap label:hover span.checkbox {
  border-color: var(--e-global-color-primary);
}

#filters .checkbox_wrap span.checkbox {
  left: 10px;
  top: 8px;
  background-color: #fff;
}

.accordion__item .accordion__title.accordion-active,
.accordion__item .accordion__title:hover {
  background: transparent;
}

.accordion__item .accordion__title.accordion-active .accordion__title-text,
.accordion__item .accordion__title:hover .accordion__title-text {
  transform: translate(0);
}

.accordion__item .accordion__content {
  padding: 0 0 20px 0;
}



.mt-section-content ul {
  list-style: none;
  padding-left: 0;
}

.mt-section-content ul li {
  position: relative;
  margin-bottom: 0.5em;
}

.mt-section-content ul li::before {
  content: "✔";
  position: absolute;
  left: -20px;
  top: 0;
  color: var(--e-global-color-primary);
  font-weight: bold;
}

.recruiter_wrap .photo_wrap {
  aspect-ratio: 0;
}

.recruiter_wrap .photo_wrap img {
  object-fit: cover;
  border-radius: 100%;
  max-width: 200px;
  height: 200px;
  margin: 0 auto;
}

.mt-apply a.mt-back-button {
  background-color: #f6f6f6;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1em;
  letter-spacing: -0.5px;
  color: var(--e-global-color-primary);
  padding: 15px 30px 15px 30px;
  border: 1px solid #000;
}

.mt-apply a.mt-back-button:hover {
  background-color: var(--ffc-button-hover-color);
  color: #000;
  border-color: var(--ffc-button-hover-color);
}

.enrollment_form {
  margin: 40px auto 60px auto;
}

.enrollment_form .ffc-text {
  text-align: center;
}

.enrollment_form .apply_vacancy_btn {
  background-image: linear-gradient(
    90deg,
    var(--e-global-color-primary) 0%,
    var(--e-global-color-text) 100%
  );
  text-transform: uppercase;
  border-radius: 0;
}

.enrollment_form h1 {
  margin: 0;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--e-global-color-primary);
  font-family: "Inter", sans-serif;
}
