
.twitter-typeahead {
    width: 100%;
}

.typeahead,
.tt-query,
.tt-hint 
{
    width: 100%;
    height: 38px;
    margin: 8px auto;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 8px 12px;
    outline: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    font-size: 1.275rem;
    font-weight: 390;
    line-height: 1.5;
    color:#212529;
}


.tt-menu {
    width: 116%;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    animation: scale-auto-complete 200ms cubic-bezier(0,0,.38,.9);
    transform-origin: top;
}


.tt-suggestion {
    margin: 5px auto;
    width: 95%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 3px 0px;
    font-size: 14px;
    line-height: 20px;
    transition: 0.5s background-color ease-in-out;
}

.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background-color: #DCDCDC;
    color: #333;
}

.tt-suggestion i {
    width: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typeahead-name {
    width: 70%;
    padding-bottom: 2px;
    margin: 0px;
    border-bottom: 2px solid ;
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.typeahead-span {
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 4px 0;
    border-radius: 2px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.typeahead-span p {
    width: 90%;
    height: 70%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 2px;
}

.typeahead-courses {
    background-color: #363636;
}

.typeahead-courses-border{
    border-color: #363636;
}
.typeahead-teachers {
    background-color: #777;
}

.typeahead-teachers-border {
    border-color: #777;
}

.typeahead-stores {
    background-color: #b4b4b4;
}

.typeahead-stores-border {
    border-color: #b4b4b4;
}

.tt-cursor {
    background-color: #DCDCDC;
    color: #333;
}



@keyframes scale-auto-complete {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}


@media (max-width:1440px) {
    .tt-suggestion i {
        display: none;
    }

    .typeahead-name {
        width: 70%;
    }

    .typeahead-span {
        width: 25%;
    }
    
}