/* Global styles */

* {
    font-family: Arial, Helvetica, sans-serif;

    --element-bg: hsl(0, 0%, 99%);
    --red-bg: #dce6e0;
    --red-bg-light: #dce6e0;
}

body {
    margin: 0;
    color: black;
    font-family: arial;
    font-size: 8px;
    height: 100vh;
    position: relative;
    /* background: url("../images/page/top-bg.png") repeat-x scroll 0 0 transparent; */
}

select {
  /* test */
   max-width: 80%; 
  border: 1px solid #23a19d;

}

/* Habillage des liens*/

a {

  /*border-bottom: 1px dotted;*/

  outline: none;
  text-decoration: none;
  cursor: pointer;
  /*padding: 2px 2px 2px 2px;*/
}
a:link {
  color: black;
}

a:visited {
  color: #437A16;
}

a:focus {
  border-bottom: 1px solid;
  background: #d5edec;
  padding: 1px 2px 1px 2px;

}

a:hover {
    text-decoration: underline;
}

a:active {
  background: #265301;
  color: #CDFEAA;
}
/* fin habillage liens*/

/* habillage select*/


/* fin habillage select*/
/* Main */
div.titretb {
    font-size: 24px;
}

div.main {
    width: 100%;
    min-width: 1000px;
    position: relative;
    padding-left: 6%;
    padding: 0 0px 0 0px;
    min-height: 100%;
}

div.shortcuts {
    position: absolute;
    top: 50%;
    left: calc(100vw - 60px);
    padding-left: 0;
    transform: translateY(-50%);
    z-index: 1;
    background-color: #f2f5f7;
    border: 1px solid #858faa;
}

div.shortcuts .shortcut-elem {
    width: 40px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.shortcuts .shortcut-elem:not(:last-child) {
    border-bottom: 1px solid #858faa;
}

div.shortcuts a {
    display: block;
}

div.shortcuts img {
    width: 25px !important;
    height: 25px !important;
    filter:
        saturate(0)
        contrast(2)
        opacity(0.5)
    ;
    transition: all 0.2s;
}

div.shortcuts img:hover {
    filter:
        brightness(1)
        opacity(1)
    ;
}

div.header {
    /* TMA edited */
    height: 120px;
    min-height: 50px;
    background: none;
    border: 0;
    background: url("../images/header/banniere_ffsfp.png");
    background-size: contain;
    padding-left: 0;
}

div.header:before {
    /* TMA edited */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    #background: rgb(255,163,0);
    #background: linear-gradient(90deg, rgba(255,163,0,1) 0%, rgba(255,81,0,1) 50%, rgba(255,64,0,1) 100%);
    z-index: 0;
}

div.header::after {
    /* TMA edited */
    backdrop-filter: blur(4px);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Header */

div.application-title {
    /* TMA edited */
    color: white;
    font-size: 30px;
    margin-top: 10px;
    float: left;
    padding: 0px;
    pointer-events: auto;
    text-align: center;
    width: 100%;
    position: absolute;
    top: -40px;
    z-index: 1;
}


div.application-title::before {
    /* TMA edited */
    display: inline-block;
    background: url('../images/logo.png') no-repeat;
    background-size: contain;
    width: 94px;
    height: 100px;
    content: " ";
    border-radius: 8px;
    position: relative;
    top: 40px;
}

div.header div.today {
    color: black;
    background-color: var(--element-bg); 
    border: 1px solid #5888C1;
    /*border-radius: 7px 7px 7px 7px;
    padding: 2px;*/
}

div.login {
    margin-top: 20px;
    color: white;
    clear: right;
    float: right;
    position: relative;
    top: auto;
    right: auto;
}

div.login div.links {
    margin: 5px 8px;
}

div.login div.links>* {
    background: none;
}

div.header-links>a {
    color: black;
}

#quick-detail {
    min-height: 33px;
    margin-right: 3px;
    float: right;
}

#quick-detail:empty {
    display: none;
}

#quick-detail>div {
    background-color: white;
    border: 1px solid #858faa;
    color: black;
    /*margin-top:2px;*/
    height: auto !important;
    padding: 3px 5px;
    /*border-radius: 7px 7px 7px 7px;*/
}

div#quick-detail div.value {
    font-weight: bold;
    font-size: 20px;
    display: inline;
    color: black;
    text-shadow: 0px 2px 3px #555;
}

/* Menu */

div.nav {
    --item-width: 250px;
    --item-height: 40px;
    border-width: 0px;
    position: absolute;
    display: grid;
    gap: 0;
    width: var(--item-height) !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.2s ease-in-out;
    /* var(--red-bg) */ 
    border: 1px solid #ffffff;
    
    cursor:pointer;
}

div.nav .icon {
    width: 40px;
    /* height: 40px; */
    padding: 12px 20px;
    position: relative;
    /* top: 10px; */
    border-right: 1px solid #0000003f;
    margin-right: 10px;
}
div.nav .icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


@keyframes overflow_after {
    0% {
        overflow: hidden;
    }
    100% {
        overflow: visible;
    }
}

div.nav:hover
{
    width: var(--item-width);
    overflow: visible;
}

div.nav .menu-item.level1,
div.nav .menu-item.level2,
div.nav .menu-item.level3,
div.nav .menu-item.level4,
div.nav .menu-item.level5,
div.nav .menu-item.level6,
div.nav .menu-item.level7,
div.nav .menu-item.level8,
div.nav .menu-item.level9 {
    position: relative;
    width: var(--item-width);
    height: var(--item-height);
}

div.nav .menu-item.level2 { left: calc(var(--item-width) - 4px); top: -50px;}

div.menu-item.level1 {
    background: white;
    float: left;
}

div.nav .item.level1 {
    padding-top: 10px;
}

div.nav div.menu-item {
    background: white;
    border: 0;
}

div.nav div.menu-item.level1>div.item {
    top: 3px;
    margin: 0;
    height: 100%;
}

div.nav div.menu-item div.item {
    color: rgba(0, 0, 0, 0.74);
    height: 40px;
}

div.children {
    position: absolute;
    display: none;
}

div.menu-item:hover>div.children {
    display: block;
}

div.nav div.menu-item.level1>.children {
    padding-left: 2px;
}

div.nav div {
    z-index: 10;
}

div.menu-item div.item:not(.level1) {
    padding: 6px;
}

div.item.level1 {
    margin: 6px 2px 6px 2px;
}

div.menu-item div.item { 
    /*background: #194a82 url('../images/menu/bg1.png') top repeat-x;*/
    /*background: linear-gradient(purple, black);*/
    background-color: var(--red-bg); 
    color: white;
    border: 1px solid #0000003f;
    transition: all 0.2s ease-in-out;
}

div.nav>div.menu-item {
    border: 0;
}

div.nav>div.menu-item:hover {
    border-top-color: var(--element-bg);
}

div.nav>div.menu-item:last-child {
    border-right-style: solid;
}



div.nav div.menu-item:hover {
    background: white;
}

div.nav div.item>img {
    padding-right: 3px;
}

div.nav div.menu-item .item {
    border-bottom-style: none;
}

div.nav div.menu-item:last-child .item,
div.nav div.level1.menu-item>.item {
    border-bottom-style: solid;
}

div.menu-item.level2:last-child div.children.level2>div.menu-item>.item {
    border-left-style: solid;
}

div.menu-item.level2:last-child div.children.level2>div.menu-item:first-child>.item {
    border-left-style: none;
}

div.children>div.menu-item {
    margin-left: 2px;
}

div.children.level2 {
    left: 100%;
    margin-top: -32px;
}

div .item {
    white-space: nowrap;
}

div.menu-item:hover>div.item {
    /*background: #dadee7 url('../images/menu/bg1-hoover.png') top repeat-x;*/
    background-color: white;
    /* border-color: black; */
    color: black;
}

div.nav>div.menu-item.last {
    border-right: 0;
}

div.menu-item.last>div.item.level1 {
    /*border-radius: 0px 7px 7px 0px;*/
}

#mod_home {
    /*border-radius: 7px 0px 0px 7px;*/
}

/* Body, messages */

div.messages {
    position: absolute;
    background: none;
    border: 0;
    top: 10px;
    right: 20px;
    margin: 0;
    margin-right: 50px;
}

div.we-message {
    position: static;
}

div.body {
    background-color: white;
    padding-left: 47px;
    padding-right: 47px;

    margin-top: 15px;
    
}

/* Barres d'outils */

div.we-toolbar {
    background-color: var(--element-bg);
    /* border: 1px solid #858faa; */
    color: black;
    margin-top: 0px;
    padding-bottom: 5px;

    /*border-radius: 0px 0px 7px 7px;*/
}

div.we-toolbar-item>div.item {
    /*border-radius: 7px 7px 7px 7px;*/
}

div.we-toolbar-item:hover>div.item {
    color: black;
}

/* Footer */

div.footer {
    /*background: url('../images/footer/footer-bg.png') top repeat-x;*/
    padding-top: 20px;
    background: var(--red-bg);
    border: 1px solid var(--element-bg);
    color: white;
    min-height: 40px;
    position: absolute;
    top: 100%;
    width: 100%;
    color: white;
}

/* Tables */

table.we-table th {
    color: white;
    background-color: #333333;/*entete tables*/
    /*background: url('../images/header/header2-bg.png') scroll 0 0 repeat-x;*/
}

/* Fieldset */

fieldset {
    background-color: white;
    border: 1px solid #0000000f;
    border-radius: 5px;
    height: auto;
    /*overflow: auto;*/
    position: relative;
    margin: 5px;
    padding: 0;
}

fieldset > .we-form-element {
    margin: 5px;
}
fieldset > .we-form-element:first-of-type {
    margin-top: 10px;
}


fieldset:not(#auth) {
    box-shadow: 3px 3px 1px rgb(230, 230, 230);
}

fieldset#auth {
    background-color: var(--element-bg);
    margin: 0 auto !important;
    width: 300px;
    position: relative;
    left: calc(1.3 * 75px);
    top: 200px;
    transform: scale(1.3);
}

fieldset#auth legend {
    display: none;
}

fieldset#auth .we-form-label
{
    display: none;
}

fieldset#auth .we-form-input
{
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}

fieldset#auth .we-form-input#we-input-txt-login > input,
fieldset#auth .we-form-input#we-input-txt-password > input {
    text-align: center;
}

fieldset#auth  #we-input-bt-go,
fieldset#auth  #we-input-lost_password {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}
fieldset#auth  #we-input-lost_password * {
    color: #a54a4a;
}

fieldset#auth  .we-required {
    display: none;
}

fieldset#auth::before {
    --left-offset: 150px;
    box-sizing: border-box;
    content: "";
    position: absolute;
    height: 102%;
    top: -1%;
    left: calc( var(--left-offset) * -1);
    bottom: 0;
    width: var(--left-offset);
    background: url('../images/icons/login-logo.jpg') no-repeat;
    background-size: cover;
    background-position: -55px;
    z-index: 1;
    border-radius: 5px 0 0 5px;
    border: 1px solid #0000000f;
    border-right: none;
}

fieldset#auth::after {
    --left-offset: 100px;
    content: "";
    height: 102%;
    top: -1%;

    position: absolute;
    left: calc( var(--left-offset) * -1);
    bottom: 0;
    width: var(--left-offset);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, var(--element-bg) 100%);
    z-index: 10;
    border-radius: 5px 0 0 5px;
}


/* Formulaires */

form {
    margin: 0 10px;
}

form.we-form {
    width: auto;
    background: none;
    border: 0;
}

div.body #frm-login {
    padding: 20px 0;
}

table.we-table ul.contextmenu li.level1.hover,
table.we-table ul.contextmenu ul.children {
    background-color: #333333;
    opacity: 0.9;
        border: 1px solid black;

}

div.jqplot-title {
    font-size: 16px;
    padding: 5px 0 5px 30px;
    color: #092e73;
    margin: 10px;
    width: auto !important;
}

div.jqplot-pie-series.jqplot-data-label {
    font-weight: bold;
    font-size: 14px;
}

fieldset.roundify,
fieldset legend.roundify {
    /*background:white url('../images/forms/fieldset-bg.png') repeat-x !important;*/
}

fieldset.roundify legend,
fieldset legend.roundify {
    
    /*
    border: 1px inset #a6adbc;
    padding-left: 15px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-right: 10px;
    border-radius: 7px 7px 7px 7px;*/
}


div.we-tabs-container>ul>li.active a {
    /*border-radius: 7px 7px 0px 0px;*/
}

div.we-tabs-container>ul>li>a {
    /*border-radius: 7px 7px 0px 0px;*/
}

#frm-mail-home {
    padding-top: 0px;
}

.ui-datepicker {
    height: auto;
    width: auto;
}


/* Component containers Calendrier
----------------------------------*/

.fc-day {
    background: #f2f5f7 url('../images/forms/calendar-bg.png') 50% top repeat-x;
}

.ui-state-highlight,
.fc-day .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    background: url("../images/forms/calendar-bg_highlight.png") repeat-x scroll 50% top #FFEF8F;
    border: 1px solid #F9DD34;
    color: #363636;
}

/* Inputs */

input[type="text"],
input[type="password"],
input[type="file"],
input[type="submit"],
input[type="reset"],
select,
textarea {
    width: 90%;
    border: 1px solid #e9e9e9;
    padding: 5px 5px;
    border-radius: 3px;
    box-sizing: border-box;
    resize: vertical;
    margin: 0;
    font-size: 14px;
    color: #333333;
    position: relative;
    top: -5px;
}

span input[type="text"],
span input[type="password"],
span input[type="file"],
span input[type="submit"],
span input[type="reset"],
span select,
span textarea {
    width: unset;
    position: unset;
}

.button {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    padding: 5px 10px 5px 10px;
    background-color: white;
    color: #a54a4a;
    border-radius: 5px;
    border: 1px solid #a54a4a;
    /* min-width: 150px; */
    transition: all 0.2s ease-in-out;
}

a.button {
    display:inline-block;
    position:static !important;
    text-align:center;
    height:18px;
    text-align: center;
    text-decoration: none !important;
}

.button:hover
{
    background-color: #a54a4a;
    opacity: 0.7;
    color: white;
}

/* Loader */
.loader {
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
      radial-gradient(farthest-side,#ED303C 94%,#0000),
      radial-gradient(farthest-side,#3B8183 94%,#0000),
      radial-gradient(farthest-side,#FAD089 94%,#0000),
      radial-gradient(farthest-side,#FF9C5B 94%,#0000),
      #ED303C !important;
    background-size: 105% 105%;
    background-repeat: no-repeat;
    animation: l5 2s infinite;
}

@keyframes l5 {
0%  {background-position: 50% -50px,-40px 50%, 50% calc(100% + 50px),calc(100% + 50px) 50%}
20%,
25% {background-position: 50% -50px,-50px 50%, 50% calc(100% + 50px),50% 50%}
45%,
50% {background-position: 50% -50px,-50px 50%, 50% 50%              ,50% 50%}
75%,
75% {background-position: 50% -50px, 50%  50%, 50% 50%              ,50% 50%}
95%,
100%{background-position: 50%  50% , 50%  50%, 50% 50%              ,50% 50%}
}


#auth input {
    border: none;
    border-bottom: 1px solid #ccc;
    background: unset !important;
    border-radius: 0;
}

fieldset legend {
    --padding-left: 10px;
    padding-left: var(--padding-left);
    width: calc(100% - var(--padding-left) - 3px);
    padding-top: 5px;
    padding-bottom: 5px;
    background: #f1f1f1;
    border: 1px solid rgb(230, 230, 230);
    border-bottom: 0;
    border-right: 0;
    box-shadow: 3px 0px 1px rgb(230, 230, 230);
    --radius: 5px;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.chzn-container-single .chzn-single  {
    background-image: none !important;
    border-radius: 0;
    box-shadow: none;
    border-radius: 3px;
    border: 1px solid #e9e9e9;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
scrollbar-width: thin;
scrollbar-color: #d6d6d6 #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 16px;
}

*::-webkit-scrollbar-track {
background: #ffffff;
}

*::-webkit-scrollbar-thumb {
background-color: #d6d6d6;
border-radius: 10px;
border: 3px solid #ffffff;
}

.dynatree-container {
    border: none !important;
}

div#sessionsform-list_data_float tr td:not(:first-of-type) {
    background-color: var(--element-bg);
    transition: all 0.2s ease-in-out;
    border: 0 !important;
}

div#sessionsform-list_data_float tr:nth-child(odd) td:not(:first-of-type) {
    background-color: #f5f5f5;
}

div#sessionsform-list_data_float tr:nth-child(even) td:not(:first-of-type) {
    background-color: #ffffff;
}

div#sessionsform-list_data_float tr:hover td:not(:first-of-type) {
    background-color: rgba(0, 0,0,0);
}

table#sessionsform-list * {
    border: none !important;
}

div#sessionsform-list_data_float tr td:first-of-type {
    box-sizing: content-box;
    border-bottom:1px solid rgba(0, 0,0, 0.5) !important;
}


a#go-last.button,
a#go-next.button,
a#go-prev.button,
a#go-first.button {
    padding: 0;
    border-radius: 2;
}


.hide-opacity {
    opacity: 0 !important;
}

