section ul li, section ol li {
    font-family: Open Sans, sans-serif;
    font-size: 1.0625rem;
    font-weight: 300;
    color: #2f3234;
}

.stories {
    li {
        flex: 0 0 calc(25% - 16px);
        width: calc(25% - 16px);

        &:nth-child(4n+4) {
            margin-right: 0;
        }
    }
}

.vacancies-grid {
    li {
        flex: 0 0 calc(33% - 16px);
        width: calc(33% - 16px);

        &:nth-child(3n+3) {
            margin-right: 0;
        }
        &:nth-child(5n+5) {
            margin-right: 20px;
        }
    }
}
@media only screen and (max-width: 1079px) {
    .subpage .vacancies-grid li {
        flex: 0 0 calc(33% - 16px);
        width: calc(33% - 16px);

        &:nth-child(4n+4) {
            margin-right: 20px;
        }
    }
}
@media only screen and (max-width: 768px) {
    .subpage .vacancies-grid li {
        flex: 0 0 calc(50% - 16px);
        width: calc(50% - 16px);

        &:nth-child(2n+2) {
            margin-right: 0px !important;
        }
        &:nth-child(4n+4), &:nth-child(3n+3) {
            margin-right: 20px;
        }
        figure div {
            background-size: contain !important;
        }
    }
}
@media only screen and (max-width: 600px) {
    .subpage .vacancies-grid li {
        flex: 0 0 calc(100% - 0px);
        width: calc(100% - 0px);
        margin-right: 0px !important;
    }
}

footer .open-solicitation-form {
    small {
        display: block;
        color: #fff;
        font-size: x-small;
        margin-top: 10px;
    }
    [type=checkbox].error+label:before {
        border: 2px solid red;
    }

    .item {
        label {
            font-family: Open Sans, sans-serif;
            font-weight: 700;
            font-size: .875rem;
        }
        small {
            color: #fff;
            text-align: right;
            display: block;
            margin-top: -20px;
            font-size: x-small;
        }
    }
}

.panel .open-solicitation-form {
    position: relative;
    float: right;
    margin: -40px -40px 30px 0;
    max-width: calc(50% + 40px);
    z-index: 1;
    background: #0971e3;
    padding: 30px;

    small {
        display: block;
        color: #fff;
        font-size: x-small;
        margin-top: 10px;
    }

    label {
        color: #fff;
    }

    [type=checkbox].error+label:before {
        border: 2px solid red;
    }

    .item {
        label {
            font-family: Open Sans, sans-serif;
            font-weight: 700;
            font-size: .875rem;
        }
        small {
            color: #fff;
            text-align: right;
            display: block;
            margin-top: -20px;
            font-size: x-small;
        }
    }

    h2 {
        color: #fff;
        display: inline-block;
        font-size: 1.75rem;
        position: relative;

        span {
            font-size: .75rem;
            font-weight: 300;
            font-family: Open Sans, sans-serif;
        }
    }
}

@media only screen and (max-width: 767px) {
    .panel .open-solicitation-form {
        position: relative;
        float: right;
        margin: 20px 0;
        max-width: 100%;
        width: 100%;
        z-index: 1;
        background: #0971e3;
        padding: 30px;

        .btn {
            width: 100%;
            white-space: normal;
            text-align: left;
            line-height: 1;
        }
    }
}