/*Récupération des polices*/
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');

/*Déclaration des couleurs de bases*/
:root{
  --mainBgColor: #282828;
  --mainTextColor :#B6BDC5;
  --mainTextColorDark :#565656;
  --mainTextColorDarkest :#424242;
  --mainBorder:#282828;
  --highlightText: #557FBA;
  --boxBgColor: rgba(24,25,28,1.0);
  --boxBgColorHighligth: rgba(255,255,255,0.2);
  --btnBgColor: #2B5277;
  --boxBgColorSec: #282828;
  --boxBgColorSecHighlith: #565656;
  --btnBgColorHighligth: #4784BD;
  --btnTextColor: #D8DCE0;
  --redError: #E5756D;
  --greenSuccess: #08d26f;
  --greyNeutral: #D8DCE0;
  --texteBleu : rgba(43,82,119,1);
}
/*CSS Global*/


html{
  background-color: var(--mainBgColor);
  color: var(--mainTextColor);
  font-family: 'Lato', sans-serif;
  border: none;
}
h1{
  color: var(--mainTextColor);
  font-size: 34px;
  text-align: center;
}
h2{
  color: var(--mainTextColor);
  font-size: 24px;
  text-align: center;
}
p{
  color: var(--mainTextColor);
  font-size: 16px;
  text-align: center;
}
.pCenter{
  color: var(--mainTextColor);
  font-size: 16px;
  text-align: center;
}
.pRight{
  color: var(--mainTextColor);
  font-size: 16px;
  text-align: right;
}
.pLeft{
  color: var(--mainTextColor);
  font-size: 16px;
  text-align: left;
}
.pLeft i{
  vertical-align: middle;
}

.incone{
  width: 50px;
  height: 50px;
}
.texteBleu{
  color: var(--texteBleu);
}
.texteRouge{
  color: var(--redError);
}

/*

  Boutons

*/
.btnNeutralStatic{
  min-width: 100px;
  max-width: 250px;
  margin: 30px 10px;
  text-align: center;
  color: var(--greyNeutral);
  border: 1px solid var(--greyNeutral);
  padding: 10px;
  border-radius: 10px;
  cursor: default;
  transition:0.2s ease all;
  -moz-transition:0.2s ease all;
  -webkit-transition:0.2s ease all;
  display: inline-block;
  font-size: 20px;
  vertical-align: top;
}
.btnNeutralStatic:hover{
  background-color: var(--greyNeutral);
  color: #fff;
}
.btnNeutralStatic i{
  vertical-align: middle;
}
.btnNeutralStatic img{
  vertical-align: middle;
  height: 24px;
  width: 24px;
}
/*
  LES FORMULAIRES
*/
/*Mettre dans un div l'input, le label et la barre qui apprait quand il a le foccus*/
.groupInput{
  position: relative;
  margin-top: 50px;
}
@media screen and (max-width: 650px) {
  .groupInput{
    margin-top: 30px;
  }
}

.halfWidth{
  width: 40%;
  display: inline-block;
}
.thirdWidth{
  width: 30%;
  display: inline-block;
  margin: 10px;
}
.fourthWidth{
  width: 22%;
  display: inline-block;
}
.halfWidth:not(:first-child){
  margin-left: 20px;
}
.halfWidthExt{
  width: 49%;
  display: inline-block;
}

@media screen and (max-width: 650px) {
  .halfWidthExt{
      width: 90%;
      display: block;
  }
}
/* .halfWidthExt:not(:first-child){
  margin-left: 20px;
} */

/*Apparence des input sans focus*/
input, select{
  width: 100%;
  font-size: 20px;
  padding: 10px 0 10px 0;
  display: block;
  border: none;
  border-bottom: 1px solid var(--mainTextColor);
  color: var(--mainTextColor);
  background-color: rgba(0,0,0,0);
  outline:none;
}
.groupSelect {
  position: relative;
  display: inline-block;
  cursor: default;
  font-family: "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system;
  line-height: 18px;
  vertical-align: middle;
  width: 100%;
  text-align: left;
}
select{
  min-width: 200px;
  appearance: none;
  background-color: var(--boxBgColor);
}
select .selectLabel{
  font-size: 20px;
  color: var(--mainTextColor);
}
select:disabled, .selectLabelDisabled{
  color: var(--mainTextColorDark);
}
/*
  Force la police et la hauteur pour les input date
*/
input[type="date"]{
  font-family: 'Lato';
  height: 44px;
}
/*
  Masque les input file pour être utilisé par des div, p, img,...
*/
input[type="file"]{
  position: absolute;
  opacity: 0.0;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
/*Apparence des input quand ils ont le focus*/
input:focus{
  color: var(--highlightText);
}
/*Apparence du label quand on passe la souris sur l'input*/
input:hover ~ label
{
  color: var(--mainTextColorDark);
}
/*Apparence des label quand input n'a pas le focus*/
label{
  color: var(--mainTextColorDarkest);
  font-size: 20px;
  position: absolute;
  left: 5px;
  top: 10px;
  transition: 0.2s ease all;
}
/*
  Modifie le label quand le input à la focus (selecteur ~ qui prend le prochian label)
*/
input:focus ~ label{
  top:-20px;
  font-size:14px;
  color: var(--mainTextColorDark);
}
/*
  Modifie le label quand le input à du contenu (selecteur ~ qui prend le prochian label)
*/
input:valid ~ label{
  top:-20px;
  font-size:14px;
  color: var(--mainTextColorDarkest);
}
/*
  Modifie le label et l'input quand le input est disabled (selecteur ~ qui prend le prochian label)
*/
input:disabled ~ label{
  top:-20px;
  font-size:14px;
  color: var(--mainTextColorDark);
}
input:disabled{
  color: var(--mainTextColorDark);
}
/*
  Pour les input date laisse toujours le Label au desssu pour ne pas venir au dessus d'un vide (jj-mm-aaaa)
*/
input[type="date"] ~ label{
  top:-20px;
  font-size:14px;
  color: var(--mainTextColorDark);
}

/*Input type comme texte standard*/
/* .inputTextMain{

} */
/*
  TEXTAREA DEBUT
*/
/*Apparence des input sans focus*/
textarea{
  width: 100%;
  height: 200px;
  font-size: 20px;
  padding: 20px;
  display: block;
  border: none;
  border-bottom: 1px solid var(--mainTextColor);
  color: var(--mainTextColor);
  background-color: var(--mainBgColor);
  outline:none;
  font-family: 'Lato', sans-serif;
  resize: none;
}
/*Apparence des input quand ils ont le focus*/
textarea:focus{
  color: var(--highlightText);
}
/*Apparence du label quand on passe la souris sur l'input*/
textarea:hover ~ label
{
  color: var(--highlightText);
}
/*Apparence des label quand input n'a pas le focus*/
label{
  color: var(--mainTextColorDarkest);
  font-size: 20px;
  position: absolute;
  left: 5px;
  top: 0px;
  transition: 0.2s ease all;
}
/*CheckBox*/

/*
  Modifie le label quand le input à la focus (selecteur ~ qui prend le prochian label)
*/
textarea:focus ~ label,textarea:valid ~ label{
  top:-20px;
  font-size:14px;
  color: var(--mainTextColor);
}
/*
  TEXTAREA FIN
*/

/*
  CHECKBOC DEBUT
*/
.groupCheckbox {
  position: relative;
  display: inline-block;
  color: var(--mainTextColor);
  cursor: default;
  font-family: "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system;
  font-size: 30px;
  line-height: 18px;
  vertical-align: middle;
}

.groupCheckbox > input {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  position: absolute;
  z-index: -1;
  left: -15px;
  top: -15px;
  display: block;
  margin: 0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  background-color: var(--mainTextColor);
  outline: none;
  opacity: 0;
  transform: scale(1);
  -ms-transform: scale(0); /* Graceful degradation for IE */
  transition: opacity 0.5s, transform 0.5s;
}

.groupCheckbox > input:checked {
  background-color: var(--highlightText);
}

.groupCheckbox:active > input {
  opacity: 1;
  transform: scale(0);
  transition: opacity 0s, transform 0s;
}

.groupCheckbox > input:disabled {
  opacity: 0;
}

.groupCheckbox > input:disabled + span {
  cursor: initial;
}

.groupCheckbox > span::before {
  content: "";
  display: inline-block;
  margin-right: 15px;
  border: solid 2px var(--mainTextColor);
  border-radius: 2px;
  width: 30px;
  height: 30px;
  vertical-align: -4px;
  transition: border-color 0.5s, background-color 0.5s;
}

.groupCheckbox > input:checked + span::before {
  border-color: var(--highlightText);
  background-color: var(--highlightText);
}

.groupCheckbox > input:active + span::before {
  border-color: var(--highlightText);
}

.groupCheckbox > input:checked:active + span::before {
  border-color: transparent;
  background-color: var(--mainTextColor);
}

.groupCheckbox > input:disabled + span::before {
  border-color: rgba(0, 0, 0, 0.26);
}

.groupCheckbox > input:checked:disabled + span::before {
  border-color: transparent;
  background-color: rgba(0, 0, 0, 0.26);
}

.groupCheckbox > span::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 32px;
  border: solid 5px transparent;
  border-left: none;
  border-top: none;
  transform: translate(13px, -4px) rotate(45deg);
  -ms-transform: translate(13px, -4px) rotate(45deg);
}

.groupCheckbox > input:checked + span::after {
  border-color: #fff;
}
/*
  CHECKBOC FIN
*/



/*
  DATALIST IMG START
*/
.dataList{
  display: none;
  width: calc(100% - 2px);
  min-height: 100px;
  max-height: 300px;
  position: absolute;
  background-color: var(--boxBgColor);
  z-index: 10;
  border-right: 1px solid var(--mainTextColor);
  border-left: 1px solid var(--mainTextColor);
  border-bottom: 1px solid var(--mainTextColor);
  overflow-y: auto;
}
.dataList .item{
  border-bottom: 1px solid var(--mainBgColor);
  height: 60px;
  width: 100%;
  cursor: pointer;
  transition: 0.2s ease all;
  text-align: left;
}
.dataList .item:hover{
  background-color: var(--boxBgColorHighligth);
}
.dataList .item .avatar{
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 10px;
  top: 50%;
  transform: translate(0,-50%);
}
.dataList .item .avatar img{
  width: 40px;
}
.dataList .item .texte{
  position: relative;
  display: inline-block;
  height: 40px;
  line-height: 61px;
  width: auto;
  vertical-align: middle;
  color: var(--mainTextColor);
}
.dataList .item .texte p{
  margin: 5px;
  text-align: left;
  font-weight: 700;
}
/*
  DATALIST IMG FIN
*/
/*Apparence de la barre*/
.inputSouligne{
  position:relative;
  display:block;
  width:100%;
}
.inputSouligne:before, .inputSouligne:after{
  content:'';
  height:4px;
  width:0;
  bottom:1px;
  position:absolute;
  background:var(--highlightText);
  transition:0.2s ease all;
  -moz-transition:0.2s ease all;
  -webkit-transition:0.2s ease all;
}
.inputSouligne:before {
  left:50%;
}
.inputSouligne:after {
  right:50%;
}
/*Fait apparaitre la barre quand l'input prend le focus*/
input:focus ~ .inputSouligne:before,
input:focus ~ .inputSouligne:after{
  width: 50%;
}
.inputError{
  border-color: var(--redError) !important;
  color: var(--redError);
}
/*Si on ajout la class à groupInput il sera rouge*/
.inputError input{
  border-bottom: 1px solid var(--redError);
  color: var(--redError);
}
.inputError label{
  color: var(--redError);
}
.inputError .inputSouligne:before, .inputError .inputSouligne:after{
  background-color: var(--redError);
}
#messageErreur{
  color: var(--redError);
}
/*Apparition fondu pour tous les body*/
body {
    -webkit-animation: fadeIn .5s ease-in;
    animation: fadeIn .5s ease-in;
}
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/*Disparition fondu avec JS pour de delay*/
.fadeOut {
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
    opacity: 0;
}
.mainContent{
  position: absolute;
  left: 270px;
  top: 70px;
  right: 0;
  bottom: 0;
  overflow: auto;
}
@media screen and (max-width: 1000px) {
  .mainContent{
    left: 0;
  }
}
.titrePage{
  text-align: left;
  font-size: 50px;
  padding: 10px;
  margin: 0;
  color: var(--mainTextColorDark);
  height: 80px;
}
.bigBox{
  min-width: 30%;
  max-width: 90%;
  min-height: 200px;
  padding: 20px;
  display: flex;
  background-color: var(--boxBgColor);
  margin: auto;
}
.bigBoxNotFlex{
  min-width: 30%;
  max-width: 90%;
  /* max-height: 600px; */
  padding: 20px;
  display: block;
  background-color: var(--boxBgColor);
  margin: 30px auto;
  overflow-y: auto;
  background-repeat: no-repeat;
  background-position-x: right;
  background-origin: content-box;
  background-blend-mode: overlay;
  background-size: auto 100%;
}
.bigBoxNotFlexNoMaxHeight{
  min-width: 30%;
  max-width: 90%;
  padding: 20px;
  display: block;
  background-color: var(--boxBgColor);
  margin: 30px auto;
  overflow-y: auto;
  background-repeat: no-repeat;
  background-position-x: right;
  background-origin: content-box;
  background-blend-mode: overlay;
  background-size: auto 100%;
}
.bigBoxInline50{
  min-width: 47%;
  min-height: 200px;
  padding: 20px;
  display: inline-block;
  background-color: var(--boxBgColor);
  margin: auto;
}
.bigBoxInline30{
  min-width: 29%;
  min-height: 200px;
  padding: 20px;
  display: inline-block;
  background-color: var(--boxBgColor);
  margin: auto;
  vertical-align: top;
}
@media screen and (max-width: 1000px) {
  .bigBox{
    display: block;
    width: 100% !important;
    padding: 15px !important;
  }
  #previewMessage{
    display: none;
  }
  #contentlistMessages{
    width: 100%;
  }
}
.searchTopTable{
  width: 100%;
}
@media screen and (max-width: 1000px) {
  .searchTopTable{
    width: 100%;
    display: grid;
    justify-items: center;
  }
}
.searchTopTable .groupInput{
  width: 30%;
  float: right;
}
/*Menu mobile*/
#menu_mobile_btn{
  display: none;
}
@media screen and (max-width: 1000px) {
  #menu_mobile_btn {
      /* position: absolute; */
      display: block;
      /* top: 12px; */
      /* right: 12px; */
      align-self: center;
      justify-self: right;
      margin-right: 15px;
  }
}
.btnRoundBottomRight{
  box-shadow: 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12), 0 3px 5px -1px rgba(0,0,0,0.2);
  border-radius: 50%;
  background-color: var(--btnBgColor);
  position: fixed;
  right: 50px;
  bottom: 50px;
  width: 60px;
  height: 60px;
  text-align: center;
  cursor: default;
}
.btnRoundBottomRight i{
  line-height: 60px;
  font-size: 30px;
  color: var(--btnTextColor);
}
/*Boutton rond avec le plus version miniature qui doit tenir dans un div*/
.btnRoundBottomRightMini{
  box-shadow: 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12), 0 3px 5px -1px rgba(0,0,0,0.2);
  border-radius: 50%;
  background-color: var(--btnBgColor);
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  text-align: center;
  cursor: default;
}
.btnRoundBottomRightMini i{
  line-height: 30px;
  font-size: 20px;
  color: var(--btnTextColor);
}
/*Design la scrollBarre*/
/* width */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar:hover{
  width: 20px;
}
/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*Loader SVG*/
#loadingDiv_bg{
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.7;
  background-color: #000000;
  z-index: 1500;
}
#loadingDiv{
  position: fixed;
  top: 40%;
  left: 50%;
  z-index: 1550;
}
.boxList95{
  width: 95%;
  display: inline-block;
  padding: 10px;
  vertical-align: top;
}
@media screen and (max-width: 640px) {
  .titrePage {
      text-align: center;
      font-size: 28px;
      height: auto;
  }
  .bigBoxNotFlex {
      margin: 0px auto;
  }
  textarea {
    font-size: 14px;
  }

  .pRight {
      display: flex;
  }
  .btnRoundBottomRight {
    right: 25px;
    bottom: 25px;
  }
  .groupCheckbox > span::before {
    width: 15px;
    height: 15px;
  }
  .groupCheckbox > span::after {
      left: -5px;
      width: 5px;
      height: 15px;
  }
}
/* by JEFF */
body{
  margin : 0px;
}
#listApp {
  margin-top: 70px;
  margin-left: 260px;
  width: calc(100vw - 260px);
  height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax(250px, 1fr) );
  gap : 10px;
  padding : 10px;
  box-sizing: border-box;
}
.app {
  position: relative; 
  width: 100%;
  background-color: grey;
  height: 200px;
}
h5 {
  font-size: 24px;
  padding: 16px;
  margin: 0;
  text-align: center;
}
.appLogo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.app i {
  font-size: 48px;
}
.app button {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  border-radius: 10px;
  padding: 10px 50px;
  background-color: #b6bdc5;
  font-family: roboto;
  text-transform: uppercase;
  color: #282828;
  font-size: 16px;
  font-weight: bolder;
}
.card {
  background: #18191c;
  border-radius: 2px;
  display: inline-block;
  height: 300px;
  margin: 1rem;
  position: relative;
  }

.card-1 {
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.app:hover {
  color: #557fba;
}
.app:hover button{
  background-color :  #557fba;
}
.card-1:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
@media screen and (max-width: 800px) {
  #listApp {
    width: 100%;
    margin-left: 0px;
    grid-template-columns: 1fr;
  }
  .card {
     margin: 0rem;
    }
}

