.widget-error input,
.widget-error select,
.widget-error textarea {
    border: 1px solid red !important;
    border-radius: 2px;
    box-shadow: 0 0 3px red;
}

.bosson-form {
    width: 100%;
    margin-bottom: 1rem;
}

.bosson-form>fieldset,
.bosson-form>table
{
    width: 85%;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.bosson-form>fieldset {
    border: inherit;
    border-top: 1px solid #BBBBBB;
    text-align: center;
}
.bosson-form legend {
    display: block;
    margin: 0 auto;
}

.bosson-form .required {
    font-weight: bold;
}

.bosson-form fieldset>table {
    width: 100%;
}

.bosson-form .labels {
    width: 50%;
    padding-right: 1rem;
    text-align: right;
}

.bosson-form .widgets {
    width: 28%;
    text-align: left;
}

.bosson-form .field-errors {
    width: 32%;
    font-size: 80%;
}

.bosson-form input[type=checkbox] {
    padding: 0.25rem;
    background: white;
}

.bosson-form label.disabled {
    font-style: italic;
}

.bosson-form input[type=text],
.bosson-form input[type=password],
.bosson-form input[type=email],
.bosson-form input[type=number],
.bosson-form input[type=file],
.bosson-form select,
.bosson-form textarea {
    width: 14rem;
}

.bosson-form .extra-buttons {
    width: 100%;
}

.bosson-form .submit-line td {
    padding-top: 1rem;
    text-align: center;
}

.bosson-form .submit-line input {
    background-color: #246DBD;
    color: white;
    min-width: 6rem;
}

.bosson-form .labels .form-tooltip-icon {
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 16px;
    font-weight: bold;
    font-size: 80%;
    text-align: center;
    margin-left: 0.2rem;
    background: url('/static/images/icons/help_18x18.png') no-repeat center center;
}

.bosson-form .field-errors .bosson-message-box {
    margin: 0;
    color: #AF0000;
    background-color: transparent;
    padding: 0.1rem;
    min-height: inherit !important;
    vertical-align: middle;
}

.bosson-form .field-errors .bosson-icon {
    display: none;
}

.bosson-form .widgets ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.bosson-form .button { 
    background-color: #CCCCCC;
    border: 1px solid #0B1211;
    border-radius: 4px;
    color: #0B1211;
    display: inline-block;
    font-size: 90%;
    line-height: 1.6rem;
    margin: 0px auto;
    min-height: 1.6rem;
    min-width: 4rem;
    padding: 0.15rem 0.8rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
