
/*
   Forms
------------------------------------------------------------------- */

label {
    cursor: pointer;
    display: block;
    line-height: 30px;
}
.options label {
    display: inline;
}
label.checkbox, label.radio {font-weight: normal;}
legend {
    font-weight: bold;
    font-size: 1.2em;
}
textarea {overflow: auto;}
input.error {border-color:#FF8080;}
input.empty {color: #808080;}
input.button {
    background: #DDD;
    border: 1px solid #AAA;
    padding: 4px 5px;
}
input.button:active {border-style: inset;}


/* Specific */

.legend {
    background: #F0FAF0;
    border: 1px solid #D6DFD6;
    font-size: 1.5em;
    margin: 0;
    padding: 8px 14px;
}
.form-property, .form-value {float: left;}
.form-property {
    padding-top: 8px;
    text-align: right;
    width: 60px;
}
.form-value {padding-left: 16px;}
.form-error {border-color: #F00;}

/* Border */
input.text, input.password, input.file, textarea, select.select, label.file {
    background: #F4F4F4;
    border-color: #b2b4bc #b8bac2 #cfd0d6 #b8bac1;
    border-style: solid;
    border-width: 1px ;
}
input.text.actived, input.password.actived, input.file.actived, textarea.actived, select.actived {
    background: #e1f7ff;
    border-color: #63abc7 #66b0cc #95c9dc #66b0cc;
    border-style: solid;
    border-width: 1px ;
}
input.text.error, input.password.error, input.file.error, textarea.error, select.error {
    background: #ffe5e3;
    border: 1px solid #fb4f4f;
}

/* Position relative */
div.field {
    position: relative;
}

/* Display */
input.text, input.password, textarea, div.field, div.field span.tip, span.error, button span  {
    display: block;
}

/* Padding */
input.text, input.password, textarea, select {
    padding: 3px;
}

div.field {
    padding: 0;
}
div.field.no-label {
    padding: 10px 0 0;
}

/* Align */

.checkbox input[type=checkbox], .radio input[type=radio]{
    margin: 0 10px 0 0;
    vertical-align: sub;
}

.checkbox label, .radio label{
    display: inline;
}


/* Margin bottom */
div.section, div.field {
    margin-bottom: 10px;
}
/* input, textarea width */
input.s1, textarea.s1 {
    width: 12px;
}
input.s2, textarea.s2 {
    width: 14px;
}
input.s3, textarea.s3 {
    width: 22px;
}
input.m1, textarea.m1 {
    width: 80px;
}
input.m2, textarea.m2 {
    width: 160px;
}
input.m3, textarea.m3 {
    width: 240px;
}
input.l1, textarea.l1 {
    width: 480px;
}
input.l2, textarea.l2 {
    width: 560px;
}
input.l3, textarea.l3 {
    width: 640px;
}
input.full, textarea.full {
    width: 100%;
}

/* field */
div.field.actived {
    background: #FBFBFB;
}
div.field span.tip {
    line-height: 24px;
    color: #585858;
}
span.error {
    line-height: 24px;
    color:#FF0000;
}
em.required {
    color: #CE4300;
}
/* Section */
form h3.title, div.section h3.title {
    font-size: 16px;
}
div.section.button .one {
    float: left;
}
div.section.button .two {
    float: right;
}
div.section .g1 .field,div.section .g2 .field,div.section .g3 .field,div.section .g4 .field{
    float: left;
}
div.section .auto .field{
    width: auto;
    float: left;
}
div.section .g1 .field{
    width: 157px;
}
div.section .g2 .field{
    width: 232px;
}
div.section .g3 .field{
    width: 292px;
}
div.section .g4 .field{
    width: 348px;
}

/* Nice input file */
input.file {
    width: 210px;
    z-index: 3;
}

button.file {
    margin-left: -5px !important;
    text-indent: -3000px;
    width: 40px;
    background: url(../img/icons/32/folder.png) no-repeat center !important;
}

label.file span.word {
}

.dp {
    display: inline !important;
    margin-right: 5px;
    z-index: 1;
}

.nice-file {
    opacity:0;
    filter:alpha(opacity=0);
    position: absolute;
    left: 0;
    top: 40px;
}

button.button.main {
    background: #e3e3e3;
}
button.button {
    padding: 3px;
    cursor: pointer;
    font-weight: bold;
    background: #fbfbfb;
    border-color: #dddddd #bbbbbb #999999 #bdbdbd;
    border-style: solid;
    border-width: 1px ;
}