﻿.form-section {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 25px auto;
    background: #fff;
    padding: 25px;
}

h3.form-section-title {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.form-item {
    width: 100%;
    display: flex;
    padding: 15px 0;
    align-items: center;
}

    .form-item > label {
        font-weight: bold;
        margin-right: 10px;
        min-width: 150px;
    }

        .form-item > label:after {
            content: ":";
            display: inline;
        }

    .form-item input {
        display: block;
        flex-grow: 1;
        background: transparent;
        border: none;
        box-shadow: none;
        border-bottom: solid 1px #000;
        padding: 5px;
    }

    .form-item.form-item-multiline > label {
        display: block;
    }

    .form-item.form-item-multiline {
        flex-direction: column;
        align-items: flex-start;
    }

        .form-item.form-item-multiline > input {
            width: 100%;
            margin-top: 10px;
        }

    .form-item.form-item-fixed-width-input.means-input-item > input {
        width: 190px;
        flex-grow: 0;
    }

    .form-item.form-item-fixed-width-input.means-input-item {
        justify-content: space-between;
    }


.submit-form {
    padding: 12px;
    background: #01b0f3;
    color: #fff;    
    font-size: 16px;
    font-weight: bold;
    border-radius: 2px;
}

input.inline-input {
    border: none;
    border-bottom: solid 1px #000;
    padding: 1px 5px;
    display: inline-block;
    flex-grow: 1;
}

p.legal-section {
    margin-top: 15px;
    text-align: justify;
}

.input-wrapper {
    display: flex;
    align-items: baseline;
}

div.error-list {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 50px;
}

    div.error-list > .form-error {
        display: block;
        width: 100%;
        padding: 10px;
        background: #F44336;
        margin-bottom: 10px;
        cursor: pointer;
        user-select: none;
        color: #FAFAFA;
        font-weight: bold;
    }

.form-item input.has-error {
    border-color: #F44336;
}

@media screen and (max-width: 768px) {
    .form-item {
        flex-wrap: wrap;
    }

        .form-item > * {
            width: 100%;
        }
}