
/******************************************************************************/
/* FORM: all forms                                                            */
/******************************************************************************/

form+form {
    margin-top: 25px;
}

fieldset {
    border: 1px solid grey;
    width: 695px;
    padding: 0 0 10px 0;
}

fieldset p {
    margin: 10px;
}

fieldset table {
    margin: 10px;
}

legend {
    background-color: #f1f1f1;
    width: 675px;
    line-height: 10px;
    margin: 0 -1px 10px -1px;
    border: 1px solid grey;
    padding: 10px;
}

.form-data-export {
    background: url("../../../images/importieren.gif") no-repeat scroll 0 2px transparent;
    display: block;
    height: 20px;
    line-height: 2em;
    padding-left: 20px;
    margin-left: 10px;
}

.flip_mark {
    background: url("../../../images/but_invert_selection.gif") no-repeat scroll 0 2px transparent;
    display: block;
    height: 20px;
    line-height: 2em;
    padding-left: 20px;
    margin-left: 10px;
}

/******************************************************************************/
/* FORM: form                                                                 */
/******************************************************************************/


#pifa-form div,
#pifa-form-export div,
#pifa-form-import div {
    clear: left;
    margin-top: 4px;
    margin-bottom: 12px;
}

#pifa-form label,
#pifa-form-export label,
#pifa-form-import label {
    float: left;
    width: 20%;
    text-align: center;
}

#pifa-form div input,
#pifa-form div select,
#pifa-form-export div input,
#pifa-form-export div select,
#pifa-form-import div input,
#pifa-form-import div select {
    width: 65%;
}

/******************************************************************************/
/* FORM: add field                                                            */
/******************************************************************************/

#pifa-form-add-field {
    padding-right: 281px;
}

/******************************************************************************/
/* FORM: form fields                                                          */
/******************************************************************************/

#pifa-form fieldset {
}

#pifa-form fieldset div {
    width: 571px;
    margin-top: 1px;
    margin-bottom: 5px;
}

#pifa-form fieldset div input {
    width: 231px;
    margin-right: 28%;
}

#pifa-form fieldset div select {
    width: 231px;
    margin-right: 200px;
}

#pifa-form fieldset input[type="image"],
#pifa-form-export fieldset input[type="image"],
#pifa-form-import fieldset input[type="image"] {
    float: right;
}

/* ORIGINAL STYLES
*/

.column_name label {
    text-align: center;
    float: left;
}

#pifa-form-field-list {
    list-style-type: none;
    margin: 0;
    border: 0;
    padding: 5px;
    min-height: 200px;
}

#pifa-form-field-list.sortable li {
    cursor: move;
}

#pifa-form-field-list:empty {
    margin: 12px 10px 0 9px;
    border: 1px dashed grey;
}

#pifa-form-field-list li {
    background-color: #f1f1f1;
    height: 51px;
    border: 1px solid grey;
    clear: left;
    margin: 1px;
    padding-top: 3px;
}

#pifa-form-field-list li>div {
    float: left;
    padding: 3px;
    border-collapse: collapse;
}

#pifa-form-field-list .idfield {
    width: 5%;
}

#pifa-form-field-list .edit {
    width: 70px;
    padding-left: 2px;
    padding-top: 17px;
    text-align: right;
}

#pifa-form-field-list .edit img {
    padding-right: 4px;
}

#pifa-form-field-list .column_name,
#pifa-form-field-list .label,
#pifa-form-field-list .field-type {
    width: 27%;
}

#pifa-form-field-list li div div {
    padding-left: 30px;
    clear: left;
}

#pifa-form-field-list label {
    float: left;
    width: 20%;
}

#pifa-form-field-list div input {
    width: 75%;
}

#pifa-form-field-list a.ui-state-highlight {
    height: 50px !important;
    display: block;
}

#pifa-form-field-list a.ui-draggable {
    background-color: #f1f1f1;
    border: 1px solid grey;
    clear: left;
    height: 51px;
    margin: 1px;
    padding-top: 3px;
    display: block;
    background-repeat: no-repeat;
    background-position: 5px 5px;
}

/******************************************************************************/
/* FORM: fields buttons                                                       */
/******************************************************************************/

#field-buttons {
    background-color: #E2E2E2;
    border-bottom: 0;
}

#field-buttons ul {
    display: inline;
    list-style: none;
    padding: 0;
    margin: 0;
}

/******************************************************************************/
/* FORM: forms images                                                         */
/******************************************************************************/

#txt-add-options {
    display: inline-block;
    line-height: 16px;
    position: absolute;
    padding-left: 5px;
}

.descr-icon {
    height: 40px;
    width: 40px;
    padding-right: 30px;
    margin-left: 10px;
    float: left;
}

#droppableField {
    margin: 13px 10px;
    height: 200px;
    border: 1px dashed grey;
}

input[type="image"],
#image-new-form {
    margin-left: 110px;
    padding-right: 10px;
}

/******************************************************************************/
/* FORM: Modal form                                                           */
/******************************************************************************/

.ui-widget-overlay {
    height: 800px !important;
}

.ui-dialog-titlebar {
    height: 20px;
    font-size: 13px;
}

#value1,
#value2 {
    margin-bottom: 10px;
}

.textMiddle {
    height: 46px;
    width: 540px;
    padding-top: 3px;
    padding-right: 30px;
    padding-left: 40px;
    float: left;
}

.li-label-name {
    padding-top: 4px;
    font-size: 12px;
    font-weight: bold;
}

.li-column-name {
    font-size: 12px;
    color: grey;
}

.general {
    padding-left: 12px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.editicon {
    padding-right: 2px;
}

#display-descr {
    display: inline-block;
    line-height: 4px;
    position: absolute;
    margin-top: 4px;
    padding-top: 4px;
}

/******************************************************************************/
/* FORM: Dynamic Modal form                                                   */
/******************************************************************************/

.pseudo-legend {
    height: 20px;
    background-color: #e2e2e2;
    -moz-border-radius: 10px; /* Firefox */
    -webkit-border-radius: 10px; /* Safari, Chrome */
    -khtml-border-radius: 10px; /* Konqueror */
    behavior: url(border-radius.htc); /* IE */
    border-radius: 5px; /* CSS3 */
    line-height: 20px;
    padding-left: 10px;
}

.pseudo-fieldset {
    background-color: #f1f1f1;
    -moz-border-radius: 10px; /* Firefox */
    -webkit-border-radius: 10px; /* Safari, Chrome */
    -khtml-border-radius: 10px; /* Konqueror */
    border-radius: 5px; /* CSS3 */
    padding: 10px;
}

.pseudo-fieldset label {
    display: inline-block;
    width: 13em;
    vertical-align: middle;
}

.pseudo-fieldset input,
.pseudo-fieldset textarea,
.pseudo-fieldset select {
    width: 310px;
    margin: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    vertical-align: middle;
}

.pseudo-fieldset input[type=checkbox] {
    padding-left: 0;
    margin-left: 0;
}

.pseudo-fieldset>div {
    margin: 5px;
}

.pseudo-fieldset #options-list .option-outer {
    margin-top: 5px;
    margin-bottom: 5px;
}

#error_message,
#help_text {
    resize: none;
}

.label span {
    padding-left: 12em;
}

.option-inner-label {
    padding: 3px 1px;
}

.option-inner-value {
    padding: 1px 1px 3px;

}
.option-outer {
    background-color: #f1f1f1;
    margin-bottom: 2px;
}

#req-input {
    margin: 0;
}

#field-type-text {
    color: grey;
}

#icons-bottom {
    border-top: 1px solid #e2e2e2;
    padding-left: 318px;
    margin-top: 15px;
}

#display {
    margin-left: 0;
}

/******************************************************************************/
/* ERROR: error messages in jQuery style                                      */
/******************************************************************************/

.ui-state-error {
}

.ui-state-error p {
    font-size: 13px;
}

.ui-state-error span.ui-icon {
    float: left;
    margin: 0 5px 0 10px;
}

/******************************************************************************/
/* FORM: Dynamic Modal form                                                   */
/******************************************************************************/

#field-buttons ul {
    padding: 0 10px 10px 0;
}

#field-buttons ul li {
    float: left;
    margin: 10px 0 0 10px;
}

#field-buttons ul li a {
    background-repeat: no-repeat;
    display: block;
    height: 46px !important;
    width: 46px !important;
}

#field-buttons ul li a.img-draggable {
    cursor: move;
}

#add-options-div {
    height: 24px;
    background-color: #f1f1f1;
}

#add-options-div input{
    margin-top: 3px;
}

#add-options-div span{
    margin-top: 3px;
}

.ui-widget-header {
    /*color: #222;*/
    color: #fff;
    background: #006dbf;
    border: 1px solid #aaa;
}

#ui-dialog-title-fieldFormDialog {
    color: white;
}

#save-image {
    margin-top: 15px;
    margin-bottom: 7px;
}

.ui-dialog .ui-dialog-titlebar-close span {
  display: block;
  margin: 0;

}

.ui-dialog-titlebar-close .ui-icon {
     height: 17px;
     width: 17px;
    background: url("../images/button_close.png") 0;
    margin-bottom: 4px;
}

.ui-dialog-titlebar-close:hover {
    background: #006dbf;
}

.ui-widget-header {
    margin: 10px 10px 0 10px;
}

.ui-widget-header .ui-state-hover span {
    background-position: 0;
}

.ui-dialog .ui-button.ui-state-default {
    color: #fff;
    background: #555 url("../../../images/but_ok.gif") repeat-x;
    width: 16px;
    height: 16px;
    border: 0;
}
.ui-dialog .ui-button.ui-state-hover {
    color: #fff;
    background: #0078a3 url("../../../images/but_ok.gif") repeat-x;
    width: 16px;
    height: 16px;
    border: 0;
}

.pifa-icon {
    margin-top: 2px;
    margin-left: 5px;
}

.pifa-icon-1, .pifa-field-type-1 {background-image: url(../images/pifa_field_type_1.png);}
.pifa-icon-2, .pifa-field-type-2 {background-image: url(../images/pifa_field_type_2.png);}
.pifa-icon-3, .pifa-field-type-3 {background-image: url(../images/pifa_field_type_3.png);}
.pifa-icon-4, .pifa-field-type-4 {background-image: url(../images/pifa_field_type_4.png);}
.pifa-icon-5, .pifa-field-type-5 {background-image: url(../images/pifa_field_type_5.png);}
.pifa-icon-6, .pifa-field-type-6 {background-image: url(../images/pifa_field_type_6.png);}
.pifa-icon-7, .pifa-field-type-7 {background-image: url(../images/pifa_field_type_7.png);}
.pifa-icon-8, .pifa-field-type-8 {background-image: url(../images/pifa_field_type_8.png);}
.pifa-icon-9, .pifa-field-type-9 {background-image: url(../images/pifa_field_type_9.png);}
.pifa-icon-10, .pifa-field-type-10 {background-image: url(../images/pifa_field_type_10.png);}
.pifa-icon-11, .pifa-field-type-11 {background-image: url(../images/pifa_field_type_11.png);}
.pifa-icon-12, .pifa-field-type-12 {background-image: url(../images/pifa_field_type_12.png);}
.pifa-icon-13, .pifa-field-type-13 {background-image: url(../images/pifa_field_type_13.png);}
.pifa-icon-14, .pifa-field-type-14 {background-image: url(../images/pifa_field_type_14.png);}
.pifa-icon-15, .pifa-field-type-15 {background-image: url(../images/pifa_field_type_15.png);}
.pifa-icon-16, .pifa-field-type-16 {background-image: url(../images/pifa_field_type_16.png);}
.pifa-icon-17, .pifa-field-type-17 {background-image: url(../images/pifa_field_type_17.png);}
.pifa-icon-18, .pifa-field-type-18 {background-image: url(../images/pifa_field_type_18.png);}
.pifa-icon-19, .pifa-field-type-19 {background-image: url(../images/pifa_field_type_19.png);}
.pifa-icon-20, .pifa-field-type-20 {background-image: url(../images/pifa_field_type_20.png);}
.pifa-icon-21, .pifa-field-type-21 {background-image: url(../images/pifa_field_type_21.png);}
