/*!
Theme Name: BHHS
Theme URI: http://underscores.me/
Author: Moinahemad H Mansuri
Author URI: https://lionstechnologies.com/
Description: Custom Theme Development for BHHS
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: bhhs
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

BHHS is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

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

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

.navbar-expand-lg .navbar-nav>li {
    margin: 0px 12px;
}
 
.navbar-light .navbar-nav>.nav-item:hover>a,
.navbar-light .navbar-nav>.nav-item.active>a,
.navbar-light .navbar-nav>.nav-item.current-menu-item>a,
.navbar-light .navbar-nav>.nav-item.current-menu-parent>a {
    color: #660C39 !important;
}
 
.navbar-light .navbar-nav>.nav-item:hover>a:before,
.navbar-light .navbar-nav>.nav-item.active>a:before,
.navbar-light .navbar-nav>.nav-item.current-menu-item>a:before,
.navbar-light .navbar-nav>.nav-item.current-menu-parent>a:before {
    width: 100% !important;
}
 
.fixed .navbar-light .navbar-nav>.nav-item ul.sub-menu>li:hover>a,
.fixed .navbar-light .navbar-nav>.nav-item ul.sub-menu>li.current-menu-item>a,
.navbar-light .navbar-nav>.nav-item ul.sub-menu>li:hover>a,
.navbar-light .navbar-nav>.nav-item ul.sub-menu>li.current-menu-item>a {
    color: #fff !important;
    background: #660C39 !important;
}
 
.side-menu ul.main-menu>li:hover>a,
.side-menu ul.main-menu li.current_page_item>a,
.side-menu ul.main-menu li.current_page_parent>a {
    background: none;
    color: #660C39 !important;
    opacity: 1;
}
 
.bloginfo .navigation ul {
    display: inline-block;
    width: 100%;
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.bloginfo .navigation ul li {
    display: inline-block;
    margin: 0px 3px;
}
 
.bloginfo .navigation ul li a {
    display: inline-block;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 5px;
    line-height: 30px;
    padding: 0px 15px;
}
 
.bloginfo .navigation ul li:hover a,
.bloginfo .navigation ul li.active>a {
    color: #fff !important;
    background: #660C39 !important;
    border-color: #660C39 !important;
}
 
 
 
@media only screen and (max-width:767px) {
.side-menu {
    min-width: 100%;
    padding: 55px 12px 100px 12px;
}
 
.side-menu .d-flex {
    flex-wrap: wrap !important;
}
 
.side-menu .row>div {
    width: 100% !important;
}
 
.side-menu h4 {
    margin-bottom: 15px;
}
 
.side-menu .social-links {
    margin-left: 0px;
    width: 100%;
}
 
.side-menu ul.main-menu.main-pages li {
    margin-bottom: 5px;
}
 
.side-menu ul.main-menu.main-pages li a {
    font-size: 16px;
    opacity: 1;
}
 
.side-menu ul.main-menu.navbar-nav.main-pages {
    margin-top: 0px;
    margin-bottom: 0px;
}
 
.side-menu ul.main-menu.navbar-nav {
    margin-top: 0px;
    margin-bottom: 20px;
}
 
}
 
@media only screen and (min-width:768px) and (max-width:991px) {
.side-menu ul.main-menu.main-pages li a {
    font-size: 16px;
    opacity: 1;
}
 
.side-menu ul.main-menu.main-pages li {
    margin-bottom: 14px;
}
 
.side-menu h4 {
    margin-bottom: 15px;
}
 
.side-menu ul.main-menu li a {
    font-size: 12px;
    opacity: 0.5;
}
 
}
 
 
@media only screen and (min-width:992px) and (max-width:1199px) {
.side-menu ul.main-menu.main-pages li a {
    font-size: 16px;
    opacity: 1;
}
 
.side-menu ul.main-menu.main-pages li {
    margin-bottom: 14px;
}
 
.side-menu h4 {
    margin-bottom: 15px;
}
 
.side-menu ul.main-menu li a {
    font-size: 12px;
    opacity: 0.5;
}
 
.navbar-brand {
    margin-right: 0;
}
 
.navbar-expand-lg .navbar-nav>li {
    margin: 0px 5px;
}
 
}
 
@media only screen and (min-width:1200px) and (max-width:1399px) {
.navbar-expand-lg .navbar-nav>li {
    margin: 0px 9px;
}
 
 
}
  
@media only screen and (max-width: 767px) {
    .ctaButton h2 {
        font-size: 21px !important;
    }
}
 
 
input.wpcf7-form-control.wpcf7-not-valid{
	border-bottom: 2px solid #f00 !important;
}
span.wpcf7-not-valid-tip{
	display:none;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing{
	display:inline-block !important; 
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok{
	display:inline-block !important;
}


/* ✅ Success message (form sent) */
.wpcf7 form.sent .wpcf7-response-output,  {
	background: #f6f4ee; /* soft beige or light neutral background */
	color: #0a3a2a; /* elegant dark green accent */
	border: 2px solid #0a3a2a;
	padding: 1rem 1.5rem;
	border-radius: 12px;
	font-family: 'Poppins', 'Helvetica Neue', sans-serif;
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	max-width: 500px;
	margin: 1.5rem auto;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	opacity: 0;
	animation: fadeInUp 0.6s ease forwards;
}

/* ❌ Error message (validation failed or required fields missing) */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output, .wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors{
	background: #fdf2f2; /* soft red background */
	color: #8b0000; /* deep red text */
	border: 2px solid #e63946; /* elegant red border */
	padding: 1rem 1.5rem;
	border-radius: 12px;
	font-family: 'Poppins', 'Helvetica Neue', sans-serif;
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	max-width: 500px;
	margin: 1.5rem auto;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	opacity: 0;
	animation: fadeInUp 0.6s ease forwards;
}

/* ⚠️ Individual field validation tips (inline error under fields) */
.wpcf7-not-valid-tip {
	color: #e63946; /* red accent for field warnings */
	font-size: 14px;
	margin-top: 4px;
	font-weight: 500;
}

/* ✨ Fade-in animation for both messages */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.otgs-development-site-front-end{
	display:none;
}
 
.blogbox .img img {
    transform: none !important;
    left: 0px !important;
}
 