/*******************************************************************************/
/* styly pro autocomplete */
.custom-combobox {
    vertical-align: top;
    border: 1px solid #cccccc;
	  -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;
    background-color: white;
  	position: relative;
    display: block;
    height: 32px; /*IE8*/
    /*overflow: hidden;*/ /*likviduje to otaznik */
	/*display: inline-block;*/
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.custom-combobox.multiselect {
    border: 1px solid #d3d3d3;
	  -webkit-border-top-right-radius: 0px; -webkit-border-top-left-radius: 0px; -moz-border-radius-topright: 0px; -moz-border-radius-topleft: 0px; border-top-right-radius: 0px; border-top-left-radius: 0px;
}
.custom-combobox a.custom-combobox-toggle {
    /*position: relative;*/
    margin-left: -30px;
    height: 18px;
    margin-top: 6px;
    width: 17px;
    right: 11px;
    border: 1px solid #707070;
    moz-border-radius: 0px; -webkit-border-radius: 0px; -khtml-border-radius: 0px; border-radius: 0px;
    background: #f0f8ff;
}
.custom-combobox .custom-combobox-input {
    width:100%;
    height: 32px;
    padding: 0px;
    padding-left: 6px;
    margin-top: -1px;
    _margin-top: 0px;
    outline: 0px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    cursor: pointer;
    vertical-align: top;    
}

.custom-combobox .ui-state-default, .ui-widget-content .ui-state-focus  {
    background: none;
    border: 0px;
}

.custom-combobox .custom-combobox-toggle .ui-button-icon-primary {
    /*background-color: red;*/
    left: 7px;
    width: 13px;
    top: 55%;
}
.custom-combobox-input {
	padding: 0.3em;
}
.custom-combobox input.ui-autocomplete-loading {
	background: white url('ajax-loader.gif') no-repeat;
    background-position: right 28px center; /* v safari prozatim nefunguje, bug */
}
.custom-combobox.readonly {
    cursor: not-allowed;
    background-color: #EEE;
}
.custom-combobox.readonly  a.custom-combobox-toggle {
    border-color: #B1B1B1
}
.custom-combobox input.formError  {
    box-shadow: 0px 0px 1px #d93438 inset, 0px 0px 5px #d93438;
}

/* tohle by melo resit prechod do responsive a rozsireni na 100%, ale bohuzel blbne pak ul s optionama pri rozkliku v chrome */
@media (max-width:767px){
    .custom-combobox {width: 100%;}
}

ul.ui-autocomplete {
    list-style-type: none;
    max-height: 300px;
    overflow: auto;
    padding-left: 0px;
}
ul.ui-autocomplete li{
    display: block;

}
ul.ui-autocomplete li strong{
    background-color: #ffe992;
}
.ui-widget {
    font-size: 1em;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}


ul.ui-autocomplete li.ui-menu-item:hover, ul.ui-autocomplete li.ui-menu-item.selected{
    background-color: #c7e4f2;
}
                                      
.ui-widget-content .ui-state-focus {
    background-color: #c7e4f2;
    display: block;
    moz-border-radius: 0px; -webkit-border-radius: 0px; -khtml-border-radius: 0px; border-radius: 0px;
}

ul.ui-autocomplete li.ui-menu-item a{
    padding-left: 8px;
    display: block;
    line-height: 24px;
}

ul.ui-autocomplete li.ui-menu-item:hover a{
    background:none;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.custom-combobox-toggle {
	position: absolute;
	top: 0;
	bottom: 0;
	margin-left: -1px;
	padding: 0;
	/* support: IE7 */
	*height: 1.7em;
	*top: 0.1em;
}



ul.multi-box .close {
    /*padding-left: 8px;*/
    line-height: 28px;
    margin-right: 10px;
}
ul.multi-box {
    margin: 0px;
    list-style: none outside none;
    background-color: #f5f5f5;
    border: 1px solid #d3d3d3;
    border-bottom: 0px;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    padding-left: 0;
}
ul.multi-box li {
    display: block;
    line-height: 32px;
    padding-left: 6px;
}
ul.multi-box li:hover {
    background-color: #dfdfdf;
}

/* has-error a has-warning prebarveni */
.has-warning .custom-combobox {
    border-color: #EEDC7D;
}
.has-alert .custom-combobox {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
.has-error .custom-combobox {
    border-color: #D48989;
}