.profile-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 300px;
}

.profile-header-mask {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(80,80,80,.33);
    -webkit-tap-highlight-color: transparent;
}

.profile-header .header-info {
    position: absolute;
    left: 35px;
    bottom: 20px;
    max-width: 380px;
    width: 100%;
}

.profile-header .header-info .header-img {
    display: inline-block;
    vertical-align: middle;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: white;
}

.profile-header .header-info .header-inner-img {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/*.profile-header .header-info .header-img img {
    width: 100%;
    border-radius: 50%;
    border: 2px solid #fff;
}*/

.profile-header .header-info .header-details {
    margin-left: 20px;
    display: inline-block;
    vertical-align: middle;
    max-width: 250px;
    color: #fff;
}
.profile-header .header-info .header-details .merchant-name {
    font-size: 15px;
}
.profile-header .header-info .header-details .verified-tick {
    margin-left: 3px;
    background-color: green;
    border-radius: 50%;
    font-size: 20px;
}
.profile-header .header-info .header-details .merchant-name,
.profile-header .header-info .header-details .verified-tick-container {
    display: inline-block;
}
.profile-header .header-info .header-details .merchant-regno {
    margin-top: 5px;
    font-size: 13px;
}
.profile-header .reviews-link {
    text-decoration: none;
    color: transparent;
}
.profile-header .reviews-link:hover,
.profile-header .reviews-link:focus,
.profile-header .reviews-link:active {
    text-decoration: none;
}
.profile-header .star-rating {
    margin-top: 5px;
    font-size: 14px;
}
.profile-header .star-rating .total-ratings,
.profile-header .star-rating [class*=" fa-"]:not(.fa-stack),
.profile-header .star-rating [class*=" glyphicon-"],
.profile-header .star-rating [class*=" icon-"],
.profile-header .star-rating [class^=fa-]:not(.fa-stack),
.profile-header .star-rating [class^=glyphicon-],
.profile-header .star-rating [class^=icon-] {
    line-height: 14px;
}
.profile-header .star-rating .total-ratings {
    margin-left: 5px;
    font-size: 12px;
    color: #fff;
}
.profile-header .header-info .header-details .merchant-regno,
.profile-header .header-info .header-details .merchant-stats {
    margin-top: 5px;
}
.profile-header .profile-header-nav {
    position: absolute;
    right: 20px;
    bottom: 20px;
}
.profile-header .profile-header-nav .btn {
    margin-left: 10px;
}
.profile-header .profile-header-nav .btn:first-child {
    margin-left: 0;
}

@media (max-width: 550px) {
    .profile-header {
        height: 200px;
        margin-bottom: 10px;
    }
    .profile-header .header-info {
        left: 10px;
        max-width: 325px;
    }
    .profile-header .header-info .header-details {
        margin-left: 10px;
        max-width: 200px;
    }
    .profile-header .header-info .header-details .merchant-name {
        max-height: 45px;
        max-width: 174px
    }
    .profile-header .header-info .header-details .merchant-name,
    .profile-header .header-info .header-details .verified-tick-container {
        vertical-align: middle;
    }
    .profile-header .header-info .header-details .merchant-regno {
        max-height: 22.5px;
        max-width: 195px;
    }
    .profile-header .header-info .header-details .merchant-name,
    .profile-header .header-info .header-details .merchant-regno {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .profile-header .header-info .header-details .btn.color-fav {
        border: 1px solid #e2e2e2;
    }
}

#page-content.phone .merchant-profile .merchant-actions {
    padding-left: 0;
    padding-right: 0;
}
#page-content.phone .merchant-profile .merchant-actions .btn.about-us,
#page-content.phone .merchant-profile .merchant-actions .btn.socialshare,
#page-content.phone .merchant-profile .merchant-actions .btn.show-pfud,
#page-content.phone .merchant-profile .merchant-actions .btn.show-bkud,
#page-content.phone .merchant-profile .merchant-actions .btn.show-copy-store-link,
#page-content.phone .merchant-profile .merchant-actions .btn.show-vacation-mode,
#page-content.phone .merchant-profile .merchant-actions .btn.merchant-settings,
#page-content.phone .merchant-profile .merchant-actions .btn.enquiry,
#page-content.phone .merchant-profile .merchant-actions .btn.engage,
#page-content.phone .merchant-profile .merchant-actions .btn.login {
    width: 49%;
}

#modal-callus .modal-dialog,
#modal-merchant-settings .modal-dialog,
#modal-aboutus .modal-dialog,
#modal-bkud .modal-dialog {
    margin-top: 10%;
}

.merchant-profile .merchant-info {
    padding-left: 0;
    padding-right: 0;
}
.merchant-profile .merchant-info,
.merchant-profile .map-wrapper {
    margin-top: 20px;
}
.merchant-profile .merchant-address,
.merchant-profile .merchant-products-n-services {
    padding-bottom: 20px;
}

#modal-aboutus .modal-body a,
.merchant-profile .merchant-products-n-services a {
    text-decoration: none;
}
#modal-aboutus .modal-body a:hover,
#modal-aboutus .modal-body a:active,
.merchant-profile .merchant-products-n-services a:hover,
.merchant-profile .merchant-products-n-services a:active {
    color: var(--hover-link-color);
}

@media (min-width: 768px) {
    .merchant-profile .merchant-address,
    .merchant-profile .merchant-products-n-services {
        min-height: 137px;
    }
}

.merchant-profile .merchant-info .portlet:last-of-type {
    margin-bottom: 0;
}

#modal-copy-store-link {
    margin-top: 5%;
}

#modal-copy-store-link .tabbable-line>.tab-content {
    border-top: 0;
    padding: 15px 0 0;
}

#modal-copy-store-link .tabbable-line>.nav-tabs>li.open,
#modal-copy-store-link .tabbable-line>.nav-tabs>li:hover {
    border-bottom: 4px solid #fbdcde;
}

#modal-copy-store-link .tabbable-line>.nav-tabs>li.active {
    border-bottom: 4px solid #ed6b75;
}

#modal-copy-store-link textarea {
    resize: none;
    min-height: 100px;
}
