:root {
    --cpt-border-color: #ccc;
    --cpt-box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.1);
}

.doctors-section {
    background-color: #929191;
}

.doctors-section h2 {
    margin-bottom: 30px;
}

.doctors-container {
    padding: 2em 0;
    margin: 0 auto;
    max-width: 1500px;
    width: 90%;
}

.cpt-doctor-image-link,
.location-related-post {
    width: 20%;
    margin-right: 5%;
    background: none;
    border: 1px solid var(--cpt-border-color);
    box-shadow: var(--cpt-box-shadow);
    margin-bottom: 2em;
    background: #fff;
}

.cpt-doctor-image-link a:hover,
.location-related-post a:hover {
    background: var(--gl-button-bg-hover);
}

.cpt-doctor-image-link a.doctor-headshot-link:hover,
a.location-related-post-link:hover .related-post-title {
    color: var(--gl-button-color-hover);
}

.single-location-doctors .cpt-doctor-image-link,
.location-related-post {
    width: 26%;
}

.cpt-doctor-image-link > a.doctor-headshot-link,
.location-related-post a.location-related-post-link {
    display: block;
    text-align: center;
    width: 100%;
    text-decoration: none;
    color: #333;
    transition: 100ms;
}

.cpt-doctor-image-link .doctor-headshot-link img,
.location-related-post .location-related-post-link img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
    height: auto;
    object-position: center;
    display: block;
    margin: 0 auto 20px auto;
    border: 1px solid var(--cpt-border-color);
}
.cpt-doctor-image-link{
    display:flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-direction:column;
    padding:1.5em;
    justify-content:space-between;
}
.location-related-post .location-related-post-link img.no-featured {
    object-fit: scale-down;
    background: #fff;
    padding: 10px;
}

.location-related-post .location-related-post-link img {
    aspect-ratio: 16/9
}

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

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

.doctor-name, .related-post-title, p.doc-special {
    margin-bottom: 9px;
    font-size: 1.1em;
    font-weight: 700;
}
.doctor-name{
    font-size:1.2em;
}
.doctor-headshot-link:hover{
    opacity:0.6;
}
.cpt-location-info a {
    text-decoration: none;
}

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

.cpt-location-info .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;
}
.post-type-archive-doctors .standard-inner-wrapper{
    max-width:1500px;
}
.phone-note {
    font-size: 0.9em;
    margin-top: -0.5em;
    display: block;
    font-style: italic;
}

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

/* Single Doctors and Locations */
.single-cpt-wrapper {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    justify-content: space-between;
}

.single-cpt-wrapper > div:first-child {
    width: 30%;
    border-right: 1px solid var(--cpt-border-color);
    padding-right: 2em;
}

.single-cpt-wrapper > div:nth-child(2) {
    padding-left: 2em;
    width: 70%;
}

.embed-container.location-page {
    padding-bottom: 50%;
    max-width: 100%;
}

.single-cpt-wrapper .embed-container {
    padding-bottom: 80%;
    max-width: 100%;
}

.doctor-specialties-locations ul,
.single-location-info ul {
    list-style: none;
    padding-left: 0;
    margin: 1em 0;
}

.single-location-buttons {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-direction: column;
    align-items: flex-start;

}

.single-doctors .doctor-specialties-locations h3 {
    margin-bottom: 10px;
}

h3.doctor-additional-specialties {
    color: #0a4b78;
    font-size: 1.1em;
    margin-top: 0;
    text-transform: uppercase;
}

/* MixItUp Doctors Pages */
.mix-holder .container {
    background: none;
    min-height: 425px;
}

.mix-holder .container .mix {
    display: none;
}

form.controls {
    margin-top: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid var(--cpt-border-color);
}

.search-field-div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.search-field-div fieldset {
    width: 33%;
    max-width: 250px;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    margin: 0;
    background: transparent;
    border-radius: 3px;

}

.search-field-div select {
    width: 90%;
    padding: 10px 20px;
    border: 1px solid var(--cpt-border-color);
}

.search-field-div fieldset h2 {
    font-family: inherit;
    color: #333;
    display: inline-block;
    font-size: 1.5em;
    margin-bottom: 5px;
    margin-top: 1em;
}

.dr-clear-btn {
    margin: 0;
}

.dr-clear-btn, .dr-clear-btn:active, button.dr-clear-btn:focus {
    display: block;
    width: 200px;
    background: var(--gl-button-bg);
    border-radius: 0;
    outline: none;
    border: none;
    color: var(--gl-button-color);
    padding: 10px 12px;
    text-transform: uppercase;
    transition: 0.1s;
    font-weight: 300;
}

.dr-clear-btn:hover {
    background: var(--gl-button-bg-hover);
    color: var(--gl-button-color-hover);
}

#errorMessage {
    margin-top: 2em;
    text-align: center;
    height: 1em;
}

@media (max-width: 991px) {

    .doctor-specialties-locations {
        display: flex;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .doctor-specialties-locations > div {
        width: 50%;
    }

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

    .single-cpt-wrapper > div:first-child {
        width: 100%;
        border-right: none;
        padding-right: 0;
    }

    .single-cpt-wrapper > div:nth-child(2) {
        padding-left: 0;
        width: 100%;
    }
    .cpt-doctor-image-link, .location-related-post{
        margin-right:1%;
    }
}

@media (max-width: 767px) {

    .cpt-doctor-image-link,
    .single-location-doctors .cpt-doctor-image-link,
    .location-related-post {
        width: 49%;
    }

    .location-related-post .location-related-post-link img {
        height: 110px;
    }

    .cpt-doctor-image-link {
        padding: 0;
    }

    .cpt-doctor-image-link > a.doctor-headshot-link,
    .location-related-post a.location-related-post-link {
        padding: 0.5em;
    }

    .related-post-title,
    .doctor-name {
        font-size: 1em;
    }

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

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

    .search-field-div fieldset {
        width: 50%;
    }

    .dr-clear-btn {
        margin-top: 1em;
    }
}

@media (max-width: 479px) {

    .doctor-specialties-locations > div {
        width: 100%;
    }

}