/**
 * Theme Name:     MedWell
 * Author:         Pharmacy Mentor
 * Template:       pharmacymentor
 * Text Domain:	   medwell
 * Description:    Customisation for MedWell
 * Version:        1
 */
 .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: #ffffff;
    padding: 0.5rem 0;
    list-style: none;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.menu-item:hover > .sub-menu {
    display: block;
}
.menu-item {
    position: relative; 
}
.menu-item-has-children > a {
    position: relative;
    padding-right: 20px;
}
.menu-item-has-children > a::after {
    content: "\f078";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: -1px;
    top: 45%;
    transform: translateY(-50%);
    pointer-events: none;
}
a.cta-btn {
	border: 1px white solid;
	box-shadow: none;
	background: transparent;
	color: white;
	border-radius: 3px;
	padding: 10px 20px;
	width: 100%;
	transition: .4s ease-in-out;
	text-decoration: none;
	display: block;
	text-align: center;
}
a.cta-btn:hover {
	background: white;
	color: var(--theme-primary-color);
}

.footer-top ul {
	line-height: 32px;
}
.navbar.navigation-top {
	background-color: var(--theme-primary-color, #fff);
}

.navigation-top .navbar-nav li a {
	color: var(--theme-secondary-color);
}
.navigation-top .navbar-nav li a:hover {
	color: var(--theme-primary-color);
}

.navigation-top .navbar-nav li a.active {
	background-color: var(--theme-secondary-color, #ddd);
	color: #fff;
}

.navigation-top .navbar-nav li a.active:hover {
	color: #fff;
}

.navigation-top .navbar-brand img {
	max-height: 100px;
}
#our-service .card-content p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	overflow: hidden;
}
#our-service .service-card .icon {
	display: grid;
  	place-items: center;
  	margin-bottom: 15px;
}
#our-service .service-card .icon img {
	max-height: 130px;
}

/* Contact Form */
.wpcf7 input:not(input[type="radio"]):not(input[type="checkbox"]):not(input[type="submit"]):not(input[type="button"]), .wpcf7 select {
	height: 50px;
	border: 1px solid #ddd;
	padding-left: 15px;
	padding-right: 15px;
	border-radius: 5px;
}
.wpcf7 input:not(input[type="radio"]):not(input[type="checkbox"]):not(input[type="submit"]):not(input[type="button"]), .wpcf7 textarea, .wpcf7 select {
	width: 100%;
}
.wpcf7 input:focus, .wpcf7 input:focus-visible, .wpcf7 select:focus, .wpcf7 select:focus-visible {
	border-color: var(--theme-primary-color) !important;
	outline: none;
	box-shadow: none;
}
.wpcf7 textarea {
	height: 150px;
	border: 1px solid #ddd;
	padding-left: 15px;
	padding-right: 15px;
	border-radius: 5px !important;
}
.wpcf7 textarea:focus, .wpcf7 textarea:focus-visible {
	border-color: var(--theme-primary-color) !important;
	outline: none;
}


/*******New css*******/

.about-us-large .person .person-img img {
    display: inline-block;
    border-bottom: 6px solid var(--theme-primary-color);
    padding-bottom: 2px;
}

.about-us-large .person h2 {	font-size: 20px;}

.thumbnail-img {
    width: 100%; /* Full width of the container */
    height: 250px; /* Set a fixed height or adjust as needed */
    background-size: cover; /* Ensures the image covers the div */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
}


.contact-info .d-flex {
    display: flex;
    align-items: center; /* Vertically align text with the icon */
    gap: 10px; /* Space between the icon and text */
	color:#575756;
}

.address-icon, .phone-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px; /* Adjust the size of the icons */
    width: 40px; /* Set a consistent width for the icon container */
    height: 40px; /* Set a consistent height for the icon container */
    background-color: #f0f0f0; /* Optional: Add a background color to the icon */
    border-radius: 50%; /* Make the icon circular */
}

.contact-info p {
    margin: 0; /* Remove default margins */
    line-height: 1.2; /* Adjust line height for better alignment */
}


/*****************/

.header-full-screen-img h1, .header-full-screen-img p, .page-title h1, .page-title p, .page-title li, .page-title li a {color:#fff;}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 0.5rem; /* Adjust spacing as needed */
    color: #fff; /* Adjust color if necessary */
}

.header-full-screen-img .bg-image::after, .page-title .bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
    z-index: 1; /* Place the overlay above the image */
}


body {
    color: #575756 !important;
}

.wpcf7-checkbox .wpcf7-list-item{display:block;}

@media (min-width: 992px) {
button.submenu-toggle {
    display: none;
}
}


@media (max-width: 991px) {

.menu-item-has-children > a::after {
    content: ""!important;
}
.sub-menu a i {
    display: none;
}
	
button.submenu-toggle {
    padding: 0;
}
.menu-item > a, button.submenu-toggle {
    display: inline-block !important;
    width: fit-content;
    margin: 0 !important;
}	
	
}
