.searchbar{
    position: relative;
    vertical-align: top;
    padding: 3px;
    text-align: center;
}

.searchbar, .search-overlay{
    display: none;
}

.search-overlay{
    display: block;
}

.logged .searchbar{
    display: inline-block;
}

.searchbar input.main, .searchbar .hidden{
    position: relative;
    font-size: 23px;
    font-family: calibri;
}

.searchbar input{
    width: 45px;
    border: none;
    font-size: 23px;
    padding: 7px 7px;
    margin-left: 26px;
    text-align: center;
    background: url(/img/search.png) no-repeat center #e8de4c;
    background-size: 30%;
    vertical-align: middle;
}

.searchbar .hidden{
    position: absolute;
    visibility: hidden;
    pointer-events: none;
}

.suggested > .subs, [have-father] > .subs{
    display: block;
}

.subs{
    display: none;
    position: absolute;
    top: 10px;
    left: 92%;
    border: 5px solid rgba(62, 62, 62, 0.12);
    font-size: 13px;
    border-left: 0;
    z-index: 20;
    background-image: url(/img/dot.png);
    background-repeat: repeat;
    background: #dad044;
    margin-bottom: 80px;
}

.subs .lefty{
    position: absolute;
    left: 0;
    width: 5px;
    height: calc(100% - 15px); 
    top: 15px;
    background: rgba(62, 62, 62, 0.12);
}

.subs div[have-father]{
    /*background: red !important;*/
}

.subs div[item-id]{
    max-width: 185px;
    position: relative;
    padding: 10px 26px;
    margin: 6px 10px 3px 12px;
    border-right: 5px solid rgba(62, 62, 62, 0.12);
    background: transparent;
    white-space: nowrap;
    text-align: left;
    cursor: pointer;
}

.subs div[item-id] .label{
    width: 95%;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: middle;
    margin-left: 5px;
    white-space: normal;

}

.search-overlay {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    overflow: auto;
    background: rgba(255, 255, 255, 0.6);

}

.holder{
    background: #e8de4d;
    position: absolute;
    white-space: initial;
    margin-top: -1px;
    pointer-events: all;
    padding-top: 12px;
    min-width: 200px;
}

.holder > div {
    background: #e8de4d;
    padding: 14px;
    margin: 0 12px 12px 12px;
    border: 5px solid #ccc340;
    position: relative;
}

.holder div.suggested{
    background: #dad044;
}

@media screen and (max-width: 500px){

    .search-overlay{
        background: rgba(255, 255, 255, 0.12);
        pointer-events: none;
        z-index: 1002;
    }

    .searchbar{
        position: fixed !important;
        left: 0;
    }

    .searchbar input{
        margin-left: 15px !important;
    }

}