/*********************************************************************************\
									body
\*********************************************************************************/
html {
    font-size: 95%;
}

body {
    width: 100%;
    font-family: 'Roboto';
    background: var(--color-background);
    color: var(--color-text);
    /*font-size: 14px;*/
}

body.gradient {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
}

input,
textarea {
    font-family: 'Roboto';
}

footer {
    text-align: center;
    font-size: 12px;
    margin-top: 2rem;
}

.footer-logo {
    width: 50px;
}

/*********************************************************************************\
									Icons                                        
\*********************************************************************************/
.remix {
    width: 22px;
    height: 22px;
}

@font-face {
    font-family: 'plateforme_icon';
    src: url('../fonts/plateforme_icon.eot');
    src: url('../fonts/plateforme_icon.eot?#iefix') format('embedded-opentype'),
    url('../fonts/plateforme_icon.ttf') format('truetype'),
    url('../fonts/plateforme_icon.woff') format('woff'),
    url('../fonts/plateforme_icon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'plateforme_icon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-chat:before {
    content: "\e60f";
}

.icon-notification:before {
    content: "\e613";
}

.icon-profil:before {
    content: "\e610";
}

.icon-arrow-down:before,
.icon-asc:before {
    content: "\e605";
}

.icon-arrow-up:before,
.icon-desc:before {
    content: "\e606";
}

.icon-arrow-left:before {
    content: "\e604";
}

.icon-arrow-right:before {
    content: "\e607";
}

.icon-option:before {
    content: "\e611";
}

.icon-logout:before {
    content: "\e612";
}

.icon-delete:before {
    content: "\e9ac";
}

.icon-dashboard:before, .icon-home:before {
    content: "\e608";
}

.icon-videotheque:before {
    content: "\e60c";
}

.icon-audiotheque:before {
    content: "\e60b";
}

.icon-calendar:before,
.icon-reservation:before {
    content: "\e60d";
}

.icon-box:before {
    content: "\e615";
}

.icon-phototheque:before {
    content: "\e60a";
}

.icon-edit:before,
.icon-pencil:before {
    content: "\e609";
}

.icon-task:before {
    content: "\e614";
}

.icon-remove:before,
.icon-close:before {
    content: "\ea0f";
}

.icon-reply:before {
    content: "\e600";
}

.icon-forward:before {
    content: "\e601";
}

.icon-image:before, .icon-file-png:before, .icon-file-jpg:before, .icon-file-gif:before {
    content: "\e617";
}

.icon-music:before, .icon-file-mp3:before {
    content: "\e618";
}

.icon-video:before, .icon-file-avi:before, .icon-file-mp4:before {
    content: "\e619";
}

.icon-file:before, .icon-file-txt:before, .icon-file-csv:before, .icon-documents:before {
    content: "\e61a";
}

.icon-folder:before {
    content: "\e61b";
}

.icon-file-html:before, .icon-file-js:before, .icon-file-php:before {
    content: "\e61e";
}

.icon-file-pdf:before {
    content: "\e61f";
}

.icon-file-openoffice:before {
    content: "\e620";
}

.icon-file-docx:before, .icon-file-doc:before {
    content: "\e621";
}

.icon-file-xlsx:before, .icon-file-xls:before {
    content: "\e622";
}

.icon-file-pptx:before, .icon-file-ppt:before {
    content: "\e624";
}

.icon-file-zip:before, .icon-file-rar:before {
    content: "\e623";
}

.icon-file-css:before {
    content: "\e625";
}

.icon-cloud-upload:before {
    content: "\e61d";
}

.icon-cloud-download:before {
    content: "\e61c";
}

.icon-warning:before {
    content: "\e629";
}

.icon-warningbis:before {
    content: "\e626";
}

.icon-question:before {
    content: "\e627";
}

.icon-info:before {
    content: "\e628";
}

.icon-admin:before {
    content: "\e62b";
}

.icon-stats:before {
    content: "\e62d";
}

.icon-debug:before,
.icon-preferences:before {
    content: "\e62a";
}

.icon-contract:before {
    content: "\e616";
}

.icon-expand:before {
    content: "\e60e";
}

.icon-location:before {
    content: "\e62c";
}

.icon-location2:before {
    content: "\e62e";
}

.icon-slider:before {
    content: "\e95b";
}

.icon-display:before {
    content: "\e956";
}

.icon-download:before {
    content: "\e630";
}

.icon-upload:before {
    content: "\e631";
}

.icon-upload2:before {
    content: "\e9c6";
}

.icon-download2:before {
    content: "\e9c5";
}

.icon-earth:before {
    content: "\e632";
}

.icon-cross:before {
    content: "\e633";
}

.icon-play:before {
    content: "\e639";
}

.icon-generate:before {
    content: "\e984";
}

.icon-trophy:before {
    content: "\e637";
}

.icon-reinit:before {
    content: "\e634";
}

.icon-print:before {
    content: "\e635";
}

.icon-new:before {
    content: "\ea0a";
}

.icon-drag-h:before {
    content: "\f141";
}

.icon-drag-v:before {
    content: "\f142";
}

.icon-lesson:before,
.icon-book:before {
    content: "\e91f";
}

.icon-user-check:before {
    content: "\e975";
}

.icon-duplicate:before {
    content: "\e92c";
}

.icon-bell:before {
    content: "\e951";
}

.icon-eye:before {
    content: '\e9ce';
}

.icon-facebook:before {
    content: '\ea90';
}

.icon-facebook2:before {
    content: "\ea91";
}

.icon-envelop:before {
    content: "\e945";
}

.icon-clock:before {
    content: "\e94e";
}

.icon-minus:before {
    content: "\ea0b";
}

.icon-cross2:before {
    content: "\ea0f";
}

.icon-checkmark2:before {
    content: "\ea10";
}

.icon-cdi:before,
.icon-library:before {
    content: "\e921";
}

.icon-file-picture:before {
    content: "\e927";
}

.icon-file-music:before {
    content: "\e928";
}

.icon-file-play:before {
    content: "\e929";
}

.icon-spoon-knife:before {
    content: "\e9a3";
}

.icon-rss:before {
    content: "\ea9b";
}

.icon-menu:before {
    content: "\e614";
}

.icon-liaisonForm:before {
    content: "\e923";
}

.icon-bug:before {
    content: "\e999";
}

.icon-table:before {
    content: "\ea71";
}

.icon-messenger:before {
    content: "\e96c";
}

.icon-books:before,
.icon-schoolBook:before {
    content: "\e920";
}

.icon-price-tag:before {
    content: "\e935";
}

.icon-lock:before {
    content: "\e98f";
}

.icon-text:before {
    content: "\ea61";
}

/*********************************************************************************\
									Header                                        
\*********************************************************************************/
.header {
    position: fixed;
    left: 0;
    width: 100%;
    height: 64px;
    z-index: 300;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid  rgb(218, 220, 224);
}

.module-menu-toggle {
    padding-right: 1rem;
}

.module-menu-toggle a {
    display: block;
    height: 22px;
}

.header-title {
    z-index: 400;
    padding-left: .7rem;
    display: flex;
    align-items: center;
}

.header-title-icon {
    display: none;
}

.header-title h1 {
    font-size: 2rem;
    font-weight: 400;
}

.header-breadcrumb ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 0;
}

.header-breadcrumb ul li {
    list-style-type: none;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin: 0 2px;
    display: none;
}

.header-breadcrumb ul li:last-child {
    display: block;
    font-weight: 600;
    color: var(--color-text);
}

.header-breadcrumb ul li a:hover {
    text-decoration: underline;
}

.header-breadcrumb ul li.breadcrumb-separator {
    display: flex;
    align-items: center;
    fill: var(--color-text-light);
}

/*********************************************************************************\
							   menu user droite
\*********************************************************************************/
.nav-user {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.nav-user li {
    list-style-type: none;
    margin: 0 5px;
}

.nav-user .dropdown-toggle {
    color: var(--color-text);
    height: 50px;
    line-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    transition: .2s ease-out;
    border-radius: 8px;
}

.nav-user .dropdown-toggle:hover,
.nav-user .dropdown-toggle[aria-expanded="true"] {
    background-color: rgba(56, 58, 62, 0.04);
}

.nav-user .dropdown-toggle svg {
    fill: #000;
}

.nav-user .dropdown-toggle:hover {
    color: var(--color-text);
}

.user-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-toggle .user-img {
    margin-left: 5px;
}

.user-toggle .user-img svg {
    width: 25px;
    height: 25px;
    fill: #323a45;
}

.user-toggle .username {
    display: none;
}

.username {
    font-size: 1rem;
    font-weight: 700;
    color: #323a45;
    margin-right: 8px;
}

.username span:first-child {
    text-transform: capitalize;
}

.username span:last-child {
    text-transform: uppercase;
}

.user-menu {
    padding: 15px 20px;
    width: 300px;
}

.user-menu .user {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}

.user-menu .user-img {
    background: #f0f0f0;
    margin-right: 15px;
}

.user-menu .username {
    margin-bottom: 2px;
}

.user-menu .link {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    transition: .2s ease-out;
}

.user-menu .link:hover {
    text-decoration: none;
    color: var(--color-primary);
}

.user-menu .link-icon {
    height: 40px;
    line-height: 40px;
    border-radius: 12px;
    background: var(--color-primary-white);
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.user-menu .link-icon svg {
    fill: var(--color-primary);
}

/*********************************************************************************\
							 menu notification                                        
\*********************************************************************************/
.notification-icon-count {
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    background: #fff;
    font-family: 'Roboto';
    font-size: .65rem;
    width: 17px;
    height: 17px;
    text-align: center;
    border-radius: 50%;
    color: #000;
    line-height: 16px;
    font-weight: bold;
}

.notification-menu {
    width: 360px;
    max-height: 550px;
    overflow: hidden;
}

.notification-list {
    max-height: 500px;
    overflow-y: auto;
}

.notification-list div a {
    border-bottom: 1px solid #f2f2f2;
    color: #000;
    display: flex;
    position: relative;
    padding: .5rem 1rem;
}

.notification-list div a:hover {
    background: rgba(0, 0, 0, .025);
}

.notifications-icons {
    font-size: 1.2rem;
    margin-right: 20px;
    color: #ffffff;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    padding: 5px;
    line-height: 30px;
    text-align: center;
}

.color-default {
    background: var(--color-purple);
}

.color-reservation {
    background: var(--color-orange);
}

.notifications-desc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.notifications-desc h5 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
}

.notifications-desc p {
    font-size: .9rem;
    margin-top: 0.4rem;
    color: var(--color-text);
    margin-bottom: 0;
}

.notification-date {
    font-style: italic;
    font-size: .8rem;
    margin-top: 0.4rem;
    color: #a1aab2;
}

.notification-title {
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    border-bottom: 1px solid #f2f2f2;
    font-weight: 500;
}

.notification-plus {
    position: relative;
    width: 100%;
    display: block;
    text-align: center;
    background: #f2f2f2;
    height: 50px;
    line-height: 50px;
    color: var(--color-text);
}

/*********************************************************************************\
									Sidebar
\*********************************************************************************/
.sidebar {
    border-right: 1px solid rgb(218, 220, 224);
    position: fixed;
    background: #fff;
    height: 100vh;
    width: 225px;
    z-index: 450;
    top: 0;
    transition: all .2s;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    overflow: hidden auto;
    left: -225px;
    scrollbar-width: thin;
}

.sidebar::-webkit-scrollbar {
    width: 10px;
    background: #f0f0f0;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #cdcdcd;
    border: 1px solid #f0f0f0;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #a6a6a6;
}

/*********************************************************************************\
							    Sidebar logo block
\*********************************************************************************/
.sidebar .logo {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 12px 10px;
    overflow: hidden;
    height: 64px;
    background-image: url('../img/pattern.png');
    background-size: 80px;
    background-attachment: fixed;
}

.sidebar .logo-img {
    height: 100%;
    min-width: 45px;
    margin-right: 15px;
    display: flex;
}

.sidebar .logo-img img {
    width: 100%;
}

.sidebar .logo-title {
    font-weight: normal;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: 1.2rem;
}

/*********************************************************************************\
							    Sidebar user block
\*********************************************************************************/
.modules {
    padding-bottom: 0;
    height: calc(100vh - 64px);
    overflow: hidden auto;
    scrollbar-width: thin;
}

.modules ul {
    list-style-type: none;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modules ul li:first-child {
    margin-top: auto;
}

.modules ul li:last-child {
    margin-bottom: auto;
}

.modules li {
    display: inline-block;
    width: 100%;
    height: 50px;
    min-height: 50px;
}

.modules li a {
    color: var(--color-text-light);
    font-size: .9rem;
    display: flex;
    min-width: 45px;
    height: 40px;
    line-height: 40px;
    border-radius: 12px;
    margin: 3px 10px;
    align-items: center;
    transition: .2s ease-out;
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
}

.modules li a svg {
    fill: var(--color-text-light);
}

.modules li a:hover {
    color: var(--color-text);
    background: var(--color-background);
}

.modules li a:hover svg {
    fill: var(--color-text);
}

.modules li.active a {
    color: var(--color-primary);
    background: var(--color-primary-white);
}

.modules li.active a svg {
    fill: var(--color-primary);
}

.modules li.active a:hover {
    color: var(--color-primary);
    background: var(--color-primary-white);
}

.modules li.active a:hover svg {
    fill: var(--color-primary);
    background: transparent;
}

.modules li i {
    font-size: 1.2rem;
    width: 45px;
    text-align: center;
}

.modules li svg {
    min-width: 45px;
    text-align: center;
}


/*********************************************************************************\
                                    module-menu
\*********************************************************************************/
.module-menu {
    border-right: 1px solid  rgb(218, 220, 224) ;
    position: fixed;
    background: #fff;
    height: 100%;
    left: -220px;
    width: 220px;
    z-index: 430;
    box-sizing: border-box;
    transition: all .5s;
    padding-top: 64px;
}

ul.menu {
    list-style-type: none;
    height: calc(100% - 80px);
    overflow: auto;
    margin-left: 0;
    scrollbar-width: thin;
    padding: 0 12px;
}

ul.menu::-webkit-scrollbar {
    width: 10px;
    background: #f0f0f0;
}

ul.menu::-webkit-scrollbar-thumb {
    background: #cdcdcd;
    border: 1px solid #f0f0f0;
}

ul.menu::-webkit-scrollbar-thumb:hover {
    background: #a6a6a6;
}

ul.menu > li {
    margin-bottom: 4px;
}

ul.menu li a {
    display: block;
    font-size: .9rem;
    color: var(--color-text-light);
    padding: 10px;
}

ul.menu ul li {
    list-style-type: none;
    margin-bottom: 4px;
}

ul.menu ul li a {
    display: block;
    font-size: .9rem;
    color: var(--color-text-light);
    padding: 7px 10px 7px 12px;
    border-radius: 6px;
    transition: .2s;
}

ul.menu ul li:hover a,
ul.menu ul li a.active {
    color: var(--color-primary);
    background: var(--color-primary-white);
    font-weight: 600;
}

ul.menu > li > a:hover,
ul.menu > li > a.active {
    color: var(--color-primary);
    background: var(--color-primary-white);
    border-radius: 8px;
    font-weight: 600;
}

.menu-submenu {
    margin-left: 8px;
    padding-left: 8px;
    border-left: 2px solid var(--color-primary-white);
    margin-top: 4px;
}

/*********************************************************************************\
									Content                                        
\*********************************************************************************/
.page {
    min-height: calc(100vh);
    transition: all .5s;
    margin-left: 0;
    padding-top: 64px;
}

.page-body {
    position: relative;
}

.page-body-left {
    margin-left: 0;
}

.section {
    padding: 1rem 1.5rem;
    margin-left: 0;
}

.content {
    padding-bottom: 40px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 10px;
}

.center {
    text-align: center;
}

/*********************************************************************************\
									Breadcrumb
\*********************************************************************************/
/*.breadcrumb {
    margin-bottom: .4rem;
}

.breadcrumb ul {
    list-style-type: none;
    margin-left: 0;
}

.breadcrumb ul li {
    display: inline-block;
    font-size: 1rem;
    color: #000;
    font-weight: 400;
}

.breadcrumb ul li a {
    color: #000;
    font-weight: 400;
}

.breadcrumb ul li a:hover {
    color: var(--color-primary-dark);
}

.breadcrumb ul li.breadcrumb-separator {
    color: #565D64;
}*/

/*********************************************************************************\
								Pagination
\*********************************************************************************/
.pagination-container {
    text-align: center;
}

.pagination {
    list-style-type: none;
    display: inline-flex;
    margin: 0;
    gap: 8px;
}

.pagination li {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e3e4e7;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 8px;
    transition: .2s ease-out;
}

.pagination li:last-child {
    border-right: none;
}

.pagination li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: all .2s ease-in-out;
}

.pagination li:not(.disabled, .active):hover {
    background: #e3e3e3;
}

.pagination li.active {
    background: var(--color-primary);
}

.pagination li.active a {
    color: #fff;
}

.pagination li i {
    font-size: 18px;
    position: relative;
    top: 3px;
}

.pagination li.disabled a,
.pagination li.disabled svg {
    color: #ccc;
    fill: #ccc;
}

/*********************************************************************************\
									Table
\*********************************************************************************/
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.table {
    border-collapse: collapse;
    width: 100%;
}

.table th {
    padding: 15px 15px;
    text-decoration: none;
    text-align: left;
    border-bottom: 1px solid #C5C5C5;
    color: var(--color-primary);
}

.table.table-bordered th {
    border: 1px solid #C5C5C5;
}

.table th a:not(.btn) {
    color: var(--color-primary);
}

.table .table-center,
.table .center,
.table .text-center {
    text-align: center;
}

.table tr {
    color: #000;
}

.table tbody tr[data-href] {
    cursor: pointer;
}

.table tbody tr td {
    padding: 16px 16px;
    border-bottom: 1px solid #eee;
    transition: .2s ease-out;
}

.table.table-bordered tbody tr td {
    border: 1px solid #C5C5C5;
}

.table:not(.treetable,.table-bordered,.table-no-striped) tbody tr:nth-child(2n+1) {
    background: #f8f8f8;
}

.table:not(.table-bordered) tbody tr:last-child td {
    border-bottom: none;
}

.table tfoot tr td {
    padding: 16px 16px;
    font-size: 14px;
    border-top: 1px solid #eee;
}

.table .col-actions {
    text-align: right;
    padding: 0 16px;
}

.table .col-actions-content {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-wrap: nowrap;
    gap: .4rem;
}

.table .col-actions > a {
    margin: 0 10px;
    text-align: center;
}

.table .col-actions > a.btn-flat {
    margin: 0 2px;
}

.table .col-actions a.danger:not(.btn, .btn-flat):hover {
    color: var(--color-danger);
}

.table .col-actions a.danger:not(.btn, .btn-flat):hover svg {
    fill: var(--color-danger);
}

table.table a:not(.btn, .btn-flat):hover {
    color: var(--color-primary);
}

table.table a:not(.btn, .btn-flat):hover svg {
    fill: var(--color-primary);
}

table.table a.btn:hover {
    color: #fff;
}

.table .col-drag {
    width: 15px;
}

.table .col-checkbox {
    text-align: center;
}

.table:not(.table-no-hover) tbody tr:hover td:not([rowspan]) {
    background: #eee;
}

.td-center {
    text-align: center;
}

.table a:not(.btn-flat) .icon {
    font-size: 20px;
    position: relative;
    top: 3px;
}

.table .icon-drag-v {
    font-size: 22px;
    position: relative;
    top: 2px;
    cursor: pointer;
    display: none;
    color: #000;
}

.table tbody tr:hover .icon-drag-v {
    display: inline-block;
}

.table tbody tr.green {
    background: #c8e6c9 !important;
}

.table tbody tr.orange {
    background: #ffe0b2 !important;
}

.table tbody tr.red {
    background: var(--color-danger-ultra-light) !important;
}

/*********************************************************************************\
									treetable                                        
\*********************************************************************************/
.toggle-treetable {
    color: #000;
}

.toggle-treetable span {
    position: relative;
    top: 2px;
    font-size: 18px;
}

.indenter {
    display: inline-block;
}

/*********************************************************************************\
									CRUD
\*********************************************************************************/
.table td[data-editable="1"] .form-group {
    margin-bottom: 0;
}

/* Poignée de réordonnancement par glisser-déposer (CRUD sortable) */
.table .col-sort-handle {
    width: 1%;
    padding-right: 0;
    color: var(--color-text-light);
    cursor: grab;
}

.table td.col-sort-handle:active {
    cursor: grabbing;
}

.table td.col-sort-handle .remix {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.table tr.sortable-ghost {
    opacity: .4;
}


/*********************************************************************************\
									Forms                                        
\*********************************************************************************/
.form {
    position: absolute;
    top: 50px;
    background: #fff;
    padding: 10px;
    border: 1px dashed #777;
    width: 300px;
}

.form-control-hide,
input[type="file"].form-control-hide {
    display: none;
}

.form-group .inside {
    position: absolute;
    right: 9px;
    top: 9px;
}

.form-group .clr-field {
    display: block;
}

.form-group .clr-field button {
    height: 25px;
    width: 25px;
    left: 7px;
    border-radius: 2px;
}

.form-group .clr-field input {
    padding-left: 40px;
}

.datepicker {
    z-index: 700;
}

.textarea{
    display: block;
    margin: 7px;
    width: 400px;
    height: 150px;
    resize: none;
}

.form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.form-actions .btn,
.form-actions .btn-flat {
    margin-right: .5rem;
}

.form-actions .btn:last-child {
    margin-right: 0;
}

option {
    border: none;
}

input[type="file"] {
    display: block;
}

.checkbox-content-2, .columns2 {
    list-style-type: none;
    columns: 2 auto;
    -moz-columns: 2 auto;
    -webkit-columns: 2 auto;
}

.columns4 {
    list-style-type: none;
    columns: 4 auto;
    -moz-columns: 4 auto;
    -webkit-columns: 4 auto;
}

.form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.form-message {
    margin-top: 5px;
    font-style: italic;
    font-size: .9rem;
}

.form-group.error .form-message {
    color: var(--color-danger-ultra-light);
}

.checkbox-color input {
    display: none;
}

.checkbox-color label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    cursor: pointer;
    transition: .25s;
}

.checkbox-color label:hover {
    transform: scale(1.1, 1.1);
}

.checkbox-color label svg {
    fill: #fff;
    display: none;
}

.checkbox-color input[type="radio"]:checked + label svg,
.checkbox-color input[type="checkbox"]:checked + label svg {
    display: block;
}

/****************\
     Dropzone
\****************/
.dropzone {
    display: flex;
    height: 100px;
    background: #F6F5F7;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    margin-bottom: 10px;
}

.dropzone:hover {
    background: #E8E5EA;
}

.dropzone > span:first-child {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: .3rem;
}

.dropzone > span:nth-child(2) {
    font-size: .9rem;
}

/*********************************************************************************\
									Dashboard (vue utilisateur)
\*********************************************************************************/
#dashboard {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
}

.dashboard-widget-item {
    min-height: 0;
    min-width: 0;
    position: relative;
}

.dashboard-widget-item.auto-height {
    align-self: start;
}

/*********************************************************************************\
                                    Widget
\*********************************************************************************/
.widget {
    transition: width 300ms linear;
    border: 1px solid rgb(218, 220, 224);
    margin-bottom: 10px;
    background: #fff;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.widget-container {
    position: relative;
}

.widget-header {
    color: #2c3e50;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.widget-header h3 {
    font-size: 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.widget-header h3 a {
    color: #2c3e50;
}

.widget-body.widget-padding {
    padding: 5px 20px;
}

.widget-body.widget-block {
    padding: 25px 20px;
}

.widget-body .spinner {
    margin: 50px auto;
}

.widget-error {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px 0;
}

.attribute {
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    display: flex;
    align-items: center;
}

.attribute:last-child {
    border-bottom: none;
}

.attribute .icon {
    margin-right: 1.5rem;
}

.attribute .text {
    width: 100%;
}

/*********************************************************************************\
									Modal
\*********************************************************************************/
.mymodal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 600;
    overflow: auto;
}

.mymodal-dialog {
    width: 100%;
    min-height: calc(100% - 3.5rem);
    margin: 1.75rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mymodal-container {
    background: #fff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    z-index: 1;
    border-radius: 5px;
    padding: 1rem;
    position: relative;
}

.mymodal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .4);
    z-index: 550;
}

.mymodal-close {
    position: absolute;
    right: 10px;
    top: 10px;
}

.modal-title {
    margin: 0 0 20px 0;
    font-size: 22px;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 10px;
    margin-top: 20px;
    text-align: right;
}

/*********************************************************************************\
                                    Lightbox
\*********************************************************************************/
#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
    box-sizing: border-box;
}

#lightbox-overlay.open {
    display: flex;
}

body.lightbox-open {
    overflow: hidden;
    touch-action: none;
    position: relative;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-media-container {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image,
.lightbox-media-container video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-toolbar {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 10001;
    color: white;
    font-family: sans-serif;
}

.lightbox-toolbar-buttons {
    display: flex;
    gap: 0.5rem;
}

.lightbox-caption {
    margin-top: 1rem;
    color: white;
    font-size: 1rem;
    text-align: center;
    max-width: 90vw;
    word-wrap: break-word;
    font-family: sans-serif;
    line-height: 1.4;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-slideshow-progress {
    position: absolute;
    top: -1rem;
    left: -1rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    width: 0;
    z-index: 9999;
    transition: width 0ms ease-in-out; /* initial */
}

.lightbox-slideshow-progress.animate {
    animation: slideshowProgress linear forwards;
}

.lightbox-select.selected svg {
    fill: var(--color-primary-ultra-light);
}

@media (max-width: 600px) {
    .lightbox-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.8rem;
    }
}


/*********************************************************************************\
									Error pages                                    
\*********************************************************************************/
.error-container {
    text-align: center;
}

.error-icon {
    color: #b0bec5;
    font-size: 150px;
}

.error-title {
    font-size: 24px;
    margin: 20px 0 10px 0;
}

/*********************************************************************************\
								Add medias
\*********************************************************************************/
.add-media ul {
    list-style-type: none;
    margin: 20px 0;
}

.add-media-file {
    margin: 0 0 10px 10px;
}

.add-media-file p {
    margin-left: 30px;
}

.form-option {
    margin: 10px 0 0 10px;
}

.add-media-file input {
    display: inline-block;
}

.add-media select {
    display: inline-block;
}

/*********************************************************************************\
								Profile card
\*********************************************************************************/
.profile-card {
    position: relative;
    background: #fff;
    margin: 0.5rem 0 1rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgb(218, 220, 224);
}

.profile-card-header {
    padding: 2rem 2rem 1rem 2rem;
}

.profile-card-header .profile-card-header-principal  {
    display: flex;
    flex-direction: row;
    position: relative;
    margin-bottom: 1rem;
}

.profile-card-actions {
    align-self: flex-start;
    margin-left: auto;
}

.profile-picture {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.2px;
    background: var(--color-primary-white);
    color: var(--color-primary);
    overflow: hidden;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card .profile-picture {
    width: 6rem;
    height: 6rem;
    border-radius: 25%;
    font-size: 2.5em;
    background: #e3e3e3;
    margin-right: 1rem;
}

.profile-picture svg {
    width: 2.5rem;
    height: 2.5rem;
}

.profile-name {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0.4rem 0;
}

.profile-name span:first-child {
    text-transform: capitalize;
}

.profile-name span:last-child {
    text-transform: uppercase;
}

.profile-info {
    color: var(--color-text);
    margin-bottom: 0.4rem;
    display: flex;
    gap: .4rem;
}

.profile-info svg {
    width: 18px;
    height: 18px;
}

.profile-tags {
    display: flex;
    gap: .4rem;
    align-items: center;
    margin-bottom: 0.4rem;
}

.profile-tags-title {
    width: 65px;
}

.profile-card-body {
    padding: 1.5rem 1rem 2rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/*********************************************************************************\
								Flip card effect
\*********************************************************************************/
.flip-container {
    display: inline-block;
    perspective: 1000px;
}

.flip-container:not(.horizontal):not(.flip-clic):hover .flipper, .flip-container.hover .flipper {
    transform: rotateY(180deg);
}

.flip-container.horizontal:not(.flip-clic):hover .flipper, .flip-container.hover .flipper {
    transform: rotateX(180deg);
}

.flip-container.flip-clic.flipped:not(.horizontal) .flipper, .flip-container.hover .flipper {
    transform: rotateY(180deg);
}

.flip-container.flip-clic.flipped.horizontal .flipper, .flip-container.hover .flipper {
    transform: rotateX(180deg);
}

.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.flip-front-content, .flip-back-content {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.flip-front-content {
    z-index: 2;
    transform: rotateY(0deg);
}

.flip-back-content {
    z-index: 3;
    transform: rotateY(180deg);
}

.flip-container.horizontal .flip-back-content {
    transform: rotateX(180deg);
}

/*********************************************************************************\
								Mobile overlay
\*********************************************************************************/
.mobile-overlay {
    display: none;
}

.mobile-overlay.is-opened {
    display: block;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.3);
    height: 100%;
    width: 100%;
    z-index: 300;
}

.mobile-overlay.is-opened {
    z-index: 420;
}

/*********************************************************************************\
								Jquery UI Hack
\*********************************************************************************/
.ui-datepicker {
    z-index: 9999 !important;
}

/*********************************************************************************\
								   Stepper
\*********************************************************************************/
.stepper {
    font-size: 16px;
    display: flex;
    list-style-type: none;
    margin-left: 0;
    /*margin-bottom: 10px;*/
    /*flex-wrap: wrap;*/
    overflow: auto;
}

.stepper .step {
    min-width: 130px;
    height: 40px;
    flex-grow: 1;
    text-align: center;
    color: #dadada;
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    margin-bottom: 10px;
}

.article .stepper .step,
article .stepper .step,
.card .stepper .step {
    background: var(--color-background);
    color: #999;
}

.stepper .step:before {
    content: "";
    border-bottom: 20px solid transparent;
    border-left: 14px solid var(--color-background);
    border-top: 20px solid transparent;
    position: absolute;
    left: 0;
    top: 0;
}

.article .stepper .step:before,
article .stepper .step:before,
.card .stepper .step:before {
    border-left: 14px solid #fff;
}

.stepper .step:first-child:before {
    display: none;
}

.stepper .step:after {
    content: '';
    display: block;
    border-bottom: 20px solid var(--color-background);
    border-left: 14px solid #fff;
    border-top: 20px solid var(--color-background);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.article .stepper .step:after,
article .stepper .step:after,
.card .stepper .step:after {
    border-bottom: 20px solid #fff;
    border-left: 14px solid var(--color-background);
    border-top: 20px solid #fff;
}

.stepper .step:last-child {
    margin-right: 0;
}

.stepper .step a {
    display: block;
    color: #000;
    transition: .28s ease;
}

.stepper .step.hover:hover,
.stepper .step.current {
    background: var(--color-primary);
    color: #fff;
}

.stepper .step.hover:hover:after {
    border-left-color: var(--color-primary);
}

.stepper .step.current:after {
    border-left: 14px solid var(--color-primary);
}

.stepper-rounded {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.stepper-rounded .step {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background: #ccc;
}

.stepper-rounded .step.red {
    background: var(--color-danger-ultra-light);
}

.stepper-rounded .step.orange {
    background: #ffe0b2;
}

.stepper-rounded .step.green {
    background: #c8e6c9;
}

/*********************************************************************************\
								    Debug
\*********************************************************************************/
.debug-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.debug-btn .icon {
    font-size: 16px;
}

#debug {
    position: fixed;
    width: 100%;
    height: 300px;
    right: 0;
    bottom: -270px;
    background: #fff;
    box-shadow: 0 -2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    z-index: 700;
}

.debug-header {
    height: 30px;
    line-height: 30px;
    background: #464D57;
    border-bottom: 1px solid #323A45;
    font-size: 0;
    color: #fff;
}

.debug-title {
    background: #323A45;
    text-transform: uppercase;
    font-size: 16px;
    padding: 0 10px;
    display: inline-block;
    font-weight: 500;
    cursor: pointer;
}

.debug-title .icon {
    position: relative;
    top: 2px;
}

.debug-tabs {
    display: inline-block;
    list-style-type: none;
    font-size: 0;
}

.debug-tabs .tab {
    display: inline-block;
}

.debug-tabs .tab button {
    color: #fff;
    display: block;
    padding: 0 20px;
    font-size: 15px;
    background: transparent;
    border: none;
    height: 30px;
    line-height: 30px;
}

#debug.open .debug-tabs .tab button.active,
.debug-tabs .tab button:hover {
    background: #323A45;
}

.debug-options {
    float: right;
    height: 30px;
}

.debug-options .time,
.debug-options .memory {
    font-size: 14px;
    margin-right: 10px;
}

.debug-options .time i,
.debug-options .memory i {
    position: relative;
    top: 2px;
    margin-right: 7px;
}

#debug.open .debug-options a.debug-close {
    display: inline-block;
}

.debug-options a.debug-close {
    display: none;
}

.debug-options a {
    color: #fff;
    display: inline-block;
    font-size: 13px;
    padding: 0 10px;
}

.debug-options a:hover {
    background: #323A45;
}

.debug-options a .icon {
    position: relative;
    top: 1px;
}

.debug-body {
    padding: 0 10px 10px 10px;
    height: 253px;
    overflow: auto;
    font-family: 'monospace';
    color: #555;
}

.debug-body h3 {
    font-size: 18px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
}

.debug-list {
    list-style-type: none;
    margin-bottom: 10px;
}

.debug-list li {
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
}

.debug-varlist {
    margin-bottom: 10px;
}

.debug-varlist dt {
    float: left;
    width: 230px;
    padding: 7px;
    border-top: 1px solid #e0e0e0;
    font-weight: bold;
    clear: both;
}

.debug-varlist dd {
    margin-left: 230px;
    padding: 7px;
    border-top: 1px solid #e0e0e0;
    cursor: pointer;
}

.debug-list .status {
    font-weight: bold;
    font-size: 16px;
    background: #fafafa;
}

.debug-list li:hover {
    background: #fafafa;
}

.debug-list li .sql {
    display: inline-block;
    width: 90%;
}

.debug-list li .time,
.debug-list li .row-count {
    float: right;
    margin-left: 14px;
    color: #888;
}

.debug-list li .time i,
.debug-list li .row-count i {
    position: relative;
    top: 1px;
    margin-right: 7px;
}

.debug-list li .error {
    color: var(--color-danger);
    margin: 5px 0 0 10px;
}

.debug-timeline {
    margin-bottom: 10px;
}

.debug-timeline .line {
    height: 30px;
    position: relative;
}

.debug-timeline .line:hover {
    background: #fafafa;
}

.debug-timeline .line .bar {
    position: absolute;
    height: 20px;
    top: 5px;
    background: #25848e;
}

.debug-timeline .line .label {
    position: absolute;
    right: 0;
    color: #fff;
    margin: 1px 10px 0 0;
    font-size: 15px;
}

@media (min-width: 992px) {
    body:not(.mobile) .header {
        left: 65px;
        width: calc(100% - 65px);
    }

    body:not(.mobile) .header.menu-is-visible {
        left: 285px;
        width: calc(100% - 285px);
    }

    body:not(.mobile) .header-breadcrumb ul li {
        display: flex;
        align-items: center;
    }

    body:not(.mobile) .user-toggle .username {
        display: block;
    }

    body:not(.mobile) .sidebar {
        left: 0 !important;
        width: 65px;
    }

    body:not(.mobile) .sidebar:hover {
        width: 225px;
    }

    body:not(.mobile) .module-menu {
        left: 65px !important;
    }

    body:not(.mobile) .page {
        margin-left: 65px;
    }

    body:not(.mobile) .page.menu-is-visible {
        margin-left: 285px;
    }

    body:not(.mobile) .module-menu-toggle {
        display: none;
    }
}

body.iframe .sidebar,
body.iframe .module-menu,
body.iframe .page-header {
    display: none;
}

body.iframe .page {
    margin-left: 0;
}

body.iframe .page-body {
    padding: 0;
}

body.iframe .header.menu-is-visible {
    left: 0;
    width: 100%;
}

body.iframe .page.menu-is-visible {
    margin-left: 0;
}

body.iframe .page-body > .content {
    padding: 0;
    height: calc(100vh - 85px);
}

body.iframe .page-body > .content {
    margin-top: 0;
}

/*********************************************************************************\
                                  Spinner
\*********************************************************************************/
.spinner {
    margin: 100px auto 100px;
    text-align: center;
}

.spinner > div {
    width: 18px;
    height: 18px;
    background-color: #333;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner div:nth-child(1) {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner div:nth-child(2) {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

.load-spinner {
    width: 50px;
    height: 50px;
    position: relative;
    animation: sk-chase 2.5s infinite linear both;
}

.load-spinner-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: sk-chase-dot 2.0s infinite ease-in-out both;
}

.load-spinner-dot:before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color: #333;
    border-radius: 100%;
    animation: sk-chase-dot-before 2.0s infinite ease-in-out both;
}

.load-spinner-dot:nth-child(1) {
    animation-delay: -1.1s;
}

.load-spinner-dot:nth-child(2) {
    animation-delay: -1.0s;
}

.load-spinner-dot:nth-child(3) {
    animation-delay: -0.9s;
}

.load-spinner-dot:nth-child(4) {
    animation-delay: -0.8s;
}

.load-spinner-dot:nth-child(5) {
    animation-delay: -0.7s;
}

.load-spinner-dot:nth-child(6) {
    animation-delay: -0.6s;
}

.load-spinner-dot:nth-child(1):before {
    animation-delay: -1.1s;
}

.load-spinner-dot:nth-child(2):before {
    animation-delay: -1.0s;
}

.load-spinner-dot:nth-child(3):before {
    animation-delay: -0.9s;
}

.load-spinner-dot:nth-child(4):before {
    animation-delay: -0.8s;
}

.load-spinner-dot:nth-child(5):before {
    animation-delay: -0.7s;
}

.load-spinner-dot:nth-child(6):before {
    animation-delay: -0.6s;
}

@keyframes sk-chase {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-chase-dot {
    80%, 100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-chase-dot-before {
    50% {
        transform: scale(0.4);
    }
    100%, 0% {
        transform: scale(1.0);
    }
}

@keyframes flip-suggest {
  0% {
    transform: rotateX(0deg);
  }
  50% {
    transform: rotateX(20deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}

.flip-container.horizontal.flip-suggest .flipper {
  animation: flip-suggest 1.2s cubic-bezier(0.4, 0.2, 0.2, 1) 1;
}
