.tableform input.checkbox {
    margin-left: 0;
}

.action-widget {
    margin-top: 10px;
}

ul.checkboxlist {
	list-style: none;
    margin-left: 0;
}

ul.checkboxlist li {
	list-style: none;
}

.tableform label.fieldlabel {
    font-weight: 500;
    /* font-size: 13.3333px; */
    min-width: 215px;
    margin: 0;
}

.tableform .label {
    font-weight: normal;
    font-size: unset;
    color: var(--default-font-color);
    padding: unset;
}

.tableform td,
.tableform th {
    padding: 4px !important;
}

.tableform input[type="file"] {
    width: 400px;
}

.radiobuttonlist {
    margin-left: 0;
}

.radiobuttonlist li {
    list-style: none;
}

/*****************************************
 *
 * pf-form
 *
 *****************************************/


/* Normal Field */

.pf-form .form-item {
    padding: 5px;
    width: 100%;
    min-height: 0; /*IE7 float clear*/
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 5px;
}

/*
.pf-form .form-item:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
*/

/*
.pf-form .form-item input,
.pf-form .form-item select,
.pf-form .form-item textarea {
    padding: .25em .5em;
}
*/

.pf-form .form-item label,
.pf-form .form-item input,
.pf-form .form-item textarea,
.pf-form .form-item div.x-form-check-wrap
{
    /* float: left; */
    /* margin-right: 2px; */
    margin: 0;
}

.pf-form .form-item label {
    /* width: 120px; */
    text-align: right;
    margin-right: 10px;
    margin: 0;
}

.pf-form .form-item .help-popup-link {
    /* margin-top: 2px; */
    /* margin-left: 10px; */
    margin-left: auto;
}


/*****************************************/

/* Field Below */

.pf-form .field-below textarea,
.pf-form .field-below input {
    clear: both;
}

.pf-form .field-below label {
    text-align: left;
    width: auto;
    font-weight: 500;
    
}

.pf-form .field-below {
    padding-top: 8px;
}

/*
.pf-form .field-below textarea {
    width: 450px;
    height: 80px;
    margin-top: 3px;
}
*/

.pf-form .field-below .help-popup-link {
    margin-top: 1px;
}


/*****************************************/

/* Field on Left */

.pf-form .field-on-left label {
    width: auto;
    text-align: left;
    margin-left: 4px;
}

.pf-form .field-on-left input.checkbox {
    /* margin-top: 3px; */
}

* html .pf-form .field-on-left input.checkbox {
    margin-top: 0;
}

/*****************************************/

/* Checkbox list */

.pf-form ul.checkboxlist {
    clear: both;
}

.pf-form ul.checkboxlist li {
    list-style: none;
    display: block;
    margin-left: 35px;
}

.pf-form ul.checkboxlist li input,
.pf-form ul.checkboxlist li label {
    float: none;
    display: inline;
}

/*****************************************/

/* Subgroups */

.pf-form .subgroup {
    width: 100%;
    padding: 5px;
}

.pf-form .subgrouping-title {
    width: 100%;
}

.pf-form .subgroup ul {
    padding-bottom: 0px;
}

/*****************************************/

/* Error */

.pf-form .error label {
    color: red;
    font-weight: 500;
}

.pf-form .form-item .error-msg {
    display: none;
}

.pf-form .error .error-msg {
    color: red;
    font-style: italic;
    float: left;
    display: inline;
}

.pf-form .field-below .error-msg {
    clear: both;
}

/* Fieldsets */
.pf-form fieldset {
    margin: 20px 0;
    padding: 1em .5em;
    border: 1px solid var(--border-color);
    width: fit-content;
    min-width: 440px;
}

.pf-form fieldset:first-child {
    margin-top: 5px;
}

.pf-form fieldset:last-child {
    margin-bottom: 5px;
}


.pf-form fieldset legend {
    font: unset;
    font-weight: 600;
    font-size: 1.1em;
    width: auto;
    color: var(--brand-color-1);
    margin-bottom: 0;
    border: none;
}

/* Overrides */
.pf-form label {
    font-weight: 500;
}

.pf-form .help-wrap {
    vertical-align: middle;
    margin-left: auto;
    text-align: center;
}
