.ac_resultshead {
    padding-top: 37px;
    padding-bottom: 5px;
    background-image: url(../../docs/img/css/bg_searchinput.jpg);
    background-repeat: repeat-x;
    background-position: left top;
    /*border: 1px solid #c0c0c0;*/
    /*background-color: #d7d7d7;*/
    overflow: hidden;
    min-width: 220px !important;
    /*margin-top:2px;*/
    margin-left: -4px;
    min-height: 40px;
    z-index: 200;
    margin-top: -24px;
    /*top: 0 !important;*/
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    height: 100%;
    /*max-height: 80%;*/
    font-family: 'Gotham A', 'Gotham B';
    font-weight: 400;
    font-style: normal;
    position: fixed !important;
    /*overflow-y: auto;*/
}

    .ac_resultshead ul {
        width: 100%;
        max-height: 80%;
        margin-top: 24px;
        /*max-height: inherit;*/
        list-style-position: outside;
        list-style: none;
        padding: 0 0 10px 0;
        margin: 0;
        overflow-y: auto;
        overflow-x: hidden;
        background-color: #d7d7d7;
        -webkit-border-bottom-right-radius: 4px;
        -webkit-border-bottom-left-radius: 4px;
        -moz-border-radius-bottomright: 4px;
        -moz-border-radius-bottomleft: 4px;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
        
    }

        /********* Scrollbar ********/

        /*
 *  STYLE 1
 */

        .ac_resultshead ul::-webkit-scrollbar-track {
            /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
            border-radius: 5px;*/
            background-color: #d7d7d7;
        }

        .ac_resultshead ul::-webkit-scrollbar {
            background-color: #d7d7d7;
            width: 5px;
        }

        .ac_resultshead ul::-webkit-scrollbar-thumb {
            border-radius: 5px;
            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
            background-color: #4F4F4F;
        }

    .ac_resultshead iframe {
        display: none; /*sorry for IE5*/
        display /**/: block; /*sorry for IE5*/
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        filter: mask();
        width: 3000px;
        height: 3000px;
    }

    .ac_resultshead li {
        margin: 0;
        padding: 5px 2.3% 5px 1.4%;
        cursor: pointer;
        display: block;
        width: 96.3%;
        font: menu;
        font-size: 12px;
        line-height: 15px;
        overflow: hidden;
        font-family: 'Gotham A', 'Gotham B';
        font-weight: 400;
        font-style: normal;
    }

.ac_loading {
    background: Window url(https://www.laederachweibel.ch/xsltemplates/AutoComplete/ajaxloader.gif) right center no-repeat;
}

.ac_over {
    background-color: #1F7BC4;
    color: HighlightText;
}

/* Input Form */
div.divacinputfield {
    float: left;
}

    div.divacinputfield > input, button.divacbutton {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -box-sizing: border-box;
        height: 25px;
    }


    div.divacinputfield > .input_searchfield {
        border: 1px solid #c0c0c0;
        height: 25px;
        width: 200px;
        padding: 4px 2px 4px 4px;
        font-size: 13px;
        line-height: 14px;
    }

button.divacbutton {
    width: 60px;
    float: left;
    margin-left: 5px;
    text-align: center;
    padding: 4px 2px 4px 4px;
    font-size: 13px;
    line-height: 14px;
    border: 1px solid #c0c0c0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background-color: white;
}





/*Placeholder formatieren */
div.divacinputfield > input::-webkit-input-placeholder { /* WebKit browsers */
    color: #a0a0a0;
}

div.divacinputfield > input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #a0a0a0;
    opacity: 1;
}

div.divacinputfield > input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #a0a0a0;
}

div.divacinputfield > input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #a0a0a0;
    opacity: 1;
}

/* ############################### MAX 768 ################################## */
@media only screen and (max-width: 980px) {
    .ac_resultsfooter {
        position: relative !important;
        width: 100% !important;
        top: 0 !important;
        left: 0 !important;
        margin-left: 0;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 200px;
        z-index: 0 !important;
    }

    .portal .ac_resultsfooter {
        margin-top: 0 !important;
    }

    .ac_resultsfooter ul{
        /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);*/
        border-bottom: 1px solid 		#ccc /*{c-bup-border}*/;
        padding-bottom: 0;
    }

        .ac_resultsfooter li {
            font-size: 15px;
            line-height: 28px;
            padding-left: 3.9%;
            padding-right: 3.9%;
            padding-bottom: 5px;
            padding-top: 5px;
            border: 1px solid 		#ccc /*{c-bup-border}*/;
            border-bottom: none;
	        background: 			#EAEAEA /*{c-bup-background-color}*/;
	        color: 					#4f4f4f /*{c-bup-color}*/;
	        text-shadow: 0 /*{c-bup-shadow-x}*/ 1px /*{c-bup-shadow-y}*/ 0 /*{c-bup-shadow-radius}*/ #fff /*{c-bup-shadow-color}*/;
        }

        .ac_resultsfooter li:hover {
            background: 			#f6f6f6 /*{c-bup-background-color}*/;
        }
}


@media only screen and (min-width: 768px) and (max-width: 980px) {
    .ac_resultsfooter {
        margin-top: 428px;
    }
}


@media only screen and (max-width: 480px) {

}


/* ############################### MAX 697 ################################## */
@media only screen and (max-width: 697px) {
    .ac_resultsfooter li {
            padding-left: 13.5%;
            padding-right: 13.5%;
        }
}

@media only screen and (max-width: 320px) {
    .ac_resultsfooter {
        margin-top: 200px;
    }

    .ac_resultsfooter li {
            padding-left: 9.37%;
            padding-right: 9.37%;
        }
}
