/*
Theme Name: NEUROAGE Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar powered by Ondeuev
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/
/* Custom fonts */
@font-face {
	font-family: "InterTight-Bold";
	src: url("/wp-content/themes/neuroage-child/fonts/InterTight-Bold.woff") format("woff"),
	url("/wp-content/themes/neuroage-child/fonts/InterTight-Bold.otf") format("opentype"),
	url("/wp-content/themes/neuroage-child/fonts/InterTight-Bold.ttf") format("truetype"),
	url("/wp-content/themes/neuroage-child/fonts/InterTight-Bold.woff2") format("woff2");
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: "InterTight-Regular";
	src: url("/wp-content/themes/neuroage-child/fonts/InterTight-Regular.woff") format("woff"),
	url("/wp-content/themes/neuroage-child/fonts/InterTight-Regular.otf") format("opentype"),
	url("/wp-content/themes/neuroage-child/fonts/InterTight-Regular.ttf") format("truetype"),
	url("/wp-content/themes/neuroage-child/fonts/InterTight-Regular.woff2") format("woff2");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "LibreBaskerville-Bold";
	src: url("/wp-content/themes/neuroage-child/fonts/LibreBaskerville-Bold.woff") format("woff"),
	url("/wp-content/themes/neuroage-child/fonts/LibreBaskerville-Bold.otf") format("opentype"),
	url("/wp-content/themes/neuroage-child/fonts/LibreBaskerville-Bold.ttf") format("truetype"),
	url("/wp-content/themes/neuroage-child/fonts/LibreBaskerville-Bold.woff2") format("woff2");
	font-weight: bold;
	font-style: normal;
}

/* CF7 */
.wpcf7-form {
	display: flex !important;
	flex-wrap: wrap;
	box-sizing: border-box; 
	gap: 24px;
}
.wpcf7 .field {
	flex: 0 0 100%;
	margin-bottom: 0;
	max-width: 100%;
	box-sizing: inherit;
}
.wpcf7 .field p {
	text-align: left;
	padding: 0 !important;
}	
.wpcf7 label.field-label {
	color: #000 !important;
}
.wpcf7 .field-control input:not([type="submit"]) {
	color: #000 !important;
}
.wpcf7 .field-control input:not([type="submit"]):not([type="checkbox"]) {
	background: #FFF !important;
	border: 1px solid #D4D4D4;
	border-radius: 8px;
	height: 48px;
}
.wpcf7 .field.firstname {
    flex: 0 0 calc(50% - 12px) !important;
	max-width: calc(50% - 12px) !important;
}
.wpcf7 .field.lastname {
    flex: 0 0 calc(50% - 12px) !important;
	max-width: calc(50% - 12px) !important;
}
.wpcf7 .field-control select {
	background: #FFF !important;
    border-radius: 8px !important;
	color: #000 !important;
}
.wpcf7 .field-control textarea {
	background: #FFF !important;
    border-radius: 8px !important;
	color: #000 !important;
	height: 180px !important;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
	margin: 0 !important;
}
.wpcf7 .wpcf7-not-valid-tip {
	display: none !important;
}
.wpcf7 .field-control input.wpcf7-not-valid {
	border: 1px solid red !important;
}

/* wpml lang menu desktop */
#header-outer #top nav .lang-menu {
	margin-left: 60px !important;
}
#header-outer #top nav .lang-menu li {
	margin: 0 6px !important;
}
#header-outer #top nav .lang-menu > .menu-item > a {
	color: var(--nectar-extra-color-1) !important;
	font-family: "InterTight-Regular", "Arial";
	margin: 0;
	position: relative;
    text-decoration: none;
}
#header-outer #top nav .lang-menu > .menu-item.active-lang > a {
	color: var(--nectar-font-color) !important;
	font-family: "InterTight-Regular", "Arial";
}
#header-outer #top nav .lang-menu > .menu-item > a:hover {
	color: var(--nectar-font-color) !important;
}
#header-outer #top nav .lang-menu a::after {
	content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #000;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
#header-outer #top nav .lang-menu a:hover::after {
	width: 100%;
}

/* wpml lang menu mobile */
#header-outer #mobile-menu ul.lang-menu-mobile {
    display: flex;
    gap: 16px;
    padding-left: 0;
	font-size: 16px;
}
#header-outer #mobile-menu ul.lang-menu-mobile::before {
	background-color: rgba(0,0,0,.08);
	content: '';
	display: block;
	position: absolute;
	top: -1px;
	width: 100%;
	left: 0;
	height: 1px;
}
#header-outer #mobile-menu ul.lang-menu-mobile li {
	align-items: center;
	display: flex;
    list-style: none;
}
#header-outer #mobile-menu ul.lang-menu-mobile a {
    text-decoration: none;
    position: relative;
}
#header-outer #mobile-menu ul.lang-menu-mobile a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #000;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
#header-outer #mobile-menu ul.lang-menu-mobile a:hover::after {
    width: 100%;
}
#header-outer #mobile-menu ul.lang-menu-mobile .menu-item a {
	color: var(--nectar-extra-color-1) !important;
	font-family: "InterTight-Regular", "Arial";
}
#header-outer #mobile-menu ul.lang-menu-mobile .menu-item:before, 
#header-outer #mobile-menu ul.lang-menu-mobile .menu-item:after {
	background-color: transparent !important;
}