/* ==========================================================================
   Anderlecht2026 - site styles (reproduces https://jobs.anderlecht.be)
   Upload to <CDN>/Anderlecht2026/Ressources/Styles/anderlecht2026.css and link it AFTER
   Anderlecht2026/Ressources/Styles/default.css (the site still links the ProfileGroup2021
   default.css, which does not exist: replace that link).
   Images are loaded from https://cdn.talentfinder.be/Anderlecht2026/Ressources/Images/assets/.

   Reused as they are from NewCommon.css (not redefined here):
     - page skeleton of the WCAG engine (#header, #wrap-container, #sidebar-left, #main, #footer)
     - pager arrows (.pagePrec, .pageSuiv, .pageFirst, .pageLast) and pager flex layout
     - from the template's own default.css (Anderlecht2026/Ressources/Styles/default.css, to link
       before this file): upload box (.tableBox, #upload-cv-container), Material UI field layout
       grids of the forms
     - My Profile step bar (.myjobsite-breadcrumb) and left menu structure (#leftMenu)
     - theme variables: --primary-color, --heading-color, --text-color, --font-family
   Added here: font, header (top bar, search, commune menu, breadcrumb), left column (jobsite menu,
   job categories), footer, and the Anderlecht look of cards, titles, buttons, pager, forms,
   login, profile and cookie banner.
   Font sizes are in rem so the A+ / A- buttons of the header scale the whole page.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap");

/* ---------- Variables ----------
   Theme form (back office): primary #0178cc, heading #0178cc, text #656565. */
:root {
  --adl-font: "Raleway", sans-serif;
  --adl-primary-dark: #015a99;     /* buttons on hover */
  --adl-primary-darker: #014576;
  --adl-link-hover: #0056b3;
  --adl-sky: #33a2ef;              /* job card on hover, list icons */
  --adl-orange: #ec4800;           /* job titles, parent categories, upload button */
  --adl-muted: #6c757d;
  --adl-page: #f3f3f3;
  --adl-band: #c4c4c4;             /* search band */
  --adl-band-light: #dcdcdc;       /* menu panel, breadcrumb */
  --adl-footer: #46494b;
  --adl-line: #e5e5e5;
}

/* The site prints the theme form as a :root block inside <body>, after this file. Setting the
   colours on body makes them win even when the theme form holds other values; NewCommon.css reads
   the same variables, so its rules follow too. */
body {
  --primary-color: #0178cc;
  --heading-color: #0178cc;
  --text-color: #656565;
  --bs-link-color: #0178cc;
  --bs-link-color-rgb: 1, 120, 204;
  --bs-link-hover-color: #0056b3;
  --bs-link-hover-color-rgb: 0, 86, 179;
}

/* ---------- Base ---------- */
html, body { font-family: var(--adl-font); }
body { background: var(--adl-page) !important; color: var(--text-color); font-size: 0.875rem; line-height: 1.4286; font-variant-numeric: lining-nums; }
#wrap-container { background: transparent; }
body a { color: var(--primary-color); text-decoration: none; }
body a:hover { color: var(--adl-link-hover); text-decoration: underline; }
body :is(strong, b) { font-weight: 700; }
body :is(h1, h2, h3, h4, h5, h6) { font-family: inherit; }
.adl-nav [hidden], .adl-breadcrumb [hidden] { display: none !important; }

#header .container, #footer .container, #main-content, #main-content > .row { --bs-gutter-x: 30px; }
@media (min-width: 1200px) {
  #header .container, #footer .container, #main-content { max-width: 1170px; }
}
body #main-content { padding-top: 30px !important; padding-bottom: 30px !important; }

/* Left column on every page, whatever layout the page has in the builder ("Wide" hides it). */
body:not(.myjobsite) #sidebar-left { display: block; }
@media (min-width: 992px) {
  body:is(.full-wide, .center-sidebar):not(.myjobsite) #main.col-xs-12.col-sm-12.col-md-12.col-lg-8 { flex: 0 0 66.66667%; max-width: 66.66667%; }
}
@media (max-width: 991.98px) {
  #sidebar-left { margin-bottom: 30px; }
}

/* Bootstrap 4 classes still used by component markup, dead in Bootstrap 5 */
.text-right { text-align: right; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }

/* Titles */
body .main-title { padding: 0 0 10px; }
body .main-title h1, body h1.greenH1 {
  margin: 20px 0 10px; padding: 0;
  font-size: 1.3125rem; font-weight: 500 !important; line-height: 1.1; text-transform: uppercase;
  color: var(--heading-color);
}
body h1.greenH1 { margin-bottom: 30px; font-weight: 700 !important; }
body .main-title h1.greenH1 { margin-bottom: 20px; }
body #main .title-Myjob-h1 {
  margin: 30px 0 15px;
  font-size: 1.125rem; font-weight: 500; line-height: 1.1; text-transform: uppercase;
  color: var(--primary-color) !important;
}

/* Cards: flat white blocks */
#main .card { border: 0; border-radius: 0 !important; background: #fff; box-shadow: none; }
#main .card > .card-body { padding: 20px; }

/* Buttons drawn by the components */
:is(#main, #sidebar-left) .btn-primary {
  display: inline-block; padding: 6px 12px;
  border: 1px solid #0169b3; border-radius: 4px;
  background-color: var(--primary-color); box-shadow: none;
  color: #fff !important; font-size: 0.875rem; font-weight: 500; line-height: 1.4286;
  text-align: center; text-transform: none; text-decoration: none !important;
}
:is(#main, #sidebar-left) .btn-primary:is(:hover, :focus, :active) {
  border-color: var(--adl-primary-darker) !important; background-color: var(--adl-primary-dark) !important; color: #fff !important;
}
#main .btn-primary.apply-btn { width: 100%; padding: 10px !important; }

/* ---------- Header: top bar (Header-Level-1) ---------- */
#header { background: #fff; }
.adl-skip:focus { position: absolute; top: 4px; left: 4px; z-index: 1100; padding: 6px 12px; border-radius: 4px; background: #fff; }
.adl-topbar { background: #fff; color: var(--text-color); }
.adl-topbar__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 0 20px; min-height: 27px; padding-top: 4px; }
.adl-topbar__left { min-width: 0; }
.adl-topbar__name { margin-right: 5px; font-weight: 700; text-transform: uppercase; }
.adl-topbar__right { display: flex; flex: 0 0 auto; align-items: center; margin: -2px 0 0; padding: 0; list-style: none; }
.adl-topbar__right > li { display: flex; align-items: center; margin-left: 5px; }
.adl-topbar__right a { padding: 2px; font-weight: 500; text-transform: uppercase; }
.adl-font { padding: 2px; border: 0; background: transparent; color: var(--text-color); font-weight: 500; line-height: 1.4286; }
.adl-font--minus { font-size: 0.75rem; }
.adl-font:is(:hover, :focus-visible) { color: var(--adl-link-hover); text-decoration: underline; }

/* ---------- Header: search band (Header-Level-1) ---------- */
.adl-search { padding: 20px 0 21px; background: var(--adl-band); }
.adl-search__inner { display: flex; align-items: center; gap: 15px; }
.adl-search__form { display: flex; flex: 1 1 auto; min-width: 0; }
.adl-search__input {
  flex: 1 1 auto; min-width: 0; height: 34px; padding: 5px 12px;
  border: 1px solid #fff; border-right: 0; border-radius: 4px 0 0 4px; outline: 0;
  background: #fff; color: #555; font-size: 0.875rem;
}
.adl-search__input:focus { border-color: #66afe9; box-shadow: 0 0 8px rgba(102, 175, 233, 0.6); }
.adl-search__button { flex: 0 0 42px; height: 34px; padding: 0; border: 0; border-radius: 0 4px 4px 0; background: #fff; color: var(--primary-color); font-size: 1.125rem; line-height: 1; }
.adl-search__button:is(:hover, :focus-visible) { color: var(--adl-link-hover); }
.adl-search__irisbox { flex: 0 0 150px; margin: -9px 0; }
.adl-search__irisbox img { display: block; width: 150px; height: auto; }
@media (max-width: 767.98px) {
  .adl-topbar__address, .adl-search__irisbox { display: none; }
  .adl-search { padding: 12px 0; }
}

/* ---------- Header: commune menu (Header-Level-2) ----------
   Tabs in a row; the panel of the open tab takes the full width under the row (the list items
   are flattened with display: contents so tabs and panels share one flex container). */
.adl-nav { position: relative; background: var(--adl-page); }
.adl-nav__list { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0; padding: 13px 5px; list-style: none; }
.adl-nav__item { display: contents; }
.adl-nav__tab {
  order: 1; display: flex; align-items: center; min-height: 38px; padding: 5px;
  border: 0; border-radius: 3px; background: #fff; color: #555;
  font-size: 0.875rem; font-weight: 700; line-height: 1; text-align: left; text-transform: uppercase; text-decoration: none !important;
}
.adl-nav__tab:is(:hover, :focus-visible) { color: #333; }
.adl-nav__tab[aria-expanded="true"] { color: var(--primary-color); }
button.adl-nav__tab span::after { content: ""; display: inline-block; margin-left: 4px; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; vertical-align: middle; }
.adl-nav__item--home .adl-nav__tab { padding: 5px 15px; font-size: 1.5625rem; }
.adl-nav__panel {
  order: 2; flex: 0 0 100%; margin: 3px -5px -13px; padding: 5px 0 15px;
  background: var(--adl-band-light); box-shadow: 0 0 0 100vmax var(--adl-band-light); clip-path: inset(0 -100vmax);
}
.adl-nav__close { padding: 5px 0; text-align: right; }
.adl-nav__close button, .adl-breadcrumb__open { padding: 0; border: 0; background: transparent; color: var(--primary-color); font-size: 0.875rem; line-height: 1.4286; }
.adl-nav__close button:is(:hover, :focus-visible), .adl-breadcrumb__open:is(:hover, :focus-visible) { color: var(--adl-link-hover); text-decoration: underline; }
.adl-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px 0; margin: 0; padding: 0; list-style: none; }
.adl-tile { display: block; padding: 0 5px; color: var(--primary-color); text-align: center; text-decoration: none !important; }
.adl-tile__icon { display: block; width: 140px; max-width: 100%; aspect-ratio: 1; margin: 0 auto 10px; border: 2px solid var(--primary-color); border-radius: 20px; background: #fff; }
.adl-tile__icon img { display: block; width: 80%; height: 80%; margin: 10% auto 0; }
.adl-tile__label { display: block; max-width: 150px; margin: 0 auto; font-size: 1.1375rem; line-height: 1.2; }
.adl-tile:is(:hover, :focus-visible, .is-current) .adl-tile__icon { background: var(--primary-color); }
.adl-tile:is(:hover, :focus-visible, .is-current) .adl-tile__icon img { filter: brightness(0) invert(1); }
.adl-nav__toggle { display: none; }

@media (max-width: 1199.98px) {
  .adl-tiles { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767.98px) {
  /* phones: menu button, tabs stacked, the open panel under its own tab */
  .adl-nav { background: var(--adl-band-light); }
  .adl-nav > .container { display: flex; flex-direction: column; }
  .adl-nav__toggle { display: block; align-self: flex-end; margin: 8px 0; padding: 9px 10px; border: 1px solid #ddd; border-radius: 4px; background: transparent; }
  .adl-nav__toggle:is(:hover, :focus-visible) { background: #ddd; }
  .adl-nav__bar { display: block; width: 22px; height: 2px; border-radius: 1px; background: #888; }
  .adl-nav__bar + .adl-nav__bar { margin-top: 4px; }
  .adl-nav__list { display: none; flex-direction: column; flex-wrap: nowrap; gap: 6px; padding: 0 0 12px; }
  .adl-nav__list.is-open { display: flex; }
  .adl-nav__item { display: block; }
  .adl-nav__tab { width: 100%; justify-content: space-between; padding: 8px 10px; }
  .adl-nav__tab br { display: none; }
  .adl-nav__item--home .adl-nav__tab { justify-content: flex-start; padding: 5px 10px; }
  .adl-nav__panel { margin: 0; padding: 5px 0 10px; box-shadow: none; clip-path: none; }
  .adl-tiles { grid-template-columns: repeat(2, 1fr); }
  .adl-tile__icon { width: 110px; }
  .adl-tile__label { font-size: 1rem; }
}

/* ---------- Header: breadcrumb (Header-Level-2) ---------- */
.adl-breadcrumb { margin-bottom: 15px; background: #dddcdc; }
.adl-breadcrumb__inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 36px; }
.adl-breadcrumb__list { display: flex; flex-wrap: wrap; margin: 0; padding: 8px 15px; list-style: none; }
.adl-breadcrumb__list li + li::before { content: "/"; padding: 0 9px 0 5px; color: #ccc; }
.adl-breadcrumb__list li.is-current { color: #777; }
@media (max-width: 767.98px) {
  .adl-breadcrumb__open { display: none; }
  .adl-breadcrumb__list { padding-left: 0; }
}

/* ---------- Left column: jobsite menu and job categories (Sidebar-Left) ---------- */
.adl-sidemenu, .adl-categories { padding: 20px 10px; background: #fff; }
.adl-sidemenu__title { margin: 0; padding: 0 0 15px 10px; color: var(--primary-color); font-size: 1.3125rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.adl-sidemenu ul { margin: 0 0 10px; padding: 0 0 0 34px; list-style: disc; }
.adl-sidemenu li a { color: var(--text-color); font-weight: 500; }
.adl-sidemenu li a:hover { color: var(--adl-link-hover); }
.adl-sidemenu li.is-active a { color: var(--primary-color); font-weight: 700; }

/* Job categories: jobs-category-filter plugin (display mode "List") redrawn as the two-level list
   of the reference: parent in orange, children in blue with their number of jobs. */
.adl-categories:not(:has(a.link)) { display: none; }
/* spare copy of the listing page: only when the sidebar did not draw the categories */
body:has(#sidebar-left .adl-categories a.link) .adl-categories--spare { display: none; }
.adl-categories--spare { margin-bottom: 15px; }
.adl-categories .jobs-category-filter.card { margin: 0 !important; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.adl-categories .jobs-category-filter .card-body { padding: 0 0 0 21px; }
.adl-categories .jobs-category-filter :is(.reset-link, input, i.icon, .plugins-title) { display: none !important; }
.adl-categories .jobs-category-filter .head-panel { display: block !important; height: auto !important; margin: 0 0 15px; padding: 0; border: 0; background: transparent; }
.adl-categories .jobs-category-filter .head-panel:last-child { margin-bottom: 0; }
.adl-categories .jobs-category-filter .custom-control { display: block; min-height: 0; margin: 0; padding: 0; }
.adl-categories .jobs-category-filter .custom-control-label { display: inline; margin: 0; padding: 0; font-size: 0.875rem; font-weight: 400; line-height: 1.4286; }
.adl-categories .jobs-category-filter .custom-control-label::before, .adl-categories .jobs-category-filter .custom-control-label::after { display: none !important; }
.adl-categories .jobs-category-filter .main-category { display: list-item; list-style: disc; }
.adl-categories .jobs-category-filter .main-category::marker { color: var(--text-color); }
.adl-categories .jobs-category-filter .main-category a.link { color: var(--adl-orange); font-weight: 700; }
.adl-categories .jobs-category-filter .main-category .cat-item-count { display: none; }
.adl-categories .jobs-category-filter .sub-category { padding-left: 21px; }
.adl-categories .jobs-category-filter .sub-item { display: list-item; list-style: circle; margin: 0; padding: 0; }
.adl-categories .jobs-category-filter .sub-item a.link { color: var(--primary-color); font-weight: 400; }
.adl-categories .jobs-category-filter a.link:hover { color: var(--adl-link-hover); text-decoration: underline; }
.adl-categories .jobs-category-filter .cat-item-count { display: inline; margin: 0; padding: 0; border-radius: 0; background: transparent !important; color: var(--primary-color) !important; font-size: inherit; font-weight: 400; line-height: inherit; word-spacing: -0.3em; vertical-align: baseline; }
/* category the list is filtered on: dark and bold, no underline, no badge. NewCommon.css styles the
   active item with #collapse-cat, five classes and !important, hence the long selectors here. */
.adl-categories.adl-categories .jobs-category-filter.card #collapse-cat .isActive a.link,
.adl-categories.adl-categories .jobs-category-filter.card #collapse-cat .isActive .cat-item-count,
.adl-categories.adl-categories .jobs-category-filter.card #collapse-cat .isActive .cat-item-count * { color: var(--text-color) !important; font-weight: 700; text-decoration: none !important; }
.adl-categories.adl-categories .jobs-category-filter.card #collapse-cat .isActive .cat-item-count.badge { background-color: transparent !important; }

/* ---------- Job listing ---------- */
.modules-jobs-listing.ourjobs .job-count h3 { margin: 0 0 15px; font-size: 0.875rem; font-weight: 400; line-height: 1.4286; text-align: left; color: var(--text-color); }

body.jobs-listing div.jobs-list-container { display: flex; flex-wrap: wrap; gap: 0; }
body.jobs-listing div.jobs-list-container div.jobs-items { display: block; flex: 0 0 100%; max-width: 100%; margin-bottom: 10px; }
body.jobs-listing div.jobs-list-container div.jobs-items a.title-overflow-card { display: block; width: 100%; height: 100%; color: inherit; text-decoration: none; }
body.jobs-listing div.jobs-list-container div.jobs-items .card { height: 100%; border-radius: 0 !important; background: #fff; color: var(--text-color); }
/* hover, as on the reference: the whole card turns sky blue, every text white */
body.jobs-listing #main div.jobs-list-container div.jobs-items:hover .card { background: var(--adl-sky); color: #fff; }
body.jobs-listing #main div.jobs-list-container div.jobs-items .card .card-body,
body.jobs-listing #main div.jobs-list-container div.jobs-items .card .card-body:hover { padding: 20px; border: 0; border-radius: 0; background: transparent; }
body.jobs-listing div.jobs-list-container div.jobs-items:hover .card :is(h3.job-title, .job-info-container span, .job-info-container i, .job-cat span, .teaser.job-teaser, .unpublished-date, .unpublished-date *) { color: #fff !important; }
body.jobs-listing div.jobs-list-container div.jobs-items:hover .card .unpublished-date { border-top-color: rgba(255, 255, 255, 0.5); }

.jobs-items .job-title-container.has-logo { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.jobs-items .card-logo { flex: 0 0 auto; width: auto; max-width: 120px; max-height: 40px; }
body.jobs-listing .jobs-items .card .card-body h3.job-title {
  min-width: 0; margin: 0 0 7px !important; padding: 0 0 5px !important;
  font-size: 1.0588rem; font-weight: 700; line-height: 1.1; color: var(--adl-orange);
}
body.jobs-listing .jobs-items .card .card-body h3.job-title .title-overflow { display: block; max-height: none; overflow: hidden; line-height: inherit; text-overflow: ellipsis; white-space: nowrap; -webkit-line-clamp: unset; }

.jobs-items .job-info-container { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 !important; }
.jobs-items .job-info-container > div { display: flex; flex: 0 0 50%; gap: 11px; max-width: 50%; padding: 0 15px 0 0 !important; margin: 0 !important; }
.jobs-items .job-info-container i { flex: 0 0 14px; margin: 3px 0 0; color: var(--adl-sky); font-size: 0.875rem; text-align: center; }
body.jobs-listing .jobs-items .card .job-info-container span { color: var(--adl-muted); }

.jobs-items .job-cat-container { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.jobs-items .job-cat span { display: inline-block; padding: 2px 8px; border-radius: 3px; background: var(--adl-page); color: var(--text-color); font-size: 0.75rem; line-height: 1.4; }
body.jobs-listing .jobs-items:hover .job-cat span { background: rgba(255, 255, 255, 0.2); }

body.jobs-listing .jobs-items .card .card-body .teaser.job-teaser {
  flex-grow: 0; margin: 0 !important; padding-top: 9px !important;
  color: var(--text-color); font-size: 0.875rem; line-height: 1.4286;
}
.jobs-items .unpublished-date { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--adl-line); color: var(--text-color); }
.jobs-items .unpublished-date i { margin-right: 5px; }
.jobs-items .unpublished-date .undate-text { margin-right: 5px; color: var(--adl-muted); }

body.jobs-listing .jobs-items .card .mission-picture-container { height: 180px; overflow: hidden; border-radius: 0; background-position: center; background-size: cover; }
.jobs-items .mission-picture-container img { width: 100%; height: 100%; object-fit: cover; opacity: 0; }

/* "Columns" setting of the page (1 = the reference layout) */
@media (min-width: 576px) {
  body.jobs-listing div.jobs-list-container:is(.columns-2, .columns-3, .columns-4, .columns-5) div.jobs-items { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 1200px) {
  body.jobs-listing div.jobs-list-container.columns-3 div.jobs-items { flex: 0 0 33.3333%; max-width: 33.3333%; }
  body.jobs-listing div.jobs-list-container.columns-4 div.jobs-items { flex: 0 0 25%; max-width: 25%; }
  body.jobs-listing div.jobs-list-container.columns-5 div.jobs-items { flex: 0 0 20%; max-width: 20%; }
}
.jobs-list-container:is(.columns-2, .columns-3, .columns-4, .columns-5) .job-info-container > div { flex: 0 0 100%; max-width: 100%; }
@media (max-width: 575.98px) {
  .jobs-items .job-info-container > div { flex: 0 0 100%; max-width: 100%; }
}

/* Empty state */
.jobs #modules-jobs-listing .modules-jobs-listing.ourjobs .content-container .card .card-body.no-job-found { padding: 30px 20px; border: 0; border-radius: 0; background: #fff; }
.jobs #modules-jobs-listing .modules-jobs-listing.ourjobs .content-container .card .card-body.no-job-found .card-title { margin: 0 0 10px; font-size: 1.0588rem; font-weight: 700; line-height: 1.1; color: var(--adl-orange); }
.jobs #modules-jobs-listing .modules-jobs-listing.ourjobs .content-container .card .card-body.no-job-found .card-text p { margin: 0; font-size: 0.875rem; line-height: 1.4286; color: var(--text-color); }

/* Pager */
.pager-container.ourjobsinfo { padding: 10px 0 30px; }
.pager-container.ourjobsinfo .showing { color: var(--text-color); line-height: 1.4286; }
.pager-container.ourjobsinfo .showing span { margin: 0 0.3em; }
.pager-content .pager-container.ourjobsinfo .showing span,
.pager-content .pager-container.ourjobsinfo .showing span a,
.pager-content .pager-container.ourjobsinfo .showing span a:hover { color: var(--primary-color) !important; font-weight: 700; text-decoration: none; }
.pager-content span.pageNumDisabled { padding: 4px 9px; border: 1px solid var(--primary-color); border-radius: 4px; background-color: var(--primary-color); color: #fff !important; }
.pager-content a.pageNumActive, .pager-content a.page { padding: 4px 9px; border: 1px solid #dee2e6; border-radius: 4px; background-color: #fff; color: var(--primary-color); text-decoration: none; }
.pager-content a.pageNumActive:hover, .pager-content a.page:hover { border-color: var(--primary-color); background-color: var(--primary-color); color: #fff; text-decoration: none; }
.pager-content a.page :is(.pagePrec, .pageSuiv, .pageFirst, .pageLast),
.pager-content a.page :is(.pagePrec, .pageSuiv, .pageFirst, .pageLast):hover { margin: 0; padding: 0; border: 0; background: transparent; color: inherit; }

/* ---------- Job details ---------- */
.jobdetail .row-share { margin: 0; }
.jobdetail .row-share .share { padding: 0; }
.jobdetail .share ul { overflow: hidden; margin: 15px 0 30px; padding: 0; background: #fff; list-style: none; }
.jobdetail .share li { float: left; border: 0; }
.jobdetail .share li a { display: block; padding: 15px; background: #fff; color: var(--primary-color) !important; font-size: 0.875rem !important; line-height: 1; text-decoration: none; }
.jobdetail .share li a:is(:hover, :focus, :active) { background: var(--primary-color) !important; color: #fff !important; text-decoration: none; }

.jobdetail .job-banner { margin-bottom: 30px; }
.jobdetail .job-banner img { display: block; width: 100%; height: auto; }

.jobdetail .main .job-section + .job-section { margin-top: 30px; }
.jobdetail .main h3 { margin: 0 0 10px; font-size: 1.5rem; font-weight: 500; line-height: 1.1; color: var(--text-color); }
.jobdetail .main h4 { margin: 10px 0; font-size: 1.125rem; font-weight: 500; line-height: 1.1; color: var(--text-color); }
.jobdetail .main p { margin: 0 0 10px; line-height: 1.4286; }
.jobdetail .main :is(ul, ol) { margin: 0 0 10px; padding-left: 21px; }
.jobdetail .main li { line-height: 1.4286; }
.jobdetail .main table { max-width: 100%; margin: 0 0 10px; border-collapse: collapse; }
.jobdetail .main td, .jobdetail .main th { padding: 4px 8px; border: 1px solid #dee2e6; vertical-align: top; }
.jobdetail .main td p { margin: 0; }
.jobdetail .main img { max-width: 100%; height: auto; }

.jobdetail .aside { margin-bottom: 15px; }
#main .jobdetail .aside .card > .card-body { padding: 12.5px; }
.jobdetail .aside .apply-option-container { padding-bottom: 5px !important; }
.jobdetail .aside .card-body .well { min-height: 20px; margin: 10px 0 20px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.jobdetail .aside .card-body .well:last-child { margin-bottom: 0; }
.jobdetail .aside .card-body .well + .well { margin-top: 0; }
.jobdetail .aside .postion-opening ul { margin: 0; padding: 0; list-style: none; }
.jobdetail .aside .postion-opening :is(li, .extra-info-content, .organization-info-content) { padding-bottom: 2.5px; }
.jobdetail .aside .postion-opening :is(strong, .content-title) { margin-right: 5px; color: var(--adl-muted) !important; font-weight: 400; }
.jobdetail .aside .postion-opening h3,
.jobdetail .aside .organization-info-content.organization-name { margin: 0 0 7.5px; padding: 0; font-size: 0.75rem; font-weight: 500; line-height: 1.1; color: var(--text-color); }
.jobdetail .aside .organization-info-contact:not(:empty) { margin-top: 10px; }

/* bottom of the page: apply button alone (recruiter information off) or the recruiter card */
.modules-jobs-details .jobs-details-apply-free-container { padding-top: 15px; }
#main .modules-jobs-details .jobs-details-apply-free-container .card > .card-body { padding: 12.5px; }
.modules-jobs-details .jobs-details-apply-free-container .apply-option-container { padding-bottom: 5px !important; }
.jobs-details-apply.card h3 { margin: 0 0 10px; border: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; color: var(--primary-color) !important; }
.jobs-details-apply.card .text-apply { line-height: 1.4286; }

/* ---------- Component pages: application forms, login, password pages, My Profile ----------
   Markup is drawn by components (Material UI); only CSS here.
   body.fta = application + spontaneous form, body.account = login / password pages,
   body.myjobsite = logged-in profile pages. */
:is(body.fta, body.account, body.myjobsite) #main :is(.MuiTypography-root, .MuiInputBase-root, .MuiButton-root, .MuiFormLabel-root, .MuiAutocomplete-root) { font-family: inherit; letter-spacing: inherit; }

/* intro texts */
:is(body.fta, body.myjobsite) #main .intro > br,
body.account #main .content-container > br { display: none; }
:is(body.fta, body.account, body.myjobsite) #main :is(.intro p, p.contentBlue) { margin: 0 0 10px; font-size: 0.875rem; line-height: 1.4286; color: var(--text-color); }
body.account #main p.contentBlue { margin-bottom: 30px; }

/* section titles */
:is(body.fta, body.myjobsite) #main .form-template .title-Myjob-h1 { margin-top: 40px; }
:is(body.fta, body.myjobsite) #main #fast-track-forms > .title-Myjob-h1 { margin-top: 25px; }

/* labels */
:is(body.fta, body.account, body.myjobsite) #main :is(.talentfinder-textfield-label, .talentfinder-select-label, .talentfinder-autocompleter, .radio-group, .checkbox-group) > label,
:is(body.fta, body.account, body.myjobsite) #main .col-form-label {
  padding-top: 7px; margin-bottom: 0;
  color: var(--text-color); font-size: 0.875rem; font-weight: 700; line-height: 1.4286; text-transform: none;
}

/* fields: 34px high, grey border, like the reference */
:is(body.fta, body.account, body.myjobsite) #main .MuiOutlinedInput-root { border-radius: 4px; background: #fff; color: #555; font-size: 0.875rem; }
:is(body.fta, body.account, body.myjobsite) #main .MuiOutlinedInput-root .MuiOutlinedInput-input { height: 20px; padding: 7px 12px; }
:is(body.fta, body.account, body.myjobsite) #main .MuiOutlinedInput-root.MuiInputBase-multiline { padding: 7px 12px; }
:is(body.fta, body.account, body.myjobsite) #main .MuiOutlinedInput-root.MuiInputBase-multiline .MuiOutlinedInput-input { height: auto; padding: 0; }
:is(body.fta, body.account, body.myjobsite) #main .MuiAutocomplete-root .MuiOutlinedInput-root { padding: 0 39px 0 0; }
:is(body.fta, body.account, body.myjobsite) #main .MuiSelect-select.MuiOutlinedInput-input { min-height: 20px; padding-right: 32px; }
:is(body.fta, body.account, body.myjobsite) #main .MuiOutlinedInput-notchedOutline { border: 1px solid #ccc; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); }
:is(body.fta, body.account, body.myjobsite) #main .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline { border-color: #999; }
:is(body.fta, body.account, body.myjobsite) #main .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline { border-color: #66afe9; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); }
:is(body.fta, body.account, body.myjobsite) #main .MuiOutlinedInput-root.Mui-error .MuiOutlinedInput-notchedOutline { border-color: #a94442; }
:is(body.fta, body.account, body.myjobsite) #main .form-control { border: 1px solid #ccc; border-radius: 4px; color: #555; font-size: 0.875rem; }

@media (max-width: 575.98px) {
  /* NewCommon.css puts label and field side by side; stack them on phones */
  :is(body.fta, body.myjobsite) #main .form-template .line :is(.radio-group, .checkbox-group, .talentfinder-textfield-label, .talentfinder-select-label, .talentfinder-autocompleter) { grid-template-columns: 1fr !important; }
}

/* radios and checkboxes */
:is(body.fta, body.account, body.myjobsite) #main .MuiFormControlLabel-label { color: var(--text-color); font-size: 0.875rem; line-height: 1.4286; }
:is(body.fta, body.account, body.myjobsite) #main :is(.MuiRadio-root, .MuiCheckbox-root).Mui-checked svg { fill: var(--primary-color) !important; }
:is(body.fta, body.account, body.myjobsite) #main :is(.custom-control-label, .gdpr-logon .text) { font-weight: 400; line-height: 1.4286; }
:is(body.fta, body.account, body.myjobsite) #main :is(.custom-control-label, .gdpr-logon .text) :is(p, span, a, u) { margin-top: 0; font-family: inherit !important; font-size: inherit !important; color: inherit; }
:is(body.fta, body.account, body.myjobsite) #main :is(.custom-control-label, .gdpr-logon .text) a { color: var(--primary-color) !important; }

/* upload boxes (layout reused from NewCommon.css); the "select a file" button is orange and turns
   grey on hover, like "Ajouter votre cv" on the reference */
:is(body.fta, body.myjobsite) #main .tableBox .tableFoot { border-radius: 4px; }
:is(body.fta, body.myjobsite) #main .tableBox .tableFoot:hover { background: #eaf4fc !important; }
:is(body.fta, body.myjobsite) #main .tableBox .tableTitle { border-color: #ddd; color: var(--text-color); font-weight: 700; }
:is(body.fta, body.myjobsite) #main .message-container .title-file { color: var(--text-color); }
:is(body.fta, body.myjobsite) #main .message-container .extension-file { color: var(--adl-muted); }
:is(body.fta, body.myjobsite) #main #upload-cv-container button,
:is(body.fta, body.myjobsite) #main .MuiButton-containedPrimary {
  height: auto; padding: 6px 12px; border: 1px solid var(--adl-orange) !important; border-radius: 4px; white-space: nowrap;
  background: var(--adl-orange) !important; box-shadow: none; color: #fff !important;
  font-size: 0.875rem; font-weight: 500; line-height: 1.4286; letter-spacing: 0; text-transform: none;
}
:is(body.fta, body.myjobsite) #main .tableFoot:hover #upload-cv-container button,
:is(body.fta, body.myjobsite) #main .MuiButton-containedPrimary:hover { border-color: var(--adl-muted) !important; background: var(--adl-muted) !important; }
:is(body.fta, body.myjobsite) #main :is(table, .table) { color: var(--text-color); }

/* uploaded file row (application form, spontaneous form, My Profile).
   Markup: .curriculum-vitae > .file > .name + .size + .descripion + span.delete ("delete" as text).
   The delete text becomes a round bin button at the right end of the row, in the third column,
   so the three columns stay aligned with the table header. */
:is(body.fta, body.myjobsite) #main .tableBox .file { align-items: center; }
:is(body.fta, body.myjobsite) #main .tableBox .file .name { min-width: 0; padding-right: 16px; overflow-wrap: anywhere; }
:is(body.fta, body.myjobsite) #main .tableBox .file .name a { color: var(--primary-color); font-weight: 500; }
:is(body.fta, body.myjobsite) #main .tableBox .file .name a:hover { color: var(--adl-link-hover); text-decoration: underline; }
:is(body.fta, body.myjobsite) #main .tableBox .file .descripion { grid-column: 3; grid-row: 1; min-width: 0; }
:is(body.fta, body.myjobsite) #main .tableBox .file:has(> .delete) .descripion { padding-right: 46px; }
:is(body.fta, body.myjobsite) #main .tableBox .file > .delete {
  grid-column: 3; grid-row: 1; justify-self: end; align-self: center;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin: 0 !important;
  border: 1px solid #a94442; border-radius: 50%;
  background: #fff; color: #a94442; cursor: pointer;
  font-size: 0; line-height: 1;
  transition: all 0.2s;
}
:is(body.fta, body.myjobsite) #main .tableBox .file > .delete::before {
  content: "\f2ed"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome"; font-size: 14px; font-weight: 900;
}
:is(body.fta, body.myjobsite) #main .tableBox .file > .delete:hover { background: #a94442; color: #fff; }
@media (max-width: 575.98px) {
  /* phones: file name on its own line, size and description under it, bin at the top right */
  :is(body.fta, body.myjobsite) #main .tableBox .file { grid-template-columns: 1fr auto; row-gap: 4px; padding: 1rem; }
  :is(body.fta, body.myjobsite) #main .tableBox .file > :is(.name, .size, .descripion) { grid-column: 1; grid-row: auto; padding-right: 0; }
  :is(body.fta, body.myjobsite) #main .tableBox .file:has(> .delete) .descripion { padding-right: 0; }
  :is(body.fta, body.myjobsite) #main .tableBox .file > .delete { grid-column: 2; grid-row: 1; }
  :is(body.fta, body.myjobsite) #main .tableBox .tableTitle { display: none; }
  /* drop zone: text above, button below */
  :is(body.fta, body.myjobsite) #main .tableBox .tableFoot { padding: 16px; }
  :is(body.fta, body.myjobsite) #main #upload-cv-container { flex-direction: column; align-items: flex-start; }
  :is(body.fta, body.myjobsite) #main #upload-cv-container .message-container { width: 100%; }
}

/* submit button of the forms: full width in a white block */
body.fta #main .jobs-details-apply-free-container { margin-top: 30px; padding: 12.5px; background: #fff; }
body.fta #main .jobs-details-apply-free-container .btn-primary { width: 100%; padding: 10px; }

/* login and password pages */
body.account #main div.content-Login { margin-top: 30px !important; border: 0; border-radius: 0; }
body.account #main .my-jobsite-logon-form.card-body { padding: 20px; }
body.account #main .my-jobsite-logon-form .left { padding: 0 60px 0 15px !important; }
body.account #main .my-jobsite-logon-form .right { padding: 0 15px 0 60px !important; border-left: 1px solid var(--adl-line); }
body.account #main .my-jobsite-logon-form .talentfinder-textfield-label { display: block; margin-bottom: 15px; }
body.account #main div.content-Login .my-jobsite-logon-form :is(#MyJobSiteLogonFrmSubmit, #lostPasswordFrmSubmit, #MyJobSiteResetFrmSubmit) {
  display: inline-block; width: 100%; padding: 6px 12px; border-radius: 4px;
}
body.account #main .my-jobsite-logon-form .alert { border: 0; border-radius: 4px; }
@media (max-width: 767.98px) {
  body.account #main .my-jobsite-logon-form .left { padding: 0 15px !important; }
  body.account #main .my-jobsite-logon-form .right { margin-top: 20px; padding-top: 20px !important; padding-left: 15px !important; border-top: 1px solid var(--adl-line); border-left: 0; }
}

/* My Profile */
body.myjobsite #leftMenu { margin-bottom: 30px; padding: 10px; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
#leftMenu #myjob-site-menu :is(.sub-item, .leftMenuMyJobSite) a { color: var(--text-color) !important; font-weight: 500; }
#leftMenu #myjob-site-menu :is(.sub-item, .leftMenuMyJobSite):is(.active, :hover) { background-color: var(--primary-color) !important; }
#leftMenu #myjob-site-menu :is(.sub-item, .leftMenuMyJobSite):is(.active, :hover) a { color: #fff !important; }
body.myjobsite .row.myjobsite-breadcrumb h3 { margin-top: 0; font-size: 0.8125rem; font-weight: 700; text-transform: none; }
body.myjobsite #main .modules-myjobsite-history h3.title { margin: 0; font-size: 1.0588rem; font-weight: 700; line-height: 1.1; color: var(--adl-orange) !important; }
body.myjobsite #main .modules-myjobsite-history .jobs-items { margin-bottom: 10px !important; }
body.myjobsite #main .modules-myjobsite-history .jobs-items .card { height: auto; }
body.myjobsite #main div.content-Login { padding: 20px; border: 0; border-radius: 0; background: #fff; }
body.myjobsite #main div.content-Login h2 { margin: 0 0 10px; color: var(--primary-color); font-size: 1.125rem; font-weight: 500; text-transform: uppercase; }
body.myjobsite #main .successBox { margin: 10px 0; padding: 10px 15px; border-radius: 4px; background: #dff0d8; color: #3c763d; }
body.myjobsite #main form .my-jobsite-btn-container { gap: 15px; margin-top: 30px; }
body.myjobsite #main form .my-jobsite-btn-container button:is(.myjobsite-submit, .myjobsite-back) { width: auto; min-width: 160px; }
body.myjobsite #main :is(.btnChangeAcces, .reset-container) .btn-primary { width: auto; min-width: 160px; }
body.myjobsite #main .reset-container .btn-primary { margin-top: 10px; }

/* ---------- Cookie banner ---------- */
.rhc-banner.consent-banner { border-top: 0; background: #fff !important; box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15); font-family: var(--adl-font); }
.rhc-banner.consent-banner .rhc-banner__content__message { color: var(--text-color) !important; font-size: 0.875rem; line-height: 1.4286; }
.rhc-banner.consent-banner .rhc-banner__content__message a { color: var(--primary-color) !important; }
.rhc-banner.consent-banner .rhc-banner__content :is(.consent-approve, .consent-decline) {
  padding: 6px 12px; border-radius: 4px;
  font-family: inherit; font-size: 0.875rem; font-weight: 500; line-height: 1.4286; letter-spacing: 0; text-transform: none;
}
.rhc-banner.consent-banner .rhc-banner__content .consent-approve { border: 1px solid #0169b3; background-color: var(--primary-color) !important; color: #fff !important; }
.rhc-banner.consent-banner .rhc-banner__content .consent-approve:hover { background-color: var(--adl-primary-dark) !important; }
.rhc-banner.consent-banner .rhc-banner__content .consent-decline { border: 1px solid var(--primary-color); background-color: #fff !important; color: var(--primary-color) !important; }
.rhc-banner.consent-banner .rhc-banner__content .consent-decline:hover { background-color: #eaf4fc !important; color: var(--adl-link-hover) !important; text-decoration: none; }

/* ---------- Footer (Footer-Sub-Footer) ---------- */
#footer { margin: 0; padding: 0; background: transparent; }
.adl-footer { margin-top: 45px; padding-top: 15px; background: var(--adl-footer); color: #fff; }
.adl-footer__inner { display: grid; grid-template-columns: 195fr 229fr 258fr 244fr 214fr; gap: 0; padding-bottom: 15px; }
.adl-footer__logo img { display: block; width: 165px; max-width: 100%; height: auto; }
.adl-footer__column { padding-top: 20px; }
.adl-footer h2 { margin: 0 0 10px; color: #fff; font-size: 0.875rem; font-weight: 500; line-height: 1.1; text-transform: uppercase; }
.adl-footer ul { margin: 0; padding: 0; list-style: none; }
.adl-footer__column a { color: #fff; font-weight: 300; }
.adl-footer__column a:hover { color: #fff; text-decoration: underline; }
.adl-footer__social li { margin-bottom: 10px; }
.adl-footer__social a { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #fff; border-radius: 50%; background: #fff; color: var(--adl-footer); font-size: 1.125rem; text-decoration: none !important; }
.adl-footer__social a:hover { background: transparent; color: #fff; }
.adl-footer__partners { padding-top: 0; }
.adl-footer__partners > a { display: block; margin-bottom: 10px; }
.adl-footer__partners img { display: block; width: auto; }
.adl-footer__brussels img { height: 40px; }
.adl-footer__address { background: #fff; color: var(--adl-footer); font-size: 0.75rem; line-height: 1.4286; text-align: center; }
.adl-footer__address a { color: var(--adl-footer); }
.adl-footer__address a:hover { color: var(--adl-link-hover); }

@media (max-width: 991.98px) {
  .adl-footer__inner { grid-template-columns: 130px 1fr 1fr; gap: 0 15px; }
  .adl-footer__social, .adl-footer__partners { grid-column: span 1; }
  .adl-footer__social { grid-column-start: 2; }
}
@media (max-width: 575.98px) {
  .adl-footer__inner { grid-template-columns: 110px 1fr; }
  .adl-footer__column { grid-column: 2; padding-top: 10px; }
  .adl-footer__logo { grid-row: span 4; }
}

/* ---------- Small screens ---------- */
@media (max-width: 575.98px) {
  .pager-container.ourjobsinfo .pager-container.ourjobsinfo { flex-wrap: wrap; row-gap: 10px; padding: 0; }
  .pager-content .pager-center { flex-wrap: wrap; justify-content: flex-start; row-gap: 12px; }
  body .main-title h1, body h1.greenH1 { overflow-wrap: anywhere; }
}
