/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

@font-face {
	font-family: 'Averia Serif Libre';
	src: url('fonts/AveriaSerifLibre-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Averia Serif Libre';
	src: url('fonts/AveriaSerifLibre-LightItalic.ttf') format('truetype');
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Averia Serif Libre';
	src: url('fonts/AveriaSerifLibre-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Averia Serif Libre';
	src: url('fonts/AveriaSerifLibre-Italic.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Averia Serif Libre';
	src: url('fonts/AveriaSerifLibre-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Averia Serif Libre';
	src: url('fonts/AveriaSerifLibre-BoldItalic.ttf') format('truetype');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Averia Serif Libre', serif;
	font-weight: 400;
	font-style: normal;
}

h1 {
	font-size: 30px;
	line-height: 30px;
}

h3 {
	font-size: 28px;
	line-height: 28px;
}

h4 {
	font-size: 12px;
}

p {
	font-family: 'Averia Serif Libre', serif;
	font-weight: 300;
	font-size: 16px;
}

.nectar-button {
	font-family: 'Averia Serif Libre', serif;
	text-transform: uppercase;
	font-weight: 300;
	font-size: 14px;
}

.nectar-button.small.see-through-2 {
	border-width: 0.5px;
}

#header-outer .sf-menu > li > a {
	font-family: 'Averia Serif Libre', serif;
	font-weight: 300;
	text-transform: uppercase;
}

/* Mobile / off canvas menu */
#slide-out-widget-area,
#slide-out-widget-area .off-canvas-menu-container li a,
#slide-out-widget-area .off-canvas-menu-container .menu-item-has-children > a,
#slide-out-widget-area .off-canvas-menu-container .sub-menu li a,
#slide-out-widget-area .inner .widget,
#slide-out-widget-area .inner p,
#slide-out-widget-area .inner a,
#mobile-menu ul li a,
#mobile-menu .container ul li a {
	font-family: 'Averia Serif Libre', serif;
	font-weight: 300;
}

/* Off canvas menu font: beats Salient's higher-specificity fullscreen rule */
#slide-out-widget-area.fullscreen .inner .off-canvas-menu-container li a,
#slide-out-widget-area.fullscreen .inner .widget.widget_nav_menu li a,
#slide-out-widget-area .inner .off-canvas-menu-container li > a,
#slide-out-widget-area .menuwrapper li small {
	font-family: 'Averia Serif Libre', serif !important;
	font-weight: 300 !important;
}

/* Off canvas layout: left aligned, bottom of screen, no divider */
#slide-out-widget-area.fullscreen .off-canvas-social-links:after {
	display: none !important;
}

@media only screen and (max-width: 999px) {
	#slide-out-widget-area.fullscreen .inner-wrap > .inner {
		display: flex !important;
		flex-direction: column;
		justify-content: flex-end;
		align-items: flex-start;
		position: relative !important;
		top: 0 !important;
		margin: 0 !important;
		transform: none !important;
		height: 100% !important;
		padding: 0 5% 60px;
		box-sizing: border-box;
		text-align: left !important;
	}

	#slide-out-widget-area.fullscreen .inner > div {
		margin-bottom: 0;
		width: 100%;
	}

	#slide-out-widget-area.fullscreen .off-canvas-menu-container,
	#slide-out-widget-area.fullscreen .off-canvas-menu-container .menu,
	#slide-out-widget-area.fullscreen .off-canvas-menu-container li,
	#slide-out-widget-area.fullscreen .off-canvas-menu-container li a,
	#slide-out-widget-area.fullscreen .off-canvas-social-links {
		text-align: left !important;
	}

	#slide-out-widget-area.fullscreen .off-canvas-social-links {
		margin-top: 30px;
		padding: 0;
	}
}

/* Off canvas menu items at full opacity */
#slide-out-widget-area.fullscreen .inner .off-canvas-menu-container li a,
#slide-out-widget-area .off-canvas-menu-container li a,
#slide-out-widget-area .off-canvas-menu-container .sub-menu li a,
#slide-out-widget-area .inner .widget_nav_menu li a {
	opacity: 1 !important;
	color: #332302 !important;
}

/* Off canvas: dark logo (image URL is injected from functions.php as --innc-ocm-logo) */
#slide-out-widget-area.fullscreen::before {
	content: '';
	position: absolute;
	top: 28px;
	left: 5%;
	width: 150px;
	height: 40px;
	background: var(--innc-ocm-logo) no-repeat left center / contain;
	z-index: 10;
	pointer-events: none;
}

/* Hide the header logo while the off canvas menu is open */
body:has(#slide-out-widget-area.open) #header-outer #logo {
	visibility: hidden;
}

ul li {
	font-family: 'Averia Serif Libre', serif;
	font-weight: 300;
	font-size: 16px;
}

.nectar-badge.text-color-615025 .nectar-badge__inner {
	font-family: 'Averia Serif Libre', serif;
	font-weight: 300;
	font-size: 16px;
}

.service-tabs div[data-style="animated_circle"][data-ac-bg-color="1"] .toggle {
	padding: 0;
}

.faq .toggle > .toggle-title a {
	font-size: 20px;
}

.faq div[data-style="animated_circle"] .toggle {
	background-color: transparent;
	border: 1px solid #332302;
}

.img-with-animation.services-icon.skip-lazy {
	height: 50px;
}

.min-padd {
	padding-top: 20px;
	padding-bottom: 20px;
}

.i-text em {
	font-size: 18px;
}

.wpb_gallery_slidesflickity_static_height_style img {
	height: auto !important;
	width: 200px !important;
}

.med-padd {
	padding-top: 200px;
	padding-bottom: 200px;
}

.med-padd-top {
	padding-top: 200px;
}

.wpb_gallery_slidesflickity_static_height_style .cell {
	position: relative;
	overflow: hidden;
}

.wpb_gallery_slidesflickity_static_height_style .cell::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: #332302;
	mix-blend-mode: color;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.wpb_gallery_slidesflickity_static_height_style .cell:hover::after {
	opacity: 0;
}

.texture-bg .row-bg-wrap .row-bg-overlay::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('images/texture-overlay.jpg');
	background-repeat: repeat;
	mix-blend-mode: multiply;
	opacity: 0.1;
	pointer-events: none;
}

.large-p p {
	font-size: 30px;
	line-height: 34px;
}

.row-bg-hover-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background-size: cover;
	background-position: center center;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.wpb_row:hover .row-bg-hover-image {
	opacity: 1;
}


/* ---------- Ninja Forms: brand styling ---------- */

.nf-form-cont {
	--innc-brown: #332302;
	--innc-lime: #D5F700;
	--innc-cream: #F5F5EB;
	--innc-teal: #062628;
}

.nf-form-cont .nf-form-title h3 {
	font-family: 'Averia Serif Libre', serif;
	color: var(--innc-brown);
}

.nf-form-cont .nf-field-label {
	margin-bottom: 4px;
}

.nf-form-cont .nf-field-label label,
.nf-form-cont .nf-field-label .nf-label-span {
	font-family: 'Averia Serif Libre', serif;
	font-weight: 300;
	font-size: 16px;
	color: var(--innc-brown);
}

.nf-form-cont .nf-form-fields-required {
	display: none;
}

.nf-form-cont .ninja-forms-req-symbol {
	color: var(--innc-teal);
}

.nf-form-cont input[type="text"],
.nf-form-cont input[type="email"],
.nf-form-cont input[type="tel"],
.nf-form-cont input[type="number"],
.nf-form-cont textarea,
.nf-form-cont select {
	font-family: 'Averia Serif Libre', serif;
	font-weight: 300;
	font-size: 16px;
	color: var(--innc-brown);
	background-color: transparent;
	border: 1px solid var(--innc-brown);
	border-radius: 0;
	box-shadow: none;
	padding: 12px 14px;
	height: auto;
	transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.nf-form-cont textarea {
	min-height: 140px;
}

.nf-form-cont input::placeholder,
.nf-form-cont textarea::placeholder {
	color: rgba(51, 35, 2, 0.55);
}

.nf-form-cont input[type="text"]:focus,
.nf-form-cont input[type="email"]:focus,
.nf-form-cont input[type="tel"]:focus,
.nf-form-cont input[type="number"]:focus,
.nf-form-cont textarea:focus,
.nf-form-cont select:focus {
	outline: none;
	background-color: #fff;
	border-color: var(--innc-teal);
	box-shadow: 0 0 0 3px rgba(213, 247, 0, 0.6);
}

/* Radios / checkboxes */
.nf-form-cont .nf-field-element label {
	font-family: 'Averia Serif Libre', serif;
	font-weight: 300;
	color: var(--innc-brown);
}

.nf-form-cont input[type="radio"],
.nf-form-cont input[type="checkbox"] {
	accent-color: var(--innc-brown);
}

/* Submit: brown bg + cream text, lime bg + brown text on hover/active */
.nf-form-cont input[type="submit"],
.nf-form-cont input[type="button"],
.nf-form-cont button[type="submit"],
.nf-form-cont .nf-form-content button {
	font-family: 'Averia Serif Libre', serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--innc-cream);
	background-color: var(--innc-brown);
	border: 2px solid var(--innc-brown);
	border-radius: 0;
	box-shadow: none;
	padding: 13px 18px;
	height: auto;
	width: auto;
	cursor: pointer;
	transition: background-color 0.45s cubic-bezier(.25, 1, .33, 1), color 0.45s cubic-bezier(.25, 1, .33, 1), border-color 0.45s cubic-bezier(.25, 1, .33, 1);
}

.nf-form-cont input[type="submit"]:hover,
.nf-form-cont input[type="submit"]:active,
.nf-form-cont input[type="submit"]:focus,
.nf-form-cont input[type="button"]:hover,
.nf-form-cont input[type="button"]:active,
.nf-form-cont button[type="submit"]:hover,
.nf-form-cont button[type="submit"]:active,
.nf-form-cont .nf-form-content button:hover,
.nf-form-cont .nf-form-content button:active {
	background-color: var(--innc-lime);
	border-color: var(--innc-lime);
	color: var(--innc-brown);
	outline: none;
}

body[data-form-submit="regular"] .container-wrap input[type="submit"] {
	padding: 10px 30px !important;
}

/* Validation / success messages */
.nf-form-cont .nf-error-wrap,
.nf-form-cont .nf-error-msg {
	display: none;
}

.nf-form-cont .nf-error input,
.nf-form-cont .nf-error textarea,
.nf-form-cont .nf-error select {
	border-color: #8a1f11;
}

.nf-form-cont .nf-response-msg {
	font-family: 'Averia Serif Libre', serif;
	color: var(--innc-brown);
}

.iwithtext .iwt-icon img {
	height: 30px;
	width: auto;
}
