body {
    margin: 0 auto 0 auto;
    padding: 0;
    width: 98%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8em;
}

a {
    color: #0150C6;
}

#header {
    /* position: absolute; */
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #000;
    padding: 0;
}

#header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
}

.headertext {
    font-size: 1.35em;
    font-weight: normal;
    padding: 0;
    margin: 0;
    color: #000000;
    border: none;
    line-height: 1.5em;
}

.clear {
    clear: both;
    height: 1px;
}

.hrule {
    margin: 0;
    padding: 0;
    height: 1px;
    border-bottom: 1px solid #5C87B2;
}

#title .hrule {
    width: 100%;
    border-bottom: 1px solid #CCCCB2;
}

@media (max-width: 40em) {
    #headersubtitle {
        display: none;
    }
}

#searchtypelinks {
    /* padding-top: 3.8em; */
    margin: 2em 0;
}

#searchtypelinks a {
    display: inline-block;
    padding: 0.2em 0.5em;
    margin: 0 1em 0 0;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#searchtypelinks a:hover {
    background: #ddd;
    text-decoration: none;
}

#searchtypelinks a.activelink {
    color: #333;
}

#searchtypelinks a.activelink:hover {
    color: #333;
    background: none;
    text-decoration: none;
}

#searchtypelinks span {
    color: #999999;
    padding-left: 0.6em;
    padding-right: 0.6em;
}

#searchtypelinks span#searchforlabel {
    color: #999999;
    margin: 0 1em 0 1em;
    padding: 0;
}

#searchformcontainer { 
    margin: 0 auto 0 auto;
    padding: 1em 2em 1em 6em;
    /* background-color: #efefef; */
    background-color: whitesmoke;
    border: 1px solid #ccc;
}

input, textarea {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    margin: 5px 0 5px 3px;
    padding: 5px;
}

img.ui-datepicker-trigger {
    right: 2em;
    position: relative;
}

#searchresults {
    border:1px solid #ccc;
    border-collapse:collapse;
    width: 100%;
    margin: 0 auto 1em auto;
    padding: 0;
}

#resultscontainer {
    border: 1px solid white;
    /* width: 68em; */
    margin: 2em auto 0 auto;
}

#searchresults thead th {
    background-color: #d8dfe7;
    padding: 2px 4px 2px 4px;
    border: 1px solid #ccc;
}

#searchresults thead td {
    padding: 2px 4px 2px 4px;
    border: 1px solid #ccc;
}

#searchresults tbody th {
    background-color: #d8dfe7;
    padding: 2px 4px 2px 4px;
    border: 1px solid #ccc;
}

#searchresults tbody td {
    padding: 4px;
    border: 1px solid #ccc;
}

div#searchresults_length {
    padding-top: 6px;
}

div#searchresults_info {
    /*margin: 5px 5px 0 20px;*/
    padding-top: 0.5em;
    float: right;
    clear: right;
}

div#searchresults_filter {
    margin-left: 2em;
    float: left;
}

div#searchresults_filter input {
    width: 14em;
}

.nonbreak {
    white-space: nowrap;   
}

.tdleft {
    text-align: left;
}

.tdcenter {
    text-align: center;
}

.tdright {
    text-align: right;
}

input[type="submit"], input[type="button"], button {
    background-color: #d3dce0;
    border: 1px solid #787878;
    cursor: pointer;
    font-weight: 600;
    padding: 0.4em;
    margin: 0.1em;
}

.field-validation-error {
    margin-left: 8em;
    color: red;
}

/*
#helpspan {
    margin: 0 0.3em 0 0.3em; 
}
*/

.btntblhelp {
    margin: 0 0.3em 0 0.3em;
    padding: 0.1em 0.3em;
    border: 1px solid green;
    border-radius: 4px;
    background-color: white;
    color: #333;
}

.btntblhelp:hover {
    background-color: #ddd;
    text-decoration: none;
}

#filterdialog {
    display: none;
}

.noresults {
    margin-left: 1.3em;
}

.footerRight {
    float: right;
    padding: 2em 1em 2em 1em;
}
