@charset "UTF-8";
/*
Theme Name: IBP Groupe
Theme URI: https://ibpgroupe.fr
Author: Conseils et Préférence
Author URI: https://conseilspreference.com
Description: Thème du site d'IBP Groupe'
Requires at least: WordPress 6.9.4
Version: 1.0
*/

:root body {
  --cp-green: #36543C;
  --cp-green-light: #7EAD7F;
  --cp-green-dark: #1B3421;
  --cp-blue: #2957F7;
  --cp-gray: #E6E8EA;
  --cp-gray-dark: #364153;
  --cp-light: #F0F0F0;
  --cp-light-extra: #F9FAFB;
  --cp-white-trans: rgba(240, 240, 240, .75);
  --cp-pink: #FFB6EA;
  --cp-yellow: #FFBE32;
  --cp-black: #050707;
  --bs-box-shadow: 0 0.25rem .3rem rgba(0, 0, 0, 0.35) !important;
  --bs-box-shadow-sm: 0 0.2rem .3rem rgba(0, 0, 0, 0.15) !important;
}

/* Typo */
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/figtree-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/figtree-600.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/figtree-700.woff2') format('woff2');
}

html body {
  font-family: 'Roboto', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--cp-green-dark);
  word-break: keep-all;
  height: 100vh;
}

body h1 {
  font-weight: 600;
}

body h2 {
  color: var(--cp-green-dark);
  font-weight: 600;
  font-size: calc(1.325rem + .7vw);
}

h2.wp-block-heading {
  padding-top: 1.5rem;
}

body h3 {
  font-size: 1.3rem;
  font-weight: bolder;
}

body a {
  text-decoration: none;
  color: var(--cp-green-light);
}

body a:is(:hover, :active, :focus),
#campus-list a:is(:hover, :active, :focus) {
  color: var(--cp-blue);
}

@media(min-width: 992px) {
  body h2 {
    margin-bottom: 1rem;
  }
}

/* Buttons */
body .btn,
.wp-block-button__link,
.cmplz-cookiebanner .cmplz-buttons button.cmplz-btn,
.btn>a,
body [data-hsfc-id=Renderer] .hsfc-Button,
#mega-menu-wrap-main #mega-menu-main>li.mega-menu-item.btn>a.mega-menu-link {
  font-weight: 600;
  margin-top: .5rem;
  padding: 8px 22px;
  border-radius: var(--bs-border-radius);
  border-width: 2px;
  width: fit-content;
  position: relative;
}

.btn.dropdown-toggle:not(.topbar-btn) {
  padding-right: 36px;
}

.btn.dropdown-toggle::after {
  right: 16px;
}

a.btn-cta,
a.btn.cta,
.btn-cta>a,
#mega-menu-wrap-main #mega-menu-main>li.mega-menu-item.cta>a.mega-menu-link,
.btn-cta>a.wp-element-button {
  color: white;
  border-color: var(--cp-blue);
  background-color: var(--cp-blue);
  padding-right: 2.25rem;
}

.btn.btn-primary,
.btn-primary a,
body [data-hsfc-id=Renderer] .hsfc-Button,
#mega-menu-wrap-main #mega-menu-main>li.mega-menu-item.btn-primary>a.mega-menu-link,
a.wp-element-button {
  color: white;
  border: 1px solid var(--cp-green);
  background: var(--cp-green);
}

.btn.btn-secondary {
  color: var(--cp-green);
  background-color: unset;
  border-color: var(--cp-green);
}

.bg-dark .btn.btn-secondary:not(:is(:hover, :active, :focus)) {
  background-color: white;
  border-color: var(--cp-green);
}

a.btn-tertiary {
  color: var(--cp-green);
  padding: 8px 0;
  background-color: transparent;
  padding-right: 1.25rem;
}

.bg-dark a.btn-tertiary {
  color: white;
}

.btn-tertiary::after,
a.btn.cta::after,
a.btn.btn-cta::after,
.cta>a::after,
.btn-cta>a::after,
#mega-menu-wrap-main #mega-menu-main>li.mega-menu-item.cta>a.mega-menu-link::after {
  content: "\2192";
  font-family: system-ui, sans-serif;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  margin-left: 7px;
  display: inline;
}

body a.btn:is(:hover, :active, :focus),
#mainnav li:last-of-type a:is(:hover, :active, :focus),
.wp-block-button__link:is(:hover, :active, :focus),
.btn-cta>a.wp-element-button:is(:hover, :active, :focus),
body :not(.btn-check)+.btn:is(:hover, :active, :focus),
body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny:is(:hover, :active, :focus),
body [data-hsfc-id=Renderer] .hsfc-Button:is(:hover, :active, :focus),
body [data-hsfc-id=Renderer] .hsfc-Button:not([disabled]):hover {
  background-color: var(--cp-green-light);
  border-color: var(--cp-green-light);
  color: white;
}

body [data-hsfc-id=Renderer] .hsfc-Button:not([disabled]):hover {
  transform: unset;
}

a.btn.btn-tertiary:is(:hover, :active, :focus) {
  background-color: unset;
  border-color: transparent;
  color: var(--cp-green-light);
}

#mainnav .d-lg-none {
  width: 100%;
}

#mainnav .d-lg-none a {
  width: stretch;
}

#mainnav .dropdown-menu.show {
  border: none;
  margin-top: unset;
  padding-top: unset;
}

#mainnav .dropdown-item {
  padding-left: unset;
  padding-right: unset;
}

/* Structure */
.container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

body .bg-dark {
  color: white;
  background-color: var(--cp-green) !important;
}

.bg-green {
  color: white;
  background-color: var(--cp-green-light);
}

.bg-dark h2,
.bg-green h2 {
  color: white;
}

body .bg-green .btn:is(:hover, :active, :focus) {
  border-color: white;
}

body .bg-light {
  background-color: var(--cp-light) !important;
}

.bg-white-trans {
  background-color: var(--cp-white-trans);
}

.text-pink {
  color: var(--cp-pink);
  font-weight: 600;
}

.text-yellow {
  color: var(--cp-yellow);
  font-weight: 600;
}

.car-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.car-container::-webkit-scrollbar {
  display: none;
}

.car-track {
  display: flex;
  padding: 0 20px;
  gap: 15px;
}

.car-item {
  flex: 0 0 70%;
  scroll-snap-align: center;
}

.car-item:first-child {
  scroll-snap-align: start;
}

.car-item:last-child {
  scroll-snap-align: end;
}

.car-item h3 {
  font-size: 1.25rem;
}

.insert-access {
  aspect-ratio: 1;
  background: center/250% url(img/doodles.svg) var(--cp-green-light);
  box-shadow: var(--bs-box-shadow);
}

#you-are .col:nth-of-type(2) .insert-access {
  background-position: left top;
}

#you-are .col:nth-of-type(3) .insert-access {
  background-position: right bottom;
}

#you-are .col:nth-of-type(4) .insert-access {
  background-position: right top;
}

.training-card {
  box-shadow: var(--bs-box-shadow);
}

.access-link:is(:hover, :active, :focus) .insert-access,
.training-link:is(:hover, :active, :focus) .training-card {
  box-shadow: unset;
  transform: translateY(2px);
  transition: all 100ms;
}

body .accordion-item {
  border: unset;
  box-shadow: var(--bs-box-shadow-sm);
}

body .accordion-button,
body .accordion-body {
  color: var(--cp-green-dark);
}

button.accordion-button:not(.collapsed) {
  background-color: unset;
  color: var(--cp-green-dark);
}

body .accordion-button:focus {
  box-shadow: unset;
}

.wp-block-image figcaption {
  text-align: center;
  font-weight: bolder;
  background-color: var(--cp-green);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 0 0 1rem 1rem;
  margin-top: 0;
  color: white;
}

/* Gutenberg */
.wp-block-pullquote {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

blockquote p::before {
  content: '\0000AB\0000A0';
}

blockquote p::after {
  content: '\0000A0\0000BB';
}

.a-retenir {
  background-color: var(--cp-green-light);
  color: white;
  font-size: larger;
  padding: .75rem 1rem;
  border-radius: var(--bs-border-radius);
}

@media(min-width: 576px) {
  .car-track {
    padding: 0 10px;
    gap: 5px;
  }

  .car-item {
    flex-basis: 40%;
  }
}

@media(min-width: 992px) {
  .container {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .access-link h3 {
    font-size: 2rem;
  }

  .cta-insert .per {
    background: left bottom/25% url(img/characters.svg) no-repeat var(--cp-green-light);
  }

  .cta-insert.per.bg-dark {
    background: 93% bottom/32% url(img/characters-white.svg) no-repeat;
  }

  .cta-insert.per.bg-dark p {
    width: 75%;
  }

  .cta-insert .btn {
    align-self: end;
  }

  .training-attr {
    border-top: solid 1px;
    border-bottom: solid 1px;
    padding-top: 1.3rem;
  }

  .row.trainings .col:nth-of-type(3n) .card-text {
    background: bottom center/contain url(img/character-line.svg) no-repeat;
    padding-bottom: 4rem;
    margin-bottom: -2rem;
  }

  .trainings-grid .col:nth-of-type(3n+1) .training-attr {
    border-top: none;
    background: top center/contain url(img/character-line.svg) no-repeat;
    padding-top: 4.5rem;
    padding-bottom: .5rem;
  }

  .a-retenir {
    border-radius: var(--bs-border-radius-xl);
    padding: 1rem 1.5rem;
  }
}

@media(min-width: 1200px) {
  .cta-insert.per.bg-dark {
    background-size: 27%;
  }

  .cta-insert.per.bg-dark p {
    width: 73%;
  }
}

/* Titlebar */
#titlebar .bg-dark {
  background: center /30rem url(img/doodles.svg) repeat;
}

#titlebar .badge {
  background: var(--cp-gray);
  color: var(--cp-gray-dark);
  border-radius: var(--bs-border-radius-xl);
}

#titlebar .border-bottom {
  border-color: var(--cp-yellow) !important;
  border-bottom-width: 1px !important;
}

#titlebar .subtitle p:last-of-type {
  margin-bottom: 0;
}

.bg-dark .btn.titlebar-cta:not(:is(:hover, :active, :focus)) {
  background-color: var(--cp-yellow);
}

.breadcrumb-wrapper {
  background-color: var(--cp-light);
}

.breadcrumb-list {
  font-size: 80%;
}

.breadcrumb a,
.breadcrumb-list span span {
  color: var(--cp-black);
}

@media(min-width: 992px) {
  #titlebar {
    background-color: white;
  }

  .breadcrumb-wrapper {
    background-color: unset;
    font-weight: 500;
  }

  .breadcrumb-list span span {
    padding-left: .9rem;
    padding-right: .9rem;
  }

  .breadcrumb-list span span:first-of-type {
    padding-left: 0;
  }

  .single-formations #titlebar .subtitle {
    padding-bottom: 5rem;
  }

  .bg-juggle {
    background: left bottom/contain url(img/juggle.svg) no-repeat;
  }

  .bg-img {
    background: var(--cp-light) center/cover var(--cp-bg-img) no-repeat;
    border: 1rem white solid;
    border-radius: var(--bs-border-radius-xl);
    aspect-ratio: 4/3;
  }
}

/* Cards */
body .card:not(.bg-dark) {
  border-color: var(--cp-light) !important;
}

body .card:not(.bg-dark) .card-body {
  color: var(--cp-green-dark);
}

.card-header .favorite {
  color: var(--cp-yellow);
}

body .card:not(.bg-dark) .card-text,
body .card:not(.bg-dark) .card-title {
  color: var(--cp-green-dark);
}

body .badge {
  padding: .25rem .5rem;
  font-weight: 400;
}

body .card:not(.post-card) .badge {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  color: var(--cp-green);
  background-color: var(--cp-light-extra);
}

.post-card .badge {
  background-color: var(--cp-black);
  color: white;
  margin: 6px 0 0 6px;
}

.card table td,
.card table th {
  color: white;
  background-color: unset;
  padding-top: 3px;
  padding-bottom: 3px;
}

.card th {
  width: 1rem;
}

.badge:not(:last-of-type) {
  margin-right: .5rem;
}

@media(min-width: 992px) {
  .post-card .card-img-top {
    background: var(--cp-gray) center/cover var(--cp-bg-img);
    aspect-ratio: 5 /3;
  }
}

@media(min-width: 1200px) {
  body .badge {
    padding: .5rem 1rem;
  }
}

/* Header */
#top-bar {
  background-color: var(--cp-black) !important;
}

#top-bar .col:first-of-type a:not(:is(:hover, :active, :focus)) {
  color: white;
}

#top-bar .btn.btn-secondary {
  background-color: var(--cp-green-light);
  border-color: var(--cp-green-light);
  color: white;
  padding-top: 0;
  padding-bottom: 0;
  font-weight: 400;
}

#top-bar .btn.btn-secondary:is(:hover, :active, :focus) {
  background-color: var(--cp-black);
  border-color: white;
}

#top-bar .dropdown-toggle::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
}

#top-bar .col:last-of-type a:not(:is(:hover, :active, :focus)):not(.dropdown-item),
.domain-shorts a {
  color: var(--cp-yellow);
}

#top-bar a:is(:hover, :active, :focus) {
  color: var(--cp-green-light);
}

.navbar .logo {
  max-width: 8rem;
}

.navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: none;
  background-color: var(--cp-black);
  mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='#1B3421' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

#mega-menu-wrap-main>.mega-menu-toggle,
#mega-menu-wrap-main #mega-menu-main>li.mega-menu-item.mega-toggle-on>a.mega-menu-link {
  background-color: unset;
}

.mega-toggle-animated-inner,
.mega-toggle-animated-inner::before,
.mega-toggle-animated-inner::after {
  background-color: var(--cp-black) !important;
}

#mega-menu-wrap-main .btn a {
  color: white;
  width: 90% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: inherit !important;
}

#mega-menu-wrap-main .mega-menu-toggle+#mega-menu-main {
  background-color: white;
}

#mega-menu-wrap-main #mega-menu-main>li.mega-menu-item:not(.btn, .mega-current_page_item)>a.mega-menu-link,
.mega-block-title {
  color: var(--cp-black) !important;
}

#mega-menu-main>li>a {
  font-weight: 600 !important;
}

.mega-current_page_item>a {
  background-color: unset !important;
  color: var(--cp-green-light) !important;
}

.mega-menu-row>ul>li>ul>.mega-menu-item-has-children>a {
  color: var(--cp-black) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.mega-sub-menu li>a.mega-menu-link {
  text-transform: unset !important;
  color: var(--cp-gray-dark);
  font-weight: 400 !important;
  font-size: 15px !important;
}

.mega-sub-menu li>a.mega-menu-link:is(:hover, :active, :focus) {
  color: var(--cp-green-light) !important;
}

#mega-menu-wrap-main #mega-menu-main>li.mega-menu-item:not(.btn)>a.mega-menu-link,
.mega-sub-menu {
  background-color: white !important;
}

.mega-sub-menu {
  padding-top: 0;
}

@media(max-width: 991.98px) {

  .dropdown-toggle::after,
  .footer-accordion [data-bs-toggle="collapse"]::after {
    display: inline-block;
    content: "";
    width: 1rem;
    height: 1rem;
    margin-left: .5em;
    vertical-align: middle;
    border: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.2s ease-in-out;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  #top-bar .dropdown-toggle.show::after,
  .show>.dropdown-toggle::after,
  .dropdown-toggle.show::after,
  .footer-accordion [aria-expanded="true"]::after {
    transform: rotate(180deg) translateY(8px);
  }

  #mega-menu-wrap-main #mega-menu-main>li.mega-menu-item:not(.cta, .btn-primary),
  #mega-menu-wrap-main>li {
    border-bottom: solid 1px var(--cp-gray);
  }

  #mega-menu-main .textwidget {
    display: none;
  }

  #mega-menu-wrap-main #mega-menu-main li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
  }

  #mega-menu-wrap-main #mega-menu-main li:not(.btn)>a.mega-menu-link {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

}

@media(min-width: 992px) {
  #mega-menu-wrap-main>li {
    border-bottom: unset;
  }

  #mega-menu-wrap-main .dropdown-toggle {
    padding-right: 1.25rem;
  }

  #mega-menu-wrap-main #mega-menu-main>li.mega-menu-item>a.mega-menu-link:hover,
  #mega-menu-wrap-main #mega-menu-main>li.mega-menu-item>a.mega-menu-link:focus {
    background: unset;
    color: var(--cp-green-light) !important;
    font-weight: bolder;
  }

  #mega-menu-wrap-main #mega-menu-main li.mega-menu-item.mega-toggle-on>ul.mega-sub-menu {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 1rem;
  }

  #mega-menu-wrap-main #mega-menu-main li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {
    padding: 8px 1rem;
  }

  .mega-menu-item-type-widget {
    padding-bottom: 0 !important;
  }

  .mega-menu-item-type-widget h4 {
    border-bottom: solid 1px var(--cp-gray) !important;
    padding-bottom: 8px !important;
  }
}

/* Footer */
footer .logo {
  width: 12rem;
}

footer a {
  color: var(--cp-green-dark);
}

.footer-accordion li {
  padding-top: .25rem;
  padding-bottom: .25rem;
}

footer .logos img {
  height: 3.5rem;
}

footer .socials svg {
  height: 1.5rem;
}

.catalog svg {
  height: 1rem;
}

/* .catalog a:is(:hover, :active, :focus) span{
  color: red;
}
.catalog a:is(:hover, :active, :focus) svg {
  color: var(--cp-blue);
} */

#copyright {
  font-size: 80%;
}

#menu-copyright li {
  margin-right: .5rem;
}

#menu-copyright .nav-link:is(:hover, :active, :focus) {
  color: var(--cp-blue);
}

@media (max-width: 991.98px) {
  .footer-accordion [data-bs-toggle="collapse"] {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .footer-accordion-item {
    border-bottom: 1px solid var(--cp-light);
  }
}

@media (min-width: 992px) {
  .footer .logo {
    width: 7rem;
  }

  .footer-accordion [data-bs-toggle="collapse"] {
    pointer-events: none;
    cursor: default;
  }

  .footer-accordion-item {
    border-bottom: unset;
  }
}

/* Forms */
body .form-control,
body [data-hsfc-id=Renderer] .hsfc-TextInput,
body .form-control,
body [data-hsfc-id=Renderer] .hsfc-TextInput {
  background-color: var(--cp-light-extra);
  border-color: var(--cp-gray);
  border-width: 2px;
  padding: .375rem .75rem;
  color: var(--bs-body-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: var(--bs-border-radius);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

body [data-hsfc-id=Renderer] .hsfc-Step .hsfc-Step__Content {
  padding: 0;
  background-color: white;
}

body [data-hsfc-id=Renderer] .hsfc-TextInput:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

body .form-check-input:checked {
  background-color: var(--cp-green-dark);
  color: var(--cp-green-dark);
}

.hs-form-html label span {
  color: var(--cp-green-dark) !important;
}

.hs-form-html label span strong {
  font-weight: normal;
}

#form-nl {
  margin-top: 1rem;
  margin-bottom: 3rem;
}

#form-nl .hsfc-FieldLabel__RequiredIndicator {
  display: none;
}

.hsfc-RichText,
.hsfc-RichText span {
  color: var(--cp-green-dark) !important;
}

#form-nl .hsfc-Step__Content {
  padding: 0;
}

#form-nl .hsfc-Row {
  margin: 0;
  flex-grow: 1;
  width: auto;
}

#form-nl .hsfc-NavigationRow,
#form-nl .hsfc-NavigationRow__Alerts {
  margin: 0;
}

#form-nl .hsfc-NavigationRow__Alerts .hsfc-ErrorAlert {
  transform: translateY(3rem);
}

#form-nl button {
  width: 100%;
}

#form-nl input {
  margin-bottom: 0;
}

.hsfc-Step__Banner {
  display: none;
}

@media (min-width: 576px) {
  #form-nl .hsfc-Step__Content .hsfc-ErrorAlert {
    position: absolute;
  }

  #form-nl .hsfc-Step__Content {
    display: flex;
    align-items: end;
  }

  #form-nl button {
    margin-top: 0;
    width: fit-content;
  }

  #form-nl .hsfc-Row {
    margin-right: .5rem;
  }
}

@media (min-width: 992px) {
  .btn[type="submit"] {
    width: auto;
    margin-top: 0;
  }
}

/* Cookies */
.cmplz-cookiebanner .cmplz-buttons button.cmplz-btn {
  width: 100%;
}

.cmplz-message p {
  margin-bottom: 0;
}

.cmplz-divider.cmplz-divider-header {
  display: none;
}

#cmplz-manage-consent button.cmplz-manage-consent {
  padding: 3px 8px;
  height: auto;
}

/* HP */
#hero .fs-1 {
  line-height: normal;
}

#hero {
  padding-bottom: 5rem;
}

.direct-access a.btn {
  background-color: var(--cp-light);
  border-color: var(--cp-light);
  color: var(--cp-gray-dark);
  font-weight: 400;
  padding: 4px 11px;
}

.direct-access a:not(:last-of-type) {
  margin-right: .5rem;
}

#key-nbs,
#training-grids-and-filters .cta-insert {
  background: center / 30rem url(img/doodles.svg);
}

#campus-list a {
  color: unset;
}

.trans-wrapper {
  background-color: white;
}

#domains h3 {
  font-weight: 600;
}

#domains img {
  max-height: 46px;
}

@media (max-width: 991.98px) {

  #domains .container {
    padding-top: 0;
  }

  .entity {
    background-color: var(--cp-light);
  }

  .entities .btn {
    width: stretch;
  }

  #group p:not(:first-of-type) {
    display: none;
  }
}

@media(min-width: 992px) {
  #hero {
    background: right center / contain var(--cp-bg-img) no-repeat;
    padding-bottom: 10rem;
  }

  .trans-wrapper {
    background-color: var(--cp-white-trans);
  }

  #you-are {
    position: relative;
  }

  #you-are>.row {
    position: absolute;
    margin-top: -6rem;
  }

  #domains {
    background: right 30%/10rem url(img/character-to-left.svg) no-repeat;
  }

  #tremplin-horizon {
    background: 83% top/12rem url(img/character-hello.svg) no-repeat, -9rem 75%/15rem url(img/character-to-right.svg) no-repeat;
  }

  #key-nbs {
    background-size: 55%;
  }

  .logo-bck {
    background: var(--cp-light) center/14rem url(img/logo-ibp-groupe.svg) no-repeat;
  }
}

/* Formation */
.single-formations main {
  background: var(--cp-light-extra);
}

.nav-scroll-container {
  position: relative;
}

.nav-pills button {
  background-color: transparent;
  color: var(--cp-green-dark);
}

.nav-pills button.nav-link.active {
  background-color: transparent;
  border-bottom: solid 5px var(--cp-green);
  color: var(--cp-green-dark);
  border-radius: 0;
}

#details .text-uppercase.d-none {
  font-size: 80%;
  letter-spacing: 10%;
}

@media (max-width: 991.98px) {
  .nav-scroll-container {
    background-color: white;
    border-bottom: 2px solid var(--cp-gray);
  }

  .custom-nav-scroll {
    padding-right: 40px;
    overflow-x: auto;
    display: flex;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;

    &::-webkit-scrollbar {
      display: none;
    }

    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .custom-nav-scroll .nav-link {
    flex: 0 0 auto;
    margin-right: 5px;
  }

  .nav-pills button:first-of-type {
    margin-left: .5rem;
  }

  #details>.row>.col-12:first-of-type {
    box-shadow: var(--bs-box-shadow-sm)
  }

}

@media (min-width: 992px) {
  .nav-pills button.nav-link {
    background-color: white;
    border-bottom: unset;
    border-radius: var(--bs-border-radius);
    width: 16rem;
  }

  .nav-pills button.nav-link.active,
  .nav-pills button.nav-link:is(:hover, :active, :focus) {
    font-weight: 500;
    box-shadow: var(--bs-box-shadow-sm);
    background-color: white;
    border-bottom: none;
    border-radius: var(--bs-border-radius);
    color: var(--cp-green-dark);
  }

  #details {
    background: -58px 28rem / 13rem url('img/character-to-right.svg') no-repeat;
  }

  .row-cta {
    background: 22% center / contain url('img/character-to-left.svg') no-repeat;
    padding-bottom: 5rem;
  }
}

@media(min-width: 1200px) {
  #titlebar .border-bottom {
    border-bottom-width: 2px !important;
  }

  .row-cta {
    background-position-x: 14%;
  }

}

@media(min-width: 1400px) {

  .row-cta {
    background-position-x: 17%;
  }

}

/* Archive formations */
#offcanvasFilters {
  z-index: 10000;
}

#offcanvasFooter {
  border-top: solid 1px var(--bs-border-color);
}

#ctas img {
  rotate: -90deg;
  height: 16rem;
  transform-origin: left;
  right: 12%;
}

#ctas .position-relative:last-of-type {
  height: 9rem;
}

#accordionFilters .accordion-button {
  box-shadow: unset;
}

@media(min-width: 992px) {
  #offcanvasFooter {
    border-top: none;
  }

  #all-trainings-hero .col-12.d-flex>div:first-of-type {
    padding-bottom: 17rem;
  }

  #all-trainings-hero {
    background: center bottom / 100% var(--cp-bg-img) no-repeat;
  }

  #training-grids-and-filters .cta-insert {
    padding: 2rem !important;
  }

  #training-grids-and-filters .cta-insert .btn {
    align-self: unset;
  }

  .training-attr {
    border-bottom: solid 1px;
  }

  #ctas .col {
    padding-top: 8rem;
  }

  #ctas .overlay-img {
    background: 82% bottom / 15rem url(img/character-hello.svg) no-repeat;
    height: 10rem;
  }

  #ctas .position-relative:last-of-type {
    height: 15rem;
  }

  #ctas img {
    height: 22rem;
  }
}

@media(min-width: 1200px) {

  #all-trainings-hero .col-12.d-flex>div:first-of-type {
    padding-bottom: 16rem;
  }
}

@media(min-width: 1300px) {

  #all-trainings-hero .col-12.d-flex>div:first-of-type {
    padding-bottom: 20rem;
  }
}

@media(min-width: 1400px) {

  #all-trainings-hero {
    background-size: 1400px;
  }
  #all-trainings-hero .col-12.d-flex>div:first-of-type {
    padding-bottom: 25rem;
  }
}

/* Autres archives */
@media(min-width: 992px) {
  .archive .post-thumbnail {
    aspect-ratio: 16/9;
    background: center/cover var(--cp-bg-img);
  }

}

/* Contact */
#form-contact [data-hsfc-id=Renderer] .hsfc-NavigationRow {
  margin-top: 0;
}

#form-contact .hsfc-Row:last-of-type {
  margin-bottom: 0;
}