/* This file is part of cbautocomplete2.
 * Copyright © 2010-2013 stiftung kulturserver.de ggmbh <github@culturebase.org>
 *
 * cbui is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * cbui is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with cbui.  If not, see <http://www.gnu.org/licenses/>.
 */

.__AC_position {
   background-image:    url('/module/jscript/lib/jquery_plugins/autocomplete2/pointer.gif');
   background-position: center top;
   background-repeat:   no-repeat;
   color:               #000000;
   font-family:         Arial;
   font-size:           11px;
   padding-top:         11px;
   position:            absolute;
}

.__AC_layer {
   background-color: #F7ECCF;
   border-radius:    4px;
   -moz-border-radius: 4px;
   -webkit-border-radius: 4px;
   position:         relative;
   padding:          15px 0px 10px 10px;
   z-index:          1;
}
.__AC_layer:before, .__AC_layer:after{
   content: '.';
   display: block;
   height: 0;
   overflow: hidden;
   visibility: hidden;
   width: 0;
   clear: both;
}

.__AC_data {
   max-height:    200px;
   overflow-y:    auto;
   padding-right: 10px;
}

.__AC_close {
   background-image: url('/module/jscript/lib/jquery_plugins/autocomplete2/close-large.gif');
   background-size: contain;  
   cursor:           pointer;
   height:           18px;
   width:           18px;
   position:         absolute;
   right:            2px;
   top:              13px;
   z-index:          2;
}

.__AC_data div {
   padding: 2px;
}

.__AC_data div:hover, .__AC_keyhover, .__AC_ie8HoverFix {
   background-color: #F1851B;
   cursor:           pointer;
   color:            #ffffff;
}

.__AC_button {
   margin: 10px 11px 0 0;
   text-decoration: none;
   padding: 0 5px;
   font-size: 11px;
   color: #a73c2e;
   background-color: #fcfcf9;
   background-image: linear-gradient(bottom, rgb(238,238,238) 15%, rgb(218,218,218) 45%, rgb(238,238,238) 85%);
   background-image: -webkit-gradient(
      linear,
      left bottom,
      left top,
      color-stop(0.15, rgb(246,246,239)),
      color-stop(0.85, rgb(255,255,255))
   );
   background-image: -webkit-linear-gradient(bottom, rgb(246,246,239) 15%, rgb(255,255,255) 85%);
   background-image: -moz-linear-gradient(bottom, rgb(246,246,239) 15%, rgb(255,255,255) 85%);
   background-image: -ms-linear-gradient(bottom, rgb(246,246,239) 15%, rgb(255,255,255) 85%);
   background-image: -o-linear-gradient(bottom, rgb(246,246,239) 15%, rgb(255,255,255) 85%);
   vertical-align: middle;
   font-weight: bold;
   border: 1px solid rgb(189,190,178);
   -moz-box-shadow: 0 0 5px rgb(189,190,178);
   -webkit-box-shadow: 0 0 5px rgb(189,190,178);
   box-shadow: 0 0 5px rgb(189,190,178);
   text-align: center;
   line-height: 250%;
   -moz-border-radius: 2px 2px 2px 2px;
   -webkit-border-radius: 2px 2px 2px 2px;
   border-radius: 2px 2px 2px 2px;
   cursor: pointer;
}

input.__AC_invalidated {
   background-color: #DAE1E4;
   color:            #5F7BA5;
   background-image: url('/module/jscript/lib/jquery_plugins/autocomplete2/glas_icon.svg');
   background-position: right center;
   background-repeat:   no-repeat;
   font-style:       normal !important;
}

.__CbUiCbTexPageContainer input.__AC_invalidated {
   background-color: #DAE1E4;
   color:            #5F7BA5;
}

input.__AC_editing {
   background-color: #F7ECCF !important;
   color:            #D95E28 !important;
   background-image: url('/module/jscript/lib/jquery_plugins/autocomplete2/editing.svg');
   background-position: right center;
   background-repeat: no-repeat;
   font-style:       normal !important;
}

input.__AC_validating, div.__AC_validating {
   background-color: #F7ECCF !important;
   color:            #D95E28 !important;
   background-image: url('/module/jscript/lib/jquery_plugins/autocomplete2/validating.svg');
   background-position: right center;
   background-repeat: no-repeat;
   font-style:       normal !important;
}

input.__AC_validated {
   background-color: #EDF4D8 !important;
   color:            #42443F !important;
   background-image:url('/module/jscript/lib/jquery_plugins/autocomplete2/validated.svg');
   background-position: right center;
   background-repeat: no-repeat;
   font-style:       normal !important;
}

input.__AC_freetext {
   background-color: #ECEDE1 !important;
   color:            #3F3F3F !important;
   font-style:       normal !important;
}
