/*-------------------------------------------------------------------
*	Primary CSS file
* -----------------------------------------------------------------*/
@import "fontawesome/css/all.css";
@import "icomoon/icomoon.css";

:root {

    /* couleurs mezzoteam */
    --dark-gray : 58, 72, 86;
    --light-gray : 145, 148, 153;
    --blue: 35, 165, 200;
    --primary-blue: 0, 83, 120; /* bleu fédérateur*/
    --slate-blue: 58, 72, 86;
    --yellow : 240, 240, 110;
    --background: 250, 250, 250;

    --red: 220, 53, 69;
    --green: 75, 255, 110;
    --success-green: 76, 175, 80;
    --warm-beige : 255, 200, 162;
    --purple: 176, 54, 204;
    --orange: 242, 140, 29;

    --border-radius-small: 3px;
    --border-radius-medium: 5px;
    --border-radius-large: 8px;
    --border-radius-x-large: 10px;

    --btn-border-radius: var(--border-radius-medium);

    --font-family-primary : "Roboto", sans-serif;
    /*--background-color: 245, 245, 245;*/

    --font-color-dark : var(--dark-gray);
    --font-color-light: var(--light-gray);

    --font-size-xx-small : 8px;
    --font-size-x-small : 10px;
    --font-size-small : 12px;
    --font-size-medium : 14px;
    --font-size-large : 16px;
    --font-size-x-large : 18px;
    --font-size-xx-large : 20px;
    --font-size-xxx-large : 24px;

    --font-weight-thin : 100;
    --font-weight-light : 300;
    --font-weight-regular : 400;
    --font-weight-medium : 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;

    --ui-btn-transition: 0.15s;

    --box-shadow-medium: 0px 2px 10px 0px rgba(0,0,0,0.07);
    --box-shadow-bold: 0px 2px 10px 0px rgba(0,0,0,0.1);
    --box-shadow-heavy: 0px 2px 10px 0px rgba(0,0,0,0.13);
}

body, html {
    background-color: rgb(var(--background));
    margin: 0;
    padding: 0;
}

select {
    background-color: white;
}

a:has(.icomoon) {
    text-decoration: inherit;
}

a {
    color: inherit;
}

textarea, input[type="text"], select {
    border-radius: 3px !important;
}

select option {
    color: black !important;
}

.ui-loader {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: white;
    --_m:
            conic-gradient(#0000 10%,#000),
            linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}

#message_wait {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;

    color: white;
    font-size: var(--font-size-large);
    font-weight: var(--font-weight-semibold);
}

button {
    font-family: var(--font-family-primary);
}

.ui-btn {
    font-family: "Roboto", Sans-Serif;

    border: none;
    border-radius: var(--btn-border-radius);
    padding: 8px 20px;
    font-size: var(--font-size-medium);

    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: var(--ui-btn-transition);
}

.ui-btn[disabled]{
    opacity: 0.5;
    cursor: not-allowed;
}

.ui-btn>p {
    margin: 0;
}

.btn-small {
    padding: 5px 10px;
    font-size: var(--font-size-small);
    gap: 6px;
}

.btn-medium {
    padding: 8px 20px;
    font-size: var(--font-size-medium);
    gap: 8px;
}

.btn-large {
    padding: 10px 26px;
    font-size: var(--font-size-large);
    gap: 10px;
}

.ui-btn:hover:not([disabled]) {
    cursor: pointer;
}

.btn-dark {
    --btn-color: var(--dark-gray);
}

.btn-light {
    --btn-color: var(--light-gray);
}

.btn-blue {
    --btn-color: var(--blue);
}

.btn-primary-blue {
    --btn-color: var(--primary-blue);
}

.btn-red {
    --btn-color: var(--red);
}

.btn-green {
    --btn-color: var(--green);
}

.btn-orange {
    --btn-color: var(--orange);
}

.btn-purple {
    --btn-color: var(--purple);

}

.btn-primary {
    color: white;
    background-color: rgb(var(--btn-color), 1);
}

.btn-primary:hover:not([disabled]) {
    color: white;
    filter: brightness(115%);
}

.btn-secondary {
    color: rgb(var(--btn-color), 1);
    background-color: transparent;
}

.btn-secondary:hover:not([disabled]) {
    color: rgb(var(--btn-color), 1);
    background-color: rgb(var(--btn-color), 0.1);
}

.btn-subtle {
    color: rgb(var(--btn-color), 1);
    background-color: rgb(var(--btn-color), 0.1);
}

.btn-subtle:hover:not([disabled]) {
    color: white;
    background-color: rgb(var(--btn-color), 1);
}

.btn-outline {
    color: rgb(var(--btn-color), 1);
    background-color: transparent;
    border: 1.5px solid rgb(var(--btn-color), 1);
}

.btn-outline:hover:not([disabled]) {
    color: white;
    background-color: rgb(var(--btn-color), 1);
    border: 1.5px solid rgb(var(--btn-color), 1);
}

.btn-tab {
    border-radius: 0;
    color: rgb(var(--dark-gray), 1);
    background-color: transparent;
    border-bottom: 2px solid rgba(255, 255, 255, 0);
}

.btn-tab:hover:not([disabled]) {
    color: rgb(var(--btn-color), 1);
}

.btn-tab[selected] {
    border-radius: 0;
    color: rgb(var(--btn-color), 1);
    background-color: transparent;
    border-bottom: 2.5px solid rgb(var(--btn-color), 1);
}

.btn-discreet {
    color: rgb(var(--btn-color), 1);
    background-color: rgb(var(--btn-color), 0.1);
}

.btn-discreet:hover:not([disabled]) {
    color: rgb(var(--btn-color), 0.9);
    background-color: rgb(var(--btn-color), 0.05);
}

.btn-chart {
    font-size: 18px;
    color: white;
    background-color: rgb(var(--primary-blue));
    padding: 10px;
    border-radius: var(--border-radius-large);
}

.btn-chart:hover {
    cursor: pointer;
}

.notification-info {
    text-align:center;
    display:inline-block;
    position: relative;
    margin-bottom: 5px;
    border-radius: var(--border-radius-medium);
    padding: 12px 24px;
    color: rgb(var(--slate-blue));
    font-size: var(--font-size-small);
    box-shadow: var(--box-shadow-heavy);
    -webkit-box-shadow: var(--box-shadow-bold);
    background-color: white;
}

.notification-info::before {
    content: "\ed64";
    font-family: "icomoon";
    color: rgb(var(--primary-blue));
    margin-right: 5px;
}

.ui-dialog fieldset, .ui-dialog .formContenu, .ui-dialog .noselection1, .ui-dialog .noselection2, .ui-dialog .ongletContenu, .ui-dialog .ui-tabs {
    background-color: transparent;
    border: none;
}

.ui-dialog .ui-tabs .onglets2 li,.ui-dialog .onglets1 li, .ui-dialog .ongletSelect, .ui-dialog .ongletNonSelect {
    background-color: transparent;
}

@font-face {
    font-family: 'Roboto';
    src: url('/includes/javascript/font/roboto/Roboto-Thin.ttf') format('truetype');
    font-style: normal;
    font-weight: 100;
}

@font-face {
    font-family: 'Roboto';
    src: url('/includes/javascript/font/roboto/Roboto-ThinItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 100;
}
@font-face {
    font-family: 'Roboto';
    src: url('/includes/javascript/font/roboto/Roboto-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
}
@font-face {
    font-family: 'Roboto';
    src: url('/includes/javascript/font/roboto/Roboto-LightItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 300;
}
@font-face {
    font-family: 'Roboto';
    src: url('/includes/javascript/font/roboto/Roboto-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
}
@font-face {
    font-family: 'Roboto';
    src: url('/includes/javascript/font/roboto/Roboto-Italic.ttf') format('truetype');
    font-style: italic;
    font-weight: 400;
}
@font-face {
    font-family: 'Roboto';
    src: url('/includes/javascript/font/roboto/Roboto-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
}
@font-face {
    font-family: 'Roboto';
    src: url('/includes/javascript/font/roboto/Roboto-MediumItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 500;
}
@font-face {
    font-family: 'Roboto';
    src: url('/includes/javascript/font/roboto/Roboto-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
}
@font-face {
    font-family: 'Roboto';
    src: url('/includes/javascript/font/roboto/Roboto-BoldItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 700;
}
@font-face {
    font-family: 'Roboto';
    src: url('/includes/javascript/font/roboto/Roboto-Black.ttf') format('truetype');
    font-style: normal;
    font-weight: 900;
}
@font-face {
    font-family: 'Roboto';
    src: url('/includes/javascript/font/roboto/Roboto-BlackItalic.ttf') format('truetype');
    font-style: italic;
    font-weight: 900;
}