.ac_resultshead {
    padding-top: 0px;
    padding-bottom: 5px;
    overflow: hidden;
    min-width: 246px !important;
    /*margin-left: -4px;*/
    min-height: 40px;
    z-index: 11000;
    height: 100%;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #222222;
    max-height: calc(100vh - 174px);
    /*position: fixed !important;*/
    /**/
}

    .ac_resultshead ul {
        width: 100%;
        max-height: 90%;
        /*margin-top: 24px;*/
        list-style-position: outside;
        list-style: none;
        padding: 0 0 0 0;
        margin: 2px 0 0 0;
        overflow-y: auto;
        overflow-x: hidden;
        background: #f3f5f6;
    }

        /********* 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: 6px 5px 6px 5px;
        cursor: pointer;
        display: block;
        width: 100%;
        box-sizing: border-box;
        font: menu;
        overflow: hidden;
        border-bottom: 1px solid #dbe1e6;
        font-family: 'Source Sans Pro', sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 28px;
        color: #222222;
        position: relative;
    }

        .ac_resultshead li:last-child {
            border-bottom: none;
        }

        .ac_resultshead li.ac_over {
            color: #D13010;
        }

        /*.ac_resultshead li.ac_over:after {
            content: '';
            position: absolute;
            right: 5px;
            top: 10px;
            display: block;
            width: 10px;
            height: 10px;
            border-top: 1px solid #8ea0b1;
            border-right: 1px solid #8ea0b1;
            border-width: 1px;
            -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
        }*/

.ac_loading {
    background: Window url('./ajaxloader.gif') right center no-repeat;
}

.ac_over {
    background-color: rgba(123, 123, 123, .1);
    /*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;
    }

    .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}*/;
        }
}


/* ############################### 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%;
        }
}
