/*----Merchant Side Card----*/

.merchant-images .side-card-holder {
    width: 100%;
    margin-bottom: 32px;
}

.side-card-holder .merchant-side-card {
    background: white;
    padding: 16px;
    width: 100%;
    margin-top: 12px;
    display: inline-block;
    background-color: #f7f7fa;
    border-radius: 8px;
    box-shadow: 0 3px 8px 0 rgba(0,0,0,.12)
}

@media (max-width: 800px){
    .side-card-holder {
        padding: 0 8px;
    }

    .side-card-holder .merchant-side-card {
        margin-bottom: 8px;
        border-radius: 4px;
    }
}

/*---- Merchant Side Section----*/

.merchant-side-card .merchant-side-section {
    position: relative;
}

.merchant-side-section .merchant-side-header {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: calc(100% - 60px);
    color: rgba(0,0,0,.87);
}

.merchant-side-section:hover .similar-merchant-header-tooltip{
    visibility: visible;
}

.merchant-side-section .similar-merchant-header-tooltip{
    visibility: hidden;
    width: auto;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
}

.merchant-side-section .merchant-side-content {
    font-size: 14px;
    line-height: 1.43;
}

.merchant-side-section .view-all {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #338aed;
    cursor: pointer;
}

.merchant-side-section .view-all:hover {
    font-weight: bold;
}

/*----Merchant Related Collections----*/

.merchant-collection-deals .merchant-collection-deal {
    width: 50%;
    float: left;
    margin-top: 16px;
    height: 160px;
    overflow: hidden;
}

.merchant-collection-deals .merchant-collection-deal:nth-child(even) {
    padding-left: 8px;
}

.merchant-collection-deals .merchant-collection-deal:nth-child(odd) {
    padding-right: 8px;
}

.merchant-collection-deal .deal-banner {
    border-radius: 4px;
    height: 80px;
    display: block;
    cursor: pointer;
    background-size: cover;
}

.merchant-collection-deal .deal-banner:hover {
    box-shadow: 0 3px 8px 0 rgba(0,0,0,.12)
}

.merchant-collection-deal .deal-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(0,0,0,.87);
    cursor: pointer;
}

.merchant-collection-deal .deal-address {
    display: block;
    font-size: 12px;
    line-height: 1.33;
    white-space: nowrap;
    overflow: hidden;
    color: rgba(0, 0, 0, 0.54);
    text-overflow: ellipsis;
    cursor: pointer;
}

.merchant-collection-deal .deal-cashback {
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.43;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ef1c74;
    cursor: pointer;   
}

.merchant-collection-deal .deal-attributes {
    margin-top: 4px;
}

.merchant-collection-deal .deal-attributes a {
    font-size: 12px;
    line-height: 1.33;
    color: #338aed;
    cursor: pointer;
}

.merchant-collection-deal .deal-attributes a::after {
    content: ',';
}

.merchant-collection-deal .deal-attributes a:last-child::after {
    content: '';
}

/*-----------Merchant Other Cuisines----------*/

.merchant-other-cuisines .other-cuisines {
    display: block;
}

.other-cuisines .cuisine-details-holder {
    position: relative;
    display: inline-block;
    width: 100%;
}

.other-cuisines .cuisine-holder {
    margin-top: 12px;
}

.cuisine-details-holder .cuisine-img {
    position: absolute;
    height: 40px;
    width:  40px;
    display: inline-block;
    margin-top: 4px;
}

.cuisine-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.cuisine-details-holder .cuisine-details {
    display: inline-block;
    padding-left: 48px;
    width: 100%;
}

.cuisine-details .cuisine-name {
    padding-top: 4px;
    font-size: 14px;
    line-height: 1.43;
    font-weight: bold;
    color: #338aed;
    display: inline-block;
    overflow: hidden;
    padding-right: 4px;
    vertical-align: bottom;
    margin-bottom: 0;
}

.cuisine-details span {
    font-size: 12px;
    line-height: 1.67;
    color: rgba(0, 0, 0, 0.54);
    display: block;
    margin-bottom: 8px;
}

.cuisine-details .description {
    overflow: hidden;
    height: 30px;
    font-size: 12px;
    line-height: 1.33;
    color: rgba(0, 0, 0, 0.54);
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.other-cuisines .merchant-holder {
    width: 100%;
    display: inline-block;
    overflow: hidden;
}

.merchant-holder .merchant-card {
    width: 33%;
    float: left;
    padding: 8px;
    overflow: hidden;
    display: inline-block;
}

.merchant-holder .merchant-card:first-child {
    padding-left: 0;
}

.merchant-holder .merchant-card:last-child {
    padding-right: 0;
}


.merchant-card .merchant-img {
    height: 80px;
}

.merchant-card .merchant-img:hover {
    box-shadow: 0 3px 8px 0 rgba(0,0,0,.12);
}

.merchant-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.merchant-location h4 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    color: rgba(0,0,0,.87);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.merchant-location h5 {
    font-size: 12px;
    line-height: 1.33;
    color: rgba(0, 0, 0, 0.54);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/*----Merchant Other Collections----*/

.other-collections .other-collection {
    width: 50%;
    float: left;
    margin-top: 16px;
}

.other-collections .other-collection:nth-child(even) {
    padding-left: 8px;
}

.other-collections .other-collection:nth-child(odd) {
    padding-right: 8px;
}

.other-collection .collection-banner {
    border-radius: 4px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 80px;
    position: relative;
    overflow: hidden;
}

.other-collection .collection-banner:hover {
    box-shadow: 0 3px 8px 0 rgba(0,0,0,.12)
}

.other-collection .collection-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.other-collection h5 {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    line-height: 1.43;
    font-weight: 500;
    color: white;
    text-shadow: 1px 1px 0 rgba(0,0,0,.8);
    z-index: 10;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*----Merchant Other Vouchers----*/

.other-vouchers .other-voucher {
    width: 50%;
    float: left;
    margin-top: 16px;
    position: relative;
}

.other-vouchers .other-voucher:nth-child(even) {
    padding-left: 8px;
}

.other-vouchers .other-voucher:nth-child(odd) {
    padding-right: 8px;
}

.other-voucher .voucher-banner {
    border-radius: 4px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 80px;
    display: block;
    width: 100%;
    cursor: pointer;
}

.other-voucher .voucher-banner:hover {
    box-shadow: 0 3px 8px 0 rgba(0,0,0,.12);
}

.other-voucher .voucher-percent {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px;
    color: #fff;
    background-color: #00ACB7;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    border-bottom-right-radius: 0;
}

.other-voucher:nth-child(odd) .voucher-percent {
    right: 8px;
}

.other-voucher .voucher-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(0,0,0,.87);
    cursor: pointer;
    display: block;
}

.other-voucher .voucher-location {
    font-size: 12px;
    line-height: 1.33;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(0, 0, 0, 0.54);
    cursor: pointer;
    display: block;
}

.other-voucher .other-voucher-rate {
    font-size: 12px;
    line-height: 1.67;
    color: #338aed;
    cursor: pointer;
    display: block;
}

.other-voucher .other-voucher-rate span {
    font-size: 14px;
    font-weight: 500;
}

.other-voucher .other-voucher-bought {
    font-size: 12px;
    line-height: 1.33;
    color: rgba(0, 0, 0, 0.54);
    cursor: pointer;
    display: block;
}

.other-voucher .other-voucher-bought span {
    vertical-align: top;
}

/*----Merchant Other Campaigns----*/

.other-campaigns .other-campaign {
    width: 50%;
    float: left;
    margin-top: 16px;
}

.other-campaigns .other-campaign:nth-child(even) {
    padding-left: 8px;
}

.other-campaigns .other-campaign:nth-child(odd) {
    padding-right: 8px;
}

.other-campaign .campaign-banner {
    border-radius: 4px;
    background: red;
    height: 80px;
}

.other-campaign h5 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    margin-top: 4px;
    color: #3e5561;
}

.other-campaign h6 {
    font-size: 12px;
    line-height: 1.33;
    margin-top: 8px;
    color: #3e5561;
}

.other-campaign .other-campaign-vanity {
    font-size: 12px;
    line-height: 1.33;
    color: #637e8c;
}

/*----Merchant Other Blogs----*/

.other-blogs .other-blog {
    width: 100%;
    margin-top: 16px;
    display: inline-block;
}

.other-blog .blog-banner {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 4px;
    height: 160px;
}

.other-blog .blog-banner:hover {
    box-shadow: 0 3px 8px 0 rgba(0,0,0,.12)
}

.other-blog h5 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    margin-top: 4px;
    color: rgba(0,0,0,.87);
}
