div.form {
    width:100%;
}

div.element {
    width:100%;
    padding: 5px 0px;
    padding-left:5px;
}
div.element:first-child {
    padding-top:0px;
}

div.element h1 {
    margin:0px;
    margin-bottom:10px;
}
div.element h2 {
    margin:0px;
}

div.element p {
    margin:0px;
}

div.element table.form-inline-table {
    width:100%;
    table-layout: fixed;
    border-collapse: collapse;
}

div.element table.form-inline-table.address-table td {
    padding: 5px 0px;   
}

div.element table.form-inline-table tr td {
    line-height:25px;    
    vertical-align: top;
}

div.element table.form-inline-table tr td table.radio-group-table {
    width:100%;
    table-layout: fixed;
    border-collapse: collapse;
}

div.element table.form-inline-table tr td table.radio-group-table td {
    position:relative;
    padding-top:0px!important;
    line-height:25px;
    vertical-align: top;
}
 
table.form-inline-table tr.validationmessage {
    display: none;
}
table.form-inline-table tr.validationmessage td {
    padding-bottom:6px;    
}
table.form-inline-table tr.validationmessage td span.validationmesssage {
    position:relative;
    background-color: red;
    color: white;
    padding:3px 8px;
    border-radius: 3px;
}
span.validationmesssage span.anchor {
    position:absolute;
    width:10px;
    height:5px;
    background: transparent url(../img/validation.anchor.png) no-repeat;
    bottom:-5px;
}


div.buttonbar.signup button:disabled {
    background-color: #BABABA;
    border-color: #ABABAB;
}
div.buttonbar.signup button:hover:disabled {
    background-color: #BABABA;
    border-color: #ABABAB;
    color: white;
}

div.form.flex {
    
    display: flex;    
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
}
div.form.flex div.element{
    padding: 0;
}
div.form.flex div.element div.row {    
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: stretch;
    padding: 5px 0px;
    min-height: 35px;
}
div.form.flex div.element div.row div.caption {
    padding-top: 6px;
}

div.form.flex div.element div.row div.field-value span.checkboxspacer {
    top: 0px;
}

div.form.flex div.element div.row div.field-value span.posttext {
    padding-top: 6px;    
}
