#search .input-group form,
#sticky-search-bar .input-group form {
    position: relative;
}

.sg-search {
    display: none;
    position: absolute;
    z-index: 500;
    background-color: #fff;
    width: 100%;
    height: auto;
    overflow: hidden;
    -webkit-box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.15);
}

#sticky-search-bar table:first-child,
.sg-search table {
    width: 100%;
    border-bottom: 1px solid #666;
    margin: 0px;
}

#sticky-search-bar table:last-child {
    width: 100%;
    margin: 0px;
}

.sg-search table tbody {
    border: none;
    background-color: #fff;
}

#sticky-search-bar table td,
.sg-search table td {
    padding: 0px !important;
    border-top: 1px solid #eee;
    font-family: "roboto", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 13px;
}

#sticky-search-bar table td a,
.sg-search table td a {
    display: block;
    padding: 8px !important;
    color: #333;
    line-height: 1rem;
}

#sticky-search-bar table td .underline,
.sg-search table td .underline {
    text-decoration: underline;
}

#sticky-search-bar table tr:hover,
.sg-search table tr:hover {
    background-color: #f5f5f5 !important;
}

#sticky-search-bar table tr:first-of-type td,
.sg-search table tr:first-of-type td {
    width: 100%;
    padding: 8px !important;
    font-size: 15px;
    cursor: default;
    color: #E4002B !important;
    font-family: 'roboto-bold', "Helvetica Neue", Arial, sans-serif !important;
    text-transform: uppercase;
}

#sticky-search-bar table tr:first-of-type td:hover,
.sg-search table tr:first-of-type td:hover {
    background-color: #fff;
}

#sticky-search-bar table tr:nth-child(2n),
.sg-search table tr:nth-child(2n) {
    background-color: #fff;
}

#sticky-search-bar table tr td:nth-child(2n) a,
.sg-search table tr td:nth-child(2n) a {
    padding: 2rem 0rem !important;
}

#sticky-search-bar img,
.sg-search img {
    width: 80px;
    height: auto;
    border: 5px solid #fff;
}

#search #product-matches tr td:first-of-type {
    width: 25%;
}

#sticky-search-bar #product-matches tr td:first-of-type {
    width: 10%;
}

#product-matches b:last-of-type {
    display: block;
    margin-top: 5px;
}

#product-matches b:first-of-type {
    color: #000;
    display: inline;
    margin-top: 0px;
}

#product-matches {
    border: none;
}

#nothingSearched:focus {
    outline-color: initial;
    outline-style: initial;
    outline-width: 0px;
}

#nothingSearched h5 {
    margin-top: 0;
    margin-bottom: 0;
}

.result-box-hover,
.result-box:hover {
    background: #f5f5f5 !important;
    color: #FFFFFF;
}

/*Tablet*/

@media only screen and (min-device-width:481px) and (max-device-width:1024px) and (orientation:portrait) {
    #search form {
        padding: 0px 20px !important;
        box-sizing: border-box;
    }

    #search #SuggestiveSearchTextBox {
        width: 100%;
        height: 40px;
        font-size: 16px;
        color: #666;
    }

    .sg-search {
        box-shadow: none !important;
        margin-top: .5rem;
    }

    .sg-search img {
        width: 100px;
        margin-left: 1rem;
    }

    .sg-search table {
        border-bottom: none;
    }

    .sg-search table tr:first-of-type td {
        padding: .5rem 1rem !important;
        text-align: left;
    }

    .sg-search table tr:nth-child(2n) {
        background-color: transparent;
    }

    .sg-search table tbody {
        border: none;
        background-color: #fff;
    }

    .sg-search table td {
        padding: 5px !important;
    }

    .sg-search table td a {
        text-align: left;
        padding: 0px !important;
        line-height: 1rem;
    }

    body #search #search_btn {
        margin: 0px !important;
    }
}

@media screen and (max-width: 75em) and (orientation: landscape) {
    .sg-search {
        box-shadow: none !important;
        margin-top: .5rem;
    }

    .sg-search img {
        width: 100px;
        margin-left: 1rem;
    }

    .sg-search table {
        border-bottom: none;
    }

    .sg-search table tr:first-of-type td {
        padding: .5rem 1rem !important;
        text-align: left;
    }

    .sg-search table tr:nth-child(2n) {
        background-color: transparent;
    }

    .sg-search table tbody {
        border: none;
        background-color: #fff;
    }

    .sg-search table td {
        padding: 5px !important;
    }

    .sg-search table td a {
        text-align: left;
        padding: 0px !important;
        line-height: 1rem;
    }
}

/*Mobile*/

@media screen and (max-width: 39.9375em) {
    #search form {
        padding: 0px 10px !important;
        box-sizing: border-box;
    }

    #brands,
    #product-matches,
    #popular-searches tr:first-of-type {
        display: none;
    }

    #search #SuggestiveSearchTextBox {
        width: 100%;
        height: 40px;
        font-size: 16px;
    }

    body #search #search_btn {
        margin: 0px !important;
    }

    .sg-search {
        margin-top: .5rem;
        box-shadow: none !important;
    }

    .sg-search img {
        width: 125px;
    }

    .sg-search table {
        border-bottom: none;
    }

    .sg-search table tr:first-of-type td {
        padding: .5rem 1rem !important;
        text-align: left;
    }

    .sg-search table tr:nth-child(2n) {
        background-color: transparent;
    }

    .sg-search table tr td:nth-child(2n) a {
        padding: 0rem !important;
        text-align: left;
    }

    .sg-search table tbody {
        border: none;
        background-color: #fff;
    }

    .sg-search table td {
        padding: 5px !important;
    }

    .sg-search table td a {
        padding: 0px !important;
        line-height: 1rem;
    }
}

#nothingSearched strong {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 18px;
    font-family: 'open-sans-condensed-bold', sans-serif;
    font-weight: normal;
    color: #000;
    line-height: 1.4;
}

@media screen and (max-width: 39.9375em) {
    #nothingSearched strong {
        font-size: 17px;
    }
}

@media screen and (max-width: 75em) and (orientation: landscape) {
    #nothingSearched strong {
        font-size: 18px;
    }
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    #nothingSearched strong {
        font-size: 17px;
    }
}
