
  /* from transfonter */
  @font-face {
    font-display: swap;
    font-family: 'Capriola';
    font-style: normal;
    font-weight: 400;
    src: url('https://www.institutmc.org/files/Capriola-Regular.woff2') format('woff2');
  }

  /* ROOTS */
  :root {
    --main-color: #0f56e6;
    --secondary-color: #ffffff;
    --third-color: #1acdc4;
    --fourth-color: #daf5fa;
    --fifth-color: #dbdbdb;
    --sixth-color:#0F56E6;
    --seventh-color: #1D9DD9;
    --eight-color: #6a6b6e;



    /*FONTS sizes*/
    --fluid-37-62: clamp(2.313rem, 1.7695rem + 2.7163vw, 3.875rem);
    --fluid-22-45: clamp(1.375rem, 0.875rem + 2.5vw, 2.8125rem);
    --fluid-12-14: clamp(0.75rem, 0.538rem + 0.4348vw, 0.875rem);
    --fluid-10-12: clamp(0.625rem, 0.413rem + 0.4348vw, 0.75rem);
    /*cta*/
    --cta-hover-main-bg-color: #0f56e6;
    --cta-hover-secondary-bg-color: #FFFFFF;
 
    /*font*/
    --main-font-family: Arial, system-ui, -apple-system, sans-serif;
    --secondary-font-family: "Capriola", system-ui, -apple-system, sans-serif;

    /* border radius img*/
    --border-radius-30px: 30px;
  }
  /* END ROOTS */
  /* classe var() */
  .main-color {
    color: var(--main-color);
  }
  .secondary-color {
    color: var(--secondary-color);
  }
  .third-color{
    color: var(--third-color);
  }
  .fourth-color {
    color: var(--eight-color);
  }
  .cta-main-bg-color {
    background-color: var(--third-color);
  }
  .cta-main-bg-color:hover,
  .cta-main-bg-color:focus {
    background-color: var(--cta-hover-main-bg-color);
  }
  .cta-secondary-bg-color {
    background-color: var(--third-color);
    border: 2px solid var(--secondary-color)
  }
  .cta-secondary-bg-color:hover,
  .cta-secondary-bg-color:focus {
    background-color: var(--cta-hover-secondary-bg-color);
  }
  .cta-third-bg-color {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
  }
  .cta-third-bg-color:hover,
  .cta-third-bg-color:focus {
    background-color: var(--main-color);
    color: var(--secondary-color);
  }
  .main-color {
    color: var(--main-color);
  }
  .secondary-color {
    color: var(--secondary-color);
  }
  .five-bg-color {
    background-color: var(--main-color);
  }
  .current-main-bg-color,
  .main-bg-color {
    background-color: var(--secondary-color);
  }
  .current-secondary-bg-color,
  .secondary-bg-color {
    background-color: var(--fifth-color);
  }
  .current-third-bg-color,
  .third-bg-color {
    background-color: var(--third-color);
  }
  .current-fourth-bg-color,
  .fourth-bg-color {
    background-color: var(--fourth-color);
  }
  .full-width-bg-color:before {
    background: inherit
  } 
  .bg-degrade-blue{
    background: linear-gradient(180deg, #1D9DD9 0%, #0F56E6 100%);
  }
  /* END class var() */
  /* general */
  html {
    scroll-behavior: smooth;
  }
  .main-font {
    font-family: Arial, system-ui, -apple-system, sans-serif;
  }
 .second-font {
    font-family: 'Capriola', Arial, system-ui, -apple-system, sans-serif;
  }

  body,
  div,
  ul,
  ol,
  li,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  form,
  fieldset,
  input,
  textarea,
  p {
    margin: 0;
    padding: 0;
  }
  /* END reset style css*/
  a {
    text-decoration: inherit;
    color: inherit;
  }
  .rich-text p,
  .rich-text em,
  .rich-text h1,
  .rich-text h2,
  .rich-text h3,
  .rich-text h4,
  .rich-text h5,
  .rich-text h6 {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-style: inherit;
  }
  .rich-text h1,
  .rich-text h2,
  .rich-text h3,
  .rich-text h4,
  .rich-text h5,
  .rich-text h6{
    font-family: var(--secondary-font-family);
  }
  .hyphens {
    -webkit-hyphens: auto;
    /* for Safari */
    hyphens: auto;
  }
  .underline {
    text-decoration: underline;
  }
  address {
    font-style: normal;
  }
  .hover-color {
    transition: color 0.2s ease-in-out;
  }
  /* for display img in firefox */
  picture {
    display: contents;
  }
  /*fix menu safari*/

  .excerpts-all {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }
    .excerpts-2lines {
    -webkit-line-clamp: 2;
  }
  .excerpts-4lines {
    -webkit-line-clamp: 4;
  }
   .excerpts-6lines {
    -webkit-line-clamp: 6;
  }
  .main__item{
    flex-basis: 0%;
    flex-grow: 1;
    flex-shrink: 1;
    z-index: 1;
  }
/*desactivation marker des navigateur */
  summary::-webkit-details-marker {
    display: none!important; 
  }
   /* ANIMATION */
  /* Si l’utilisateur préfère réduire les mouvements → pas d’animation */
  @media (prefers-reduced-motion: reduce) {
    .hamburger-line {
      transition: none;
    }
  }

  /* Animation seulement si l’utilisateur n’a PAS réduit les animations */
  @media (prefers-reduced-motion: no-preference) {
    .fade-up,
    .fade-in,
    .zoom-in,
    .fade-down {
      opacity: 0;
      transition: opacity 1.2s ease, transform 1.2s ease;
    }
    .fade-up {
      transform: translateY(20px);
    }
    .fade-down {
      transform: translateY(-20px);
    }
    .fade-in {
      transform: none;
    } 
    .zoom-in {
      transform: scale(0.98);
    }
    .fade-down.animation-is-visible,
    .fade-up.animation-is-visible,
    .fade-in.animation-is-visible,
    .zoom-in.animation-is-visible,
    section:has(.animation-visible) .fade-up,
    section:has(.animation-visible) .fade-in,
    section:has(.animation-visible) .zoom-in,
    section:has(.animation-visible) .fade-down{
      opacity: 1; 
      transform: none;
    } 
  } 
   /* END ANIMATION */
  /* END GENERAL style css*/
  
  /* GLOBAL PADDING MANAGEMENT / SPACES */
  @media (max-width: 768px) {
    section.secondary-bg-color:has( + section.m__number){
      padding-bottom: 0;
    }
  }
  section.main-bg-color:has(+ section.main-bg-color),
  section.main-bg-color:has(+ div + section.main-bg-color),
  section.secondary-bg-color:has(+ section.secondary-bg-color),
  section.secondary-bg-color:has(+ div + section.secondary-bg-color) {
    padding-bottom: 0;
  }
  /*  ANCHOR */
  /* correspond à la taille de la nav + 20/30*/
  :target { 
    scroll-margin-top: 130px;
  }
  @media (max-width: 768px) {
    :target {
      scroll-margin-top: 97px;
    }
  }
  /* END ANCHOR */
  /* Module HERO */
  .m__hero__contain__title h1 {
    font-size: var(--fluid-37-62);
  }

  /*END HERO */
  .typo-700-45-72--22-34,
  .typo-700-45-72--22-29{
    font-size: var(--fluid-22-45);
  }

  .fluid-700-12-14{
    font-size: var(--fluid-12-14);
  }
  .fluid-700-10-12{
    font-size: var( --fluid-10-12);
  }
  /* module image_text_alternate */
  .m__card-image-text__contain__cards:hover .cta-main-bg-color,
  .m__card-image-text__contain__cards:focus .cta-main-bg-color {
    background-color: var(--cta-hover-main-bg-color);
    color:var(--third-color);
  }
  @media (min-width: 769px) {

  /* rightImage */
  .m__alternate__m.rightimage
  .m__alternate__contain:nth-child(odd)
  .m__alternate__contain__part1 {
    margin-left: 3.206%;
    margin-right: 0;
  }

  .m__alternate__m.rightimage
  .m__alternate__contain:nth-child(even)
  .m__alternate__contain__part1 {
    margin-left: 0;
    margin-right: 3.206%;
  }

  /* leftImage : inverse */
  .m__alternate__m.leftimage
  .m__alternate__contain:nth-child(odd)
  .m__alternate__contain__part1 {
    margin-left: 0;
    margin-right: 3.206%;
  }

  .m__alternate__m.leftimage
  .m__alternate__contain:nth-child(even)
  .m__alternate__contain__part1 {
    margin-left: 3.206%;
    margin-right: 0;
  }

}
  /* END  image_text_alternate */
  /*Module TEXT */
  .m__module-text__contain iframe {
    aspect-ratio: 16/9;
  }
  .m__module-text__contain__text.rich-text em {
    font-style: italic;
  }
  .m__module-text__contain__text.rich-text h2 {
    color: var(--third-color);
  }
  .m__module-text__contain__text.rich-text h3 {
    color: var(--seventh-color);
  }
  /* END TEXT */
  /* module CONTACT */
  .m__contact__contain__input__orga,
  .m__contact__contain__input input:not(.m__contact__contain__input__check-box),
  .m__contact__contain__input textarea,
  .m__contact__contain__input input::placeholder,
  .m__contact__contain__input textarea::placeholder {
    border: none;
    font-family: var(--main-font-family);
  }
  .m__contact__contain__input input::placeholder,
  .m__contact__contain__input textarea::placeholder {
    color: #6A6B6E;
  }

  .m__contact__contain__input input:focus-visible,
  .m__contact__contain__input input:focus,
  .m__contact__contain__input textarea:focus-visible{
    outline: 1px solid var(--main-color);
  }
  .m__contact__contain__input__orga{
    outline: none;
  }
  .m__contact__contain__input__check-box {
    appearance: none;
    -webkit-appearance: none;
  }
  .m__contact__contain__input__check-box:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 3px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .newsletter-embed__form form button{
  margin-top:2px
  }
  @media (max-width: 768px) {
    .m__contact_bg{
      background: linear-gradient(180deg, #1D9DD9 0%, #0F56E6 100%);
    }
  }
  /* END  CONTACT */
  /*FOOTER */
  .footer__part2__col2__text a:hover,
  .footer__part2__col2__text a:focus {
    color: var(--third-color);
  }
  /* NAVBAR */
  .header1__blob1__nav__subitem__nav1__bg-color,
  .header1__blob1__nav__subitem__contain__absolute__nav1__bg-color {
    background-color: var(--secondary-color);
  }
  .header1__blob1__nav__subitem__contain {
    border-color: var(--seventh-color);
    transition-property: opacity, visibility, height;
    transition-duration: 0.1s, 0.1s, 0.2s;
    transition-timing-function: ease-in-out, ease-in-out, ease-in-out;
    transition-delay: 0s, 0s, 0.2s;
  }

  .header-color {
    background-color: var(--secondary-color);
    color: var(--main-color);
  }
  .hover-nav:hover,
  .hover-nav:focus,
  .hover-nav-item:focus,
  .hover-nav.active {
    color: var(--seventh-color);
  }
  .hover-nav-item:hover,
  .hover-nav-item:focus,
  .hover-nav-item.active {
    text-decoration-color: var(--seventh-color);
    text-decoration-line: underline; 
    text-underline-offset: 4px;
  }
  .header1__blob1__nav__contain:hover .header1__blob1__nav__subitem__contain,
  .header1__blob1__nav__contain:focus-within .header1__blob1__nav__subitem__contain {
    display: flex;
    opacity: 1;
    visibility: visible;
    transition-duration: .2s,.1s,.2s;
    transition-delay: 0.2s, 0.2s, 0s;
  }

  .scroll-script__nav1:has(.nav-wrapper_contain.is-open) {
    transition: background-color 0.2s 0.2s ease-in-out;
  }
  .nav-wrapper_cta{
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nav-wrapper_cta:hover::before,
  .nav-wrapper_cta:focus::before{      
    content:url("data:image/svg+xml,%3Csvg%20width%3D%2222%22%20height%3D%2221%22%20viewBox%3D%220%200%2022%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.77%2013.89C11.4%2014.87%209.74%2015.4%208.02%2015.4C3.59%2015.4%200%2011.95%200%207.7C0%203.45%203.59%200%208.01%200C12.43%200%2016.02%203.45%2016.02%207.7C16.02%209.32%2015.49%2010.88%2014.52%2012.19L21.91%2019.26L20.17%2020.98L12.77%2013.9V13.89ZM8.01%202.43C4.95%202.43%202.47%204.8%202.47%207.7C2.47%2010.6%204.96%2012.97%208.01%2012.97C11.06%2012.97%2013.55%2010.6%2013.55%207.7C13.55%204.8%2011.06%202.43%208.01%202.43Z%22%20fill%3D%22%23FFFFFF%22%2F%3E%3C%2Fsvg%3E")
  } 
  /*MOBILE*/
  /*Hamburger*/
  .hamburger div {
    position: relative;
    width: 2rem;
    height: 4px;
    border-radius: 3px;
    background-color: white;
    margin-top: 8px;
    transition: all 0.3s ease-in-out;
  }
  /* Animation hamburger -> croix */
  .hamburger.active .top-bun {
    transform: rotate(-45deg);
    margin-top: 20px;
  }

  .hamburger.active .bottom-bun {
    opacity: 0;
    transform: rotate(45deg); 
  }

  .hamburger.active .meat {
    transform: rotate(45deg);
    margin-top: -4px;
  }
  @media (max-width: 768px) {
    .hamburger div {
      background-color: var(--main-color);
    }
    .header1__blob1__nav__subitem__contain{
    height: auto !important;
    }

  }


/* NEW */
  @media (max-width: 768px) {

    .nav-wrapper_contain{
      box-sizing: border-box;
      min-height: calc(100vh - 70px);

    }
    .header1__blob1__nav__item{
    font-family:var(--secondary-font-family);
    }
  }


  /* END NAVBAR */
  /*module actu */
  .hover-color:hover .hover-color,
  .hover-color:focus .hover-color,
  .m__actu__contain__cards:hover .hover-color,
  .m__actu__contain__cards:focus .hover-color {
    color: var(--seventh-color);
  }
  

  .m__actu__contain__cards__text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }
  /*end actu */
  /*TAG */
  .t__contain__list summary,
  .m_forma-accordeon_summary summary{
    list-style: none; 
  }
  [open] .t__contain__list__summary__img,
  [open] .m_forma-accordeon_summary-arrow {
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipV;
    -ms-filter: "FlipV";
  }
  .b__text__contain-date-cat-author__cat:hover,
  .b__text__contain-date-cat-author__cat:focus,
  .t__contain__list__tag.tag-list-active,
  .t__contain__list__tag:hover,
  .t__contain__list__tag:focus {
    color: var(--third-color);
  }
  /* END tag */
  /* TITLE TEXT CTA IMG*/
  .m__title-text-cta-img__contain__cta {
    color: var(--main-color);
  }

  /* END TITLE TEXT CTA IMG*/
  /* MODULE  VIDEO*/
  .ratio1609 {
    aspect-ratio: 16/9;
  }

  .m__video__contain__video iframe {
    aspect-ratio: 16/9;
  }
  .m__video__contain__video_player {
    filter: invert(23%) sepia(81%) saturate(2953%) hue-rotate(217deg) brightness(91%) contrast(98%);
  }
  .m__video__contain__video:hover .m__video__contain__video_player {
filter: invert(99%) sepia(38%) saturate(0%) hue-rotate(96deg) brightness(110%) contrast(100%);
  } 
  /* END VIDEO*/
/* Module Number*/
  @media (max-width: 992px) {
    .m__number{
      background: linear-gradient(180deg, #1D9DD9 0%, #0F56E6 100%);
    }
    .bg-degrade-blue.m__number__contain{
      background: none;
    }
    section.m__number.main-bg-color {
      padding-bottom: 100px!important;
    }
  }
/* Module 3 ACtu formation */ 
  .cta-third-bg-color {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
  }
  .m__forma-actu_cards:hover .cta-third-bg-color,
  .m__forma-actu_cards:focus .cta-third-bg-color {
    background-color: var(--main-color);
    color: var(--secondary-color);
  }
  .m__forma-actu_cards:nth-child(3n+1){
    margin-top: 0;
  }
  .m__forma-actu_cards:nth-child(3n+2) {
    margin-top: 70px;
  }
  .m__forma-actu_cards:nth-child(3n) {
    margin-top: 140px;
  }
  @media (max-width: 768px) {
    .m__forma-actu_cards:nth-child(3n+1),
    .m__forma-actu_cards:nth-child(3n+2),  
    .m__forma-actu_cards:nth-child(3n) {
      margin-top: 0;
    }
  }
  /* Module text formation */

  .m_forma-text_rich-text em{
    font-style: italic;
  }

  /* End Text formation */
  /*Module Programme Accordéon*/
  .m_forma-accordeon_summary-arrow{
    filter: invert(21%) sepia(95%) saturate(2774%) hue-rotate(218deg) brightness(92%) contrast(95%);
  }

  /*END Module Programme Accordéon*/
  /*Module Sessions disponibles*/
  .m_sessions_contents.statut-full{
  text-decoration: line-through;
  }
  /*END Module Sessions disponibles*/
/* ALl formation */
  .f__contain{
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.07);
  }
    .f__cta_load-more:hover::after,
  .f__cta_load-more:focus::after{      
    content:url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.778%2012.172L14.142%206.808L15.556%208.222L7.778%2016L0%208.222L1.414%206.808L6.778%2012.172V0H8.778V12.172Z%22%20fill%3D%22%23FFFFFF%22%2F%3E%3C%2Fsvg%3E")
  } 
  /* END ALL FORMATIONS*/
  /* Module Teams*/

.m__teams__contain__cards_link.m__teams__contain__cards_link-empty:hover,
.m__teams__contain__cards_link.m__teams__contain__cards_link-empty:focus {
  transform: none;
}

.m__teams__contain__cards_link.m__teams__contain__cards_link-empty:hover .m__teams__contain__cards__fonction,
.m__teams__contain__cards_link.m__teams__contain__cards_link-empty:focus .m__teams__contain__cards__fonction,
.m__teams__contain__cards_link.m__teams__contain__cards_link-empty:hover .m__teams__contain__cards__name,
.m__teams__contain__cards_link.m__teams__contain__cards_link-empty:focus .m__teams__contain__cards__name {
  text-decoration: none;
}
 
  /* Formualire code embed */
  /* Brevo - messages succès / erreur uniquement */
.sib-form-message-panel {
  display: none;
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  text-align: left;
  border: 1px solid;
  border-radius: 3px;
  max-width: 540px;
}

.sib-form-message-panel__text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sib-notification__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

#error-message {
  color: #661d1d;
  background-color: #ffeded;
  border-color: #ff4949;
}

#success-message {
  color: #085229;
  background-color: #e7faf0;
  border-color: #13ce66;
}

.input--hidden {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

  .entry__field,
  .entry__specification,
  .form__entry.entry_block{
  margin-top:10px;
  }

  button.m__contact__contain__input__cta.cta-submit{
  margin-top:20px;
  }
  .entry__label.typo-15-29{
      line-height: 1rem;
    display: flex;
  }

