﻿@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.rd-typeahead {
    position: relative;
}

    .rd-typeahead .loader {
        /* display: none; */
        border: 4px solid #f3f3f3;
        border-radius: 50%;
        border-top: 4px solid #999;
        width: 30px;
        height: 30px;
        margin: 10px auto;
        -webkit-animation: spin 2s linear infinite; /* Safari */
        animation: spin 1s linear infinite;
    }

    .rd-typeahead .suggestion-list-big .suggest-item {
        height: 350px;
        margin-bottom: 20px;
    }


    .rd-typeahead .suggestion-list {
        position: absolute;
        top: 30px;
        width: 100%;
        background-color: #ecf0f1;
        box-shadow: 0 4px 8px 0 #ccc;
        border-radius: 6px;
        margin: 0;
        padding: 0;
        z-index: 999;
        display: none;
        overflow: auto;
    }

        .rd-typeahead .suggestion-list .suggest-item {
            padding: 5px 5px;
            border-bottom: 1px solid #fff;
            cursor: pointer;
        }

            .rd-typeahead .suggestion-list .suggest-item .btn {
                margin: 20px 0 0;
            }

            .rd-typeahead .suggestion-list .suggest-item img {
                max-width: 70px;
                border-radius: 4px;
            }

            .rd-typeahead .suggestion-list .suggest-item p {
                padding: 8px 0 0;
                margin-bottom: 0;
            }

            .rd-typeahead .suggestion-list .suggest-item:hover {
                background-color: #ddd;
            }

            .rd-typeahead .suggestion-list .suggest-item:after {
                content: '';
                float: none;
                display: block;
                clear: both;
            }


    .rd-typeahead .search-box {
        margin: 0 0 30px;
    }
