.columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.columns > div {
  flex-basis: 100%;
}
/* Désactive l’habillage visuel des tooltips sur mobile/tactile */
/* === Local vars (elements.css) === */
:root { --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1); }


@media (hover: none), (pointer: coarse) {
  abbr.glossify-tooltip-tip {
    text-decoration: none !important;
    border-bottom: none !important;
    cursor: inherit !important;
    outline: 0 !important;
  }

  /* Si le plugin injecte un conteneur de tooltip, on le masque */
  .glossify-tooltip,
  .glossify-tooltip--visible,
  .glossify-tooltip-tip + .tooltip {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .columns > div {
    flex-basis: calc(50% - 0.5rem);
  }
  
}
#content-toolbar {
  position: absolute;
  top: var(--header-height);
  left: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--dark-blue);
}
#content-toolbar a {
  --underline-img: none;
  display: block;
  padding: 0.5rem 1rem;
  color: var(--white);
}
#content-toolbar a:hover {
  background-color: var(--medium-blue);
}
body:not(.user-logged-in) #content-toolbar {
  display: none;
}

nav[id*="reseauxsociaux"] .menu_ctn ul li {
  width: 25px;
}
nav[id*="reseauxsociaux"] .menu_ctn ul li a {
  display: block;
  width: 100%;
  height: 25px;
  font-size: 0;
}
nav[id*="reseauxsociaux"] .menu_ctn ul li a::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  transition: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
nav[id*="reseauxsociaux"] .menu_ctn ul li a:hover::before {
  background-color: var(--red);
}
nav[id*="reseauxsociaux"] .menu_ctn ul li a[href*="facebook"]::before {
  -webkit-mask-image: url("/themes/custom/cnam/img/icons/facebook.svg");
  mask-image: url("/themes/custom/cnam/img/icons/facebook.svg");
}
nav[id*="reseauxsociaux"] .menu_ctn ul li a[href*="mailto"]::before {
  -webkit-mask-image: url("/themes/custom/cnam/img/icons/arobase.svg");
  mask-image: url("/themes/custom/cnam/img/icons/arobase.svg");
}
nav[id*="reseauxsociaux"] .menu_ctn ul li a[href*="linkedin"]::before {
  -webkit-mask-image: url("/themes/custom/cnam/img/icons/linkedin.svg");
  mask-image: url("/themes/custom/cnam/img/icons/linkedin.svg");
}
nav[id*="reseauxsociaux"] .menu_ctn ul li a[href*="youtube"]::before {
  -webkit-mask-image: url("/themes/custom/cnam/img/icons/youtube.svg");
  mask-image: url("/themes/custom/cnam/img/icons/youtube.svg");
}
nav[id*="reseauxsociaux"] .menu_ctn ul li a[href*="instagram"]::before {
  -webkit-mask-image: url("/themes/custom/cnam/img/icons/instagram.svg");
  mask-image: url("/themes/custom/cnam/img/icons/instagram.svg");
}
nav[id*="reseauxsociaux"] .menu_ctn ul li a[href*="tiktok"]::before {
  -webkit-mask-image: url("/themes/custom/cnam/img/icons/tiktok.svg");
  mask-image: url("/themes/custom/cnam/img/icons/tiktok.svg");
}
.mots-cles > ul,
ul.mots-cles {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  list-style: none;
}
.mots-cles > ul li:not(:has(a)),
.mots-cles > ul li a,
ul.mots-cles li:not(:has(a)),
ul.mots-cles li a {
  --underline-img: none;
  display: block;
  padding: 0.5rem 1rem;
  background-color: var(--lighter-grey);
  color: var(--medium-blue) !important;
  border-radius: 1rem;
  font-size: 0.9rem;
  line-height: 1.1;
  transition: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mots-cles > ul li a:hover,
ul.mots-cles li a:hover {
  background-color: var(--medium-blue);
  color: var(--white) !important;
}
@supports selector(details::details-content) and
  (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
  details[name="u-teaser"] {
    overflow: hidden;
    height: fit-content;
  }
  details[name="u-teaser"]::details-content {
    transition: content-visibility 0.3s allow-discrete ease-out;
  }
  details[name="u-teaser"][open] {
    height: min-content;
  }
}

details[name="u-teaser"] {
  border-radius: 0.5rem;
  margin-block-end: 1rem;
  transition: all 0.3s ease-out;
}

details[name="u-teaser"] summary {
  cursor: pointer;
  list-style: none;
  display: inline-block;
  align-items: center;
  padding: 0.75rem 1rem;
  font-weight: 700;
  background-color: var(--white);
  border-radius: 0.5rem;
  width: 100%;
}
details[name="u-teaser"][open] summary {
  border-radius: 0.5rem 0.5rem 0 0;
}
details[name="u-teaser"] summary::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='10' viewBox='0 0 18 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.4588 2.22255C17.3325 2.32242 9.86998 9.5168 9.86998 9.5168C9.86998 9.5168 9.51198 9.9031 8.9774 9.90234C8.40062 9.90149 8.02394 9.51982 8.02394 9.51982C8.02394 9.51982 0.543186 2.25908 0.5015 2.22293C-0.14951 1.65811 0.126945 0.810967 0.452746 0.468707C0.804147 0.0995502 1.60169 -0.104424 2.29384 0.522241C2.36718 0.588642 8.80426 6.77975 8.80426 6.77975C8.80426 6.77975 8.89591 6.89116 8.98625 6.89501C9.06608 6.89843 9.17894 6.78134 9.17894 6.78134C9.17894 6.78134 15.5267 0.64671 15.6827 0.505623C16.0253 0.195911 16.9186 -0.137588 17.5162 0.452968C18.3573 1.28418 17.5547 2.14672 17.4588 2.22255Z' fill='%23083651'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: cover;
  margin-left: 0.75em;
  transition: 0.2s;
}
details[name="u-teaser"][open] > summary::after {
  transform: rotate(180deg);
}

details[name="u-teaser"] summary::-webkit-details-marker {
  display: none;
}

details[name="u-teaser"] .u-teaser-infos {
  padding: 1rem;
  margin: 0;
  background: var(--white);
  border-radius: 0 0.5rem 0.5rem 0.5rem;
}

details[name="u-teaser"] .fieldname--node-link a {
  --underline-img: none;
  width: fit-content;
  border-radius: 2rem;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--accent-color);
  color: var(--white);
  font-weight: 600;
  margin-block-start: 1rem;
}
details[name="u-teaser"] .fieldname--node-link a:hover {
  background-color: var(--medium-blue);
}
details[name="u-teaser"] ul.mots-cles li {
  background-color: var(--light-grey);
}

ul.ev-unite-diplomes {
  margin: 0;
}

ul.mots-cles,
ul.ev-unite-diplomes li {
  position: relative;
  margin-block-end: 1rem;
  line-height: 1;
  transition: 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
ul.ev-unite-diplomes li {
  padding: 0;
  margin: 0;
}

ul.ev-unite-diplomes li:not(:last-of-type):after {
  content: "";
  display: block;
  width: 30%;
  height: 1px;
  background-color: var(--dark-grey);
  transition: 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-block: 1rem;
}

ul.ev-unite-diplomes li a {
  color: var(--medium-blue) !important;
}

ul.ev-unite-diplomes li a:hover {
  color: var(--blue);
}
strong {
  font-weight: 700;
}

nav a {
  text-decoration: none;
}
.liens_statiques div a {
  --underline-img: none;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--medium-blue) !important;
  text-decoration: none;
}
.liens_statiques div a:hover {
  background-color: var(--light-blue);
}
.liens_statiques div a::before {
  content: "";
  display: inline-block;
  width: 45px;
  height: 45px;
  margin-inline-end: 1rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.liens_statiques div[class*="financement"] a::before {
  background-image: url("/themes/custom/cnam/img/icons/financement.svg");
}
.liens_statiques div[class*="tarif"] a::before {
  background-image: url("/themes/custom/cnam/img/icons/tarif.svg");
}
.liens_statiques div[class*="statistiques"] a::before {
  background-image: url("/themes/custom/cnam/img/icons/statistiques.svg");
}
.liens_statiques div[class*="handicap"] a::before {
  background-image: url("/themes/custom/cnam/img/icons/handicap.svg");
}
.masonry {
  position: relative;
}
.masonry:not(.loaded) {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.masonry:not(.loaded) .masonry_item {
  margin-block-end: 1rem;
}
.masonry.loaded .masonry_item {
  position: absolute;
}
.masonry .masonry_item img {
  margin-block: 0 !important;
}

dl.field.clearfix > * {
  display: inline-block;
}
dl.field > dt.field__label {
  font-weight: 500;
}
.fieldname--field-type-modalite-validation .field__item:not(:last-child)::after {
	content: ' |';
}

.glossify-tooltip-tip {
  position: relative;
  border-bottom: 1px dashed var(--red);
}
.glossify-tooltip-tip:hover {
  color: var(--medium-grey);
  background: var(--red);
}
.glossify-tooltip-tip::before {
  content: attr(data-title);
  display: block;
  position: absolute;
  background: var(--white); /*background: var(--medium-grey);*/
  border-radius: 0 10px 10px 10px; /* border-radius: 5px; */
  padding: 0;
  text-align: left;
  top: 100%;
  left: 0;
  width: 25vw;
  color: var(--medium-blue);
  font-weight: 500; /*font-weight: normal;*/
  border: 2px dashed var(--red);
  font-style: normal;
  font-size: 0.8rem; /*font-size: 1rem;*/
  z-index: 10;
  line-height: 1.4;
  box-shadow: 3px 3px 5px #ccc; /*box-shadow: 3px 3px 5px var(--red);*/
  opacity: 0;
  height: 0;
  border-width: 0;
  overflow: hidden;
}
@media (max-width: 768px) {
  .glossify-tooltip-tip::before {
    width: 75vw;
    right: 0;
    background-color: var(--red);
    color: var(--white);
}}
.glossify-tooltip-tip:hover::before {
  opacity: 1;
  transition: opacity .25s ease-in;
  height: auto;
  border-width: 1px;
  padding: 1rem;
}

#scrollTopButton-image {
  background-size: auto;
}

.shrink-content {
  margin: auto;
  max-width: 800px;
}

/* témoignages */
.node--type-temoignage.node--view-mode-full {
  padding-top: 3rem;
}
.node--type-temoignage.node--view-mode-full .group-right {
  max-width: 400px;
}
.node--type-temoignage.node--view-mode-full:has(.group-right) .group-left {
  float: right;
  padding-left: 2rem;
  width: 67%;
}
.node--type-temoignage.node--view-mode-full .fieldname--field-media-video-file {
  max-height: calc(100vh - 80px);
}
.user-logged-in .node--type-temoignage.node--view-mode-full .fieldname--field-media-video-file {
  max-height: calc(100vh - 210px);
  overflow: hidden;
  /* width: auto; */
}
.node--type-temoignage.node--view-mode-full .fieldname--field-media-video-file video {
  max-height: inherit;
  width: auto;
}
.node--type-temoignage.node--view-mode-full blockquote {
  margin: 1rem auto;
  /* background: var(--light-grey); */
  border-left: 1px solid var(--dark-blue);
  /* color: #1a1a1a; */
  /* font-family: Georgia, Times, "Times New Roman", serif; */
  font-size: 1.2em;
  font-style: italic;
  /* line-height: 1.8em; */
  /* margin: 1.1em -4em; */
  padding: 1em 2em;
  position: relative;
  transition: .2s border ease-in-out;
  z-index: 0;
  font-family: Raleway;
}
.node--type-temoignage.node--view-mode-full blockquote::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  height: 2em;
  background-color: var(--white);
  width: 5px;
  margin-top: -1em;
}
.node--type-temoignage.node--view-mode-full blockquote::after {
  content: "“";
  position: absolute;
  top: 50%;
  left: -0.5em;
  color: var(--dark-blue);
  /* font-family: "icomoon"; */
  font-style: normal;
  line-height: 1em;
  text-align: center;
  text-indent: -2px;
  width: 1em;
  margin-top: -0.25em;
  transition: .2s all ease-in-out, .4s transform ease-in-out;
  font-size: 4em;
}
.node--type-temoignage.node--view-mode-full .flex-container {
  display: flex;
  flex-direction: column; /*row;*/
}
.node--type-temoignage.node--view-mode-full .flex-container > div:nth-of-type(2){
  padding: 1.5rem;
  border: 1px solid var(--light-grey);
  background-color: var(--lighter-grey);
}
.node--type-temoignage.node--view-mode-full .flex-container > div {
  flex-basis: 50%;
}
.node--type-temoignage.node--view-mode-full .flex-container > div:nth-child(2) .field:not(:last-child) {
	margin-bottom: .8rem;
}
.node--type-temoignage.node--view-mode-full .flex-container > div:nth-child(2) .field .field__label::before {
  font-family: icomoon;
  margin-right: .5rem;
  vertical-align: middle;
  font-weight: 900;
}
.fieldname--dynamic-twig-fieldnode-dst-lien-formation .field__label::before {
  content: '\E901';
}
.fieldname--field-diplome .field__label::before {
  content: '\E900';
}
.fieldname--field-centre-ref .field__label::before {
  content: '\E90F';
}
.fieldname--field-centre .field__label::before {
  content: '\E90D';
}

/* ////////////// REVUE DE PRESSE  ////////////// */
.page-node-type-revue-presse .field .fieldname--field-media-image img
{border: 1px solid var(--light-grey);}
  
  
/* klaro */
#klaro_toggle_dialog {
  left: 15px;
  bottom: 15px;
  right: auto;
}