.item-status-container {
    white-space: nowrap;
    text-align: center;
}

.item-status {
    font-weight: 600;
    padding: 5px 10px;
    border-radius: .3em;
    white-space: nowrap;
    background-color: var(--bg-color, #424242);
    color: var(--fg-color, #FFFFFF);
    display: inline-block;
    min-width: 50px;
}

.item-status-active {
    --bg-color: #49A078;
}

.item-status-inactive {
    --bg-color: #F24236;
}

.item-status-draft {
    --bg-color: #666666;
}

.item-status-pending-moderation {
    --bg-color: #e66100;
}

:root {
    --block-margin: 10px;
    --margin: 10px;
}

@font-face {
    font-family: "Open Sans";
    src: url('/plugin/AdminOnoi/fonts/Open_Sans/OpenSans-Regular.ttf');
}

@font-face {
    font-family: "Open Sans";
    font-weight: 200;
    src: url('/plugin/AdminOnoi/fonts/Open_Sans/OpenSans-ExtraLight.ttf');
}

@font-face {
    font-family: "Open Sans";
    font-weight: 300;
    src: url('/plugin/AdminOnoi/fonts/Open_Sans/OpenSans-Light.ttf');
}

@font-face {
    font-family: "Open Sans";
    font-weight: 400;
    src: url('/plugin/AdminOnoi/fonts/Open_Sans/OpenSans-Regular.ttf');
}

@font-face {
    font-family: "Open Sans";
    font-weight: 500;
    src: url('/plugin/AdminOnoi/fonts/Open_Sans/OpenSans-Medium.ttf');
}

@font-face {
    font-family: "Open Sans";
    font-weight: 600;
    src: url('/plugin/AdminOnoi/fonts/Open_Sans/OpenSans-SemiBold.ttf');
}

@font-face {
    font-family: "Open Sans";
    font-weight: 700;
    src: url('/plugin/AdminOnoi/fonts/Open_Sans/OpenSans-Bold.ttf');
}

* {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    background: #F0F0F0;
}
body,
form input,
form button:not([tabindex]),
form button,
form select
{
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #222222;
}

a:link, a:visited, a:active, a:hover {
    color: #DC5E00;
    text-decoration: none;
}

a img {
    border: none;
}

.clear {
    font-size: 1px;
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
}

.mask {
    position: absolute;
    opacity: 0.9;
    z-index: 999;
    background: #000000;
}

/**
 * Tableau
 */
table {
    background: #FFFFFF;
    border-collapse: collapse;
    padding: 0;
    margin: 0;
    width: 100%;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
}
table th {
    border-bottom: 1px solid #DFDFDF;
    text-align: left;
    padding: 0 10px;
    font-size: 1.1em;
    line-height: 250%;
    white-space: nowrap;
}
table th a:link, table th a:visited,
table th a:active, table th a:hover {
    transition: 180ms linear all;
    background-position: -11px center;
    position: relative;
    padding: 0 10px;
    margin: 0 -10px;
    display: block;
    color: #222222;
    overflow: hidden;
}
table th a:hover {
    background-color: #F3F3F3;
}
table td {
    transition: 200ms linear background,
                200ms linear color;
    border: 1px solid #DDDDDD;
    padding: 10px;
}
table tr:hover:not(.no-hover) td {
    background: #F5F5F5;
}
table .center {
    text-align: center;
}
table th a:hover:after,
table th.table-sort-asc a:after,
table th.table-sort-desc a:after {
    content: " ";
    width: 40px;
    height: 40px;
    transform: rotate(45deg);
    position: absolute;
    left: 50%;
    margin: 0 0 0 -20px;
    background: #DC5E00;
}
table th a:hover:after {
    background: #5B5B5B;
}
table th.table-sort-asc a:hover:after,
table th.table-sort-desc a:after {
    top: auto;
    bottom: -40px;
}
table th a:hover:after,
table th.table-sort-desc a:hover:after,
table th.table-sort-asc a:after {
    top: -40px;
    bottom: auto;
}

table tr.table-line-selected td {
    background: #EA9E66;
    background: RGBA(220, 94, 0, .6);
    color: #000000;
}


/**
 * Contenu principal
 */
.main-content {
    margin: 0 0 0 211px;
    padding: 0 10px 10px 10px;
}
.main-content h1:first-child {
    background: #FFFFFF;
    margin: 10px 0 0 0;
    padding: 10px;
    border-top: none;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    font-size: 2em;
    line-height: 200%;
}
.main-content h2:before {
    content: " ";
    background: #DC5E00;
    margin: 0;
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

/**
 * Panneau
 */
.left-admin {
    position: fixed;
    top: 0;
    left: 0;
    background: #222222;
    width: 210px;
    height: 100%;
    padding: 0;
    overflow: auto;
}

.left-admin img.logo {
    display: block;
    margin: 20px auto;
    max-width: 90%;
    max-width: calc(100% - 40px);
    max-height: 90px;
}

.left-admin .account {
    color: #FFFFFF;
    font-weight: 600;
    text-align: center;
}

/**
 * Main menu admin
 */
.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu li a:link,
.menu li a:hover,
.menu li a:visited,
.menu li a:active
{
    display: block;
    line-height: 28px;
    font-size: 1.1em;
    color: #EEEEEE;
    text-decoration: none;
    padding: 0 10px;
}
.menu > li > a:link,
.menu > li > a:hover,
.menu > li > a:visited,
.menu > li > a:active
{
    transition: background-color 200ms linear;
    line-height: 34px;
    padding: 0 10px;
    height: auto;
    white-space: nowrap;
}
.menu > li > a:hover {
    color: #DC5E00;
    background: #191919;
}
.menu li.double a {
    padding-top: 3px;
    line-height: 100%;
}

.menu > li.active > a:link,
.menu > li.active > a:hover,
.menu > li.active > a:visited,
.menu > li.active > a:active
{
    background: #DC5E00;
    font-weight: bold;
    color: #F0F0F0;
}

/* sous menu */
.menu li > ul {
    font-size: .95em;
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
}
.menu li li > a:hover {
    color: #DC5E00;
}
.menu li.active > ul {
    display: block;
    background: #424242;
}
.menu ul li.active > a {
    font-weight: bold;
}
.menu ul li.active a:hover {
    color: #EEEEEE;
    font-weight: bold;
}
.menu li > ul ul {
    padding-left: 20px;
}


.menu span.counter {
    display: inline-block;
    border: 1px solid #666666;
    background: #F0F0F0;
    padding: 1px 3px;
    border-radius: 3px;
    color: #333333;
    line-height: 110%;
    font-size: 11px;
}
.menu li ul span.counter {
    background: #FF9900;
    color: #FFFFFF;
    border: 1px solid #CC6600;
}


@media screen and (max-width: 1024px) {
    .left-admin {
        position: static;
        width: auto;
        float: none;
        height: auto;
    }
    .main-content {
        margin: 10px 0 0 0;
        padding: 0 10px;
    }
    .left-admin .menu {
        position: relative;
        height: 62px;
    }
    .left-admin .menu > li {
        float: left;
        max-width: 200px;
    }
    .left-admin .menu ul {
        position: absolute;
        top: 34px;
        left: 0;
        width: 100%;
    }
    .left-admin .menu ul li {
        float: none;
        display: inline-block;
    }
}

/**
 * Style "bloc" (toolbar, pagination, etc.
 */
.block-content,
.media-manager,
.multi-action,
.pagination-pages,
.toolbar {
    overflow: hidden;
    margin: 10px 0 0 0;
    padding: 10px;
    text-align: left;
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    white-space: nowrap;
}

.block-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.block-container > * {
    width: 100%;
}

h1 + table,
.toolbar-main-container + table,
.toolbar-main-container + form,
.toolbar-container + table,
.toolbar-container + form,
.block-container + table,
.block-container + form {
    margin: 10px 0 0 0;
}

/**
 * Largeur de bloc
 */
.size-filled {
    width: 100%;
}

.size-1-2 {
    width: calc(100% / 2 - var(--block-margin) / 2);
}

.size-1-3 {
    width: calc(100% / 3 - var(--block-margin) / 2);
}
.size-2-3 {
    width: calc(100% / 3 * 2 - var(--block-margin) / 2);
}

.size-1-4 {
    width: calc(100% / 4 - var(--block-margin) / 2);
}
.size-2-4 {
    width: calc(100% / 4 * 2 - var(--block-margin) / 2);
}
.size-3-4 {
    width: calc(100% / 4 * 3 - var(--block-margin) / 2);
}

.block-container-grid {
    display: grid;
    justify-content: space-between;
}

.grid-4 {
    grid-template-columns: repeat(auto-fill, calc(100% / 4 - var(--block-margin) / 2));
}
.grid-3 {
    grid-template-columns: repeat(auto-fill, calc(100% / 3 - var(--block-margin) / 2));
}
.grid-2 {
    grid-template-columns: repeat(auto-fill, calc(100% / 2 - var(--block-margin) / 2));
}


/**
 * Style des formulaires
 */
form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
form .toolbar-container {
    width: 100%;
}
form > dl,
form .fieldset {
    border: 1px solid #DFDFDF;
    background: #FFFFFF;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    width: 400px;
}
.block-content form > dl {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    width: auto;
}
form .fieldset .legend {
    margin: -10px -10px 10px -10px;
    text-align: center;
    display: block;
    color: #222222;
    line-height: 180%;
    border-bottom: 1px solid #DFDFDF;
    background: #F5F5F5;
    font-size: 1.1em;
}
form .fieldset.main-settings {
    flex-grow: 1;
}
form .fieldset.main-settings + div {
    width: fit-content;
    max-width: 300px;
    margin-left: 10px;
}
form dl {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
}
form dt {
    width: 100%;
}
form dd {
    width: 100%;
    margin: 0 0 10px 0;
    padding: 0;
}
form dt > label {
    font-weight: bold;
    font-size: 1.1em;
    line-height: 150%;
    color: #333333;
}
form .errors {
    color: #EF0000;
    margin-top: 0;
}
form button:not([tabindex]),
form input[type=submit],
form input[type="text"],
form input[type="password"],
form select,
form textarea {
    transition: 250ms linear color,
                250ms linear border;
    border-radius: 2px;
    border: 1px solid #AAAAAA;
    margin: 0;
    padding: 0 5px;
    height: 26px;
    background: #FFFFFF;
    outline: none;
    width: 100%;
}
form input[type=checkbox] {
    vertical-align: middle;
}
form textarea {
    padding: 5px;
    width: 100%;
    height: 200px;
}
form button:not([tabindex]),
form input[type=submit] {
    width: auto;
    cursor: pointer;
    padding: 0 10px;
    height: 30px;
}
form select[disabled],
form input[disabled] {
    background: #DDDDDD;
    opacity: .6;
}
form input[type="text"]:focus,
form input[type="password"]:focus,
form select:focus {
    color: #000000;
    border: 1px solid #DC5E00;
}

form dt.form-before-label {
    margin: 0 0 10px 0;
    width: calc(100% - 18px - 8px);
    margin-left: 8px;
}
form dd.form-before-label {
    width: 18px;
}
form .form-before-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
}

form .separator {
    margin-top: 10px;
    margin-bottom: 19px;
    line-height: 1;
    height: 1px;
    position: relative;
}
form .separator.with-label {
    margin-top: 30px;
    margin-bottom: 25px;
}
form .separator::after {
    content: "";
    position: absolute;
    width: calc(100% + 20px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 1px;
    background: #DFDFDF;
    z-index: 1;
}
form .separator label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FAFAFA;
    border-top: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
    padding: 0 10px;
    width: calc(100% + 20px);
    text-align: center;
    font-weight: 600;
    z-index: 2;
}

/* Formulaire pour confirmation (ex: suppression) */
.form-confirm dt {
    display: none;
}
.form-confirm #question-element {
    font-size: 1.2em;
    line-height: 200%;
}

@media screen and (max-width: 460px) {
    .menu > li {
        float: none;
    }
}

/**
 *   Toolbar
 * + barre d'outil du gestionnaire de media
 */

/* @todo */
.toolbar {
    list-style: none;
    padding-right: 0;
}
.toolbar .toolbar-item,
.toolbar .toolbar-button {
    float: left;
    margin-right: 10px;
    line-height: 30px;
}
.toolbar .toolbar-search
{
    display: block;
    float: left;
    margin-right: 10px;
    line-height: 30px;
}
.toolbar .toolbar-button a,
.toolbar .toolbar-button input[type=submit] {
    display: inline-block;
    min-width: 40px;
    padding: 0 10px;
    font-weight: normal;
    cursor: pointer;
}
.toolbar .toolbar-button input[type=submit] {
    height: 32px; /* inclure les bordures */
}
.toolbar .toolbar-icon .fa {
    /* @see .fa-lg */
    font-size: 1.33333333em;
    line-height: 0.75em;
    vertical-align: -15%;
}
.media-button:hover .fa {
    color: #DC5E00;
}
.media-button:hover .fa-trash-o,
.media-button:hover .fa-times,
.toolbar .toolbar-icon:hover button .fa-times-circle {
    color: #ED0000;
}
.toolbar .toolbar-icon:hover button[name=register] .fa,
.toolbar .toolbar-icon:hover button.delete .fa {
    color: #FFFFFF;
}

.media-button-disabled,
.media-button-disabled:hover .fa-times,
.media-button-disabled:hover .fa-trash-o,
.media-button-disabled:hover button .fa-times-circle {
    color: inherit;
    cursor: default;
}

.media-tab,
.toolbar-main-container {
    overflow: hidden;
}
.toolbar-count-2 {
    width: 50%;
    float: left;
}
.toolbar-count-2 + .toolbar-count-2 .toolbar {
    margin-left: 10px;
}
.toolbar-count-2 + .toolbar-count-2 .toolbar-item {
    float: right;
}

@media screen and (max-width: 460px) {
    .toolbar .toolbar-icon a {
        width: 30px;
        overflow: hidden;
        padding: 0;
    }
    .toolbar .toolbar-icon a:before {
        width: 30px;
        height: 30px;
        margin: 0;
    }
    .toolbar-count-2 {
        float: none;
        width: auto;
    }
    .toolbar-count-2 + .toolbar-count-2 .toolbar {
        margin-left: 0;
    }
}

/* Style bouton */
.media-button,
.pagination-pages .media-button,
.toolbar .toolbar-search,
.toolbar .toolbar-button a,
.toolbar .toolbar-button input[type=submit],
form input[type=submit],
form button:not([tabindex]) {
    background: #F0F0F0;
    background: linear-gradient(to bottom, #F9F9F9, #E0E0E0);
    border: 1px solid #BBBBBB;
    color: #222222;
    border-radius: 2px;
    font-size: 1.1em;
}

/* Style bouton : hover */
.toolbar .toolbar-button a:hover,
.toolbar .toolbar-button input[type=submit]:hover,
form input[type=submit]:hover,
form button:not([tabindex]):hover {
    background: #F9F9F9;
}

/* Style bouton : register */
form button[name=register],
form button[name=submit_default] {
    background: #2ecc71;
    background: linear-gradient(to bottom, #2ecc71, #27ae60);
    color: #FFFFFF;
    border-color: #27ae60;
}
form button[name=register]:hover,
form button[name=submit_default]:hover {
    background: #2ecc71;
}

/* Style bouton : delete */
button.delete {
    background: #c0392b;
    background: linear-gradient(to bottom, #e74c3c, #c0392b);
    color: #FFFFFF;
    border-color: #c0392b;
}
form button.delete:hover {
    background: #e74c3c;
}

/* Widget Rechercher */
.toolbar .toolbar-search {
    line-height: 30px;
    overflow: hidden;
}
.toolbar .toolbar-search input[type=text] {
    background: transparent;
    border: none;
    width: 250px;
    padding: 0 10px;
    color: #424242;
    height: 30px;
}
.toolbar .toolbar-search input[type=submit] {
    background: #E06E0B;
    border: none;
    height: 30px;
    color: #FFFFFF;
}

/**
 * Style du gestionnaire de media.
 */
.media-manager {
    padding: 0;
}
.media-manager .media-tab {
    margin: 0;
    padding: 0;
}
.media-manager .media-tab .media-button {
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-radius: 0;
}
.media-view-item-selected {
    background: #F5F5F5;
}
.media-navigation,
.media-filetransfert-header {
    background: #F0F0F0;
    background: linear-gradient(top, #FDFDFD, #DDDDDD);
    background: linear-gradient(to bottom, #FDFDFD, #DDDDDD);
    color: #424242;
    font-size: 1em;
}
.media-navigation .media-navigation-item.active,
.media-navigation .media-navigation-item:hover {
    border-radius: 2px;
    box-shadow: 0 0 2px #AAAAAA;
    border: 1px solid #AAAAAA;
}

/* Style élément de formulaire pour filtre dans tableau */
.table-filter th {
    padding: 3px;
    text-align: center;
    border: 1px solid #DDDDDD;
    line-height: 100%;
}
.table-filter input[type=text],
.table-filter select
{
    box-sizing: border-box;
    width: 100% !important;
    border-radius: 0;
    border: 1px solid #F0F0F0;
}
.table-filter input[type=text]:not([value='']) {
    color: #000000;
    border: 1px solid #DC5E00;
}
.table-filter .filter-actions {
    letter-spacing: -1px;
}
.table-filter .filter-actions button {
    font-size: 1em;
    height: 26px;
}

/**
 * Multi action
 */
.multi-action {
    line-height: 32px;
    float: left;
    margin-right: 10px;
}
.multi-action input,
.multi-action select {
    height: 30px;
    vertical-align: middle;
    width: auto;
}


/**
 * Pagination
 */
.pagination-pages {
    display: flex;
    align-items: center;
    text-align: center;
}
.pagination-pages li {
    margin: 0 3px;
    line-height: 26px;
    width: 25px;
}
.pagination-pages .pagination-pages-previous,
.pagination-pages .pagination-pages-next {
    padding: 0 10px;
    width: auto;
}
.pagination-pages .pagination-count:hover,
.pagination-pages .page-count-active {
    background: #DC5E00;
    border: 1px solid #DC5E00;
}

.pagination-pages li.items-per-page {
    width: auto;
}
.pagination-pages select {
    width: auto;
    text-align: center;
}
.pagination-pages option {
    text-align: center;
}

/**
 * Message
 */
.messenger {
    background: #FFFFFF;
    padding: 10px;
    margin: 20px 0;
    color: #DC5E00;
    font-size: 1.4em;
    line-height: 36px;
    position: relative;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
}
.messenger .fa {
    font-size: 42px;
    vertical-align: middle;
    animation-name: messenger;
    animation-duration: 3000ms;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}
.messenger-error {
    color: #EF0000;
}
@keyframes messenger {
    0%, 100% {
        transform: scale(1);
    }
    40% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    60% {
        transform: scale(1);
    }
}

/**
 * Boutons de controle
 */
.controls {
    text-align: center;
    white-space: nowrap;
}
td.controls,
th.controls {
    width: 20px; /* Force la taille au minimum. Agrandi auto via white-space: nowrap*/
}

/* Rétro compatibilité pour les modules ne prennant
   pas en charge le nouveau système d'icone
   @see www/plugin/Core/font-awesome/css/font-awesome.css */
.controls a {
    /* icon */
    display: inline-block;
    font-family: "FontAwesome", "Font Awesome 6 Free";
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* border */
    padding: .2em .25em .15em;
    border: solid 0.08em #eeeeee;
    border-radius: 5px;

    /* custom */
    color: #5B5B5B;
    font-size: 1.3em;
}
.controls a:hover {
    background: #E06E0B;
    color: #FFFFFF;
    border-color: #E06E0B;
}
.controls a.delete:before {
    content: "\f00d";
}
.controls a.delete:hover {
    background: #EF0000;
}
.controls a.edit:before {
    content: "\f044";
}
.controls a.control-delete:hover {
    background: #FE0000;
    border-color: #FE0000;
    color: #FFFFFF;
}


.controls a.enable,
.controls a.publish,
.controls a.disable,
.controls a.unpublish {
    border: none;
    padding: 0;
    background: transparent !important;
}
.controls a.enable:before,
.controls a.publish:before {
    content: "\f10c";
    color: #5B5B5B !important;
}
.controls a.disable:before,
.controls a.unpublish:before {
    content: "\f192";
    color: #E06E0B;
}

/**
 * Correction de style
 *
 */

/* CMS */
td.controls a.edit,
td.controls a.delete {
    background: none;
}
td.controls a.edit:hover {
    background: #E06E0B;
    color: #FFFFFF;
}







table#html_tbl,
.mceEditor table {
    width: auto;
    min-width: 0;
}

table tr.line-0 {
    background: #F7F7F7;
}
table tr.line-1 {
    background: #FFFFFF;
}

table td.col1 {
    background-color: #F0F0F0;
}
table td.col2 {
    background-color: #F0F0F0;
}

.center {
    text-align: center;
}

.question {
    font-size: 1.3em;
    width: 400px;
    margin: 50px 100px;
    background: #FBFBFB;
    border: 1px solid #AAA;
    border-radius: 30px;
    padding: 30px;
    box-shadow: -10px 10px 10px #888888, 10px 10px 10px #888888;
    text-align: center;
    color: #333333;
}


ul.actions-admin {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
    overflow: hidden;
}
ul.actions-admin li {
    display: block;
    float: left;
    width: 50%;
    text-transform: uppercase;
    background: #DDDDDD;
    font-size: .95em;
}
ul.actions-admin a {
    display: inline-block;
    font-size: .8em;
    line-height: 24px;
}
ul.actions-admin .fa {
    vertical-align: middle;
    font-size: 16px;
}

body.disable-leftcolumn div#content div.content-marge {
    margin: 0;
    padding: 0;
}
div#content div.content-marge h1 {
    background: #F0F0F0;
    margin: 0 -15px;
    padding: 20px 15px;
    border-bottom: 1px solid #DDDDDD;
}

/**
 * Permet l'affichage d'un message d'information.
 */
div.header-content {
    background: #F0F0F0;
    z-index: 10;
    width: 100%;
    position: fixed;
    top: 0;
    margin: 0 0 0 -226px;
    border-bottom: 1px solid #DDDDDD;
}
div.header-content-2 {
    margin-left: 225px;
    margin-right: 20px;
}
div.header-content .help {
    box-shadow: 0 4px 8px #333333;
    border-radius: 15px;
    border: 1px solid #CCCCCC;
    position: absolute;
    background: #F9F9F9;
    top: 30px;
    right: 30px;
    padding: 15px;
    width: 400px;
    font-size: 11px;
    color: #000000;
    letter-spacing: 1px;
    text-align: center;
    z-index: 10;
}

/**
 * Informer l'utilisateur sur des actions (validation formulaire, erreur, etc).
 */
.notify-information {
    background: #379934;
    background: linear-gradient(top, #4ABE46, #379934);
    background: linear-gradient(to bottom, #4ABE46, #379934);
    padding: 10px 20px;
    box-shadow: 0 0 3px #058100;
    border: 1px solid #379934;
    border-radius: 10px;
    font-weight: bold;
    color: #FFFFFF;
}

/**
 * Menu secondaire.
 */
.menu-secondary {
    background: #3C90BD;
    background: linear-gradient(top, #76BBE0, #4180B8);
    background: linear-gradient(to bottom, #76BBE0, #4180B8);
    margin: 0 -15px 0 -15px;
    padding: 0;
    font-size: 1.1em;
    min-width: 770px;
    overflow: hidden;
    clear: both;
}
.menu-secondary li {
    display: block;
    float: left;
}
.menu-secondary li.first a {
    border: 1px solid #76BBE0;
}
.menu-secondary li a:link,
.menu-secondary li a:hover,
.menu-secondary li a:active,
.menu-secondary li a:visited
{
    display: block;
    line-height: 40px;
    border: 1px solid #76BBE0;
    border-left: none;
    padding: 0 10px;
    background: #5597C7;
    background: linear-gradient(top, #76BBE0, #4180B8);
    background: linear-gradient(to bottom, #76BBE0, #4180B8);
    color: #FFFFFF;
}
.menu-secondary li a:hover {
    background: #4180B8;
}
.menu-secondary li.active a {
    background: #4180B8;
    font-weight: bold;
}


/**
 * Tip par defaut
 */
div.tip-wrap div.tip {
    background-color: #3e5cc7;
    border: 1px solid #5998ba;
    border-radius: .3em;
    color: #333;
    font-size: .9em;
    z-index: 1000;
    font-weight: bold;
}
div.tip-wrap div.tip div.tip-title {
    background-color: #FAFAFA;
    border: 1px solid #3e5cc7;
    border-radius: .3em;
    padding: .2em 1em;
}
div.tip-wrap div.tip div.tip-text {
    font-size: .85em;
    padding: .2em 1em;
    color: #FAFAFA;
}

td.date {
    text-align: center;
    white-space: nowrap;
}


.item-status-container {
    white-space: nowrap;
    text-align: center;
}
.item-status {
    font-weight: bold;
    padding: 5px;
    border-radius: .3em;
    white-space: nowrap;
    background-color: var(--bg-color, #424242);
    color: var(--fg-color, #FFFFFF);
}
.item-status-active {
    --bg-color: #49A078;
}
.item-status-inactive {
    --bg-color: #F24236;
}
.item-status-draft {
    --bg-color: #666666;
}
.item-status-pending-moderation {
    --bg-color: #e66100;
}


.tox-tinymce {
    border-radius: 0 !important;
    border-width: 1px !important;
    border-color: #AAAAAA !important;
}

/* 
 * This is a sample CSS file for FancySelect.
 * You can easily change styles such as colors, backgrounds, borders, font 
 * and dimensions to customize FancySelect look, but be careful about the
 * layout properties - some of them are essential to make FancySelect works
 * as expected. 
 */

/* The following rules set style for the <select> replacement 
 * Select is replaced by an inline <div class="fancy-select"> */

div.fancy-select {
	display: inline-block; /* Needed to behave like a select element */
	*display: inline; /* IE7 fix */
	*zoom: 1; /* IE7 fix */
	vertical-align: middle;
	margin: 0;
	overflow: hidden; /* For float clearing */
	cursor: pointer;
	padding: 1px;
	color: #333333;
	background-color: #eeeeee;
	border: 1px solid #dddddd;
	font-weight: bold;
}

/* This is the arrow on the right side. The triangle is 
 * rendered using a base64 encoded PNG :)
 * See the magic here: http://ptrn.it/x0Hdzg */

div.fancy-select .arrow {
	display: block;
	float: left;
	height: 16px;
	width: 16px;
	margin: 8px;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAANElEQVQImXXLwQkAIAxD0b9TFnSnDKgXCyXWDz2U8AAM7OEMoM8obqlNK7WIPKnUj6pWfw5v3BfTx+n+2AAAAABJRU5ErkJggg==');
	background-position: 5px 5px;
	background-repeat: no-repeat;
}

/* The following rule set style for the dropdown list,
 * which is a <ul class="fancy-select"> */

ul.fancy-select {
	margin: 0; /* Reccomended! */
	padding: 0;
	
	/* Use the folliwing if you want to set a fixed height 
	 * on the dropdown and let user "scroll" options... 
	width: 150px;
	height: 200px;
	overflow: auto;
	*overflow-x: hidden;
	*overflow-y: auto; */
	
}

ul.fancy-select li {
	margin: 0;
	padding: 1px;
	list-style-type: none; /* We do not need bullets */
	border: 1px solid #dddddd;
	background-color: #eeeeee;
	overflow: hidden; /* For float clearing */
	border-top: none; /* Avoid double-borders */
	cursor: pointer;
	*width: 150px; /* IE7 fix, we HAVE TO se fixed with :( */
	*margin-bottom: -3px; /* IE7 fix */
}

ul.fancy-select li:hover {
	background-color: #f6f6f6;
}

/* This is for the currently selected option */

ul.fancy-select li.selected {
	background-color: #ddeeff;
	font-weight: bold;
}

/* This is for the disabled options */

ul.fancy-select li.disabled {
	background-color: #dddddd;
	color: #666666;
	cursor: default;
}

/* The following rules set style for inner content of the <select> 
 * replacement and the dropdown list. Just an image and a text left-floated */

.fancy-select .image {
	display: block;
	float: left;
	width: 32px;
	height: 32px;
}

.fancy-select .text {
	display: block;
	float: left;
	height: 32px;
	line-height: 32px;
	padding: 0 10px;
}

/* Some rules to have bigger images for "fancy-select-big" class */

ul.fancy-select-big li .image {
	display: block;
	float: left;
	width: 64px;
	height: 64px;
}

ul.fancy-select-big li {
	*width: 64px; /* IE7 fix, we HAVE TO se fixed with :( */
}

