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


/* pour masquer le badge du captcha */
.grecaptcha-badge
{
   display: none;
}

@font-face {
    font-family: 'Rockhill Sans Rough';
    src: url('/wp-content/fonts/RockhillSansRough.woff2') format('woff2'),
        url('/wp-content/fonts/RockhillSansRough.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('/wp-content/fonts/Geist-Regular.woff2') format('woff2'),
        url('/wp-content/fonts/Geist-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*fonts sizes*/

.big, .big h1, .big h2 {
  font-size: 34px; /* Valeur de secours pour les navigateurs qui ne connaissent pas clamp() */
  font-size: clamp(28px, 2.5vw,48px); /* Écrase la valeur précédente si clamp() est supporté */
  line-height:1.1;
}


.med, .med h1, .med h2, h2.med, .med h3, h3.med,
.woocommerce-product-details__short-description h2{
  font-family:'Geist', sans-serif!important;
  font-size: 22px!important; /* Valeur de secours pour les navigateurs qui ne connaissent pas clamp() */
  font-size: clamp(18px, 2vw, 24px)!important; /* Écrase la valeur précédente si clamp() est supporté */
  line-height:1.4em;
  text-transform:none!important;
}

.norm, .norm h1, .norm h2{
	font-size:1em;
}

.small {
    font-size: 13px;
	line-height:1.4em;
}

.serif, .serif h1, .serif h2 {
	font-family: 'Rockhill Sans Rough';
}


.justify, .wpb_text_column.wpb_content_element.justifytext{text-align:justify !important;}

.uppercase {
	text-transform: uppercase;
	font-weight:400!important;
}

.interligne {
    line-height: 1.75em;
}


/* Couleur selection texte */

*::selection {
    background:#000000;
    color:#ffffff;
}

*::-moz-selection {
    background:#000000;
    color:#ffffff;
}

*::-webkit-selection {
    background:#000000;
    color:#ffffff;
}

/* Supprime l'espace par défaut du divider */
.divider-border.completed {
    margin: 0px!important;
}


/* Font classes */
.uppercase {text-transform:uppercase;font-weight:inherit;}
.justify {text-align:justify;}




/* Contact form - 2 colonnes */

#formulaire-responsive {
/*	max-width:600px -- à modifier en fonction de la largeur désirée --*/;
        width:100%;
}
.rang-form {
	width: 100%;
}
.demi-colonne, .colonne {
	float: left;
	position: relative;
	padding: 0.65rem;
	width:100%;
	-webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

/**---------------- Media query ----------------**/
@media only screen and (min-width: 48em) { 
	.demi-colonne {
		width: 50%;
	}
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
	width: 100%;
	padding: 8px;
	border: 1px solid #000;
    color:black!important;
	border-radius: 0px
	
}
.wpcf7 input[type="text"]:focus{
	background: #fff;
}

input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=search], input[type=date], textarea{
    background-color:white;
    color:black!important;

}


/*Liens animés*/

.linkanim, .linkanimwhite, .linkanimblue
{
    line-height:1.6;
}


.linkanim a, .linkanimblue a
{
   color:#9ea892;
   border-bottom:1px solid;
   transition:all ease-in 0.1s;

}

.linkanimwhite a
{
   color:white;
   border-bottom:1px solid;

}




.linkanim a:hover, .linkanimwhite a:hover, .linkanimblue a:hover
{
    opacity:0.6;
}

.wpb_text_column a, p a, .nectar-fancy-box .inner a, .nectar-fancy-ul a, .nectar_team_member_overlay .team-desc a, .main-content > .row > h1 a, .main-content > .row > h2 a, .main-content > .row > h3 a, .main-content > .row > h4 a, .main-content > .row > h5 a, .main-content > .row > h6 a, .wp-block-quote a {
    text-decoration: none;
}

/*navigation*/
#top nav>ul>li[class*=button_bordered]>a:before {
    border-color: rgba(0,0,0,1);
}

#header-outer.transparent #top nav>ul>li[class*=button_bordered]>a:before, #top nav>ul>li[class*=button_bordered]>a:before {
	border: 1px solid;}

/*Blog*/
.single-post h2 {
    font-family: 'Rockhill Sans Rough'!important;
    font-size: 24px;
	line-height:1.2;
    padding-bottom: 20px;
	padding-top: 30px;
color:#7c8a73;
}

body[data-ext-responsive=true].single-post .container-wrap.no-sidebar .post-area{
	max-width:1400px!important;
}

/*Shop*/

.single-product div.product h1.product_title, .nectar-shop-header .page-title {
	font-size: clamp(32px, 2.8vw, 58px); 
    line-height: 1.2!important;
}

.woocommerce-product-details__short-description a {
    border-bottom: 1px solid;
	transition:all ease-in 0.1s;
}


.woocommerce-product-details__short-description a:hover {
    opacity:0.6;
}

a.toggle-heading {
    font-size: 22px!important;
}

body #page-header-bg h1, html body .row .col.section-title h1, .nectar-box-roll .overlaid-content h1, .featured-media-under-header h1 {
    font-family: 'Rockhill Sans Rough';
    font-size: clamp(40px, 3.5vw, 80px);
}

.woocommerce.archive #ajax-content-wrap .container-wrap {
    padding-top: 0px;
}

.woocommerce.archive #page-header-bg {
    padding: 7% 0 5% 0!important;
}

.product .badge-out-of-stock {
    position: absolute!important;
    top: 10px!important;
    right: 10px!important;
    background: rgba(255, 107, 51, 0.8)!important; /* rouge léger transparent */
    backdrop-filter: blur(2px)!important;
    color: #fff!important;
    padding: 0px 10px!important;
    font-size: 12px!important;
    font-weight: 600!important;
    border-radius: 6px!important;
    z-index: 15!important;
    pointer-events: none!important; /* évite les bugs de hover sur certains themes */
}

