﻿/* Extracted .hgm-card styles from app.css */

:root {
    /* Base colors */
    --colors-white: #ffffff;
    --colors-gray-5: #F2F2F2;
    --colors-gray-10: #E7E7E7;
    --colors-gray-20: #CDCDCD;
    --colors-gray-85: #262626;
    --colors-primary-30: #844FC4;
    --colors-warning-50: #FFCA3A;
    --colors-success-50: #8AC926;
    /* Card-specific variables */
    --colors-card-background: var(--colors-white);
    --colors-card-border: var(--colors-gray-10);
    --colors-card-label: var(--colors-gray-40);
    --colors-base-text: inherit;
    --colors-providers-review-stars: var(--colors-warning-50);
    --colors-provider-page-new-patients-icon-color: var(--colors-success-50);
    --colors-provider-page-virtual-visits-icon-color: var(--colors-primary-30);
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.m-2 {
    margin: 0.5rem !important;
}

.hgm-button {
    line-height: normal;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 100%;
    text-decoration: none;
    padding: 0.5em;
    border-radius: 0.25em;
    border-width: 0;
    border-style: solid;
    transition: all 400ms;
    position: relative;
    /*display: inline-flex;*/
    display: unset !important;
    justify-content: space-around;
    align-items: center;
}

    .hgm-button.full-width {
        display: block !important;
        width: 100% !important;
    }

        .hgm-button.full-width:hover {
            background-color: #7A0021 !important;
        }



#relatedProvidersWrapper .hgm-button {
    
}

.hgm-card {
    position: relative;
    background-color: var(--colors-card-background);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--colors-card-border);
    box-sizing: border-box;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

    .hgm-card[data-max-width="25%"] {
        max-width: 25%;
    }

@media (max-width: 991px) {
    .hgm-card[data-max-width="25%"] {
        max-width: none;
    }
}

.hgm-card[data-max-width="35%"] {
    max-width: 35%;
}

@media (max-width: 991px) {
    .hgm-card[data-max-width="35%"] {
        max-width: none;
    }
}

.hgm-card__body {
    flex: 1 1 auto;
    padding: 1em 1em;
}

.hgm-card__link + a {
    margin-left: 1em;
}

.hgm-card__footer {
    padding: 0.5em 1em;
}

/* Feed card styles */
.hgm-card.feed a {
    text-decoration: none;
}

.hgm-card.feed img {
    max-height: 230px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 4px !important;
}

.hgm-card.feed .hgm-card__body {
    padding: 1em;
    width: calc(100% - 2em);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    /* Provider card styles */
    .hgm-card.feed .hgm-card__body.provider {
        width: 100%;
        box-sizing: border-box;
    }

@media (max-width: 1199px) {
    .hgm-card.feed .hgm-card__body.provider .hgm-button,
    .hgm-card.feed .hgm-card__body.provider .hgm-health-library-article .hgm-body-region input[type=button],
    .hgm-health-library-article .hgm-body-region .hgm-card.feed .hgm-card__body.provider input[type=button] {
        font-size: 95%;
    }
}

@media (max-width: 991px) {
    .hgm-card.feed .hgm-card__body.provider .hgm-button,
    .hgm-card.feed .hgm-card__body.provider .hgm-health-library-article .hgm-body-region input[type=button],
    .hgm-health-library-article .hgm-body-region .hgm-card.feed .hgm-card__body.provider input[type=button] {
        font-size: 100%;
    }
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__image {
        height: 175px;
        max-height: 175px;
        width: 130px;
        max-width: 130px;
        flex: 1 1 0;
        position: relative;
    }

@media (max-width: 1519px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__image {
        max-height: 125px;
        height: 125px;
        max-width: 92px;
        width: 92px;
    }
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__image img {
    object-fit: cover;
    height: 100%;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__image img {
        /* width: auto;*/
        max-height: 125px;
        height: 125px;
        max-width: 92px;
        width: 92px;
    }
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details {
    font-size: 14px;
    margin-left: 16px;
    flex: 1 1 0;
}

@media (max-width: 1519px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details {
        margin-left: 12px;
        flex: 0 1 50%;
    }
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details .hgm-badge.distance {
    margin-bottom: 10px;
    font-size: 12px;
    padding-bottom: 0.35em;
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details p {
    margin-bottom: 0.35em;
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details i {
    font-size: 0.8em;
    margin-right: 0.25em;
    height: 20px;
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details i:before {
        left: 0.5px;
        position: relative;
    }

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details .provider__specialties span {
    border: none;
    border-radius: 4px;
    background-color: var(--colors-gray-5);
    color: var(--colors-base-text);
    font-weight: 700;
    padding: 2px 5px;
    font-size: 12px;
}

    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details .provider__specialties span.primary {
        border: none;
    }

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details .provider__ratings {
    margin: 12px 0 0 0;
}

    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details .provider__ratings .overall-rating .stars .star {
        display: inline-block;
        position: relative;
        margin-left: 2px;
        margin-right: 2px;
        line-height: 1;
    }

        .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details .provider__ratings .overall-rating .stars .star:before {
            color: var(--colors-providers-review-stars);
            font-size: 100%;
        }

@media (max-width: 991px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details .provider__ratings .overall-rating .stars .star:before {
        font-size: 87.5%;
    }
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details .provider__ratings .overall-rating p {
    font-size: 100%;
}

@media (max-width: 991px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details .provider__ratings .overall-rating p {
        font-size: 87.5%;
    }
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details .provider__ratings .overall-rating p span {
    font-weight: 700;
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__details .provider__ratings .overall-rating p a {
    text-decoration: none;
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion {
    width: 100%;
    margin-top: 15px;
}

    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__affiliation-region {
        display: flex;
        justify-content: center;
    }

        .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__affiliation-region p {
            font-size: 13px;
            line-height: 1.5;
            font-weight: bold;
            color: var(--colors-base-text);
        }

        .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__affiliation-region img {
            max-height: none;
            max-width: 140px;
            border-radius: 0;
        }

    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }

@media (max-width: 1519px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail {
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail {
        flex-wrap: wrap;
    }

        .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail p {
            text-align: center;
        }
}

@media (max-width: 767px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail {
        flex-wrap: nowrap;
    }
}

@media (max-width: 575px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail {
        flex-wrap: wrap;
    }
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail > div {
    margin-bottom: 6px;
    display: flex;
    flex: 1 1 auto;
    max-width: 100%;
    flex-wrap: wrap;
}

@media (max-width: 1519px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail > div {
        justify-content: space-around;
    }
}

@media (max-width: 991px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail > div {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail > div {
        flex-direction: column;
    }
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail > div p {
    font-size: 85%;
    margin-right: 12px;
}

@media (max-width: 1519px) {
    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail > div p {
        margin-right: 0;
    }
}

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail i {
    font-size: 0.8em;
    margin-right: 0.25em;
    height: 20px;
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail i:before {
        left: 0.5px;
        position: relative;
    }

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail .badge {
    margin-bottom: 6px;
}

    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail .badge i {
        color: var(--colors-provider-page-new-patients-icon-color, var(--colors-success-50));
    }

.hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail .virtual {
    margin-bottom: 6px;
}

    .hgm-card.feed .hgm-card__body.provider .provider__wrapper .provider__subregion .provider__subdetail .virtual i {
        color: var(--colors-provider-page-virtual-visits-icon-color, var(--colors-primary-30));
    }

.hgm-card.feed .hgm-card__body.provider .provider__footer {
    border-top: 1px solid var(--colors-gray-20) !important;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
}

    .hgm-card.feed .hgm-card__body.provider .provider__footer .actions-cf {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

        .hgm-card.feed .hgm-card__body.provider .provider__footer .actions-cf .simple-action {
            z-index: 1;
            text-decoration: none;
        }

            .hgm-card.feed .hgm-card__body.provider .provider__footer .actions-cf .simple-action i {
                margin-right: 4px;
                color: var(--colors-gray-85);
            }

            .hgm-card.feed .hgm-card__body.provider .provider__footer .actions-cf .simple-action:hover {
                text-decoration: none;
            }

        .hgm-card.feed .hgm-card__body.provider .provider__footer .actions-cf > *:only-child {
            margin: 0 auto;
        }
