﻿#search-box-wrapper {
}

#search-input-wrapper {
    max-width: 450px;
    position: relative;
}

.search-autocomplete {
    margin-top: 0;
}

#search-box {
    position: absolute;
    display: flex;
    flex-direction: row;
    z-index: 102;
    border: 1px solid #cccccc;
    border-top: none;
    overflow: hidden;
    background-color: #fff;
    border-radius: 5px;
    -moz-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    -webkit-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    width: 900px;
    max-height: 450px;
    margin-top: -20px;
}


#search-box-details {
    display: flex;
    padding: 20px;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 50%;
    background-color: #f7f7f7;
}

.divSearchSuggestionsTitle {
text-transform: uppercase;
font-weight: 800;
flex: 0 1 100%
}

.CloseSearchIcon {
    background: url('../images/search_dropdown_close_x.svg') center no-repeat;
    background-position-x: right;
    width: 20px;
    height: 20px;
    margin: auto;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

#search-box-details a {
    display: inline-block;
    flex: 1 1 30%;
    text-align: center;
    height: 180px;
    overflow: Hidden;
    margin: 10px 0px;
    position: relative;
}

@keyframes imageIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#search-box-details a img {
    width: 100%;
    height: auto;
    max-width: 100px;
    border: none;
    margin: auto;
    position: absolute; 
    top:0;
    bottom:0;
    left:0;
    right:0;
}

    #search-box-details a img[src=''] {
        visibility: hidden;
    }

#search-box ul {
    width: 50%;
    padding: 20px;
    text-align: left;
}

#search-box #search-box-list a {
    padding: 15px;
    font-size: 1.6rem;
    margin: 0;
    border: none;
    background: none;
    padding-left: 0;
    line-height: 2;
    color: #333333;
}

#search-box #search-box-list li {
max-width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

    #search-box #search-box-list a:hover,
    #search-box #search-box-list a.ui-state-focus {
        text-decoration: underline;
    }
