@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi) {
  :root {
    --zooming-ratio: 1;
  }
  body {
    zoom: calc(var(--zooming-ratio) / 1.5);
    font-size: 50%;
  }
}

:root {
  --zooming-ratio: 1;
}

@media only screen and (min-width: 769px) and (-webkit-min-device-pixel-ratio: 1.25),
only screen and (min-width: 769px) and (-moz-min-device-pixel-ratio: 1.25),
only screen and (min-width: 769px) and (-o-min-device-pixel-ratio: 5/4),
only screen and (min-width: 769px) and (min-device-pixel-ratio: 1.25) {
  :root {
    --zooming-ratio: 0.8;
  }
  body {
    zoom: 80%;
  }
}

@media only screen and (min-width: 769px) and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min-width: 769px) and (-moz-min-device-pixel-ratio: 1.5),
only screen and (min-width: 769px) and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-width: 769px) and (min-device-pixel-ratio: 1.5) {
  :root {
    --zooming-ratio: 0.66;
  }
  body {
    zoom: 66%;
  }
}

@media (min-width: 61em) {
  .toolbar-menu-administration {
    height: 100% !important;
  }
}

.toolbar .toolbar-bar #toolbar-item-administration-tray .toolbar-logo, .toolbar .toolbar-bar #toolbar-item-administration-tray .toolbar-logo img {
  width: fit-content;
  height: fit-content;
}

.toolbar .toolbar-bar #toolbar-item-administration-tray .toolbar-logo {
  margin: 10px;
  padding: 3px!important;
  border-radius: 5px;
}

.toolbar .toolbar-bar #toolbar-item-administration-tray .toolbar-logo img {
  margin: 0;
}

.paragraphs-tabs-wrapper .field-multiple-table > thead > tr th:first-child.field-label,
.field-multiple-table thead:not(:has(th:last-of-type:not([style*="display: none"]))) th:nth-last-of-type(2), .field-multiple-table thead th:last-of-type:not([style*="display: none"]){
  display: none!important;
}

.paragraphs-subform .form-item, .paragraphs-tabs-wrapper, .field--widget-paragraphs, .ajax-new-content, .field--widget-text-textarea {
  width: 100%;
}

.tabledrag-toggle-weight-wrapper {
    display: none!important;
}

.page-wrapper__node-edit-form .node-form, .page-wrapper__node-edit-form .block-system-main-block {
  max-width: 100%!important;
  margin-inline: 0 !important;
}

.text-full .clearfix {
  display: none;
}

.field--type-year .form-item__description {
  display: none;
}

.row-container > .field-group-wrapper, .row-container > .fieldset__wrapper, .row-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
}

.col-container > .field-group-wrapper, .col-container > .fieldset__wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.col-container {
  margin-block-end: 1.5rem!important;
}

.col-container .media-library-widget {
  height: 100%;
}

.col-2 { width: 16.66% !important; }
.col-3 { width: 25% !important; }
.col-4 { width: 33.33% !important; }
.col-5 { width: 41.66% !important; }
.col-6 { width: 50% !important; }
.col-7 { width: 58.33% !important; }
.col-8 { width: 66.66% !important; }
.col-9 { width: 75% !important; }
.col-10 { width: 83.33% !important; }
.col-11 { width: 91.66% !important; }
.col-12 { width: 100% !important; }


.showIfIsMasquerading, .showIfIsNotMasquerading {
  display: none;
}

.ui-menu-item-wrapper, .ui-menu-item {
  text-decoration: none;
}

.isMasquerading, .isNotMasquerading {
  display: initial;
}

.ui-autocomplete {
  position: fixed !important;
  max-height: 300px;
  overflow-y: auto;
  background-color: white !important;
}

.autocomplete-loader {
  color:white;
}

.block-views-blockliste-des-utilisateurs-block-1 .view-content {
  max-height: 300px;
  border-radius: 8px;
  overflow-y: auto;
  padding-right: 10px;
  background-color: white;
  color: black !important;
  text-decoration: none !important;
  margin: 0px !important;
  margin-left: 8px !important;
  width: 95%;
}

.block-views-blockliste-des-utilisateurs-block-1 .contextual-region > a {
  color: black !important;
  text-decoration: none !important;
}

.masquerade-block-form {
  display: none !important;
}

/*.view-liste-des-utilisateurs {*/
/*  display: none !important;*/
/*}*/

.btn-link {
  --bs-btn-color: black !important;;
}

.network-manager {
  font-weight: bold !important;
}

.coffre-fort {
  /*border: 1px solid;*/
  border-radius: 20px;
  background-color: #e1ebf1;
  padding: 10px;
  margin-left: 80px;
}


.coffre-fort {
  width: 45% !important;
  display: inline-block !important;
  vertical-align: top !important;
}


#agency-info {
  width: 40% !important;
  display: inline-block !important;
  vertical-align: top !important;
}

#agency-info .field--label-above .field__item {
  width: 100% !important;
}

.cf-upload-input, .cf-upload-btn {
  border-radius: 20px;
}

.coffre-fort .coffre-fort-module {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.coffre-fort .coffre-fort-module + .coffre-fort-module {
  margin-top: 16px;
}

.coffre-fort .coffre-fort-module .cf-tree-column {
  /*flex: 0 0 220px;*/
  /*max-width: 260px;*/
}

.coffre-fort .coffre-fort-module .cf-panel {
  flex: 1 1 220px;
}

.coffre-fort .coffre-fort-module .cf-tree {
  margin-bottom: 0;
}

.cf-upload-zone {
  border: 2px dashed #b1c6d4;
  border-radius: 16px;
  background-color: #f4f8fb;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cf-upload-zone.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.cf-upload-zone--hover {
  background-color: #e1f2ff;
  border-color: #198754;
}



.user-sections {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  min-height: 200px;
}

.user-sections.is-loading .user-loader {
  display: flex;
}

.user-section.is-hidden {
  display: none !important;
}

.user-loader {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 20px;
  color: #004b71;
  gap: 12px;
}

.user-loader__spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid rgba(0, 75, 113, 0.25);
  border-top-color: #004b71;
  animation: user-loader-spin 0.9s linear infinite;
}

.user-loader__text {
  font-weight: 600;
}

@keyframes user-loader-spin {
  to {
    transform: rotate(360deg);
  }
}



.cf-tree .sk-ficon {
  color: var(--bs-primary, #0d6efd) !important;
}

.cf-tree .sk-folder.font-weight-bold .sk-ficon {
  filter: brightness(0.9);
}

.cf-upload-group{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
}

.cf-btn-browse{ grid-column: 1; }
.cf-upload-display{ grid-column: 2; min-width: 0; }
.cf-upload-btn{
  grid-column: 1 / -1;
  justify-self: start;
}

@media (max-width: 640px){
  .cf-upload-group{ grid-template-columns: 1fr; }
  .cf-btn-browse, .cf-upload-display, .cf-upload-btn{ grid-column: 1; }
}

.dl-file {
  background-color: var(--havas-blue) !important;
  color: white !important;;
  font-weight: bold !important;;
}

/*.coffre-fort-module[data-mode=upload] .dl-file {*/
/*  display: none !important;*/
/*}*/

.cf-assets-title {
  background-color: var(--havas-blue) !important;
  border-radius: 5px;
  padding: 5px;
  color: white
}

.paragraph--type--air-france-snav {
  display: none !important;
}

.alert-dismissible {
  display: none  !important;
}