.m-block {
  display: none;
}
.first-screen {
  margin-bottom: 60px;
}

.first-screen__img {
  max-width: 100%;
  min-height: 535px;
  background-size: cover;
  background-repeat: no-repeat;
}

.vacancy-search {
  background-color: #f7f7f7;
  border: 1px solid #f0f0f0;
  border-radius: 5px;
  padding: 35px 74px;
  margin-bottom: 80px;
}

.vacancy-search__form-line {
  display: flex;
  justify-content: space-between;
  height: 48px;
}

.vacancy-search__input {
  max-width: 936px;
  width: 100%;
  margin-right: 30px;
  border-radius: 5px;
}

.vacancy-search__btn {
  padding: 12px 40px;
  border: none;
  background-color: #6dab3c;
  border-radius: 5px;
  transition: all 0.4s;
}

.vacancy-search__btn:hover {
  background-color: #559624;
}

.vacancy-search__btn svg {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vacancy-search__form-line--top {
  margin-bottom: 20px;
}

.vacancy-search__select {
  border: none;
  outline: none;
  padding: 14px 19px;
  max-width: 520px;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none !important;
  background-image: url(/wp-content/themes/accounting/images/vacancy/down-arrow-select.svg);
  background-repeat: no-repeat;
  background-position: right 3% bottom 50%;
  border-radius: 5px;
  cursor: pointer;
}

.vacancy-list__item-wrapper {
  margin-bottom: 30px;
}

.vacancy-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 13px;
  border: 1px solid #f0f0f0;
  border-radius: 5px;
}

.vacancy-list__item:last-child {
  margin-bottom: 0px;
}

.vacancy-list__item-lside {
  max-width: 130px;
  width: 100%;
}

.vacancy-list__item-lside-inner {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.vacancy-list__item-lside-inner:last-child {
  margin-bottom: 0px;
}

.vacancy-list__item-lside-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.vacancy-list__item-lside-text {
  font-weight: 300;
  font-size: 14px;
  line-height: 19px;
  color: #1e73be;
}

.vacancy-list__item-middle {
  max-width: 661px;
  width: 100%;
}

.vacancy-list__item-middle-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #232d36;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -moz-box;
  -moz-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  box-orient: vertical;
}

.vacancy-list__item-middle-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #243182;
  margin-bottom: 10px;
}

.vacancy-list__item-rside__btn {
  background: #6dab3c;
  border-radius: 5px;
  font-size: 14px;
  line-height: 19px;
  padding: 10px 28px;
  text-transform: uppercase;
  color: #fff;
  transition: all 0.4s;
}

.vacancy-list__item-rside__btn:hover {
  color: #fff;
  background-color: #559624;
}

.btn-hidden-list {
  font-size: 16px;
  line-height: 22px;
  color: #000000;
  border: none;
  background-color: transparent;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

/* детальная стр вакансии */

.vacancy-detail__inner {
  display: flex;
  justify-content: space-between;
}

.vacancy-detail__lside {
  max-width: 802px;
  width: 100%;
  margin-right: 30px;
}

.vacancy-detail__rside {
  max-width: 243px;
  width: 100%;
}

.vacancy-detail__tag-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin-bottom: 60px;
}

.vacancy-detail__content h1,
.vacancy-detail__content h2,
.vacancy-detail__content h3,
.vacancy-detail__content h4,
.vacancy-detail__content h5,
.vacancy-detail__content h6 {
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  color: #232d36;
  margin: 15px 0;
}

.vacancy-detail__rside-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  color: #232d36;
  margin-bottom: 15px;
}

.vacancy-detail__rside-text {
  font-weight: 600;
  font-size: 30px;
  line-height: 37px;
  color: #1e73be;
  margin-bottom: 40px;
}

.vacancy-detail__btn {
  background-color: #51c6ee;
  border-radius: 4px;
  font-weight: normal;
  font-size: 14px;
  text-transform: uppercase;
  color: #ffffff;
  padding: 11px 17px;
  border: none;
  transition: background-color 0.2s ease 0s;
}

.vacancy-detail__btn:hover {
  background-color: #00a5df;
  color: #ffffff !important;
}

.vacancy-detail-form .form-wrap {
  background-color: #f7f7f7;
  border: 1px solid #f0f0f0;
  border-radius: 5px;
}

.vacancy-detail-form .wpcf7-form input.wpcf7-text,
.vacancy-detail-form .wpcf7-form textarea {
  border: 1px solid #f0f0f0;
}

.vacancy-detail-form__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vacancy-detail-form__line input {
  width: 550px !important;
}

.vacancy-detail-form__line-bottom {
  display: flex;
  align-items: center;
}

.popup-vacancy-detail {
  padding: 30px 0px;
  max-width: 420px;
  width: 100%;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #f7f7f7;
  text-align: center;
  z-index: -11000;
  opacity: 0;
  transition: all 0.2s linear;
}

.popup-vacancy-detail._active {
  z-index: 11000;
  opacity: 1;
}

.popup-vacancy-detail .wpcf7-form .form-wrap {
  border: none;
}

.popup-vacancy-detail input {
  width: 100% !important;
}

.popup-vacancy-detail input[type="file"] {
  margin-bottom: 15px;
}

.popup-vacancy-detail .vacancy-detail-form__line,
.popup-vacancy-detail .vacancy-detail-form__line-bottom {
  display: flex;
  flex-direction: column;
}

.popup-vacancy-detail__title {
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  color: #232d36;
}

.popup-overlay {
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  cursor: pointer;
}

.popup-overlay._active {
  display: block;
}

@media (max-width: 1299px) {
  .vacancy-search__select {
    max-width: 460px;
  }
  .m-block {
    display: none;
  }

  .vacancy-detail-form__line input {
    width: 460px !important;
  }
}

@media (max-width: 1199px) {
  .vacancy-search__select {
    max-width: 360px;
  }
  .m-block {
    display: none;
  }

  .vacancy-list__item-middle {
    margin-right: 30px;
    max-width: 590px;
  }

  .vacancy-detail-form__line input {
    width: 360px !important;
  }
}

@media (max-width: 991px) {
  .vacancy-search__select {
    max-width: 272px;
  }

  .vacancy-list__item {
    flex-direction: column;
  }

  .vacancy-list__item-lside,
  .vacancy-list__item-middle {
    margin-bottom: 15px;
    max-width: 100%;
    margin-right: 0px;
  }

  .vacancy-detail-form__line,
  .vacancy-detail-form__line-bottom {
    flex-direction: column;
  }

  .vacancy-detail-form input[type="text"],
  .vacancy-detail-form input[type="tel"],
  .vacancy-detail-form input[type="email"] {
    width: 400px !important;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .vacancy-detail-form input[type="file"] {
    margin-bottom: 15px;
  }
}

@media (max-width: 750px) {
  .vacancy-search__select {
    min-width: 272px;
    width: 100%;
    margin-bottom: 10px;
  }
  .pk-block {
    display: none;
  }
  .m-block {
    display: block;
  }

  .vacancy-search__form-line--top,
  .vacancy-search__form-line--bottom {
    flex-direction: column;
    height: auto;
    justify-content: center;
  }

  .vacancy-search__form {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
  }

  .vacancy-search__input {
    margin-right: 0px;
    min-width: 272px;
    margin-bottom: 10px;
  }

  .vacancy-search__btn svg {
    left: 0;
    top: 0;
    transform: translate(0, 0);
  }

  .popup-vacancy-detail .wpcf7-form .form-wrap {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 0px;
  }

  .vacancy-detail__inner {
    flex-direction: column;
  }

  .vacancy-detail__rside {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  .vacancy-detail-form input[type="text"],
  .vacancy-detail-form input[type="tel"],
  .vacancy-detail-form input[type="email"],
  .vacancy-detail-form input[type="file"] {
    width: 252px !important;
  }

  .vacancy-detail-form .wpcf7-form .form-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .vacancy-detail-form__inner span.wpcf7-not-valid-tip {
    position: relative !important;
    right: 0 !important;
    top: 0 !important;
    z-index: 10 !important;
  }
}
