/*
Theme Name: Ampela Child
Theme URI: https://demo4.drfuri.com/razzi/
Author: DrFuri
Author URI: http://drfuri.com
Description: Ampela Child Theme.
Version: 1.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: razzi
Domain Path: /lang/
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: ampela
*/
/**@import url('https://fonts.cdnfonts.com/css/high-summit');**/
@font-face {
    font-family: 'High Summit';
    font-style: normal;
    font-weight: 400;
    src: local('High Summit'), url('fonts/High Summit.woff') format('woff');
}
body {
	font-family: 'Lora', sans-serif;
}
h1, h2, h3, h4, h5, h6 { 
	/*font-family: 'High Summit', sans-serif !important;*/
}
h6, h6 a {
    font-size: 40px;
	color: #181834;
}
.main-navigation a {
	color: #181834 !important;
}
div.menu-item-mega a,
ul.sub-menu li.txttransparent a { 
	/*color: transparent !important;*/
}

.menu-item-mega a {
  display: flex;
  flex-direction: column;
  align-items: center; /* optionnel : pour centrer le texte */
  text-decoration: none;
}
.mega-content { display: none !important }

.menu-item-mega img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 8px; /* espace entre l’image et le texte */
}

.menu-item-mega a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.menu-item-mega a img {
  display: block;
}

/* MEGA MENU*/

.menu-item-mega a {
  /*display: inline-block;*/
  white-space: break-spaces !important;
  position: relative;
  text-align: center;
  font-size: 14px !important;
  padding-bottom: 4px;
  line-height: 1.2;
}

/* L'image ne participe pas à la largeur */
.menu-item-mega a img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* On fait apparaître le texte comme un bloc à part */
.menu-item-mega a {
  white-space: normal;
}

/* Ligne sous le texte */
.menu-item-mega a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background-color: #000;
  transition: 0.3s ease;
  opacity: 0;
}

/* Survol : ligne animée */
.menu-item-mega a:hover::after {
  width: 100%;
  opacity: 1;
}


/* FIN MEGA MENU */


/*#site-footer .footer-widgets-area-1 .wp-block-heading {
	color: #181834 !important;
	font-family: 'High Summit', sans-serif !important;
	font-size: 60px;
    margin-top: -20px;
}*/

/** nous contacter **/
body.page-id-162 #content{ 
	padding-top: 0px;
    padding-bottom: 0px;
}

.main-navigation ul ul {
	border-top: 1px solid #999999;
	margin-top: 1px !important;

}

.main-navigation li.is-mega-menu.align-center .dropdown-submenu {
	left: 0 !important;
	width: 100vw !important;
}

.main-navigation li.is-mega-menu .mega-menu-content {
    width: 30%;
    display: flex;
    justify-content: center;
    text-align: center;
}

.main-navigation li.is-mega-menu.align-center:hover > ul {
    transform: translateX(-64.5%) scaleX(1) !important;
	display: flex;
    justify-content: center;
}

.main-navigation li.is-mega-menu .menu-item-mega {
    margin-bottom: 0px;
    text-transform: uppercase !important;
    font-size: 13px;
}

.mnunivers .row-flex {
    flex-wrap: nowrap;
}

.main-navigation li.is-mega-menu .menu-item-mega ul {
    padding: 0;
    position: absolute;
    left: 100%;
    transform: uppercase;
    opacity: 1;
    right: 0;
}
div.menu-item-mega li.clr-blck a{
    display: block;
    text-align: left !important;
}

#bton {
	
}

.widget-title { 
	display: none;
}
.site-footer .socials-menu li a:hover, .site-footer .menu li a:hover, .site-footer a:hover {
	color:#0B3A32 !important;
}

input[type=submit] {
	background-color: transparent !important;
	color: #181834 !important;
}

input[type="submit"] {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0px !important;
    outline: none;
    transition: background-size 0.4s ease-in-out;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-position: bottom left;
    background-repeat: no-repeat;
}

input[type="submit"]:hover {
    background-size: 100% 1px; /* Étend le soulignement */
}

#menu-une-question a:before {
    content: '';
    height: 1px;
    width: 100%;
    background-color: #D5B75C;
    position: absolute;
    left: 0;
    bottom: -2px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

#menu-une-question a:hover:before {
    opacity: 1;
}


#menu-une-question a:after {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px !important;
    background-color: #D5B75C;
    opacity: 0.2;
}

.footer-payments ul.payments {
	display: flex !important;
}

.footer-payments ul.payments li{
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (min-width: 1024px) {
	.footer-payments ul.payments li:last-child{
		margin-left: 10px;
	}
}

.site-header .razzi-header-container {
    position: static !important;
}

.main-navigation li.is-mega-menu {
    position: static !important;
}

.main-navigation li.is-mega-menu.align-center:hover > ul {
    transform: none !important;
    display: flex;
    justify-content: center;
    width: 100% !important;
	margin-top: -10px !important;
}

/* .site-header .razzi-header-container { */
	/* width: 100%; */
/* } */
/* .main-navigation li.is-mega-menu { */
    /* position: static !important; */
/* } */
/* .main-navigation li.mnunivers.is-mega-menu.align-center:hover > ul { */
    /* transform: none !important; */
    /* width: 100%; */
/* } */



#block-17 h4{
	margin-bottom: 5px;
    margin-top: 43px;
}
/* fin */

a:after {
    content: '';
    position: absolute;
    bottom: -2px !important;
    left: 0;
    right: 0;
    width: 0;
    height: 1px;
    background-color: #000 !important;
    transition: .5s;
    opacity: 0;
}

div a:hover:after{
	opacity: 1;
    width: 100%;
}

div a:has(img):hover::after {
  opacity: 0; /* Ne rien faire ou appliquer un autre style si l'a contient une image */
  width: 0;
}

.site-header .logo .logo-image {
/*    padding: 35px;
    padding-left: 0; */
	width: 180px;
}

@media (min-width: 992px) {
	.menu-item-has-children .dropdown-toggle {
		pointer-events: none !important;
		cursor: default;
	}
}

input::placeholder, textarea::placeholder {
color: #B0B0B0;
}


body.page-id-25 h3.title_post {
    font-family: "Lora", Sans-serif !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

body.page-id-25 h1.title_post a{
	text-transform: none !important;
	letter-spacing: 5px !important;
	color: #181834 !important;
}


a.decouvre{
    font-family: "Lora", Sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 5px !important;
    text-underline-offset: 5px;
	  position: relative;
	  display: inline-block;
	  color: #000;
  text-decoration: none;
}
a.decouvre::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background-color: #000;
  transition: 0.5s ease;
  opacity: 0;
}

a.decouvre:hover::after {
  width: 100%; /* ou 50% si tu veux une ligne plus courte */
  opacity: 1 !important;
}


.blogrevolution-bp-pagination-normal a {
	text-transform: none !important;
}
div a.decouvre:hover:after,
.blogrevolution-bp-pagination-normal a:hover:after{
	opacity: 0;
    width: 100%;
}

.style-style1 .box_post{
	/*padding: 30px;*/
}

.header-v7 .main-navigation .nav-menu:hover li.active > a:after {
    opacity: 0;
}
.header-v7 .main-navigation .nav-menu li.active:hover > a:after {
    opacity: 1;
}

.mc4wp-form-fields input[type="email"] {
    border: none;
    border-bottom: 1px solid #181834;
    outline: none;
    background: transparent;
}

.mc4wp-form-fields input[type="email"]:focus {
    border-bottom: 2px solid #0b3a32;
}


@media (min-width: 992px) {
    .mnunivers .col-flex-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
	
	.blogrevolution .col-md-6{
		padding: 5px;
	}
	
	.blogrevolution .col-md-6:nth-child(odd) {
		padding-right: 15px;
	}

	.blogrevolution .col-md-6:nth-child(even) {
		padding-left: 15px;
	}
	
	.style-style1 .box_post .text_post {
		padding: 0 40px 0 40px;
	}
	
	/* NEWSLETTER */
	#mc4wp-form-2 #email {
		width: 518px;
		margin-left: 48px;
	}
	.foot-link-mobile { display: none !important }
}

@media (max-width: 991px) { 
	/* NEWSLETTER */
	#mc4wp-form-1 #email {
		width: 80%;
		margin-left: 0px;
	}
	.widget .mc4wp-form p:last-of-type {
		margin-bottom: 0;
		display: flex;
	}
	.widget .mc4wp-form input{
		min-width: 0;
		margin-top: 0px;
	}
	.foot-link-desktop { display: none !important }
	
	.site-footer .footer-links {
		--rz-footer-links-bottom-spacing: 0px !important;
		--rz-footer-links-top-spacing: 40px;
	}
	
	.site-header .logo .logo-image {
		width: 115px;
	}
}

@media only screen and (device-width: 1280px) and (device-height: 800px) and (-webkit-device-pixel-ratio: 1) {
	.site-header .logo .logo-image {
		width: 130px;
	}
	.col-flex-xs-12 {
		flex: 0 0 33%;
		max-width: 100%;
	}
}