form * {
    font-size: 12px;
    color: #333;
}

form h2 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
    color: #d17d00;
    border-bottom: 1px solid #CCC;
    padding-bottom: 5px;
}

#step2 h2 {
    margin-top: 30px;
    margin-bottom: 10px;
}

#step2 h3 {
    text-transform: uppercase;
    font-size: 14px;
}

form h3 {
    margin-top: 15px;
    font-weight: bold;
}

form div[id ^= "step"] {
    margin: 20px auto;
    clear: left;
    overflow: hidden;
}

form p {
    margin: 10px 0;
}

input[type="text"], input[type="email"] {
    border: 1px solid #D8D8D8;
    padding: 5px;
    width: 220px;
}

label, input[type="text"] {
    display: inline-block;
}

label {
    width: 90px;
    text-align: right;
    margin-right: 10px;
    position: relative;
}

.required::after {
    color: #f00;
    content: "*";
    position: absolute;
    top: -5px;
    right: -5px;
}

input + label {
    width: auto;
    cursor: pointer;
}

textarea {
    border: 1px solid #D8D8D8;
    margin: 10px 0;
    width: 500px;
    height: 150px;
}

#step2 li {
    display: inline-block;
    vertical-align: top;
    width: 235px;
}

form div {
    line-height: 25px;
}

.presubmit {
    float: left;
    margin: 0;
}

.presubmit select {
    border: 1px solid #bbb;
    width: 230px;
    height: 25px;
}

.presubmit > button {
    margin-left: 30px;
}

button.submit {
    background: url("/img/bg/actions/turpinat.png") 0 0 repeat-x;
    border: none;
    font-weight: bold;
    color: #FFF;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.4);
    width: 123px;
    height: 34px;
    font-size: 14px;
}

#new_adv_buttons > button:active {
    border: 1px inset #DF6F00;
}

input.error, textarea.error {
    background-color: #fbc6c6;
}
input[type="checkbox"].error {
    outline: 1px solid #fbc6c6;
}

span.error_msg {
    margin-left: 8px;
    color: #fd3600;
}

span.error {
    color: #F00;
    font-weight: bold;
}

textarea.error + span.error_msg {
    display: block;
}
