
body {
    font-family: sans-serif;
    font-size: 17px;
    line-height: 1.2em;
    margin: 3em auto;
    max-width: 69em;
}

h1 {
    margin: 2em 0;
}


label {
    display: block;
    margin: 1.5em 0;
}

label input, label textarea, label select {
    display: block;
}

.error {
    color: red;
}

.green {
    color: green;
}

label {
    color: #777;
    float: left;
    margin-right: 3em;
}

br {
    float: none;
    clear: both;
}

input[type='text'], input[type='email'], input[type='password'], textarea, select {
    font-size: 1em;
    width: 20em;
    border: 1px solid #aaa;
    padding: .3rem .5rem;
    background: white;
    color: black;
    box-shadow: 1px 1px 3px #ddd inset;
    letter-spacing: .05em;
}

input, textarea, select {
    border-radius: 3px;
    line-height: 1.5em;
}

textarea {
    font-family: sans-serif;
    font-size: 1em;
    line-height: 1.2em;
    width: 30em;
    min-width: 30em;
    min-height: 6em;
}

input[disabled] {
    background: #f8f8f8;
    color: #999;
}

input:invalid, textarea:invalid, select:invalid, div.img.required {
    border-right-color: red;
    border-right-width: 3px;

}

input.big, textarea.big {
    font-size: 1.5em;
}

textarea.big {
    width: 42.7em;
    min-height: 4em;
}

textarea.full {
    width: 64em;
    height: 20em;
}

input.logout {
    position: absolute;
    right: 1em;
    top: 1em;
}

div.img {
    background: #f8f8f8;
    height: 15em;
    width: 30em;
    border: 1px solid #bbb;
    padding: .3rem .5rem;
    text-align: center;
    line-height: 15em;
    color: #999;
}

div.img.small {
    width: 9em;
    height: 6em;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

label.inline {
    margin: 0;
    display: block;
    float: none;
    line-height: 1.55em;
}

label.inline input {
    float: left;
    clear: both;
}

input[type='checkbox'] {
    width: 1.5em;
    height: 1.5em;
}