/*
  Ce fichier contient le CSS spécifique au gestionnaire de PNJ
*/

@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Lexend:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lavishly+Yours&display=swap');

body {
  display: flex;
}

body.waiting {
  cursor: wait !important;
}
 
body.waiting * {
  cursor: wait !important;
}

#buttons_gestion_bdd button{
  width: 150px;
  height: 30px;
  border: 2px royalblue solid;
  background: white;
  border-radius: 8px;
  margin-right: 20px;
  margin-bottom: 15px;
  font-size: 14px;
  color: RoyalBlue;
  cursor: pointer;
}

#autoresize_button {
  width: 30px;
  position: relative;
  top: -2px;
  left: -9px;
  border: none;
  border-radius: 15px;
  background-color: lightgray;
  cursor: pointer;
}

#resize_bar {
  width: 9px;
  background: lightgray;
  outline: solid white 3px;
  outline-offset: -3px;
  
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#left_pannel, 
#right_pannel {
  padding: 6px;
  font-family: 'Atkinson Hyperlegible', Garamont, serif;
  overflow: auto;  
}

#right_pannel {
  width: 1100px;
}

#left_pannel {
  width: 50%;
}

#liste_pnj {
  margin-top: 15px;
  font-size: 14px;
}

#liste_pnj td {
  padding: 2px;
  padding-left: 12px;
  padding-right: 12px;
  cursor: pointer;
}

#liste_pnj td:nth-child(2),
#liste_pnj td:nth-child(3) {
  text-align: center;
}

#liste_pnj td:last-child {
  padding-left: 0;
  padding-right: 0;
  cursor: default;
}

#liste_pnj tr:nth-child(even) {
  background: whitesmoke;
}

#liste_pnj tr:hover {
  background: #d8ecf3;
}

#liste_pnj tr:first-child:hover {
  background: white;
}

#liste_pnj button {
  width: 36px;
  height: 20px;
  border: 0;
  background: none;
  font-size: 14px;
  color: RoyalBlue;
  cursor: pointer;
}

#liste_pnj button:hover {
  color: red;
}

#button_vider_fiche {
  float: right;
}

.tagger {
  border: 0px !important;
  font-size: 12px !important;
  max-width: 510px !important;
}

.tagger input {
  border: 2px solid white !important;
  border-bottom: 2px solid lightgray !important;
  background-color: white !important;
  border-radius: 3px !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
  font-size: 12px !important;
}

.tagger > ul > li:not(.tagger-new) > :first-child {
  background: white !important;
  border: royalblue 1px solid !important;
  cursor: pointer;
}

.tagger > ul > li:not(.tagger-new) > :first-child:hover {
  background: #d2dcf9 !important;
}

.tagger-new {
  margin: 0 !important;
}

.tagger ul {
  padding-top: 0 !important;
  padding-left: 0 !important;
}

.tagger .close {
  color: royalblue !important;
}

.tagger .close:hover {
  color: red !important;
}

#active_filters {
  font-size: 14px;
  list-style: none;
}

#active_filters button {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  font-size: 14px;
}

#filtre_inputs select,
#filtre_inputs input {
  font-size: 14px;
}

#filtre_inputs button,
#active_filters button {
  color: royalblue;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

#filtre_inputs button:hover {
  color: mediumseagreen;
}

#active_filters button:hover {
  color: red;
}

#nb_pnj_line {
  margin-top: 20px;
  text-align: right;
}

#filtre_inputs select {
  cursor: pointer;
}

#select_filtre_relation {
  font-family: "Arial";
  width: 30px;
  text-align: center;
}

#input_filtre_num {
  width: 30px;
  text-align: center;
}

.infobox_tag { /* Temporary, TBDeleted */
  position: absolute !important;
}