/*!
Theme Name: RedleafWebDev
Theme URI: http://underscores.me/
Author: Prasad Bapat
Author URI: http://cmswebdev.in/
Description: Custom Theme for RedleafWebDev
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: redleafwebdev
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*###############################################################
Underscores Default
###############################################################*/


/*--------------------------------------------------------------
/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* 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;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

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

/*###############################################################
 Color Values
###############################################################*/
/* 
  --theme-primary: #D10000;
  --black: #000000;
  --black90: #242424;
  --black80: #333333;
  --black70: #555555;
  --black60: #727272;
  --black50: #999999;
  --black40: #C3C3C3;
  --black30: #D6D6D6;
  --black20: #DEDEDE;
  --black10: #EEEEEE;
  --white: #FFFFFF; 
  */

/* #############################################################
# HTML, Body, Heading & Other Tags
############################################################# */
body {
	background-color: #fff;
	margin: 0 auto;
	font-family: 'Poppins', Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 21px;
	font-weight: normal;
	color: #555;
	height: auto;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Raleway', Helvetica, Arial, sans-serif;
	;
	color: #333;
}

h1 {
	font-size: 32px;
}

h2 {
	font-size: 28px;
}

h3 {
	font-size: 23px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}

h6 {
	font-size: 14px;
	font-weight: 500;
}

a {
	color: #D10000;
	text-decoration: none;
}

a:hover {
	color: #242424;
}

strong {
	font-weight: 500;
}

.noborder {
	border: none !important;
}

.border {
	border: 1px solid #dedede !important;
}

.border-dark {
	border: 1px solid #999 !important;
}

hr {
	color: transparent;
	background-color: transparent;
	border: 0;
	opacity: 1;
}

hr,
.wp-block-separator {
	border-top: 1px dashed #D10000;
	margin: 24px 0;
}

.img-left {
	display: block;
	float: left;
	margin-right: 10px;
}

.img-right {
	display: block;
	float: right;
	margin-left: 10px;
}

.btn-theme {
	color: #fff;
	background-color: #242424;
	border-color: #D10000;
	outline: none;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.btn-theme:hover {
	color: #fff;
	background-color: #D10000;
	border-color: #242424;
	box-shadow: none;
}

/* Fluent Forms */
form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style) {
	background-color: #242424 !important;
	border-color: #D10000;
	outline: none;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style):hover {
	background-color: #D10000 !important;
	border-color: #242424;
	box-shadow: none;
}

/*############################################################
# Header
############################################################*/
.bgheader {
	background-color: #242424;
	color: #fff;
}

.logo {
	padding: 10px 0 10px 0;
}

.headercontact {
	padding-top: 12px;
	text-align: right;
}

/*############################################################
# Bootstrap Topmenu
############################################################*/

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

/****** Continue ********************************************/
.navbar>.container {
	padding: 0;
	z-index: 10000;
}

.navbar {
	padding-top: 7px;
	padding-bottom: 0;
	margin: 0;
}

.navbar-expand-lg .navbar-nav .nav-link {
	padding: 10px 20px 11px 20px;
	text-transform: uppercase;
}

.nav-item {
	margin: 0;
	padding: 0;
}

.navbar-nav a.nav-link {
	font-family: 'Raleway', Helvetica, sans-serif;
	background-color: #242424;
	color: #eeeeee;
	font-weight: 600;
	font-size: 13px;
	line-height: 19px;
}

/**************************************************/
/* Add only if last menu item is search icon */

.navbar-nav a.nav-link:last-child {
	line-height: 17px;
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .show>.nav-link {
	background-color: #000;
	color: #fff;
}

.navbar-nav .nav-link.active {
	color: #D10000;
}

.dropdown-menu {
	min-width: 160px;
	background-color: #eee;
	color: #242424;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.dropdown-menu .dropdown-item {
	background-color: #dedede;
	color: #242424;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 500;
	padding: 10px 20px;
	border-bottom: 1px dashed #C3C3C3;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
	background: #C3C3C3 !important;
	text-decoration: none;
}

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

/* Modal Search */
.modal-search-form {
	margin: 45px 0;
}

/*############################################################
# Slider
############################################################*/
.slider {
	margin-top: 0px;
}

#homePageSlider .carousel-item img {
	width: 100%;
	height: auto;
}

.carousel-caption {
	font-size: 36px;
	font-weight: 300;
	bottom: 42%;
}

/*############################################################
# Common Use Elements
############################################################*/
.sectionheading {
	margin-bottom: 27px;
	text-align: center;
}

.blockpadding {
	padding: 36px 0;
}

.bglightgrey {
	background-color: #eeeeee;
}

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

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

/*############################################################
# Home Page
############################################################*/
/************************************************************
## Welcome
************************************************************/
.welcomeblock h1 {
	font-weight: 300;
}

/************************************************************
## Services
************************************************************/
.servicebox {
	border: 1px solid #ddd;
	padding: 30px 15px 5px 15px;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	margin-bottom: 15px;
}

.servicebox i {
	color: #D10000;
	font-size: 75px;
	margin-bottom: 30px;
}

.servicebox:hover {
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 20px 0px;
	;
}

.servicebox h3 {
	margin-bottom: 24px;
}

.servicebox p {
	font-weight: 500;
}

/************************************************************
## Dev Process
************************************************************/
.devprocess {
	background-color: #000;
	background-image: url(images/bg-dev-process.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	color: #fff;
}

.devprocess h2 {
	color: #fff;
}

.devprocessbox {
	margin: 30px 0;
}

.devprocessbox i {
	color: #D10000;
	font-size: 42px;
	margin-bottom: 30px;
	background-color: #fff;
	padding: 20px;
	border-radius: 50%;
	border: 2px solid #D10000;
}

.devprocessbox h3 {
	margin-bottom: 15px;
	font-size: 16px;
	color: #fff;
}

/************************************************************
## Testimonials
************************************************************/
.testimonials {
	background-color: #000;
	background-image: url(images/bg-testimonials.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	color: #fff;
}

.testimonials h2 {
	color: #fff;
}

.testimonialbox {
	margin: 30px;
	background-color: #fff;
	padding: 30px 20px 20px 20px;
	border-radius: 4px;
	color: #242424;

	margin-left: 50px;
	margin-right: 50px;
	text-align: center;

}

.testimonialbox img {
	margin-bottom: 20px;
	max-width: 100%;
	text-align: center;
}

.testimonialbox h2 {
	font-size: 18px;
	font-weight: 500;
	color: #242424;
}

.testimonialbox h4 {
	font-size: 13px;
	font-weight: 300;
}

.testimonial {
	border-bottom: 1px dashed #D10000;
	margin-bottom: 20px;
}

@media (min-width: 992px) {

	.carousel-control-prev:hover,
	.carousel-control-next:hover {
		filter: invert(100%);
	}
}

/*--------------------------------------------------------------
# Multiple Item slider carousel 
--------------------------------------------------------------*/

#testimonialSlider .carousel-inner .carousel-item.active,
#testimonialSlider .carousel-inner .carousel-item-next,
#testimonialSlider .carousel-inner .carousel-item-prev {
	display: flex;
}

/* change transition duration to control the speed of fade effect */
#testimonialSlider .carousel-item {
	transition: transform 700ms ease-in-out;
}

/* Archive page */
.testimonial .post-thumbnail img {
	border: none;
	padding: 0;
}

.testimonial h3,
.testimonial p {
	margin-bottom: 5px;
}

/************************************************************
## Portfolio
************************************************************/
/* Gallery on home page */
.portfolio-gallery img {
	max-width: 100%;
	height: auto;
}

.gallerybox {
	margin-bottom: 30px;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	border: 1px solid #ddd;
}

/* Portfolio page */
.portfoliobox {
	border: 1px solid #ddd;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	margin-bottom: 50px;
}

.portfoliobox img {
	width: 100%;
	height: auto;
	border-bottom: 1px solid #dedede;
}

.portfoliobox h2 {
	font-size: 18px;
	font-weight: 500;
	color: #D10000;
}

/************************************************************
## Numbers
************************************************************/
.numbers {
	background-color: #000;
	background-image: url(images/bg-dev-process.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	color: #fff
}

.numberbox i {
	color: #fff;
	font-size: 75px;
	margin: 45px 0;
}

.numberbox h4 {
	margin-bottom: 30px;
	color: #fff;
}

.number {
	font-size: 45px;
	font-weight: 500;
	color: #D10000;
	margin-bottom: 30px;
}

/************************************************************
## Featured Blogs
************************************************************/

.blogbox {
	border: 1px solid #ddd;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	margin-bottom: 15px;
	min-height: 378px;
}

.blogbox img {
	width: 100%;
	height: auto;
}

.blogbox h3 {
	font-size: 18px;
	font-weight: 500;
	color: #D10000;
}

.contentbox {
	padding: 20px 20px 0 20px;
}

/*############################################################
# Footer
############################################################*/
.sitefooter a {
	color: #fff;
}

.sitefooter a:hover {
	color: #D10000;
}

.prefooter {
	background: #242424;
	color: #fff;
	padding: 50px 0 30px 0;
}

.prefooter h3 {
	color: #fff;
}

.follow {
	margin-left: 12px;
}

.footersocial {
	margin-top: 36px;

}

.footersocial i {
	font-size: 27px;
	margin: 0 10px;
}

.prefooter li {
	line-height: 24px;
}

.mainfooter {
	background: #000;
	color: #fff;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: 11px;
	padding: 10px 0;
	border-top: 3px solid #D10000;
}

.mainfooter p {
	margin-bottom: 0;
}

.designby {
	text-align: right;
}

/*############################################################
## Go To Top
############################################################*/
#goTopBtn {
	display: none;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 99;
	outline: none;
	cursor: pointer;
	padding: 4px 7px;
	border-radius: 50%;
	font-size: 18px;

	background-color: #555;
	border: 1px solid #333;
	color: #eee;
	opacity: .6;
}

#goTopBtn:hover {
	background-color: #333;
	border: 1px solid #D10000;
	color: #fff;
	opacity: 1;

}

/*############################################################
## All Blogs
############################################################*/

.content {
	margin: 20px 0 10px 0;
}

.blogheader {
	background-color: #242424;
	background-image: url(images/bg-blogheader.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	color: #fff;
	padding: 81px 0;
}

.blogs {
	border-bottom: 1px dashed #D10000;
	margin-bottom: 20px;
}

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

.blogs h2 {
	font-size: 20px;
	color: #D10000;
}

.entry-header h1 {
	color: #fff;
	font-weight: 300;
}

.entry-header {
	padding-bottom: 7px;
}

/* Post Footer */

.edit-link,
.cat-links,
.comments-link {
	margin-right: 5px;
}

/* Post Navigation */

.post-navigation,
.posts-navigation {
	background-color: #eee;
	border: 1px solid #d6d6d6;
	padding: 2px 5px;
	border-radius: 4px;
	margin-bottom: 10px;
	min-height: 27px;
	margin-top: 15px;
}

.nav-previous {
	width: 50%;
	float: left;
}

.nav-next {
	width: 50%;
	float: right;
	text-align: right;
}

/* .posts-navigation .nav-previous:before {
	font-family: "Font Awesome 5 Free";
	content: "\f053";
	display: inline-block;
	padding-right: 3px;
	vertical-align: middle;
	font-weight: 600;
	color: #D10000;
}

.posts-navigation .nav-next:after {
	font-family: "Font Awesome 5 Free";
	content: "\f054";
	display: inline-block;
	padding-left: 3px;
	vertical-align: middle;
	font-weight: 600;
	color: #D10000;
} */

/* Archives */

.archive-excerpt {
	margin-top: 5px;
	padding-top: 5px;
	border-top: 1px dashed #d6d6d6;
}

/* Posts Pagination */

.pagination .nav-links {
	margin: 10px auto 20px auto;
}

.page-numbers {
	background-color: #EEE;
	color: #242424;
	padding: 5px 12px;
	text-decoration: none;
	border: 1px solid #D6D6D6;
	border-radius: 3px;
	margin: 0 3px;
}

.page-numbers:hover {
	color: #fff;
	background-color: #D10000;
	border-radius: 3px;
	border: 1px solid #727272;
}

.page-numbers.current {
	background: #727272;
	color: #d6d6d6;
	padding: 5px 12px;
	border: 1px solid #D6D6D6;
	border-radius: 3px;
}

/*############################################################
## Sidebar
############################################################*/

.sidebar {
	background-color: #eeeeee;
	padding-top: 20px;
}

.sidebar h2 {
	background-color: #242424;
	color: #fff;
	padding: 10px;
	font-size: 18px;
	font-weight: 500;
}

/* Sidebar Menu */
.sidebar ul {
	list-style-type: none;
	padding-left: 0;
}

.sidebar li {
	padding: 10px 7px;
	border-bottom: 1px dashed #C3C3C3;
	border-left: 5px solid #D10000;
	background: #dedede;
	transition: all 0.3s ease;
}

.sidebar li:hover,
.sidebar li.active {
	border-left: 5px solid #242424;
	background: #d6d6d6;
}

.sidebar li a {
	color: #242424;
}

.sidebar li:hover a,
.sidebar li.active a {
	color: #D10000;
}

/* #############################################################
# Comments Section
############################################################# */
.comments-area h2 {
	font-size: 23px;
	border-bottom: 1px dashed #d6d6d6;
	padding-bottom: 5px;
}

.comment-metadata,
.reply {
	margin-bottom: 10px;
}

.submit,
.comment-reply-link,
.reply a {
	color: #fff;
	background-color: #242424;
	border: 1px solid #D10000;
	outline: none;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
	padding: 4px 12px;
	border-radius: .25rem;
}

.submit:hover,
.comment-reply-link:hover,
.reply a:hover {
	background-color: #D10000;
	box-shadow: none;
}

.comment-respond {
	margin-top: 30px;
	border: 1px solid #d6d6d6;
	padding: 5px;
	background-color: #eee;
}

.comment-content {
	margin-bottom: 12px;
	border: 1px solid #d6d6d6;
	padding: 5px 7px;
	background-color: #eee;
}

.comment-content p {
	margin-bottom: 0 !important;
}

.comment-body {
	margin-top: 10px;
}

.commentlist li {
	border-bottom: 1px dashed #d6d6d6;
	padding-bottom: 5px;
}

.commentlist .children li {
	border-bottom: none;
	padding-bottom: 0;
}

/*############################################################
## All Pages
############################################################*/

.pageheader {
	background-color: #242424;
	background-image: url(images/bg-pageheader.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	color: #fff;
	padding: 81px 0;
}

.teammembers {
	margin-top: 10px;
}

.teammember {
	border: 1px solid #ddd;
	padding: 20px 15px 5px 15px;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	margin-bottom: 15px;
	text-align: center;
}

.teammember i {
	font-size: 20px;
	margin: 0 10px;
}

/*############################################################
## Archive Pages
############################################################*/
.aboutheader {
	background-color: #242424;
	background-image: url(images/bg-aboutheader.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	color: #fff;
	padding: 81px 0;
}

.portfolioheader {
	background-color: #242424;
	background-image: url(images/bg-portfolioheader.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	color: #fff;
	padding: 81px 0;
}

.searchheader {
	background-color: #242424;
	background-image: url(images/bg-searchheader.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	color: #fff;
	padding: 81px 0;
}

.error404header {
	background-color: #242424;
	background-image: url(images/bg-error404header.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	color: #fff;
	padding: 81px 0;
}

p.error404 {
	font-weight: 300;
	font-size: 180px;
	line-height: 210px;
	color: #D6D6D6;
}

/*############################################################
## Mobile Specefic
############################################################*/

/* Mobile Menu Toggle Buton */
.navbar-toggler {
	color: transparent;
	border-color: #C3C3C3;
	padding: 2px 5px;
	margin: 2px;
	background-color: transparent;
	outline-color: #C3C3C3;
}

.navbar-toggler:focus {
	box-shadow: none;
	border-color: #eee;
}

.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;
}

.togglemenutext {
	margin: 10px 0;
}

/* Mobile Responsive */
@media (max-width: 992px) {

	h1 {
		font-size: 27px;
	}

	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 20px;
	}

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

	.logo,
	.headercontact,
	.copyright,
	.designby {
		text-align: center;
	}

	.carousel-caption {
		font-size: 24px;
		font-weight: 300;
		bottom: 30%;
	}

	.post-navigation {
		min-height: 48px;
	}

	.prefooter .borderbottom {
		border-bottom: 1px solid #555;
		margin-bottom: 20px;
	}

	.footersocial {
		margin-bottom: 20px;
	}
}

@media (max-width: 767.9px) {
	.carousel-caption {
		font-size: 14px;
		font-weight: 300;
		bottom: 10%;
	}
}