.gri-merchant-search-view {}




.gri-merchant-search-view
.search-head {
    position: relative;
    padding: 0 0 0 50px;
    height: 136px;
    border-bottom: 1px solid #eee;
}



.gri-merchant-search-view
.search-head
.back-button {
    display: block;
    position: absolute;
    height: 60px;
    line-height: 60px;
    left: 15px;
    top: 12px;
    //top: 50%;
    //transform: translateY(-50%);
}



.gri-merchant-search-view
.search-head
.back-button
img {
    display: block;
    position: absolute;
    width: auto;
    height: 22px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}



.gri-merchant-search-view
.search-head
.search-wrapper {
    position: relative;
    padding: 0 15px 0 0;
    top: 50%;
    transform: translateY(-50%);
}



.gri-merchant-search-view
.search-head
.search-wrapper
.loader {
    display: none;
    position: absolute;
    width: 30px;
    height: auto;
    right: 24px;
    top: 10px;
    //top: 50%;
    //transform: translateY(-50%);
    z-index: 10;
}

.gri-merchant-search-view
.search-head
.search-wrapper.loading
.loader {
    display: block;
}



.gri-merchant-search-view
.search-head
.search-wrapper
input {
    box-sizing: border-box;
    padding: 0 48px 0 17px;
    width: 100%;
    height: 50px;
    line-height: 50px;
    border: 2px solid #25c662;
    border-radius: 40px;
    background: #fff;
    font-size: 17px;
    font-weight: 600;
    color: #000;
}



.gri-merchant-search-view
.search-head
.search-wrapper
.location-selector-wrapper {
    position: relative;
    margin: 16px 0 0 0;
    height: 40px;
}



.gri-merchant-search-view
.search-head
.search-wrapper
.location-selector-wrapper.selected
.std-button-wrapper {
    display: none;
}




.gri-merchant-search-view
.search-head
.search-wrapper
.location-selector-wrapper
.selected-location-button {
    display: none;
    position: relative;
    padding: 0 37px 0 14px;
    height:38px;
    line-height: 38px;
    border: 1px solid #25c662;
    border-radius: 10px;
    background: #f2fdf3;
}

.gri-merchant-search-view
.search-head
.search-wrapper
.location-selector-wrapper.selected
.selected-location-button {
    display: inline-block;
    position: relative;
    max-width: calc(100% - 50px);
}



.gri-merchant-search-view
.search-head
.search-wrapper
.location-selector-wrapper
.selected-location-button
span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #000;
}



.gri-merchant-search-view
.search-head
.search-wrapper
.location-selector-wrapper
.selected-location-button
.remove-button {
    display: block;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: auto;
}



.gri-merchant-search-view
.search-head
.search-wrapper
.location-selector-wrapper
.selected-location-button
.remove-button
img {
    display: block;
    width: 20px;
    height: auto;
}





.gri-merchant-search-view
.search-body {
    height: calc(100% - 137px);
}



.gri-merchant-search-view
.search-body
.failed-wrapper {
    display: none;
    padding: 40px 15px;
    text-align: center;
}

.gri-merchant-search-view
.search-body.failed
.failed-wrapper {
    display: block;
}



.gri-merchant-search-view
.search-body
.failed-wrapper
h1 {
    font-size: 20px;
    font-weight: 700;
}



.gri-merchant-search-view
.search-body
.failed-wrapper
.std-button-wrapper {
    margin-top: 15px;
}





.gri-merchant-search-view
.search-body
.no-results-wrapper {
    display: none;
    padding: 40px 15px;
    text-align: center;
}

.gri-merchant-search-view
.search-body.no-results
.no-results-wrapper {
    display: block;
}



.gri-merchant-search-view
.search-body
.no-results-wrapper
h1 {
    font-size: 20px;
    font-weight: 700;
}



.gri-merchant-search-view
.search-body
.no-results-wrapper
h2 {
    margin: 4px 0 0 0;
    font-size: 17px;
    font-weight: 500;
    color: #999;
}





.gri-merchant-search-view
.search-body
.results-wrapper {
    display: none;
}

.gri-merchant-search-view
.search-body.results
.results-wrapper {
    box-sizing: border-box;
    display: block;
    padding: 15px 15px 25px 15px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}



.gri-merchant-search-view
.search-body
.results-wrapper
.search-result {
    position: relative;
    margin: 10px 0 0 0;
    padding: 10px 0 0 70px;
    border-top: 1px solid #ddd;
}

.gri-merchant-search-view
.search-body
.results-wrapper
.search-result:first-child {
    margin-top: 0;
    border: none;
}



.gri-merchant-search-view
.search-body
.results-wrapper
.search-result
.profile-pic {
    display: block;
    position: absolute;
    width: 50px;
    height: auto;
    border-radius: 40px;
    left: 0;
    top: 10px;
}



.gri-merchant-search-view
.search-body
.results-wrapper
.search-result
.arrow-icon {
    display: block;
    position: absolute;
    right: 2px;
    top: calc(50% + 5px);
    transform: translateY(-50%) scaleX(-1);
    width: auto;
    height: 18px;
}



.gri-merchant-search-view
.search-body
.results-wrapper
.search-result
.merchant-details-wrapper {
    margin: 0 22px 0 0;
}



.gri-merchant-search-view
.search-body
.results-wrapper
.search-result
.merchant-details-wrapper
h1 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}



.gri-merchant-search-view
.search-body
.results-wrapper
.search-result
.merchant-details-wrapper
h2 {
    margin: 2px 0 0 0;
    font-size: 16px;
    font-weight: 600;
    color: #666;
}



.gri-merchant-search-view
.search-body
.results-wrapper
.search-result
.merchant-details-wrapper
h3 {
    margin: 10px 0 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #888;
}
















