input {
    font-size: 110%;
    outline: 0;
}

.search-bar-wrapper {
    width: 100%;
    position: relative;
}

@media screen and (min-width: 640px) {
    .search-bar-wrapper {
        width: 100%;
    }
}

.search-bar-input {
    -webkit-appearance: none;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 40px 10px 10px;
    width: 100%;
}
input[type="text"].search-bar-input:focus{
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
}
.has-suggestions .search-bar-input {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.icon {
    background-position: center center;
    background-repeat: no-repeat;
    border: 0;
    cursor: pointer;
    font-size: 0;
    height: 100%;
    outline: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 25px;
}

.search-bar-clear {
    background-image: url(../images/cancel.svg);
    background-size: 25%;
    right: 40px;
    width: 40px;
}

.search-bar-submit:hover {
    opacity: 1;
}

.is-focused .search-bar-input,
.is-focused .search-bar-submit {
    border-color: #ccc;
}

.search-bar-placeholders,
.search-bar-previewItems {
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    box-sizing: border-box;
    font-size: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    top: -1px;
    background: #FFFFFF;
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.20);
    border-radius: 2px;
    font-size: 13px;
    color: #4D4D4D;
    position: absolute;
    top: 98%;
    width: 100%;
    z-index: 80;
}

ul.search-bar-placeholders li,
ul.search-bar-previewItems li{
    cursor: default;
    letter-spacing: 0.03em;
    -webkit-tap-highlight-color: transparent;
    overflow : hidden;
    text-overflow : ellipsis;
    white-space : nowrap;
    width : auto;
    padding: 0;
    margin: 0;
    text-align: left;
    height: auto;
    background: none;
    border: none;
}
.search-bar-previewItems li:before,
.search-bar-placeholders li:before{
    display: none;
}
.search-bar-placeholders li > span,
.search-bar-previewItems li > span{
    padding: 5px;
    display: block;
    margin: 0;
    height: auto;
}
.search-bar-placeholders li > span strong,
.search-bar-previewItems li > span strong{
    line-height: 45px;
    vertical-align: top;
    margin: 0;
    height: auto;
    padding: 0;
}

.search-bar-placeholders li:last-child,
.search-bar-previewItems li:last-child{
    border: none;
}

.search-bar-placeholders li:hover,
.search-bar-previewItems li:hover{
    background: #E0E2E7;
    cursor: pointer;
}
.search-bar-previewItems .highlighted {
    background: #f5f5f5;
}

.search-bar-placeholders img,
.search-bar-previewItems img{
    width: 50px;
    height: 50px;
    max-width: 50px;
    max-height: 50px;
    border-radius: 2px;
    padding: 0;
    margin: 0 5px 0 0;
    border: none;
    box-shadow: none;
    display: inline-block;
}

.search-bar-placeholders .highlighted {
    background: #f5f5f5;
}

input[type="submit"].search-bar-submit{
    border-radius: 2px;
    padding: 0.5em;
    font-size: 15px;
    background: url(../images/search.svg) transparent center no-repeat;
    background-repeat: no-repeat;
    background-size: 35%;
    padding: 0 20px;
    opacity: .8;
    width: 40px;
    fill: #fff;
    border: none;
    margin: 0;
    box-shadow: none;
}
input[type="submit"].search-bar-submit:hover{
    border: none;
    box-shadow: none;
}
input.search-bar-input{
    background: #FFFFFF;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.10);
    border-radius: 2px;
    font-size: 15px;
    padding: 8px;
    margin: 0;
    width: 100%;
    border: 1px solid #ccc;
    height: auto;
}

.search-bar-placeholders img[src=""],
.search-bar-previewItems img:not([src]){
    width:50px;
    height:50px;
    box-sizing:border-box;
    background: url(../images/default-image.svg) center no-repeat;
    background-size: 50%;
    border: none;
    box-shadow: none;
    outline: none;
}

.search-bar-previewItems li img{
    max-width: 50px;
    display: inline-block;
}
.r-preview-item-detail{
    display: inline-block;
    text-align: left;
    width: 65%;
    vertical-align: top;
    padding-right: 2%;
}
.r-preview-item-detail strong,
.r-preview-item-detail p,
.r-preview-item-detail i{
    margin: 0;
    display: block;
    overflow : hidden;
    text-overflow : ellipsis;
    white-space : nowrap;
    width: 100%;
}
.r-preview-item-detail strong{
    line-height: 20px;
    display: block;
}
.r-preview-item-detail i{
    display: inline-block;
}
.search-bar-previewItems li > span strong{
    line-height: 16px;
    font-size: 14px;
    color: #404040;
    margin-bottom: 3px;
}
.price-detail-box{
    display: block;
    padding: 0;
    margin: 0;
    line-height: 14px;
}
.price-detail-box del,
.price-detail-box ins,
.price-detail-box .woocommerce-Price-amount{
    display: inline-block;
    width: auto;
    font-size: 11px;
    font-weight: bold;
}
.price-detail-box del .woocommerce-Price-amount{
    text-decoration: line-through;
    color: #4D4D4D;
    padding-right: 5px;
}
.price-detail-box ins{
    font-size: 12px;
    color: #D74A54;
    font-weight: bold;
    text-align: left;
    background: none;
}
.r-preview-item-detail p{
    font-size: 12px;
    color: #848484;
    line-height: 16px;
}
