.portfolio_item {
  position: relative;
}

.ap-work-item__inner {
  position: relative;
}
.ap-work-item__img-link {
  padding-bottom: 76%;
  position: relative;
}
.ap-work-item__img-link img {
  display: block;
  width: 100% !important;
  height: calc(100% - 3px) !important;
  position: absolute;
  left: 0;
  right: 0;
  -o-object-fit: cover;
     object-fit: cover;
}
.ap-work-item_hidden .ap-work-item__img-link img {
  z-index: 0;
}
.ap-work-item_hidden .ap-work-item__img-link:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: url(/images/not-profi-thumb.png) no-repeat center center;
  background-size: cover;
  opacity: 0.5;
}

.ap-work-profiles {
  width: 100%;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  height: auto;
  max-height: 100%;
  position: relative;
  z-index: 9999;
  color: #ffffff;
  font-weight: 300;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}
.ap-work-profiles__body {
  display: none;
  padding-left: calc(5% - 12px);
  padding-right: 5%;
  width: 100%;
  -webkit-flex-basis: 0;
      -ms-flex-preferred-size: 0;
          flex-basis: 0;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  max-width: 100%;
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: rgba(0, 0, 0, 0.7);
}
.ap-work-profiles__toggle {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: 16%;
  min-width: 60px;
  max-width: 80px;
  outline: 0;
  cursor: pointer;
  border: 0;
  padding: 12px;
  background: rgba(0, 0, 0, 0.7);
  background-size: contain;
}

.ap-work-profiles-wrapper {
  position: absolute;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  max-height: 100%;
  overflow: hidden;
}
.ap-work-profiles-wrapper .ui-autocomplete {
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto;
  width: 100%;
  height: 100%;
  -webkit-flex-basis: 0;
      -ms-flex-preferred-size: 0;
          flex-basis: 0;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  max-height: 100%;
}
.ap-work-profiles-wrapper .ui-menu .ui-menu-item {
  padding: 3px 0.8em;
}
.ap-work-profiles-wrapper .ui-menu .ui-state-focus,
.ap-work-profiles-wrapper .ui-menu .ui-state-active {
  background: #777777;
  margin: 0;
}
.ap-work-profiles-wrapper.ap-work-profiles_active {
  bottom: 8px;
}
.ap-work-profiles-wrapper.ap-work-profiles_active .ap-work-profiles__body {
  display: block;
}

.specialist_portfolio .ap-work-item .ap-work-profiles__toggle img.ap-work-profiles__toggle-icon {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  -o-object-fit: unset !important;
     object-fit: unset !important;
  position: static !important;
}
.specialist_portfolio .ap-work-item .ap-work-profiles__toggle img.ap-work-profiles__toggle-icon:nth-child(2) {
  display: none !important;
}
.specialist_portfolio .ap-work-item__img-link {
  padding-bottom: 76%;
  position: relative;
  margin-bottom: 0 !important;
}
.specialist_portfolio .ap-work-item__img-link img {
  display: block;
  width: 100% !important;
  height: calc(100% - 3px) !important;
  position: absolute;
  left: 0;
  right: 0;
  -o-object-fit: cover;
     object-fit: cover;
}
.specialist_portfolio .ap-work-item .ap-work-profiles-wrapper.ap-work-profiles_active .ap-work-profiles__toggle img.ap-work-profiles__toggle-icon:nth-child(1) {
  display: none !important;
}
.specialist_portfolio .ap-work-item .ap-work-profiles-wrapper.ap-work-profiles_active .ap-work-profiles__toggle img.ap-work-profiles__toggle-icon:nth-child(2) {
  display: block !important;
}

.ap-work-profiles-list-form__checkbox {
  font-size: 12px;
  letter-spacing: 0.01em;
  position: relative;
  line-height: 1.2;
}
.ap-work-profiles-list-form__checkbox:not(:last-child) {
  margin-bottom: 5px;
}
.ap-work-profiles-list-form__checkbox label {
  display: block;
  padding-left: 22px;
  position: relative;
  margin: 0;
}
.ap-work-profiles-list-form__checkbox label:before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border: 1px solid #ffffff;
  position: absolute;
  left: 0;
}
.ap-work-profiles-list-form__checkbox input {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
  background-color: transparent;
  padding: 0;
  border: 0;
  opacity: 0;
  position: absolute;
  left: -1px;
  top: -1px;
}
.ap-work-profiles-list-form__checkbox input:checked + label:before {
  background: #fff;
  -webkit-box-shadow: inset 0 0 0 2px #464646;
          box-shadow: inset 0 0 0 2px #464646;
}

.ap-work-profiles-search-form {
  padding-left: 22px;
  margin-top: 3px;
}
.ap-work-profiles-search-form__body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
      -ms-flex-align: end;
          align-items: flex-end;
}
.ap-work-profiles-search-form__input {
  height: auto !important;
  margin-top: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: 206px !important;
  background: transparent !important;
  border: 0 none transparent !important;
  border-bottom: 1px solid #ffffff !important;
  padding: 0 !important;
}
.ap-work-profiles-search-form__submit {
  padding: 0 6px;
  display: block;
  outline: 0;
  cursor: pointer;
  border: 0;
  background: none;
  line-height: 1;
}