* {
    font-family: Arial, 'Lucida Grande', sans-serif;
    font-size: 14px;
    color: #000;

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    border: none;
}

form.default-form {
    background: #fff;
    overflow: auto;
    padding: 20px;
    max-width: 1300px;

    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
}

form.default-form fieldset {
    margin: 0;
    padding: 0;
    border: none;
    width: 50%;
    margin-bottom: 20px;
}

fieldset legend {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.form-field {
    overflow: auto;
    padding: 5px 0;
}

label:first-child {
    display: inline-block;
    width: 200px;
    line-height: 2em;
    color: #000000;
}

input[type="text"], input[type="password"], textarea {
    border: #ccc 1px solid;
    color: rgb(112, 112, 112);
    padding-left: 5px;
    padding-right: 5px;
    height: 28px;
    line-height: 2em;
    margin-right: 10px;
    width: 300px;
}

textarea {
    width: 98%;
    overflow: auto;
    height: 75px;
    padding-left: 0.5%;
    padding-right: 0.5%;
    margin-right: 1%;
}

select {
    border: #E1E1E1 1px solid;
    height: 2em;
    padding-left: 5px;
    padding-right: 5px;
    width: 200px;
    background-color: #fff;
}

input[type="radio"] {
    display: none;
}

input[type="radio"] + label:before {
    content: "";
    border: #E1E1E1 1px solid;
    color: rgb(112, 112, 112);;
    background-color: #f0f0f0;
    border-radius: 10px;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    font-size: 32px;
    line-height: 17px;
    text-align: center;
    padding: 0;
}

input[type="radio"]:checked + label:before {
    content: "\2022";
}

input[type="radio"] + label {
    overflow: hidden;
    display: inline-block;
    margin-right: 10px;
}

.radio-group {
    display: inline-block;
    overflow: auto;
}

.error {
    color: #dd0000;
    font-weight: 600;
    display: block;
    padding-top: 5px;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: #E1E1E1 1px solid;
    color: rgb(112, 112, 112);;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
    vertical-align: middle;
    margin-right: 5px;
    text-align: center;
    margin-left: -25px;
}

input[type="checkbox"]:checked + label:before {
    /* TODO: Use this when you don't include FontAwesome */
    /*content: "\2713";*/

    font-family: FontAwesome;
    content: "\f00c";
}

input[type="checkbox"] + label {
    line-height: 16px;
    display: block;
    margin-left: 25px;
}

input[type="file"] {
    display: none;
}

label {
   font-weight:200;
}

input[type="file"] + label {
    border: #E1E1E1 1px solid;
    background: #f1f1f1;
    box-shadow: inset 0 1px #fff;
    border-radius: 2px;
    line-height: 2em;
    display: inline-block;
    padding: 0 15px;
    font-size: 0.8em;
    color: rgb(112, 112, 112);
    max-width: 200px;
    min-height: 15px;
}

input[type="file"] + label:hover, .button:hover {
    color: #000000;
    cursor: pointer;
}



input[type="submit"], input[type="button"], .button {
    border: none;
    background-color: #000;
    line-height: 2em;
    padding: 2px 15px;
    font-size: 14px;
    color: #fff;
    display: inline-block;
    cursor: pointer;
    border-radius: 2px;
}
input[type="submit"]:hover, input[type="button"]:hover, .button:hover {
    background-color: #555;
}



.form-field .text {
    display: block;
    line-height: 2em;
    padding-bottom: 10px;
}

::-webkit-input-placeholder {
    color: #aaa !important;
    font-style: italic;
}

:-moz-placeholder { /* Firefox 18- */
    color: #aaa !important;
    font-style: italic;
}

::-moz-placeholder {  /* Firefox 19+ */
    color: #aaa !important;
    font-style: italic;
}

:-ms-input-placeholder {
    color: #aaa !important;
    font-style: italic;
}

.help {
    margin-left: 150px;
    padding: 5px 0 0 5px;
}

.help a {
    font-size: 0.9em;
    color: #999;
}





@media screen and (max-width: 800px) {
    form.default-form {
        flex-direction: column;
    }

    form.default-form fieldset {
        width: 100%;
    }

    .form-field input[type="text"], select, textarea {
        width: 100%;
        margin: 0;
    }

    .form-field input[type="checkbox"] + label:before {
        margin-left: -25px;
    }

    .help {
        margin-left: 0;
        padding-left: 0;
    }
}
