/*
 Theme Name:   Unipix Child
 Theme URI:    https://themewant.com/products/wordpress/unipix
 Description:  Unipix Child
 Author:       ReacThemes
 Author URI:   http://reactheme.com
 Template:     unipix
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

body {
	font-family: "Indivisa Regular" !important;
}

body span,
body a,
body sr7-txt,
.program__single--item--title,
.rt-testimonial-author h5 {
	font-family: "Indivisa Semibold" !important;
}

body sr7-txt div,
h1,
h2 {
	font-family: "Indivisa Bold" !important;
}

.elementor-heading-title,
a.menu-link.main-menu-link {
	font-family: "Indivisa Bold" !important;
}

.elementor-15059 .elementor-element.elementor-element-d3e5ca9 .rtmega-menu-container .desktop-menu-area .rtmega-megamenu > .menu-item > .menu-link {
	padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.top-header .e-con-inner{
	padding-top: 8px !important;
    padding-bottom: 8px !important;
}

header img.hfe-site-logo-img {
	  transition: 0.3s;
}

.sticky-header  img.hfe-site-logo-img {
	width:130px !important;
}

.sticky-header .secondary-logo img.hfe-site-logo-img {
	width:60px !important;
}
.sticky-header .third-logo img.hfe-site-logo-img {
	width:90px !important;
}

p {
	margin: 0 0 0px !important ;
}

.elementor-counter .elementor-counter-title{
	text-align: center !important;
	line-height: 1.5 !important;
}

.elementor-3666 .elementor-element.elementor-element-11d0e0a .metform-btn{
	color: #152551 !important;
}
.elementor-3666 .elementor-element.elementor-element-11d0e0a .metform-btn:hover {
    background-color: #fecb05 !important;
    color: #152551 !important;
}

.socials-header .elementor-icon-list-icon {
	background: white !important;
    padding: 8px !important;
    margin: 0 !important;
	transition: 0.3s;
    border-radius: 60px;
}
.elementor-widget.elementor-widget-icon-list .elementor-icon-list-icon svg {
	  margin: 0 !important;
}
.socials-header .elementor-icon-list-icon:hover {
	background: #fecb05 !important;
}

.rt_slider_btn {
	color: #152551 !important;
    border-radius: 8px;
}

.rt_slider_btn:hover {
	color: #fff !important;
}

.elementor-5005 .elementor-element.elementor-element-a0a94bc .react_button {
	border-radius: 8px;
}

/* .video-container #jarallax-container-0 {
	border-radius: 8px;
} */

.rts-event-section-content .single-event::after {
	background: #124E8C;
    border-radius: 8px;
}

.rts-event-section-content .single-event {
    border-radius: 8px;
}

.rts-event-section-content .single-event:hover .single-event-content h5 a,
.rts-event-section-content .single-event:hover .single-event-content-meta {
	color: #fff !important;
}

.rts-event-section-content .single-event-content .single-event-content-meta {
	color: #152551 !important;
}

.rts-tab-style-one.horizontal .button-area .nav-link {
	border-radius: 8px !important;
}

.rts-tab-style-one.horizontal .button-area .nav-link.active {
	background: #124E8C !important;
}

.notice-list ul .single-notice-item .notice-content p a:hover,
.rts-blog-post .single-blog-post .blog-content .post-meta .rt-author a:hover{
	color: #124E8C94 !important;
}

.notce {
    scrollbar-color: #124E8C #F1F1FF !important;
}

.rts-blog-post .single-blog-post {
	border-radius: 8px !important;
    overflow: hidden !important;
}

.elementor-3666 .elementor-element.elementor-element-11d0e0a .metform-btn {
	border-radius: 8px !important;
	padding: 12px 25px !important;
}

.elementor-3666 .elementor-element.elementor-element-7db1653 .mf-input {
    padding: 11px 20px !important;
    border-radius: 8px !important;
}

.footer_blog .rts-blog-post .single-blog-post .blog-thumb {
	border-radius: 4px;
}

.rts-event-section-content .single-event::before {
	background: #ffffff30 !important;	
}

.rts-event-section-content .rts-counter {
	gap: 12px;
    display: flex;
    flex-direction: column;
}

#top-to-bottom i {
	color: #152551 !important;
}

#top-to-bottom:hover {
    background: #152551;
}

#top-to-bottom:hover i{
 	color: #fecb05 !important;
}


.elementor-element-bbf317d {
    position: relative;
}

.elementor-element-bbf317d::after {
    content: "";
    position: absolute;
    background-image: url(/wp-content/uploads/2024/08/star.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 200px;
    right: 20px;
    bottom: 0;
    transform: translateY(50%);
    pointer-events: none;
    z-index: 5;
}

@media (max-width: 1024px) { 
	.elementor-element-bbf317d::after {
		bottom: 45px;
		width: 180px;
    	height: 180px;
	}
}

.elementor-element.elementor-element-4eb8399.e-con-full.e-flex.rt-default-class.e-con.e-parent.e-lazyloaded {
    max-height: 80vh;
}

.parallax-video iframe {
  transform: translateY(var(--scroll-offset));
  transition: transform 0.1s linear;
}

h1.elementor-icon-box-title {
	margin: 0 !important
}

header.sticky-header .elementor-element-840b09a.elementor-hidden-tablet.elementor-hidden-mobile.e-flex.e-con-boxed.rt-default-class.e-con.e-parent.e-lazyloaded {
	border-top: solid 1px #ededed;
}

.p_item.active-yes::before {
    background: #124E8C !important;
}

.program__single--item--list--item .link__list {
	border-radius: 8px;
}

.program__single--item--list--item .link__list:hover {
	color: #152551 !important;
}

.elementor-element-e4e477a .program__single--item {
	border-radius: 0 8px 8px 0;
    overflow: hidden;
}

.elementor-element-196e090 .program__single--item {
	border-radius: 8px 0 0 8px;
    overflow: hidden;
}

.rts-header-after-position .e-con-boxed .e-con-inner {
	padding-top: 250px !important;	
}

.rtmega-menu-area .desktop-menu-area ul.rtmega-megamenu .menu-item-has-children > .sub-menu{
  background: var(--submenu-bg, #124e8cdd) !important;
  border-radius: 8px;
}

/* Default submenu link color (all menus) */
.elementor-element .rtmega-menu-container .desktop-menu-area .rtmega-megamenu
.menu-item ul.sub-menu:not(.rtmegamenu-contents) > .menu-item > .menu-link{
  color:#fff !important;
	transition: 0.3s;
}

.elementor-element .rtmega-menu-container .desktop-menu-area .rtmega-megamenu
.menu-item ul.sub-menu:not(.rtmegamenu-contents) > .menu-item > .menu-link:hover{
  opacity: 0.6;
}

/* ALL submenu levels under top-level item #2 */
.rtmega-menu-area .desktop-menu-area ul.rtmega-megamenu
> .menu-item:nth-child(2)
ul.sub-menu:not(.rtmegamenu-contents)
> .menu-item > .menu-link{
  color:#000 !important;
}

.rtmega-menu-area .desktop-menu-area ul.rtmega-megamenu > .menu-item:nth-child(1){ --submenu-bg:#124e8cdd; }
.rtmega-menu-area .desktop-menu-area ul.rtmega-megamenu > .menu-item:nth-child(2){ --submenu-bg:#fecb05dd; }
.rtmega-menu-area .desktop-menu-area ul.rtmega-megamenu > .menu-item:nth-child(3){ --submenu-bg:#f15922dd; }
.rtmega-menu-area .desktop-menu-area ul.rtmega-megamenu > .menu-item:nth-child(4){ --submenu-bg:#d1232add; }
.rtmega-menu-area .desktop-menu-area ul.rtmega-megamenu > .menu-item:nth-child(5){ --submenu-bg:#8cc63edd; }
.rtmega-menu-area .desktop-menu-area ul.rtmega-megamenu > .menu-item:nth-child(6){ --submenu-bg:#00adeedd; }
.rtmega-menu-area .desktop-menu-area ul.rtmega-megamenu > .menu-item:nth-child(7){ --submenu-bg:#91268fdd; }


.campus__life--single--content{
	max-width: none !important;
}
.campus__life--single {
	height: 100px !important;}

.position-relative {
	position:relative;
}

.absolute-text {
	position:absolute;
	top: 90px;
	right: 0;
    width: 70%;
}

.single-testimonial{
	background: none !important;
}

.menu-text{
	text-transform: none !important;
}

.elementor-10237 .elementor-element.elementor-element-67f759ba::before{
	display: none !important;
}
.elementor-5005 .elementor-element.elementor-element-bbf317d {
    position: relative;
}

.elementor-5005
.elementor-element.elementor-element-bbf317d::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}
.elementor-5005
.elementor-element.elementor-element-bbf317d > * {
    position: relative;
    z-index: 2;
}



.annonces-container .rts-event-section-content .rts-counter {
	flex-direction: row !important;
    flex-wrap: wrap;
	row-gap: 12px !important;
    column-gap: 1% !important;
	justify-content: center;
}

@media (min-width: 991px) {
	.annonces-container .rts-event-section-content .rts-counter .col-lg-6 {
		width: 49% !important;
	}
}

.rtmega-menu-area ul.rtmega-megamenu {
    justify-content: center;
}

@media (max-width: 1600px) {
	
	.rtmega-menu-area ul.rtmega-megamenu > .menu-item {
		padding-left: 0 !important;
    	padding-right: 0 !important;
	}

	 .rtmega-menu-container .desktop-menu-area .rtmega-megamenu .menu-item .menu-link {
		font-size: 14px !important;
	}
	
	 .rtmega-menu-container .desktop-menu-area .rtmega-megamenu .menu-item ul.sub-menu:not(.rtmegamenu-contents) .menu-item {
		padding: 0px 15px 0px 15px !important;
	}
	
	.rtmega-menu-container .desktop-menu-area .rtmega-megamenu .menu-item ul.sub-menu:not(.rtmegamenu-contents):not(.rtmegamenu-contents) {
    	min-width: 200px !important;
    	width: 200px !important;
	}
}


@media (min-width: 768px) {
    .elementor-15059 .elementor-element.elementor-element-41d6fc8 {
        --width: 80% !important;
    }
}





















/* ===== STAR 1 (left side) ===== */
.elementor-element-92e9b3f::after {
  content: "";
  position: absolute;
  background-image: url(/wp-content/uploads/2024/08/star.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 200px;
  height: 150px;
  left: 40px;
  bottom: 0;
  pointer-events: none;
  z-index: 5;

  opacity: 0;
  transform: translateY(85%) scale(0.92);
  clip-path: inset(0 100% 0 0);

  animation: starWipe 4.5s cubic-bezier(.18,.98,.22,1) 0s infinite;
  will-change: transform, opacity, clip-path;
}

/* ===== STAR 2 (right side) ===== */
.elementor-element-bbf317d::after {
  content: "";
  position: absolute;
  background-image: url(/wp-content/uploads/2024/08/star.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 200px;
  height: 200px;
  right: 20px;
  bottom: 0;
  pointer-events: none;
  z-index: 5;

  opacity: 0;
  transform: translateY(85%) scale(0.92);
  clip-path: inset(0 100% 0 0);

  animation: starWipe 4.5s cubic-bezier(.18,.98,.22,1) 0s infinite;
  will-change: transform, opacity, clip-path;
}

/* ===== Shared looping animation ===== */
@keyframes starWipe {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateY(85%) scale(0.92);
  }

  30% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(50%) scale(1);
  }

  /* pause while fully visible */
  65% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(50%) scale(1);
  }

  /* reset smoothly */
  100% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateY(85%) scale(0.92);
  }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  .elementor-element-92e9b3f::after,
  .elementor-element-bbf317d::after {
    animation: none;
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(50%) scale(1);
  }
}

.discipline-container path {
	fill: #152551 !important;
}


@media (max-width: 480px) {
	.elementor-element-bbf317d::after, .elementor-element-92e9b3f::after{
		width:100px !important
	}}
@media (max-width: 1024px) {
    .elementor-5005 .elementor-element.elementor-element-a8947d6 .react-jarallax-img {
        width: 100% !important;
        height: 350px !important;
    }
}


.position-relative-responsive {
	position:relative;
}

.absolute-text-responsive {
	position:absolute;
	width:80%;
	left: 30px;
}
.elementor-15059 .elementor-element.elementor-element-d7c15f9 .rtmega-menu-container .mobile-menu-area .rtmega-menu-mobile-sidebar .rtmega-menu-mobile-close {
    background: #253D7C;
}
.rtmega-menu-area .mobile-menu-area ul.rtmega-megamenu .menu-item.current-menu-item a.menu-link {
    color: #253D7C  !important;
}


.elementor-5005 .elementor-element.elementor-element-9cdb6ae .p_item {
    border-radius: 10px 10px 10px 10px;
    height: 100%;
	display: flex;
    align-items: center;
}

.elementor-element-a8947d6 {
	width:100%;
}

.elementor-widget .elementor-widget-react-video{
	left: calc(50% - 40px);
}

.elementor-element.elementor-element-bbf317d::before{
	margin:0px !important;
}

.elementor-10163 .elementor-element.elementor-element-4d01df39 {
    position: relative;
}

.elementor-10163 .elementor-element.elementor-element-4d01df39::after {
    content: "";
    position: absolute;
    background-image: url(/wp-content/uploads/2024/08/star.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 200px;
    right: 20px;
    bottom: 0;
    transform: translateY(50%);
    pointer-events: none;
    z-index: 5;
	
	 opacity: 0;
  transform: translateY(85%) scale(0.92);
  clip-path: inset(0 100% 0 0);

  animation: starWipe 4.5s cubic-bezier(.18,.98,.22,1) 0s infinite;
  will-change: transform, opacity, clip-path;
}

@media (max-width: 1024px) { 
.elementor-10163 .elementor-element.elementor-element-4d01df39::after {
		
		width: 100px;
    	height: 100px;
	}
}

.wpcf7-submit, .awsm-application-submit-btn{
	margin-top:20px;
	border-radius:10px;
	    padding: 10px 40px !important;
}
.user-info{
	display:none;
}

 label {
    display: block !important;
}
 .wpcf7-tel ,  .wpcf7-text {
	width:100% !important;
}

.tribe_events-template-default p.tribe-events-back,
/* .tribe_events-template-default .tribe-events-schedule.tribe-clearfix, */
.tribe_events-template-default .tribe-events.tribe-common,
.tribe_events-template-default .tribe-events-single-section.tribe-events-event-meta.primary.tribe-clearfix {
    display: none;
}

.tribe_events-template-default h1.tribe-events-single-event-title {
    color: #124e8c;
    margin-bottom: 20px;
}

.tribe_events-template-default .tribe-events-content h2 {
    font-size: 28px;
}

.tribe_events-template-default .tribe-events-schedule.tribe-clearfix {
	margin: 0 !important;
	margin-bottom: 10px !important; 
}

.tribe-events-content a {
    color: #fecb05 !important;
    border-color: #fecb05 !important;
}



































/* fiche-renseignements form style */


.fiche-renseignements .form-box {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 10px 20px 20px 20px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.fiche-renseignements .section-title {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 1.4rem;
  font-weight: 700;
}

.fiche-renseignements label {
  display: block;
  width: 100%;
  font-weight: 600;
  margin-bottom: 0;
  color: #222;
}

.fiche-renseignements .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.fiche-renseignements .form-control,
.fiche-renseignements input[type="text"],
.fiche-renseignements input[type="email"],
.fiche-renseignements input[type="tel"],
.fiche-renseignements input[type="date"],
.fiche-renseignements input[type="number"],
.fiche-renseignements input[type="file"],
.fiche-renseignements textarea,
.fiche-renseignements select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fiche-renseignements .form-control:focus,
.fiche-renseignements input[type="text"]:focus,
.fiche-renseignements input[type="email"]:focus,
.fiche-renseignements input[type="tel"]:focus,
.fiche-renseignements input[type="date"]:focus,
.fiche-renseignements input[type="number"]:focus,
.fiche-renseignements input[type="file"]:focus,
.fiche-renseignements textarea:focus,
.fiche-renseignements select:focus {
  border-color: #124e8c;
  box-shadow: 0 0 0 3px rgba(18, 78, 140, 0.12);
  outline: none;
}

.fiche-renseignements textarea {
  min-height: 80px;
  resize: vertical;
}

.fiche-renseignements .radio-group,
.fiche-renseignements .checkbox-group {
  margin-top: 10px;
}

.fiche-renseignements .radio-group .wpcf7-list-item,
.fiche-renseignements .checkbox-group .wpcf7-list-item {
  margin: 0 14px 10px 0;
}

.fiche-renseignements .wpcf7-list-item {
  display: inline-block;
  margin-right: 16px;
  margin-left: 0;
}

.fiche-renseignements .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
}

.fiche-renseignements input[type="radio"],
.fiche-renseignements input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #124e8c;
  cursor: pointer;
}

.fiche-renseignements .acceptance-box {
  padding: 16px 20px;
}

.fiche-renseignements .acceptance-box .wpcf7-list-item {
  display: block;
  margin: 0;
}

.fiche-renseignements .acceptance-box label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  line-height: 1.6;
}

.fiche-renseignements .acceptance-label {
  font-weight: 400;
  line-height: 1.6;
}

.fiche-renseignements input[type="file"] {
  padding: 8px 10px;
}

.fiche-renseignements input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  background: #124e8c;
  color: #fff;
  cursor: pointer;
}

.fiche-renseignements .btn.btn-primary,
.fiche-renseignements input[type="submit"] {
  min-width: 180px;
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid #124e8c;
  background: #124e8c;
  color: #fff;
  font-weight: 600;
  transition: all 0.2s ease;
}

.fiche-renseignements .btn.btn-primary:hover,
.fiche-renseignements input[type="submit"]:hover,
.fiche-renseignements .btn.btn-primary:focus,
.fiche-renseignements input[type="submit"]:focus,
.fiche-renseignements .btn.btn-primary:active,
.fiche-renseignements input[type="submit"]:active {
  background: #124e8c;
  border-color: #124e8c;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(18, 78, 140, 0.18);
  outline: none;
}

.fiche-renseignements [dir="rtl"] {
  text-align: right;
}

.fiche-renseignements [dir="rtl"] .wpcf7-list-item {
  margin-right: 0;
  margin-left: 16px;
}

.fiche-renseignements [dir="rtl"] .wpcf7-list-item label {
  justify-content: flex-start;
}

/* Generic box styling reused by the old repeater and the new static child rows */
.fiche-renseignements .wpcf7-repeater-item,
.fiche-renseignements .repeater-row {
  padding: 14px;
  border: 1px dashed #cfd8e3;
  border-radius: 8px;
  background: #f8fbff;
}

/* Old repeater plugin styling kept harmlessly in case old markup still exists somewhere */
.fiche-renseignements .repeater-field-header-title,
.fiche-renseignements .repeater-field-header-acctions li:first-child,
.fiche-renseignements .repeater-field-header-acctions-toogle {
  display: none !important;
}

.fiche-renseignements .repeater-field-header {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center;
  width: 100%;
  padding: 0 !important;
  margin: 0 0 10px 0 !important;
  border: 0 !important;
  background: transparent !important;
  min-height: 0 !important;
}

.fiche-renseignements .repeater-field-header-acctions {
  display: flex !important;
  justify-content: flex-end;
  width: 100%;
  margin: 0;
  position: absolute;
  top: 12px;
}

.fiche-renseignements .repeater-field-header-acctions ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fiche-renseignements .repeater-field-header-acctions li {
  display: inline-block;
  margin: 0;
}

.fiche-renseignements .repeater-field-header-acctions-remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #dc3545;
  border-radius: 6px;
  background: #fff;
  color: #dc3545;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fiche-renseignements .repeater-field-header-acctions-remove:hover {
  background: #dc3545;
  color: #fff;
}

.fiche-renseignements .wpcf7-repeater-add,
.fiche-renseignements .wpcf7-repeater-remove {
  display: inline-block;
  border: 1px solid #124e8c;
  background: #fff;
  color: #124e8c;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-top: 8px;
  margin-right: 8px;
}

.fiche-renseignements .wpcf7-repeater-add:hover,
.fiche-renseignements .wpcf7-repeater-remove:hover {
  background: #124e8c;
  color: #fff;
}

/* Validation */
.fiche-renseignements .wpcf7-not-valid {
  border-color: #dc3545 !important;
}

.fiche-renseignements .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 0.875rem;
  color: #dc3545;
}

label br {
  display: none;
}

.repeater-field-item {
  position: relative;
}

.repeater-field-button-add {
  background-color: #124e8c !important;
  border-radius: 8px !important;
  color: #fff !important;
}

.repeater-field-button-add:active {
  color: #fff !important;
}

/* Static replacement for repeater */
.fiche-renseignements #mls-enfants-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fiche-renseignements #mls-enfants-wrapper .mls-enfant-row {
  display: none !important;
}

.fiche-renseignements #mls-enfants-wrapper .mls-enfant-row.is-visible {
  display: flex !important;
}

.fiche-renseignements #mls-enfants-wrapper .mls-enfant-row.is-error {
  border-color: #dc3545 !important;
  background: #fff5f5 !important;
}

.fiche-renseignements #mls-enfants-wrapper .mls-enfant-row input:disabled,
.fiche-renseignements #mls-enfants-wrapper .mls-enfant-row select:disabled,
.fiche-renseignements #mls-enfants-wrapper .mls-enfant-row textarea:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
  opacity: 1;
}

.fiche-renseignements .mls-enfants-error {
  margin-top: 10px;
  font-size: 0.875rem;
  color: #dc3545;
}

@media (max-width: 767.98px) {
  .fiche-renseignements .form-box {
    padding: 15px;
  }

  .fiche-renseignements .section-title {
    font-size: 1rem;
  }

  .fiche-renseignements .wpcf7-list-item {
    display: block;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .fiche-renseignements .acceptance-box label {
    align-items: flex-start;
  }

  .fiche-renseignements .repeater-field-header {
    margin-bottom: 8px !important;
  }

  .fiche-renseignements #mls-enfants-wrapper .mls-enfant-row.is-visible {
    display: block !important;
  }
}

/* ===== Outer container for the whole form ===== */
.fiche-renseignements {
  max-width: 1200px;
  margin: 40px auto;
  padding: 28px;
  border: 1px solid #e6ebf1;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 30px rgba(18, 78, 140, 0.08);
}

/* Optional: improve the intro block spacing */
.fiche-renseignements > .mb-4:first-child {
  margin-bottom: 28px !important;
  padding-bottom: 18px;
  border-bottom: 1px solid #e9eef5;
}

.fiche-renseignements > .mb-4:first-child h2 {
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 800;
  color: #124e8c;
  line-height: 1.2;
}

.fiche-renseignements > .mb-4:first-child p {
  color: #5c6773;
  font-size: 0.98rem;
}

/* Better spacing between major blocks */
.fiche-renseignements .form-box {
  margin-bottom: 22px !important;
}

/* ===== Submit button alignment ===== */
.fiche-renseignements .col-12:has(input[type="submit"]) {
  margin-top: 10px;
}

.fiche-renseignements input[type="submit"] {
  box-shadow: 0 6px 18px rgba(18, 78, 140, 0.16);
}

.fiche-renseignements input[type="submit"]:hover {
  transform: translateY(-1px);
}

/* ===== CF7 response messages ===== */
.fiche-renseignements .wpcf7-response-output {
  margin: 24px 0 0 0 !important;
  padding: 16px 18px !important;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Success */
.fiche-renseignements form.sent .wpcf7-response-output {
  border-color: #198754 !important;
  background: #edf9f1 !important;
  color: #146c43 !important;
}

/* Validation error */
.fiche-renseignements form.invalid .wpcf7-response-output,
.fiche-renseignements form.unaccepted .wpcf7-response-output,
.fiche-renseignements form.payment-required .wpcf7-response-output {
  border-color: #dc3545 !important;
  background: #fff5f5 !important;
  color: #b02a37 !important;
}

/* Spam / blocked */
.fiche-renseignements form.spam .wpcf7-response-output,
.fiche-renseignements form.aborted .wpcf7-response-output {
  border-color: #fd7e14 !important;
  background: #fff4e8 !important;
  color: #b85c00 !important;
}

/* While submitting */
.fiche-renseignements form.submitting .wpcf7-response-output {
  border-color: #0d6efd !important;
  background: #eef5ff !important;
  color: #0a58ca !important;
}

/* Spinner alignment */
.fiche-renseignements .wpcf7-spinner {
  margin: 12px 0 0 12px;
  vertical-align: middle;
}

/* ===== Validation message styling near fields ===== */
.fiche-renseignements .wpcf7-not-valid-tip {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff5f5;
  border: 1px solid #f1b0b7;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  color: #b02a37;
}

/* Highlight invalid field wrapper a bit more */
.fiche-renseignements .wpcf7-form-control-wrap:has(.wpcf7-not-valid) {
  display: block;
}

.fiche-renseignements .wpcf7-form-control-wrap:has(.wpcf7-not-valid) input,
.fiche-renseignements .wpcf7-form-control-wrap:has(.wpcf7-not-valid) textarea,
.fiche-renseignements .wpcf7-form-control-wrap:has(.wpcf7-not-valid) select {
  background: #fffafb;
}

/* ===== Mobile ===== */
@media (max-width: 767.98px) {
  .fiche-renseignements {
    margin: 20px auto;
    padding: 18px;
    border-radius: 12px;
  }

  .fiche-renseignements > .mb-4:first-child h2 {
    font-size: 1.4rem;
  }

  .fiche-renseignements .wpcf7-response-output {
    padding: 14px 14px !important;
    font-size: 0.9rem;
  }
}

.fiche-renseignements input[type="file"] {
  width: 100%;
  padding-left: 15px;
  border: 2px dashed #bfd0e4;
  border-radius: 12px;
  background: #f8fbff;
  color: #344054;
  transition: all 0.2s ease;
}

.fiche-renseignements input[type="file"]:hover,
.fiche-renseignements input[type="file"]:focus {
  border-color: #124e8c;
  background: #f3f8fe;
  box-shadow: 0 0 0 3px rgba(18, 78, 140, 0.08);
  outline: none;
}

.fiche-renseignements input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  background: #124e8c;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.rtmega-menu-area .vertical-expaned-menu-area .rtmega-menu-vertical-expanded .current-menu-item .vertical_menu_active_icon svg {
    fill: #fecb05 !important;
}

.container-fluid.fiche-renseignements.ar {
    direction: rtl;
}

/* MOBILE TABLE FIX */
@media (max-width: 768px) {

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-responsive table {
    min-width: 1200px; /* keeps table wide */
  }

  .table-responsive td,
  .table-responsive th {
    white-space: nowrap;
    vertical-align: middle;
  }

  /* keep CF7 inputs wide inside table */
  .table-responsive input,
  .table-responsive textarea,
  .table-responsive select,
  .table-responsive .wpcf7-form-control {
    min-width: 180px;
    width: 100%;
  }

  /* date field slightly smaller */
  .table-responsive input[type="date"] {
    min-width: 160px;
	   appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    width: 100%;
    min-height: 50.8px;
    padding: 12px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
  }
	  /* fix iPhone/Safari internal styling */
   .table-responsive input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
  }

   .table-responsive input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.7;
    cursor: pointer;
  }

}


.mobile-break{
  display:none;
}

@media (max-width:768px){

  .mobile-break{
    display:block;
  }

  .desktop{
    display:none;
  }

}

/* .download-link {
  color: #124E8C;
  text-decoration: none;
}

.download-link:hover {
  color: #ffcc00;
} */

.history-titles {
	white-space: nowrap;
}
