/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
div.mpwem_container {
  max-width: none !important;
  width: 100%; 
}
div.default_theme {
	max-width:1320px;
	margin: 0 auto;
}

div.taxonomy-ilae {
	color: white;
}

.mep-default-content.ilae {
  width: calc(100% - 400px);
  padding: 0 20px 0 0;
}

div.mpwem_location_sidebar {
	display:none;
}

.mep-default-sidebar.ilae {
  width: 400px;
}
@media only screen and (max-width: 1199px) {
  .mep-default-content.ilae {
    width: calc(100% - 350px);
  }
	.mep-default-sidebar.ilae {
	  width: 350px;
	}
}
@media only screen and (max-width: 991px) {
  .mep-default-content.ilae {
    width: calc(100% - 250px);
  }
	.mep-default-sidebar.ilae {
	  width: 250px;
	}
}
@media only screen and (max-width: 767px) {
  .mep-default-content.ilae {
    width: 100%;
    margin: 0;
    padding: 0;
  }
	.mep-default-sidebar.ilae {
	  width: 100%;
	}
}


 h1.mpwem_tile {
	font-size:42px !important;
	 color: white !important;
	  overflow-wrap: break-word;
}


.mep-events-cats-list .mep-cat-control {
	 transition: background 0.3s ease-in-out, color 0.3s ease-in-out; 
}

button.mep-cat-control {
  border: 0px solid var(--color_theme);
  background-color: var(--color_7); 
}

 button.mep-cat-control:hover {
  border: 0px solid var(--color_theme);
  background-color: var(--color_theme);
}

.pagination-sec a { 
	background:var(--color_theme)!important;
}

/* ========================================
   FIX CRITIQUE - CONTENEUR FLEX
   ======================================== */
.mage_grid_box {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -15px !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Conteneur parent */
.mep_event_list,
.mep-events-wrapper {
    width: 100%;
}
.mep-events-wrapper, div.mpwem_wrapper {
	padding: 0px !important;
}

.ilae-cat {
		min-height:500px;
		padding:200px 10px 20px 10px;
	}

.mep_cat-details.default_theme h2 {
	color: white;
}
	
	div.mep_list_thumb.mpwem_style, div.mep_list_thumb.mpwem_style div {
		position: relative;
		width: 100%;
		padding-bottom: 100%; 
		background-size: cover;
		border-radius:0px;
		}
	
	 div.mep-event-list-loop 
	{
		border-radius:0px;
	}
    .woocommerce-Price-amount.amount::after, .mpwem_total::after {
        content: " HT";
    }

/* ------------------------------------
 *          Home Facebook
 * ------------------------------------*/

[id=remontee_rs] {
  position: relative;
  padding-top: 10em;
}
[id=remontee_rs]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: block;
}
[id=remontee_rs] div.powrMark,  .socialFeed div.powrMark {
	display:none !important;
}

/* ------------------------------------
 *   Zones dépliables single formation 
 * -------------------------------------*/

.accordion {
    font-family: var(--global-body-font-family);
    max-width: 600px;
  }

  .accordion-item {
    border-bottom: 1px solid #ddd;
  }

  .accordion-toggle {
    display: none;
  }

  .accordion-label, .public, .horaires {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    cursor: pointer;
    font-weight: bold;
    color: #333;/*var(--color_theme); */
    font-size: 15px;
  }

  /* Flèche */
  .accordion-label::before {
    content: "›";
    font-size: 20px;
    color: var(--color_theme);
    transition: transform 0.2s ease;
    display: inline-block;
    line-height: 1;
  }

	/* Survol : label orange */
	.accordion-label:hover {
	  color: var(--color_theme);
	}

	/* Ouvert : label orange */
	.accordion-toggle:checked + .accordion-label {
	  color: var(--color_theme);
	}

  /* Rotation quand ouvert */
  .accordion-toggle:checked + .accordion-label::before {
    transform: rotate(90deg);
  }

  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #333;
    font-size: 14px;
    padding-left: 24px;
  }

  .accordion-toggle:checked ~ .accordion-content {
    max-height: 200px;
    padding-bottom: 12px;
  }

 div.infos_contact, div.intro-formation {
  padding: 15px;
  /*border: 8px solid var(--global-palette-highlight);*/
  background: #FFF;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin: 15px auto;
}
div.intro-formation { 
	font-size: 16px;
}

.single-mep_events .mep-list-footer .acompte {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 10px !important;
}

 .mpwem_style button, h5, .widgets_title {
	text-transform: none;
}

.mage .mep-default-sidebar .df-sidebar-part, .mage button, .mpwem_registration_area .date-time-header,.mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type, .mpwem_registration_area .mpwem_booking_panel .mpwem_ex_service, div.mpwem_form_submit_area {
	border-radius:0px !important;
}

/* BOUTONS PROGRAMME */

.btn, .wpcf7-submit {
  display: inline-block;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  color: #FFF;
  min-width: 190px;
  padding: 15px 30px;
  transition: background 0.3s ease-in-out;
  cursor: pointer;
}

.boutons .btn {
  min-height: 50px;
  padding: 15px;
}

.btn.btn_ilae {
  background: var(--global-palette-highlight);
}

.boutons .btn_programme {
  display: inline-block;
  vertical-align: top;
  min-height: 50px;
  background: #000;
  font-weight: 600;
  color: #FFF;
  padding: 12px 20px 12px 10px;
  transition: background 0.3s ease-in-out;
  margin-right: 15px;
}
.boutons .btn_programme span {
  display: inline-block;
  vertical-align: middle;
}


/* -----------------------------------------------------------------------*/
/*           HAUT DE PAGE FORMATION SINGLE
 * -----------------------------------------------------------------------*/

[id=haut_de_page] {
	background-color: var(--global-palette3);
    background-image: url('https://dev2.poweb85.fr/wp-content/uploads/2026/02/portrait-2026-scaled.png');
    background-size: contain;
    background-position: 100% 50%;
    background-attachment: scroll;
    background-repeat: no-repeat;
  	position: relative;
	width:100%;
	min-height: 535px;
	padding-top:200px;
	padding-bottom: 150px;
}

[id=haut_de_page] div.default_theme {
	padding:10px;
	padding-right:30%;
}


#haut_de_page .mpwem_style h2 {
	color:var(--global-palette-highlight)!important;
}

@media only screen and (max-width: 767px) {
  [id="haut_de_page"] {
    min-height: 395px;
  }
  [id="haut_de_page"] div.default_theme {
    padding-right: 10px;
  }
  div.three_column {
 	width: calc(50% - 15px)!important;
	margin: 5px;
  }
}
@media only screen and (max-width: 500px) {
  div.two_column, div.three_column, div.four_column {
    width: 100%;
    margin: 5px;
  }
}
.mep-default-content {
	z-index:10;
	margin-top:-80px;
	margin-bottom:80px;
}

.mpwem_slider_area div.post_thumb {
	background:none !important;
}
.mpwem_slider_area div.post_thumb img {
	right:0;
	border-radius:0;
	width:auto !important;
	border: 8px solid white;
	object-fit: contain !important;
}

/*****************************************************
         BOUTONS HEADER FORMATION SINGLE
******************************************************/

.hero-badges {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* responsive */
  margin-top: 25px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background-color: #f2f4f7; /* gris clair élégant */
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #1c2a39; /* bleu très foncé */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.bleu, div.default_theme h2.bleu  {
  color:var(--global-palette-highlight);
}
