﻿
#search-drop-down {
    position: absolute;
    top: 46px;
    background: white;
    z-index: 200;
    width:100%;
}

.search-products-results div, .search-categories-results div {
    background-color: #12c35a;
    color: white;
    padding: 5px;
}

#results-products-list, #results-products-list li, #results-categories-list, #results-categories-list li {
    list-style-type: none;
    padding: 0px;
    margin: 0;
    cursor: pointer;
    padding: 5px;
}

    #results-products-list li:hover, #results-categories-list li:hover {
        background-color: #DADADA;
    }

@media (max-width: 991px) {

    .search-inner-wrapper {
        position: fixed;
        top: 0;
        left: 0px;
        background: #12c35a;
        width: 100vw;
        height: 100vh;
        z-index: 10000;
    }

    .mobile-search-title {
        color: white;
        font-size: 36px;
        text-align: center;
        font-weight: bold;
    }

    .mobile-search-close {
        position: absolute;
        top: 43px;
        right: 14px;
        font-size: 23pt;
        background-color: white;
        box-shadow: 0 2px 3px rgba(0,0,0,0.16);
        font-weight: 700;
        line-height: 1;
        color: #000;
        text-shadow: 0 1px 0 #fff;
    }

    #search-container .input-group-text {
        background: transparent;
        color: white;
        border: 0px;
    }

        #search-container .input-group-text .fa {
            color: white;
            font-size: 25pt;
        }

    input#mobile-search-input::placeholder {
        color: white
    }

    .product_title {
        font-size: 10pt;
        font-weight: bold;
        line-height: 1.5;
        margin-top: 10px;
    }

    #group-of-search-input {
        margin-top: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .search-close {
        top: 42px;
    }
}

#search-drop-down-mobile {
    margin-top: 15px;
}

.mobile-search-result-outter-wrapper {
    background-color: white;
    margin:0 15px 15px;
    padding: 10px;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    height: 100%;
}

@media (min-width: 992px) {
    #search-drop-down-mobile {
        display: none;
    }
}

#mobile-search-input {
    background: transparent;
    border: 0px;
    color: white;
    border-bottom: solid 1px white;
    font-size: 15pt !important;
}

.mobile-search-buy-now-button {
    display: inline-block;
    background-color: #EC7A3D;
    color: white;
    padding: 8px;
    padding-left: 35px;
    padding-right: 35px;
    text-align: center;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 10pt;
    position: relative;
    margin-top: 15px;
}

@media (min-width: 360px) {
    .mobile-search-buy-now-button {
        right: -28px;
    }
}

@media (min-width: 411px) {
    .mobile-search-buy-now-button {
        right: -52px;
    }
}

@media (min-width: 768px) {
    .mobile-search-buy-now-button {
        right: -43px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

.mobile-search-type-heading {
    color: white;
    text-transform: uppercase;
    font-size: 9pt;
    padding: 15px 0 0 15px;
    margin-bottom: 20px;
}

.category_title {
    font-size: 16pt;
    font-weight: bold
}

.search-title {
    margin-top: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close {
    right: 15px;
    position: absolute;
}
    .search-close .btn-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        position: absolute;
        right: 0px;
        top: 10px;
    }
    .search-close .lines {
        width: 1.7rem;
        height: 0.1rem;
    }

    .search-close .lines:after {
        -webkit-transform: rotate3d(0, 0, 1, -45deg);
        transform: rotate3d(0, 0, 1, -45deg);
    }

    .search-close .lines:after {
        top: -0.5rem;
    }

    .search-close .lines:before, .search-close .lines:after {
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        top: 0;
        width: 1.8rem;
    }

    .search-close .lines:before {
        top: 0.5rem;
    }

    .search-close .lines {
        background: transparent;
    }

        .search-close .lines:before, .search-close .lines:after {
            -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
            top: 0;
            width: 1.8rem;
        }

        .search-close .lines:before {
            -webkit-transform: rotate3d(0, 0, 1, 45deg);
            transform: rotate3d(0, 0, 1, 45deg);
        }


@media(min-width:768px) and (max-width:991px){
    #row-search-mobile-content {
        margin: 15px;
    }
    .mobile-search-result-outter-wrapper {
        margin: 0;
    }
}

@media(max-width:767px){
    .mobile-search-result-outter-wrapper.product-list-box {
        padding: 15px 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        padding-bottom: 65px;
        float: left;
        position: relative;
        width: 100%;
        background-color: white;
        margin: 15px;
        border-radius: 2px;
        height: auto;
        min-height: 215px;
    }
    #row-search-mobile-content{
        width:100%;
    }
    .search-title{
        width:100%;
    }

    .product_title {
        line-height: 1.5;
    }
    a.mobile-search-buy-now-button.btn.plb-buynow {
        width: 55%;
        bottom: 15px;
        right: -11px;
    }
    .p-l-0{
        padding:0;
    }


    .mobile-search-buy-now-button.btn.plb-buynow {
        bottom: 25px;
    }
}


@media(max-width:576px) {
    .search-inner-wrapper {
        position: absolute;
        top: -55px;
        left: -100%;
        background: #12c35a;
        width: 100vw;
        min-height: 100vh;
        height: auto;
        max-height: 500px;
        overflow: scroll;
        z-index: 10000;
    }
}


@media(min-width:768px) and (max-width:991px) {
    .mobile-search-result-outter-wrapper.product-list-box {
        padding: 15px 25px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        padding-bottom: 65px;
        float: left;
        position: relative;
        width: 100%;
        background-color: white;
        margin: 15px;
        border-radius: 2px;
        height: auto;
        min-height: 380px;
    }
    .image-box{
        height:120px;
    }
    #row-search-mobile-content {
        width: 100%;
        margin-right: -15px;
        margin-left: -15px;
    }

    .search-title {
        width: 100%;
    }

    .product_title {
        line-height: 1.5;
        font-size:12px;
    }

    a.mobile-search-buy-now-button.btn.plb-buynow {
        width: 100%;
        bottom: 15px;
        right: -15px;
    }

    .p-l-0 {
        padding: 0;
    }

    .searchCategories {
        margin: 15px;
    }
    #search-drop-down-mobile {
        margin: 15px;
    }
    .product_title{
        color: black;
        height: 90px;
        overflow: hidden;
    }
    .image-box img{
        max-height: 100%;
    }
    #row-search-mobile-content .col-md-3:nth-of-type(5n){
        display:none;
    }
}

@media (max-width: 576px) {
    .brand-overlay {
        position: absolute;
        right: 30px;
    }
}
@media (min-width: 577px) {
    
    .mobile-search-result-outter-wrapper.product-list-box {
        padding: 10px;
    }

    .brand-overlay {
        position: relative;
        right: -56px;
        margin-bottom: 5px;
        z-index: 1;
    }

    .search-product-image {
        position: absolute;
        left: 14%;
    }

    .product-type-overlay {
        top: 0px;
        z-index: 1;
    }

    .product_title {
        padding-top: 14px;
        padding-bottom: 14px;
    }
}

.product-type-overlay {
    position: absolute;
    left: 0px;
    color: white;
    text-align: center;
    width: 26px;
    padding: 7px;
    font-size: 8pt;
    border-radius: 4px;
}

    .product-type-overlay.v1 {
        background-color: #BA4A4A;
    }

    .product-type-overlay.v2 {
        margin-top: 35px;
        background-color: #BAAD4A;
    }

.special-offer-message-overlay {
    padding-top: 57px;
    font-size: 10pt;
    color: #67BB48;
}
.product_title, .category_title {
    color: black;
}
.mobile-search-result-outter-wrapper .plb-price-row {
    display: flex;
    align-items: center;
}
@media(max-width:767px){
    .mobile-search-result-outter-wrapper .plb-price-was {
        font-size: 12px;
    }
}

@media(min-width: 577px) and (max-width: 767px){
    .mobile-search-result-outter-wrapper .product_title {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        max-height: 57px;
    }
}

@media(min-width: 577px) and (max-width: 991px) {
    .search-inner-wrapper {
        overflow: scroll;
    }
}
