/*---------------------------------------------------------------------------
 * Makeup
 */

input, textarea, select {
    font-family: verdana, sans-serif;
    font-size: 1em;
}

input, select {
    vertical-align: middle;
}

input[type=button],
input[type=submit],
input[type=reset] {
    background: #eee;
    color: #222;
    border: 1px outset #ccc;
    padding: .1em .5em;
}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
    background: #ccb;
}

input[type=button][disabled],
input[type=submit][disabled],
input[type=reset][disabled] {
    background: #f6f6f6;
    border-style: solid;
    color: #999;
}

input[type=text],
input[type=password],
input[type=file],
textarea {
    border: 1px solid #d7d7d7;
}

input[type=text],
input[type=password],
input.textwidget {
    padding: .1em .3em
}

input[type=text]:focus,
textarea:focus {
    border: 1px solid #886;
	-moz-box-shadow: #886 0 0 7px;
	-webkit-box-shadow: #886 0 0 7px;
	box-shadow: #886 0 0 7px;
	z-index: 1;
}

option {
    border-bottom: 1px dotted #d7d7d7
}

/*---------------------------------------------------------------------------
 * Layout
 */
form {
    margin: 0;
    padding: 0;
}

form h1 {
    font-size: 1.3em;
    font-weight: bold;
    margin: 0 0 1em 0;
    padding: 0;
}

form .row {
    position: relative;
    padding: 0.1em 0;
    clear: left;
}

form .row .clear {
    clear: left;
}

form .row .element {
    clear: none;
    border: none;
    padding: 0.2em 0;
    margin: 0 0 0 21em;
}
form .row .element.checkbox_with_right_text {
    float: left;
    margin-left: 0;
    margin-right: 10px;
}
form .row label {
    margin: 1px 0;
    display: block;
    width: 20em;
    text-align: right;
    float: left;
    padding: .1em 1em .1em 0;
    font-weight: normal;
}

form .row label.required span,
.required-label span.required {
    font-weight: bold;
    font-size: 1.1em;
    color: #a00;
    padding-right: 0.5em;
}

.required-label {
    margin-bottom: 1em;
    font-size: 90%;
}

form .msg-message {
    font-weight: bold;
    color: #0a0;
    margin: 0;
    padding: 0;
}

form .error-message {
    font-weight: bold;
    color: #a00;
    margin: 0;
    padding: 0;
}
