/**
 * Theme Name: Digestive Health Specialists
 * Theme URI: https://digestivehealth.ws/
 * Description: A custom theme designed by TargetMarket for Digestive Health Specialists.
 * Author: TargetMarket
 * Author URI: https://www.targetmarket.com/
 * Version: 99.0
 * License: GNU General Public License & MIT
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: digestivehealthspecialists
**/


/* After Initial Developer Handoff - Edits */
.header-menu.header-menu.menu .submenu li>a {
    line-height: normal;
    padding: 13px 10px;
}
.dropdown.menu>li>a:hover {
    color: #2b357d;
}

/* Home */
.home-slide__caption {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.home-slide__caption-text {
	line-height: 1.43;
}

.service-link:hover {
    color: inherit;
}

.page-template-template-home .services {
	background: #ededed;
}
.page-template-template-home .services .section-title {
	color: #2b357d;
}
.page-template-template-home .services__subtitle {
	color: #333;
}
.page-template-template-home .services__featured-service-title {
	color: #2b357d;
}
.page-template-template-home .services__featured-service-title:before {
	background: #2b357d;
}

/*Mobile services */
.services-list__title, .services-list__service-type {
    color: #2b357d !important;
}
.services-list__service, .services-list__service-items a {
    color: #2b357d !important;
}

.text-and-button__text-content p strong {
	vertical-align: middle;
}

/* Blog */
.news__post {
    overflow: hidden;
}

.news__post-image-link .news__post-image {
    height: 300px;
    object-fit: cover;
    object-position: top;
}

/* Single Blog Post */
.single-post-template .large-12 {
    max-width: 1000px;
    margin: 0 auto;
}

.single-post-template .featured-image {
    margin-bottom: 35px;
}

.single-post-template .featured-image img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    object-position: top;
}

.single-post-template h1.entry__title {
    max-width: 95%;
    margin-bottom: 33px;
}

.single-post-template .entry__content ul, .entry__content ol {
    list-style: disc;
    margin-left: 40px;
    margin-bottom: 20px;
}

.single-post-template .entry__content ul li, .entry__content ol li {
    margin-bottom: 5px;
}

.single-post-template h3 {
    margin-top: 20px;
}

.single-post-template blockquote {
    position: relative;
    padding: 10px 20px 10px 50px;
    border: none;
}
.single-post-template blockquote::before {
    font-family: 'Font Awesome 5 Free';
    content: '\f10d';
    font-weight: 600;
    position: absolute;
    top: 0.5em;
    left: 0;
    font-size: 1.5em;
    color: #006a66;
}

.single-post-template blockquote h3 {
    color: #006a66;
    font-style: italic;
}
.single-post-template blockquote p {
    font-style: italic;
}

/* Single Blog Post Forms */
.single-post-template ul.gform_fields {
    margin-left: 0;
}

.single-post-template .ginput_complex>span {
    margin-left: 0;
}

.single-post-template .gfield_label {
    position: relative;
    clip: unset;
    clip-path: unset;
    width: auto;
    height: auto;
    margin: 16px auto 8px;
}

.single-post-template .gfield_description {
    font-size: 18px;
    margin-bottom: 5px;
}

.single-post-template .gform_wrapper .gfield_time_hour {
    margin-left: 0;
}

.single-post-template .gform_wrapper .gfield_time_minute input {
    width: 90px;
}

.single-post-template .gfield_time_ampm .ui-selectmenu-button {
    min-width: 90px;
}


/* Locations */
.acf-map {
    width: 100%;
    height: 400px;
    border: none;
    margin: 20px 0 0;
}
.acf-map img {
    max-width: inherit !important;
}

.page-template-template-locations #map iframe {
    height: 100%;
    width: 100%;
    border: none;
}


.page-template-template-locations #map-locations {
    margin-top: 60px;
}

.page-template-template-locations #map-locations .locations-container {
    display: flex;
}

.page-template-template-locations #map-locations .location {
    color: #333;
    padding-right: 40px;
    letter-spacing: .02375rem;
    font-size: 19px;
}

.page-template-template-locations #map-locations .location__title {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 0;
}

.page-template-template-locations #map-locations .location p {
    margin-bottom: 0.85rem;
}

.page-template-template-locations #map-locations .location .location__hours-variation-title {
    font-style: italic;
    font-size: 16px;
}

.page-template-template-locations #map-locations .location .location__address {
    font-style: italic;
    font-size: 16px;
    line-height: normal;
}
.page-template-template-locations #map-locations .location .location__phone {
    font-style: italic;
    font-size: 16px;
    margin-bottom: 0;
}
.page-template-template-locations #map-locations .location .location__fax {
    font-style: italic;
    font-size: 16px;
}

.page-template-template-locations #map-locations .location .hour-caption {
    font-weight: 800;
}

.page-template-template-locations #map-locations .location a {
    padding-top: 10px;
    display: block;
    color: #2b357d;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .page-template-template-locations #map-locations {
        margin-top: 40px;
    }
    .page-template-template-locations #map-locations .locations-container {
        flex-direction: column;
        text-align: center;
    }
    .page-template-template-locations #map-locations .location {
        padding: 0;
        margin-bottom: 35px;
    }
    .page-template-template-locations #map-locations .location:last-of-type {
        margin-bottom: 0;
    }
}


/* Contact */
[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'], textarea {
	font-size: 21px;
}

.ginput_complex {
	margin: 0;
    width: 100%;
}

.ginput_container_date {
	width: 33%;
}

.gfield input, .gfield select, .gfield .ui-selectmenu-button {
	height: 65px;
}

.gfield .ui-selectmenu-menu ul li:hover {
	background-color: #e1e1e1;
}

.page-template-template-home .form-disclaimer {
	color: #fff;
}
.contact-form.with-bg-image .form-disclaimer {
	color: #fff;
}

.ginput_recaptcha {
    width: 100%;
    overflow: hidden;
}


/* Single Post Sidebar Links */
.sidebar-container {
    position: relative;
}
.sidebar-links {
    position: sticky;
    top: 15%;
}
.sidebar-links h2.section-title {
    font-size: 22px;
    padding: 0 10px;
}
.sidebar-links ul {
    list-style-type: none;
}
.sidebar-links ul li {
    margin-bottom: 10px;
}


/* Share Your Experience Page */
body.page-template-template-contact.page-id-5855 .text-and-button {
    display: none;
}
body.page-template-template-contact.page-id-5855 .contact-form {
    padding-top: 60px;
}

/* Share Your Experience Lightbox */
#review-us {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.52);
    z-index: 9999;
}
#review-us.active {
    display: block;
}

#review-us .lightbox-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    padding: 50px 75px 45px;
    text-align: center;
    background: #fff;
    box-shadow:
    0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048),
    0 12.5px 10px rgba(0, 0, 0, 0.06),
    0 22.3px 17.9px rgba(0, 0, 0, 0.072),
    0 41.8px 33.4px rgba(0, 0, 0, 0.086),
    0 100px 80px rgba(0, 0, 0, 0.12);
}

#review-us a:hover {
    color: #006a66;
}

#review-us .rating__stars {
    margin-bottom: 25px;
}

#review-us #review-locations {
    height: 0px;
    overflow: hidden;
    margin-top: 20px;
    transition: height 0.2s linear;
}
#review-us #review-locations.active {
    height: 150px;
}

#review-us #review-locations ul {
    list-style-type: none;
    column-count: 2;
}
#review-us #review-locations ul li {
    margin-bottom: 10px;
    text-align: left;
}

#review-us button.lightbox-close {
    min-width: unset;
    letter-spacing: 0;
}
#review-us .lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 1px 8px;
    margin: 0;
    background-color: #2b357d;
    border-radius: 100%;
    box-shadow: 2px 4px 6px #000;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}
#review-us .lightbox-close:hover {
    background-color: #006a66;
}

@media screen and (max-width: 1000px) {
    #review-us .lightbox-container {
        width: 100%;
    }
    #review-us #review-locations.active {
        height: 180px;
    }
}


/* Satisfaction Survey Form Styles */
.gf_progressbar {
	display: none;
}

.page-id-3163 .gfield_label {
	position: relative;
	clip: auto;
	clip-path: unset;
	width: auto;
	height: auto;
	margin: 10px auto;
	font-size: 26px;
	font-weight: 600;
	color: #2b357d;
}

.page-id-3163 [type='checkbox']+label, .page-id-3163  [type='radio']+label {
	position: relative;
	top: -25px;
}


/* Newsletter Sidebar */
.sidebar-newsletter .widget__title {
	border-bottom: 1px solid #e6e6e6;
	padding-bottom: 5px;
}
.sidebar-newsletter #menu-newsletter-menu {
	flex-direction: column;
}
.sidebar-newsletter #menu-newsletter-menu li {
	margin-bottom: 12px;
}
.sidebar-newsletter #menu-newsletter-menu li:last-of-type {
	margin-bottom: 0;
}


/* Testimonials Section */
.testimonials .slick-track .slick-slide {
    vertical-align: top;
    height: 100%;
}
.testimonials .testimonial {
    min-height: 400px;
}


/* Payment Forms */
#tcform {
    
}

.payment-form fieldset {
    margin-bottom: 22px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}
.payment-form fieldset:nth-child(2n) {
    border: none;
}
.payment-form__section-header {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.payemnt-form__row {
    margin-bottom: 15px;
}
.payment-form__row-label {
    margin-bottom: 5px;
}
.payment-form input:not('input[type=submit]'), .payment-form textarea {
    padding: 5px;
    background: #fafafa;
    border-color: #ccc #efefef #efefef #ccc;
    border-width: 1px;
    border-style: solid;
    margin-bottom: 10px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}
.payemnt-form__row input:nth-of-type(n + 1) {
    margin-bottom: 10px;
}
.payment-form__input--radio {

}
.payment-form__input--text {
    font-size: 15px;
}
.payment-form__help-text {
    font-style: italic;
    font-size: 16px;
    color: #888;
}

.payment-form__submit-row {
    margin-top: 30px;
}
.payment-form__submit-row #sub {

}