/*
Theme Name: Ratio Child
Theme URI: http://ratio.edge-themes.com/
Description: A child theme of Ratio Theme
Author: Edge Themes
Author URI: http://themeforest.net/user/edge-themes
Version: 1.0.0
Template: ratio
*/
/*@import url("../ratio/style.css");*/

@font-face {
    font-family: 'Molitor';
    src: url('/wp-content/themes/ratio-child/fonts/Molitor-Text-Regular-205TF.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Molitor';
    src: url('/wp-content/themes/ratio-child/fonts/Molitor-Text-Bold-205TF.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Molitor';
    src: url('/wp-content/themes/ratio-child/fonts/Molitor-Text-Italic-205TF.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Molitor';
    src: url('/wp-content/themes/ratio-child/fonts/Molitor-Text-BoldItalic-205TF.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Bon Vivant';
    src: url('/wp-content/themes/ratio-child/fonts/BonVivant.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


@media only screen and (min-width: 768px) {
.encadre_gris{
	max-width: 45%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px !important;
	}}
@media only screen and (max-width: 768px) {
  :has(> .encadre_gris) {
    display: flex;
    flex-direction: column;
  }

  .encadre_gris {
    height: auto ;
	  text-align: center;
	  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	  padding: 20px !important;
	  margin: auto;
	  width: 80%;
	  margin-bottom: 30px;
  }
}


.encadre {
  background-color: #fff; /* Couleur de fond blanche */
  padding: 20px; /* Espace interne autour du texte */
  border-radius: 10px; /* Bords arrondis */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre visible sur les 4 côtés */
  text-align: center; /* Centrer le texte */
  font-family: 'Arial', sans-serif; /* Police du texte */
  font-size: 16px; /* Taille du texte */
  line-height: 1.6; /* Hauteur de ligne pour lisibilité */
	    margin-top: 20px;
    margin-bottom: 20px !important;
}

.encadre_item {
	    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;

}


.social-remote {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: rgba(239, 198, 23, 1) !important;
  background: rgba(239, 198, 23, 1) !important;
  padding: 10px;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 45px;
  height: 210px;
  z-index: 9999;
	justify-content: space-evenly;
}

.social-icon {
  display: block;
  width: 40px;
  height: 40px;
}

.social-icon img {
  width: 100%;
  height: 100%;
}


h1, h5, h3,p, h6{
    font-family: 'Molitor', Arial, sans-serif !important;
}
h2, h4{
 font-family: 'Bon Vivant', Arial, sans-serif !important;
}



.edgtf-content > .edgtf-content-inner > .edgtf-full-width > .edgtf-full-width-inner {
	padding: 0px !important;
}

.edgtf-fullscreen-menu-opener-inner > .edgtf-line {
	height: 5px !important;
    width: 50px !important;
	margin: 5px !important;
	position: relative;
    display: inline-block;
}
	


.edgtf-fullscreen-menu-opener-inner > .edgtf-line::before{
	height: 5px !important;
    width: 50px !important;
	top:-10px;
}
.edgtf-fullscreen-menu-opener-inner > .edgtf-line::after {
    height: 5px !important;
    width: 50px !important;
	top:10px;
}

.edgtf-footer-top-holder{
	background-color: white !important;
}

.edgtf-footer-bottom-holder{
	    background-color: #efc617 !important;
}


.edgtf-footer-bottom-holder a {
		color: black;
	}

.edgtf-footer-bottom-holder p {
		color: black !important;
	}

.edgtf-vertical-align-containers{
	padding: 0px !important;
}

a.edgtf-fullscreen-menu-opener {
	width: 60px !important;
	height: 50px !important;
}
@media only screen and (max-width: 480px) {
    h3 {
        font-size: 22px;
        line-height: 28px;
	}
	h1{
		font-size: 30px;
        line-height: 38px;
	}
	h2{
		font-size: 25px;
        line-height: 38px;
	}
	h4{
		font-size: 20px;
        line-height: 28px;
	}
	h5{
		font-size: 18px;
        line-height: 28px;
	}
	h6{
		font-size: 15px;
        line-height: 18px;
	}

}

.edgtf-post-content{
	margin-top:110px;
}
.edgtf-widget-title{
	font-family: 'Molitor', Arial, sans-serif !important;
	font-size:35px;
	
}

h4.edgtf-widget-title  {
	padding-bottom:25px;
}
.edgtf-sidebar .edgtf-widget-title {
    padding: 0 9px 7px;
    margin-bottom: 19px;
    border-bottom: 6px solid #efc617;
	
}
.edgtf-blog-holder article .edgtf-post-title{
	font-family: 'Molitor', Arial, sans-serif !important;
	font-size:45px;
	line-height:52px;
	
}
.edgtf-post-info-category, .edgtf-post-info-date {
    font-family: 'Molitor';
    font-weight: bold;
    font-style: normal;
    font-size: 16px;
}


.vc_separator h2, h4 {
    font-size:48px;
    margin-right:15px;
    margin-left:15px;
}


@media only screen and (max-width: 480px) {
    .edgtf-footer-column-1 p font{
        --min-fs: 1;
        --max-fs: 1.5;
        --min-vw: 20;
        --max-vw: 45;
        --min-fs-rem: var(--min-fs)* 1rem;
        --max-fs-rem: var(--max-fs)* 1rem;
        --min-vw-rem: var(--min-vw)* 1rem;
        --slope: (var(--max-fs) - var(--min-fs))*(100vw - var(--min-vw-rem)) /(var(--max-vw) - var(--min-vw));
        font-size: clamp(var(--min-fs-rem), var(--min-fs-rem) + var(--slope), var(--max-fs-rem));
        white-space: nowrap;
    }
	.formbrevo{
		 width: 90%!important; max-width: 400px!important; margin: 0 auto!important; 
	}
}
h3.edgtf-post-title {
	font-size: 28px !important;
    line-height: 32px !important;
}
.edgtf-separator{
	border-width: 5px !important;
}

@media only screen and (max-width: 480px) { 
	h1.edgtf-title-subtitle-holder{
	font-size: 25px !important;
    line-height: 29px !important;
	
	}
}

    .edgtf-portfolio-list-holder-outer.edgtf-ptf-pinterest-with-space article .edgtf-item-image-holder a img, .edgtf-portfolio-list-holder-outer.edgtf-ptf-standard article .edgtf-item-image-holder a img{
        -webkit-backface-visibility: visible !important;
    }
body.single-post .edgtf-post-content p,
body.single-post .edgtf-post-content li,
body.single-post .edgtf-post-content span,
body.single-post .edgtf-post-content div {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px;
    line-height: 1.2em;
  
  
}
body.single-post .edgtf-post-content strong,
body.single-post .edgtf-post-content b,
body.single-post .edgtf-post-content * strong,
body.single-post .edgtf-post-content * b {
    font-weight: 700 !important;
    font-family: 'Open Sans', sans-serif !important;
}
body.postid-11971 h3.edgtf-post-title {
    font-family: 'Molitor', Arial, sans-serif !important;
    font-size: 28px !important;
}

  @media (min-width: 768px) {
    .team-flex {
      flex-direction: row !important;
    }
  }

@media (max-width: 768px) {
  .edgtf-content .edgtf-content-inner > .edgtf-container > .edgtf-container-inner,
  .edgtf-content .edgtf-content-inner > .edgtf-full-width > .edgtf-full-width-inner {
    padding: 0px !important; }
	 .edgtf-post-content {
    margin-top: 50px !important;}}
body.single-post .edgtf-post-content {
    margin-top: 0 !important;
}


@media (max-width: 767px) {
  .edgtf-title.edgtf-standard-type.edgtf-content-center-alignment.edgtf-title-medium-text-size.edgtf-animation-no.edgtf-title-with-border.edgtf-title-in-grid {
    height: 150px !important;
    min-height: 150px !important;
  }
}

.lang-item-first img{
    padding-top:10px;
}

.lang-item-first img[alt="Français"] {
    width: 40px !important;
    height: 27px !important;
    content:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUoAAADcAgMAAABrDwB8AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEUAJlT////OESaBoDijAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+kHCgsCG5QEmBEAAABiSURBVHja7cwxAQAgDAOwPpOIP25UoqDfzkRAkm5O97obp9PpdDqdTqfT6XQ6nU6n0+l0Op1Op9PpdDqdTqfT6XQ6nU6n0+l0Op1Op9PpdDqdTqfT6XQ6nU6n0+l0Op2r5wfNH6vymy6jgwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyNS0wNy0xMFQxMTowMjoyNyswMDowMEljAAcAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjUtMDctMTBUMTE6MDI6MjcrMDA6MDA4Pri7AAAAAElFTkSuQmCC)
}

.lang-item-first img[alt="English"] {
    width: 40px !important;
    height: 27px !important;
    content:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUoAAAClCAMAAAANkkTUAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAUVBMVEXVR17wv8f///+7xNc2T4gBIWmAkLTjh5bIEC4vSYSqtc3+/v777O/LHTnWS2LxxMv66ezhfIzKGTayvNI0TYfd4uvV2ubyx87XUGbgd4j66OtAFNGTAAAAAWJLR0QCZgt8ZAAAAAd0SU1FB+gIFBMXO3MgyN0AAARLSURBVHja7d1bV9swEATgwW1I2rTckl7//w8tPVBCqV0saWd3wpl94PAAluZDMb7IFnAxvV7v3m/odXlqbrt7pbann73k9+zDx/1Tc5+2n+e7hAv8/iKBqUq5EnKa8OebckxNytWQj5QSmIqUDZBPlAKYepRNkM8oyzHVKBsh/6IsxtSibIZ8QVmKqUTZAfkPZSGmDmUX5Azlbnd1XYKpQvkc8ub2br4Dc0ZYJ56AqUHZOSIXKUswFSgHIO8pW4YwFbOesvuj/UjZrk/CrKYcGpEPlNMY5v5wfAuUx8Mg5APlJDEyKymHR+SJUgGzjjIE8kRZj1lFGQR5T3kI2tDwPrOG8hiXH3F/lcGRWUEZmh3RGzwjyuDcYGz0LCjDM4O1YXFKQl4wNy5LSckKdgOClKScyGhEipKWEVkNiVAS8yGzsXJKajZkN1hISc6FikZLKOmZUNVwMmVCHlQ2nkaZkgXVHUigTMoBhU5QKdMyQKUjJMrEwQCVjweFMnUXBZWdNoEy+R8nVA4lwinTD+egcoAbTFlwkrGWkt+5SMqSU9/1lOwOxlEWXZBpoeR2Moqy7DJhGyWzozGUhRevWyl5nY2gLL2l0k7J6vA4ZfGNvh5KTqdHKctvP/dRMjo+RikwKaKXMr7zI5QSU3X6KaMD9FOKTCAboYwN0UupMhNvkDIS80sf5VcRyHHKSMwuSplZywGUBMwOSoEHEyIowzGbKSWePYqhDMZspBR5iAuTYHXtK8vLlKY0pSlNaUpTmtKUpjSlKd8o5c4VVKY0pSlN6TKlKU1pSpcpTWlKlylNaUpTukxpSlO6TGlKU5rSZUpTmtJlSlOa0pQuU5rSlK4XlJ716wnUpjSlKU1pSlOa0pSmNKUpTflfSsJ7hhbr2/d5mbsfPymUq9qLe8+QHmTkqMzEhB5k7Ac8DxN6kNH7yixMyECOv7+yGBMikDFvVS3FhAhk1Lt+CzEhAhn3BuoyTIhARr4XvQgTIpCxb+svwYQIZPQaEgWYEIGMX9kkHRMikIz1dpIxIQLJWQUqFRMikKy1yRIxIQLJWzEvDRMikMx1HJMwIQLJXV00BRMikOw1bxMwIQLJX4mZjgkRyIz1wcmYUOlIyqr11AxQ+XjQKNNyQGWnTaRMygKVQwkqZUoeqBzgkikTMkHltItOSc8FlYsBCZTkbFC5RJVCSc0HlQunSZTEjFC5nJ9GScsJlZtMiZSkrFC59ZlKSckLlRvyyZSEzFCZJpJOGZ4bKpOXCiiDMXEI2tj+cBybnlhBudkc4/JDYkTWUQaOTIhA1lGGYULmCYM6yiBMlO8jFShD9plQeYComDJgZC5SXl8t/NLtDQOynnIl5rILJEakBuXgyIQIpAblECZEIFUoBzAhAqlD2Y0JEUglyk5MiEBqUXZhQgRSjbIDEyKQepTNmBCBVKRsxIQIpCZlEyZEIFUpGzCRfq59bpSrz81/ATjUdi6BscJgAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDI0LTA4LTIwVDE5OjIzOjU4KzAwOjAwX27R7wAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyNC0wOC0yMFQxOToyMzo1OCswMDowMC4zaVMAAAAASUVORK5CYII=)
}
/* 
.lang-item-first span{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
} */


.edgtf-fullscreen-menu ul {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* Don't force each menu item to full width */
.edgtf-fullscreen-menu ul > li {
    flex: 1 1 100%;
}

/* Language items: abbreviate labels and show a pipe between them */
.edgtf-fullscreen-menu ul > li.lang-item {
}

/* Place the language pair to the far right: the first .lang-item will absorb available space */
.edgtf-fullscreen-menu ul > li.lang-item:first-of-type {
    margin-left: auto;
}

/* Pipe separator before a language item that follows another language item */
.edgtf-fullscreen-menu ul > li.lang-item + li.lang-item::before {
    content: "|";
    margin-right: 14px;
    color: inherit;
    align-self: center;
}

/* Hide the original long label text and replace with short codes */
.edgtf-fullscreen-menu ul > li.lang-item a span {
    display: inline-block;
    font-size: 0; /* hide original text */
    line-height: 1;
}

.edgtf-fullscreen-menu ul > li.lang-item.lang-item-fr{
    flex: 1 1 30%;
    display: flex;
    justify-content: right;
    padding-right: 10px;
}
.edgtf-fullscreen-menu ul > li.lang-item.lang-item-fr a span::after {
    content: "FR";
    font-size: 16px;
    font-family: inherit;
    color: inherit;
    display: inline-block;
    
}

.edgtf-fullscreen-menu ul > li.lang-item.lang-item-en{
    flex: 1 1 30%;
    display: flex;
    justify-content: left;
    margin-right: 25px;
}

.edgtf-fullscreen-menu ul > li.lang-item.lang-item-en a span::after {
    content: "EN";
    font-size: 16px;
    font-family: inherit;
    color: inherit;
    display: inline-block;
}

/* Ensure icons (flags) still display if present */
.edgtf-fullscreen-menu ul > li.lang-item img { vertical-align: middle; }



.edgtf-mobile-nav ul > li.lang-item.lang-item-fr a span::after {
    content: "FR";
    font-size: 16px;
    font-family: inherit;
    color: inherit;
    display: inline-block;
    
}
.edgtf-mobile-nav ul > li.lang-item.lang-item-en a span::after {
    content: "EN";
    font-size: 16px;
    font-family: inherit;
    color: inherit;
    display: inline-block;
}

.edgtf-mobile-nav ul > li.lang-item a span {
    display: inline-block;
    font-size: 0; /* hide original text */
    line-height: 1;
}

/* Ensure icons (flags) still display if present */
.edgtf-mobile-nav ul > li.lang-item img { vertical-align: middle; }