/*
Just some base styling so things look semi-ok. Probably need to override them.
*/

.inner-wrapper {
    width: 90%;
    margin: 2em auto;
}

.cpt-doctor-image-link {
    width: 20%;
    padding: 1.5em;
    background: none;
}

.cpt-doctor-image-link > a {
    display: block;
    text-align: center;
    width: 100%;
    text-decoration: none;
    color: #333;
}

.cpt-doctor-image-link > a:hover {
    color: blue;
}

.cpt-doctor-image-link img {
    width: 100%;
    transition: all 0.2s ease-in-out;
}

.flex-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.flex-start {
    justify-content: flex-start;
}

.flex-between {
    justify-content: space-between;
}

.doctor-name {
    margin-top: 0.5em;
    margin-bottom: 10px;
    line-height: 1;
}

.cpt-location-info {
    display: flex;
    justify-content: space-between;
}

.cpt-location-info a {
    text-decoration: none;
}

.cpt-location-info.flex-wrapper > div:first-child,
.location-archive.flex-wrapper > div:first-child {
    width: 33%;
    padding-right: 2em;
}

.cpt-location-info.flex-wrapper > div:nth-child(2),
.location-archive.flex-wrapper > div:nth-child(2) {
    flex: 1;
}

.cpt-location-info iframe {
    width: 100%;
}

.cpt-location-info h2 {
margin-bottom: 0.7em;
}

.location-phone-list {
    list-style: none;
    padding-left: 0;
    margin: 1em 0;
}

.phone-note {
    font-size: 0.9em;
    margin-top: -0.5em;
    display: block;
    font-style: italic;
}

.location-services, .doctor-specialties-locations {
    margin: 3em auto;
}

.doctor-featured-image {
    margin-bottom: 1em;
}

.doctor-individual  {
    width: 20%;
}

.nowrap {
    white-space: nowrap;
}

@media (max-width: 767px) {

    .cpt-doctor-image-link {
        width: 33%;
    }
    .cpt-location-info.flex-wrapper > div:first-child {
        width: 100%;
        padding-right: 0;
    }

    .cpt-location-info.flex-wrapper > div:nth-child(2) {
        flex: auto;
    }
}

@media (max-width: 479px) {

    .cpt-doctor-image-link {
        width: 50%;
    }

    .cpt-doctor-image-link {
        width: 50%;
    }
}