.header__tagline,.title__text {
    font-size: 42px;
    font-weight: 700;
}

.header__tagline,.title__text_main {
    color: #fff;
    text-shadow: 1px 1px 1px hsla(0,0%,0%,.2);
}

.header__tagline,.headline_nav-item_main,.phone_main,.title__text_main {
    text-shadow: 1px 1px 1px hsla(0,0%,0%,.2);
}

body {
    font-family: "PT Sans",sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background-color: #f4f4f4;
}

.header_main {
    background-image: url(../images/header-background.jpg);
    background-color: transparent;
    background-size: cover;
    background-position: center;
    min-height: 260px;
}

.header__content {
    width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.header__tagline {
    margin-top: 62px;
}

.headline {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 33px;
}

.headline_main {
    margin-bottom: 0;
}

.headline_nav-item,.title__link {
    color: #000;
    text-decoration: none;
}

.title__logo {
    position: relative;
    top: 4px;
    margin-right: 5px;
}

.headline_nav {
    text-align: right;
}

.headline_nav-item {
    font-size: 18px;
    font-weight: 700;
    margin-right: 20px;
}

.headline_nav-item_main {
    color: #fff;
}

.phone {
    display: inline-block;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.phone_main {
    color: #fff;
}

.action-button,.vacancy-form__button {
    text-shadow: 0 1px 4px rgba(0,0,0,.25);
    text-decoration: none;
    cursor: pointer;
}

.search-form {
    display: flex;
    justify-content: center;
}

.search-form_main {
    margin: 23px auto 0;
    width: 600px;
    flex-wrap: wrap;
}

.search-form__specialty-input {
    border: 1px solid #bdbcbc;
    border-right: 1px solid #bcbcbc;
    border-radius: 5px 0 0 5px;
    width: 390px;
}

.search-form__city-input {
    border: 1px solid #bdbcbc;
    border-left: none;
    border-radius: 0 5px 5px 0;
    width: 210px;
}

.search-form__city-input,.search-form__specialty-input {
    box-sizing: border-box;
    font-size: 18px;
    line-height: 40px;
    height: 40px;
    padding: 8px 24px;
}

.search-form__city-input::placeholder,.search-form__specialty-input::placeholder {
    color: #666;
}

.search-form__search_main {
    margin-top: 17px;
}

.search-form__search {
    margin-left: 17px;
}

.action-button {
    padding: 0 27px;
    font-weight: 700;
    font-size: 22px;
    line-height: 40px;
    border: none;
    border-radius: 4px;
    background-color: #f14430;
    color: #fff;
    display: inline-block;
    height: 40px;
}

.action-button:disabled {
    filter: grayscale(1);
    opacity: .6;
    cursor: wait;
}

.action-button:active:enabled {
    position: relative;
    top: 1px;
}

.action-button_center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.action-button_add-resume {
    background-color: #F6E537;
    color: #2e3540;
    text-shadow: 0 1px 4px rgba(255,255,255,.25);
}

.new-vacancies {
    overflow: auto;
    background-color: #f7f7f7;
}

.new-vacancies__content {
    width: 900px;
    padding: 0 20px 50px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.new-vacancies__title {
    font-size: 32px;
    font-weight: 400;
    margin-top: 32px;
    text-align: center;
}

.new-vacancies__list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.new-vacancies__item {
    margin-bottom: 20px;
}

.vacancy-teaser {
    height: 100px;
    width: 425px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    background-color: #fff;
    border: 1px solid #d1d1d1;
    padding: 12px 16px;
    box-sizing: border-box;
    overflow: hidden;
}

.vacancy-teaser__link {
    color: #000;
    text-decoration: none;
}

.vacancy-teaser__link:visited {
    color: #000;
}

.vacancy-teaser__pic {
    max-width: 75px;
    max-height: 75px;
    width: auto;
    height: auto;
    margin-right: 16px;
}

.vacancy-teaser__org,.vacancy-teaser__salary,.vacancy-teaser__title {
    white-space: nowrap;
    width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vacancy-teaser__title {
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 4px;
}

.vacancy-teaser__org {
    font-size: 16px;
    color: #3f3f3f;
    margin: 0 0 6px;
}

.vacancy-teaser__salary {
    font-size: 16px;
    color: #006b17;
    margin: 0;
}

.content {
    flex: 1;
}

.content__content {
    width: 900px;
    margin: 0 auto;
    padding: 0 20px 70px;
    box-sizing: border-box;
}

.content__content_main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.content__p_em {
    font-size: 18px;
    margin-bottom: 50px;
}

.content__h2 {
    font-size: 24px;
    font-weight: 700;
}

.content-list {
    width: 45%;
    margin-right: 5%;
}

.content-list__title {
    font-size: 32px;
    font-weight: 400;
    margin: 10px 0 0;
}

.content-list__list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    column-count: 2;
}

.content-list__list_single {
    column-count: 1;
}

.content-list__item {
    margin-bottom: 10px;
}

.content-list__link {
    font-size: 18px;
    color: #243ec0;
}

.content-list__link:visited {
    color: #243ec0;
}

.vacancies-list {
    display: block;
    width: 100%;
    margin: 0 -20px;
    padding: 0;
    list-style: none;
}

.vacancy-card {
    display: flex;
    border-top: 1px solid #e2e2e2;
    padding: 15px 10px 48px;
}

.vacancy-card__link {
    text-decoration: none;
}

.vacancy-card__img {
    margin-right: 16px;
    max-height: 140px;
    max-width: 140px;
    height: auto;
    width: auto;
}

.vacancy-card__description {
    position: relative;
    flex-grow: 1;
}

.vacancy-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.vacancy-card__title_marked {
    color: #f14430;
}

.vacancy-card__org {
    font-size: 16px;
    color: #727272;
    margin: 1px 0 12px;
}

.vacancy-card__salary {
    font-size: 18px;
    margin: 0 0 8px;
}

.vacancy-card__announcement {
    font-size: 15px;
    line-height: 1.5;
}

.vacancy-card__more {
    font-size: 16px;
    color: #243ec0;
    display: inline-block;
    margin-top: 16px;
}

.vacancy-card__date {
    position: absolute;
    top: 0;
    right: 32px;
    font-size: 12px;
}

.pagination {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
}

.pagination__item_active,.pagination__link {
    width: 40px;
    height: 40px;
    font-size: 18px;
    line-height: 40px;
    margin: 0 10px;
    text-align: center;
}

.pagination__item_active {
    display: inline-block;
    border: none;
    background-color: #e2e2e2;
    border-radius: 5px;
}

.pagination__link {
    text-decoration: none;
    display: inline-block;
    border: 1px solid #9e9e9e;
    border-radius: 5px;
}

.vacancy {
    padding: 15px 16px 70px;
}

.vacancy__title {
    font-size: 40px;
    margin: 0 0 12px;
}

.vacancy__img {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    margin: 10px 0 0 30px;
    float: right;
}

.vacancy__salary {
    font-size: 24px;
    margin-bottom: 12px;
}

.vacancy__info {
    margin-bottom: 16px;
}

.vacancy__info-key {
    padding-right: 10px;
    color: #7f7f7f;
    line-height: 1.5;
}

.vacancy__description {
    margin: 0 0 23px;
    line-height: 1.4;
}

.vacancy__h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 3px;
}

.vacancy__city {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 23px;
}

.vacancy__city::before {
    display: inline-block;
    margin-right: 5px;
    content: " ";
    height: 13px;
    width: 10px;
    background-image: url(../images/geo.svg);
    background-size: cover;
}

.related-vacancies {
    margin-bottom: 60px;
}

.related-vacancies__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.related-vacancies__item {
    margin-bottom: 20px;
}

.related-vacancies__title {
    display: block;
    width: 100%;
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 23px;
}

.vacancy-form {
    background-color: #edf1f1;
    padding: 35px 20px 55px;
}

.vacancy-form__content {
    background-color: #fff;
    padding: 38px 45px 0 55px;
}

.vacancy-form__title {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 27px;
}

.vacancy-form__form {
    padding: 0 0 37px;
    display: flex;
    flex-wrap: wrap;
    justify-content: top;
}

.vacancy-form__label {
    display: inline-block;
    width: 35%;
    font-size: 18px;
    margin-bottom: 11px;
    padding-right: 10px;
    box-sizing: border-box;
}

.vacancy-form__input,.vacancy-form__textarea {
    display: inline-block;
    width: 60%;
    margin-bottom: 25px;
    border: 1px solid #9e9e9e;
    border-radius: 2px;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 16px;
}

.vacancy-form__input {
    height: 30px;
    line-height: 30px;
}

.vacancy-form__textarea {
    padding: 10px;
    resize: vertical;
}

.vacancy-form__input_file {
    width: .1px;
    height: .1px;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    z-index: -1;
    border: none;
}

.vacancy-form__label_file {
    background: #FFF;
    border: 1px solid #AFAFAF;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    border-radius: 5px;
    height: 30px;
    line-height: 30px;
    width: auto;
    padding: 0 18px;
    font-size: 16px;
    cursor: pointer;
}

.vacancy-form_filename {
    line-height: 30px;
    margin-left: 10px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vacancy-form__input_file.vacancy-form__input_file-focused+.vacancy-form__label_file,.vacancy-form__input_file:focus+.vacancy-form__label_file {
    outline: #000 dotted 1px;
    outline: -webkit-focus-ring-color auto 5px;
}

.smart-captcha {
    margin-top: 10px;
    margin-left: 35%;
}

.vacancy-form__send {
    margin-top: 25px;
}

.vacancy-form__br {
    width: 100%;
}

.vacancy-form__error {
    width: 100%;
    margin: 0 0 3px 35%;
    color: red;
}

.vacancy-form__photo-box {
    position: relative;
    width: 60%;
}

.vacancy-form__photo {
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
}

.vacancy-form__photo-remove {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 50px;
    font-size: 14px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,.5);
}

.vacancy-form__button,.vacancy-form__input-placeholder {
    height: 30px;
    line-height: 30px;
    display: inline-block;
    font-size: 16px;
}

.vacancy-form__photo-remove:hover {
    color: red;
}

.vacancy-form__input_short {
    width: 25%;
}

.vacancy-form__button {
    padding: 0 20px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    background-color: hsl(216.3,54%,53.1%);
    color: #fff;
    margin-left: 7px;
}

.vacancy-form__input-placeholder {
    width: 60%;
    margin: -5px 0 25px;
    padding: 0 10px;
    box-sizing: border-box;
}

.vacancy-form__edit-phone {
    text-decoration: underline;
    color: #243ec0;
    cursor: pointer;
    margin-left: 10px;
}

.vacancy-form__code {
    margin-top: -12px;
}

.vacancy-form__comment {
    width: 65%;
    margin-left: 35%;
    margin-top: -13px;
    font-size: 16px;
}

.js-code-input,.js-phone-fixed,.js-phone-input {
    font-size: 0;
}

.footer {
    background-color: #edf1f1;
    padding: 21px 0;
}

.footer__content {
    font-size: 14px;
    text-align: center;
}

.row {
    width: 100%;
}

.hidden {
    display: none;
}