.lp-form-27 {
    position: relative;
}

.lp-form-27 .lp-block-bg {
    background-image: url(lp-form-27-bg.jpg);
}

.lp-block-overlay {
    background-color: rgba(255, 255, 255, 0.7);
}

.lp-form-27__top {
    padding: 32px 16px;
}

.lp-form-27__form-title {
    text-align: center;
}

.lp-form-27__form {
    margin-top: 32px;
}

.lp-form-27 .lp-form-tpl__item._type-text .lp-form-tpl__item-label {
    padding-left: 8px;
}

.lp-form-27 .lp-form-tpl__button-wrapper {
    text-align: center;
}

.lp-form-27 .lp-form-tpl__button {
    width: 100%;
    letter-spacing: .01em;
}

.lp-form-27__bottom {
    padding: 32px 0;
    position: relative;
}

.lp-form-27__bottom-bg {
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
}

.lp-form-27__bottom-bg-overlay {
    background: rgba(255, 255, 255, 0.7);
}

.lp-form-27__bottom-wrap {
    position: relative;
    text-align: center;
    max-width: 100%;
}

.lp-form-27__title {
    text-align: center;
}

.lp-form-27__text {
    letter-spacing: 0.02em;
}

.lp-form-27__socials {
    margin: 24px -12px -16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.lp-form-27__socials-item {
    width: 75px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 12px 16px;
}

.lp-form-27 .lp-form-27__socials-item-img {
    box-sizing: content-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 8px;
}

.lp-form-27 .lp-form-27__socials-item-img-in {
    width: 24px;
    height: 24px;
    max-width: 150px;
    box-sizing: content-box;
}

.lp-form-27__socials-item-title {
    margin-top: 8px;
}

.lp-form-tpl__item-label {
    letter-spacing: 0.01em;
}

@media all and (min-width: 600px) {
    .lp-form-27__top, .lp-form-27__bottom {
        padding: 56px 12px;
    }

    .lp-form-27__form {
        margin-bottom: 0;
    }

    .lp-form-27 .lp-form-tpl__button {
        width: auto;
    }

    .lp-form-27__text {
        margin-top: 8px;
    }

    .lp-form-27__socials-item {
        width: 78px;
    }

    .lp-form-27 .lp-form-27__socials-item-img {
        padding: 10px;
    }
}

@media all and (min-width: 960px) {
    .lp-form-27 .lp-wrapp {
        padding: 0;
        max-width: 100%;
    }

    .lp-form-27__wrap {
        min-height: 520px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .lp-form-27__top, .lp-form-27__bottom {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    .lp-form-27__bottom-bg {
        width: 100%;
        left: 0;
        margin-left: 0;
    }

    .lp-form-27__top-wrap, .lp-form-27__bottom-wrap {
        width: 400px;
    }
}

@media all and (min-width: 1200px) {
    .lp-form-27__wrap {
        min-height: 600px;
    }

    .lp-form-27__top, .lp-form-27__bottom {
        padding: 80px 0;
    }

    .lp-form-27__top-wrap, .lp-form-27__bottom-wrap {
        width: 466px;
    }

    .lp-form-27__socials {
        margin: 32px -16px -16px;
    }

    .lp-form-27__socials-item {
        margin: 0 16px 16px;
    }

    .lp-form-27 .lp-form-27__socials-item-img {
        padding: 13px;
    }
}

@media all and (min-width: 1380px) {
    .lp-form-27__top {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }

    .lp-form-27__bottom {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .lp-form-27__top-wrap, .lp-form-27__bottom-wrap {
        width: 518px;
    }

    .lp-form-27__top-wrap {
        padding: 0 126px;
    }
}

.lp-form-27__top-wrap, .lp-form-27__bottom-wrap {
    box-sizing: content-box;
}

.lp-form-27__form form {
    display: flex;
    flex-direction: column;
}

.lp-form-27 .lp-form-tpl__button-wrapper {
    order: 4;
}

.lp-form-27 .lp-form-tpl__item._type-checkbox {
    order: 3;
}

@media all and (max-width: 959px) {
    .lp-form-27 .lp-wrapp {
        width: auto;
        max-width: 100%;
        padding: 0;
    }

    .lp-form-27__top-wrap, .lp-form-27__bottom-wrap {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        z-index: 1;
    }

    .lp-form-27__top-wrap, .lp-form-27__bottom-wrap {
        max-width: 600px;
    }
}