/* ~~~~~~~ */
/* Général */
/* ~~~~~~~ */
body, html
{
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    background-image: url("Images/Fond.jpg");
    background-repeat: no-repeat;
    background-size: 100vw 100vh;
    position: fixed;
	box-shadow: inset 0 0 0 100vmax rgba(255, 255, 255, 0.7); /* Création d'un voile blanc au dessus de l'image */
    overflow-y: auto;
}

/* Firefox fait chier sinon niveau taille des input */
input { box-sizing: border-box; }

/* Ajout du padding */
p
{
    margin-top: 5px;
    margin-bottom: 5px;
    padding-right: 5px;
    padding-left: 5px;
}

/* Classe à cacher, principalement les liens pour les fenêtres modales */
/* Le !important permet d'appliquer ce display en priorité */
.HideMe { display: none!important; }


/* Change l’icône du curseur au survol des éléments ayant une infobulle */
/* A mettre avant les autres changements de curseur */
.ToolTip, .ToolTipSurvol { cursor: help; }


.CurseurPointer, .JetCarac, .JetTalent, .JetArme, .JetPouvoir, .JetArmure, .JetLimitation { cursor: pointer; }


.BordureInf, .BordureInfBloc
{
    margin-bottom: 2px;
    padding-bottom: 5px;
    border-bottom: 3px solid black;
}

.BordureInfGrise, .BordureInfBlocGrise
{
    margin-bottom: 2px;
    padding-bottom: 5px;
    border-bottom: 3px solid gray;
}

.Wmax250pxHmax250px
{
    max-width: 250px;
    max-height: 250px;
    margin-top: 2px;
    padding-top: 5px;
}

.Wmax200pxHmax200px
{
    max-width: 200px;
    max-height: 200px;
}

.Wmax150pxHmax150pxImportant
{
    max-width: 150px!important;
    max-height: 150px!important;
}

.W200pxH200px
{
    width: 200px;
    height: 200px;
    min-width: 200px;
    min-height: 200px;
    background-color: white;
}


/* Séparateur */
.Top10
{
    margin: 10px 0px 10px 0px;
    padding-bottom: 10px;
    border-bottom: 3px solid navy;
    border-radius: 15px 15px 15px 15px;
}


.CurseurWait { cursor: wait; }

.Contour { border: 2px solid gray; }

#CopyMe { cursor: copy; }

.AjoutPouvoirAleatoire:hover
{
    border: 2px solid black;
    border-radius: 10px 10px 10px 10px; /* Arrondissement des angles */
    margin: 2px;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* Police (taille, couleur, fond) */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.RougeGras
{
    color: red;
    font-weight: bold;
}

.ColorRed { color: red; }

.ColorNavy { color: navy; }

.ColorMaroon { color: maroon; }

.ColorGreen { color: green; }

.ColorBlue { color: blue; }

.ColorOrange { color: orange; }

.ColorPurple { color: purple; }

.ColorGrey { color: #565656; }

.BackgroundColorGreen { background-color: #BAEDAD; }

.TextIndent60pc { text-indent: 60%; }

.fas, .far { font-size: 24px; }

.FontSize16px { font-size: 16px!important; }
.FontSize20px { font-size: 20px!important; }

.TexteInvisible
{
	text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.TextAlignRight500px
{
    text-align: right;
    width: 500px;
    display: inline-block;
}

.MiniIcone
{
    width: 18px;
    height: 18px;
}


/* ~~~~~~~~~~ */
/* Menu intro */
/* ~~~~~~~~~~ */
.Menu, .Menu152
{
    height: 60px;
    width: 110px;
    cursor: pointer;
}

.Menu152 { width: 152px; }

.BorderLeft { border-left: 2px solid black; }
.BigBorderLeft { border-left: 4px solid black; }

.HideLink a
{
    color: black;
    text-decoration: none;
    font-size: 16px;
}

.GreenBackGround, .OrangeBackGround, .BlueBackGround
{
    transition: background-color 3s;
}

.GreenBackGround:hover
{
    background-color: green;
    transition: background-color 1s;
}

.OrangeBackGround:hover
{
    background-color: orange;
    transition: background-color 1s;
}

.BlueBackGround:hover
{
    background-color: SlateBlue;
    transition: background-color 1s;
}


.uncaca
{
    transition: background-color 3s;
}

.caca
{
    background-color: green;
    transition: background-color 1s;
}



/* ~~~~~~~~ */
/* Overflow */
/* ~~~~~~~~ */
.OverflowYauto { overflow-y: auto; }

.OverflowHidden { overflow: hidden; }


/* ~~~~~~~~~~~~~~~~~ */
/* Margin et padding */
/* ~~~~~~~~~~~~~~~~~ */
.MarginBottom50px { margin-bottom: 50px!important; }

.MarginBottom100px{ margin-bottom: 100px!important; }


/* ~~~~~~ */
/* Listes */
/* ~~~~~~ */
li
{
    list-style: none;
    text-align: left;
    margin-left: 0px;
    text-indent: 7px;
    margin-top: 5px;
}

.liCenter
{
    text-align: center;
    text-indent: 0px;
}

/* Suppression des marges pour les li qui servent au clic droit */
.liNoMargin
{
    margin-left: 0px;
    margin-top: 0px;
}

ul
{
    all: unset;
    margin: 2px 0px 2px 0px;
}

ul li:hover
{
    background-color: Gray;
}

ul li:nth-child(odd)
{
    color: navy; /*#00284d;*/
}


/* ~~~~~~~~ */
/* Tableaux */
/* ~~~~~~~~ */
/* Le tableau prend toute la place disponible en largeur */
table { width: 100%; }

/* Bordure à gauche pour tous les td sauf le premier */
td + td { border-left: 1px solid black; }

/* Bordure inférieure des th */
th { border-bottom: 1px dotted black; }

/* Bordure à gauche pour les tr sauf le 1er */
th + th { border-left: 1px solid black; }

/* Mise en gris des lignes survolées */
tbody tr:hover { background-color: Gray; }

/* Colore les textes en bleus une ligne sur deux pour plus de lisibilité */
tbody tr:nth-child(odd) { color: navy; /*#00284d;*/ }

/* Le div qui contient le table doit avoir la classe OverflowYscroll pour que son thread ne bouge pas en même temps que la fenêtre */
thead th
{
    position: sticky;
    top: 2px;
    background-color: rgba(255, 255, 255, 0.7);
}


/* ~~~~~ */
/* Blocs */
/* ~~~~~ */
.BigTitre
{
    color: navy;
    display: inline-block;
    text-align: center;
    border: 3px solid black;
    border-radius: 10px 10px 0px 0px; /* Arrondissement des angles */
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.6); /* Fond blanc transparent pour plus de lisibilité uniquement sur les blocs et non les blocs gris pour éviter surcouches */
    width: 100%;
}


/* Bordure noire arrondie avec alignement des textes contenus */
.Bloc
{
    border-bottom: 3px solid black;
    border-left: 3px solid black;
    border-right: 3px solid black;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.6); /* Fond blanc transparent pour plus de lisibilité uniquement sur les blocs et non les blocs gris pour éviter surcouches */
}

.BlocGris
{
    border-bottom: 3px solid gray;
    border-left: 3px solid gray;
    border-right: 3px solid gray;
    text-align: center;
}

.TitreBloc, .TitreBlocAvecTransition
{
    color: navy;
    display: inline-block;
    text-align: center;
    border: 3px solid black;
    border-radius: 10px 10px 0px 0px; /* Arrondissement des angles */
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.6); /* Fond blanc transparent pour plus de lisibilité uniquement sur les blocs et non les blocs gris pour éviter surcouches */
}


.TitreBlocAvecTransition
{
    transition: all 1s ease;
    cursor: pointer;
}

.TitreBlocAvecTransition:hover
{
    color: red;
    transition: all 1s ease;
}

.TitreBlocGris
{
    color: navy;
    display: inline-block;
    text-align: center;
    border-radius: 10px 10px 0px 0px; /* Arrondissement des angles */
    margin-top: 10px;
    border: 3px solid gray;
}


#BlocLimitations { min-height: 25px; }

.BlocStretch { flex: 1; }

.MarginLeft10px { margin-left: 13px; }
.MarginRight10px { margin-right: 13px; }
.MarginBottom10px { margin-bottom: 13px; }
.MarginTop10px { margin-top: 13px; }



.WMax1200px
{
    margin: 0 auto;
    max-width: 1200px;
}

.MinHeight32px { min-height: 32px; }
.MinHeight125px { min-height: 125px; }

.MaxHeight100px { max-height: 100px; }
.MaxHeight150px { max-height: 150px; }
.MaxHeight200px { max-height: 200px; }
.MaxHeight210px { max-height: 210px; }
.MaxHeight225px { max-height: 225px; }
.MaxHeight230px { max-height: 230px; }
.MaxHeight250px { max-height: 250px; }
.MaxHeight350px { max-height: 350px; }
.MaxHeight400px { max-height: 400px; }
.MaxHeight450px { max-height: 450px; }

.MinWidth175px { min-width: 175px; }
.MinWidth300px { min-width: 300px; }


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

/* Permet de centrer les <p> et leur texte  */
.FlexLigne > p { margin: auto; }


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

.FlexColonne
{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.FlexColonneNoJustify
{
    display: flex;
    flex-direction: column;
}

/* Permet de mettre les blocs de PV et PP sur la même ligne avec un espace complet entre les 2 */
.FlexSpaceAround
{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.FlexSpaceAround:nth-child(2)
{
    flex: 1;
}

.FlexSpaceBetween
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.FlexGrow1
{
    flex-grow: 1;
}

.FlexGrow100
{
    flex-grow: 100;
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* Fenetre de Jquery-Confirm */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* Modification de l'image de fond des fenêtres */
.jconfirm-box
{
    background-image: url("Images/Fond2.jpg") !important;
    background-size: 100% 100% !important;
	box-shadow: inset 0 0 0 100vmax rgba(255, 255, 255, 0.9) !important;
}

.jconfirm .jconfirm-bg { z-index: -999; }


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* Classes des tailles des blocs */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.H32px { height: 32px; }
.H200px { height: 200px; }
.H225px { height: 225px; }
.H275px { height: 275px; }
.H350px { height: 350px; }
.H380px { height: 380px; }
.H450px { height: 450px; }
.H600px { height: 600px; }
.H800px { height: 800px; }
.H1000px { height: 1000px; }

.W25px { width: 25px; }
.W80px { width: 80px; }
.W5pc { width: 5%; }
.W10pc { width: 10%; }
.W15pc { width: 15%; }
.W20pc { width: 20%; }
.W25pc { width: 25%; }
.W30pc { width: 30%; }
.W35pc { width: 35%; }
.W40pc { width: 40%; }
.W45pc { width: 45%; }
.W50pc { width: 50%; }
.W55pc { width: 55%; }
.W60pc { width: 60%; }
.W65pc { width: 65%; }
.W70pc { width: 70%; }
.W75pc { width: 75%; }
.W80pc { width: 80%; }
.W85pc { width: 85%; }
.W90pc { width: 90%; }
.W95pc { width: 95%; }
.W100pc { width: 100%; }

.H5pc { height: 5%; }
.H10pc { height: 10%; }
.H15pc { height: 15%; }
.H20pc { height: 20%; }
.H25pc { height: 25%; }
.H30pc { height: 30%; }
.H35pc { height: 35%; }
.H40pc { height: 40%; }
.H45pc { height: 45%; }
.H50pc { height: 50%; }
.H55pc { height: 55%; }
.H60pc { height: 60%; }
.H65pc { height: 65%; }
.H70pc { height: 70%; }
.H75pc { height: 75%; }
.H80pc { height: 80%; }
.H85pc { height: 85%; }
.H90pc { height: 90%; }
.H95pc { height: 95%; }
.H100pc { height: 100%; }


.WH70px
{
    width: 70px;
    height: 70px;
    padding: 5px;
}


/* ~~~~~~ */
/* Inputs */
/* ~~~~~~ */
.NoBackgroundColor { background-color: transparent; }

input[name='Selection'] { margin-left: 20px; }

/* La bordure ne s'ajoute pas au select */
.LittleSelect
{
    border: 3px solid black;
    border-radius: 10px 10px 0px 0px; /* Arrondissement des angles */
    margin-bottom: 10px;
    width: 601px;
}

.Input45px { width: 45px; }
.Input55px { width: 55px; }

.Input200px { width: 200px; }
.Input250px { width: 250px; }
.Input300px { width: 300px; }
.Input500px { width: 500px; }

.WH100pc
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
}


/* ~~~~~~~~~~~~~~~~~~~~~~ */
/* Fenêtre modale des dés */
/* ~~~~~~~~~~~~~~~~~~~~~~ */
#Dice1
{
    font-size: 100px;
    color: blue;
    background-image: linear-gradient(0deg, rgba(255,0,0,0), rgba(255,0,0,0), #ffffff,  #ffffff,  #ffffff,  #ffffff, rgba(255,0,0,0), rgba(255,0,0,0));
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}

#Dice2
{
    font-size: 100px;
    color: white;
    background-image: linear-gradient(0deg, rgba(255,0,0,0), rgba(255,0,0,0), #ffffff,  #ffffff,  #ffffff,  #ffffff, rgba(255,0,0,0), rgba(255,0,0,0));
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}

#Dice3
{
    font-size: 100px;
    color: red;
    background-image: linear-gradient(0deg, rgba(255,0,0,0), rgba(255,0,0,0), #ffffff,  #ffffff,  #ffffff,  #ffffff, rgba(255,0,0,0), rgba(255,0,0,0));
    text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
    margin-left: 10px;
    padding-left: 15px;
    border-left: 5px solid black;
}

#JetDedes
{
    text-align: center;
    font-size: 30px;
}



/* ~~~~~~~~~~~~~~~~~~~~~ */
/* Table Multiple unique */
/* ~~~~~~~~~~~~~~~~~~~~~ */
.Width100Height100Center
{
    width: 100%;
    height: 100%;
    text-align: center;
}



#TableCampagnes, #TableFichiers
{
  width: inherit !important;
}

#TableCampagnes .min, #TableFichiers .min
{
    width: 1% !important;
    white-space: nowrap !important;
    min-width: 40px;
}




/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* CheckBox utilisant AwesomeFont */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* Cache la checkbox */
.EyeCheckBox { display:none; }

.EyeCheckBox + label:before
{
    font-family: FontAwesome;
    display: inline-block;
    cursor: pointer;
}

.EyeCheckBox + label:before
{
    content: "\f06e"; /* Icone décochée */
    letter-spacing: 6px; /* Espace entre l'icone et son texte */
}

.EyeCheckBox:checked + label:before
{
    content: "\f070"; /* Icone décochée */
    letter-spacing: 6px; /* Espace entre l'icone et son texte */
}

/* Cache la checkbox */
.CocheCheckBox { display:none; }

.CocheCheckBox + label:before
{
    font-family: FontAwesome;
    display: inline-block;
    cursor: pointer;
}

.CocheCheckBox + label:before
{
    content: "\f096"; /* Icone décochée */
    letter-spacing: 8px; /* Espace entre l'icone et son texte */
}

.CocheCheckBox:checked + label:before
{
    content: "\f046"; /* Icone décochée */
    letter-spacing: 6px; /* Espace entre l'icone et son texte */
}



/* ~~~~~~~~~~~~~~~ */
/* Bouton ON / OFF */
/* ~~~~~~~~~~~~~~~ */
/* https://proto.io/freebies/onoff/ */
.OnOffEtat, .OnOffReussite
{
    position: relative;
    width: 105px;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select: none;
}

.OnOffEtat-checkbox, .OnOffReussite-checkbox { display: none; }

.OnOffEtat-label, .OnOffReussite-label
{
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #030303;
    border-radius: 20px;
}

.OnOffEtat-inner, .OnOffReussite-inner
{
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.OnOffEtat-inner:before, .OnOffEtat-inner:after, .OnOffReussite-inner:before, .OnOffReussite-inner:after
{
    display: block;
    float: left;
    width: 50%;
    height: 30px;
    padding: 0;
    line-height: 30px;
    font-size: 14px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.OnOffEtat-inner:before, .OnOffReussite-inner:before
{
    content: "En cours";
    padding-right: 20px;
    background-color: #344AC2;
    color: #FFFFFF;
}

.OnOffEtat-inner:after, .OnOffReussite-inner:after
{
    content: "Terminée";
    padding-left: 20px;
    background-color: #EEEEEE;
    color: #999999;
}

.OnOffEtat-switch, .OnOffReussite-switch
{
    display: block;
    width: 18px;
    margin: 6px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 71px;
    border: 2px solid #030303;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.OnOffEtat-checkbox:checked + .OnOffEtat-label .OnOffEtat-inner, .OnOffReussite-checkbox:checked + .OnOffReussite-label .OnOffReussite-inner { margin-left: 0; }

.OnOffEtat-checkbox:checked + .OnOffEtat-label .OnOffEtat-switch, .OnOffReussite-checkbox:checked + .OnOffReussite-label .OnOffReussite-switch { right: 0px; }



.OnOffReussite { width: 75px; }

.OnOffReussite-inner:before { content: "Oui"; }

.OnOffReussite-inner:after { content: "Non"; }

.OnOffReussite-switch { right: 41px; }



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* Effet Au survol les boutons icônes */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* http://ianlunn.github.io/Hover/ */
.RebondIcone
{
    cursor: pointer;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    transition-duration: 0.3s;
}

.RebondIcone i
{
    transform: translateZ(0);
    transition-duration: 0.3s;
    transition-property: transform;
    transition-timing-function: ease-out;
}

.RebondIcone:hover i, .RebondIcone:focus i, .RebondIcone:active i
{
  transform: scale(1.5);
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
