/*
Theme Name: Pharmacy Mentor
Author: Pharmacy Mentor
Author URI: https://www.pharmacymentor.com/
Version: 1.7.0
*/


ul#menu-main-menu li a.active{background:var( --theme-primary-color); color:#fff;}

section {
	position:relative;
	isolation: isolate;
}

.bg-image {
	position: absolute;
	inset:0;
	z-index: -1;
}

.bg-image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

#contact-map iframe {
	width: 100% !important;
}

.header-full-screen-img .cd-intro h1:first-child,
.header-full-screen-img .cd-intro h2:first-child,
.header-full-screen-img .cd-intro h3:first-child,
.header-full-screen-img .cd-intro h4:first-child {
	margin: 0;
	text-transform: uppercase;
	color: #fff;
	text-wrap:balance;
}
.header-full-screen-img .cd-intro p {
	line-height: 30px;
	color: #fff;
}
.cta-block {
	margin-top: 50px;
}

.newsletter-simple .wpcf7-response-output {
	color: #fff;
	margin-top: 0;
}
.newsletter-simple .newsletter-call-out {
	display: flex;
	align-items: center;
}

.newsletter-simple form .newsletter-email {
	border-radius:50px;
}
.d-flex {
	display: flex;
}
.justify-content-center {
	justify-content: center;
}
.align-items-center {
	align-items: center;
}

/***************My Custom Theme CSS Start********************/

form#newsletter-form .input-group span.input-group-btn{
    position: absolute;
    top: 0px;
    right: 0px;
} 
.cd-intro.text-white h2 {
    margin-top: 34px!important;
}


form#contact-form-gmap label {
    display: none;
}

#newsletter-simple-1 .input-group {
  display: block;
}
#contact-form-gmap .form-group p {
  margin-bottom: 0px;
}

.contact-form-gmap form .form-actions {
  margin-top: 10px;
}

.wpcf7-not-valid-tip {
  position: relative;
}

footer.site-footer{background:var(--theme-primary-color); color:#fff;}
footer.site-footer ul li, footer.site-footer ul li a, footer.site-footer ul li i, footer.site-footer p{ color:#fff;}

.lower-footer {
    border-top: 1px solid #ffffff4d;
    padding-top: 20px;
}

.lower-footer a{color:#fff; text-decoration:underline;}

.footer-content-block h2, .footer-content-block h3{color:#fff; margin-top:40px;}

ul.footer-contacts {
    padding-left: 0px;
    list-style: none;
}

ul.footer-contacts li i {
    margin-right: 10px;
}

ul.footer-contacts li {
    line-height: 35px;
}
ul.footer-social{
    list-style: none;
    padding: 0px;
}
ul.footer-social li a {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #fff !important;
    border-radius: 50%;
    margin-right: 10px;
    text-align: center;
}
ul.footer-social li a i {
    padding-top: 7px;
}

#about-us .content-img {
    text-align: justify;
}

section#trusted-logos {background:#f9f5fa;}
section#trusted-logos h2{text-align:center!important;}

.owl-carousel .owl-item img {
    width: 140px!important;
    height: auto;
}

@media only screen and (max-width: 767px) {
	.newsletter-simple .newsletter-call-out {
		display: block;
	}
	.newsletter-simple form .newsletter-email {
		border-top-left-radius: 0px !important;
		border-bottom-left-radius: 0px !important;
		border-radius: 0px;
	}
	.newsletter-simple .input-group-btn {
		position: unset;
		text-align: center;
		display: block;
		width: 100%;
	}
	.newsletter-simple form .newsletter-submit {
		border-radius: 0;
		margin-top: 20px;
	}
	.wpcf7-spinner {
		display: none;
	}
	.wpcf7.submitting .wpcf7-spinner {
		display: inline-block;
	}
	#contact-form-gmap  {
		margin-top: 60px;
	}
	#contact-form-gmap p {
		text-align: left;
	}
	#contact-form-gmap .form-actions p {
		text-align: center;
	}
	.content-img-right .btn {
		width: auto;
	}
	.content-img-right .btn {
		width: auto;
	}
	.navigation-top .navbar-nav li:last-of-type .btn {
		margin: 0;
	}
	
	#newsletter-form .wpcf7-form-control-wrap {
		border-radius: inherit;
	}
	form#newsletter-form .input-group span.input-group-btn {  
		position: relative;
	}
	
	body {
    font-size: 16px;
  	}

	.content-img-left h2 {
    font-size: 28px;
	}
 
	.newsletter-simple .newsletter-call-out h2 {
		margin: 0;
		text-align: center;
		font-size: 24px;
	}

	.content-img-right h2 {
		font-size: 28px;
	}

	.about-us-large h2 {
		font-size: 28px;
		margin-bottom: 60px;
	}

	.features-img h3 {
		font-size: 24px;
	}


	.features-img h2 {
		font-size: 28px;
	}

	.btn{font-size:18px;}

	.navbar.navigation-top{ font-size:16px;} 

	.newsletter-simple .input-group {
		position: relative;
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		width: 100%;
		justify-content: center;
		align-items: center;
	} 

	.features-img h2 small {
		font-size: 14px;
	 }	

	
}
@media only screen and (max-width: 600px) {
	.content-img-right .btn {
		width: auto;
	}
}
@media only screen and (max-width: 480px) {
	.content-img-right .btn {
		width: auto;
	}
}
