legend {
    display:block;
    margin-top:2em;
    margin-bottom:1em;
    border-bottom:1px dotted #ccc;
    font-size:1.266em;
    font-weight:normal;
    color:#690034;
}
.widget-checkbox span,
.radio_container span {
    display:block;
}
.flex > .formbody .widget,
fieldset.flex .widget {
    min-width:240px;
    margin-right:0;
    margin-left:0;
    padding-right:2em;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
     -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    -webkit-hyphens:auto;
    -moz-hyphens:auto;
    -ms-hyphens:auto;
    hyphens:auto;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    flex-basis:20em;
    flex-grow:1;
}
.flex .widget.no-flex.w50 {
    margin-right:50%;
    flex-basis:50%;
}
input:optional,
textarea:optional {
    border:2px solid #a9bcc2;
}
input:valid,
textarea:valid {
    border:2px solid #00ad6e;
}
input:invalid,
textarea:invalid,
.error input,
.error textarea {
    border:2px solid #c9007c;
}
p.error,
span.error {
    font-weight:bold;
    color:#f00;
}
body form button,
input[type="submit"],
body .button {
    font-size:1em;
}
body .mod_cms_accept_tags button,
body .mod_cms_cookie_bar button {
    padding-top:.3em;
    padding-bottom:.3em;
    background-image:none;
}
body .mod_cms_accept_tags form {
    border-radius:.5em;
}
