﻿/* autocomplete with sayt using jQuery UI V12 */

/* fonts */
.ui-menu-item, .ea-sug-product-name, .ea-sug-product-price, .ea-sug-nav-value {
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 14px;
}

.ea-sug-wrapper {
    position: fixed;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-top: none;
    box-shadow: 0 4px 4px 4px rgba(0,0,0,.13);
    max-height: 320px;
    overflow-y: auto;
}


/* product section */
.ea-sug-product-picture {
    float: left;
    border: 0;
    margin: 0 5px 0 0;
    vertical-align: top;
    width: 80px;
}

.ea-sug-product-info {
    float: left;
    width: 160px;
}

.ea-sug-product-info-link {
    color: #666;
    display: block;
}

    .ea-sug-product-info-link > span {
        color: #000;
        display: block;
    }

.ea-search-more {
    clear: both;
    padding: 8px 4px;
    text-align: center;
}

    .ea-search-more > a {
        color: #666;
        text-transform: uppercase;
    }

        .ea-search-more > a:hover {
            color: #000;
        }

img.ea-sug-product-image {
    border: 0;
    width: 80px;
    text-align: center;
    cursor: pointer;
}

.ea-sug-product-name {
    border: 0;
    padding: 2px 0;
}

    .ea-sug-product-name.ui-state-hover {
        font-weight: normal;
        background: #fff;
        border: none;
        color: #000;
        margin: 0;
    }


.ea-sug-section {
    border: none;
    background: white;
    float: left;
    width: 100%;
    overflow-x: hidden;
    line-height: normal;
}

.ea-sug-sec-heading {
    background: white;
    display: none;
}

.ea-sug-section-vertical-space {
    border-top: none;
}
/* hide the product separator, since we are doing 2 column and not table rows*/
.ea-sug-product-separator {
    border: none;
}

/*override the bold on the product name*/
.ea-sug-product-name, .ea-sug-product-price {
    font-weight: normal;
}

.ea-sug-match {
    color: #25a4b6;
    font-weight: normal;
}

.ea-sug-products {
    clear: both;
    float: left;
    list-style: none outside none;
    margin: 0;
    padding: 0;
    width: 100%;
}

    .ea-sug-products li {
        clear: both;
        float: left;
        padding: 0 10px;
        width: 100%;
    }

/*********
    fix the modals
*/
.ui-dialog.modal-quickshop, .ui-dialog.modal-login {
    background: #fff;
    border-bottom-color: rgb(29, 29, 29);
    border-radius: 0;
    color: #1d1d1d;
    min-height: 440px;
    min-width: 600px;
}

.ui-dialog.modal-login {
    min-width: 700px;
    padding: 10px;
}

.ui-dialog.snapshot {
    background: #fff;
    border-bottom-color: rgb(29, 29, 29);
    border-radius: 0;
    color: #1d1d1d;
    max-width: 320px !important;
    min-width: 320px !important;
    padding: 20px;
    width: 320px !important;
}

.ui-widget-content .btn-link.blue {
    color: #fff;
}

.ui-dialog-content.modal-wrap {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 19.5px;
    min-height: 440px;
    overflow: visible;
    padding: 0;
    position: absolute;
    width: 600px;
}

.ui-dialog.snapshot .ui-dialog-content {
    height: auto !important;
    min-width: 320px;
    overflow: visible;
    padding: 0;
}

.ui-dialog.modal-login .ui-dialog-content.modal-wrap .modal-inner {
    margin: 10px 0;
}

.ui-dialog.modal-login .ui-dialog-content.modal-wrap .modal-close {
    top: 10px;
    right: 10px;
}

.ui-dialog-content.modal-wrap .qs-price {
    line-height: 1.5;
}

.modal-login .ui-dialog-content.modal-wrap {
    margin: 0 auto;
    min-height: 0;
    position: relative;
    left: 0 !important;
    top: 0 !important;
}

@media screen and (min-width: 481px) {
    .ea-sug-wrapper {
        max-height: none;
        overflow-y: hidden;
    }
}
