fieldset {
    border: 2px solid #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    border-radius: 8px;
    background-color: #f4f5f5;
    color: black;
}
/*fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}*/

/*legend {
    width: inherit;
    padding: 0 10px;
    border-bottom: none;
    font-size: 21px;
}*/
legend {
    display: block;
    width: auto;
    max-width: 100%;
    padding: 0 1rem 0 1rem;
    margin-bottom: .5rem;
    font-size: 1.5rem;
    line-height: inherit;
    color: inherit;
    white-space: normal;
}

.label-text-small {
	font-size: x-small;
    font-weight: 600;
    margin-left: 1rem; 
}

form fieldset label {
	margin-bottom: 0 !important;
}

.custom-input {
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url(data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E) no-repeat right 0.75rem center;
    background-size: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}