.api_form_wrap {
    max-width: 654px;
    width: 100%;
    background-color: #313433;
    padding: 10px 40px 50px 40px;
    position: relative;

    &:before {
        content: '';
        position: absolute;
        display: block;
        width: 100%;
        text-align: center;
        background: #313433;
        padding-top: 15%;
        top: 55px;
        transform: translateY(-100%) skewY(-3deg);
        left: 0;
    }

    h2 {
        position: relative;
        color: #fff;
        font-family: Domine-Regular, sans-serif;
        font-size: 40px;
        font-weight: 500;
        line-height: 44px;

        span {
            color: #e94857;
        }
    }

    div {
        &:nth-child(1),
        &:nth-child(2),
        &:nth-child(3) {
            margin-top: 16px;
        }

        & > label {
            /*display: none;*/
            color: rgba(255, 255, 255, .5);
            font-size: 14px;
            font-weight: 400;
            line-height: 30px;
            display: inline-block;
            margin-bottom: 8px;
        }

        & > textarea,
        & > input {
            width: 100%;
            display: block;
            box-sizing: border-box !important;
            border: 0;
            padding: 16px 8px !important;
            background: #fff;
            color: #707070;
            font-size: 18px !important;
            font-weight: 300;
            line-height: 20px;
        }

        & > input[type="button"] {
            width: 100% !important;
            border: none;
            padding: 15px 8px;
            font-size: 18px !important;
            font-weight: 300;
            line-height: 20px;
            color: #fff;
            cursor: pointer;
            border-radius: 38px;
            background-color: #e94857;
            -webkit-transition: all .5s;
            transition: all .5s;

            &:hover {
                background-color: #a4353e;
            }
        }

    }

    .frm-btn-section {
        margin-top: 32px;
    }

    .city_attri {
        & > label {
            display: none;
        }
    }

    .service_select_section {
        margin-top: 32px;
        margin-bottom: 32px;

        & > label {
            display: none;
        }

        select {
            display: block;
            width: 100%;
            padding: 16px 8px;
            color: #707070;
            font-size: 18px !important;
            font-weight: 300;
            line-height: 20px;
        }
    }

    .industry-block {
        & > div {
            font-weight: 400;
            line-height: 30px;
            color: #fff !important;
            font-size: 16px !important;
            margin-bottom: 16px;
        }

        label {
            width: 49.5%;
            display: inline-block;
            margin: 0;
            padding-right: 0;
            min-height: 28px;
            vertical-align: top;
            font-size: 0;
            line-height: 30px;
            position: relative;
            color: #fff;
            cursor: pointer;

            .limit-text {
                font-size: 12px;
                padding-left: 30px !important;
                position: relative;
                top: 0;
                display: block;
                font-size: 12px;
                max-width: 100% !important;
            }

            .ind_checkbox_div {
                display: none;
            }

            input[type="checkbox"] {
                position: absolute;
                left: 0;
                top: 0;
                width: auto !important;
                height: 18px;
                cursor: pointer;
                margin: 0;
                top: 50%;
                transform: translateY(-50%);
                cursor: pointer;

                &:before {
                    top: 0;
                    left: 0;
                    content: '';
                    background: #f3f3f3;
                    display: block;
                    width: 18px;
                    height: 18px;
                    position: absolute;
                }

                &:after {
                    content: '';
                    position: absolute;
                    display: none;
                    left: 6px;
                    top: 3px;
                    width: 7px;
                    height: 10px;
                    border: solid #fff;
                    border-width: 0 2px 2px 0;
                    -webkit-transform: rotate(45deg);
                    -ms-transform: rotate(45deg);
                    transform: rotate(45deg);
                }

                &:checked {
                    &:before {
                        background-color: #e94857;
                    }

                    &:after {
                        display: block;
                    }

                }
            }
        }
    }

    span.frm_error {
        color: #EE2222;
    }

    .clear-error-btn {
        display: none!important;
    }

    .gfield_required {
        color: #790000;
    }

    .row>* {
        padding-right: 8px;
        padding-left: 8px;
    }

    .response {
        text-align: center;
        margin-bottom: 32px;
        span.frm_success {
            color: white;
        }
    }
}

@media (max-width: 1023px) {
    .api_form_wrap:before {
        padding-top: 20%;
    }
}

@media (max-width: 768px) {
    .api_form_wrap {
        margin-top: 50px;
        max-width: 100%;
        padding: 10px 15px 40px 15px;

        h2 {
            font-size: 26px;
            line-height: 35px;
        }

        div {
            &:nth-child(1),
            &:nth-child(2),
            &:nth-child(3) {
                margin-top: 8px;
            }
    }
}

@media (max-width: 480px) {
    .api_form_wrap:before {
        padding-top: 30%;
    }
}