: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: var(--gl-max-width, 1350px);
    width: 90%;
}

.cpt-doctor-image-link,
.cpt-related-post {
    width: 19%;
    margin-right: 1%;
    background: none;
    /*border: 1px solid var(--cpt-border-color);*/
    /*box-shadow: var(--cpt-box-shadow);*/
    /*margin-bottom: 2em;*/
    /*background: var(--gl-button-bg);*/
}

.doc-grid .cpt-doctor-image-link {
    width: calc(100% / 6);
    margin: 0;
    padding: 10px;
}

.doc-grid .cpt-doctor-image-link a {
    background: var(--gl-button-bg);
}

.cpt-doctor-image-link a:hover,
.cpt-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,
.cpt-related-post {
    width: 24%;
}


.cpt-doctor-image-link .doctor-headshot-link img,
.cpt-related-post .location-related-post-link img {
    width: 100%;
    object-fit: cover;
    height: auto;
    object-position: center;
    display: block;
    margin: 0 auto 0 auto;
    border: none;
}

.cpt-doctor-image-link .doctor-headshot-link img {
	    object-position: top;
}

.entry .doc-suffix {
    margin-top: -0.8em;
    color: #666;
}

.doctor-name, .related-post-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 0;
    background: #fff;
}

.doctor-name {
    padding: 5px;
    line-height: 1.3;
    min-height: auto;
}

a:hover .doctor-name {
    background: var(--gl-button-bg);
    color: #fff;
}

.cpt-doctor-image-link {
    padding: 15px;
}

.cpt-doctor-image-link > a.doctor-headshot-link,
.cpt-related-post a.location-related-post-link {
    display: block;
    text-align: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: 100ms;
    border: none;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
    padding: 0;
	    background: #fff;

    color: #000;
    margin-bottom: 0;
}

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

.doc-grid .cpt-doctor-image-link a:hover {
    background: #004aac;
    color: #fff;
}

.doc-search-field {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.doc-search-field button {
    font-size: 12px;
    border-radius: 50px;
    position: absolute;
    right: 18px;
    display: none;
}

.doc-search-field button:hover {
    background: #979797;
}

.cpt-doctor-image-link .doctor-headshot-link img {
    aspect-ratio: 4 / 5;
}

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

.cpt-related-post .location-related-post-link img.no-featured {
    object-fit: contain;
    background: #fff;
    padding: 5px;
}

.doc-grid {
    margin-bottom: 2.5em;
    padding-bottom: 2.5em;
    align-items: stretch;
    border-bottom: 1px solid var(--cpt-border-color);
}

.doc-grid:last-of-type {
    border-bottom: none;
}

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

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

.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;
}

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

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

/* 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: 33%;
    border-right: 1px solid var(--cpt-border-color);
    padding-right: 2em;
}

.single-cpt-wrapper > div:nth-child(2) {
    padding-left: 2em;
    flex: 1;
}

.single-doctors .single-cpt-wrapper > div:first-child {
    width: 25%;
}


.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;
}

.doctor-specialties-locations li .ui-button {
    margin: 0 auto 1em auto;
    width: 100%;
    max-width: 300px;

}

.doctor-posts-list a {
    display: block;
}

.doctor-posts-list li {
    padding: 1em 0;

}

.doctor-posts-list li:not(:last-child) {
    border-bottom: 1px solid var(--cpt-border-color);

}

.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;
    text-align: justify;
    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 > div {
    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, .search-field-div input {
    width: 90%;
    padding: 6px;
    border: 1px solid var(--cpt-border-color);
    height: 40px;
}

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

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

.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: 6px 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 {
    text-align: center;
    height: 1em;
}

.doctor-author-card {
    background: #cecece;
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-gap: 1em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 1em;
    margin-bottom: 1em;
}

.doctor-author-card__written-wrap {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    align-items: center;
}

.doctor-author-card svg {
    margin-right: 0.5em;
    width: 16px;
    height: 16px;
    padding-bottom: 2px;
}

.doctor-author-card svg g {
    fill: #40ff00;
}

.doctor-author-card__label {
    font-weight: 300;
    font-size: 1.1em;
    margin-bottom: 0;
}

.doctor-author-card .doctor-author-card__title {
    margin-top: 10px;
    margin-bottom: 10px;
}

.doctor-author-card a.ui-button {
    margin: 0;
}

.doctor-author-card .doctor-author-card__excerpt {
    margin-bottom: 10px;
}

@media (max-width: 1400px) {

    .doc-grid .cpt-doctor-image-link {
        width: calc(100% / 5);
    }
}

@media (max-width: 1080px) {

    .doc-grid .cpt-doctor-image-link {
        width: calc(100% / 3);
    }
}

@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: 48%;
    }

    .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%;
    }
	
	
    .single-doctors .single-cpt-wrapper > div:first-child {
        width: 100%;
    }

}

@media (max-width: 767px) {

	
.doctor-featured-image {
    margin-bottom: 2em;
}
	
    .doc-grid .cpt-doctor-image-link {
        padding: 5px;
    }

    .search-field-div > div {
        width: 50%;
        max-width: 100%;
    }

    .search-field-div div h2 {
        font-family: inherit;
        color: #333;
        display: inline-block;
        font-size: 1em;
    }

    .search-field-div > div:first-child {
        width: 100%;
    }

    .search-field-div select, .search-field-div input {
        width: 95%;
    }

    .doc-grid .cpt-doctor-image-link {
        width: calc(100% / 2);
    }

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

    .cpt-doctor-image-link {
        padding: 10px;
    }

    .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%;
    }

}