body {
  margin: 0;
}
.filters {
  background: var(--element-bg);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  height: max-content;
}

.filter-group label {
  display: flex;
  flex-direction: row-reverse;
  width: 180px;
  font-weight: bold;
}

.vacancy {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--element-bg);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.vacancy_grid {
  display: flex;
  flex-direction: column;
}

.vacancy img {
  max-width: 100px;
  float: right;
  margin-left: 15px;
  border-radius: 4px;
}
.clear {
  clear: both;
}
input,
select {
  padding: 5px;
  border-radius: 4px;
}

.flex {
  display: grid;
  gap: 3%;
  grid-template-columns: 27% 70%;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .flex {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.checkbox-list {
  display: none;
  padding: 0 0 2rem 3.5rem;
}
input.input {
  align-items: center;
  background-color: var(--gray-color-3);
  border: 1px solid transparent;
  border-radius: 1.2rem;
  color: var(--text-2-color);
  cursor: pointer;
  display: flex;
  font-size: 1.6rem;
  font-weight: 400;
  height: 100%;
  letter-spacing: -0.24px;
  line-height: 2.4rem;
  padding: 1.6rem 5.6rem 1.6rem 2rem;
  transition: border-color 0.35s ease, color 0.35s ease,
    background-color 0.35s ease;
  width: 40%;
}

.accordion-header {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.6px;
  line-height: 2.6rem;
}

.checkbox-list.visible {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.checkbox-list label {
  display: block;
  font-weight: normal;
  width: auto;
}

h4 {
  font-size: 16px;
  /* color: #333; */
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-left: 0.5rem;
}

.accordion_item {
  display: flex;
  gap: 0.5rem;
}

.vacancy_tag_list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(2, auto);
  gap: 0.5rem;
  /* align-items: end; */
  /* flex-wrap: wrap; */
}



.vacancy_tag {
  padding: 0.8rem 1.2rem;
  border-radius: 1.2rem;
  background-color: #f1f4f9;
  color: #80889d;
}

#vacancies-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
  width: 100%;
}

.divider {
  width: 100%;
  height: 0.1px;
  border-bottom: 0.1px solid rgba(128, 136, 157, 0.251);
}

.divider_bef {
  position: relative;
}

.divider_bef::before {
  position: absolute;
  bottom: 0;
  right: 50%;
  content: "";
  width: 80%;
  height: 0.1px;
  transform: translateX(50%);
  border-bottom: 0.1px solid rgba(128, 136, 157, 0.251);
}

.vacancy_btn {
  padding: 0.5rem 0.75rem;
  background: #11519c;
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex_under_divider {
  padding: 1rem 0 0 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.main {
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 132rem;
  margin: 0 auto;
  font-family: Golos, Open Sans, Arial, sans-serif;
}

.vacancy_title {
  font-size: 1.2rem;
  font-weight: 600;
}

.employment-checkboxes {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 0.5rem;
}

div.toggle-description-btn {
  display: flex;
  width: 100%;
  justify-content: start;
  gap:2rem;
}

.reset_btn {
  background: none;
  border: none;
  outline: none;
  color: #11519c;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 3.2rem 0;
}

.search-input {
  align-items: center;
  background-color: var(--gray-color-3);
  border: 1px solid transparent;
  border-radius: 1.2rem;
  color: var(--text-2-color);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.4rem;
  padding: 1.6rem 5.6rem 1.6rem 2rem;
  transition: border-color 0.35s ease, color 0.35s ease,
    background-color 0.35s ease;
  width: 100%;
}

.search-input::placeholder {
  color: #666;
  opacity: 1;
}

.search-input:focus {
  outline: none;
  background-color: #e9ebef;
}

div.col123421.checkbox-list{
  flex-direction: row;
}

@media screen and (max-width: 768px) {
  .vacancy_tag_list{
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
  }
}

@media screen and (max-width: 1224px) {
  
  div.col123421.checkbox-list {
  flex-direction: column;
  width: 100%;
}
input.input{
  width: 90%;
}
}