/*
 * Users app CSS
 */

/* common form styles for users app */
article.main ul.questions {
    margin-left: 20px;
}

article.main ul.questions li {
    margin: .3em 0;
}

article.main form {
    margin: 25px 0;
}

article.main p.instruct {
    margin: 0 0 15px;
}

article.main form li {
    list-style: none;
    padding: 5px 0;
}

article.main form label {
    display: block;
    margin: 0 0 .25em;
    font-weight: bold;
}

article.main form li input {
    width: 200px;
}

article.main form li input[type="checkbox"] {
    width: auto;
}

article.main form li img {
    max-width: 100%;
}

article.main form div.val-wrap {
    display: inline-block;
    width: 350px;
}

article.main form div.val-wrap input {
    display: block;
}

article.main form textarea {
    width: 325px;
}

article.main form li ul.errorlist {
    margin: 0;
    padding: 0 0 0 100px;
}

article.main form li ul.errorlist li {
    margin: 0;
    padding: 0 0 2px;
}

article.main div.submit {
    padding: 10px 0 0 103px;
}

/* login page help */
#login-help li {
    list-style: none;
    padding: 2px 0;
}

/* edit profile view */
#edit-profile-avatar a {
    padding-left: .5em;
}

#edit-profile-avatar ul {
    display: inline-block;
    margin-left: .5em;
}

/* edit avatar view */
#id_avatar,
#change-avatar div.val-wrap {
    margin-right: 10px;
    width: auto;
}

/* profile view */
#main-content article#profile {
    padding-left: 20px;
}

#profile h2 {
    color: #808080;
    font-size: 16px;
}

#profile h1 em {
    color: #999;
    font-style: normal;
}

#main-area {
    margin-left: 65px;
}

section#avatar-area {
    float: left;
    margin-left: 0;
    text-align: center;
    width: 48px;
}

#contact-box {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background-color: #D9EEF9;
    margin: 1em 0 1.5em;
    padding: 1em;
}

#contact-box ul {
    list-style-type: none;
}

#contact-box label {
    display: inline-block;
    width: 7em;
}

section#main-area h2 {
    height: 20px;
    width: 100%;
}

body.register p,
#profile p {
    margin: 1em 0;
}

/* delete avatar */
#avatar-delete .form-actions {
    margin: 1em 0;
}

#avatar-delete .form-actions input {
    margin-left: 1em;
}

#avatar-delete h1 {
    margin-bottom: 1em;
}

#avatar-preview {
    text-align: center;
}
