*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px
}

:root {
    --container-width: 900px;
    --green-color: #15C312;
    --title-text-color: #232937;
    --text-color: #737781;
    --body-background: #F2F4F6;
    --border-radius: 16px;
}

a {
    text-decoration: none;
    color: unset;
}

h1, h2 {
    color: var(--title-text-color);
    font-size: 27px;
    font-weight: 700;
    line-height: 31px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

h2 {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 7px;
}

p {
    line-height: 22px;
    color: var(--text-color);
}

body {
    background-color: var(--body-background);
    position: relative;
}

body::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.1);
	background-color: #ffffff;
}

body::-webkit-scrollbar {
	width: 6px;
	background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb {
	background-color: var(--green-color);
	background-image: -webkit-linear-gradient(45deg,
	                                          rgba(255, 255, 255, .2) 25%,
											  transparent 25%,
											  transparent 50%,
											  rgba(255, 255, 255, .2) 50%,
											  rgba(255, 255, 255, .2) 75%,
											  transparent 75%,
											  transparent);
}


.main-image {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    z-index: -1;
}

.main-image img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

header {
    width: 100%;
    height: 60px;
}

.header__content, .footer__header {
    width: 100%;
    max-width: var(--container-width);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0 auto;
}

.header__logo {

}

.header__menu, .footer__menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__menu a, .footer__menu a {
    color: var(--title-text-color);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    position: relative;
}

.header__menu a::after, .footer__menu a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 1px;
    width: 0;
    background-color: var(--title-text-color);
    transition: width .2s ease;
}

.header__menu a:hover::after, .footer__menu a:hover::after {
    width: 100%;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    margin-top: 40px;
}

.form__container {
    width: 100%;
    height: 215px;
    border-radius: var(--border-radius);
    padding: 35px;
    background-color: var(--body-background);
    background-image: url("../images/form-circle.437100a50881.svg");
    background-repeat: no-repeat;
    background-position: right;
    display: flex;
    flex-direction: column;
}

.form {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-self: flex-end;
    margin-top: auto;
}

.form-element {
    width: 330px;
    height: 55px;
    position: relative;
}

.form-element input, .form-element select {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    border: 1px solid #E2E2E2;
    padding-left: 22px;
    color: #37393e;
    font-size: 15px;
    background-color: #fff;
}

.form-element input::placeholder {
    color: #92959E;
    font-size: 15px;
}

.form-element option:first-of-type {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.form-element option{
    background-color: red;
}

.form-button, .green-button {
    height: 100%;
    flex: 1;
    color: #fff;
    text-transform: uppercase;
    background-color: var(--green-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    cursor: pointer;
    transition: font-size .1s ease;
}

.form-button:hover{
    font-size: 15px;
}

.green-button {
    flex: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    position: relative;
}

.green-button span {
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    padding: 15px 21px;
    transition: color .3s ease-in-out;
    z-index: 5;
}

.green-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #fff;
    transition: all .3s ease-in-out;
    pointer-events: none;
    border-radius: var(--border-radius);
    border: 0px solid transparent;
}

.green-button:hover::before {
    width: 100%;
    border: 1px solid var(--green-color);
}

.green-button span:hover {
    color: var(--green-color);
}

.block {
    margin-top: 50px;
    width: 100%;
}

.block:last-of-type {
    margin-bottom: 80px;
}

.block:nth-of-type(2) {
    margin-top: 260px;
}

.block h1, .block h2 {
    margin-bottom: 36px;
}

.block__items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    gap: 9px;
    justify-content: center;
}

.block-item {
    border-radius: var(--border-radius);
    background-color: #fff;
    display: flex;
    padding: 20px;
    justify-content: space-between;
    flex-direction: column;
    width: 294px;
    height: 142px;
}

.block-item__top {
    flex: 1;
    border-bottom: 1px solid #E7E6F3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 3px;
}

.block-item__top.vacancy.gaps {
    justify-content: flex-start;
    border-bottom: none;
}

.block-item__top.vacancy.gaps .vacancy-top {
    margin-bottom: 16px;
}

.block-item__top.vacancy.gaps .vacancy-name {
    margin: 0;
    margin-bottom: 8px;
}


.block-item__top p {
    margin-top: 4px;
}

.block-item__bottom {
    padding-top: 10px;
}

.follow-button {
    color: var(--green-color);
    text-transform: uppercase;
    font-size: 13px;
    line-height: 15px;
    font-weight: 700;
}

.follow-button:hover {
    text-decoration: underline;
}

.block-item.vacancy {
    height: 308px;
    transition: box-shadow .2s ease;
}

.block-item:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.vacancy-top, .vacancy-schedule {
    line-height: 18px;
    color: var(--text-color);
}

.vacancy-top__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 12px;
}

.vacancy-top__container a {
    color: #737781;
}

.vacancy-top__container a:hover {
    text-decoration: underline;
}

.vacancy-top__container span {
    color: #737781;
    font-size: 13px;
}

.vacancy-schedule {
    color: var(--title-text-color);
}

.vacancy-name, .vacancy-salary, .article-name {
    font-size: 20px;
    line-height: 23px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.vacancy-salary {
    color: var(--green-color);
    margin-bottom: 20px;
}

.vacancy-description, .article-description {
    font-size: 15px;
    color: var(--text-color);
    line-height: 17px;
    margin-bottom: 20px;
}

.vacancy-date, .views-number, .article-date {
    font-size: 13px;
    color: var(--text-color);
    line-height: 15px;
}

.block-item.article {
    height: 380px;
    padding: 0;
    position: relative;
    justify-content: flex-start;
}


.article-image {
    height: 170px;
    width: 100%;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.article-image img {
    height: 100%;
    width: 100%;
    object-position: top;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.article-content {
    padding: 20px;
}

.article-description {
    display: -webkit-box;
    margin-top: 12px;
    height: 68px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 17px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.article-views {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.info-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--green-color);
    border-radius: var(--border-radius);
}

.info-card h2, .info-card p {
    color: #fff;
    margin-bottom: 0;
}

.info-card img {
    width: 38px;
    height: 30px;
}

.block__items.city {
    justify-content: space-between;
    gap: 0;

}

.block-item.city {
    background-color: transparent;
    display: block;
    padding: 0;
    height: unset;
    width: 209px;
    margin-bottom: 20px;
}

.block-item.city:hover {
    box-shadow: unset;
}

.city-name {
    font-size: 15px;
    line-height: 17px;
    color: #373747;
    margin-right: 4px;
    transition: color .1s ease;
}

.city-name:hover {
    color: var(--green-color);
}

.block__items.footer a {
    transition: color .1s ease;
}

.block__items.footer a:hover {
    color: var(--green-color);
}

.city-number {
    font-size: 14px;
    line-height: 16px;
    color: var(--text-color);
}

footer {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    margin-top: 100px;
    padding-bottom: 80px;
}

.footer__header {
    border-top: 1px solid #D6DBE0;
    padding-top: 30px;
}

.block.footer {
    margin-top: 50px;
    margin-bottom: 0;
}

.block__items.footer {
    justify-content: space-between;
}

.block.footer h4, .block.footer a {
    color: var(--text-color);
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.block.footer a {
    color: var(--title-text-color);
    font-weight: 400;
    text-transform: unset;
    margin-bottom: 10px;
    width: 30%;
}

.pagination-block {
    margin-top: 9px;
    width: 100%;
    background-color: #fff;
    border-radius: var(--border-radius);
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
}

.step-links {
    display: flex;
}

.pagination a, .pagination .current {
    border: 1px solid var(--green-color);
    border-radius: 10px;
    margin-right: 8px;
    color: var(--green-color);
    background-color: transparent;
    height: 31px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color .1s ease-in-out;
}

.pagination a:hover {
    background-color: #eefdef;
}

.pagination a span, .pagination .current span {
    color: var(--green-color);
    font-weight: 700;
    font-size: 15px;
    line-height: 0;
    padding: 12px;
}

.pagination .current {
    border: 1px solid var(--green-color);
    background: var(--green-color);
    color: #FFF;
}

.pagination .current span {
    color: #FFF;
}

.element-suggest {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    border-radius: var(--border-radius);
    z-index: 5;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.element-suggest__item {
    width: 100%;
    padding: 14px 10px 14px 20px;
    transition: all .1s ease;
    border-bottom: 1px solid #E2E2E2;
}

.element-suggest__item:first-of-type {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.element-suggest__item:last-of-type {
    border-bottom: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.element-suggest__item:hover {
    color: #fff;
    background-color: var(--green-color);
}

.follow_email span, .follow_email a {
    font-size: 15px;
}

.follow_email span {
    color: var(--green-color);
    letter-spacing: 0.3px;
}

.follow_email a {;
    letter-spacing: 0.55px;
    color: var(--text-color);
    transition: color .1s ease;
}

.follow_email a:hover {
    color: var(--green-color);
}

.employees-reviews__container {
    padding: 30px 0px 10px 00px;
    display: flex;
    gap: 20px;
}

.rate__container {
    width: 100%;
    display: flex;
    align-items: center;
}

.rate-wrapper {
    display: flex;
    gap: 24px;
}

.rate-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rate-row {
    display: flex;
    gap: 18px;
}

.rate__number {
    font-size: 20px;
    font-weight: 700;
    color: var(--title-text-color);
    /*margin-bottom: 10px;*/
}

.rate-bar__container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rate-bar__container span {
    line-height: 24px;
}

.rate__bar {
    width: 262px;
    height: 4px;
    border-radius: 26px;
    position: relative;
    background-color: #DFDFDF;
}

.rate__bar .bar__progress {
    position: absolute;
    top: 0;
    border-radius: 26px;
    width: 100px;
    height: 100%;
    background-color: var(--green-color);
}


.rate-bar__container p, .general-rate__container p {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color)
}

.general-rate__container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    gap: 16px;
}

.general-rate__container img {
    width: 40px;
    height: 40px;
}

.general-rate__container span {
    color: var(--title-text-color);
    font-size: 16px;
    font-weight: 700;
}

.general-rate__container a, .reviews-info__text a {
    text-transform: uppercase;
    color: var(--green-color);
    font-size: 13px;
    font-weight: 700;
}

.general-rate__container a:hover, .reviews-info__text a:hover {
    text-decoration: underline;
}

.general-rate__wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.general-rate__wrapper span, .row__number {
    font-weight: 700;
    font-size: 20px;
    color: var(--title-text-color);
}

.general-rate__wrapper span {
    width: 36%;
}

.general__rate, .recommendations {
    display: flex;
}

.general__rate {
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 12px;
}

.recommendations {
    padding-top: 12px;
}

.last-reviews__container {
    padding: 0px 0px 30px 00px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.last-reviews__wrapper {
    display: flex;
    gap: 16px;
}

.last-reviews__item {
    border-radius: var(--border-radius);
    border: 1px solid #DFDFDF;
    padding: 22px;
    width: 33%;
}

.stars__container {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.last-reviews__item span {
    font-size: 14px;
    font-weight: 400;
    color: #979CA8;
}

.review__text {
    margin-top: 16px;
    margin-bottom: 10px;
}

.review__text p {
    color: #4F5668;
    font-size: 16px;
    line-height: 24px;
}

.reviews-info {
    display: flex;
    padding: 24px 20px;
    border: 1px solid #DFDFDF;
    border-radius: var(--border-radius);
    align-items: center;
}

.reviews-info__text {
    margin-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/*Белый фон для контейнеров*/
/*.company__wrapper {*/
/*    width: 100vw;*/
/*    margin-right: auto;*/
/*}*/

/*.company__container {*/
/*    max-width: 900px;*/
/*    margin: 0 auto;*/
/*}*/

.white-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: -1;
}

@media screen and (max-width: 900px) {
    .header__content, .footer__header {
        padding-left: 30px;
        padding-right: 30px;
    }

    .container, .company__container {
        padding: 0 30px;
    }

    .form__container {
        height: max-content;
        background-size: cover;
    }

    .form {
        margin-top: 30px;
        flex-direction: column;
    }

    .form-element {
        width: 100%;
    }

    .form-button {
        width: 100%;
        padding: 15px 0;
    }

    .block:nth-of-type(2) {
        margin-top: 120px;
    }

    .block__items.article_vacs {
        flex-direction: column;
    }

    .block__items.article_vacs .block-item {
        width: 100%;
        height: max-content;
    }

    .block__items.small_vacs .block-item{
        width: calc(50% - 5px);
    }

    .block.footer {
        margin-top: 50px;
        padding: 0 30px;
    }

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

    .employees-reviews__container {
        flex-direction: column;
    }

    .rate-wrapper {
        width: 100%;
    }

    .rate-column {
        width: 49%;
    }

    .rate-bar__container {
        flex: 1;
    }


    .rate__bar {
        width: 100%;
    }
}

@media screen and (max-width: 680px) {
    .block-item.city, .block__items.footer a {
        width: 48%;
    }

    .last-reviews__wrapper {
        flex-direction: column;
    }

    .last-reviews__item {
        width: 100%;
    }
}

@media screen and (max-width: 580px) {
    .block__items.small_vacs .block-item{
        width: 100%;
    }

    .rate-wrapper {
        flex-direction: column;
    }

    .rate-row, .rate-column {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .form__container {
        padding: 30px 20px;
    }

    .form__container h1 {
        font-size: 21px;
    }

    .form__container p {
        font-size: 15px;
    }

    .form-element {
        height: 45px;
    }

    .form-button {
        padding: 15px 0;
        font-size: 13px;
    }

    .form-button:hover{
        font-size: 13px;
    }

    .form {
        margin-top: 15px;
    }

    .block:nth-of-type(2) {
        margin-top: 160px;
    }

    .block.footer {
        margin-top: 30px;
    }

    .block-item.city {
        width: 100%;
    }

    .header__logo img, .footer__header a img {
        width: 110px;
        height: 30px;
    }

    .header__menu, .footer__menu {
        gap: 20px
    }

    .header__menu a, .footer__menu a {
        font-size: 13px;
    }

}