@import url(official-fonts.css);

/* Reference: direction-economie.gouv.dj, measured at 1440px on 3 November 2026.
   Keep native controls and the editable content model, restore the institution's
   type, proportions and colours without the old jQuery or Google API key. */
body, body h1, body h2, body h3, body h4, body h5, body h6, body p,
body li, body input, body textarea, body button { font-family: Raleway, sans-serif; }
body { color: #898989; }
.header_top { padding: 0; min-height: 50px; }
.header_top .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.header_top .right_section_header_top { display: block; flex: 0 0 33.333333%; max-width: 33.333333%; }
.header_top .topbar-left .list-inline { display: flex; flex-wrap: wrap; justify-content: start; gap: 0 20px; margin: 13px 0; }
.header_top ul li { line-height: normal; font-size: 13px; }
.header_top ul li:first-child { grid-column: auto; }
.institution-social-marks { display: flex; gap: 16px; color: white; padding-top: 13px; font-size: 14px; }
.brand-row { clear: both; width: 100%; grid-template-columns: 25% 50% 25%; gap: 0; padding: 19px 0; height: 118px; }
.brand-row > a { padding: 0 15px; justify-content: flex-start; }
.brand-row img { width: auto; max-width: none; height: 80px; max-height: 80px; }
.header_bottom { background: transparent; }
.site-nav { padding: 0; min-height: 81px; display: flex; justify-content: center; align-items: flex-end; }
.nav-links { flex-wrap: nowrap; gap: 0 36px; padding-bottom: 0; min-height: 60px; align-items: flex-end; transform: translateX(12px); }
.nav-links > a, .presentation-menu summary { padding: 17px 0 13px; font-size: 14px; line-height: 14px; font-weight: 600; color: #000; text-transform: uppercase; }
.presentation-menu summary::after { content: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #000; text-decoration: none; }
.nav-links > a.search-link { width: 18px; overflow: hidden; font-size: 0; position: relative; }
.search-link::before { content: '\f002'; font: 16px FontAwesome; }
.presentation-menu > div { bottom: auto; top: 100%; min-width: 230px; }
.presentation-menu > div a { font-size: 14px; line-height: 20px; font-weight: 500; }
.mobile-search { display: none; }
.main_slider { padding-top: 0; }
#slider [data-dep-carousel] { position: relative; padding-bottom: 13px; }
#slider .carousel-controls { position: absolute; bottom: 0; left: 0; right: 0; padding: 0; }
.photo-gallery { padding-bottom: 0; }
.photo-gallery .slideshow-viewport { height: 488px; padding-bottom: 88px; }
.photo-gallery figure > img { aspect-ratio: auto; height: 400px; object-fit: cover; }
.photo-gallery .slideshow-thumbnails { height: 88px; }
.gallery-caption { bottom: 88px; }
.photo-gallery .gallery-controls > button[data-gallery-step] { top: 180px; }
.padding_layout_1 { padding: 120px 0 115px; }
.footer_style_2 > .container-fuild > .row { grid-template-columns: calc(35% - 4.5px) calc(65% + 4.5px); position: relative; }
.footer_style_2 .footer_blog { padding: 75px 75px 100px !important; min-height: 540px; }
.location-card { padding: 0; min-height: 540px; overflow: hidden; }
.location-card > h2 { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.location-card > a { position: absolute; z-index: 2; bottom: 0; left: 8px; margin: 0 0 8px; font-size: 11px; padding: 5px 8px; }
.location-card iframe { position: absolute; inset: 0; border: 0; width: 100%; height: 100%; min-height: 540px; }
.location-card.map-loaded > a { opacity: 0; }
.location-card.map-loaded > a:focus { opacity: 1; }
.location-card.map-loaded .map-attribution { display: none; }
main[data-page="organigramme.html"] .full img[width="1000"][height="700"] { aspect-ratio: 10 / 7; object-fit: fill; }
.cprt { position: absolute; bottom: 0; padding: 18px 0 18px 35%; z-index: 2; background: linear-gradient(to right,transparent 35%,#039ee3 35%); pointer-events: none; }
.cprt a { pointer-events: auto; }
.team_feature_social .social_icon i { color: #79b900; }
.footer-mail-form { margin-top: 10px; }
.footer-mail-form input { display: block; width: 215px; max-width: 100%; height: 40px; padding: 10px 15px; border: 0; border-radius: 0; font-size: 14px; font-weight: 500; color: #333; }
.footer-mail-form button { display: block; width: 40px; height: 40px; padding: 8px; border: 0; border-radius: 0; background: #039ee3; color: white; font-size: 14px; }
.footer-mail-form > a { display: block; clear: both; padding-top: 10px; color: white; font-size: 13px; }
.home-publications-grid { grid-template-columns: repeat(3,minmax(0,284px)); justify-content: space-between; gap: 30px; margin-bottom: 0; }
.home-publication-card { border: 1px solid #bfbfbf; border-radius: 0; box-shadow: 10px 10px 10px #aaa; padding: 10px 10px 20px; align-self: start; }
.home-publication-cover { background: white; border: 0; padding: 0; height: auto; min-height: 0; }
.home-publication-cover img { max-width: 100px; height: auto; max-height: 130px; }
.home-publication-cover .home-publication-badge { width: 100px; max-width: 100px; height: 33px; top: 0; right: 50%; transform: translateX(50%); }
.home-publication-content { padding: 0; text-align: center; }
.home-publication-content h3 { color: black; font-size: 24px; line-height: normal; font-weight: 600; margin: 0 0 20px; }
.home-publication-meta, .home-publication-content p, .home-publication-action { display: none; }
.home-publication-card .availability-label { align-self: center; }
.document-page { background: transparent; }
.document-page #inner_banner { min-height: 245px; padding: 0; background: url('../images/it_service/inner_page_banner.jpg') center/cover; border: 0; }
.document-page > .padding_layout_1 { padding: 170px 0 144px; background: transparent; }
.library-layout { grid-template-columns: minmax(0,770px) minmax(0,1fr); gap: 30px; }
.library-main { position: relative; }
.library-filter-disclosure { position: absolute; top: -40px; left: 0; right: 0; }
.library-filter-disclosure > summary { color: #4470b6; font-size: 13px; padding: 8px 0; }
.library-filter-disclosure[open] { position: relative; top: 0; margin-top: -40px; padding-bottom: 16px; }
.library-toolbar { margin-bottom: 16px; }
.library-results { min-height: 30px; }
.library-categories { gap: 16px; }
.document-library .document-category.panel { border-radius: 0; box-shadow: none; border-color: #ddd; }
.document-library .accordion-toggle { padding: 16px 25px; min-height: 55px; color: #7cbb00; font-size: 14px; font-weight: 500; gap: 14px; }
.document-library .accordion-toggle[aria-expanded="true"] { color: white; background: #16a5e1; box-shadow: none; }
.document-library .category-number { width: 17px; height: 21px !important; flex: 0 0 17px; border-radius: 0; background: none; color: #16a5e1; font-size: 0; }
.document-library .category-number::before { content: '\f15b'; font: 20px FontAwesome; }
.document-library [aria-expanded="true"] .category-number { color: white; }
.category-count { display: none; }
.document-library .category-chevron { width: 14px; height: 14px !important; flex-basis: 14px; border-radius: 0; color: #000; background: none; }
.document-library [aria-expanded="true"] .category-chevron { color: white; }
.document-library .panel-body { padding: 20px 25px; }
.document-library .document-row { display: block; padding: 8px 0; border: 0; }
.document-symbol,.document-meta,.document-action { display: none; }
.document-library .document-title { font-size: 14px; line-height: 21px; font-weight: 400; letter-spacing: 0; }
.document-title a { color: #4470b6; }
.document-library .document-summary { font-size: 13px; }
.library-aside { position: static; }
.library-feature { background: transparent; border-radius: 0; box-shadow: none; }
.library-feature > img { height: auto; aspect-ratio: 1; object-fit: cover; }
.library-feature-copy, .library-note { display: none; }
.contact-fields { gap: 10px; margin: 0 -10px; }
#contact-form input,#contact-form textarea { background: #f8f8f8; border: 1px solid #ddd; border-radius: 0; padding: 15px 20px; font-size: 14px; font-weight: 500; }
#contact-form input { height: 50px; }
#contact-form textarea { height: 150px; display: block; }
.contact-submit { text-align: center; margin-top: 18px; }
#contact-form .contact-explanation { font-size: 12px; line-height: 20px; margin: 12px 0 0; text-align: center; }
@media (min-width: 1200px) {
  .home-publications-grid { padding-left: 35px; column-gap: 116px; justify-content: initial; }
  .library-feature { overflow: visible; }
  .library-feature > img { width: 400px; max-width: none; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .brand-row { max-width: 980px; }
  .nav-links { gap: 20px; }
  .nav-links > a,.presentation-menu summary { font-size: 12px; }
  .footer_style_2 .footer_blog { padding: 60px 35px 90px !important; }
}
@media (max-width: 991px) {
  .header_top .col-md-8 { flex: 0 0 100%; max-width: 100%; }
  .header_top .right_section_header_top { display: none; }
  .brand-row { grid-template-columns: 1fr 2fr 1fr; gap: 15px; height: auto; }
  .brand-illustration { display: flex !important; }
  .brand-row > a { padding: 0; }
  .brand-row img { width: 100%; max-width: 100%; height: auto; max-height: 80px; }
  .site-nav { display: block; min-height: 0; padding: 12px 0; }
  .nav-links { min-height: 0; gap: 0; padding-top: 8px; transform: none; align-items: stretch; }
  .nav-links > a,.presentation-menu summary { padding: 12px; line-height: 20px; }
  .nav-links > a.search-link { width: auto; font-size: 14px; }
  .search-link::before { margin-right: 10px; }
  .photo-gallery .slideshow-viewport { height: auto; padding-bottom: 70px; }
  .photo-gallery figure > img { height: auto; aspect-ratio: 1.925; }
  .photo-gallery .slideshow-thumbnails { height: 70px; }
  .photo-gallery { padding-bottom: 0; }
  .gallery-caption { bottom: 70px; }
  .photo-gallery .gallery-controls > button[data-gallery-step] { top: 30%; }
  .padding_layout_1 { padding: 75px 0; }
  .footer_style_2 > .container-fuild > .row { grid-template-columns: 1fr; }
  .footer_style_2 .footer_blog { padding: 50px 30px 75px !important; min-height: 0; }
  .location-card,.location-card iframe { min-height: 360px; }
  .cprt { position: static; padding: 18px 0; background: #039ee3; }
  .home-publications-grid { grid-template-columns: repeat(2,minmax(0,284px)); gap: 30px; }
  .library-layout { grid-template-columns: minmax(0,1fr); }
  .document-page > .padding_layout_1 { padding: 75px 0; }
  .library-filter-disclosure { top: -35px; }
}
@media (max-width: 575px) {
  .header_top { min-height: 219px; }
  .header_top .container { padding: 0 15px; }
  .header_top .topbar-left .list-inline { margin: 13px 0; gap: 0; }
  .header_top .topbar-label { display: inline; }
  .header_top ul li { font-size: 13px; }
  .header_top .right_section_header_top { display: block; flex: 0 0 100%; max-width: 100%; }
  .header_top .right_section_header_top .float-right { float: none !important; }
  .institution-social-marks { flex-direction: column; align-items: center; gap: 3px; padding: 10px 0 13.5px; }
  .brand-row { display: flex; flex-direction: column; gap: 0; padding: 20px 15px 60px; }
  .brand-row > a { display: flex; justify-content: center; width: 100%; }
  .brand-row > a:first-child { margin-bottom: 80px; }
  .brand-row > a:nth-child(2) { margin-bottom: 40px; }
  .brand-row img { width: 150px; height: auto; }
  .site-nav { min-height: 1px; padding: 0; }
  #menu-toggle { position: absolute; top: -72px; left: 5px; width: 40px; height: 40px; padding: 0; border: 2px solid #000; border-radius: 3px; font-size: 0; display: grid; place-items: center; justify-content: center; align-content: center; color: black; }
  #menu-toggle span { font-size: 0; }
  #menu-toggle::before { content: '\f0c9'; font: 22px FontAwesome; }
  .mobile-search { display: block; position: absolute; right: 10px; top: -69px; font-size: 26px; color: #000; }
  .nav-links.is-open { position: absolute; top: 1px; left: -15px; right: -15px; padding: 10px 15px; background: #fff; z-index: 20; border-top: 1px solid #ddd; box-shadow: 0 5px 10px #0002; }
  .photo-gallery .slideshow-viewport { height: 441px; padding-bottom: 41px; }
  .photo-gallery figure > img { height: 400px; aspect-ratio: auto; }
  .photo-gallery .slideshow-thumbnails { height: 41px; }
  .gallery-caption { bottom: 41px; }
  .photo-gallery .gallery-controls > button[data-gallery-step] { top: 12px; }
  .main_slider .row > div { margin-bottom: 0; }
  .padding_layout_1 { padding: 50px 0; }
  .home-publications-grid { grid-template-columns: minmax(0,284px); justify-content: center; }
  .document-page > .padding_layout_1 { padding: 50px 0; }
  .document-library .accordion-toggle { padding: 16px; }
}

/* Detailed reference reception, 5 November 2026. Keep these rules in the
   shared renderer/styles so a back-office publication preserves the result. */
.institution-social-marks a,.institution-social-marks .social-service-closed { color: inherit; font-size: 14px; }
.institution-social-marks a:focus-visible,.footer-social-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.footer-social-links { display: flex; gap: 14px; margin-top: 16px; align-items: center; }
.footer-social-links a,.footer-social-links .social-service-closed { color: #898989; font-size: 16px; }
.team_feature_social .social_icon a,.team_feature_social .social_icon i { color: #7cbb00; }
.location-card .map-institution-label { display: none; }
.location-card.map-loaded .map-institution-label { display: block; position: absolute; z-index: 1; top: calc(50% - 58px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 92%; padding: 3px 6px; background: #ffffffdd; color: #222; font: 500 12px Arial,sans-serif; pointer-events: none; }
.footer-mail-form { display: grid; grid-template-columns: minmax(0,215px) 40px; align-items: start; max-width: 255px; }
.footer-mail-form input { width: 100%; min-width: 0; }
.footer-mail-form > a { grid-column: 1 / -1; }
.document-library .regulation-icon-0::before { content: '\f0e3'; }
.document-library .regulation-icon-1::before { content: '\f072'; }
.document-library .regulation-icon-2::before { content: '\f005'; }
.document-library .accordion-toggle { font-size: 15px; }
.document-library .panel-body { background: #eee; padding: 20px 25px; }
.document-library .document-list { display: block; list-style: decimal; margin: 0; padding-left: 10px; }
.document-library .document-row { display: list-item; padding: 0 0 24px; }
.document-library .document-title { display: inline; font: 400 15px / 21px Bahnschrift,Arial,sans-serif; }
.document-library .document-copy { display: inline; }
.document-library .document-title a,.document-library .document-unavailable { font: inherit; }
.document-library .document-row::marker { font: 400 15px / 21px Raleway,sans-serif; color: #898989; }
.document-library .document-row[hidden] { display: none; }

.document-new-badge { width: 100px; height: 33px; vertical-align: middle; margin-left: 0; }
.document-library .document-missing { display: inline; }
.document-library .document-missing > summary { display: inline; list-style: none; cursor: pointer; }
.document-library .document-missing > summary::marker { content: ''; }
.document-library .document-missing > summary::-webkit-details-marker { display: none; }
.document-library .document-missing .document-unavailable { color: #4470b6; }
.document-library .document-missing > summary:hover .document-unavailable { text-decoration: underline; }
.document-library .document-missing > summary:focus-visible { outline: 2px solid #16a5e1; outline-offset: 4px; }
.document-library .document-missing-explanation { margin: 10px 0 0; font: 13px/1.6 Arial,sans-serif; color: #475b6a; }
.document-library .document-missing-explanation .availability-label { margin-top: 0; }

.document-library .document-category.panel { border: 0; background: transparent; }
.document-library .document-category .panel-heading { border: 1px solid #ddd; }
.document-library .panel-body { padding: 20px 25px 0; }

/* Section-by-section reception: retain the reference's column positions without
   reproducing its 15px horizontal overflow beyond the viewport. */
@media(min-width:1200px){.footer_style_2 .footer_blog{padding-right:60px !important;}}
.team_feature_social .social_icon [role="img"]{color:#7cbb00;}
.library-feature > img{object-fit:fill;}
#contact-form .contact-explanation{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;}
#contact-status:empty{display:none;}
#contact-form .contact-submit{margin-top:23.5px;}
#contact-form .contact-submit button{margin:0;}
/* Match the reference's native Bahnschrift fallback and its 17.5px list breaks. */
.document-library .panel-body{margin-top:15px;padding:0 25px;}
.document-library .document-list{padding-left:13px;}
.document-library .document-list[data-reference-numbering]{padding-left:0;list-style:none;}
.document-library .document-reference-number{font:400 15px Raleway,sans-serif;color:#898989;}
.document-library .document-row{padding-bottom:17.5px;}
.document-library .document-title{font:400 15px Bahnschrift;}
.document-library .document-row::marker{font:400 15px Raleway,sans-serif;}
.document-library .accordion-toggle{min-height:0;}
@media(max-width:575px){
 .institution-social-marks{gap:0;padding:10px 0;}
 .padding_layout_1,.document-page > .padding_layout_1{padding:75px 0 60px;}
 .map_section,.location-card,.location-card iframe{height:180px;min-height:180px;}
 .footer_style_2 .footer_blog{padding:50px 25px 110px !important;}
}
@media(max-width:575px){
 /* Copyright stays in normal flow; compensate its separate row while retaining
    the reference footer depth and the requested horizontal email control. */
 .footer_style_2 .footer_blog{padding-bottom:90px !important;}
}
/* Native carousel controls occupy the reference's overlay area, rather than
   adding a separate row that pushes the following homepage sections down. */
main[data-page="index.html"] [data-dep-carousel]{position:relative;}
main[data-page="index.html"] .carousel-controls{position:absolute;left:0;right:0;bottom:-24px;}
#slider [data-dep-carousel]{padding-bottom:0;}
#slider .carousel-controls{bottom:-13px;}
@media(max-width:575px){.home-publications-grid{justify-content:start;padding-left:35px;}}
/* Legacy cards carried a 30px margin after the last row as well. */
.home-publications-grid{margin-bottom:30px;}
