* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 12px;
    font-family: sans-serif;
}

body {
    background: var(--color-background) !important;
    font-family: 'Fira Sans', sans-serif !important;
    line-height: normal !important;
    font-size: 12px !important;
    min-height: 100%;
}

body, html {
    height: 100%;
}

th a {
    display: block;
    font-weight: normal;
}

th a:hover, a:focus {
    text-decoration: none;
}

a {
    color: var(--color-link) !important;
    text-decoration: none !important;
}

p {
    margin: 0 !important;
}

dl {
    margin-bottom: 10px;
}

footer {
    color: #898e9f;
    font-size: 12px;
    padding: 50px 0 10px;
}

.editForm {
    margin-top: 10px;
}

html input[type="button"] {
    background: var(--color-white);
    color: var(--color-black);
    border: none;
    border-radius: 3px;
    padding: 3px 8px;
}


/* Dropdown-choice */
.dropdown130px {
    width: 130px;
    padding: 5px;
}

.dropdown100px {
    width: 100px;
    padding: 5px;
}

.dropdownTicket {
    width: 150px;
    height: 25px;
    padding: 5px;
}

.dropdownProduct {
    width: 150px;
    height: 30px;
    padding: 5px;
}

.dropdownRequestType {
    width: 230px;
    height: 25px;
    padding: 5px;
}

.dropDownPageNumberList {
    height: 25px;
    padding: 0 !important;
}

.mainPanel {
    width: 100%;
}

.containerMenu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header {
    padding: 8px 20px;
}

.paddedElements {
    padding: 0 20px;
}

.rightPaddedPanel {
    padding-right: 20px;
}

.navbar-brand {
    float: left;
    height: 60px;
    padding: 0;
    font-size: 18px;
    line-height: 60px;
}

#ajax-loader-mask {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 30000;
}


.wicket_orderUp::after {
    float: right;
    font-family: FontAwesome, serif;
    content: "\f0de";
}

.wicket_orderDown::after {
    float: right;
    font-family: FontAwesome, serif;
    content: "\f0dd";
}

.wicket_orderNone::before {
    float: right;
    font-family: FontAwesome, serif;
    content: "\f0dc";
}

.ticketDescription img {
    max-width: 100% !important;
    height: auto !important;
}

.ticketDescription table {
    max-width: 100%;
    width: auto;
}

/****************************************/
/* AutocompleteTextField */
/****************************************/
div.wicket-aa {
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.42);
    color: var(--color-black);
    border-radius: 5px;
}

div.wicket-aa ul {
    list-style: none outside none;
    margin: 0;
    padding: 5px;
    cursor: pointer;
}

div.wicket-aa ul li {
    overflow: hidden;
}

div.wicket-aa ul li.selected {
    background-color: #cccccc;
}

/****************************************/
/* Organisation générale  */
/****************************************/
.globalLinks {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px var(--color-border-global-link) solid;
    border-top: 1px var(--color-border-global-link) solid;
    padding: 0 20px;
    background-color: var(--color-global-link);

}

.globalLinks .link a {
    font-weight: bold;
    font-size: 14px;
    color: var(--color-span-global-link) !important;
    text-align: left;
    text-decoration: none;
    display: block;
    padding: 16px 8px;
    font-style: normal;
    background-color: var(--color-global-link);
    position: relative;
}

.globalLinks .badge {
    padding: 1px 5px;
}

.globalLinks .link a:hover {
    background-color: #0e5d87;
    color: white !important;
}

.globalLinks .link .clicked {
    background-color: var(--color-background-blue);
    color: white !important;
    border-left: 1px var(--color-border-global-link) solid;
    border-right: 1px var(--color-border-global-link) solid;
}

/* Lien dans le panneau administration */
.adminLinks {
    margin-left: 15px;
    list-style-type: none;
}

/* Elements du panneau d'administration */
.adminContainer {
    display: flex;
}

li.feedbackPanelERROR {
    color: red;
    min-height: 16px;
    margin: 0;
    padding-bottom: 5px;
    text-decoration: none !important;
}

input[type="checkbox"] {
    margin: 0 !important;
    line-height: normal;
    background: red;
}

.userSearch {
    font-weight: normal;
    margin-left: 20px;
}

#numberOfNewMessage {
    font-weight: bold;
    color: red;
}

#exportLink {
    font-weight: bold;
    margin-top: 5px;
}

.form-control {
    font-size: 12px;
}

#selectProduct {
    text-align: center;
    margin: 20px 0;
    color: #1b6d85;
    font-size: 15px;
}

.commentArea {
    min-width: 450px;
    max-width: 550px;
    min-height: 100px;
    max-height: 150px;
}

.messageNotification {
    font-size: 1.25em;
    line-height: normal;
}

.loginButton {
    background: #04AA6D;
    outline: none;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    border: none;
    margin-top: 10px;
}

.loginButton:hover, .loginButton:focus {
    outline: none;
    transition-duration: 0.5s;
    background-color: #0f6532;
}

.buttonIgnore {
    display: flex;
    height: 32px;
    padding: 0 8px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    border-radius: 8px;
    background-color: #f44336;
}

.buttonIgnore:hover, .buttonIgnore:focus {
    outline: none;
    transition-duration: 0.5s;
    background-color: #d32f2f;
}

.buttonContinue {
    display: flex;
    height: 32px;
    padding: 0 8px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    border-radius: 8px;
    background-color: #04AA6D;
}

.buttonContinue:hover, .buttonContinue:focus {
    outline: none;
    transition-duration: 0.5s;
    background-color: #3c763d;
}


.forgottenPassword {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 200px;
    margin-left: 10px;
}

/*Modal Window */

/* General */
div.wicket-modal {
    padding: 8px;
    align-items: flex-start;
    gap: 30px;

    border-radius: 8px;
    background: var(--color-white);

    box-shadow: 0 82px 23px 0 rgba(0, 0, 0, 0.00),
    0 53px 21px 0 rgba(0, 0, 0, 0.01),
    0 30px 18px 0 rgba(0, 0, 0, 0.05),
    0 13px 13px 0 rgba(0, 0, 0, 0.09),
    0 3px 7px 0 rgba(0, 0, 0, 0.10);
}

div.wicket-modal div.w_top_1 {
    height: 0 !important;
}


/* Title */
div.wicket-modal div.w_caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    height: auto !important;
    font-family: sans-serif;
    font-weight: normal;
    background: var(--color-white) !important;
    color: var(--color-black) !important;
}

div.wicket-modal h3.w_captionText {
    height: unset !important;
    position: unset !important;
    margin-left: 0 !important;
    font-size: 20px;
}

div.wicket-modal a.w_close {
    height: 16px;
    width: 16px;
    position: relative;
    background-image: url("../../img/close.svg");
    background-size: cover;
    background-position: unset;
    background-repeat: no-repeat;
    transition: transform 0.2s ease-in-out;
    z-index: 10;
}


div.wicket-modal a.w_close:hover {
    transform: scale(1.1);
    background-size: cover;
    background-position: unset;
    height: calc(16px * 1.1);
    width: calc(16px * 1.1);
    z-index: 10;
}

/* Content */
div.wicket-modal div.w_content_1 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

div.wicket-modal div.w_content {
    background: none !important;
}

div.wicket-modal div.w_content_2 {
    background: none !important;
    padding-top: 0 !important;
}

div.wicket-modal div.w_content_3 {
    border: none !important;
}


.deleteTicketForm .displayFlex {
    text-align: center;
}

/***************************************/
/* Barres en haut et en bas */
/****************************************/

.notification_navbar {
    color: #000000;
    background-color: #fff;
    border-bottom: transparent 2px solid;
    display: flex;
    align-items: center;
}

/* En-tête */
.navbarLink {
    color: white;
    background-color: var(--color-background-blue);
    border-bottom: transparent 2px solid;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.headerLeft {
    margin-right: auto;
    width: 40%;
    float: left;
    padding: 10px;
}

.headerRight {
    margin-left: auto;
    width: 40%;
    float: right;
    padding: 10px;
}

.headerUser {
    padding-left: 10px;
    font-size: 14px;
    bottom: 15px;
}

.headerLastConnexion {
    padding-left: 10px;
    bottom: 5px;
    font-style: italic;
    font-size: 11px;
}

.headerSupport {
    bottom: 5px;
    font-size: 18px;
    width: 20%;
    padding: 10px;
    text-align: center;
}

.headerRight {
    padding-top: 5px;
    padding-right: 5px;
}

.headerRight button {
    float: right;
}

/* Link for redirection */
.adminContainer .adminLink a {
    border-bottom: 1px solid #d5d5d5;
    color: var(--color-span-global-link) !important;
    text-align: left;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    padding: 15px 15px 15px 15px;
    margin: 0;
    font-style: normal;
    background-color: var(--color-global-link);
    position: relative;
}

.adminContainer .adminLink a:hover {
    background-color: var(--color-global-link-hover);
    color: white !important;
}

.adminContainer .adminLink .clickedLink {
    background-color: var(--color-background-blue);
    color: white !important;
}

.clickedLink {
    font-weight: bold;
}


.toolbar {
    display: flex;
    margin-bottom: 10px;
}

/* Filters */
.filters {
    width: 600px;
}

.filter {
    width: auto;
    padding: 5px;
}

.userFilter {
    width: 160px;
    height: 28px;
    padding: 5px;
    overflow: auto;
}

.numberFilter {
    width: 100px;
    height: 34px;
    padding: 5px;
}

.keywords {
    width: 100px;
    height: 34px;
    padding: 5px;
}


/* Ensemble tableau + détails */
.tableAndView {
    display: flex;
    padding-bottom: 0;
}

.tableAndViewElt {
    margin-right: 15px;
}

.answerWaiting {
    font-style: italic;
    font-size: 11px;
    color: blue;
}

/****************************************/
/* Détails des tickets */
/****************************************/
/* Vue détaillée des tickets */
.smallViewPanel .historyGridInformationSize {
    grid-template-columns: 4fr 2fr;
}

.bigViewPanel .historyGridInformationSize {
    grid-template-columns: 5fr 1fr;
}

.modification {
    background-color: var(--color-modification);
    font-weight: bold;
    padding-right: 5px;
    padding-left: 5px;
}

.internalMessage {
    background-color: var(--color-internalMessage);
    padding-right: 5px;
    padding-left: 5px;
}

.date {
    margin-right: 5px;
}

.name {
    margin-left: 5px;
    margin-right: 5px;
}

.generalInfo {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: var(--color-black) solid 1px;
}

/* Objet dans la vue détaillée des tickets */
.object {
    word-wrap: break-word;
}

/* Objet dans la vue détaillée des tickets */
.youTrack {
    width: 100px;
    word-wrap: break-word;
    float: left;
}

.serverLabel {
    margin-left: 40px;
    margin-right: 10px;
}


/****************************************/
/* Détails des serveurs */
/****************************************/
.requestTypeDetails {
    width: 400px;
    height: 100px;
    padding: 5px 15px;
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-gray-border);
    box-shadow: 0 5px 5px var(--box-shadow-color), 0 0 10px var(--box-shadow-color);

}

.requestTypeDetails .displayFlex dt {
    width: 120px;
}

/****************************************/
/* Edition des tickets */
/****************************************/
.editForm .displayFlex {
    margin-bottom: 10px;
}

.editForm .displayFlex dt {
    width: 120px;
}

.editForm .object {
    width: 450px;
}

.star {
    font-size: 3em;
    unicode-bidi: bidi-override;
    direction: rtl;
    text-align: center;
    position: relative;
}

.clear {
    float: none;
    clear: both;
}

.star > label {
    display: inline;
    padding: 0;
    margin: 0;
    position: relative;
    width: 1.1em;
    cursor: pointer;
    color: #000;
}

.star > label:hover,
.star > label:hover ~ label,
.star > input.radio-btn:checked ~ label {
    color: transparent;
}

.star > label:hover:before,
.star > label:hover ~ label:before,
.star > input.radio-btn:checked ~ label:before {
    content: "\2605";
    position: absolute;
    left: 0;
    color: #0e5d87;
}

/****************************************/
/* Safe Popup */
/****************************************/
.removeForm {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.question {
    padding: 20px;
    font-size: 15px;
}

.wrapper {
    display: flex;
}

.wrapper > dd {
    padding: 5px;
}

.emailsArea {
    height: 5em;
    width: 25em;
    margin-bottom: 20px;
}

.wysiwyg-container .wysiwyg-editor {
    background-color: var(--color-white);
    color: var(--color-black);
    height: 340px;
    max-height: 500px;
    margin-bottom: 10px;
}

.wysiwyg-container .wysiwyg-editor img {
    max-width: 700px;
}

.wysiwyg-container .wysiwyg-editor blockquote {
    font-size: 12px;
}


/* Form ai search */

.iaSearch {
    width: 40vw;
    height: 2.6em;
    font-size: 13px;
}

.docDetails {
    height: 500px;
    border: #44c1c4 solid 1px;
    padding: 5px 5px 5px 15px;
    margin-bottom: 60px;
    overflow: auto;
    background-color: var(--color-white);
    color: var(--color-black);
}

.docDetails .displayFlex dt {
    width: 100px;
}

.docDetails .commentDoc {
    max-height: 250px;
    overflow: auto;
}

.youtrackDetails {
    padding: 5px;
}

.youtrackDetails .details {
    display: table;
}

.youtrackDetails .label {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #474747;
    font-size: 12px;
    font-style: normal;
    text-transform: capitalize;
    display: inline-block;
    width: 100px;
    text-align: right;
    margin-top: 10px;
    text-decoration: underline;
}

.youtrackDetails .value {
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    font-size: 12px;
    font-style: italic;
    flex-direction: column; /* direction d'affichage verticale */
    display: inline-table;
    margin: 10px auto auto;
}

.youtrackDetails .summary {
    font-weight: bold;
    font-size: 16px;
}

.youtrackDetails .number {
    font-size: 16px;
}

.youtrackDetails .description {
    padding: 10px;
    margin: 10px;
    display: table-row;
}

.youtrackDetails .leftDetails {
    padding: 5px;
    float: left;
    width: 75%;
    border: 1px solid #5e5e5e;
    background-color: #ececec;
}

.youtrackDetails .rightDetails {
    padding: 5px;
    float: right;
    width: 25%;
}

.youtrackDetails .actions {
    margin: 10px;
    float: right;
}

.ticket .view_top,
.ticket .view_body {
    width: 100%;
    display: table;
}

.ticket .view_top .right,
.ticket .view_top .left {
    width: 600px;
}

.ticket .view_body .left,
.ticket .view_body .right,
.ticket .view_top .right,
.ticket .view_top .left {
    display: table-cell;
    vertical-align: top;
}

.document li {
    list-style-type: none;
    font-size: 15px;
    margin-bottom: 10px;
}

.document li:before {
    content: '- ';
}

.releaseNoteTable {
    display: table-cell;
    height: 450px;
    width: 850px;
    vertical-align: top;
}

.releaseNoteTable table.dataTable {
    width: 100%;
    border-bottom: none;
}

.attachments {
    margin-bottom: 10px;
}

.colCheckbox {
    width: 40px;
    text-align: center;
}

.box .wysiwyg-editor {
    color: var(--color-black);
    background: var(--color-white);
    border-radius: 5px;
    padding: 5px;
    max-height: 200px;
    min-height: 100px;
    overflow: auto;
    border-collapse: separate;
    border: solid 1px var(--color-black);
    box-sizing: content-box;
    height: auto;
    cursor: text;
}

.boxWysiwyg .wysiwyg-editor {
    background-color: var(--color-white);
    color: var(--color-black);
    max-height: 200px;
    height: 200px;
    overflow: auto;
    cursor: text;
}

.wysiwyg-editor[contenteditable="false"] {
    background: #eeeeee;
    cursor: not-allowed;
}

.wysiwygTicket .wysiwyg-editor {
    background-color: var(--color-white);
    color: var(--color-black);
    overflow: auto;
    cursor: text;
}

.ticketWysiwyg .wysiwyg-editor {
    background-color: var(--color-white);
    color: var(--color-black);
    max-height: 180px;
    min-height: 180px;
    overflow: auto;
    cursor: text;
}


.colEmail {
    width: 400px;
}

.storageClientPanelRow {
    background-color: rgb(135, 206, 235, 0.5);
    border-radius: 3px;
}

.errorMessage {
    color: red;
    font-size: 13px;
}

.information {
    margin-top: 10px;
    margin-bottom: 10px;
}

.font14px input {
    border-radius: 7px;
    border: solid 1px #000000;
    background-color: grey;
    color: whitesmoke;
}

.detailsViewPanel .information .description {
    word-wrap: break-word;
    height: auto;
}

.detailsViewPanel .information .overflowHidden {
    overflow: auto;
}

.detailsViewPanel .information .overflowNone {
    overflow: hidden;
}

/* TODO A revoir ça */
.bodyViewPanel {
    border-radius: 4px;
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-gray-border);
    box-shadow: 0 5px 5px var(--box-shadow-color), 0 0 10px var(--box-shadow-color);

}

.borderBox {
    padding: 5px;
    border-collapse: separate;
    border: solid 1px #696969;
    border-radius: 5px;
    overflow: auto;
}

.youtrackRequirement {
    justify-content: space-between;
    font-size: 15px;
}


.tagList {
    padding: 5px 10px;
}

.tags-list {
    margin-top: 10px;
    margin-bottom: 10px;
}

.boxTranslate .wysiwyg-editor {
    max-height: 150px;
    height: 150px;
    overflow: auto;
    border: solid 1px grey;
    border-radius: 3px;
    margin-bottom: 0;
    cursor: text;
    background: var(--color-white);
    color: var(--color-black);
}

.radio label {
    color: var(--color-black) !important;
}

.imgConsole {
    width: 100vh;
    margin: auto;
}

.box {
    width: 100%;
}

.buttonSize {
    margin-left: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.searchBarWidth220px {
    width: 220px;
    height: 34px;
    padding: 5px;
    overflow: auto;
}

.searchBar {
    width: 160px;
    height: 34px;
    padding: 5px;
    overflow: auto;
    background-color: var(--color-white);
    color: var(--color-black);
    border-radius: 3px;
    border: solid 1px var(--color-black);
}

.inputSize {
    background-color: var(--color-white);
    color: var(--color-black);
    border: solid 1px grey;
    border-radius: 3px;
    padding: 4px;
    font-size: 14px;
    font-style: normal;
    margin-top: 2px;
    height: 30px !important;
    line-height: 1.42857143;
    opacity: 1;
}

.inputSize[disabled] {
    background-color: #eee;
    cursor: not-allowed;
}


.width50 .wicket-mfu-container {
    max-height: 125px;
    height: 125px;
}

.wicket-mfu-container {
    overflow-y: auto;
    max-height: 150px;
    height: 150px;
}

input[type="file"] {
    color: var(--color-black);
}

.wicket-mfu-caption {
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--color-black);
}

.wicket-mfu-container tr {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2px;
    border-bottom: solid 1px rgba(220, 220, 220, 0.8);
}

.wicket-mfu-container tr td {
    max-width: 350px;
    word-wrap: break-word;
    padding-right: 0 !important;
    color: var(--color-black);
}

.selectNone {
    text-align: center;
    appearance: none;
    background-color: transparent;
    border: none;
    margin: 0;
    width: 35px;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    line-height: inherit;
    outline: none;
    color: #337ab7;
    font-weight: 0;
}

.login {
    margin: auto;
}

.login form ul.feedbackPanel {
    padding: 0;
    margin: 0;
}

.login form li.feedbackPanelERROR {
    list-style-type: none;
    background: rgba(245, 108, 108, 1);
    width: 100%;
    display: block;
    padding: 10px;
    color: #fff;
    box-sizing: border-box;
    font-size: 14px;
    margin-top: -5px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-animation: tooltipAnimation 0.3s 1;
    animation: tooltipAnimation 0.3s 1;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.login form .boxLogin {
    background: #fff;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .13);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .13);
}

.feedbackPanelINFOSignIn ul {
    list-style-type: none !important;
    margin-top: 20px !important;
    padding-left: 0 !important;
    text-align: center !important;
}

.error-message {
    background: rgba(245, 108, 108, 1);
    width: 100%;
    display: block;
    padding: 10px;
    color: #fff;
    box-sizing: border-box;
    font-size: 14px;
    margin-top: -5px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-animation: tooltipAnimation 0.3s 1;
    animation: tooltipAnimation 0.3s 1;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.notificationContainer {
    position: absolute;
    display: block;
    opacity: 1;
    color: #fff;
    border-radius: 4px;
    padding: 4px 8px;
    border-width: 1px;
    border-style: solid;
    box-sizing: border-box;
    outline: 0;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.42857143;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.buttonImportant {
    padding: 6px 12px !important;
    background-image: none !important;
    line-height: 1;
}


/* Button */
.buttonClass {
    display: flex;
    align-items: center;
    font-size: 14px;
    height: 30px;
    padding: 0 10px;
    color: #ffffff;
    cursor: pointer;
    line-height: unset;
    -moz-user-select: none;
    user-select: none;
    touch-action: manipulation;
    border: solid 1px transparent;
    border-radius: 8px;
}

.buttonClass[disabled], .buttonIcon[disabled] {
    cursor: not-allowed;
    opacity: 0.45;
}

.buttonClassAvatar {
    display: flex;
    align-items: center;
    font-size: 14px;
    height: 30px;
    cursor: pointer;
    line-height: unset;
    -moz-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.buttonClass:focus {
    outline: 5px auto -webkit-focus-ring-color;
}

/* Button Primary */
.buttonPrimary {
    text-shadow: var(--text-shadow-button);
    background-color: var(--button-primary-color);
}

.buttonPrimary:hover, .buttonPrimary:focus .buttonPrimary:active {
    background-color: var(--button-primary-color-hover);
}

.buttonPrimary:active:hover {
    background-color: var(--button-primary-color-active-hover);
}


/* Button Info */
.buttonInfo {
    text-shadow: var(--text-shadow-button);
    background-color: var(--button-info-color);
}

.buttonInfo:hover, .buttonInfo:focus, .buttonInfo:active {
    background-color: var(--button-info-color-hover);
}

.buttonInfo:active:hover {
    background-color: var(--button-info-color-active-hover);
}


/* Button Success */
.buttonSuccess {
    text-shadow: var(--text-shadow-button);
    background-color: var(--button-success-color);
}

.buttonSuccess:hover, .buttonSuccess:focus .buttonSuccess:active {
    background-color: var(--button-success-color-hover);
}

.buttonSuccess:active:hover {
    background-color: var(--button-success-color-active-hover);
}

/* Button Success Dark*/
.buttonSuccessDark {
    text-shadow: var(--text-shadow-button);
    background-color: var(--button-success-dark-color);
}

.buttonSuccessDark:hover, .buttonSuccessDark:focus .buttonSuccessDark:active {
    background-color: var(--button-success-dark-color-hover);
}

.buttonSuccessDark:active:hover {
    background-color: var(--button-success-dark-color-active-hover);
}

/* Button Warning */
.buttonWarning {
    text-shadow: var(--text-shadow-button);
    background-color: var(--button-warning-color);
}

.buttonWarning:hover, .buttonWarning:focus .buttonWarning:active {
    background-color: var(--button-warning-color-hover);
}

.buttonWarning:active:hover {
    background-color: var(--button-warning-color-active-hover);
}


/* Button Danger */
.buttonDanger {
    text-shadow: var(--text-shadow-button);
    background-color: var(--button-danger-color);
}

.buttonDanger:hover, .buttonDanger:focus .buttonDanger:active {
    background-color: var(--button-danger-color-hover);
}

.buttonDanger:active:hover {
    background-color: var(--button-danger-color-active-hover);
}

/* Button transparent */
.buttonTransparent {
    text-shadow: var(--text-shadow-button);
    background-color: transparent;
    color: white;
}

.buttonTransparent:hover, .buttonTransparent:focus .buttonTransparent:active {
    color: var(--color-always-light-blue);
}

.buttonTransparent:active:hover {
    color: var(--color-always-light-blue);
}


/* Button Icon */
.buttonIcon {
    padding: 2px;
    border: none;
    outline: none;
    cursor: pointer;
    line-height: unset;
    -moz-user-select: none;
    user-select: none;
    touch-action: manipulation;
    background: none;
    height: 24px;
}

.buttonIconsWithoutPadding {
    padding: 0;
!important;
}

.iconPrimary {
    color: var(--button-primary-color);
}

.iconPrimary:hover, .iconPrimary:focus .iconPrimary:active {
    color: var(--button-primary-color-hover);
}

.iconPrimary:active:hover {
    color: var(--button-primary-color-active-hover);
}

.iconInfo {
    color: var(--button-info-color) !important;
}

.iconInfo:hover, .iconInfo:focus .iconInfo:active {
    color: var(--button-info-color-hover);
}

.iconInfo:active:hover {
    color: var(--button-info-color-active-hover);
}

.iconSuccess {
    color: var(--button-success-color);
}

.iconSuccess:hover, .iconSuccess:focus .iconSuccess:active {
    color: var(--button-success-color-hover);
}

.iconSuccess:active:hover {
    color: var(--button-success-color-active-hover);
}

.iconWarning {
    color: var(--button-warning-color);
}

.iconWarning:hover, .iconWarning:focus .iconWarning:active {
    color: var(--button-warning-color-hover);
}

.iconWarning:active:hover {
    color: var(--button-warning-color-active-hover);
}

.iconDanger {
    color: var(--button-danger-color) !important;
}

.iconDanger:hover, .iconDanger:focus .iconDanger:active {
    color: var(--button-danger-color-hover) !important;
}

.iconDanger:active:hover {
    color: var(--button-danger-color-active-hover) !important;
}

.iconLight, .iconLightDanger {
    transition: color 0.1s;
    color: white;
}

.iconLight:hover {
    color: var(--color-always-light-blue);
    transition: color 0.1s;
}

.iconLightDanger:hover, .iconDanger:focus .iconDanger:active {
    color: var(--button-danger-color-hover) !important;
    transition: color 0.1s;
}


/* Toggle Switch */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 21px;
    margin-top: 5px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-switch-background);
    border: solid 1px var(--color-switch-border);
    -webkit-transition: .4s;
    transition: .4s;
}

.switch input[disabled] + .slider {
    cursor: not-allowed;
    opacity: 0.45;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}


/* Input form */
.inputBox {
    position: relative;
    width: 100%;
}

.inputBox input,
.inputBox textarea,
.inputBox select {
    padding: 12px 10px;
    outline: none;
    background: var(--color-white);
    border-radius: 5px;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    font-size: 1em;
    width: 100%;
}

.inputBox select {
    cursor: pointer;
    padding: 11px 5px;
}

.inputBox span {
    position: absolute;
    left: 0;
    padding: 13px 10px;
    pointer-events: none;
    font-size: 1em;
    transition: 0.3s;
    color: var(--color-black);
}


.inputBox input:focus ~ span,
.inputBox input:valid ~ span,
.inputBox textarea:focus ~ span,
.inputBox textarea:valid ~ span,
.inputBox select ~ span {
    font-size: 0.9em;
    transform: translateX(9px) translateY(-7.5px);
    padding: 0 5px;
    border-radius: 2px;
    background: var(--color-white);
}


/* Disabled */
.inputBox input[disabled],
.inputBox select[disabled],
.inputBox textarea[disabled] {
    background-color: var(--color-disabled) !important;
    cursor: not-allowed;
}


.inputBox input[disabled] ~ span,
.inputBox select[disabled] ~ span,
.inputBox textarea[disabled] ~ span {
    background: var(--color-disabled);
    border: 1px solid var(--color-disabled);
    font-size: 0.9em;
    transform: translateX(9px) translateY(-7.5px);
    padding: 0 5px;
    border-radius: 4px;
}


.input {
    position: relative;
    /* Utile lorsque input__field est disabled */
    background-color: var(--color-disabled);
    border-radius: 4px;
}

.input__label {
    position: absolute;
    left: 0;
    top: 0;
    padding: calc(.5rem * 0.75) calc(.5rem * .5);
    margin: calc(.5rem * 0.75 + 3px) calc(.5rem * .5);
    white-space: nowrap;
    transform: translate(0, 0);
    transform-origin: 0 0;
    background: var(--color-white);
    color: var(--color-black);
    border-radius: 10px;
    transition: transform 120ms ease-in;
    font-weight: 550;
    font-size: 13px;
}

.input__field {
    display: block;
    width: 100%;
    border: 1px solid var(--color-black);
    padding: calc(.5rem * 1.5) .5rem;
    height: 40px;
    border-radius: 4px;
    background-color: var(--color-white);
    color: var(--color-black);
}

.input__field[disabled] {
    background-color: var(--color-disabled) !important;
    cursor: not-allowed;
    color: black;
}

.input__field[disabled] + .input__label {
    background-color: var(--color-disabled) !important;
}

input::placeholder {
    color: var(--color-black);
    opacity: 0.3;
}

.inputCbx {
    border: 1px solid #8e8f92;
    background: var(--color-white) !important;
}

.inputCbx:checked {
    border-color: transparent;
    background: #6871f1;
}

/* Checkbox */
.cbx {
    position: relative;
    top: 2px;
    width: 16px;
    height: 16px;
    border: 1px solid #8e8f92;
    border-radius: 3px;
    vertical-align: middle;
    transition: background 0.1s ease;
    cursor: pointer;
    display: block;
    margin-bottom: 0;
    font-weight: unset;
    background: var(--color-white);
}


.cbx:after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 5px;
    height: 10px;
    opacity: 0;
    transform: rotate(45deg) scale(0);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transition: all 0.3s ease;
    transition-delay: 0.15s;
}

.checkBox:checked ~ .cbx {
    border-color: transparent;
    background: #6871f1;
    animation: jelly 0.6s ease;
}

.blackCheckBox:checked ~ .cbx {
    border-color: transparent;
    background: var(--color-black);
    animation: jelly 0.6s ease;
}

.greenCheckBox:checked ~ .cbx {
    border-color: transparent;
    background: var(--color-green);
    animation: jelly 0.6s ease;
}

.orangeCheckBox:checked ~ .cbx {
    border-color: transparent;
    background: var(--color-orange);
    animation: jelly 0.6s ease;
}

.redCheckBox:checked ~ .cbx {
    border-color: transparent;
    background: var(--color-red);
    animation: jelly 0.6s ease;
}

input[type="checkbox"]:disabled ~ .cbx {
    cursor: not-allowed;
    background: var(--color-disabled);
}

.checkBox:checked ~ .cbx:after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.checkBoxRelative {
    position: relative;
}

.hidden-xs-up {
    display: none !important;
}

/* Loader */
.svg {
    width: 3.25em;
    transform-origin: center;
    animation: rotate4 2s linear infinite;
}

.circle {
    fill: none;
    stroke: var(--button-loading);
    stroke-width: 2;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash4 1.5s ease-in-out infinite;
}


/* Dark mode */
.btn-group > .btn {
    background: var(--color-light-gray);
}

input, textarea, select {
    color: var(--color-black) !important;
    background-color: var(--color-white) !important;
}


.switchColor {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 40px;
    height: 23px;
}

.switchColor .inputColor {
    opacity: 0;
    width: 0;
    height: 0;
}

.sliderColor {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3c8ac6;
    transition: .4s;
    border-radius: 30px;
}

.sliderColor:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    border-radius: 20px;
    left: 3px;
    bottom: 3px;
    z-index: 2;
    background-color: #e8e8e8;
    transition: .4s;
}

.sun svg {
    position: absolute;
    top: 3px;
    left: 22px;
    z-index: 1;
    width: 16px;
    height: 16px;
    animation: rotate 15s linear infinite;
}

.moon svg {
    fill: #73C0FC;
    position: absolute;
    top: 3px;
    left: 2px;
    z-index: 1;
    width: 16px;
    height: 16px;
    animation: tilt 5s linear infinite;

}

.inputColor:checked + .sliderColor {
    background-color: #183153;
}

.inputColor:focus + .sliderColor {
    box-shadow: 0 0 1px #183153;
}

.inputColor:checked + .sliderColor:before {
    transform: translateX(18px);
}

.centeredItems {
    display: flex;
    justify-content: center;
    align-items: center;
}

.adminPanel {
    height: 100%;
    overflow: hidden;
}

.adminForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
}

.paginationLink {
    color: var(--color-black) !important;
    text-decoration: none !important;
    display: flex;
    width: 20px;
    height: 20px;
    padding: 0 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.paginationLink:hover {
    background-color: var(--color-background-blue-hover) !important;
    color: var(--color-white) !important;
    transition: 0.3s;
}

.paginationSvg {
    display: flex;
    width: 24px;
    height: 24px;
    padding-top: 2px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.paginationSvg:hover {
    background-color: var(--color-background-blue) !important;
    transition: 0.3s;
}

.paginationSvg svg {
    color: var(--color-black) !important;
    text-decoration: none !important;
}

.paginationSvg:hover .svgButton {
    stroke: var(--color-white);
    transition: 0.3s;
}

.currentPage {
    background-color: var(--color-background-blue) !important;
    color: var(--color-white) !important;
    display: flex;
    width: 20px;
    height: 20px;
    padding: 0 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.svgButton {
    stroke: var(--color-black);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Drag and drop */
#dropContainer {
    box-sizing: border-box;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#dropAppearance {
    display: flex;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
    position: absolute;
    z-index: 10;
}

#dropAppearance p {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 2em;
    color: #797979;
}

.dragover {
    border-color: #000;
}

#dropZone {
    width: 300px;
    height: 200px;
    border: 2px dashed #ccc;
    border-radius: 5px;
    text-align: center;
    line-height: 200px;
    font-size: 16px;
    color: #aaa;
    margin: 20px auto;
}

/* Attachments in drag and drop panel */
.attachmentsContainer {
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
}

.imageListViewBig{
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
    width: 100%;
}

.littleImage {
    width: 90px;
    height: 60px;
    padding: 0;
    object-fit: cover;
    object-position: top left;
}

.bigImageListView {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: top left;
}

.bigImage {
    width: 98%;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: absolute;
    z-index: 10;
}

.bigImage img {
    transition: transform 0.3s ease;
}

.zoomIn {
    width: 100%;
    transition: transform 0.3s ease;
    cursor: zoom-out;
}

.zoomOut {
    width: 85%;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

/* div editable */
.editable {
    position: relative;
    padding: 12px 10px;
    outline: none;
    background: var(--color-white);
    border-radius: 5px;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    font-size: 1em;
    width: 100%;
}

.editable div:focus,
.editable div:valid {
    font-size: 0.9em;
    transform: translateX(9px) translateY(-7.5px);
    padding: 0 5px;
    border-radius: 2px;
    background: var(--color-white);
}


/* Disabled */
.editable div[disabled] {
    background-color: var(--color-disabled) !important;
    cursor: not-allowed;
}