.form-row {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin-bottom: 8px;
}
.form-row .form-widget, .form-row label {
    display: table-cell;
    vertical-align: top;
}
.form-row label {
    width: 220px;
    padding-top: 5px;
}

.form-choice {
    margin: 8px 0;
}

.form-row .form-widget .form-choice label {
    display: inline-block;
    margin-left: 5px;
    margin-top: -1px;
    width: auto;
}

.form-widget:after {
    content: '';
    clear: both;
    display: block;
}

.form-widget .btn {
    width: 320px;
    padding: 5px;
    background-color: #fff;
    margin-bottom: 15px;
    cursor: pointer;
    border-radius: 3px;
    box-shadow: 1px 1px 5px -1px #aaa, inset 0 0 10px -1px #ccc;
    border: solid 1px #bbbbbb;
    transition: box-shadow .3s;
}

.form-widget .btn:hover {
    box-shadow: 1px 1px 5px -1px #aaa, 0 0 5px -1px #1e428e inset;
}

.form-help {
    margin-top: 5px;
    /*background-color: #fafafa;*/
    /*border-bottom: solid 1px #ddd;*/
    border-top: solid 1px #ddd;
    padding: 5px;
}

.form-errors {
    list-style: none;
    padding: 15px;
    border-radius: 3px;
    border: solid 1px #a11;
    background-color: #fffafa;
    box-shadow: 0 0 5px 0 #8e1f21, 0 0 7px 0 #a33 inset;
}

input[type="text"], input[type="email"], input[type="password"], textarea, select {
    border: solid 1px #bbbbbb;
    transition: box-shadow .3s;
    /*background-color: #fff;*/
    border-radius: 3px;
    box-shadow: 1px 1px 5px -1px #aaa, inset 0 0 10px -1px #ccc;
    padding: 5px;
    width: 320px;
    background: linear-gradient(#fff 0%, #fff 50%, #fafafa 51%);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 1px 1px 5px -1px #aaa, 0 0 5px -1px #1e428e inset;
}

.form-row.has-error label {
    color: #a11;
}

input[type="text"].has-error, input[type="email"].has-error, input[type="password"].has-error, textarea.has-error, select.has-error {
    box-shadow: 1px 1px 5px -1px #aaa, 0 0 7px 0 #8e1f21 inset;
    background-color: #fff6f6;
    border: solid 1px #a11;
    /*color: #d33;*/
}

form button {
    cursor: pointer;
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 15px;
    background: linear-gradient(to right, #df7d16, #000000);
    border: none;
    color: #fff;
    font-size: 16px;
}

@media only screen and (max-width: 840px) {
    .form-row label {
        width: 180px;
    }
    input[type="text"], input[type="email"], input[type="password"], textarea, select {
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 620px) {
    form button {
        width: 100%;
    }
    .form-row label {
        width: auto;
        display: block;
        margin-bottom: 10px;
    }
    .form-row .form-widget {
        display: block;
        width: auto;
    }
    input[type="text"], input[type="email"], input[type="password"], textarea, select, .form-widget .btn {
        width: 100%;
    }
    .form-choice {
        padding-left: 15px;
    }
    .form-row .form-widget .form-choice label {
        margin-bottom: 0;
    }
}
