/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/
.hospital-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: stretch;
    column-gap: 1em;
}
.hospital-card {
    border: 1px solid var(--bb-content-border-color);
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 1em;
}
.hospital-card:hover {
    box-shadow: 0 0 10px var(--bb-headings-color);
    border: 1px solid var(--bb-headings-color);
}
@media only screen and (max-width: 600px) {
    .hospital-card {
        max-width: 100%;
        width: 100%;
    }
}
@media only screen and (min-width: 600px) {
    .hospital-card {
        max-width: 48%;
        width: 390px;
    }
}
@media only screen and (min-width: 996px) {
    .hospital-card {
        max-width: 32%;
        width: 390px;
    }
}
.hospital-image {
    display: inline;
    max-width: 390px;
    max-height: 150px;
    object-fit: cover;
    margin: 0;
}
.hospital-image img {
    display: block;
    max-height: 150px;
    width: 100%;
    object-fit: cover;
}
.hospital-header {
    margin: 1rem 1rem 0;
}
.hospital-location {
    margin: 1rem;
}
.hospital-member-list {
    margin: 1rem;
    padding-bottom: 0;
}
.hospital-member-list p, .hospital-members-header {
    margin-bottom: 5px;
}

/* --------------------------------------
 * Calendar customizations
 * ----------------------------------- */

.tribe-events-calendar-month__header-column {
    --tec-grid-width-1-of-7: 100%;
    border-top-width: 1px !important;
    border-bottom-width: 1px !important;
}

.tribe-events-calendar-month__header-column:first-child {
    border-left-width: 1px !important;
}