﻿/*#region Find an Audiologist */

.member-search-page #content {
    margin-top: 0 !important;
}

.member-search-page ol.breadcrumb {
    display: none;
}

.member-search-container {
    background: var(--quaternary);
    margin-bottom: 1em;
    padding: 2em 0;
    color: #fff;
}

.member-search-container h2 {
    color: #fff !important;
}

.member-search label {
    color: #fff;
}

.member-search input[type=checkbox] + label {
    color: #fff !important;
}

.member-search input,
.member-search select {
    color: #fff;
}

.member-search select option,
.member-search select optgroup {
    color: #333;
}

.member-search .form-group:not(:focus-within) {
    --field-color: #eee;
}

.member-search .checkbox-chips {
    --chip-color: var(--tertiary);
}

.member-search .checkbox-chips label:hover {
    background: rgba(255, 255, 255, .1);
}

#map {
    height: 35em;
    max-height: 50vh;
    margin-top: -1em;
    margin-bottom: 1em;
}

.listing.member {
    --width: 33%;
    --listing-color: var(--tertiary);
    position: relative;
    display: flex;
    flex-direction: column;
}

.listing.member:hover {
    --listing-color: var(--tertiary-active);
}

.listing.member img,
.listing.member .img {
    border: 3px solid var(--listing-color);
    border-bottom: none;
    transition: background .25s ease, border-color .25s ease;
    height: 15em;
    object-fit: cover;
    object-position: center top;
}

.listing.member .details {
    background: var(--listing-color);
    color: #fff;
    transition: background .25s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    padding: 1.5em 1em;
}

.listing.member .specialities {
    font-size: 0.9em;
    line-height: 1.4;
    margin-top: 0.5em;
    margin-bottom: 0;
    opacity: 0.9;
}

.listing.member h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: .25em;
}

.listing.member .distance {
    position: absolute;
    top: .75em;
    right: .75em;
    line-height: 1.1;
}

.listing.member ul.chips {
    justify-content: center;
}

.listing.member ul.chips .chip.more-categories {
    background: var(--quaternary);
}

/* Google maps info window */
.gm-style-iw {
    min-width: 15em !important;
}

.gm-style-iw h4 {
    margin-bottom: .25em;
}

.gm-style-iw h4 + p {
    margin-top: 0;
}
/*#endregion*/

/*#region Audiologist Profile*/
.profile-header {
    background: var(--quaternary);
    margin-bottom: 1em;
    padding: 2em 0;
    color: #fff;
}

.profile-header h2,
.profile-header h4 {
    color: #fff;
}

.profile-header img {
    max-height: 20em;
    width: 100%;
    object-fit: contain;
}

.profile-header .row {
    display: flex;
    flex-wrap: wrap;
}

.profile-header .details-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.profile-section {
    background: var(--grey-100);
    padding: 1em;
    margin-bottom: 1em;
}

ul.icon-list {
    list-style: none;
    padding-left: 0;
    font-size: 1.25em;
}

ul.icon-list a {
    color: var(--primary);
}

ul.icon-list .fa {
    display: inline-block;
    margin-right: .5em;
}

ul.icon-list li:last-child {
    margin-bottom: 0;
}

@supports (display: grid) {
    ul.icon-list {
        display: grid;
        grid-template-columns: min-content auto;
        gap: .5em .25em;
    }

    ul.icon-list li,
    ul.icon-list li a {
        display: contents;
        line-break: anywhere;
    }

    ul.icon-list .fa {
        margin-right: 0;
        align-self: center;
    }
}

.profile-addresses {
    font-size: 1.1em;
}

.profile-address {
    margin-bottom: .5em;
}
/*#endregion*/