@charset "UTF-8";
/*
 * In admin/style folder, run, for development:
 * sass --watch ./scss:./
 *
 * And, for production
 * sass --watch --no-source-map --style=compressed ./scss:./
 */
/** --------------------------------------------------
    Start
--------------------------------------------------- */
/* largeur des paddings et border compris dans "width" */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  text-size-adjust: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

a {
  background: transparent;
}
a:focus {
  outline: thin dotted;
}
a:active, a:hover {
  outline: none;
}
a img {
  border: none;
}

q,
cite {
  font-style: italic;
}

q::before,
q::after {
  content: "";
}

sup,
sub {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

abbr[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

b,
strong {
  font-weight: bold;
  font-size: 0.9375em;
}

small {
  font-size: 80%;
}

dfn {
  font-style: italic;
}

hr {
  box-sizing: content-box;
  height: 0;
}

mark {
  background: #ff0;
  color: #000;
}

code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}

pre {
  white-space: pre-wrap;
}

fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

input,
button,
select {
  vertical-align: middle;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}

button,
input {
  line-height: normal;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

input[type=checkbox],
input[type=radio] {
  padding: 0;
  border: none;
}

input[type=search] {
  -webkit-appearance: textfield;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

table {
  border-collapse: collapse;
  margin-bottom: 1.5em;
}

td,
th {
  padding: 1px;
  vertical-align: top;
  text-align: left;
}

td:first-child,
th:first-child {
  empty-cells: hide;
}

/* scripts */
body > script {
  display: none !important;
}

/* HTML5 for old browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

figure {
  margin: 0;
}

[hidden],
template {
  display: none;
}

svg:not(:root) {
  overflow: hidden;
}

/* Headings reset */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  font-weight: normal;
  margin: 0;
}

/* Screen-reader only */
.visually-hidden,
.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.visually-hidden:focus,
.visually-hidden:active {
  clip: auto;
  clip-path: none;
  height: auto;
  overflow: visible;
  position: static;
  width: auto;
  white-space: normal;
}

@font-face {
  font-family: "Atkinson-Hyperlegible";
  src: url("font/Atkinson-Hyperlegible-Regular-102a.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson-Hyperlegible";
  src: url("font/Atkinson-Hyperlegible-Bold-102a.woff2") format("woff2");
  font-weight: bold;
}
@font-face {
  font-family: "Atkinson-Hyperlegible";
  src: url("font/Atkinson-Hyperlegible-Italic-102a.woff2") format("woff2");
  font-style: italic;
}
@font-face {
  font-family: "Atkinson-Hyperlegible";
  src: url("font/Atkinson-Hyperlegible-BoldItalic-102a.woff2") format("woff2");
  font-weight: bold;
  font-style: italic;
}
:root {
  --dc-font: "Atkinson-Hyperlegible";
  --sans-serif: var(--dc-font), system-ui, sans-serif;
  --sans-serif-input: inherit;
  --monospace: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  --html-font-size: 62.5%;
  --body-font-size: 1.4rem;
  --collapser-width: 5px;
  --collapser-width-focus: calc(var(--collapser-width) * 3);
}

/** --------------------------------------------------
  Colors
--------------------------------------------------- */
:root,
:root[data-theme=light] {
  --body-color: #323232;
  --body-background: #fff;
  --title-color: #676e78;
  --title-alt-color: #d33800;
  --header-color: #fff;
  --header-background: #3a539b;
  --header-background-alt: #3a539b;
  --header-border: #a2cbe9;
  --header-border-alt: #323232;
  --header-border-safe: #ffd478;
  --header-link-border: #868686;
  --header-active-color: #d33800;
  --header-active-background: #f3f3f3;
  --header-active-color-alt: #fff;
  --header-active-background-alt: #868686;
  --wrapper-background: #fff;
  --content-background: #fff;
  --tabs-color: #323232;
  --tabs-border: #c9c9c9;
  --tabs-background: #f3f3f3;
  --tabs-active-color: #d33800;
  --tabs-active-background: #fff;
  --main-menu-background: #f3f3f3;
  --main-menu-title-color: #676e78;
  --main-menu-item-color: #323232;
  --main-menu-item-border: #caced2;
  --main-menu-active-color: #d30e60;
  --main-menu-active-background: #fff;
  --main-menu-border: #a2cbe9;
  --search-color: #323232;
  --search-border: #868686;
  --search-background: #c9c9c9;
  --search-submit-color: #fff;
  --search-submit-background: #868686;
  --search-outline: #bee74b;
  --footer-background: #fff;
  --footer-border: #caced2;
  --collapser-focus: #3a539b;
  --collapser-background: #a2cbe9;
  --popup-title-color: #fff;
  --popup-title-background: #3a539b;
  --breadcrumb-background: #fff;
  --breadcrumb-border: #868686;
  --breadcrumb-current: #d30e60;
  --fieldset-pretty-title-color: #d33800;
  --fieldset-smart-title-color: #323232;
  --entry-sidebar-title-color: #323232;
  --title-label-color: #323232;
  --table-caption-color: #323232;
  --head-border: #dbdbdb;
  --head-background: #f3f3f3;
  --line-input-background: #fff;
  --line-background-over: #f3f3f3;
  --line-focus-background: #ededed;
  --cell-border: #ececec;
  --cell-noborder-color: #dbdbdb;
  --hr-color: #dbdbdb;
  --code-color: var(--body-color);
  --code-background: #fefacd;
  --link-color: #2373a8;
  --link-border: #868686;
  --discrete-link-color: #323232;
  --link-outline: #bee74b;
  --outgoing-link-filter: 50%;
  --fieldset-border: #3a539b;
  --fieldset-background: #fff;
  --fieldset-focus-background: #ededed;
  --legend-border: #676e78;
  --legend-background: #fff;
  --invalid-input-color: #000;
  --invalid-input-border: #ae323b;
  --invalid-input-background: #ffbaba;
  --invalid-input-shadow: rgba(174, 50, 59, 0.3);
  --input-color: #000;
  --input-background: #f9f9f9;
  --input-border: #595959;
  --input-shadow: #f3f3f3;
  --input-focus: #bee74b;
  --input-file-color: var(--body-color);
  --input-file-background: var(--body-background);
  --form-note-color: #676e78;
  --error-background: #ffbaba;
  --required: #ae323b;
  --button-color: #000;
  --button-border: #caced2;
  --button-shadow: rgba(0, 0, 0, 0.05);
  --submit-color: #fff;
  --submit-background: #25a6e1;
  --submit-background-alt: #188bc0;
  --submit-border: #caced2;
  --reset-color: #000;
  --reset-background: #eaeaea;
  --reset-background-alt: #f9f9f9;
  --reset-background-ter: #dadada;
  --reset-border: #caced2;
  --delete-color: #ae323b;
  --delete-hover-color: #fff;
  --delete-hover-background: #b33630;
  --delete-hover-background-alt: #dc5f59;
  --delete-hover-border: #dc5f59;
  --add-color: #000;
  --add-background: #bee74b;
  --add-background-alt: #9bca1c;
  --add-border: #bee74b;
  --add-border-alt: #9bca1c;
  --clone-color: #7e2999;
  --clone-background: #eaeaea;
  --clone-background-alt: #f9f9f9;
  --clone-hover-color: #fff;
  --clone-hover-background: #9f34c1;
  --clone-hover-background-alt: #b456d2;
  --clone-border: #caced2;
  --button-disabled-color: #676e78;
  --button-disabled-background: #f3f3f3;
  --button-disabled-background-alt: #ececec;
  --button-disabled-border: #caced2;
  --ajax-color: #323232;
  --ajax-background: #fff;
  --ajax-background-alt: #a2cbe9;
  --ajax-border: #676e78;
  --gotop-color: #323232;
  --gotop-background: transparent;
  --gotop-border: none;
  --addmeta-color: #000;
  --addmeta-background: transparent;
  --addmeta-focus-color: #000;
  --addmeta-focus-background: #abd0eb;
  --msg-color: #fff;
  --msg-background: #676e78;
  --msg-background-alt: #caced2;
  --msg-shadow: rgba(50, 50, 50, 0.1);
  --msg-info-color: #323232;
  --msg-info-background: #d9edf7;
  --msg-info-border: #868686;
  --msg-warn-color: #323232;
  --msg-warn-background: #fefacd;
  --msg-warn-background-alt: #ffd478;
  --msg-warn-border: #868686;
  --msg-error-color: #000;
  --msg-error-background: #ffbaba;
  --msg-error-background-alt: #fefacd;
  --msg-success-color: #000;
  --msg-success-background: #bee74b;
  --msg-success-background-alt: #9bca1c;
  --dc-update-color: #000;
  --dc-update-background: #a2cbe9;
  --ajax-loader: #82b9e1;
  --form-control-color: #000;
  --filter-border: #a2cbe9;
  --filter-options-border: #c9c9c9;
  --filter-focus-background: #ededed;
  --prelude-color: #323232;
  --prelude-background: #a2cbe9;
  --prelude-background-alt: #fff;
  --help-background: #f3f3f3;
  --help-border: #ffd478;
  --help-button-border: #c9c9c9;
  --help-button-background: #f3f3f3;
  --help-title-color: #676e78;
  --tooltip-color: #3a539b;
  --tooltip-background: rgba(255, 255, 255, 0.9);
  --ui-sortable-background: #f0f8ff;
  --ui-sortable-background-bis: #faebd7;
  --ui-sortable-background-ter: #f6fffb;
  --login-fieldset-background: #fff;
  --login-fieldset-border: #9bca1c;
  --index-link-color: #323232;
  --index-link-border: #868686;
  --index-icon-background: #f9f9f9;
  --index-icon-border: #3a539b;
  --index-icon-outline: #bee74b;
  --index-icon-contrast: 100%;
  --quick-background: #f9f9f9;
  --quick-border: #3a539b;
  --quick-info-background: #d9edf7;
  --quick-info-border: #bce8f1;
  --quick-info-color: #323232;
  --index-box-border: #3a539b;
  --drag-n-drop-off: #868686;
  --drag-n-drop-on: #137bbb;
  --blog-user-border: #caced2;
  --blog-super-background: rgba(217, 237, 247, 0.5);
  --blog-super-border: #bee74b;
  --theme-box-border: #dbdbdb;
  --theme-box-over: #f3f3f3;
  --theme-name-color: #676e78;
  --theme-img-background: #f3f3f3;
  --theme-img-border: #c9c9c9;
  --theme-img-shadow: rgba(50, 50, 50, 0.1);
  --theme-action-background: #f3f3f3;
  --theme-action-border: #ececec;
  --theme-current-background: #f3f3f3;
  --theme-current-border: #ececec;
  --theme-current-shadow: rgba(50, 50, 50, 0.1);
  --theme-current-img-border: #fff;
  --theme-current-name-color: #d33800;
  --cat-placeholder-outline: #2373a8;
  --cat-line-border: #caced2;
  --subcat-line-border: #dbdbdb;
  --cat-post-counter: #323232;
  --media-folder-background: transparent;
  --media-folder-border: #c9c9c9;
  --media-folderup-border: transparent;
  --media-folder-link: #676e78;
  --media-item-border: #3a539b;
  --media-item-border-private: #c44d58;
  --media-files-border: #dbdbdb;
  --media-item-active-background: #f3f3f3;
  --upload-color: #556f0f;
  --upload-filemsg-color: #fff;
  --upload-progress-color: #fff;
  --upload-progress-background: #556f0f;
  --upload-file-border: #dbdbdb;
  --upload-error-color: #ae323b;
  --modules-background: #f3f3f3;
  --modules-border: #a2cbe9;
  --entry-sb-title-border: #676e78;
  --entry-sb-background: #f3f3f3;
  --entry-sb-focus-background: #ededed;
  --fav-list-border: #ececec;
  --fav-list-border-alt: #dbdbdb;
  --my-favs-border: #9ac123;
  --charte-title: #d33800;
  --charte-one-box-border: #dbdbdb;
  --ac-results-background: #fff;
  --ac-results-border: #ffd478;
  --ac-results-over: #fff;
  --ac-results-over-background: #2373a8;
  --nav-background: #fff;
  --nav-prevnext: #2373a8;
  --nav-prevnext-background: #f3f3f3;
  --nav-prevnext-border: #dbdbdb;
  --onblog-link: #323232;
  --onblog-link-background: #ececec;
  --onblog-link-border: #ececec;
  --onblog-link-shadow: rgba(50, 50, 50, 0.3);
  --pager-link: #2373a8;
  --pager-active: #676e78;
  --pager-background: #f3f3f3;
  --pager-background-over: #dbdbdb;
  --pager-off-background: #fff;
  --pager-input-background: #fff;
  --pager-border: #dbdbdb;
  --index-no-link: #c9c9c9;
  --index-active: #fff;
  --index-active-background: #676e78;
  --step: #676e78;
  --step-background: #f3f3f3;
  --step-border: #caced2;
  --offline: #676e78;
  --offline-background: #f3f3f3;
  --mark-attach-img: url("../images/attach.svg");
  --mark-attach-filter: hue-rotate(300deg) saturate(0.64);
  --rch-table-1st-color: #c9c9c9;
  --rch-table-1st-background: #595959;
  --rch-table-1st-border: #ececec;
  --rch-table-expand-color: var(--body-color);
  --rch-table-expand-background: var(--body-background);
  --rch-table-expand-border: #ececec;
  --rch-table-td-link: #2373a8;
  --badge-color: #fff;
  --badge-border: transparent;
  --badge-std-background: #d54e21;
  --badge-soft-background: #607d8b;
  --badge-info-background: #3f51b5;
  --debug-color: #ae323b;
  --debug-background: #ffd478;
  --debug-border: #ffd478;
}

:root[data-theme=dark] {
  --body-color: #dcdee0;
  --body-background: #272b30;
  --title-color: #b2b5ba;
  --title-alt-color: #ff6e3a;
  --header-color: var(--body-color);
  --header-background: var(--body-background);
  --header-background-alt: #565a60;
  --header-border: #9ac123;
  --header-border-alt: #303236;
  --header-border-safe: #ffd478;
  --header-link-border: #82878f;
  --header-active-color: #fff;
  --header-active-background: #82878f;
  --header-active-color-alt: #fff;
  --header-active-background-alt: #82878f;
  --wrapper-background: var(--body-background);
  --content-background: var(--body-background);
  --tabs-color: #303236;
  --tabs-border: #ecedee;
  --tabs-background: #c9cbcf;
  --tabs-active-color: #fff;
  --tabs-active-background: #82878f;
  --main-menu-background: #494c52;
  --main-menu-title-color: #c9cbcf;
  --main-menu-item-color: var(--body-color);
  --main-menu-item-border: #caced2;
  --main-menu-active-color: #fff;
  --main-menu-active-background: #82878f;
  --main-menu-border: #a2cbe9;
  --search-color: #fff;
  --search-border: #c9cbcf;
  --search-background: #25a6e1;
  --search-submit-color: #fff;
  --search-submit-background: #188bc0;
  --search-outline: #bee74b;
  --footer-background: var(--body-background);
  --footer-border: #caced2;
  --collapser-focus: #9ac123;
  --collapser-background: #9ac123;
  --popup-title-color: var(--body-color);
  --popup-title-background: #565a60;
  --breadcrumb-background: var(--body-background);
  --breadcrumb-border: #82878f;
  --breadcrumb-current: #f783b3;
  --fieldset-pretty-title-color: #ff6e3a;
  --fieldset-smart-title-color: #f3f4f5;
  --entry-sidebar-title-color: #ecedee;
  --title-label-color: #ecedee;
  --table-caption-color: var(--body-color);
  --head-border: #dadbde;
  --head-background: #565a60;
  --line-input-background: #c9cbcf;
  --line-background-over: #494c52;
  --line-focus-background: #494c52;
  --cell-border: #ecedee;
  --cell-noborder-color: #dadbde;
  --hr-color: #c9cbcf;
  --code-color: var(--body-background);
  --code-background: #fefacd;
  --link-color: #76c2f1;
  --link-border: #82878f;
  --discrete-link-color: var(--body-color);
  --link-outline: #bee74b;
  --outgoing-link-filter: 100%;
  --fieldset-border: #caced2;
  --fieldset-background: var(--body-background);
  --fieldset-focus-background: #343a40;
  --legend-border: #caced2;
  --legend-background: #565a60;
  --invalid-input-color: #000;
  --invalid-input-border: #ae323b;
  --invalid-input-background: #ffbaba;
  --invalid-input-shadow: rgba(174, 50, 59, 0.3);
  --input-color: #000;
  --input-background: #ecedee;
  --input-border: #747c87;
  --input-shadow: #ecedee;
  --input-focus: #bee74b;
  --input-file-color: var(--body-color);
  --input-file-background: var(--body-background);
  --form-note-color: #bce8f1;
  --error-background: #ffbaba;
  --required: #f783b3;
  --button-color: #000;
  --button-border: #82878f;
  --button-shadow: rgba(0, 0, 0, 0.05);
  --submit-color: #fff;
  --submit-background: #25a6e1;
  --submit-background-alt: #188bc0;
  --submit-border: #82878f;
  --reset-color: #000;
  --reset-background: #eaeaea;
  --reset-background-alt: #f9f9f9;
  --reset-background-ter: #dadada;
  --reset-border: #82878f;
  --delete-color: #ae323b;
  --delete-hover-color: #fff;
  --delete-hover-background: #b33630;
  --delete-hover-background-alt: #dc5f59;
  --delete-hover-border: #dc5f59;
  --add-color: #000;
  --add-background: #bee74b;
  --add-background-alt: #9bca1c;
  --add-border: #bee74b;
  --add-border-alt: #9bca1c;
  --clone-color: #7e2999;
  --clone-background: #eaeaea;
  --clone-background-alt: #f9f9f9;
  --clone-hover-color: #fff;
  --clone-hover-background: #9f34c1;
  --clone-hover-background-alt: #b456d2;
  --clone-border: #82878f;
  --button-disabled-color: #676e78;
  --button-disabled-background: #f3f4f5;
  --button-disabled-background-alt: #ecedee;
  --button-disabled-border: #82878f;
  --ajax-color: #303236;
  --ajax-background: #fff;
  --ajax-background-alt: #a2cbe9;
  --ajax-border: #676e78;
  --gotop-color: #303236;
  --gotop-background: transparent;
  --gotop-border: none;
  --addmeta-color: #fff;
  --addmeta-background: transparent;
  --addmeta-focus-color: #000;
  --addmeta-focus-background: #abd0eb;
  --msg-color: #fff;
  --msg-background: #676e78;
  --msg-background-alt: #caced2;
  --msg-shadow: rgba(48, 50, 54, 0.1);
  --msg-info-color: #303236;
  --msg-info-background: #d9edf7;
  --msg-info-border: #d9edf7;
  --msg-warn-color: #303236;
  --msg-warn-background: #fefacd;
  --msg-warn-background-alt: #ffd478;
  --msg-warn-border: #fefacd;
  --msg-error-color: #000;
  --msg-error-background: #ffbaba;
  --msg-error-background-alt: #fefacd;
  --msg-success-color: #000;
  --msg-success-background: #bee74b;
  --msg-success-background-alt: #9bca1c;
  --dc-update-color: #000;
  --dc-update-background: #a2cbe9;
  --ajax-loader: #82b9e1;
  --form-control-color: #fff;
  --filter-border: #a2cbe9;
  --filter-options-border: #c9cbcf;
  --filter-focus-background: #494c52;
  --prelude-color: #303236;
  --prelude-background: #a2cbe9;
  --prelude-background-alt: #fff;
  --help-background: #303236;
  --help-border: #ffd478;
  --help-button-border: #676e78;
  --help-button-background: #303236;
  --help-title-color: #a2cbe9;
  --tooltip-color: #fff;
  --tooltip-background: rgba(0, 0, 0, 0.9);
  --ui-sortable-background: #3d314e;
  --ui-sortable-background-bis: #6d396e;
  --ui-sortable-background-ter: #2f4143;
  --login-fieldset-background: #303236;
  --login-fieldset-border: #9bca1c;
  --index-link-color: #ecedee;
  --index-link-border: #82878f;
  --index-icon-background: #565a60;
  --index-icon-border: #ecedee;
  --index-icon-outline: #188bc0;
  --index-icon-contrast: 130%;
  --quick-background: #303236;
  --quick-border: #dadbde;
  --quick-info-background: #d9edf7;
  --quick-info-border: #bce8f1;
  --quick-info-color: #303236;
  --index-box-border: #caced2;
  --drag-n-drop-off: #82878f;
  --drag-n-drop-on: #bee74b;
  --blog-user-border: #caced2;
  --blog-super-background: rgba(217, 237, 247, 0.15);
  --blog-super-border: #bee74b;
  --theme-box-border: #dadbde;
  --theme-box-over: #565a60;
  --theme-name-color: #c9cbcf;
  --theme-img-background: #f3f4f5;
  --theme-img-border: #fff;
  --theme-img-shadow: rgba(48, 50, 54, 0.1);
  --theme-action-background: #565a60;
  --theme-action-border: transparent;
  --theme-current-background: #565a60;
  --theme-current-border: #ecedee;
  --theme-current-shadow: rgba(48, 50, 54, 0.1);
  --theme-current-img-border: #fff;
  --theme-current-name-color: #ff6e3a;
  --cat-placeholder-outline: #76c2f1;
  --cat-line-border: #caced2;
  --subcat-line-border: #dadbde;
  --cat-post-counter: #f3f4f5;
  --media-folder-background: transparent;
  --media-folder-border: #ecedee;
  --media-folderup-border: transparent;
  --media-folder-link: #c9cbcf;
  --media-item-border: #dadbde;
  --media-item-border-private: #c44d58;
  --media-files-border: #dadbde;
  --media-item-active-background: #3a3d41;
  --upload-color: #556f0f;
  --upload-filemsg-color: #fff;
  --upload-progress-color: #fff;
  --upload-progress-background: #556f0f;
  --upload-file-border: #dadbde;
  --upload-error-color: #ae323b;
  --modules-background: #303236;
  --modules-border: #a2cbe9;
  --entry-sb-title-border: #fff;
  --entry-sb-background: #494c52;
  --entry-sb-focus-background: #565a60;
  --fav-list-border: #ecedee;
  --fav-list-border-alt: #dadbde;
  --my-favs-border: #9ac123;
  --charte-title: #ff6e3a;
  --charte-one-box-border: #dadbde;
  --ac-results-background: #303236;
  --ac-results-border: #ffd478;
  --ac-results-over: #fff;
  --ac-results-over-background: #35a5ea;
  --nav-background: var(--body-background);
  --nav-prevnext: #76c2f1;
  --nav-prevnext-background: #303236;
  --nav-prevnext-border: #dadbde;
  --onblog-link: #303236;
  --onblog-link-background: #ecedee;
  --onblog-link-border: #ecedee;
  --onblog-link-shadow: rgba(48, 50, 54, 0.3);
  --pager-link: #76c2f1;
  --pager-active: #c9cbcf;
  --pager-background: #f3f4f5;
  --pager-background-over: #dadbde;
  --pager-off-background: #fff;
  --pager-input-background: #fff;
  --pager-border: #dadbde;
  --index-no-link: #c9cbcf;
  --index-active: #fff;
  --index-active-background: #676e78;
  --step: #676e78;
  --step-background: #f3f4f5;
  --step-border: #caced2;
  --offline: #82878f;
  --offline-background: #303236;
  --mark-attach-img: url("../images/attach.svg");
  --mark-attach-filter: hue-rotate(260deg) saturate(100) saturate(0.2) brightness(220%);
  --rch-table-1st-color: #c9cbcf;
  --rch-table-1st-background: #565a60;
  --rch-table-1st-border-top: #ecedee;
  --rch-table-expand-color: var(--body-color);
  --rch-table-expand-background: var(--body-background);
  --rch-table-expand-border-top: #ecedee;
  --rch-table-td-link: #bee74b;
  --badge-color: #fff;
  --badge-border: var(--body-color);
  --badge-std-background: #d54e21;
  --badge-soft-background: #607d8b;
  --badge-info-background: #3f51b5;
  --debug-color: #ae323b;
  --debug-background: #ffd478;
  --debug-border: #ffd478;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --body-color: #dcdee0;
    --body-background: #272b30;
    --title-color: #b2b5ba;
    --title-alt-color: #ff6e3a;
    --header-color: var(--body-color);
    --header-background: var(--body-background);
    --header-background-alt: #565a60;
    --header-border: #9ac123;
    --header-border-alt: #303236;
    --header-border-safe: #ffd478;
    --header-link-border: #82878f;
    --header-active-color: #fff;
    --header-active-background: #82878f;
    --header-active-color-alt: #fff;
    --header-active-background-alt: #82878f;
    --wrapper-background: var(--body-background);
    --content-background: var(--body-background);
    --tabs-color: #303236;
    --tabs-border: #ecedee;
    --tabs-background: #c9cbcf;
    --tabs-active-color: #fff;
    --tabs-active-background: #82878f;
    --main-menu-background: #494c52;
    --main-menu-title-color: #c9cbcf;
    --main-menu-item-color: var(--body-color);
    --main-menu-item-border: #caced2;
    --main-menu-active-color: #fff;
    --main-menu-active-background: #82878f;
    --main-menu-border: #a2cbe9;
    --search-color: #fff;
    --search-border: #c9cbcf;
    --search-background: #25a6e1;
    --search-submit-color: #fff;
    --search-submit-background: #188bc0;
    --search-outline: #bee74b;
    --footer-background: var(--body-background);
    --footer-border: #caced2;
    --collapser-focus: #9ac123;
    --collapser-background: #9ac123;
    --popup-title-color: var(--body-color);
    --popup-title-background: #565a60;
    --breadcrumb-background: var(--body-background);
    --breadcrumb-border: #82878f;
    --breadcrumb-current: #f783b3;
    --fieldset-pretty-title-color: #ff6e3a;
    --fieldset-smart-title-color: #f3f4f5;
    --entry-sidebar-title-color: #ecedee;
    --title-label-color: #ecedee;
    --table-caption-color: var(--body-color);
    --head-border: #dadbde;
    --head-background: #565a60;
    --line-input-background: #c9cbcf;
    --line-background-over: #494c52;
    --line-focus-background: #494c52;
    --cell-border: #ecedee;
    --cell-noborder-color: #dadbde;
    --hr-color: #c9cbcf;
    --code-color: var(--body-background);
    --code-background: #fefacd;
    --link-color: #76c2f1;
    --link-border: #82878f;
    --discrete-link-color: var(--body-color);
    --link-outline: #bee74b;
    --outgoing-link-filter: 100%;
    --fieldset-border: #caced2;
    --fieldset-background: var(--body-background);
    --fieldset-focus-background: #343a40;
    --legend-border: #caced2;
    --legend-background: #565a60;
    --invalid-input-color: #000;
    --invalid-input-border: #ae323b;
    --invalid-input-background: #ffbaba;
    --invalid-input-shadow: rgba(174, 50, 59, 0.3);
    --input-color: #000;
    --input-background: #ecedee;
    --input-border: #747c87;
    --input-shadow: #ecedee;
    --input-focus: #bee74b;
    --input-file-color: var(--body-color);
    --input-file-background: var(--body-background);
    --form-note-color: #bce8f1;
    --error-background: #ffbaba;
    --required: #f783b3;
    --button-color: #000;
    --button-border: #82878f;
    --button-shadow: rgba(0, 0, 0, 0.05);
    --submit-color: #fff;
    --submit-background: #25a6e1;
    --submit-background-alt: #188bc0;
    --submit-border: #82878f;
    --reset-color: #000;
    --reset-background: #eaeaea;
    --reset-background-alt: #f9f9f9;
    --reset-background-ter: #dadada;
    --reset-border: #82878f;
    --delete-color: #ae323b;
    --delete-hover-color: #fff;
    --delete-hover-background: #b33630;
    --delete-hover-background-alt: #dc5f59;
    --delete-hover-border: #dc5f59;
    --add-color: #000;
    --add-background: #bee74b;
    --add-background-alt: #9bca1c;
    --add-border: #bee74b;
    --add-border-alt: #9bca1c;
    --clone-color: #7e2999;
    --clone-background: #eaeaea;
    --clone-background-alt: #f9f9f9;
    --clone-hover-color: #fff;
    --clone-hover-background: #9f34c1;
    --clone-hover-background-alt: #b456d2;
    --clone-border: #82878f;
    --button-disabled-color: #676e78;
    --button-disabled-background: #f3f4f5;
    --button-disabled-background-alt: #ecedee;
    --button-disabled-border: #82878f;
    --ajax-color: #303236;
    --ajax-background: #fff;
    --ajax-background-alt: #a2cbe9;
    --ajax-border: #676e78;
    --gotop-color: #303236;
    --gotop-background: transparent;
    --gotop-border: none;
    --addmeta-color: #fff;
    --addmeta-background: transparent;
    --addmeta-focus-color: #000;
    --addmeta-focus-background: #abd0eb;
    --msg-color: #fff;
    --msg-background: #676e78;
    --msg-background-alt: #caced2;
    --msg-shadow: rgba(48, 50, 54, 0.1);
    --msg-info-color: #303236;
    --msg-info-background: #d9edf7;
    --msg-info-border: #d9edf7;
    --msg-warn-color: #303236;
    --msg-warn-background: #fefacd;
    --msg-warn-background-alt: #ffd478;
    --msg-warn-border: #fefacd;
    --msg-error-color: #000;
    --msg-error-background: #ffbaba;
    --msg-error-background-alt: #fefacd;
    --msg-success-color: #000;
    --msg-success-background: #bee74b;
    --msg-success-background-alt: #9bca1c;
    --dc-update-color: #000;
    --dc-update-background: #a2cbe9;
    --ajax-loader: #82b9e1;
    --form-control-color: #fff;
    --filter-border: #a2cbe9;
    --filter-options-border: #c9cbcf;
    --filter-focus-background: #494c52;
    --prelude-color: #303236;
    --prelude-background: #a2cbe9;
    --prelude-background-alt: #fff;
    --help-background: #303236;
    --help-border: #ffd478;
    --help-button-border: #676e78;
    --help-button-background: #303236;
    --help-title-color: #a2cbe9;
    --tooltip-color: #fff;
    --tooltip-background: rgba(0, 0, 0, 0.9);
    --ui-sortable-background: #3d314e;
    --ui-sortable-background-bis: #6d396e;
    --ui-sortable-background-ter: #2f4143;
    --login-fieldset-background: #303236;
    --login-fieldset-border: #9bca1c;
    --index-link-color: #ecedee;
    --index-link-border: #82878f;
    --index-icon-background: #565a60;
    --index-icon-border: #ecedee;
    --index-icon-outline: #188bc0;
    --index-icon-contrast: 130%;
    --quick-background: #303236;
    --quick-border: #dadbde;
    --quick-info-background: #d9edf7;
    --quick-info-border: #bce8f1;
    --quick-info-color: #303236;
    --index-box-border: #caced2;
    --drag-n-drop-off: #82878f;
    --drag-n-drop-on: #bee74b;
    --blog-user-border: #caced2;
    --blog-super-background: rgba(217, 237, 247, 0.15);
    --blog-super-border: #bee74b;
    --theme-box-border: #dadbde;
    --theme-box-over: #565a60;
    --theme-name-color: #c9cbcf;
    --theme-img-background: #f3f4f5;
    --theme-img-border: #fff;
    --theme-img-shadow: rgba(48, 50, 54, 0.1);
    --theme-action-background: #565a60;
    --theme-action-border: transparent;
    --theme-current-background: #565a60;
    --theme-current-border: #ecedee;
    --theme-current-shadow: rgba(48, 50, 54, 0.1);
    --theme-current-img-border: #fff;
    --theme-current-name-color: #ff6e3a;
    --cat-placeholder-outline: #76c2f1;
    --cat-line-border: #caced2;
    --subcat-line-border: #dadbde;
    --cat-post-counter: #f3f4f5;
    --media-folder-background: transparent;
    --media-folder-border: #ecedee;
    --media-folderup-border: transparent;
    --media-folder-link: #c9cbcf;
    --media-item-border: #dadbde;
    --media-item-border-private: #c44d58;
    --media-files-border: #dadbde;
    --media-item-active-background: #3a3d41;
    --upload-color: #556f0f;
    --upload-filemsg-color: #fff;
    --upload-progress-color: #fff;
    --upload-progress-background: #556f0f;
    --upload-file-border: #dadbde;
    --upload-error-color: #ae323b;
    --modules-background: #303236;
    --modules-border: #a2cbe9;
    --entry-sb-title-border: #fff;
    --entry-sb-background: #494c52;
    --entry-sb-focus-background: #565a60;
    --fav-list-border: #ecedee;
    --fav-list-border-alt: #dadbde;
    --my-favs-border: #9ac123;
    --charte-title: #ff6e3a;
    --charte-one-box-border: #dadbde;
    --ac-results-background: #303236;
    --ac-results-border: #ffd478;
    --ac-results-over: #fff;
    --ac-results-over-background: #35a5ea;
    --nav-background: var(--body-background);
    --nav-prevnext: #76c2f1;
    --nav-prevnext-background: #303236;
    --nav-prevnext-border: #dadbde;
    --onblog-link: #303236;
    --onblog-link-background: #ecedee;
    --onblog-link-border: #ecedee;
    --onblog-link-shadow: rgba(48, 50, 54, 0.3);
    --pager-link: #76c2f1;
    --pager-active: #c9cbcf;
    --pager-background: #f3f4f5;
    --pager-background-over: #dadbde;
    --pager-off-background: #fff;
    --pager-input-background: #fff;
    --pager-border: #dadbde;
    --index-no-link: #c9cbcf;
    --index-active: #fff;
    --index-active-background: #676e78;
    --step: #676e78;
    --step-background: #f3f4f5;
    --step-border: #caced2;
    --offline: #82878f;
    --offline-background: #303236;
    --mark-attach-img: url("../images/attach.svg");
    --mark-attach-filter: hue-rotate(260deg) saturate(100) saturate(0.2) brightness(220%);
    --rch-table-1st-color: #c9cbcf;
    --rch-table-1st-background: #565a60;
    --rch-table-1st-border-top: #ecedee;
    --rch-table-expand-color: var(--body-color);
    --rch-table-expand-background: var(--body-background);
    --rch-table-expand-border-top: #ecedee;
    --rch-table-td-link: #bee74b;
    --badge-color: #fff;
    --badge-border: var(--body-color);
    --badge-std-background: #d54e21;
    --badge-soft-background: #607d8b;
    --badge-info-background: #3f51b5;
    --debug-color: #ae323b;
    --debug-background: #ffd478;
    --debug-border: #ffd478;
  }
}
body.dark-mode .light-only {
  display: none !important;
}

body.light-mode .dark-only,
body:not(.dark-mode):not(.light-mode) .dark-only {
  display: none !important;
}

/** --------------------------------------------------
    Common rules
--------------------------------------------------- */
/* Typographie */
html {
  font-size: var(--html-font-size);
}

body {
  color: var(--body-color);
  background: var(--body-background);
  font-size: var(--body-font-size);
  line-height: 1.5;
  font-family: var(--sans-serif);
}

h2,
h3,
.as_h3,
h4,
.as_h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 1em;
}

h2 {
  color: var(--title-color);
  font-size: 1.5em;
  font-weight: normal;
  line-height: 1.25;
  padding: 0 0 1.5em;
}

h3,
.as_h3 {
  color: var(--title-alt-color);
  font-size: 1.34em;
  font-weight: normal;
  line-height: 1.5;
  margin-top: 1em;
}

h4,
.as_h4 {
  color: var(--title-color);
  font-size: 1.16em;
  line-height: 1.5;
}

h5 {
  color: var(--title-color);
  font-size: 1em;
  line-height: 1.5;
  font-weight: bold;
}

h6 {
  color: var(--title-color);
  font-size: 1em;
  line-height: 1.5;
}

/* ------------------------------------------------------------------------------------
                              A11Y - Accessibilité
------------------------------------------------------------------------------------ */
/* Remove animations for folks who set their OS to reduce motion.
 1. Immediately jump any animation to the end point
 2. Remove transitions & fixed background attachment
 See: https://github.com/mozdevs/cssremedy/issues/11
*/
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-delay: 0s !important;
    transition-duration: 0s !important;
  }
}
/** --------------------------------------------------
    Layout
--------------------------------------------------- */
#dotclear-admin {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

#header {
  color: var(--header-color);
  background: var(--header-background);
  border-bottom: 4px solid var(--header-border);
  width: 100%;
  display: table;
  position: relative;
}

body.safe-mode #header {
  border-bottom-color: var(--header-border-safe);
}

h1,
#top-info-blog,
#top-info-user {
  display: table-cell;
  padding: 8px 0;
  margin: 0;
  font-size: 1em;
}

#wrapper {
  background: var(--wrapper-background);
  position: relative;
  float: left;
  width: 100%;
  z-index: 10;
  flex: 1;
}

#main {
  width: 100%;
  float: right;
  margin-left: -14em;
  margin-top: 0;
}

#content {
  background: var(--content-background);
  margin: 0 0 0 14em;
  padding: 0.5em 1.5em 0.75em 2.5em;
}

#main-menu {
  background: var(--main-menu-background);
  width: 14em;
  float: left;
  margin: 0;
  padding-top: 0.5em;
  padding-bottom: 1em;
  overflow: hidden;
}

#footer {
  background-color: var(--footer-background);
  border-top: 1px solid var(--footer-border);
  clear: both;
  position: relative;
  padding: 0.5em 0 0.5em 0.5em;
  text-align: left;
}

/* to hide main-menu */
#collapser {
  background: var(--collapser-background);
  position: absolute;
  top: 0;
  left: 14em;
  width: var(--collapser-width);
  height: 100%;
  overflow: hidden;
  display: block;
  border-right: 0;
  border-bottom: 0;
  z-index: 1;
  transition: none;
}
#collapser:hover, #collapser:focus {
  background: var(--collapser-focus);
  width: var(--collapser-width-focus);
}

.expand-mm {
  display: none;
}

/* if main-menu is hidden */
.hide-mm #main {
  margin-left: 0;
}
.hide-mm #content {
  margin-left: var(--collapser-width);
}
.hide-mm #content > h2 {
  margin-left: calc(-1em - var(--collapser-width));
}
.hide-mm #main-menu {
  display: none;
}
.hide-mm #collapser {
  left: 0;
}
.hide-mm .collapse-mm {
  display: none;
}
.hide-mm .expand-mm {
  display: block;
}

#wrapper.hide-mm {
  background: var(--content-background);
}

/* -------------------------------------------------------------- layout: two-cols */
.two-cols {
  position: static;
}
.two-cols .col {
  width: 48%;
  margin-left: 2%;
  float: left;
}
.two-cols .col:first-of-type {
  margin-left: 0;
  margin-right: 2%;
}
.two-cols .col:last-child {
  margin-left: 2%;
  margin-right: 0;
}
.two-cols .col70 {
  width: 68%;
  margin-left: 0;
  float: left;
}
.two-cols .col70.last-col {
  margin-left: 2%;
  margin-right: 0;
}
.two-cols .col30 {
  width: 28%;
  margin-left: 2%;
  float: left;
}
.two-cols .col30.first-col {
  margin-left: 0;
  margin-right: 2%;
}
.two-cols table {
  width: 90%;
}

/* -------------------------------------------------------------- layout: three-cols */
.three-cols {
  position: static;
}
.three-cols .col {
  width: 32.3%;
  float: left;
  margin-left: 1%;
}
.three-cols .col:first-child {
  margin-left: 0;
}

/* ------------------------------------------------- layout: optionnal one/two/three-boxes */
.one-box {
  text-align: justify;
}

.two-boxes {
  width: 45%;
}

.three-boxes {
  width: 30%;
}

.two-boxes,
.three-boxes {
  display: inline-block;
  vertical-align: top;
  margin: 0 1.5% 1em;
  text-align: left;
}

.two-boxes:nth-of-type(odd),
.three-boxes:nth-of-type(3n + 1) {
  margin-left: 0;
}

.two-boxes:nth-of-type(even),
.three-boxes:nth-of-type(3n) {
  margin-right: 0;
}

/* ---------------------------------------------------------------- layout: popups */
.popup h1 {
  color: var(--popup-title-color);
  background: var(--popup-title-background);
  display: block;
  width: 100%;
  margin: 0;
  font-size: 1.5em;
  text-indent: 1em;
  line-height: 1.5em;
  font-weight: normal;
}
.popup #wrapper {
  display: block;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background-position: 0 0;
}
.popup #main {
  margin: 0;
  padding: 0;
}
.popup #content {
  margin: 0;
  padding: 1em;
}
.popup #content h2 {
  margin: 0 0 1em 0;
  padding: 0;
}
.popup #footer p {
  border: none;
}

/* -------------------------------------------------------- layout: classes de complément */
.constrained {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.table {
  display: table;
}

.cell {
  display: table-cell;
  vertical-align: top;
}

.clear {
  clear: both;
}

.lclear {
  clear: left;
}

.clearer {
  height: 1px;
  font-size: 1px;
}

/* Micro clearfix thx to Nicolas Gallagher, replaced by display: flow-root (see https://css-tricks.com/display-flow-root/) */
.clearfix {
  display: flow-root;
}

.box {
  display: inline-block;
  vertical-align: top;
  margin: 0 10px 10px;
  text-align: left;
  flex: 1 1 auto;
}
.box.small {
  flex-basis: 312px;
}
.box.medium {
  flex-basis: 644px;
}
.box.large {
  width: 100%;
}

.odd {
  margin-left: 0;
}

.even {
  margin-right: 0;
}

/* ------------------------------------------------------------------------------------
                              UN POIL DE MEDIA QUERIES
------------------------------------------------------------------------------------ */
@media screen and (max-width: 82em) {
  #header {
    display: block;
    width: 100%;
    text-align: right;
  }
  #header h1,
  #header h1 a {
    width: 120px;
    margin: 0;
  }
  h1 {
    width: 19.5em;
    display: inline-block;
    vertical-align: top;
    margin-right: 1em;
  }
  #top-info-blog {
    display: inline-block;
    vertical-align: top;
    margin-right: 1em;
  }
  #top-info-blog #switchblog {
    max-width: 16em;
  }
  #top-info-blog a {
    margin-left: 2em;
  }
  #top-info-user {
    display: block;
    width: 100%;
  }
  #collapser {
    left: 17em;
  }
  #main {
    margin-left: -17em;
  }
  #content {
    margin: 0 0 0 17em;
  }
  #main-menu {
    width: 17em;
  }
  .three-boxes,
  .three-boxes .box,
  .two-cols .col70,
  .two-cols .col30 {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}
@media screen and (max-width: 62em) {
  #dashboard-boxes .box.medium,
  .box.medium,
  #dashboard-boxes .box.small,
  .box.small,
  #dashboard-boxes .box.large,
  .box.large {
    width: 95%;
    margin: 10px auto;
  }
}
@media screen and (max-width: 62em) {
  #help-button {
    height: 26px;
    width: 26px;
    margin: 0;
    overflow: hidden;
  }
  #content.with-help #help-button {
    top: 10em;
  }
  .one-box,
  body:not(.popup) .two-boxes,
  .box,
  .two-cols .col {
    width: 96%;
    margin-left: 0;
    margin-right: 0;
  }
}
@media screen and (max-width: 43em) {
  #header h1,
  #header h1 a {
    width: 42px !important;
    height: 42px;
  }
  #wrapper,
  #main,
  #main-menu {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
  }
  #main-menu a {
    display: block;
    width: 100%;
  }
  #main-menu h3 a {
    display: inline;
  }
  #content,
  .hide-mm #content {
    margin: 0;
  }
  #collapser {
    display: none;
  }
  #main #content > h2 {
    margin: 0 -0.25em 1em;
  }
  #dashboard-boxes .box.medium,
  .box.medium,
  #dashboard-boxes .box.small,
  .box.small,
  #dashboard-boxes .box.large,
  .box.large {
    width: 95%;
    margin: 10px auto;
  }
  .cell,
  #filters-form .cell {
    display: inline-block;
    vertical-align: bottom;
  }
  .pseudo-tabs li {
    display: block;
    float: left;
    width: 50%;
  }
}
@media screen and (max-width: 43em) {
  #top-info-blog label,
  .nomobile {
    display: none;
  }
  #top-info-blog {
    margin-bottom: 0.5em;
    max-width: 75%;
  }
  #top-info-blog select {
    margin-bottom: 0.5em;
  }
  #header a.logout img {
    padding-left: 0;
  }
  #content.with-help #help-button {
    top: 10em;
    right: 28rem;
  }
  #content.with-help #help {
    width: 28rem;
  }
  p.top-add {
    margin-bottom: 0.5em;
  }
  .part-tabs ul {
    margin: 1em 0;
  }
  .part-tabs li a {
    display: block;
    width: 100%;
  }
  #icons p {
    width: 9em;
  }
  .media-item {
    width: 90%;
  }
  #theme-new,
  #theme-activate,
  #theme-deactivate {
    margin-left: 0;
    margin-right: 0;
  }
  body.popup .two-boxes {
    width: 96%;
    margin-left: 0;
    margin-right: 0;
  }
  .box.current-theme {
    margin: 5px;
    width: 100%;
  }
  .current-theme .module-sshot img {
    margin: 0;
    float: none;
    max-width: 100%;
  }
  table .maximal {
    min-width: 14em;
  }
  .pseudo-tabs li {
    display: block;
    width: 100%;
    float: none;
  }
}
/** --------------------------------------------------
    Elements
--------------------------------------------------- */
/* ------------------------------------------------------------------ titres */
/* fil d'ariane */
#content > h2 {
  padding: 0 1em 0.5em 1em;
  margin: 0 -1em 1em -1em;
  background: var(--breadcrumb-background);
  border-bottom: 1px solid var(--breadcrumb-border);
}

/* page courante dans le fil d'ariane */
.page-title {
  color: var(--breadcrumb-current);
}
.page-title img {
  padding-left: 0.5em;
  vertical-align: middle;
}

/* autres titres */
#main-menu h3 {
  font-weight: bold;
}

.fieldset h3,
.fieldset h4,
.pretty-title {
  color: var(--fieldset-pretty-title-color);
  font-size: 1em;
  font-weight: bold;
}

.fieldset h3 {
  font-size: 1.17em;
}

.fieldset h3.smart-title,
.fieldset h4.smart-title,
.smart-title {
  font-size: 1em;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--fieldset-smart-title-color);
}

#entry-sidebar h5 {
  font-weight: normal;
  color: var(--entry-sidebar-title-color);
}

.entry-status img.img_select_option {
  padding-left: 4px;
  vertical-align: -1px;
}

h4 label,
h5 label {
  color: var(--title-label-color);
}

h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
ul:first-child,
p:first-child {
  margin-top: 0;
}

/* ---------------------------------------------------------------- tableaux */
/*  Pour autoriser le scroll sur les petites largeurs
  envelopper les tableaux dans une div.table-outer */
.table-outer {
  width: 100%;
  overflow: auto;
}

table {
  font-size: 1em;
  border-collapse: collapse;
  margin: 0 0 1em 0;
  width: 100%;
}

caption {
  color: var(--table-caption-color);
  font-weight: bold;
  text-align: left;
  margin-bottom: 0.5em;
}

th:not(.module-name) {
  border-width: 1px 0 1px 0;
  border-style: solid;
  border-color: var(--head-border);
  background: var(--head-background);
  padding: 0.4em 1em 0.4em 0.5em;
  vertical-align: top;
  text-align: left;
}

td,
th.module-name {
  font-weight: normal;
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: var(--cell-border);
  padding: 0.4em 1em 0.4em 0.5em;
  vertical-align: top;
}

/* ---------------------------------------------------------- autres balises */
p {
  margin: 0 0 1em 0;
}

hr {
  height: 1px;
  border-width: 1px 0 0;
  border-color: var(--hr-color);
  background: var(--hr-color);
  border-style: solid;
}
hr.clearer {
  clear: both;
}

pre,
code,
#debug {
  font: 100% var(--monospace);
}

code {
  color: var(--code-color);
  background: var(--code-background);
}

pre {
  white-space: pre;
  white-space: -moz-pre-wrap;
  white-space: pre-wrap;
  white-space: pre-line;
  word-wrap: break-word;
}

abbr {
  cursor: help;
}

input,
textarea,
select,
option,
optgroup,
legend,
label {
  font-size: 1em;
}

/* ------------------------------------------------------------------ liens */
a,
a:link,
a:visited {
  color: var(--link-color);
  text-decoration: none;
  border-bottom: 1px dotted var(--link-border);
  background-color: inherit;
  outline: 0;
}
a img,
a:link img,
a:visited img {
  border: none;
  background: initial;
}

a:hover,
a:active {
  border-bottom-style: solid;
}

h1 a:link,
h1 a:visited {
  border: none;
}

.discrete a {
  color: var(--discrete-link-color);
}

a:link {
  transition: 0.5s;
}

a:focus,
a:focus img {
  outline: 2px solid var(--link-outline);
  border-bottom: none;
  text-decoration: none;
}

a.outgoing img,
.outgoing-js {
  width: 0.75em;
  filter: contrast(var(--outgoing-link-filter));
}
#header a.outgoing img,
#header .outgoing-js {
  width: 1.25em;
  padding: 0 0 0 0.5em;
  vertical-align: initial;
  filter: contrast(100%);
}

input[type=text],
input[type=color],
input[type=email],
input[type=url],
input[type=datetime-local],
input[type=date],
input[type=time],
input[type=file],
input[type=number],
input[type=password],
input[type=submit],
input[type=button],
input[type=reset],
a.button,
button,
textarea,
legend {
  max-width: 100%;
  border-radius: 3px;
}

form {
  display: block;
  margin: 0;
  padding: 0;
}

fieldset {
  margin: 1em 0;
  padding: 1em 0.5em;
  border-width: 1px;
  border-style: solid;
  border-color: var(--fieldset-border);
  background: var(--fieldset-background);
}
fieldset hr {
  background-color: var(--fieldset-border);
  border-width: 0;
  margin: 0 0 1em 0;
}
fieldset:focus-within {
  background-color: var(--fieldset-focus-background);
}
fieldset > *:last-child {
  margin-bottom: 0;
}
fieldset legend,
fieldset h3,
fieldset h4 {
  width: 100%;
  padding: 0;
  margin-bottom: 0.75em;
  color: var(--fieldset-pretty-title-color);
  font-size: 1em;
  font-weight: bold;
}
fieldset legend {
  float: left;
}

input[type=text],
input[type=color],
input[type=email],
input[type=url],
input[type=datetime-local],
input[type=date],
input[type=time],
input[type=file],
input[type=number],
textarea {
  font-family: var(--sans-serif-input);
  font-size: 100%;
}

label .maximal,
textarea.maximal,
input.maximal,
select.maximal {
  width: 100%;
}

input[type=text],
input[type=password],
input[type=color],
input[type=email],
input[type=url],
input[type=datetime-local],
input[type=date],
input[type=time],
input[type=file],
input[type=number],
textarea,
input:not([type=file]):invalid,
input:not([type=file]):invalid:placeholder-shown {
  box-shadow: 1px 1px 2px var(--input-shadow) inset;
  padding: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--input-border);
}

select {
  max-width: 100%;
  box-shadow: 1px 1px 2px var(--input-shadow) inset;
  padding: 3px;
  vertical-align: top;
}

input:invalid:not(:required),
textarea:invalid:not(:required),
select:invalid:not(:required),
input:not([type=file]):invalid:not(:focus):not(:required) {
  color: var(--invalid-input-color);
  box-shadow: 0 0 0 3px var(--invalid-input-shadow);
}

input:invalid:not(:required),
textarea:invalid:not(:required),
input:not([type=file]):invalid:not(:focus):not(:required) {
  border: 1px solid var(--invalid-input-border);
  background: var(--invalid-input-background);
}

input:focus,
textarea:focus {
  border-color: var(--input-focus);
}

textarea {
  padding: 2px 0;
}
textarea.maximal {
  resize: vertical;
}
.area textarea {
  display: block;
  width: 100%;
  resize: vertical;
}

select {
  padding: 2px 0;
  vertical-align: middle;
}

@supports (-webkit-hyphens: none) {
  /* Safari 9+ only (https://browserstrangeness.bitbucket.io/css_hacks.html#webkit) */
  select {
    font-size: initial;
  }
}
select.l10n option {
  padding-left: 16px;
}

option.avail10n {
  background: url(../images/check-on.png) no-repeat 0 50%;
  background-color: transparent;
}

input[type=text],
input[type=color],
input[type=email],
input[type=url],
input[type=datetime-local],
input[type=date],
input[type=time],
input[type=number],
input[type=password],
textarea {
  margin-right: 0.3em;
}

input[type=checkbox],
input[type=radio],
input[type=file] {
  border: none;
  margin: -0.235ex 0.33em 0 0;
  padding: 0;
}

input + input[type=checkbox] {
  margin-left: 0.33em;
}

a input {
  margin-right: 0.33em;
}

input[type=file] {
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}

input[type=color] {
  width: 4em;
  height: 3em;
}

optgroup {
  font-weight: bold;
  font-style: normal;
}

option {
  font-weight: normal;
}

label,
label span {
  display: block;
}

label.ib,
input.ib {
  display: inline-block;
}

label.classic {
  display: inline;
}

label.classic input,
label span input,
label.classic select,
label span select {
  display: inline;
}

label.required {
  font-weight: bold;
}

label.required abbr {
  color: var(--required);
  font-size: 1.3em;
  text-decoration: none;
}

label.bold {
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 2em;
}

label.area,
p.area,
div.area {
  width: inherit !important;
}

div.area {
  margin-bottom: 1em;
}

p.field {
  position: relative;
}
p.field label {
  display: inline-block;
  width: 14em;
}
p.field.wide label {
  width: 21em;
}
p.field input,
p.field select {
  display: inline-block;
}

.form-note,
.form-stats {
  font-style: italic;
  font-weight: normal;
  color: var(--form-note-color);
}

p.form-note,
p.form-stats {
  margin-top: -0.7em;
}

span.form-note,
span.form-stats {
  text-transform: none;
}

.missing {
  background-color: inherit;
  animation-name: kf-missing;
  animation-duration: 1s;
}

@keyframes kf-missing {
  50% {
    background-color: var(--error-background);
  }
}
.focus {
  background-color: inherit;
  animation-name: kf-focus;
  animation-duration: 1s;
}

@keyframes kf-focus {
  50% {
    background-color: var(--input-focus);
  }
}
.no-more-info {
  display: none !important;
}

/* Removes inner padding and border in FF3+  - Knacss */
button::-moz-focus-inner,
input[type=button]::-moz-focus-inner,
input[type=reset]::-moz-focus-inner,
input[type=submit]::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* tous les boutons */
button,
a.button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid var(--button-border);
  font-family: var(--sans-serif-input);
  padding: 3px 10px;
  line-height: normal !important;
  display: inline-block;
  font-size: 100%;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  box-shadow: 0 1px 3px var(--button-shadow);
  border-style: solid;
  border-width: 1px;
}

a.button {
  vertical-align: middle;
}

/* validation */
input[type=submit],
button[type=submit],
a.button.submit,
button.submit,
input.button.start {
  color: var(--submit-color);
  background-color: var(--submit-background);
  background-image: linear-gradient(to bottom, var(--submit-background), var(--submit-background-alt));
  border-color: var(--submit-background);
}
input[type=submit]:hover, input[type=submit]:focus,
button[type=submit]:hover,
button[type=submit]:focus,
a.button.submit:hover,
a.button.submit:focus,
button.submit:hover,
button.submit:focus,
input.button.start:hover,
input.button.start:focus {
  background-color: var(--submit-background-alt);
  background-image: linear-gradient(to bottom, var(--submit-background-alt), var(--submit-background));
  border-color: var(--submit-background-alt);
}

/* suppression, reset, "neutres" fond gris */
button,
input[type=button],
input.button,
input[type=reset],
input[type=submit].reset,
input.reset,
input[type=submit].delete,
input.delete,
a.button,
a.button.delete,
a.button.reset {
  color: var(--reset-color);
  background-color: var(--reset-background);
  background-image: linear-gradient(to bottom, var(--reset-background-alt), var(--reset-background));
  background-repeat: repeat-x;
  border-color: var(--reset-border);
}
button:hover, button:focus,
input[type=button]:hover,
input[type=button]:focus,
input.button:hover,
input.button:focus,
input[type=reset]:hover,
input[type=reset]:focus,
input[type=submit].reset:hover,
input[type=submit].reset:focus,
input.reset:hover,
input.reset:focus,
input[type=submit].delete:hover,
input[type=submit].delete:focus,
input.delete:hover,
input.delete:focus,
a.button:hover,
a.button:focus,
a.button.delete:hover,
a.button.delete:focus,
a.button.reset:hover,
a.button.reset:focus {
  background-color: var(--reset-background-ter);
  background-image: linear-gradient(to bottom, var(--reset-background), var(--reset-background-ter));
  background-repeat: repeat-x;
  border-color: var(--reset-border);
}

/* suppression */
input[type=submit].delete,
input.delete,
button[type=submit].delete,
button.delete,
a.button.delete {
  color: var(--delete-color);
}
input[type=submit].delete:hover, input[type=submit].delete:focus,
input.delete:hover,
input.delete:focus,
button[type=submit].delete:hover,
button[type=submit].delete:focus,
button.delete:hover,
button.delete:focus,
a.button.delete:hover,
a.button.delete:focus {
  color: var(--delete-hover-color);
  background-color: var(--delete-hover-background);
  background-image: linear-gradient(to bottom, var(--delete-hover-background-alt), var(--delete-hover-background));
  background-repeat: repeat-x;
  border-color: var(--delete-hover-border);
}

#info-box a.button,
#info-box button {
  padding: 0 0.5em;
  margin-left: 2em;
}

.button.add,
button.add {
  color: var(--add-color);
  background-color: var(--add-background);
  background-image: linear-gradient(to bottom, var(--add-background), var(--add-background-alt));
  border-color: var(--add-border);
  padding: 0.33em 1.33em 0.5em;
}
.button.add:hover, .button.add:active, .button.add:focus,
button.add:hover,
button.add:active,
button.add:focus {
  background-color: var(--add-background-alt);
  background-image: linear-gradient(to bottom, var(--add-background-alt), var(--add-background));
  border-color: var(--add-border-alt);
}

.button-add:focus {
  outline: dotted 1px;
}

input[type=submit].clone,
input.clone,
button.clone,
button[type=submit].clone,
a.button.clone {
  color: var(--clone-color);
  background-color: var(--clone-background);
  background-image: linear-gradient(to bottom, var(--clone-background-alt), var(--clone-background));
  border-color: var(--clone-border);
}
input[type=submit].clone:hover, input[type=submit].clone:active, input[type=submit].clone:focus,
input.clone:hover,
input.clone:active,
input.clone:focus,
button.clone:hover,
button.clone:active,
button.clone:focus,
button[type=submit].clone:hover,
button[type=submit].clone:active,
button[type=submit].clone:focus,
a.button.clone:hover,
a.button.clone:active,
a.button.clone:focus {
  color: var(--clone-hover-color);
  background-color: var(--clone-hover-background);
  background-image: linear-gradient(to bottom, var(--clone-hover-background-alt), var(--clone-hover-background));
}

/* paragraphe pour bouton Nouveau bidule */
p.top-add {
  text-align: right;
  margin: 0;
}

/* disabled */
input.disabled,
input[type=submit].disabled,
button.disabled,
button[type=submit].disabled {
  color: var(--button-disabled-color);
  background: var(--button-disabled-background);
  border: 1px solid var(--button-disabled-border);
}
input.disabled:hover,
input[type=submit].disabled:hover,
button.disabled:hover,
button[type=submit].disabled:hover {
  color: var(--button-disabled-color);
  background: var(--button-disabled-background-alt);
  border: 1px solid var(--button-disabled-border);
}

/* Boutons javascript (dépliage/repliage, …) */
.void-btn {
  border: none;
  border-radius: 0;
  padding: 0;
}

button.details-cmd {
  font-size: 0.9em;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0 5px 0 0;
  color: currentColor;
  background: transparent;
  box-shadow: none;
}
button.details-cmd:hover, button.details-cmd:focus {
  background: transparent;
  color: var(--input-focus);
}

/* specific buttons */
.checkbox-helper,
#gototop,
.metaGetList,
.metaGetMore,
a.checkbox-helper,
a#gototop,
a.metaGetList,
a.metaGetMore {
  font-size: 0.825em;
  color: var(--ajax-color);
  background: var(--ajax-background);
  box-shadow: none;
  border: 1px solid var(--ajax-border);
  margin-bottom: 0.25em;
  text-align: center;
}
.checkbox-helper:hover,
#gototop:hover,
.metaGetList:hover,
.metaGetMore:hover,
a.checkbox-helper:hover,
a#gototop:hover,
a.metaGetList:hover,
a.metaGetMore:hover {
  background: var(--ajax-background-alt);
  box-shadow: none;
  border: 1px solid var(--ajax-border);
}

#gototop {
  display: none;
  z-index: 1000;
  position: fixed;
  bottom: 0;
  right: 0.5em;
  width: 10em;
  padding: 0.25em;
  border-radius: 0.25em;
}
#gototop a, #gototop a:link, #gototop a:hover, #gototop a:active {
  color: var(--gotop-color);
  background: var(--gotop-background);
  border: var(--gotop-border);
}

.metaRemove,
.addMeta button:not(.metaGetMore),
.addMeta a:not(.metaGetMore) {
  border: none;
  border-radius: 0;
  padding: 0;
  color: var(--addmeta-color);
  background: var(--addmeta-background);
}

.addMeta button:not(.metaGetMore),
.addMeta a:not(.metaGetMore) {
  box-shadow: initial;
  margin-bottom: 2px;
}
.addMeta button:not(.metaGetMore):hover, .addMeta button:not(.metaGetMore):focus,
.addMeta a:not(.metaGetMore):hover,
.addMeta a:not(.metaGetMore):focus {
  color: var(--addmeta-focus-color);
  background: var(--addmeta-focus-background);
}

.warn,
.warning,
.info {
  font-style: normal;
  padding: 0.2em 0.66em 0.2em;
  display: inline-block;
  line-height: 1.5em;
  border-radius: 3px;
  box-shadow: 1px 1px 2px var(--msg-shadow);
}

.info {
  color: var(--msg-info-color);
  border: 1px solid var(--msg-info-border);
  box-shadow: none;
  background: url(msg-info.svg) no-repeat 0.75em 0.75em;
  background-size: 2.5em;
  background-color: var(--msg-info-background);
}

.warn,
.warning {
  color: var(--msg-warn-color);
  border: 1px solid var(--msg-warn-border);
  box-shadow: none;
  background: url(msg-warning.svg) no-repeat 0.75em 0.75em;
  background-size: 2.5em;
  background-color: var(--msg-warn-background);
}

.error,
.message,
.static-msg,
.success,
.warning-msg {
  padding: 1.25em 0.5em 0.5em 4em;
  margin-bottom: 1em;
  border-radius: 3px;
  box-shadow: 1px 1px 2px var(--msg-shadow);
}

.error {
  background: url(msg-error.svg) no-repeat 0.75em 0.75em;
  background-size: 2.5em;
  background-color: var(--msg-error-background);
  color: var(--msg-error-color);
  animation-name: kf-error;
  animation-duration: 0.5s;
}
.error a {
  color: var(--msg-error-color);
}

.message,
.static-msg {
  color: var(--msg-color);
  background: url(msg-std.svg) no-repeat 0.625em 1.125em;
  background-size: 2.5em;
  background-color: var(--msg-background);
}

.message {
  animation-name: kf-message;
  animation-duration: 0.5s;
}

.message a,
.static-msg a,
.message h3,
.static-msg h3 {
  color: var(--msg-color);
}

.success {
  color: var(--msg-success-color);
}

.success {
  background: url(msg-success.svg) no-repeat 0.75em 0.75em;
  background-size: 2.5em;
  background-color: var(--msg-success-background);
  animation-name: kf-success;
  animation-duration: 0.5s;
}

.success a,
.warning-msg a,
.info a {
  color: var(--msg-info-color);
}

.notice-ts {
  font-size: 0.875em;
  padding: 2px 0.5em;
  margin-right: 0.5em;
  border-radius: 0.25em;
  color: var(--body-color);
  background: var(--body-background);
  filter: opacity(0.85);
}

.warning-msg {
  color: var(--msg-warn-color);
  background: url(msg-warning.svg) no-repeat 0.75em 0.75em;
  background-size: 2.5em;
  background-color: var(--msg-warn-background-alt);
  animation-name: kf-warning;
  animation-duration: 0.5s;
}

.dc-update {
  padding: 1em 0.5em 0.5em 4em;
  margin-bottom: 1em;
  border-radius: 3px;
  color: var(--dc-update-color);
  background: url(msg-info.svg) no-repeat 0.75em 0.75em;
  background-size: 2.5em;
  background-color: var(--dc-update-background);
  box-shadow: 1px 1px 2px var(--msg-shadow);
}
.dc-update h3 {
  margin-top: 0;
  color: var(--dc-update-color);
}
.dc-update p {
  display: inline-block;
  vertical-align: middle;
}
.dc-update a {
  color: var(--dc-update-color);
  margin-right: 1em;
}
.dc-update a.button {
  padding: 0.5em 1em;
}

.updt-info a {
  margin-left: 2em;
  border-color: var(--dc-update-color);
  font-weight: bold;
}

p.updt-info img.outgoing-js {
  filter: brightness(0);
}

div.warn,
div.warning,
div.info {
  display: block;
  padding: 1em 1em 1em 4em;
  margin-bottom: 1em;
}

div.warn button.action,
div.warn input.action,
div.warning button.action,
div.warning input.action,
div.info button.action,
div.info input.action,
div.error button.action,
div.error input.action,
div.message button.action,
div.message input.action,
div.static-msg button.action,
div.static-msg input.action,
div.success button.action,
div.success input.action,
div.warning-msg button.action,
div.warning-msg input.action {
  margin-right: 0;
  margin-left: auto;
  display: block;
  margin-bottom: -1em;
}

p.warn,
p.warning,
p.info {
  background-position: 0.3em 0.2em;
  background-size: 1.5em;
  text-indent: 0;
  padding-left: 2.25em;
}

p.error,
p.message,
p.static-msg,
p.success,
p.warning-msg {
  padding-top: 1em;
  padding-bottom: 1.5em;
  margin-top: 0.5em;
}

span.warn,
span.warning,
span.info {
  padding-top: 1px;
  padding-bottom: 1px;
  background-position: 0.3em 0.1em;
  background-size: 1.5em;
  text-indent: 0;
  padding-left: 2.25em;
}

@keyframes kf-error {
  0% {
    background-color: var(--msg-error-background-alt);
  }
  100% {
    background-color: var(--msg-error-background);
  }
}
@keyframes kf-message {
  0% {
    background-color: var(--msg-background-alt);
  }
  100% {
    background-color: var(--msg-background);
  }
}
@keyframes kf-success {
  0% {
    background-color: var(--msg-success-background-alt);
  }
  100% {
    background-color: var(--msg-success-background);
  }
}
@keyframes kf-warning {
  0% {
    background-color: var(--msg-warn-background);
  }
  100% {
    background-color: var(--msg-warn-background-alt);
  }
}
body.ajax-loader #header {
  border-bottom-color: var(--ajax-loader);
  transition: border-bottom-color 0.3s ease;
}
body.ajax-loader #collapser {
  background-color: var(--ajax-loader);
  transition: background-color 0.3s ease;
}

.guideline #main-menu {
  padding-bottom: 0;
  position: sticky;
  top: 0;
}
.guideline #main-menu > div.info {
  border: none;
  margin-bottom: 0;
}
.guideline #main-menu > div.info p {
  text-indent: 0;
}

#content > div.warn, #content > div.warning, #content > div.info, #content > div.error, #content > div.message, #content > div.static-msg, #content > div.success, #content > div.warning-msg, #content > div.dc-update {
  margin-top: 1em;
}

/** --------------------------------------------------
    Components
--------------------------------------------------- */
/* prelude */
#prelude {
  line-height: 1.5;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--prelude-background);
  width: 100%;
}
#prelude li {
  list-style-type: none;
  margin: 0;
  background: transparent;
  display: inline;
}
#prelude li a {
  padding: 3px 16px 3px 8px;
  color: var(--prelude-color);
  background: var(--prelude-background);
  text-decoration: underline;
}
#prelude li a:hover, #prelude li a:focus {
  background: var(--prelude-background-alt);
}

/* header global h1, form#top-info-blog, ul#top-info-user */
#header a {
  color: var(--header-color);
}
#header img {
  vertical-align: middle;
  padding-left: 0.5em;
  height: 1.125em;
  width: auto;
}

/* h1 */
h1 {
  text-indent: 100%;
  width: 16.5em;
}
h1 a {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 36px;
  color: var(--header-color);
  background: url(dc_logos/b-dotclear120.png) no-repeat 0 6px;
  background-color: transparent;
  transition: none;
}
h1 a:hover, h1 a:focus {
  background-position: 0 -94px;
  background-color: transparent;
  transition: none;
}
h1 a:link {
  transition-timing-function: ease-in-out;
}

/* top-info-blog */
#top-info-blog select {
  max-width: 20em;
}
#top-info-blog a {
  margin-left: 1.5em;
}
#top-info-blog input[type=submit] {
  background: var(--submit-background);
  border-color: var(--submit-border);
  margin-left: 0.33em;
}
#top-info-blog input[type=submit]:hover {
  color: var(--submit-color);
  background: var(--submit-background-alt);
}
#top-info-blog p {
  display: inline-block;
  margin: 0;
}

/* top-info-user */
#top-info-user {
  padding-right: 0.5em;
  list-style-type: none;
  text-align: right;
}
#top-info-user li {
  display: inline-block;
  margin-left: 0.5em;
  padding-left: 0.5em;
  border-left: 1px solid var(--header-link-border);
}
#top-info-user li:first-child {
  border-left: none;
}
#top-info-user a.active {
  border-width: 0;
  border-radius: 4px;
  margin: 0;
  padding: 2px 8px 3px;
  color: var(--header-active-color);
  background-color: var(--header-active-background);
  font-weight: bold;
}

/* ------------------------------------------------------------------------------------
                              UN POIL DE MEDIA QUERIES
------------------------------------------------------------------------------------ */
@media screen and (max-width: 43em) {
  h1,
  h1 a {
    padding: 0;
  }
}
@media screen and (max-width: 43em) {
  h1 a:link {
    background: url(dc_logos/b-dotclear120.png) no-repeat -270px 6px;
    background-color: transparent;
  }
  h1 a:hover, h1 a:focus {
    background: url(dc_logos/b-dotclear120.png) no-repeat -270px -94px;
  }
}
#main-menu div:last-child {
  border-bottom: none;
}
#main-menu h3 {
  margin: 0;
  padding: 10px 0 10px 8px;
  color: var(--main-menu-title-color);
  font-size: 1.15em;
}
#main-menu a {
  color: var(--main-menu-item-color);
  border-bottom-color: var(--main-menu-item-border);
}
#main-menu ul {
  margin: 0 0 1.5em 0;
  padding: 0;
  list-style: none;
}
#main-menu ul li {
  margin: 0.5em 0 0;
  padding: 2px 0.5em 2px 0.5em;
  position: relative;
}
#main-menu ul li img {
  width: 1em;
  height: 1em;
  margin-top: 0.25em;
  outline: 0;
}
#main-menu ul li a {
  display: flex;
  border-bottom: none;
  min-height: calc(1.5em + 2px);
}
#main-menu ul li a img {
  margin-left: 0.25em;
  margin-right: 0.5em;
}
#main-menu ul li:hover {
  background-color: var(--main-menu-active-background);
}
#main-menu ul li:first-child {
  margin-top: 0;
}
#main-menu .active {
  background-color: var(--main-menu-active-background);
  font-weight: bold;
}
#main-menu .active a {
  border-bottom: none;
  color: var(--main-menu-active-color);
}

#favorites-menu,
#blog-menu,
#system-menu,
#plugins-menu {
  border-bottom: 1px dashed var(--main-menu-border);
}

#favorites-menu h3 {
  font-variant: small-caps;
  padding-top: 0.2em;
}

#search-menu {
  padding: 4px 0 0 4px;
  font-size: 0.91em;
}
#search-menu p {
  width: 95%;
  margin: 0 0 0.5em 0;
}
#search-menu input[type=submit] {
  float: right;
}

#qx {
  width: 75%;
  background: url(search.svg) no-repeat 0 center;
  background-color: transparent;
  text-indent: 20px;
}

.part-tabs ul {
  padding: 0.5em 0 0 1em;
  border-bottom: 1px solid var(--tabs-border);
  line-height: 1.8;
}
.part-tabs li {
  list-style: none;
  margin: 0;
  display: inline;
}
.part-tabs li:first-child a {
  border-top-left-radius: 3px;
}
.part-tabs li:last-child a {
  border-top-right-radius: 3px;
}
.part-tabs li a {
  padding: 0.33em 1.5em;
  margin-right: -1px;
  border: 1px solid var(--tabs-border);
  border-bottom: none;
  text-decoration: none;
  color: var(--tabs-color);
  background-color: var(--tabs-background);
  display: inline-block;
}
.part-tabs li a:hover, .part-tabs li a:focus {
  color: var(--tabs-color);
  background: var(--tabs-active-background);
  border-bottom-color: var(--tabs-active-background);
}
.part-tabs li a:link {
  transition: unset;
}
.part-tabs li.part-tabs-active a {
  color: var(--tabs-active-color);
  background: var(--tabs-active-background);
  font-weight: bold;
  border-bottom-color: var(--tabs-active-background);
}

.multi-part {
  padding-left: 1em;
}

.pseudo-tabs {
  margin: -0.75em 0 2em 0;
  border-bottom: 1px solid var(--tabs-border);
  display: table;
  width: 100%;
  padding: 0;
  line-height: 24px;
  border-collapse: collapse;
}
.pseudo-tabs li {
  display: table-cell;
  border-width: 0 1px;
  border-style: solid;
  border-color: var(--tabs-border);
  padding: 0;
  margin: 0;
  text-align: center;
}
.pseudo-tabs a {
  display: block;
  font-weight: bold;
  padding: 0 24px;
  border-bottom: none;
}
.pseudo-tabs a:hover, .pseudo-tabs a:focus {
  background-color: var(--tabs-background);
  color: var(--tabs-color);
}
.pseudo-tabs a.active {
  background-color: var(--tabs-active-background);
  color: var(--tabs-active-color);
}

/* contextual help */
#help {
  margin-top: 4em;
  background: var(--help-background);
  z-index: 100;
  clear: both;
  padding: 0 1em;
}
#content.with-help #help {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 32rem;
  border-left: 2px solid var(--help-border);
  border-top: 2px solid var(--help-border);
  margin-top: 0;
  padding: 0.5em 0 0 0;
  overflow: auto;
}

#help-button {
  background: url(help.svg) no-repeat 6px center;
  background-size: 18px;
  background-color: transparent;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 1.5em 0 30px;
  cursor: pointer;
  color: var(--link);
  line-height: 3;
}
#help-button.floatable {
  border-top: 1px solid var(--help-button-border);
  border-left: 1px solid var(--help-button-border);
  border-bottom: 1px solid var(--help-button-border);
  border-bottom-left-radius: 1em;
  border-top-left-radius: 1em;
  background-color: var(--help-button-background);
  position: fixed;
  top: 10px;
  transform: translateZ(0);
}
.no-js #help-button {
  top: 1em;
}
#help-button span {
  padding: 0.5em 0 0.1em 0;
}
#content.with-help #help-button {
  right: 32rem;
  background-color: var(--help-background);
  position: fixed;
  top: 6em;
  z-index: 100;
  border-top: 2px solid var(--help-border);
  border-left: 2px solid var(--help-border);
  border-bottom: 2px solid var(--help-border);
  border-bottom-left-radius: 1em;
  border-top-left-radius: 1em;
}

.help-box {
  display: none;
}
.help-box ul {
  padding-left: 20px;
  margin-left: 0;
}

#content.with-help .help-content {
  padding: 0 1em 1em;
}
.help-content dt {
  font-weight: bold;
  color: var(--help-title-color);
  margin: 0;
}
.help-content dd {
  margin: 0.3em 0 1.5em 0;
}

/* lien d'aide générale dans le help content */
#helplink p {
  padding: 0 0 0 0.5em;
}

span.tooltip {
  position: absolute;
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

#footer p {
  margin: 0;
  padding: 0 1em;
  font-size: 1em;
}
#footer a img:not(.outgoing-js) {
  height: 2em;
  width: auto;
}
#footer a:hover span.tooltip {
  padding: 1em;
  color: var(--tooltip-color);
  height: auto;
  width: auto;
  left: 0.5em;
  bottom: 0.5em;
  background: var(--tooltip-background);
  z-index: 99;
  font-family: var(--monospace);
  text-align: left;
  border: 2px solid var(--tooltip-color);
  border-radius: 1em;
}

span.credit {
  font-size: 1em;
  font-weight: normal;
}

/** --------------------------------------------------
    Tables and Filters
--------------------------------------------------- */
table .maximal {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 1px;
}
table .maximal, table.maximal {
  width: 100%;
}
table .minimal {
  width: 1px;
}
table .nowrap {
  white-space: nowrap;
  vertical-align: top;
}
table .count {
  text-align: right;
  padding-right: 1.5em;
}

tbody {
  font-variant-numeric: tabular-nums;
}

th.first input {
  padding-right: 34px;
}

th img,
tr.line img {
  vertical-align: middle;
}
th img.expand,
tr.line img.expand {
  margin-right: 6px;
  margin-bottom: -2px;
}

tr.line p {
  margin: 0;
}
tr.line input,
tr.line select {
  vertical-align: middle;
  box-shadow: none;
}
tr.line select {
  width: 6em;
}
tr.line:hover {
  background: var(--line-background-over);
}
tr.line:focus-within {
  background-color: var(--line-focus-background);
}

td.status {
  vertical-align: middle;
}
td.status a {
  border: none;
}

.noborder td,
td.noborder,
.noborder th,
th.noborder {
  border-width: 0 0 1px 0;
  border-color: var(--cell-noborder-color);
  line-height: 2em;
  padding-bottom: 0;
}

.noborder p {
  margin-bottom: 0;
}

table.posts-list {
  min-width: 50%;
}

table.settings,
table.prefs {
  margin-bottom: 3em;
}
table.settings:target caption::before,
table.prefs:target caption::before {
  content: "▶";
  margin-right: 5px;
}
table.settings th:first-child,
table.prefs th:first-child {
  width: 20%;
}
table.settings th + th,
table.prefs th + th {
  width: 30%;
}
table.settings th + th + th,
table.prefs th + th + th {
  width: 10%;
}
table.settings th:last-child,
table.prefs th:last-child {
  width: 40%;
}

/* js */
td.expand {
  padding: 1em;
}
td.expand td {
  border-bottom: none;
}

.handle {
  padding: 0;
}

.handler {
  cursor: move;
  background: url(drag.png) no-repeat 0 50%;
  background-color: transparent;
  padding-left: 15px;
}

/* Responsive Cell Header */
.rch td::before {
  display: none;
}

@media screen and (max-width: 43em), print and (max-width: 5in) {
  table.rch {
    display: block;
  }
  table.rch caption,
  table.rch tbody,
  table.rch tr,
  table.rch td {
    display: block;
  }
  table.rch th,
  table.rch tr:first-of-type {
    display: none;
  }
  table.rch td:first-of-type {
    border-top: 1px solid var(--rch-table-1st-border);
    color: var(--rch-table-1st-color);
    background: var(--rch-table-1st-background);
  }
  table.rch td::before {
    display: inline;
    font-weight: bold;
  }
  table.rch td {
    display: grid;
    grid-template-columns: 10em auto;
    grid-gap: 1em 0.5em;
    text-align: left;
    border: none;
  }
  table.rch td a {
    color: var(--rch-table-td-link);
  }
  table.rch .maximal {
    max-width: inherit;
  }
  table.rch .nowrap {
    white-space: inherit;
  }
  table.rch td.expand {
    grid-template-columns: auto !important;
    color: var(--rch-table-expand-color);
    background-color: var(--rch-table-expand-background);
    border-top: 1px dashed var(--rch-table-expand-border);
  }
  table.rch input,
  table.rch select {
    align-self: center;
  }
  table.rch-thead thead {
    display: none;
  }
  table.rch-thead tr:first-of-type {
    display: block;
  }
}
a.form-control {
  display: none;
  color: var(--form-control-color);
}
a.form-control::before {
  content: "▶";
  margin-right: 5px;
}
a.form-control.open::before {
  content: "▼";
}

span.ib {
  width: 7em;
}

span.ibw {
  width: 9em;
  display: inline-block;
}

#filters-form {
  border: 1px solid var(--filter-border);
  border-radius: 0.3em;
  margin-bottom: 2em;
  padding: 0.5em 1em 0;
}
#filters-form .table {
  width: 100%;
  padding: 0;
  margin-bottom: 1em;
  margin-top: 0.5em;
}
#filters-form .cell {
  padding: 0 2em 0 0;
}
#filters-form .filters-sibling-cell {
  padding-top: 3.8em;
}
#filters-form .filters-options {
  padding-left: 2em;
  border-left: 1px solid var(--filter-options-border);
}
#filters-form select {
  width: 14em;
  vertical-align: middle;
}
#filters-form h4 {
  margin-top: 0;
  margin-bottom: 2em;
}
#filters-form label.ib {
  width: 7em;
}
#filters-form label.ibw {
  width: 9em;
  display: inline-block;
}
#filters-form:focus-within {
  background-color: var(--filter-focus-background);
}

/** --------------------------------------------------
    Pages
--------------------------------------------------- */
#login-screen {
  display: block;
  width: 20em;
  margin: 1.5em auto 0;
  font-size: 1.16em;
}
#login-screen h1 {
  text-indent: -2000px;
  background: url(dc_logos/w-dotclear240.png) no-repeat top left;
  background-color: transparent;
  height: 66px;
  width: 20em;
  margin-bottom: 0.5em;
  margin-left: 0;
}
#login-screen h2 {
  padding: 0;
}
#login-screen fieldset {
  border: 1px solid var(--login-fieldset-border);
  padding: 1em 1em 1em 1em;
  background: var(--login-fieldset-background);
  margin-top: 1em;
}
#login-screen .fieldset {
  border: 1px solid var(--login-fieldset-border);
  padding: 1em 1em 0 1em;
  background: var(--login-fieldset-background);
  margin-bottom: 0;
  margin-top: 1em;
}
#login-screen .info {
  margin-top: 1em;
}
#login-screen input[type=text], #login-screen input[type=text]:focus,
#login-screen input[type=color],
#login-screen input[type=color]:focus,
#login-screen input[type=email],
#login-screen input[type=email]:focus,
#login-screen input[type=url],
#login-screen input[type=url]:focus,
#login-screen input[type=datetime-local],
#login-screen input[type=datetime-local]:focus,
#login-screen input[type=date],
#login-screen input[type=date]:focus,
#login-screen input[type=time],
#login-screen input[type=time]:focus,
#login-screen input[type=file],
#login-screen input[type=file]:focus,
#login-screen input[type=number],
#login-screen input[type=number]:focus,
#login-screen input[type=password],
#login-screen input[type=password]:focus,
#login-screen input[type=submit],
#login-screen input[type=submit]:focus {
  width: 100%;
  margin: 0;
  padding: 5px 3px;
}
#login-screen input.login, #login-screen input.login:focus {
  margin-bottom: 1em;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 1em;
}
#login-screen #issue {
  margin-top: 1em;
  margin-left: 1.33em;
  font-size: 0.91em;
}
#login-screen #issue summary {
  margin-bottom: 1em;
}
#login-screen #issue p:first-child {
  text-align: right;
}
#login-screen #issue strong {
  font-weight: normal;
}
#login-screen .error {
  padding-bottom: 1em;
}

#dashboard-main {
  text-align: center;
}
#dashboard-main > *:last-child {
  margin-bottom: 1em;
}

/* raccourcis */
#icons {
  margin: 1em auto 2em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}
#icons p {
  width: 13em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
#icons a, #icons a:link, #icons a:visited, #icons a:hover, #icons a:focus {
  border-bottom-width: 0;
  text-decoration: none;
}
#icons a span {
  color: var(--index-link-color);
  border-bottom: 1px dotted var(--index-link-border);
}
#icons a img {
  padding: 1.5em;
  background-color: var(--index-icon-background);
  border-radius: 8px;
  border: 1px solid var(--index-icon-border);
  display: inline-block;
  filter: contrast(var(--index-icon-contrast));
  width: 8em;
  max-width: calc(64px + 3em);
  height: 8em;
  max-height: calc(64px + 3em);
}
#icons a:focus {
  outline: 0;
}
#icons a:focus span {
  border: 2px solid var(--index-icon-outline);
}
#icons a:focus img, #icons a:hover img {
  background: var(--index-icon-outline);
  outline: 0;
  border-color: var(--index-icon-border);
}
#icons a:focus span, #icons a:hover span {
  border-bottom-style: solid;
}

/* billet rapide */
#quick {
  max-width: 72em;
  margin: 1em auto 2em;
  padding: 1em;
  background: var(--quick-background);
  border: 1px solid var(--quick-border);
  border-radius: 3px;
  text-align: left;
}
#quick h3 {
  margin-bottom: 0.2em;
  font-size: 1.2em;
}
#quick #new_cat,
#quick .q-cat,
#quick .q-cat label {
  display: inline-block;
  vertical-align: top;
  margin-right: 1em;
  margin-top: 0;
}
#quick .q-cat label {
  margin-right: 0.3em;
}
#quick #new_cat {
  margin-bottom: 2em;
}

/* modules additionnels */
#dashboard-boxes {
  margin: 1em auto 2em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}
#dashboard-boxes .box {
  padding: 10px;
  border: 1px solid var(--index-box-border);
  border-radius: 3px;
  min-height: 200px;
  text-align: left;
  margin: 0;
}

.db-items,
.db-contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 auto;
  gap: 1em;
}
.db-items ul,
.db-contents ul {
  display: block;
  padding-left: 1.5em;
  list-style: square;
}
.db-items li,
.db-contents li {
  margin: 0.25em 0 0 0;
}

.no-js .outgoing img {
  display: none;
}

.dc-box {
  background: url(dc_logos/dotclear-leaf.svg) no-repeat top right;
  background-size: 2em;
  background-origin: content-box;
  background-color: transparent;
}

#news dt {
  font-weight: bold;
  margin: 0 0 0.4em 0;
}
#news dd {
  margin: 0 0 1em 0;
}
#news dd p {
  margin: 0.2em 0 0 0;
}

#dragndrop {
  position: absolute;
}
.no-js #dragndrop {
  display: none;
}
#dragndrop + label {
  position: absolute;
  right: 1em;
  display: inline-block;
  line-height: 1;
}
#dragndrop + label .dragndrop-svg {
  width: 2em;
  height: 1.5em;
  fill: var(--drag-n-drop-off);
}
#dragndrop:checked + label .dragndrop-svg {
  fill: var(--drag-n-drop-on);
  background-color: var(--body-background);
}

#media_img_title_pattern {
  margin-right: 1em;
}

#part-users > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
}

.user-perm {
  margin: 0 1em 1em 0;
  background: url(user.png) no-repeat 0.5em 0.5em;
  background-color: transparent;
  width: 20em;
  border: 1px solid var(--blog-user-border);
  border-radius: 0.5em;
  padding: 0 1em 0.5em;
}
.user-perm h4,
.user-perm h5,
.user-perm p,
.user-perm ul,
.user-perm li {
  margin: 0.5em 0 0.33em;
  padding: 0;
}
.user-perm h4 {
  padding-left: 28px;
}
.user-perm h5 {
  margin: 1em 0 0 0;
}
.user-perm li {
  margin-left: 1em;
  padding-left: 0;
}
.user-perm.user_super {
  border-color: var(--blog-super-border);
  background-color: var(--blog-super-background);
}

li.user_super,
li.user_admin {
  margin-left: 0;
  padding-left: 20px;
  list-style: none;
  background: url(../images/superadmin.png) no-repeat 0 0.3em;
  background-color: transparent;
}

li.user_admin {
  background-image: url(../images/admin.png);
}

/* pour les alignements verticaux */
#theme-new,
#theme-activate,
#theme-deactivate,
#theme-update {
  margin-left: -10px;
  margin-right: -10px;
}

.box.theme {
  margin: 5px;
  padding: 10px 10px 5px 10px;
  border: 1px solid var(--theme-box-border);
  position: relative;
}
.box.theme:hover {
  background-color: var(--theme-box-over);
}
.box.theme.module-git {
  background: url(git-branch.svg) no-repeat top right;
  background-size: 1.5em;
  background-origin: content-box;
  background-color: transparent;
}

.module-name,
.module-name label {
  margin-bottom: 0.5em;
  color: var(--theme-name-color);
}

.module-sshot {
  text-align: center;
}
.module-sshot img {
  background: var(--theme-img-background);
  box-shadow: 0.9px 0.9px 2.2px rgba(0, 0, 0, 0.07), 2.1px 2.1px 5.3px rgba(0, 0, 0, 0.05), 4px 4px 10px rgba(0, 0, 0, 0.042), 7.1px 7.1px 17.9px rgba(0, 0, 0, 0.035), 13.4px 13.4px 33.4px rgba(0, 0, 0, 0.028), 32px 32px 80px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--theme-img-border);
  max-width: 100%;
}

.module-infos p {
  margin-top: 0.5em;
}

.module-actions {
  margin-top: 1em;
}

.module-post-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5em;
}

.bloc-toggler {
  text-align: right;
}
.bloc-toggler img {
  opacity: 0.4;
}
.bloc-toggler img:hover {
  opacity: 1;
}
.bloc-toggler a:focus img {
  opacity: 1;
}

span.module-version::before,
span.module-locked::before {
  content: "- ";
}

.module-name input[type=checkbox] {
  margin-bottom: 0;
}

/**
Les screenshots des thèmes ont deux tailles possibles :
- dans Ajouter des thèmes : 240px (+ 10 padding image + 20 padding boîte + 6 bordure + 2 ombrage = 278)
- dans Thèmes installés : 280px (+ 10 padding-image + 20 padding-boîte + 2 ombrage = 318)
On adapte largeur et hauteur en fonction
*/
.box.theme details {
  margin-top: 0.25em;
}
.box.theme details .mod-more {
  margin-top: 0.5em;
  display: inline-block;
}

#theme-new .box.theme,
#theme-update .box.theme {
  /* Ajouter un thème */
  width: 278px;
  min-height: 275px;
}

#theme-new .module-sshot img {
  /* Pour ceux qui n'ont pas de miniature on contraint l'image */
  max-width: 240px;
  max-height: 210px;
  overflow: hidden;
}

#theme-deactivate .box.theme {
  /* Thèmes désactivés */
  width: 278px;
}

#theme-activate .box.theme {
  /* Thèmes installés */
  width: 318px;
  min-height: 304px;
  max-width: 100%;
}

.with-js .module-sshot:hover {
  cursor: pointer;
}

/* mise en forme pour la boîte du thème courant */
.box.current-theme {
  /* Thème courant */
  width: 646px;
  margin: 5px;
  padding: 20px 18px 6px;
  background-color: var(--theme-current-background);
  border: 1px solid var(--theme-current-border);
  border-radius: 0.5em;
  min-height: 326px;
  box-shadow: 1px 1px 2px var(--theme-current-shadow);
  position: relative;
}
.box.current-theme .module-sshot:hover {
  cursor: auto;
}
.box.current-theme .module-sshot img {
  float: left;
  margin-right: 2em;
  border: 9px solid var(--theme-current-img-border);
  max-width: 308px;
  max-height: 273px;
}
.box.current-theme .module-name {
  color: var(--theme-current-name-color);
  font-size: 1.5em;
  margin-bottom: 1em;
}
.box.current-theme .module-actions {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.box.current-theme.module-git {
  background-image: url(git-branch.svg);
  background-position-x: right;
  background-position-y: top;
  background-repeat: no-repeat;
  background-size: 1.5em;
  background-origin: content-box;
}

.current-actions {
  width: auto;
  overflow: hidden;
  padding-top: 2em;
}

#categories {
  margin: 1em 0;
}
#categories ul {
  list-style: none;
  margin-top: 2em;
  padding: 0;
}
#categories ul ul {
  margin-right: 2em;
  margin-left: 2em;
}
#categories .placeholder {
  outline: 1px dashed var(--cat-placeholder-outline);
  min-height: 2.5em;
}

.cat-line {
  position: relative;
  margin: 0.66em 0;
  padding: 0.66em 1em;
  border: 1px solid var(--cat-line-border);
  border-radius: 3px;
}
.cat-line label {
  margin-right: 0.25em;
}
.cat-line label a {
  font-weight: bold;
}
.cat-line p,
.cat-line label {
  margin: 0;
  display: inline-block;
}
.cat-line .cat-line {
  border: 1px solid var(--subcat-line-border);
}

p.cat-title {
  margin-right: 1em;
}

.cat-nb-posts a {
  color: var(--cat-post-counter);
}

.cat-url {
  padding-left: 1em;
}

.cat-buttons {
  float: right;
  margin-top: -0.2em;
  font-size: 0.91em;
}
.cat-buttons select {
  padding: 1px 2px 3px 2px;
  margin-right: 0.25em;
}
.cat-buttons .reset {
  padding-left: 4px;
  padding-right: 4px;
}

.cat-actions {
  line-height: 2;
}

#del_cat {
  width: 100%;
}

.media-file-mode a {
  border-bottom: none;
}
.media-file-mode img {
  margin-right: 1em;
}

span.media-file-mode {
  margin-right: 1em;
}

.media-item {
  position: relative;
  border: 1px solid var(--media-item-border);
  margin: 9px;
  padding: 10px 12px 6px;
  width: 320px;
  min-width: 320px;
  min-height: 140px;
  word-wrap: break-word;
}
.media-item:hover, .media-item:active {
  background: var(--media-item-active-background);
}
.media-item p {
  margin: 0 0 0.5em;
}
.media-item object {
  margin-top: 0.5em;
}
.media-item ul {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}
.media-item audio {
  width: 100%;
  margin-top: 0.5em;
}
.media-item.media-private {
  border-color: var(--media-item-border-private);
}
.media-item.media-private img.media-private {
  padding-right: 0.5em;
}

tr.media-private img.media-private {
  padding-right: 0.5em;
}

a.media-icon {
  display: block;
  border-bottom: none;
  margin: 0 auto;
}

.media-icon img {
  display: block;
}

.media-icon-square {
  width: 48px;
  height: auto;
  max-height: 48px;
}

a.media-flag {
  border-bottom: none;
}

.media-flag img {
  float: left;
  margin-right: 0.5em;
}

.media-link {
  font-size: 1.1em;
}

.media-action-box {
  position: relative;
  margin: 3em 3em 1em 1em;
  display: inline-block;
  vertical-align: top;
}

li.media-action {
  display: block;
  position: absolute;
  top: 4px;
  right: 8px;
  height: 16px;
}
li.media-action a {
  border: none;
}
li.media-action a.attach-media {
  margin-right: 5px;
}
li.media-action form {
  display: inline;
}
li.media-action input {
  border: none;
}

td.media-action {
  padding: 0.4em 0 0.4em 0.5em;
}

#entry-sidebar .media-item {
  width: 100%;
  min-height: 0;
  padding: 4px;
  margin: 0.33em 0;
  min-width: inherit;
}

.folders-group {
  display: flex;
  flex-wrap: wrap;
}
.folders-group .media-item {
  min-height: 70px;
}
.folders-group .media-item p {
  margin-bottom: 0;
}

div.media-items-bloc {
  display: flex;
  flex-wrap: wrap;
}

.media-folder {
  background: var(--media-folder-background);
  border-color: var(--media-folder-border);
  border-left-width: 8px;
}
.media-folder .media-link {
  font-size: 1.125em;
  color: var(--media-folder-link);
  border-bottom: none;
}

tr.media-folder {
  background: var(--media-folder-background);
}
tr.media-folder .media-link {
  margin-left: 0;
}

.media-folder-up {
  border-color: var(--media-folderup-border);
  padding-bottom: 6px;
}

.medias-delete,
.medias-select {
  text-align: right;
}

.media-recent {
  margin-right: 2em;
}

#media-fav-dir {
  border-bottom: none;
}
#media-fav-dir img {
  vertical-align: middle;
}

/* upload multiple */
.enhanced_uploader .choose_files,
.enhanced_uploader .cancel,
.enhanced_uploader .clean,
.enhanced_uploader .start {
  margin-right: 0.4em;
}
.enhanced_uploader #upfile {
  visibility: hidden;
  width: 0;
  height: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.enhanced_uploader .button.choose_files {
  display: inline-block;
}
.enhanced_uploader .max-size {
  display: block;
}
.enhanced_uploader .one-file {
  display: none;
}
.enhanced_uploader p.clear {
  padding-top: 1em;
  margin-bottom: 1em;
}

.button.clean,
.button.cancel,
.button.choose_files {
  display: none;
}

label span.one-file {
  display: inline;
}

#add-file-f p.clear {
  margin-top: 1em;
  margin-bottom: 0;
  clear: both;
}

.files {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  border-bottom: 1px solid var(--media-files-border);
}
.files li {
  margin-left: 0;
  padding-left: 0;
}

.upload-msg {
  font-weight: bold;
}
.upload-msg.upload-error {
  color: var(--upload-error-color);
}

.upload-files {
  padding: 0 0.5em;
  margin: 1em 0;
}

.upload-file {
  margin: 0;
  padding: 0.3em 0;
  border-top: 1px solid var(--upload-file-border);
  position: relative;
}

.upload-fileinfo {
  margin-left: 0;
}
.upload-fileinfo input {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
}
.upload-fileinfo span {
  padding-right: 8px;
}
.upload-fileinfo .upload-filecancel {
  display: block;
  padding-right: 0;
  margin-top: 3px;
  width: 20px;
  height: 20px;
  background: url("cancel.png") no-repeat left top;
  background-color: transparent;
  text-indent: -1000px;
  cursor: pointer;
  float: left;
}

.upload-filemsg {
  font-weight: bold;
  color: var(--upload-filemsg-color);
}
.upload-filemsg.upload-error {
  color: var(--upload-error-color);
}

.upload-progress {
  padding: 0.3em 0;
}
.upload-progress div {
  width: 0;
  height: 1.2em;
  font-weight: bold;
  line-height: 1.2em;
  text-align: right;
  background: url(loader.png) repeat-x left top;
  background-color: var(--upload-progress-background);
  color: var(--upload-progress-color);
  border-radius: 3px;
}

div.template-upload {
  clear: both;
}

.queue-message {
  font-weight: bold;
}

#media-icon {
  float: left;
}

.near-icon {
  margin-left: 70px;
  margin-bottom: 3em;
}

#media-details ul {
  display: block;
  margin-left: 0;
  padding: 0;
}
#media-details li {
  list-style: square inside;
  margin: 0;
  padding: 0;
}

#media-original-image {
  overflow: auto;
}
#media-original-image.overheight {
  max-height: 500px;
}

#media-attribute {
  margin-left: 0.5em;
  padding: 0.5em;
  border-left: 1px solid currentColor;
  overflow-wrap: break-word;
}
#media-attribute .media-title {
  font-weight: bolder;
}
#media-attribute .media-desc {
  font-style: italic;
}

.modules td.module-icon img {
  width: 1.25em;
  height: 1.25em;
}
.modules td.module-icon img.expand {
  margin-bottom: 3px;
}
.modules td.module-distrib img {
  width: 1.5em;
  height: 1.5em;
  float: right;
}

.modules tr.expand,
.modules td.expand {
  background: var(--modules-background);
  border-color: var(--modules-border);
}

.modules tr.expand td:first-child {
  font-weight: bold;
  background: var(--modules-background);
}

.modules td.expand {
  padding: 0 0 1em;
}
.modules td.expand div {
  display: inline-block;
  vertical-align: top;
  margin-right: 3em;
}

.modules dt {
  font-weight: bold;
}

.modules a.module-details {
  background: url(search.svg) no-repeat 0 center;
  background-color: transparent;
  padding: 4px 4px 0 20px;
}
.modules a.module-support {
  background: url(help.svg) no-repeat 2px center;
  background-size: 14px;
  background-color: transparent;
  padding: 4px 4px 0 20px;
}
.modules a.module-config {
  background: url(settings.png) no-repeat 2px 6px;
  background-color: transparent;
  padding: 4px 4px 0 18px;
}

#m_search {
  color: var(--search-color);
  background: url(search.svg) no-repeat 0 center;
  background-color: transparent;
  padding-left: 20px;
}

.mod-more {
  padding-top: 0.5em;
}
.mod-more,
.mod-more li {
  margin: 0.25em 0 0 1em;
  padding: 0;
  list-style-type: none;
}

#plugin-update td {
  vertical-align: baseline;
}

#entry-form {
  display: flex;
  flex-wrap: wrap;
}

#entry-wrapper {
  flex-grow: 1;
  width: calc(100% - 19em);
}
@media screen and (max-width: 82em) {
  #entry-wrapper {
    width: 100%;
  }
}

#entry-content {
  margin-left: 0;
}
@media screen and (min-width: 82.01em) {
  #entry-content {
    padding-right: 3em;
  }
}
@media screen and (max-width: 43em) {
  #entry-content {
    padding-right: 1em;
  }
}
@media screen and (max-width: 43em) {
  #entry-content {
    padding-right: 0;
  }
}

#entry-sidebar {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
@media screen and (max-width: 82em) {
  #entry-sidebar {
    flex-direction: row;
  }
}
@media screen and (max-width: 43em) {
  #entry-sidebar {
    padding-right: 1em;
  }
}
#entry-sidebar h4 {
  font-size: 1.08em;
  margin-top: 0.3em;
  border-bottom: 1px solid var(--entry-sb-title-border);
}
#entry-sidebar select {
  width: 100%;
}
#entry-sidebar input#post_position {
  width: 4em;
}

.sb-box {
  width: 18em;
  margin-bottom: 1em;
  margin-right: 1em;
  padding: 0.5em 1em;
  background-color: var(--entry-sb-background);
}
.sb-box:focus-within {
  background-color: var(--entry-sb-focus-background);
}

#tb_excerpt {
  width: 100%;
}

.fav-list {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}
.fav-list li {
  margin-left: 0;
  padding-left: 0;
  padding-top: 3px;
  padding-bottom: 3px;
  position: relative;
}
#my-favs .fav-list li {
  line-height: 2;
  border-bottom: 1px solid var(--fav-list-border);
  padding-top: 3px;
  padding-bottom: 3px;
  position: relative;
}
#my-favs:focus-within .fav-list li {
  border-bottom-color: var(--fav-list-border-alt);
}
.fav-list li span.zoom {
  display: none;
}
.fav-list li span.zoom img {
  width: 5em;
  max-width: 64px;
  height: 5em;
  max-height: 64px;
}
.fav-list li:hover span.zoom {
  display: block;
  position: absolute;
  top: 2em;
  left: 10em;
  background-color: var(--index-icon-background);
  border: 1px solid var(--index-icon-border);
  padding: 1em;
  border-radius: 0.5em;
  z-index: 1;
}
.fav-list img {
  vertical-align: middle;
  margin-top: -0.235ex;
  margin-right: 0.2em;
  width: 1em;
  height: 1em;
}

#my-favs {
  border-color: var(--my-favs-border);
}
#my-favs input.position {
  margin: 0 0 0.4em 0.2em;
}

#available-favs input,
#available-favs label,
#available-favs label span {
  white-space: normal;
  display: inline;
}
#available-favs label span.zoom {
  display: none;
}
#available-favs li:hover label span.zoom {
  display: block;
  position: absolute;
  top: 2em;
  left: 10em;
  background-color: var(--index-icon-background);
  border: 1px solid var(--index-icon-border);
  padding: 1em;
  border-radius: 0.5em;
  z-index: 1;
}

#user-options label.ib {
  display: inline-block;
  width: 14em;
  padding-right: 1em;
}

#user_options_columns label {
  margin-left: 1em;
}

.blog-perm {
  margin-top: 2em;
  padding-top: 2em;
  font-weight: bold;
}

.ul-perm {
  list-style-type: square;
  margin-left: 0;
  padding-left: 3.5em;
  margin-bottom: 0;
}

.add-perm {
  padding-top: 0.5em;
  padding-left: 2.5em;
  margin-left: 0;
}

input.perm-second-level {
  margin-left: 1em;
}

input.perm-third-level {
  margin-left: 2em;
}

.guideline #content h2 {
  color: var(--charte-title);
  padding: 2em 0 0 0;
  margin: 1em 0;
  font-size: 2em;
}
.guideline #content h2:first-child {
  margin-top: 0;
  padding-top: 0.5em;
}
.guideline h3 {
  margin-top: 2em;
}
.guideline .dc-update h3 {
  margin-top: 0;
}
.guideline .one-box .box {
  border: 1px solid var(--charte-one-box-border);
  padding: 2px 0.5em;
}
.guideline #main-menu ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
.guideline #main-menu li {
  padding-left: 1em;
}

/** --------------------------------------------------
    Misc
--------------------------------------------------- */
/* jQuery Autocomplete plugin */
.ac_results {
  padding: 0;
  background-color: var(--ac-results-background);
  border: 1px dotted var(--ac-results-border);
  overflow: hidden;
  z-index: 99999;
}
.ac_results ul {
  width: 100%;
  list-style: none;
  list-style-position: outside;
  padding: 0;
  margin: 0;
}
.ac_results li {
  margin: 0;
  padding: 2px 5px;
  cursor: default;
  display: block;
  font-size: 1em;
  line-height: 16px;
  overflow: hidden;
}

.ac_loading {
  background: url("loader.gif") right center no-repeat;
  background-color: transparent;
}

.ac_odd {
  background-color: var(--ac-results-background);
}

.ac_over {
  color: var(--ac-results-over);
  background-color: var(--ac-results-over-background);
}

/* password show/hide */
.pw-show,
.pw-hide {
  width: 2.25em;
  height: 1.75em;
  margin-left: 0.25em;
}
.pw-show, .pw-show:hover, .pw-show:focus, .pw-show:active,
.pw-hide,
.pw-hide:hover,
.pw-hide:focus,
.pw-hide:active {
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.pw-show:hover, .pw-show:focus, .pw-show:active,
.pw-hide:hover,
.pw-hide:focus,
.pw-hide:active {
  background-color: #fff;
}

input.maximal.pwd_helper {
  max-width: calc(100% - 3em);
}

body.auth .pw-show,
body.auth .pw-hide {
  height: 2em;
}

.pw-show, .pw-show:hover, .pw-show:active, .pw-show:focus {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTI1NiAxODUwIDE4NTAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxwYXRoIGQ9Ik0xNjk0LjM3MyA2ODMuODk4cS0xNTItMjM2LTM4MS0zNTMgNjEgMTA0IDYxIDIyNSAwIDE4NS0xMzEuNSAzMTYuNS0xMzEuNSAxMzEuNS0zMTYuNSAxMzEuNS0xODUgMC0zMTYuNS0xMzEuNS0xMzEuNS0xMzEuNS0xMzEuNS0zMTYuNSAwLTEyMSA2MS0yMjUtMjI5IDExNy0zODEgMzUzIDEzMyAyMDUgMzMzLjUgMzI2LjUgMjAwLjUgMTIxLjUgNDM0LjUgMTIxLjUgMjM0IDAgNDM0LjUtMTIxLjUgMjAwLjUtMTIxLjUgMzMzLjUtMzI2LjV6bS03MjAtMzg0cTAtMjAtMTQtMzQtMTQtMTQtMzQtMTQtMTI1IDAtMjE0LjUgODkuNS04OS41IDg5LjUtODkuNSAyMTQuNSAwIDIwIDE0IDM0IDE0IDE0IDM0IDE0IDIwIDAgMzQtMTQgMTQtMTQgMTQtMzQgMC04NiA2MS0xNDcgNjEtNjEgMTQ3LTYxIDIwIDAgMzQtMTQgMTQtMTQgMTQtMzR6bTg0OCAzODRxMCAzNC0yMCA2OS0xNDAgMjMwLTM3Ni41IDM2OC41LTIzNi41IDEzOC41LTQ5OS41IDEzOC41LTI2MyAwLTQ5OS41LTEzOS0yMzYuNS0xMzktMzc2LjUtMzY4LTIwLTM1LTIwLTY5IDAtMzQgMjAtNjkgMTQwLTIyOSAzNzYuNS0zNjggMjM2LjUtMTM5IDQ5OS41LTEzOSAyNjMgMCA0OTkuNSAxMzkgMjM2LjUgMTM5IDM3Ni41IDM2OCAyMCAzNSAyMCA2OXoiLz48L3N2Zz4K");
}

.pw-hide, .pw-hide:hover, .pw-hide:active, .pw-hide:focus {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgLTI1NiAxODUwIDE4NTAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxwYXRoIGQ9Ik01ODUuMzczIDEwMTMuMzRsNzgtMTQxcS04Ny02My0xMzYtMTU5LTQ5LTk2LTQ5LTIwMyAwLTEyMSA2MS0yMjUtMjI5IDExNy0zODEgMzUzIDE2NyAyNTggNDI3IDM3NXptMzg5LTc1OXEwLTIwLTE0LTM0LTE0LTE0LTM0LTE0LTEyNSAwLTIxNC41IDg5LjUtODkuNSA4OS41LTg5LjUgMjE0LjUgMCAyMCAxNCAzNCAxNCAxNCAzNCAxNCAyMCAwIDM0LTE0IDE0LTE0IDE0LTM0IDAtODYgNjEtMTQ3IDYxLTYxIDE0Ny02MSAyMCAwIDM0LTE0IDE0LTE0IDE0LTM0em0zNjMtMTkxcTAgNy0xIDktMTA1IDE4OC0zMTUgNTY2LTIxMCAzNzgtMzE2IDU2N2wtNDkgODlxLTEwIDE2LTI4IDE2LTEyIDAtMTM0LTcwLTE2LTEwLTE2LTI4IDAtMTIgNDQtODctMTQzLTY1LTI2My41LTE3My0xMjAuNS0xMDgtMjA4LjUtMjQ1LTIwLTMxLTIwLTY5IDAtMzggMjAtNjkgMTUzLTIzNSAzODAtMzcxIDIyNy0xMzYgNDk2LTEzNiA4OSAwIDE4MCAxN2w1NC05N3ExMC0xNiAyOC0xNiA1IDAgMTggNiAxMyA2IDMxIDE1LjUgMTggOS41IDMzIDE4LjUgMTUgOSAzMS41IDE4LjUgMTYuNSA5LjUgMTkuNSAxMS41IDE2IDEwIDE2IDI3em0zNyA0NDdxMCAxMzktNzkgMjUzLjUtNzkgMTE0LjUtMjA5IDE2NC41bDI4MC01MDJxOCA0NSA4IDg0em00NDggMTI4cTAgMzUtMjAgNjktMzkgNjQtMTA5IDE0NS0xNTAgMTcyLTM0Ny41IDI2Ny0xOTcuNSA5NS00MTkuNSA5NWw3NC0xMzJxMjEyLTE4IDM5Mi41LTEzNyAxODAuNS0xMTkgMzAxLjUtMzA3LTExNS0xNzktMjgyLTI5NGw2My0xMTJxOTUgNjQgMTgyLjUgMTUzIDg3LjUgODkgMTQ0LjUgMTg0IDIwIDM0IDIwIDY5eiIvPjwvc3ZnPgo=");
}

.dt-today {
  width: 1.5em;
  height: 1.5em;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.dt-today {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSIjZmZmZmZmIi8+PHBhdGggZD0iTTE5IDNoLTFWMmMwLS41NS0uNDUtMS0xLTFzLTEgLjQ1LTEgMXYxSDhWMmMwLS41NS0uNDUtMS0xLTFzLTEgLjQ1LTEgMXYxSDVjLTEuMTEgMC0xLjk5LjktMS45OSAyTDMgMTljMCAxLjEuODkgMiAyIDJoMTRjMS4xIDAgMi0uOSAyLTJWNWMwLTEuMS0uOS0yLTItMnptLTEgMTZINmMtLjU1IDAtMS0uNDUtMS0xVjhoMTR2MTBjMCAuNTUtLjQ1IDEtMSAxek04IDEwaDNjLjU1IDAgMSAuNDUgMSAxdjNjMCAuNTUtLjQ1IDEtMSAxSDhjLS41NSAwLTEtLjQ1LTEtMXYtM2MwLS41NS40NS0xIDEtMXoiLz48L3N2Zz4K");
}
.dt-today:hover, .dt-today:active, .dt-today:focus {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTE5IDNoLTFWMmMwLS41NS0uNDUtMS0xLTFzLTEgLjQ1LTEgMXYxSDhWMmMwLS41NS0uNDUtMS0xLTFzLTEgLjQ1LTEgMXYxSDVjLTEuMTEgMC0xLjk5LjktMS45OSAyTDMgMTljMCAxLjEuODkgMiAyIDJoMTRjMS4xIDAgMi0uOSAyLTJWNWMwLTEuMS0uOS0yLTItMnptLTEgMTZINmMtLjU1IDAtMS0uNDUtMS0xVjhoMTR2MTBjMCAuNTUtLjQ1IDEtMSAxek04IDEwaDNjLjU1IDAgMSAuNDUgMSAxdjNjMCAuNTUtLjQ1IDEtMSAxSDhjLS41NSAwLTEtLjQ1LTEtMXYtM2MwLS41NS40NS0xIDEtMXoiLz48L3N2Zz4K");
}

#login-screen #user_pwd.pwd_helper,
#login-screen #new_pwd.pwd_helper,
#login-screen #new_pwd_c.pwd_helper {
  width: calc(100% - 2.51em);
}

/* password strength indicator */
.pw-strength-meter {
  display: block;
}

/* ------------------------------------------------------------------ navigation */
/* selects accès rapide */
.anchor-nav-sticky {
  background: var(--nav-background);
  position: sticky;
  top: 0;
  padding: 0.5em 0;
}

.anchor-nav {
  background: var(--nav-background);
  margin: 0;
}
.anchor-nav label {
  vertical-align: bottom;
}

/* nav links */
.nav_prevnext {
  margin-bottom: 2em;
  color: var(--nav-background);
}

.nav_prevnext a,
a.back {
  color: var(--nav-prevnext);
  border: 1px solid var(--nav-prevnext-border);
  padding: 2px 1.5em;
  border-radius: 0.75em;
  background-color: var(--nav-prevnext-background);
}

a.back::before {
  content: "« ";
}

a.onblog_link {
  color: var(--onblog-link);
  float: right;
  border: 1px solid var(--onblog-link-border);
  padding: 2px 1.5em;
  border-radius: 0.75em;
  background-color: var(--onblog-link-background);
  box-shadow: 0 1px 1px var(--onblog-link-shadow);
}

img.go_home {
  width: 1em;
  height: auto;
}

/* Pagination */
.pager {
  margin: 2em 0 1em 0;
  clear: left;
}
.pager ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.pager li,
.pager input {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.33em 0 0;
  padding: 0;
  text-align: center;
}
.pager .btn {
  border: 1px solid var(--pager-border);
  background-color: var(--pager-background);
  color: var(--pager-link);
  border-radius: 3px;
  overflow: hidden;
}
.pager .btn img {
  width: 1em;
  height: auto;
}
.pager .btn.no-link {
  border-color: var(--pager-border);
  background-color: var(--pager-off-background);
  padding: 1px 3px 0;
}
.pager .active {
  padding: 4px 12px;
  color: var(--pager-active);
}
.pager .direct-access {
  margin-left: 2em;
}
.pager .direct-access input[type=text] {
  border: 1px solid var(--pager-border);
  padding: 3px 8px;
  margin-left: 0.25em;
  background-color: var(--pager-input-background);
}
.pager .direct-access input[type=submit] {
  padding: 3px 6px;
}
.pager a {
  display: block;
  padding: 0 3px;
  border: none;
}
.pager a:hover, .pager a:focus {
  background-color: var(--pager-background-over);
}

.index .btn.no-link,
.index a {
  padding: 2px 8px 3px;
  font-variant: small-caps;
}
.index li {
  margin-bottom: 3px;
}
.index a {
  font-weight: bold;
}
.index .btn.no-link {
  color: var(--index-no-link);
}
.index .active {
  padding: 4px 8px;
  color: var(--index-active);
  background: var(--index-active-background);
  border-radius: 3px;
  font-variant: small-caps;
}

/* Etapes */
.step {
  float: left;
  margin: 3px 10px 2px 0;
  padding: 5px 0.5em;
  color: var(--step);
  background: var(--step-background);
  border: 1px solid var(--step-border);
  border-radius: 3px;
  font-weight: bold;
}

/* ------------------------------------------------------------------------- indicateurs */
.mark-attach {
  display: inline-block;
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  padding-left: 12px;
  background: var(--mark-attach-img) no-repeat;
  filter: var(--mark-attach-filter);
}

/* ---------------------------------------------------------------- utilisables partout  */
.legible {
  font-size: 1.16em;
  max-width: 62em;
}

.fieldset {
  margin: 1em 0;
  padding: 1em 0.5em;
  border-width: 1px;
  border-style: solid;
  border-color: var(--fieldset-border);
  background: var(--fieldset-background);
}
.fieldset hr {
  background-color: var(--fieldset-border);
  border-width: 0;
  margin: 0 0 1em 0;
}
.fieldset:focus-within {
  background-color: var(--fieldset-focus-background);
}
.fieldset > *:last-child {
  margin-bottom: 0;
}
.fieldset h3,
.fieldset h4 {
  width: 100%;
  padding: 0;
  margin-bottom: 0.75em;
  color: var(--fieldset-pretty-title-color);
  font-size: 1em;
  font-weight: bold;
}

.right,
.txt-right {
  text-align: right;
}

.txt-center {
  text-align: center;
}

.txt-left {
  text-align: left;
}

.no-margin,
label.no-margin {
  margin-top: 0;
  margin-bottom: 0;
}

.vertical-separator {
  margin-top: 2em;
}

p.clear.vertical-separator {
  padding-top: 2em;
}

.border-top {
  border-top: 1px solid var(--link-border);
  padding-top: 1em;
  margin-top: 1em;
}

.grid {
  background: url("grid.png") repeat 0 0;
  background-color: transparent;
}

ul.nice {
  margin: 1em 0;
  padding: 0 0 0 2em;
  list-style: square;
}
ul.nice li {
  margin: 0;
  padding: 0;
}

ul.from-left {
  list-style-type: none;
  padding-left: 0;
  margin: 1em 0;
}
ul.from-left > li {
  margin-top: 1em;
  margin-bottom: 1em;
}
ul.from-left ul {
  list-style-type: square;
}

.offline {
  color: var(--offline);
  background: var(--offline-background);
}

/* caché pour tout le monde */
.hide,
.button.hide {
  display: none !important;
}

/* Caché sauf pour les revues d'écran */
.hidden,
.with-js .out-of-screen-if-js {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}

/* caché si js est inactif */
.no-js .hidden-if-no-js {
  display: none;
}

/* caché si js est actif */
.with-js .hidden-if-js {
  display: none;
}

/* Tailles des icônes SVG */
.icon-small {
  width: 12px;
  height: 12px;
}

.icon-mini {
  width: 16px;
  height: 16px;
}

.icon-large {
  width: 64px;
  height: 64px;
}

/* ---------------------------------------------- Couleurs ajoutées via javascript

/* Sortable (jQuery UI) */
.sortable-area {
  border: 1px dashed currentColor;
  background-color: var(--main-menu-background);
}

div.ui-sortable-handle {
  border: 1px dashed currentColor !important;
  border-radius: 0.75em !important;
}
#dashboard-main div.ui-sortable-handle {
  padding: 1em !important;
  margin-bottom: 1em !important;
  background: var(--ui-sortable-background) !important;
}
#dashboard-main div.ui-sortable-handle .ui-sortable-handle {
  background: var(--ui-sortable-background-bis) !important;
}
#dashboard-main div.ui-sortable-handle .ui-sortable-handle .ui-sortable-handle {
  background: var(--ui-sortable-background-ter) !important;
}
#dashboard-main div.ui-sortable-handle:hover {
  cursor: move;
}

/* Badges (common.js) */
.badgeable {
  /* class to set to badge parent's, not mandatory for menu items */
  position: relative;
}

/* Badge design */
.badge {
  font-size: smaller;
  color: var(--badge-color);
  background-color: var(--badge-std-background);
  border: 1px solid var(--badge-border);
  vertical-align: top;
  border-radius: 0.25em;
  padding: 0.1em 0.6em 0;
}

.badge-icon {
  background-color: var(--badge-soft-background);
}

/* Badge background override */
.badge-std {
  background-color: var(--badge-std-background);
}

.badge-info {
  background-color: var(--badge-info-background);
}

.badge-soft {
  background-color: var(--badge-soft-background);
}

/* Badge position */
.badge-block {
  /* Dashboard module → badge on top right */
  position: absolute;
  top: -10px;
  right: -10px;
}

.badge-icon {
  /* Dashboard icon → badge on top right */
  right: 2.4em;
}

@media screen and (max-width: 43em) {
  .badge-block {
    right: -5px;
  }
  .badge-icon {
    top: 5px;
  }
}
.badge-inline {
  /* Menu item */
  margin-left: 0.5em;
  font-size: 0.75em;
  height: fit-content;
  width: fit-content;
}

.badge-left {
  right: auto;
  left: -10px;
}
.badge-left.badge-icon {
  left: 20px;
}

/* Badge design option */
.badge-noborder {
  border: none;
}

.badge-small {
  font-size: smaller;
}
.badge-small.badge-icon {
  right: 25px;
}
.badge-small.badge-icon.badge-left {
  right: auto;
  left: 25px;
}

.badge-square {
  border-radius: 0;
}

/* ------------------------------------------------------------------------------------
                              UN POIL DE MEDIA QUERIES
------------------------------------------------------------------------------------ */
@media screen and (max-width: 82em) {
  #header,
  h1 {
    background: var(--header-background-alt);
  }
  #top-info-user {
    background: var(--header-background);
    border-top: 1px solid var(--header-border);
  }
  #top-info-user a.active {
    color: var(--header-active-color-alt);
    background: var(--header-active-background-alt);
  }
  #wrapper {
    background: var(--wrapper-background);
  }
  .modules th.module-desc,
  .modules td.module-desc {
    display: none;
  }
}
@media screen and (max-width: 62em) {
  #help-button {
    background-color: var(--header-border);
    padding: 0;
    font-size: 0.83em;
    line-height: 68px;
  }
}
@media screen and (max-width: 43em) {
  h1 a:link {
    border-right: 1px solid var(--tabs-border);
  }
  h1 a:hover, h1 a:focus {
    border-right: 1px solid var(--tabs-border);
  }
  #dashboard-main {
    padding: 0;
  }
  #content,
  .hide-mm #content {
    padding: 0 0.5em !important;
  }
  #main #content > h2 {
    padding: 6px 30px 4px 0.5em;
  }
  .cell,
  #filters-form .cell {
    border: none;
    padding: 1em;
  }
  .pseudo-tabs li {
    border-top: 1px solid var(--tabs-border);
    padding: 0.25em;
  }
  .pseudo-tabs li:first-child, .pseudo-tabs li:nth-of-type(2) {
    border-top: none;
  }
}
@media screen and (max-width: 43em) {
  h1,
  h1 a {
    border-right: var(--header-border-alt) !important;
  }
  #content.with-help #help {
    font-size: 1.2rem;
  }
  p.top-add {
    text-align: center;
  }
  .multi-part {
    padding-left: 0;
  }
  .part-tabs ul {
    padding: 0 0.5em;
  }
  #icons p {
    padding: 1em 0.25em;
  }
  .box.current-theme {
    padding: 10px;
  }
  th,
  td {
    padding: 0.3em 1em 0.3em 0;
  }
  .pseudo-tabs li {
    border-top: 1px solid var(--tabs-border) !important;
  }
  .pseudo-tabs li:first-child {
    border-top: none;
  }
}
/** --------------------------------------------------
  Plugins
--------------------------------------------------- */
/* dcLegacyEditor */
/* WYSIWYG Document */
body.wysiwygDoc {
  font-family: var(--sans-serif);
}

.wysiwygDoc pre,
.wysiwygDoc code,
.wysiwygDoc kbd,
.wysiwygDoc samp {
  font-family: var(--monospace);
}

/* dcCKEditor */
.cke textarea.cke_source {
  font-family: var(--monospace);
  font-size: 100%;
}

/* Media alignement */
.media-center {
  display: table;
  margin: 0 auto;
}

.media-left {
  float: inline-start;
  margin-inline-end: 1em;
  margin-block-end: 1em;
}

.media-right {
  float: inline-end;
  margin-inline-start: 1em;
  margin-block-end: 1em;
}

/** --------------------------------------------------
  3rd parties
--------------------------------------------------- */
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.mfp-container:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  color: #ccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}
.mfp-preloader a {
  color: #ccc;
}
.mfp-preloader a:hover {
  color: #fff;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #fff;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}
.mfp-close:hover, .mfp-close:focus {
  opacity: 1;
}
.mfp-close:active {
  top: 1px;
}

.mfp-close-btn-in .mfp-close {
  color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #fff;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #ccc;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.mfp-arrow:active {
  margin-top: -54px;
}
.mfp-arrow:hover, .mfp-arrow:focus {
  opacity: 1;
}
.mfp-arrow:before, .mfp-arrow:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}
.mfp-arrow:after {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}
.mfp-arrow:before {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}

.mfp-arrow-left {
  left: 0;
}
.mfp-arrow-left:after {
  border-right: 17px solid #fff;
  margin-left: 31px;
}
.mfp-arrow-left:before {
  margin-left: 25px;
  border-right: 27px solid #3f3f3f;
}

.mfp-arrow-right {
  right: 0;
}
.mfp-arrow-right:after {
  border-left: 17px solid #fff;
  margin-left: 39px;
}
.mfp-arrow-right:before {
  border-left: 27px solid #3f3f3f;
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 98%;
}
.mfp-iframe-holder .mfp-close {
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}
.mfp-figure:after {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444;
}
.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px;
}
.mfp-figure figure {
  margin: 0;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
   * Remove all paddings around the image on small screen
   */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}
@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
/* CodeMirror CSS */
.CodeMirror {
  /* Set height, width, borders, and global font properties here */
  font-family: var(--monospace) !important;
}

/** --------------------------------------------------
    Debug
--------------------------------------------------- */
/* debug */
#debug {
  position: absolute;
  top: 0;
  width: 100%;
  height: 4px;
  color: var(--debug-color);
  background: var(--debug-background);
}
#debug div {
  display: none;
  padding: 3px 0.5em 2px;
}
#debug p {
  margin: 0.5em 0;
}
#debug:hover {
  height: auto;
  padding: 2px 1em;
  z-index: 100;
}
#debug:hover div {
  display: block;
}

.debug {
  color: var(--debug-color);
  background: var(--debug-background);
  padding: 3px 0.5em 2px;
}

input[type=submit].delete.debug,
a.delete.debug {
  border-color: var(--debug-border);
}
input[type=submit].delete.debug:hover,
a.delete.debug:hover {
  background: var(--debug-background);
  color: var(--debug-color);
  border-color: var(--debug-border);
}
