/* Error Message box */
.errors {  border: solid 1px #CC0000; color: #CC0000 !important; padding: 1.0em 1.0em 1.0em 50px !important; background: #FFE7E4 url(./gfx/cancel.png) no-repeat 10px 10px; }

/* Success Message box */
.success { border: solid 1px #4F8A10; color: #4F8A10 !important; padding: 1.0em 1.0em 1.0em 50px !important; background: #DFF2BF url(./gfx/success.png) no-repeat 10px 10px; }


#content p.error { position: relative; top: -9px; display: block; color: #F00; font-style: italic; font-weight: normal; }
#content fieldset.error, #content input.error { margin-bottom: 0; padding-bottom: 0; border: 1px dotted #F00; background-color: #FFECE6; }
#content textarea.error { border: 1px dotted #F00; background-color: #FFECE6; }
#content fieldset p.error {
	 margin-left: 27%;
	 padding-left: 12px;
	 width: 80%;
}

#content fieldset a { float: right; }
#content fieldset fieldset.leftright p.error { margin-top: 1em; }

#content form label.longerlabel { width: 90%; }

#content .next { float: right; }
#content .back { float: left; }

#content fieldset fieldset.leftright label { display: inline; width: 15%; }

table.ui-datepicker-calendar td:not(:nth-child(3)) { opacity: 0.65; filter: Alpha(Opacity=65); background-image: none; }
table.ui-datepicker-calendar td.ui-state-disabled { opacity: 0.35; filter: Alpha(Opacity=35); background-image: none; }


.select2-container--default .select2-selection--single { border: 1px solid #ccc; border-radius: 3px 3px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #000; line-height: 25px; }
.select2-container .select2-selection--single .select2-selection__rendered { padding-left: 5px; }
.select2-container .select2-results { color: #000; }


#content fieldset p.error#hiddenRecaptcha-error {
    margin-left: 0;
    top: 0;
}

#content form fieldset fieldset.leftright legend {
    line-height: 16px;
    width: 186px;
    vertical-align: top;
    margin: 0 0 20px 0;
    padding: 2px 0 0 0;
    font-weight: bold;
    min-height: 21px;
    overflow: visible;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-size: 15px;
}


#content form fieldset select {
    appearance: none;
    padding-left: 5px;
    border-radius: 3px 3px;
    background: #fff url(/_assets/_gfx/down-arrow-yellow.svg) no-repeat right+5px center;
}


#content form fieldset select.error {
    margin-bottom: 0;
    padding-bottom: 0;
    border: 1px dotted #F00;
    background-color: #FFECE6;
}

#content form fieldset img { float: right; padding-top: 3px; }

#content form fieldset dialog {
    width: 500px;
    background: #f1f1f1;
    border: 1px solid #dadada;
    font-family: sans-serif;
    padding: 5px 10px 5px 20px;
    z-index: 5000;
    display: none;
}
