.ext-el-mask-msg{border:1px solid #6593cf;background:#c3daf9 url(../images/tb-blue.gif) repeat-x 0 -16px;padding:2px;}
.ext-el-mask-msg div{padding:5px 10px 5px 10px;background:#eee;border:1px solid #a3bad9;color:#222;font:normal 11px tahoma,arial,helvetica,sans-serif;cursor:wait;}
.x-mask-loading div{padding:5px 10px 5px 25px;background:#fbfbfb url( '../images/loading.gif' ) no-repeat 5px 5px;line-height:16px;}

.grayBorder > form {
    margin: 12px; /*-7px of .form-table tr td*/
}

a.button{
    margin-bottom: 0 !important;
}

fieldset {
    padding: 12px;
    border: 1px solid #bbb;
}

fieldset legend {
    font-size: 13px;
    font-weight: bold;
    padding: 0 6px;
}

.feedbackPanelERROR {
    color: #90060f;
    text-align: left;
}

ul.feedbackPanel{
    list-style-position: inside;
    text-align: left;
    margin: 12px 24px 12px 24px;
}

div.feedback{
    text-align:left
}

textarea {
    height: auto;
    width: auto;
}

.form-table tr td{
    padding: 7px;
    vertical-align: top;
}

table.fixed{
    table-layout:fixed !important; /*IE 7 инпуты с длинными значениями*/
}

.form-table, .form-table table {
    margin-bottom: 0;
}

input.text, input.title, textarea {background-color: #fff;border: 1px solid #bbb;padding: 2px;}
input.text:focus, input.title:focus {border-color:#666;}
input[type=text], input[type=password], input.text, input.title, textarea, select {background-color:#fff;border:1px solid #bbb;padding: 2px;font: 13px Arial;}
input[type=text]:focus, input[type=password]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus {border-color:#999;outline: none;box-shadow: 0 0 3px 0 rgba(0,100,250,0.6);}

.form-table input, .form-table textarea, .form-table select {
    width: 100%;
    margin: 0 !important;
}

.ie7 .ufd button {
    margin-top:-3px;
}
.ie7 table.list .ufd button{
    margin-left:1px !important;
}

/* компенсация красному бордеру - выдавливает картинку
.ufd input.required{
    padding-right:2px !important;
}
*/


/*
.firefox .ufd button {
    margin-top:-2px;
}

table.list .ufd button{
    margin-top:7px;
}
.ie8 table.list .ufd button{
    margin-top:8px !important;
}
.ie7 table.list .ufd button{
    margin-top:4px !important;
}
.firefox table.list .ufd button{
    margin-top:7px !important;
}

table.list .ufd input{
    width:100%;
}
*/

.form-table textarea {
    padding-right: 3px !important;
}

.black {
  color:black !important;
}

input[type="checkbox"], input[type="radio"], input.checkbox, input.radio {
    position: relative;
}
.ie7 .tab-panel input[type="checkbox"]{ /* ODSTELE-177 */
    position:static !important;
}
.form-table input[type="checkbox"] {
    width: 12px !important;
    top: 0.2em;
}

/*
input.required, div.select-required, textarea.required {
    border-left: 1px solid #90060f !important;
}

div.select-required select, div.select-required div.select-required {
  border-left:0 !important;
}

div.required input {
  border-left: 1px solid #90060f;
}
*/

.form-table select{
    color:black !important;
}

.form-table input.hasDatepicker {
    width: 76px !important;
}

.form-table img.ui-datepicker-trigger {
    border-left: 5px solid transparent;
    cursor: pointer;
}

div span input.hasDatepicker {
    width: 76px !important;
}

div span img.ui-datepicker-trigger {
    border-left: 5px solid transparent;
    cursor: pointer;
}

/*выравнивает иконку календаря*/
.yui-skin-sam {
    display: inline-block;
    vertical-align: bottom;
}

#ufd-container li {
    line-height: 22px;
}

/* label */
label {
    color: black;
    font-weight: normal;
    display: inherit;
    text-align: right;
}
.form-table label { /*чтоб работал right align*/
    display: block;
}
label.checkbox{
    display: inline;
    padding-left: 6px;
}
label.required:before{
    content: "* ";
    color:#ff0000;
    font-weight: bold;
}
label.error{
    color:#90060f;
    font-weight: bold;
}
.ie7 label.required{
    color:#90060f;
}

/** AUTOCOMPLITE**/

div.wicket-aa-container{
    border:1px solid #CCCCCC;
}
div.wicket-aa {
    background-color:white;
    color:black;
}
div.wicket-aa ul {
    list-style: none outside none;
    margin:0;
    padding:5px;
}
div.wicket-aa ul li.selected {
    background-color:#CAD8E8;
    cursor:pointer;
}
