/*** PRINT ***/

@media print {
  @page {
    size: letter;
    size: portrait;
  }

  .bloc {
    page-break-after: auto !important;
    page-break-inside: avoid !important;
    break-after: auto !important;
    break-inside: avoid !important;
  }

  .page_break_header {
    page-break-before: always !important;
    break-before: always !important;
    display: block !important;
  }

  #shortcuts,
  #help-top,
  #help-bottom,
  .error {
    display: none !important;
  }

  /* Making disabled inputs as non-disabled */

  input[disabled],
  select[disabled] {
    border-bottom-color: lightgray !important;
    color: black !important;
  }

  input[type="checkbox"][disabled] {
    outline-color: black !important;
    border-color: white !important;
    background-color: white !important;
  }

  input[type="checkbox"][disabled]:checked {
    outline-color: black !important;
    border-color: white !important;
    background-color: gray !important;
  }

}


/*** BODY ***/



body {
  width: 880px;
  font-family: Garamont, serif;
  font-size: 16px;
  margin-left: auto;
  margin-right: auto;
}

.page_break_header {
  width: 100%;
  text-align: right;
  display: none;
  margin: 0px;
  padding: 0px;
}

#shortcuts,
#help-bottom,
#help-top {
  margin-left: 50px;
  margin-top: 5px;
  margin-right: 50px;
  margin-bottom: 25px;
  color: RoyalBlue;
}

#shortcuts button {
  color: RoyalBlue;
  background-color: white;
  border: 2px RoyalBlue solid;
  padding: 8px;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  margin-top: 0px;
  margin-right: 10px;
  margin-left: 10px;
  border-radius: 20%;
}

#shortcuts i {
  size: 20%;
}

.bloc {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 35px;
}


/*** GENERAL ***/

h1 {
  font-family: Corsiva, Times, "Times New Roman", Georgia, serif;
  text-align: center;
  font-size: 32px;
}

h2 {
  margin-bottom: 0px;
  font-size: 24px;
}

th {
  vertical-align: bottom;
}

input,
textarea,
select {
  margin: 1px;
  font-family: cursive;
  font-size: 14px;
  text-overflow: ellipsis;
}

table {
  border-collapse: separate;
  border-spacing: 0 0;
}

input[type="checkbox"] {
  width: 12px;
  height: 12px;
  margin: 2px;
  outline: 1px solid black;
  border: 2px solid white;
  background-color: white;
  vertical-align: middle;
  appearance: none;
  cursor: pointer;
}

.round_cb {
  border-radius: 50%;
}

input[type="checkbox"]:checked {
  outline-color: black;
  border-color: white;
  background-color: gray;
}

input[type="checkbox"][disabled] {
  outline-color: gray;
  border-color: whitesmoke;
  background-color: whitesmoke;
}

input[type="checkbox"][disabled]:checked {
  outline-color: gray;
  border-color: whitesmoke;
  background-color: darkgray;
}

input[type="text"],
input[type="number"],
select {
  border: 2px solid white;
  border-bottom: 2px solid lightgray;
  background-color: white;
  border-radius: 3px;
  -moz-appearance: textfield;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
}

input[type="checkbox"]:focus {
  border-color: lightblue;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  border: 2px solid lightgray;
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: 2px solid lightblue;
  border-color: white;
}

.error {
  color: red;
  font-size: 8px;
  font-family: "Lucida Console", Courier, monospace;
  white-space: pre;
}

input[type="text"]:disabled,
input[type="number"]:disabled,
textarea:disabled,
select:disabled {
  border-color: white;
}

.infobox {
  position: absolute;
  font-size: 12px;
  background-color: lightblue;
  padding: 4px;
  word-wrap: break-word;
}

/*** SIGNALETIQUE ***/

#signaletique .left_col {
  text-align: right;
}

#signaletique .mid_col {
  text-align: center;
  width: 250px;
}

#signaletique img {
  height: 100px;
  width: 200px;
}

#signaletique .right_col {
  text-align: left;
}

#signaletique input[type="text"],
#signaletique select {
  width: 200px;
}

#signaletique input[type="number"] {
  width: 50px;
  text-align: center;
}



/*** ALIGNEMENT ***/


#alignement {
  text-align: center;
  border: 4px double gray;
  padding: 2px;
}

#alignement .axe {
  text-decoration: underline;
}

#alignement .pilier {
  padding-bottom: 10px;
}

#alignement .pilier,
#alignement .valeur {
  color: gray;
  font-style: italic;
}

#alignement .vertu,
#alignement .valeur {
  text-align: right;
  padding-left: 15px;
  padding-right: 5px;
}

#alignement .rang {
  padding-left: 5px;
  padding-right: 15px;
}



/*** COMPETENCES ***/


#competences {
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#competences .groupe {
  padding-top: 10px;
  padding-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#competences .nom_groupe {
  text-decoration: underline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#competences td {
  padding-top:0;
  padding-bottom:0;
}

.note_comp {
  padding-left: 20px;
  font-style: italic;
  color: gray;
}



/*** MAGIE ***/


#magie .expertise {
  text-align: center;
  font-size: 22px;
}

#magie .expertise_checkbox {
  text-align: center;
  padding-bottom: 16px;
}

#magie .rang {
  padding-left: 18px;
  padding-right: 6px;
}



/*** SPECIALITES ***/


#specialites {
  text-align: left;
  margin-left: 50px;
}

#specialites li {
  list-style-type: none;
}

#specialites .nom_spe {
  width: 600px;
}

#specialites .nom_spe_mag {
  width: 400px;
}


/*** Titres et conseillers ***/

#titres li,
#conseillers li {
  list-style-type: none;
  height: 25px;
}

.titre_desc {
  font-style: italic;
  color: gray;
}


/*** BLESSURES ET TRAUMAS ***/


#blessures h2 {
  text-align: center;
}

#blessures td {
  text-align: center;
}

#blessures .header {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  vertical-align: top;
  padding-left: 4px;
  padding-top: 5px;
  color: gray;
  font-size: 11px;
}

#blessures img {
  width: 20px;
}

#blessures .bless_texte {
  text-align: right;
  padding-right: 6px;
}

#blessures .traum_texte {
  text-align: left;
}

#blessures .empty_col {
  width: 20%;
}



/*** SEQUELLES ***/


#sequelles .soustexte {
  color: gray;
}

#sequelles td {
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}

#sequelles h2 {
  text-align: left;
}

#sequelles select {
  width: 120px;
}

#sequelles .description {
  width: 500px;
  text-align: left;
}



/*** ARMES ET ARMURES ET OUTILS ***/


#armes td,
#armures td,
#outils td {
  padding-left: 10px;
  padding-right: 10px;
}

#armes .nom,
#armures .nom {
  width: 150px;
  text-align: left;
}

#outils .nom {
  width: 250px;
  text-align: left;
}

#armes .description,
#armures .description,
#outils .description {
  width: 300px;
  text-align: left;
}

#armes input[type="number"],
#armures input[type="number"] {
  width: 70px;
  text-align: center;
}

#armes .avantages,
#armures .avantages,
#outils .avantages {
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}

#armes .avantages input[type="checkbox"],
#armures .avantages input[type="checkbox"],
#outils .avantages input[type="checkbox"] {
  margin-left: 4px;
  margin-right: 4px;
}


/*** ANNOTATION ***/

#annotation {
  text-align: right;
  margin: 20px;
  color: gray;
}


/*** TALENTS ***/


#talents td {
  padding-left: 10px;
  padding-right: 10px;
}

#talents .nom {
  width: 200px;
  text-align: left;
}

#talents .description {
  width: 360px;
  text-align: left;
}

#talents .utilise {
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
}



/*** CAPITAUX ***/


#capitaux .capital_nom {
  text-align: right;
}

#capitaux .capital_rang {
  padding-left: 10px;
  padding-right: 20px;
}

#capitaux .titre {
  width: 165px;
  margin-left: 4px;
  margin-right: 4px;
}

#capitaux .error {
  width: 20px;
}

#capitaux .soustexte {
  font-size: 9px;
  color: gray;
  padding-bottom: 5px;
}

#capitaux td:not(.soustexte) {
  padding-left: 10px;
  padding-right: 10px;
}




/*** AUGURES ***/


#augure,
#mythique {
  margin-left: 50px;
}

#augure .entree,
#mythique .entree {
  width: 400px;
}

#augure .label,
#mythique .label {
  text-align: right;
  vertical-align: top;
}

#augure .notes,
#mythique .notes {
  padding-left: 30px;
  vertical-align: bottom;
}

#augure textarea,
#mythique textarea {
  width: 150px;
  height: 100px;
  resize: none;
}


/*** LANGUES ***/


#langues .liste {
  padding-right: 50px;
}

#langues .liste select {
  width: 200px;
}

#langue #arbre {
  padding-left: 50px;
}

#langues #arbre th {
  text-decoration: underline;
  font-weight: normal;
  padding-top: 10px;
  padding-bottom: 10px;
}

#langues #arbre .espace {
  height: 10px;
}



/*** EXPERIENCE ***/


#experience_expertise_magique h2 {
  text-align: center;
}

#experience {
  text-align: left;
  padding-right: 80px;
}

#experience .header {
  text-align: right;
}

#experience input[type="number"] {
  width: 50px;
  margin-left: 10px;
  margin-right: 10px;
  text-align: center;
}

#expertise_magique {
  text-align: left;
  padding-left: 80px;
}

#expertise_magique tr {
  text-align: right;
}



/*** VALEURS ***/


#rappel {
  text-align: left;
  padding-left: 15px;
}

#rappel .pilier {
  text-decoration: underline;
}

#rappel .soustexte {
  color: gray !important;
  font-style: italic !important;
  text-align: left !important;
}

#rappel .valeur {
  font-weight: bold;
}

#rappel li {
  list-style-type: none;
}



/*** DESCRIPTION ***/


#description .desc {
  padding-right: 50px;
}

#description .genre {
  width: 350px;
}

#description .phenotype {
  width: 320px;
}

#description .physiom {
  width: 330px;
}

#description .pays {
  width: 300px;
}

#description textarea {
  width: 400px;
  height: 100px;
  resize: none;
  margin-top: 6px;
}

#description .cadre {
  border: 4px lightgray solid;
  outline: 1px black solid;
  width: 300px;
}


#trad_mineure_effet {
  width: 775px;
  text-align: left;
}

#trad_mineure_effet .trad_mineure_effet_text {
  width: 520px;
}



/*** CAPITALISATIONS ***/


#rappelcap {
  padding-top: 15px;
  font-size: 14px;
}

#rappelcap h2 {
  font-size: 22px;
}


#rappelcap table
{
  vertical-align: middle;
  text-align: center;
  font-size: 12px;
}

#rappelcap th
{
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 3px;
  padding-bottom: 3px;  
}

#rappelcap table td
{
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 2px;
  padding-bottom: 2px;
  border-top: 1px solid #CCC;
}

#rappelcap .soustexte {
  color: gray !important;
  font-style: italic !important;
  text-align: left !important;
}
