/*
Theme Name: RedleafSeoHero
Author: Prasadh Baapaat
Author URI: https://cmswebdev.in/
Description: RedleafSeoHero is a great Starter Theme for WordPress which is used for Our Clients
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2 
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: redleafseohero
Tags: blog, custom-logo, custom-menu, featured-images, right-sidebar
*/
/*------------------------------------------------------
# CSS Variables
------------------------------------------------------ */
:root {	
	--site-background: #ffffff;
	--bodyfont: "Montserrat", sans-serif;
	--bodyfontsize: 0.938rem;
	--text: #363636;
	
	--heading: #272727;
	--headingfont: "Poppins", sans-serif;

	--primary: #0693E3;
	--secondary: #00357c;
	--theme-red: #D10000;
	
	--bgheader: #ffffff;
	--prefooter: #1178da;
	
	--smoke: #F5F5F5;
	--dark-smoke: #cecece;
	--blue-smoke: #f5faff;
	--green-smoke: #F9FFFD;
	--border: #eee;
	--dark-border: #b9b9b9;
	--grey: #dddddd;
	--dark-grey: #a3a3a3;

	--btn-primary-hover: #0062D1;

}

/*------------------------------------------------------
# WordPress Core
------------------------------------------------------ */
.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%;
	/* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	/* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#maincontent[tabindex="-1"]:focus {
	outline: 0;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*------------------------------------------------------
# Bootstrap changes
------------------------------------------------------ */

.container-small {
	max-width: 786px;
	margin: 0 auto;
}

.container-medium {
	max-width: 960px;
	margin: 0 auto;
}

.container-large {
	max-width: 1140px;
	margin: 0 auto;
}

.container-xlarge {
	max-width: 1280px;
	margin: 0 auto;
}

.container-xxlarge {
	max-width: 1320px;
	margin: 0 auto;
}

.container-fluid {
	width: 100%;
	padding: 0 30px;
}

.container-full {
	width: 100%;
	padding: 0;
}

/* Show dropdowns on HOVER for main menu ONLY on large screens */
@media (min-width: 992px) {
	.navbar .nav-item:hover .dropdown-menu {
		display: block;
	}
}
/*------------------------------------------------------
# General CSS
------------------------------------------------------ */
html {
	overflow-x: hidden
}

body {
	font-family: var(--bodyfont);
	font-weight: 400;
	font-size: var(--bodyfontsize);
	line-height: 1.6;
	width: 100%;
	height: 100%;
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background-color: var(--site-background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--heading);
	font-family: var(--headingfont);
	font-weight: 600;
	line-height: 1.6;
}

h1 {
	font-size: 2rem;
}

h2 {
	font-size: 1.75rem;
}

h3 {
	font-size: 1.5rem;
}

legend {
	color: var(--heading);
	font-family: var(--headingfont);
	padding: 7px 0;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--border);
}

.sticky {
	display: block;
}

a {
	color: var(--primary);
	text-decoration: none;
}

a:hover {
	color: var(--text);
	text-decoration: underline;
}

.primary {
	color: var(--primary);
}

.secondary {
	color: var(--secondary);
}

.bggrey {
	background-color: var(--smoke);
}

.bgdarkgrey {
	background-color: var(--dark-grey);
}

.thumbnail img,
.attachment-post-thumbnail {
	padding: 0.25rem;
	background-color: #fff;
	border: 1px solid #dee2e6;
	border-radius: 0.25rem;
	max-width: 100%;
	height: auto;
}

/* Uncomment if needed
.thumbnail img:hover,
.attachment-post-thumbnail {
  opacity: .9;
} */

.attachment-post-thumbnail {
	margin-bottom: 20px;
}
.mt-6 {
	margin-top: 42px;
}
.my-100 {
	margin: 100px 0;
}
.mt-50 {
	margin-top: 100px;
}
.mb-50 {
	margin-bottom: 100px;
}
.mbminus20 {
	margin-bottom: 20px;
}
.ar-5x3 {
	aspect-ratio: 5/3;
}
.ar-16x9 {
	aspect-ratio: 16/9;
}

.blockpadding-60 {
	padding: 60px 0;
}
.blockpadding-100 {
	padding: 100px 0;
}
.blockpadding-100-60 {
	padding: 100px 0 60px 0;
}
/* Remove link Underline for some elements */
.menu-item a:hover ,
.site-title a,
.sidebar a,
.entry-content .btn {
	text-decoration: none;
}
/*------------------------------------------------------
/* Buttons
------------------------------------------------------ */
.btn {
	padding: .375rem 1rem;
	font-size: var(--body-font-size);
}

.btn-group-lg>.btn,
.btn-lg {
	padding: .75rem 2rem;
	font-size: var(--body-font-size);
}

.btn-primary {
	color: white;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: var(--primary);
	border-color: var(--primary) var(--primary) var(--primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
	background-color: var(--btn-primary-hover);
	border-color: var(--primary) var(--primary) var(--primary);
	box-shadow: 0 0 4px var(--primary);
}

.btn-secondary {
	color: white;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: var(--secondary);
	border-color: var(--secondary) var(--secondary) var(--secondary);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.btn-secondary.disabled,
.btn-secondary[disabled] {
	background-color: var(--secondary);
	border-color: var(--secondary) var(--secondary) var(--secondary);
	box-shadow: 0 0 4px var(--secondary);
}

/*------------------------------------------------------
# Header
------------------------------------------------------ */
.bgheader {
	background-color: var(--bgheader);
	box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.1);
}

.logo {
	padding: 18px 0;
}


/*--------------------------------------------------------------
# Mainmenu
--------------------------------------------------------------*/
.mainmenu {
	margin-top: 7px;
}
.navbar>.container {
	padding: 0;
}

.navbar {
	padding: 0;
}

.navbar-expand-lg .navbar-nav .nav-link {
	padding: 21px;
}

.navbar-nav a.nav-link {
	color: var(--heading);
	font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .show>.nav-link {
	color: var(--theme-red);
}

.navbar-nav .nav-link.active {
	color: var(--theme-red);
}

.navbar-nav .nav-link.active:hover {
	color:var(--heading);
}

.dropdown-menu {
	min-width: 160px;
	color: var(--heading);
	border: 0;
	border-radius: 0;
	padding: 0;
}

.dropdown-menu .dropdown-item {
	color: var(--heading);
	font-size: 14px;
	font-weight: 500;
	padding: 15px 24px;
	border-bottom: 1px dashed #C3C3C3;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
	background: white !important;
	color: var(--theme-red);
	text-decoration: none;
}
/* Extra Menu Items */
.freeconsult,
.pll-parent-menu-item {
	margin-left: 30px;
}
.freeconsult a {
	margin-top: 15px;
	padding: .375rem 1rem !important;
	font-size: var(--body-font-size);
	color: white !important;
	background-color: var(--secondary);
	border-color: var(--secondary) var(--secondary) var(--secondary);
	border-radius: 5px;
	box-shadow: 0 0 4px var(--secondary);
}
.freeconsult a:hover {
	background-color: #009b46;
}

.dropdown-toggle::after {
	margin-left: 10px;
}

/*--------- Mobile Menu Toggle Buton ---------*/
.navbar-toggler {
	color: transparent;
	border-color: transparent;
	padding: 2px 5px;
	margin: 2px;
	background-color: var(--primary);
	outline-color: white;
}

.navbar-toggler:focus {
	box-shadow: none;
	border-color: var(--heading);
}

.navbar-toggler {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.72%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	width: 24px;
	height: 24px;
}
.navbar-toggler:hover{
	background-color: var(--secondary);
}

.togglemenutext {
	color: var(--heading);
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 30px;
}

.navbar-toggler {
	margin-right: 20px;
}
/* All Classes in this media query will affect only the Desktop View*/

@media (min-width: 992px) {

	/* Main Menu padding for */
	.navbar-expand-md .navbar-nav .nav-link {
		padding: var(--topmenu-padding);
	}

	/* Show dropdowns on Mouseover for main menu */

	.navbar .nav-item .dropdown-menu {
		display: none;
	}

	.navbar .nav-item:hover .dropdown-menu {
		display: block;
	}

	/* Show dropdowns on Mouseover for second level parent */

	.navbar .nav-item:hover .dropdown-menu .dropdown-submenu {
		display: none;

	}

	.navbar .nav-item:hover .dropdown-menu :hover .dropdown-submenu {
		display: block;
		left: 100%;
		top: 0;
	}

	/* Show dropdowns on Mouseover for third level parent */

	.navbar .nav-item:hover .dropdown-menu .dropdown-menu .dropdown-submenu {
		display: none;
	}

	.navbar .nav-item:hover .dropdown-menu .dropdown-menu :hover .dropdown-submenu {
		display: block;
		left: 100%;
		top: 0;
	}


	/* Change Carat direction from 2nd level onwards  */
	.at_depth_1 .dropdown-toggle::after,
	.at_depth_2 .dropdown-toggle::after,
	.at_depth_3 .dropdown-toggle::after {
		display: inline-block;
		content: "";
		margin-left: 6px;
		vertical-align: 2px;
		border-top: 0.3em solid;
		border-right: 0.3em solid transparent;
		border-bottom: 0;
		border-left: 0.3em solid transparent;
		/* Rotate Carat */
		-ms-transform: rotate(-90deg);
		-webkit-transform: rotate(-90deg);
		transform: rotate(-90deg);
	}

}

/*------------------------------------------------------
# Home Page
------------------------------------------------------ */
/* Hero Image */
.heroimage {
	margin-bottom: 50px;
}
.heroimage img {
	width: 100%;
	height: auto;
}
.paraspacing-right {
	padding-right: 60px;
}
.paraspacing-left {
	padding-left: 60px;
}
.paraspacing-y {
	padding-left: 60px;
	padding-right: 60px;
}
.rankontop {
	background-color: var(--smoke);
	padding: 36px 36px 0 36px;
}
.container-moreleads {
	width: 100%;
	padding: 0 30px;
}
.clientrow {
	padding-bottom: 30px;
}
.client img {
	padding: 7px 18px;
	background-color: white;
}
.client img:hover {
	opacity: .81;
	border: 1px solid #90d6ff;
}
.seobenefits {
	background-color: var(--smoke);
	padding-top: 36px;
}
.seobenefitspara {
	padding-right: 100px;
}
.creativeseoteam {
	padding: 81px 0 30px 0;
}
.learnmoreblue {
	font-size: 18px;
	font-weight: 600;
	margin-top: 20px;
}

/*------------------------------------------------------
# Animations
------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {

.rdl-fade-show {
	animation: rdl-fade-show linear forwards;
	animation-timeline: view();
	animation-range: entry;
}
@keyframes rdl-fade-show {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 1;
	}
}
.rdl-fade-ranktop {
	animation: rdl-fade-ranktop linear forwards;
	animation-timeline: view();
	animation-range: entry;
}
@keyframes rdl-fade-ranktop {
	0% {
		opacity: 0;
		transform: translateY(500px);
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
		transform: translateY(0px);
	}
}
.rdl-fade-up {
	animation: rdl-fade-up linear forwards;
	animation-timeline: view();
	animation-range: entry;
}
@keyframes rdl-fade-up {
	0% {
		opacity: 0;
		transform: translateY(400px);
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
		transform: translateY(0px);
	}
}
.rdl-slide-in-left {
	animation: rdl-slide-in-left linear forwards;
	animation-timeline: view();
	animation-range: entry;
}
@keyframes rdl-slide-in-left {
	0% {
		opacity: 0;
		transform: translatex(150px);
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
		transform: translatex(0px);
	}
}
.rdl-slide-in-right {
	animation: rdl-slide-in-right linear forwards;
	animation-timeline: view();
	animation-range: entry;
}
@keyframes rdl-slide-in-right {
	0% {
		opacity: 0;
		transform: translatex(-150px);
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
		transform: translatex(0px);
	}
}

}
/*------------------------------------------------------
# Latest 3 Posts ( Featured Blogs )
------------------------------------------------------ */
.latestnewsblogs h2 {
	margin-top: 63px;
}
.latestnewsblogs {
	padding-bottom: 81px;
}
.newsbox
{
  border: 1px solid var(--smoke);
	border-radius: 7px;
  padding: 10px;
  margin: 10px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.newsbox:hover
{
	border: 1px solid var(--dark-smoke);
  box-shadow: none;
}

.latestnewsthumb img
{
  max-width: 100%;
  height: auto;
}

.latestnewstitle h3
{
  font-size: 18px;
  margin-top: 10px;
  font-weight: 600;
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latestnewstitle h3 a
{
  color: var(--text);
}
.latestnewstitle h3 a:hover
{
  color: var(--primary);
	text-decoration: none;
}

.moretag
{
  margin-top: 10px;
}

.latestnewsexcerpt
{
  min-height: 46px;
}

.latestnewsexcerpt p
{
  margin-bottom: 5px;
}

/*------------------------------------------------------
# Pages
------------------------------------------------------ */

.pageheaderimage
{
	min-height: 500px;
	background-color: var(--secondary);
	background-image: url(images/bg-heading-blog.jpg);
	background-size: cover;
	background-position: center center;
	display: flex;
	align-items: center;
	text-align: center;
	font-size: 3rem;
	font-weight: 600;
}
.entry-header-span {
	color: white;
}
img {
	max-width: 100%;
	height: auto;
}

.maxwidth300 {
	max-width: 300px;
}
/* Case Study page */
.casestudyfooter {
	min-height: 500px;
	background-image: url(images/bg-casestudy-footer.jpg);
	background-size: cover;
	background-position: center center;
	padding: 100px 0 50px 0;
	margin-bottom: -30px;
}
.allposts {
	margin-top: 50px;
	margin-bottom: 81px;
}
.post .entry-title {
	margin-top: 30px;
}
.seohero-bg-overlay-01 {
	background-color: transparent;
	background-image: linear-gradient(120deg, #0fa597 0%, #0f4ea5 100%);
	opacity: 0.7;
	transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}
.seohero-bg-overlay-02 {
	background-color: transparent;
	background-image: linear-gradient(120deg, #008a7c 0%, #00337a 100%);
}
.boostrecognition {
	padding: 150px 0;
}
.boostrecognition h2,
.boostrecognition h5,
.boostrecognition {
	color: white;
}
/*------------------------------------------------------
# Pagination & Posts Navigation
------------------------------------------------------ */
.post-navigation {
	background-color: var(--grey);
	border-radius: 5px;
}
.post-navigation .nav-links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4px;
	margin: 10px 0;
}
.pagination {
	margin: 10px 0;
}
.pagination a {
	text-decoration: none;
}
.pagination .page-numbers {
	background-color: var(--grey);
	border: 1px solid var(--dark-smoke);
	padding:  3px 10px;
	margin: 5px;
}
.pagination .page-numbers:hover {
	background-color: var(--primary);
	border: 1px solid var(--primary);
	color: white;
}
.pagination .current,
.pagination .current:hover {
	background-color: var(--smoke);
	border: 1px solid var(--grey);
	color: var(--dark-grey);
}
/*------------------------------------------------------
# Footer
------------------------------------------------------ */
.prefooter {
	padding: 100px 0;
	background-color: var(--prefooter);
	color: white;
}
.prefooter h4 {
	color: white;
}
.prefooter h4:after {
  content: "";
  /* This is necessary for the pseudo element to work. */
  display: block;
  /* This will put the pseudo element on its own line. */
  width: 10%;
  /* Change this to whatever width you want. */
  padding-top: 7px;
  /* This creates some space between the element and the border. */
  border-bottom: 3px solid var(--secondary);
  /* This creates the border. Replace black with whatever color you want. */
}
.prefooter a {
	color: white;
}
.prefooter a:hover {
	text-decoration: none;
}
.prefooterlinks ul {
	list-style: none;
	margin:0;
 	padding:0;
}
.prefooterlinks ul li {
	line-height: 2.5rem;
	transition: all 0.5s ease;
}
.prefooterlinks ul li:hover {
	margin-left: 10px;
  list-style-type: disc;
}
.footeraddress {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-bottom: 7px;
}
.footeraddress i {
	margin-right: 10px;
}
.supportlogos {
	display: flex;
	margin-top: 50px;
}
.supportlogos img {
	max-height: 100px;
	width: auto;
	margin-right: 50px;
}
.socialicons i {
	margin-right: 18px;
	font-size: 33px;
	background-color: white;
	padding: 3px 5px;
	border-radius: 4px;
}
/* Main Footer */
.mainfooter {
	font-size: .75rem;
	padding: .5rem;
	background-color: var(--secondary);
	color: white;
}
.mainfooter p {
	margin-bottom: 0;
}
.mainfooter a {
	color: white;
}
.copyright {
	text-align: left;
}
.partners {
	text-align: center;
}
.designby {
	text-align: right;
}
/*--------------------------------------------------------------
# Go to Top Button
--------------------------------------------------------------*/
.gototop {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	position: fixed;
	bottom: 30px;
	right: 30px;
	display: none;
	z-index: 1000;
}

.gototop .fa {
color: var(--theme-red);
	font-size: 24px;
	margin-top: 1px !important;
	margin-left: 3px !important;
}

.gototop:hover .fa {
	color: var(--primary);
}

/* Mobile Specefic */
@media (max-width: 992px) {
	.logo,
	.socialicons,
	.freeconsult,
	.supportlogos,
	.copyright,
	.partners,
	.designby {
		text-align: center;
	}
	.socialicons i {
		margin: 12px;
	}
	.supportlogos img {
		margin: 20px;
	}
	.mainmenu {
		border-top: 1px solid var(--dark-smoke);
		margin-top: 0;
	}
	.navbar>.container {
		padding: 0;
		justify-content: flex-end;
		margin-top: 15px;
		margin-bottom: 15px;
	}
	.navbar-nav {
		margin-left: 10px;
	}
	.navbar-expand-lg .navbar-nav .nav-link {
		border-bottom: 1px solid var(--dark-smoke);
	}
	.freeconsult,
	.pll-parent-menu-item {
		margin-left: 0;
	}
}