/**html, body {
  overflow: auto !important;
}**/

.pum-container {
    overflow: hidden; /* Prevents scrolling only within the popup container */
}

.branding{
	font-family:'Prata';
}

.pum-overlay.pum-active,
.pum-overlay.pum-active .popmake.active {
 display: block !important;
	}

/* Button hover color (MI) */
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  	background:  #CCDEDE
 !important;
    border-color: #000000;
}

/*Button outline color (OJ)*/
.wp-block-button.is-style-outline .wp-block-button__link {
  border-color: #000000;
}

/*.genesis-nav-menu a, .genesis-nav-menu .current-menu-item > a {
    color: #333;
    font-size: 10px;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: block;
    padding: 15px;
}*/

/* --- NAVIGATION LAYOUT & SPACING FIX --- */

/* --- NAVIGATION LAYOUT & SPACING FIX --- */

/* Parent Container */
.genesis-nav-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
}

/* All List Items */
.genesis-nav-menu li {
    display: flex !important;
    align-items: center; 
    white-space: nowrap; 
    position: relative !important; /* CRITICAL: This stops the dropdown from jumping to the top of the screen */
    margin: 0 !important;
}

/* Individual Links */
.genesis-nav-menu li a {
    display: block;
    padding: 15px 12px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

/* --- DROPDOWNS (Level 1) --- */
.genesis-nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100% !important; /* Positions it exactly under the main bar */
    left: 0;
    background-color: #f9f9f9 !important; /* Match your preferred inner color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    z-index: 999;
    padding: 0 !important; /* Removes that white border gap */
    margin: 0;
}

/* Show on hover */
.genesis-nav-menu li:hover > .sub-menu {
    display: block !important;
}

/* Sub-menu Link Style */
.genesis-nav-menu .sub-menu a {
    padding: 12px 20px !important;
    background-color: #f9f9f9 !important;
    width: 100%;
    text-transform: none;
    border-bottom: 1px solid #eee;
}

/* --- SIDE FLYOUT (Level 2) --- */
.genesis-nav-menu .sub-menu .sub-menu {
    top: 0 !important; /* Aligns with the top of the parent link */
    left: 100% !important; /* Pushes it to the right side so it doesn't overlap */
}

/* --- PATIENT PORTAL BUTTON --- */
.genesis-nav-menu a[href*="practicebetter.io"] {
    background-color: #f8ff35 !important;
    color: #000 !important;
    font-weight: 600;
    border: 1px solid #000;
    margin-left: 10px !important;
    border-radius: 4px;
}

.genesis-nav-menu a[href="https://infinitewellness.practicebetter.io/#/signin"]:hover {
    background-color: #99bdc2; /* Hover color */
}

/* --- FIRST-LEVEL DROPDOWN (Vertical List) --- */

.genesis-nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%; /* Drops below the parent link */
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 999;
    padding: 0;
    margin: 0;
}

/* SHOW First-Level dropdown on hover */
.genesis-nav-menu li:hover > .sub-menu {
    display: block;
}

/* First-Level List Items (The essential anchor) */
.genesis-nav-menu .sub-menu li {
    position: relative !important; /* Forces this to be the anchor for the flyout */
    display: block;
    white-space: nowrap;
}

.genesis-nav-menu .sub-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    background-color: #fff;
    text-transform: none;
}


/* --- SECOND-LEVEL DROPDOWN (Horizontal Flyout FIX) --- */

/* Fixes the overlap by forcing the correct 0/100 positioning */
.genesis-nav-menu .sub-menu .sub-menu {
    /* Use !important here to defeat theme positioning overrides */
    position: absolute !important;
    top: 0 !important;             /* Aligns the top of the flyout menu with its parent list item */
    left: 100% !important;         /* Starts the flyout menu exactly at the right edge of its parent item */
    margin: 0 !important;          /* Remove any theme margins that might cause overlap */
    
/* Appearance styles */
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    z-index: 999;
}

/* Show the second-level menu when hovering over its parent item */
.genesis-nav-menu .sub-menu li:hover > .sub-menu {
    display: block !important;
}


/* --- MOBILE MENU: VERTICAL STACKING --- */
@media only screen and (max-width: 800px) {
    /* 1. Force the bar to stack vertically */
    .genesis-nav-menu {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    /* 2. Make each menu item fill the width of the screen */
    .genesis-nav-menu li {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid #eee;
    }

    /* 3. Dropdowns: Stop them from floating; make them stack under the parent */
    .genesis-nav-menu .sub-menu, 
    .genesis-nav-menu .sub-menu .sub-menu {
        position: static !important; /* This forces the "stack" */
        display: none; /* Hidden until clicked/hovered */
        width: 100% !important;
        min-width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        background-color: #f9f9f9 !important;
    }

    /* 4. Show dropdowns when active on mobile */
    .genesis-nav-menu li:hover > .sub-menu,
    .genesis-nav-menu li.active > .sub-menu {
        display: block !important;
    }

    /* 5. Indent dropdown items so they look nested */
    .genesis-nav-menu .sub-menu li a {
        padding-left: 30px !important;
        background-color: #f5f5f5 !important;
    }

    /* 6. Fix the Patient Portal button margin on mobile */
    .genesis-nav-menu a[href*="practicebetter.io"] {
        margin: 10px 0 !important;
        text-align: center;
    }
}

/* Takes away post entry time and category*/
.entry-meta { display: none;
}
.woocommerce-Price-amount.amount {
    color: #000000;
}

.woocommerce #content input.button, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce-page #content input.button, .woocommerce-page #respond input#submit, .woocommerce-page a.button, .woocommerce-page button.button, .woocommerce-page input.button {
background: #00464E !important;
color:white !important;
text-shadow: transparent !important;
border-color:#00464E !important;
}
.woocommerce #content input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce-page #content input.button:hover, .woocommerce-page #respond input#submit:hover, .woocommerce-page a.button:hover, .woocommerce-page button.button:hover, .woocommerce-page input.button:hover {
background:#799EA2 !important;
background-color:#799EA2 !important;
color:white !important;
text-shadow: transparent !important;
box-shadow: none;
border-color:#799EA2 !important;
}

/* Black Friday Landing Page*/

body.page-template-default {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.landing-section {
	text-align: center;
	padding: 30px 0;
}

.section-container {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	padding: 10px; /* Increase the padding for a larger container */

}

.section-item {
	flex: 0 0 90%; /* Increase the width of the section item */
	margin: 10px;
	padding: 15px;
	border: 0.5px solid #ddd;
	border-radius: 5px;
	transition: transform 0.3s ease-in-out;
}

.section-item:hover {
	transform: scale(1.05);
}

.section-item img {
	max-width: 100% !important; /* Adjust this value based on your preference */
	max-height: 100% !important; /* Maintain aspect ratio */
}


/* Hide blog post entry dates*/
.entry-date published { 
  display: none !important; 
}

/* two section column */
.two-section-wrapper{
	display:flex;
	flex-wrap:wrap;
	margin: 30px 0px;
	justify-content:center;
}
.two-section-wrapper .image-section{
	flex: 0 0 28%;
  max-width: 28%;
	margin-right: 2%;
	
}
.two-section-wrapper .image-section img{
	width:100%;
	border: solid 5px #fff;
  outline: solid 2px #eee;
}
.two-section-wrapper .content-section{
	flex: 0 0 68%;
	max-width: 68%;
	background:#ece7e7;
	color: black;
	padding: 20px;
	margin-bottom: 6px;
	text-align:start;
	margin-left:1%;
	margin-right:1%;
	border: solid 5px #fff;
  outline: solid 2px #eee;
}
.two-section-wrapper .content-section p{
	padding-bottom:25px;
}
.two-section-wrapper .content-section h3{
	font-size: 16.8px;
}

/* work with us */
.bcs-home-widget-3 h3.widgettitle.widget-title{
	margin-top:20px;	
}
.bcs-home-widget-3 h3.widgettitle.widget-title:before,
.bcs-home-widget-3 h3.widgettitle.widget-title:after
{
	border-top: 1px solid #eee;
	content: "";
	display: inline-block;
	height: 4px;
	margin: 0 10px;
	width: 8%;
}
.bcs-home-widget-5 h3.widgettitle.widget-title:before,
.bcs-home-widget-5 h3.widgettitle.widget-title:after{
	border-top: 1px solid #fff;
	content: "";
	display: inline-block;
	height: 4px;
	margin: 0 10px;
	width: 8%;
}
.bcs-widgets .featured-content .entry:last-child{
    margin-right:0;
}
.bcs-widgets .featured-content .entry-work {
    margin-right: 1% !important;
    
}
.bcs-widgets .featured-content .entry-work-header{
	top: 50% !important;
	bottom: initial;
	transform: translateY(-50%);
}



/* Style for the symptoms table */
.symptoms-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.symptoms-table th, .symptoms-table td {
  border: 1px solid black;
  text-align: left;
  padding: 10px;
  vertical-align: middle; /* Center text vertically */
}

.symptoms-table th {
  background-color: #f2f2f2;
}

.frebie {
	width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.frebie-content h3 {
	color: black;
  font-size: 18px;
}

.frebie a {
	padding: 16px;
	text-decoration: none;
	background-color: #0C454C;
  font-size: 18px;
  color: white;
  display: block;
  transition: 0.3s;
  width: 100% !important;
	
}

.frebie a:hover {
	background-color: #B6C9CC;
  color: black;
	
}

.frebie-content {
	text-align: center;
	display: block !important;
	box-sizing: border-box;
	margin-bottom: 0;
	width: 100% !important;

}

.frebie-image {
	max-width: 100%;
	height: auto;
	margin-top: 5px; /* Adjust the margin as needed */
}


/* Team Card Style*/

.team-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap; /* Add flex-wrap: wrap to allow cards to wrap to the next line */
}

.team-card {
	width: 45%; /* Adjust the width of the cards for larger screens */
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 20px;
}

.team-card img {
	width: 150px;
  height: 150px;
 	border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.name {
	font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.position {
	font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.description {
font-size: 14px;
line-height: 1.5;
}

.description ol {
list-style-position: inside;
text-align: left;
padding-left: 0;
}

.description li {
	margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
.team-card { 
		width: 100%; /* Change the width to 100% for smaller screens */
	margin: 10px 0; /* Adjust margin for smaller screens */
 }
}
/* Team Card Style*/


/* footer */
.main-wrapper{
	color:#333;
}
.main-wrapper .wrapper{
	text-align:center;
}
.main-wrapper .wrapper .heading{
	font-size: 22px;
}
.main-wrapper .wrapper p{
	font-size: 14px;
	margin-bottom: 41px;
}
.book-now{
	padding: 10px 15px;
	color: #333;
	background: transparent;
	font-weight: normal;
	border: 1px solid #333;
	font-size: 12px;
}
.book-now:hover{
	background:#333;
	color:white;
}
.easy_testimonial .light_grey-classic_style{
	margin:30px 20px !important;
}
.bcs-home-widget-4 .easy_testimonial .light_grey-classic_style .footer-area-3 .easy_testimonial_image_wrapper{
	display:none !important;
}
.easy_testimonial_title,
.testimonial-client{
	font-size:16px !important;
}
.bcs-home-slider .wrap .widget_media_image .widget-wrap img{
	width:100%;
}
.easy_testimonials_grid_3 .easy_testimonials_grid_cell{
	width: 33.33%;
  margin: 0 !important;
}
.easy_testimonial .main-content-3 .testimonial_body{
	min-height: 230px;
}
.easy_testimonial .footer-text-3{
	left:25%;
}
@media screen and (max-width:480px){
	.two-section-wrapper{
		display:block !important;
	}
	.two-section-wrapper .image-section{
		max-width:100%;
		margin-right:0px !important;
	}
	.two-section-wrapper .content-section{
		max-width:100%;
		margin-right:0px !important;
		margin-left:0px !important;
		margin-top: 10px;
		padding: 16px;
		text-align:center;
	}
	.easy_testimonials_grid_3 .easy_testimonials_grid_cell{
	width: 100%;
  margin: 0 auto 100px !important;
		float:none;
}
}
@media only screen and (max-width: 767px){
	.easy_testimonial .footer-text-3 {
			top: 14px;
	}
}