/* ==========================================================================
   TABLE OF CONTENTS
   ========================================================================== */

/* 1. GENERAL STYLES */
/* 2. FACET WP SELECTIONS */
/* 3. PROVIDER GRID LAYOUT */
/* 4. NEXTPATIENT WIDGETS - PRIMARY */
/* 5. NEXTPATIENT WIDGETS - SIDEBAR */
/* 6. PROVIDER GRID RESPONSIVE OVERRIDES */
/* 7. PROVIDER SPECIALTIES & CERTIFICATIONS */
/* 8. MOBILE BOOK APPOINTMENT */
/* 9. MENU & NAVIGATION */
/* 10. MARQUEE ANIMATION */
/* 11. COUNTERS & LAYOUT */
/* 12. LOCATIONS */
/* 13. INSURANCE & FINANCIAL */
/* 14. UTILITY CLASSES */

/* ==========================================================================
   1. GENERAL STYLES
   ========================================================================== */

/* Search Results */

/* Search Pagination */
.fa-angle-right:before {
    color: #333;
}
.fa-angle-left:before {
    color: #333;
}

.search-results .pagination li.page-next a, .search-results .pagination li.page-prev a  {
	background: transparent !important;
}

.search-results .pagination .page-prev span.btn-disable-hover {
	display:none !important;
}

.search-results .post-content article + article {
    margin: 0px 0px 0px 0px;
}

/* 2-Column Search Results Grid CSS */
.search-results .post-body .row-parent:not(.row-navigation) {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-results .post-body article {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb;
}

.search-results .post-body article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.search-results .post-body .entry-header {
    margin-bottom: 16px;
}

.search-results .post-body .entry-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.search-results .post-body .entry-title a {
    color: #0057af;
    text-decoration: none;
}

.search-results .post-body .entry-title a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.search-results .post-body .entry-summary {
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

/* Add "Read more" links after each excerpt */
.search-results .post-body .entry-summary::after {
    content: 'Read more →';
    display: block;
    margin-top: 16px;
    color: #0057af;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.search-results .post-body .entry-summary:hover::after {
    color: #1d4ed8;
}

/* Category tags */
.search-results .post-body .category_service-cosmetic .entry-header::before {
    content: 'Cosmetic';
    display: block;
    background: #e5e7eb;
    color: #374151;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 8px;
    width: fit-content;
}

.search-results .post-body .category_service-medical .entry-header::before {
    content: 'Medical';
    display: block;
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 8px;
    width: fit-content;
}

.search-results .post-body .category-blog .entry-header::before {
    content: 'Blog';
    display: block;
    background: #fef3c7;
    color: #92400e;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 8px;
    width: fit-content;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-results .post-body .row-parent:not(.row-navigation) {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    
    .search-results .post-body article {
        padding: 20px;
    }
    
    .search-results .post-body .entry-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .search-results .post-body .row-parent:not(.row-navigation) {
        padding: 12px;
    }
    
    .search-results .post-body article {
        padding: 16px;
    }
}



.uncode-missing-media {display:none !important;}

.cat-all-promotions .blog-book-appt, .cat-all-events .blog-book-appt {display: none !important;}

.location-crumb a, .location-crumb a:hover, .style-dark .breadcrumb > li a, .style-dark .breadcrumb {color: #fff !important;}
.style-dark .breadcrumb > li a:hover {text-decoration: underline;}

.style-light .breadcrumb > li a, .style-light .breadcrumb {color: #000 !important;}

article p a {
    text-decoration: underline;
}

.fuzzy-bg .uncol {
   position: relative;
}

/* BASE STYLES - Ensure consistent positioning context */
.fuzzy-bg .uncol {
    position: relative;
    isolation: isolate; /* Create stacking context */
}

/* LIGHT BLUR - for style-light text */
.fuzzy-bg .uncol.style-light::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -400px;
    right: -100px;
    bottom: -100px;
    background: radial-gradient(ellipse 60% 70% at 40% 60%, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.6) 15%, 
        rgba(255, 255, 255, 0.4) 30%, 
        rgba(255, 255, 255, 0.25) 45%, 
        rgba(255, 255, 255, 0.15) 60%, 
        rgba(255, 255, 255, 0.08) 75%, 
        rgba(255, 255, 255, 0.03) 85%, 
        rgba(255, 255, 255, 0.01) 95%, 
        transparent 100%);
    -webkit-filter: blur(30px);
    filter: blur(30px);
    z-index: -1;
    border-radius: 60% 40% 80% 20%;
    pointer-events: none; /* Prevent interference with interactions */
    will-change: transform; /* Optimize for animations/transforms */
    transform: translate3d(0, 0, 0); /* Force GPU acceleration */
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* DARK BLUR - for style-dark text */
.fuzzy-bg .uncol.style-dark::before {
    content: '';
    position: absolute;
    top: -300px;
    left: -200px;
    right: -100px;
    bottom: -100px;
    background: radial-gradient(ellipse 60% 70% at 40% 60%, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.6) 15%, 
        rgba(0, 0, 0, 0.4) 30%, 
        rgba(0, 0, 0, 0.25) 45%, 
        rgba(0, 0, 0, 0.15) 60%, 
        rgba(0, 0, 0, 0.08) 75%, 
        rgba(0, 0, 0, 0.03) 85%, 
        rgba(0, 0, 0, 0.01) 95%, 
        transparent 100%);
    -webkit-filter: blur(30px);
    filter: blur(30px);
    z-index: -1;
    border-radius: 60% 40% 80% 20%;
    pointer-events: none;
    will-change: transform;
    transform: translate3d(0, 0, 0); /* Force GPU acceleration */
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* TABLET ADJUSTMENTS */
@media (max-width: 1024px) {
    .fuzzy-bg .uncol.style-light::before,
    .fuzzy-bg .uncol.style-dark::before {
        -webkit-filter: blur(40px);
        filter: blur(40px);
    }
}

/* MOBILE ADJUSTMENTS - SIMPLIFIED FOR BETTER PERFORMANCE */
@media (max-width: 768px) { 
    .fuzzy-bg .uncol.style-light::before {
        top: -20px;
        left: -60px;
        right: -60px;
        bottom: -40px;
        background: rgba(255, 255, 255, 0.4);
        -webkit-filter: blur(8px);
        filter: blur(8px);
        border-radius: 50%;
    }
    
    .fuzzy-bg .uncol.style-dark::before {
        top: -40px;
        left: -60px;
        right: -60px;
        bottom: -40px;
        background: rgba(0, 0, 0, 0.3);
        -webkit-filter: blur(8px);
        filter: blur(8px);
        border-radius: 50%;
    }

    /* Button styling for mobile */
    .fuzzy-bg .btn-white {
        color: #ffffff !important;
        background-color: #0057af !important;
        border-color: #0057af !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    /* Reduce background image opacity on mobile */
    .fuzzy-bg .background-inner {
        opacity: 0.4;
    }
}

@media (max-width: 767px) {
    
}

/* EXTRA SMALL MOBILE - FURTHER SIMPLIFIED */
@media (max-width: 480px) {
    .fuzzy-bg .uncol.style-light::before {
        top: -10px;
        left: -40px;
        right: -40px;
        bottom: -30px;
        background: rgba(255, 255, 255, 0.3);
        -webkit-filter: blur(6px);
        filter: blur(6px);
    }
    
    .fuzzy-bg .uncol.style-dark::before {
        top: -20px;
        left: -40px;
        right: -40px;
        bottom: -30px;
        background: rgba(0, 0, 0, 0.25);
        -webkit-filter: blur(6px);
        filter: blur(6px);
    }
    
    /* Further reduce background opacity on very small screens */
    .fuzzy-bg .background-inner {
        opacity: 0.3;
    }
}

/* FALLBACK FOR BROWSERS THAT DON'T SUPPORT BACKDROP-FILTER */
@supports not (backdrop-filter: blur(10px)) {
    .fuzzy-bg .btn-white {
        background-color: rgba(255, 255, 255, 0.9) !important;
        color: #0057af !important;
    }
}

/* HIGH DPI/RETINA DISPLAY OPTIMIZATIONS */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .fuzzy-bg .uncol.style-light::before,
    .fuzzy-bg .uncol.style-dark::before {
        transform: translate3d(0, 0, 0); /* Force hardware acceleration */
        -webkit-transform: translate3d(0, 0, 0);
    }
}

/* ==========================================================================
   2. FACET WP SELECTIONS
   ========================================================================== */

.fwpl-col.el-ymt9ah {
  /* This is the container that will detect hover for the entire card */
}

/* Style the image container for overflow handling */
.fwpl-item.el-dt925u {
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Style the image link */
.fwpl-item.el-dt925u a {
  display: block;
  overflow: hidden;
}

/* Style the image for smooth transitions */
.fwpl-item.el-dt925u img {
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover effect triggered by hovering ANYWHERE on the entire card */
.fwpl-col.el-ymt9ah:hover .fwpl-item.el-dt925u img {
  transform: scale(1.1); /* Zoom in by 10% */
  filter: brightness(0.9); /* Darken by 10% */
}

/* Optional: Add subtle shadow to image container when card is hovered */
.fwpl-col.el-ymt9ah:hover .fwpl-item.el-dt925u {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Ensure all buttons and links remain fully clickable */
.fwpl-item.el-es29kh a,
.fwpl-item.el-xcdz5j a,
.fwpl-item.el-1jdxae a,
.fwpl-item.el-dt925u a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.facetwp-selections ul::before {
    display: inline-block;
    content: 'Your Selections: ';
    font-weight: bold;
}

.facetwp-selections li {
    display: inline-block;
    line-height: 1;
    padding: 8px 16px;
    margin: 0px 6px;
    border-radius: 4px;
    background: #f8f8f8;
    font-size: 18px;
}

.facetwp-selections .facetwp-selection-value {
    color: #0057af;
}

.facetwp-selections .facetwp-selection-label {
    display: none;
}

/* ==========================================================================
   3. PROVIDER GRID LAYOUT - MAIN STRUCTURE
   ========================================================================== */

/* Target the main layout container */
.fwpl-layout.el-ptvr9j {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Target each result card */
.fwpl-layout.el-ptvr9j .fwpl-result {
    background: white;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Target the row inside each result */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-row.el-yqt486 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Target the column container */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-row.el-yqt486 .fwpl-col.el-ymt9ah {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

/* Target the image container */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-dt925u {
    text-align: center;
    margin-bottom: 16px;
	overflow: hidden;
	position: relative;
}

.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-dt925u:before {
	content: '';
	position: absolute;
	display: block;
	inset: 0;
	background: #000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: all 0.3s ease 0.1s;
	z-index: 2;
}

/* Target the images */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-dt925u img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
	transition: transform 1s ease;
}

.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-dt925u:hover img {
	 transform: scale(1.1);
}
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-dt925u:hover:before {
	opacity: 0.2;
	visibility: visible;
}


/* Target the name container */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-es29kh {
    text-align: center;
    margin-bottom: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

/* Target the name heading */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-es29kh h3.h6 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

/* Target the name link */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-es29kh h3.h6 a {
    text-decoration: none;
    color: inherit;
}

.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-es29kh h3.h6 a:hover {
    color: #0057af ;
}

/* Target the View button container */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-xcdz5j.view-more {
    margin-bottom: 12px;
    margin-top: 0;
    width: 100%;
}

/* Target the View button */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-xcdz5j.view-more .fwpl-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background-color: #f8f9fa !important;
    color: #333 !important;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Target the View button hover */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-xcdz5j.view-more .fwpl-btn:hover {
    background-color: #e9ecef !important;
    transform: translateY(-1px);
}

/* Target the Book Appointment button container */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-1jdxae.book {
    margin-bottom: 0;
    width: 100%;
}

/* Target the Book Appointment button */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-1jdxae.book .fwpl-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background-color: #0057af !important;
    color: white !important;
    border: 1px solid #0057af;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Target the Book Appointment button hover */
.fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-1jdxae.book .fwpl-btn:hover {
    background-color: #3c5aa6 !important;
    transform: translateY(-1px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .fwpl-layout.el-ptvr9j {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }
    
    .fwpl-layout.el-ptvr9j .fwpl-result {
        padding: 16px;
    }
    
    .fwpl-layout.el-ptvr9j .fwpl-result .fwpl-item.el-dt925u img {
        width: 100% !important;
    }
}

/* ==========================================================================
   4. NEXTPATIENT WIDGETS - PRIMARY
   ========================================================================== */

/* NEXTPATIENT APPOINTMENT BOOKING WIDGET */
#nextpatient-widget\.1.aqua-book-appt,
.aqua-book-appt {
    font-family: inherit;
    line-height: 1.6;
}

.nextpatient-provider-table .nextpatient-provider-image-cell {
	
}
.aqua-book-appt .nextpatient-provider-table .nextpatient-provider-image-cell {
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
}

/* SEARCH CRITERIA FORM */
.aqua-book-appt .nextpatient-criteria-container {
    margin-bottom: 30px;
}

.aqua-book-appt .nextpatient-criteria-box {
    margin-bottom: 20px;
}

.aqua-book-appt .nextpatient-criteria-label label {
    font-size: 0.9em;
    font-weight: 600;
    color: #333333;
    margin-bottom: 6px;
    display: block;
}

.aqua-book-appt .nextpatient-criteria-input select,
.aqua-book-appt .nextpatient-criteria-input input[type="text"],
.aqua-book-appt .nextpatient-criteria-input input[name="age"],
.aqua-book-appt .nextpatient-criteria-input input[name="zip"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    font-size: 1em;
    background: white;
    color: #333333;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.aqua-book-appt .nextpatient-criteria-input select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.aqua-book-appt .nextpatient-criteria-input input[type="submit"] {
    background: linear-gradient(135deg, #0057af 0%, #0066bb 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: auto;
}

.aqua-book-appt .nextpatient-criteria-input input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 84, 154, 0.3);
    background: linear-gradient(135deg, #003d73 0%, #004d8a 100%);
}

.aqua-book-appt .nextpatient-criteria-input input:hover,
.aqua-book-appt .nextpatient-criteria-input select:hover {
    border-color: #0057af;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.aqua-book-appt .nextpatient-criteria-input input:focus,
.aqua-book-appt .nextpatient-criteria-input select:focus {
    outline: none;
    border-color: #0057af;
    box-shadow: 0 0 0 3px rgba(0, 84, 154, 0.1);
}

/* PROVIDER RESULTS */
.aqua-book-appt .nextpatient-provider-table {
    margin-top: 30px;
}

.aqua-book-appt .nextpatient-provider {
    margin-bottom: 30px;
    border: 1px solid #e8ecef;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    background: white;
    display: flex;
    align-items: flex-start;
}

.aqua-book-appt .nextpatient-provider:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #0057af;
}

.aqua-book-appt .nextpatient-provider-image-cell {
    width: 140px;
    height: 140px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.aqua-book-appt .nextpatient-provider-provider-cell {
    flex: 1;
    padding: 24px 28px;
}

.aqua-book-appt .nextpatient-provider-name-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.aqua-book-appt .nextpatient-provider-name-block-left {
    display: none; /* Hide small photo since we have the large one */
}

.aqua-book-appt .nextpatient-provider-name-block-right {
    flex: 1;
}

.aqua-book-appt .nextpatient-provider-name {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.aqua-book-appt .nextpatient-provider-address {
    color: #6c757d;
    font-size: 0.95em;
    line-height: 1.4;
    margin-bottom: 6px;
}

.aqua-book-appt .nextpatient-provider-address em {
    color: #0057af;
    font-weight: 600;
    font-style: normal;
}

.aqua-book-appt .nextpatient-provider-age-range {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 6px;
}

.aqua-book-appt .nextpatient-provider-blurb {
    margin-bottom: 4px;
}

.aqua-book-appt .nextpatient-provider-blurb a {
    color: #0057af;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
}

.aqua-book-appt .nextpatient-provider-blurb a:hover {
    text-decoration: underline;
}

/* APPOINTMENT TIME SLOTS - FIXED BACKGROUND ISSUE */
.aqua-book-appt .nextpatient-provider-times {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.aqua-book-appt .nextpatient-provider-times > div {
    display: inline-block !important;
    vertical-align: top !important;
    margin: 0 !important;
}

.aqua-book-appt .nextpatient-slot-time {
    padding: 16px 20px !important;
    background: linear-gradient(135deg, #f1f1f1 0%, #e8e8e8 100%) !important;
    border: none !important;
    border-radius: 4px !important;
    color: #212223 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    min-width: 120px;
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

.aqua-book-appt .nextpatient-slot-time:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #0057af 0%, #0066bb 100%) !important;
    color: white !important;
}

.aqua-book-appt .nextpatient-slot-time-day {
    font-size: 0.9em;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.3;
    display: block;
}

.aqua-book-appt .nextpatient-slot-time-time {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.3;
    display: block;
}

.aqua-book-appt .nextpatient-slot-time-more {
    background: linear-gradient(135deg, #0057af 0%, #0066bb 100%) !important;
    color: white !important;
    font-style: italic;
    font-size: 1.1em;
    padding: 16px 24px !important;
}

.aqua-book-appt .nextpatient-slot-time-more:hover {
    background: linear-gradient(135deg, #003d73 0%, #004d8a 100%) !important;
}

/* CALL TO SCHEDULE STYLING */
.aqua-book-appt .call-no-times {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    background: #f8f9fa;
    padding: 18px;
    border-radius: 4px;
    margin-top: 4px;
}

.aqua-book-appt .call-no-times a {
    color: #0057af;
    text-decoration: none;
    font-weight: 600;
}

.aqua-book-appt .call-no-times a:hover {
    text-decoration: underline;
}

/* RESPONSIVE DESIGN - IMPROVED MOBILE LAYOUT */
@media (max-width: 600px) {
    .aqua-book-appt .nextpatient-provider {
        flex-direction: column;
        align-items: stretch;
    }
    
    .aqua-book-appt .nextpatient-provider-image-cell {
        width: 100%;
        height: 160px;
        order: -1;
    }
    
    .aqua-book-appt .nextpatient-provider-provider-cell {
        padding: 20px;
        width: 100%;
    }
    
    .aqua-book-appt .nextpatient-provider-name {
        font-size: 1.2em;
    }
    
    .aqua-book-appt .nextpatient-provider-times {
        justify-content: center;
        gap: 8px;
    }
    
    .aqua-book-appt .nextpatient-slot-time {
        min-width: 110px;
        padding: 14px 16px !important;
    }
    
    .aqua-book-appt .nextpatient-slot-time-day {
        font-size: 0.85em;
    }
    
    .aqua-book-appt .nextpatient-slot-time-time {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .aqua-book-appt .nextpatient-provider-image-cell {
        height: 140px;
    }
    
    .aqua-book-appt .nextpatient-provider-provider-cell {
        padding: 16px;
    }
    
    .aqua-book-appt .nextpatient-provider-name {
        font-size: 1.1em;
        line-height: 1.2;
    }
    
    .aqua-book-appt .nextpatient-provider-address {
        font-size: 0.9em;
    }
    
    .aqua-book-appt .nextpatient-slot-time {
        min-width: 100px;
        padding: 12px 14px !important;
    }
    
    .aqua-book-appt .nextpatient-slot-time-day {
        font-size: 0.8em;
    }
    
    .aqua-book-appt .nextpatient-slot-time-time {
        font-size: 1em;
    }
}

/* SUBTLE ANIMATION */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.aqua-book-appt .nextpatient-provider {
    animation: fadeIn 0.3s ease forwards;
}

.aqua-book-appt .nextpatient-provider:nth-child(2) { animation-delay: 0.1s; }
.aqua-book-appt .nextpatient-provider:nth-child(3) { animation-delay: 0.2s; }
.aqua-book-appt .nextpatient-provider:nth-child(4) { animation-delay: 0.3s; }

/* ==========================================================================
   5. NEXTPATIENT WIDGETS - SIDEBAR
   ========================================================================== */

.nextpatient-sidebar.provider #nextpatient-schedule {
    margin-top: 16px;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location {
    margin-bottom: 20px;
    border: 1px solid #e8ecef;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    background: white;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #0057af;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-location-name {
    font-size: 1.3em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    padding: 18px 20px 0;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-location-address {
    color: #6c757d;
    font-size: 0.9em;
    line-height: 1.4;
    padding: 0 20px 16px;
    border-bottom: 1px solid #f0f2f4;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-times {
    padding: 18px 20px;
}

/* When nextpatient-provider-times contains nextpatient-no-time, make it full width */
.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-times:has(.nextpatient-no-time) {
    display: block;
    width: 100%;
}

/* Empty or whitespace-only nextpatient-provider-times - show "Choose a visit reason above" message */
.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-times:not(:has(*)) {
    color: #6c757d;
    font-style: italic;
    text-align: left;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    display: block;
    margin: 0;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-times:not(:has(*)):after {
    content: "Choose a visit reason above.";
}

/* SELECT STYLING */
.nextpatient-sidebar.provider .nextpatient-reason-select select,
.nextpatient-sidebar.provider select[name="reason_id"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    font-size: 1em;
    background: white;
    color: #333333;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.nextpatient-sidebar.provider .nextpatient-reason-select select:hover,
.nextpatient-sidebar.provider select[name="reason_id"]:hover {
    border-color: #0057af;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nextpatient-sidebar.provider .nextpatient-reason-select select:focus,
.nextpatient-sidebar.provider select[name="reason_id"]:focus {
    outline: none;
    border-color: #0057af;
    box-shadow: 0 0 0 3px rgba(0, 84, 154, 0.1);
}

/* DEFAULT STATE - Before user selects a reason - IMPROVED LAYOUT */
.nextpatient-sidebar.provider #nextpatient-schedule .time-preview-box {
    margin: 0 !important;
    padding: 16px !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #f1f1f1 0%, #e8e8e8 100%) !important;
    border: none !important;
    border-radius: 4px !important;
    color: #212223;
    text-decoration: none;
    font-weight: 500;
    cursor: default;
    opacity: 0.6;
    text-align: left !important;
}

.nextpatient-sidebar.provider #nextpatient-schedule .time-line {
    width: 100%;
    margin-bottom: 8px;
    text-align: left;
}

.nextpatient-sidebar.provider #nextpatient-schedule .time-line-label {
    font-size: 0.9em !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    color: #333333;
}

.nextpatient-sidebar.provider #nextpatient-schedule .time-line-time {
    font-size: 0.9em !important;
    font-weight: 600 !important;
    color: #333333;
    margin-left: 8px;
}

.nextpatient-sidebar.provider #nextpatient-schedule .time-line-instructions {
    font-size: 0.85em !important;
    line-height: 1.35 !important;
    text-align: left !important;
    margin: 0 !important;
    color: #555555;
    width: 100%;
    display: block;
}

/* SELECTED STATE - After user selects a reason */
.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time {
    margin: 4px 4px 4px 0 !important;
    padding: 12px 16px !important;
    display: inline-block !important;
    background: linear-gradient(135deg, #f1f1f1 0%, #e8e8e8 100%) !important;
    border: none !important;
    border-radius: 4px !important;
    color: #212223 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    font-weight: 500;
    cursor: pointer;
    opacity: 1;
    text-align: center;
    min-width: 100px;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #0057af 0%, #0066bb 100%) !important;
    color: white !important;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time-day {
    font-size: 0.85em;
    font-weight: 500;
    margin-bottom: 2px;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time-time {
    font-size: 1.1em;
    font-weight: 600;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-more-times {
    background: linear-gradient(135deg, #0057af 0%, #0066bb 100%) !important;
    color: white !important;
    font-style: italic;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-more-times:hover {
    background: linear-gradient(135deg, #003d73 0%, #004d8a 100%) !important;
}

/* No appointments available state - FULL WIDTH */
.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-no-time {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    display: block;
    margin: 0;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-no-time a {
    color: #0057af;
    text-decoration: none;
    font-weight: 600;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-no-time a:hover {
    text-decoration: underline;
}

/* Hide the "No upcoming appointments" text when appointments are available */
.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location:has(.nextpatient-slot-time):after {
    display: none !important;
}

/* Responsive design */
@media (max-width: 600px) {
    .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-location-name,
    .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-location-address,
    .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-times {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-slot-time {
        display: block !important;
        margin-bottom: 8px !important;
        text-align: center;
    }
}

/* Subtle animation for loading state */
.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location {
    animation: fadeIn 0.3s ease forwards;
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location:nth-child(2) { 
    animation-delay: 0.1s; 
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location:nth-child(3) { 
    animation-delay: 0.2s; 
}

.nextpatient-sidebar.provider #nextpatient-schedule .nextpatient-provider-location:nth-child(4) { 
    animation-delay: 0.3s; 
}

/* Providers Single Page */
.nextpatient-sidebar h3 {
    margin-bottom: 16px;
}

.nextpatient-sidebar .nextpatient-provider-times {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 0px;
}

.nextpatient-sidebar .nextpatient-provider-times:has(.time-preview-box) {
    grid-template-columns: 1fr;
}

.nextpatient-sidebar .time-line-instructions {
    text-align: left !important;
}

.nextpatient-sidebar .nextpatient-provider-times a {
    width: 100%;
    background: transparent;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(103, 110, 118, 0.08), 0px 0px 0px 1px rgba(103, 110, 118, 0.16), 0px 1px 1px rgba(0, 0, 0, 0.12);
    height: auto !important; 
}

.nextpatient-sidebar .nextpatient-provider-times a:hover {
    border-color: #0057af;
}

.nextpatient-sidebar #nextpatient-schedule {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   6. PROVIDER GRID RESPONSIVE OVERRIDES
   ========================================================================== */

/* Base styles - Mobile first: 1 column */
.fwpl-layout.el-ptvr9j {
  grid-template-columns: 1fr !important;
  grid-gap: 16px !important;
}

/* Tablet: 2 columns above 767px */
@media (min-width: 768px) {
  .fwpl-layout.el-ptvr9j {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-gap: 20px !important;
  }
}

/* Tablet Large: 3 columns above 959px */
@media (min-width: 960px) {
  .fwpl-layout.el-ptvr9j {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-gap: 24px !important;
  }
}

/* Desktop: 4 columns above 1200px */
@media (min-width: 1200px) {
  .fwpl-layout.el-ptvr9j {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-gap: 36px !important;
  }
}

.fwpl-item.view-more {
  align-self: start;
  margin-top: 16px;
  display: block;
}

.fwpl-item.book {
  align-self: start;
}

.fwpl-item.book a {
    border-radius: 4px;
    margin-top: 8px;
    display: block;
}

.fwpl-item.view-more .fwpl-btn::after {
    content: "\f054"; 
    font-family: "uncodeicon";
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.8em;
}

.provider-facets .facetwp-facet {
    margin-bottom: 10px;
}

.fwpl-item.service-types .fwpl-term {
    font-size: 12px;
}

/* Hide services beyond the first 3 */
.fwpl-item.service-types .fwpl-term:nth-child(n+4) {
    display: none;
}

/* ==========================================================================
   7. PROVIDER SPECIALTIES & CERTIFICATIONS
   ========================================================================== */

.provider-cert {
    margin-top: 12px !important;
}

.provider-specialties {
    background: #f1f1f1 !important;
    padding: 16px;
    border-radius: 4px;
    margin: 20px 0;
}

.provider-specialties strong {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.provider-specialties ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 8px;
}

/* For smaller screens, allow fewer columns */
@media (max-width: 768px) {
    .provider-specialties ul {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .provider-specialties ul {
        grid-template-columns: 1fr;
    }
}

.provider-specialties li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Blue circle bullet with white checkmark */
.provider-specialties li::before {
    content: "\f00c"; /* Font Awesome checkmark unicode */
    font-family: "uncodeicon";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #0057af; /* Updated blue color */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
}

#row-unique-1 .provider-specialties a,
#row-unique-1 > div > div > div > div > div > div > div > div > div > div > div.wpb_column.pos-middle.pos-center.align_left.column_child.col-lg-8.single-internal-gutter > div > div > div > div > div:nth-child(3) > div > p > a {
  display: inline-block !important;
  background-color: #0057af !important;
  color: white !important;
  font-size: 14px !important;
  padding: 8px 16px !important;
  border-radius: 2px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

.provider-specialties a:hover {
  background-color: #003d7a;
  transition: background-color 0.2s ease;
}

/* ==========================================================================
   8. MOBILE BOOK APPOINTMENT
   ========================================================================== */

/* Hide mobile book appointment button by default */
.book-appt.mobile {
  display: none;
}

/* Show mobile book appointment button only on mobile (below 959px) */
@media (max-width: 959px) {
  .book-appt.mobile {
    display: block;
  }
}

/* Add scroll offset for sticky nav - no visual spacing added */
#book-appointment {
  scroll-margin-top: 64px;
}

/* ==========================================================================
   9. MENU & NAVIGATION
   ========================================================================== */

.static-map {
    margin-top: 0px !important;
}

.menu-section-css {
    padding-left: 0px !important;
}

.menu-section-css li {
    margin: 12px 0px 0px 0px;
    border-bottom: 1px solid rgba(50, 49, 48, 0.2);
    list-style: none;
}

.menu-section-css li a {
    font-size: 22px;
    line-height: 1.3;
    text-transform: capitalize;
    font-weight: 400;
    display: block;
    padding: 0px 0px 5px 0px;
}

#menu-locations-menu li.menu-item a:hover {
	color: #000 !important;
}

.menu-section-css li a::before {
    font-family: "uncodeicon";
    content: "\f105";
    margin-right: 9px;
    margin-top: 3px;
    float: right;
    font-weight: 900;
}

.div-left {
    width: 100%;
    max-width: 66.66666666666666%;
    display: inline-block;
    float: left;
    box-sizing: border-box;
}

.div-right {
    width: 100%;
    max-width: 33.33333333333333%;
    display: inline-block;
    float: left;
    box-sizing: border-box;
    padding-left: 72px;
}

.sp-css {
    font-size: 28px;
}

@media screen and (max-width: 959px) {
    .div-left {
        width: 100%;
        max-width: 100%;
        display: block;
        float: left;
        box-sizing: border-box;
        padding-bottom: 25px;
    }
    
    .div-right {
        width: 100%;
        max-width: 100%;
        display: block;
        float: left;
        box-sizing: border-box;
        padding-left: 0px;
    }
    
    .sp-css {
        font-size: 25px;
    }
    
    .menu-section-css {
        padding-left: 0px !important;
    }
}

/* ==========================================================================
   10. MARQUEE ANIMATION
   ========================================================================== */

.marquee-parent {
    width: 101% !important;
}

.sdg-marquee .banner {
    font-style: italic !important;
    position: relative;
    overflow: hidden;
    font-family: "larken", sans-serif;
    font-style: normal;
    font-size: 30px;
    font-weight: 300 !important;
    line-height: 50px;
    min-width: 200vw;
    animation: bannermove 40s linear infinite;
    display: flex;
    justify-content: space-between;
    padding-right: 10px !important;
}

@keyframes bannermove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.sdg-marquee .banner div {
  padding: 0px 24px;
  white-space: nowrap;
}

@media only screen and (max-width:959px) {
    .sdg-marquee .banner {
        animation: bannermove 10s linear infinite;
    }
}

/* ==========================================================================
   11. COUNTERS & LAYOUT
   ========================================================================== */

@media only screen and (max-width:959px) {
    .counters__row .row-inner {
        display: flex;
    }
    .counters__block {
        width: 50%;
    }    
}

@media only screen and (max-width:640px) {
    .counters__row .row-inner {
        display: flex;
        flex-direction: column;
    }
    
    .counters__block {
        width: 100%;
    }
    
    .counters__block .uncell {
        padding: 24px !important;
    }
    
    .counters__block--third .uncell {
        border-bottom: 1px solid #dddddd ;
    }
}

/* ==========================================================================
   12. LOCATIONS
   ========================================================================== */

.locations-loop__filter {
    margin-top: 0px !important;
}

.locations-loop__post-grid a {
    color: #fff;
    display: block;
    padding: 24px 16px !important;
    background: #0a2547;
    transition: all 0.3s ease;
    border: 1px solid #0a2547;
}

.locations-loop__post-grid a:hover {
    background: transparent; 
    color: #0a2547;
}

.locations-loop__filter .facetwp-facet {
    margin-bottom: 0px;
}

@media only screen and (max-width: 959px) {
    .locations-loop__post-grid .fwpl-layout {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media only screen and (max-width: 540px) {
    .locations-loop__post-grid .fwpl-layout {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* ==========================================================================
   13. NEXTPATIENT WIDGET ADDITIONAL STYLES
   ========================================================================== */

/* Base Styles & Fonts */
.nextpatient-box {
    width: 100%;
    max-width: 1000px;
    text-align: left;
    padding-bottom: 40px;
}

.nextpatient-font {
    font-size: 16px;
}

.nextpatient-no-times-available {
    font-size: 1.2em;
    margin-top: 5px;
    padding: 10px 0px;
}

/* Form Layout Container (Flexbox) */
.aqua-book-appt .nextpatient-criteria-container {
    display: flex;
    flex-wrap: nowrap; /* Default for Desktop: all in one line */
    align-items: flex-end; /* Align items to the bottom */
    gap: 10px; /* Space between form fields */
    margin-bottom: 15px;
}

/* Individual Form Field Blocks */
.aqua-book-appt .nextpatient-criteria-box {
    flex: 1 1 auto; /* Default behavior: grow and shrink as needed */
}

.aqua-book-appt .nextpatient-criteria-box:nth-child(4) {
    flex-grow: 2; /* Allow the 'Where' box to be wider */
}

.aqua-book-appt .nextpatient-criteria-box:nth-child(3), /* Age */
.aqua-book-appt .nextpatient-criteria-box:nth-child(5) { /* Search */
    flex-grow: 0.5;
}

/* Labels and Inputs */
.aqua-book-appt .nextpatient-criteria-label {
    display: block;
    margin: 8px 0px 3px 2px;
    font-size: 14px;
    color: rgb(90, 90, 90);
    font-weight: 600;
}

.aqua-book-appt .nextpatient-criteria-input {
    display: flex;
    align-items: center;
}

/* General Input/Select Styling */
.aqua-book-appt .nextpatient-criteria-box select,
.aqua-book-appt .nextpatient-criteria-box input {
    font-size: 18px;
    height: 40px;
    padding: 0px 8px;
    border: 1px solid rgb(160, 160, 160);
    box-sizing: border-box;
    width: 100%;
}

.aqua-book-appt .nextpatient-criteria-box input[type=submit] {
    cursor: pointer;
}

/* Specific styling for the 'Where' input group */
.aqua-book-appt .nextpatient-criteria-box:nth-child(4) .nextpatient-criteria-input {
    gap: 5px;
}

.aqua-book-appt .nextpatient-criteria-box:nth-child(4) input[name="zip"] {
    min-width: 80px;
}

.aqua-book-appt .nextpatient-criteria-box:nth-child(4) select[name="max_miles"] {
    min-width: 95px;
}

/* MOBILE LAYOUT (768px and below) */
@media (max-width: 768px) {
    .aqua-book-appt .nextpatient-criteria-container {
        flex-wrap: wrap;
    }

    .aqua-book-appt .nextpatient-criteria-box:nth-child(1),
    .aqua-book-appt .nextpatient-criteria-box:nth-child(2) {
        flex-basis: calc(50% - 5px); 
    }

    /* Line 2: Age, Where, Within, Search */
    .aqua-book-appt .nextpatient-criteria-box:nth-child(3) { /* Age */
        flex-basis: 70px; /* Small, fixed-width basis */
        flex-grow: 0;
    }
    
    .aqua-book-appt .nextpatient-criteria-box:nth-child(4) { /* Where/Within */
        flex-basis: calc(100% - 180px); /* Take up the remaining space */
        flex-grow: 1;
    }
    
    .aqua-book-appt .nextpatient-criteria-box:nth-child(5) { /* Search */
        flex-basis: 100px; /* Fixed-width basis */
        flex-grow: 0;
    }
}

@media (max-width:500px) {
    .nextpatient-provider-table .nextpatient-provider {padding: 5px;}
    .nextpatient-provider-table .nextpatient-provider-name {text-align: left; font-size: 20px; line-height: 22px;}
    .nextpatient-provider-table .nextpatient-provider-blurb {text-align: left; font-size: 14px; margin-top: 6px;}
    .nextpatient-provider-table .nextpatient-provider-image-cell {display: none}
    .nextpatient-provider-table .nextpatient-provider-provider-cell {padding-left: 0px;}
    .nextpatient-provider-table .nextpatient-provider-times {padding-top: 5px; text-align: center;}
    .nextpatient-provider-table .nextpatient-slot-time {width: 100px;}
    .nextpatient-provider-table .nextpatient-provider-more-times {text-align: center;}
    .nextpatient-provider-table .nextpatient-provider-name-block {display: table}
    .nextpatient-provider-table .nextpatient-provider-name-block-left {display: table-cell; vertical-align: top; padding-right: 5px;}
    .nextpatient-provider-table .nextpatient-provider-name-block-right {display: table-cell; vertical-align: top;}
    .nextpatient-provider-table .nextpatient-provider-small-photo {height: 100px; width: 75px; background-size: cover; background-position: center;}
    .nextpatient-provider-table .next-appt-block {text-align: center}
    .nextpatient-provider-table .call-no-times {text-align: center}
}

@media (max-width:430px) {    
    .nextpatient-slot-time {padding: 11px 0px;}
}

/* ==========================================================================
   14. INSURANCE & FINANCIAL
   ========================================================================== */

.insurance-financial-post-grid .t-inside {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insurance-financial-post-grid .t-inside .half-block-padding {
    padding: 30px 16px;
}

/* ==========================================================================
   15. UTILITY CLASSES
   ========================================================================== */

.training-title {
    display: block;
}