
.ui-datepicker { padding: 6px }

.ui-autocomplete-loading { background: white url('/images/ui-anim_basic_16x16.gif') right center no-repeat; }
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}
.ui-autocomplete li.ui-menu-item {
    line-height: 1;
    -font-size: smaller;
}


.ui-state-default.green,
.ui-widget-content .ui-state-default.green,
.ui-widget-header .ui-state-default.green,
.ui-state-default#button-changepassword,
.ui-widget-content .ui-state-default#button-changepassword,
.ui-widget-header .ui-state-default#button-changepassword
{
    background: #006633 url(images/ui-bg_highlight-hard_40_006633_1x100.png) 50% 50% repeat-x;
}

.ui-state-hover.green,
.ui-widget-content .ui-state-hover.green,
.ui-widget-header .ui-state-hover.green,
.ui-state-focus.green,
.ui-widget-content .ui-state-focus.green,
.ui-widget-header .ui-state-focus.green,
.ui-state-hover#button-changepassword,
.ui-widget-content .ui-state-hover#button-changepassword,
.ui-widget-header .ui-state-hover#button-changepassword,
.ui-state-focus#button-changepassword,
.ui-widget-content .ui-state-focus#button-changepassword,
.ui-widget-header .ui-state-focus#button-changepassword,
.ui-state-active.green,
.ui-widget-content .ui-state-active.green,
.ui-widget-header .ui-state-active.green
{
    background: #006633 url(images/ui-bg_diagonals-small_20_006633_40x40.png) 50% 50% repeat;
}

.ui-state-default.red,
.ui-widget-content .ui-state-default.red,
.ui-widget-header .ui-state-default.red
{
    background: #980000 url(images/ui-bg_highlight-hard_40_a32424_1x100.png) 50% 50% repeat-x;
}

.ui-state-hover.red,
.ui-widget-content .ui-state-hover.red,
.ui-widget-header .ui-state-hover.red,
.ui-state-focus.red,
.ui-widget-content .ui-state-focus.red,
.ui-widget-header .ui-state-focus.red,
.ui-state-active.red,
.ui-widget-content .ui-state-active#red,
.ui-widget-header .ui-state-active#red
{
    background: #980000 url(images/ui-bg_diagonals-small_20_980000_40x40.png) 50% 50% repeat;
}


.ui-button .ui-button-text {
    line-height: 1.3;
}

.ui-widget p {
    margin-bottom: 0px;
}

/* */
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
/* */
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_inset-soft_45_fef1ec_1x100.png) 50% bottom repeat-x; color: #cd0a0a; }
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
/* */
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
/* */
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }




div.error-to-user {
    padding: 0.7em; margin-bottom: 0px; margin: 0.5em;
}
div.error-to-user p {
    margin-bottom: 1em;
}
div.error-to-user ul {
    margin-top: 1em;
    margin-bottom: 1em;
}
div.error-to-user p:last-of-type {
    margin-bottom: 0px;
}
div.error-to-user li {
    font-size: small;
    margin-bottom: 0px;
}



