/*
Theme Name: Yphen Theme
Theme URI: https://oceanwp.org/
Description: Yphen OceanWP WordPress child theme
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

@font-face {
  font-family: "Neogrey Medium";
  src: local("Neogrey Medium"),
    url("/wp-content/themes/yphen/assets/fonts/neogrey/NeogreyMedium.otf") format("opentype") 
}

/* Parent stylesheet should be loaded from functions.php not using @import */
@media screen and (max-width:924px) {
	.marges {
		padding: 0 5px;
	}
}

@media screen and (min-width:925px) {
	.marges {
		padding: 0 10%;
	}
}
h2 {
/*	font-family: "Neogrey Medium", "Trebuchet MS", sans-serif !important;*/
}
h2, h3, h4 {
	font-family: Consolas, monaco, monospace;
}
.premiere h2::first-letter,
h2.premiere::first-letter,
h3.premiere::first-letter {
	color: #6C2876;
	font-size: 150%;
}

/* bordure haute du footer en ligne blanche */
footer, #footer-bottom { border-top : solid white 1px; }
/* hauteur de la ligne copyright */
#copyright { line-height: 1.5; }

/* Resolve Main Menu Display When Using Boostrap */
/* ul#menu-menu-principal.dropdown-menu.sf-menu { */
#site-navigation-wrap .dropdown-menu {
    display: block !important;
    float: none !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#site-navigation-wrap .dropdown-menu >li >a, #top-bar-content a {
    text-decoration: none !important;
}

/* augmentation de la taille du texte et mise en gras pour les chiffres clés de la page d'accueil */
span.large {
    font-size: 150%;
    font-weight: 600;
}
/* couleur blanche du texte des boutons on hover */
.wp-element-button:hover { color: white; }

/* visibilité des guillemets */
.wp-block-stackable-icon.stk-block-icon.stk-block.stk-ef8d3c1 { opacity: 1 !important; }

/* Bordure autour des cadres, page missions */
#missions-soigner .stk-column-wrapper,
#missions-ameliorer .stk-column-wrapper {
		box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.3) !important;
}
/* cacher les 3 paragraphes sur la page d'accueil */
.wp-block-columns.solutionsnature, .wp-block-columns.environnement, .wp-block-columns.activiteshumaines { display: none; }

@media screen and (max-width:766px) {
	#schema-production-horizontal { display: none; }
	#schema-production-vertical { display: block; }
}

@media screen and (min-width:767px) {
	#schema-production-horizontal { display: block; }
	/* Suppression marge entre images du schema */
	#schema-production-horizontal .stk-column-wrapper.stk-block-column__content.stk-container { margin: 0 !important; }
	#schema-production-vertical { display: none; }
}

}

a.menu-link { text-decoration: none; }

/* Fond blanc dans les zones de saisie du formulaire */
form input[type=text], form input[type=email], form input[type=tel] {
	background-color: #FFFFFF;
}

textarea.form-control {
    font-size: 14px;
}

#top-bar-social i.fab {
	font-size: 20px;
}

/* décaler l'ancre vers le haut pour prendre en compte le menu fixe 
:target:before {
	content:"";
	display:block;
	height:70px;  fixed header height
	margin:-70px 0 0;  negative fixed header height */
}

/* décaler l'ancre vers le haut pour prendre en compte le menu fixe 
:target {
    padding-top: 70px; 
    margin-top: -70px; 
    border: 2px solid black;
}*/

/* décaler l'ancre vers le haut pour prendre en compte le menu fixe */
div#qualite-agronomique-sols.anchor, div#captation-co2.anchor {
	padding-top: 70px !important;
/*	display: block;
  	height: 70px; hauteur du menu 
  	margin-top: -70px;
  	visibility: hidden; */
}

/* tarteaucitron pour RGPD */
/* Personnalisation de la barre */
#tarteaucitronRoot #tarteaucitronAlertBig {
    background: rgba(0,0,0,.8) !important;
    color: #fff;
    font-size: 11px !important;
    padding: 5px 0 !important; /*marge interne: modifiez ou non suivant la taille de la barre souhaitée*/
}
/* Personnalisation du bouton OK */
#tarteaucitronAlertBig #tarteaucitronPersonalize2 {
    background: #3f6342 !important;
    color: #fff;
    font-size: 11px !important;
    padding: 5px 0 !important; /*marge interne: modifiez ou non suivant la taille de la barre souhaitée*/
}
/* Personnalisation du bouton refuser */
#tarteaucitronAlertBig #tarteaucitronAllDenied2 {
    background: #852219;
    color: #fff;
    font-size: 11px;
    padding: 5px 10px; /*marge interne: modifiez ou non suivant la taille de la barre souhaitée*/
}
/* Personnalisation du bouton personnaliser */
#tarteaucitronAlertBig #tarteaucitronCloseAlert {
    background: #d9d9d9;
    color: #fff;
    font-size: 11px;
    padding: 5px 10px; /*marge interne: modifiez ou non suivant la taille de la barre souhaitée*/
}

/* Mise en majuscules de la langue dans le menu */
ul.sub-menu span.wpml-ls-native {
    text-transform: uppercase;
}

/* Limitation de la taille des images des partenaires */
.single-gallery-image img {
    max-width: 120px;
}