@font-face {
	font-family: 'sa-digital-number';
	src: url('sa-digital-number.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

body {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    font-size: 14px;
}

header {
    padding: 4px 1px 7px 3px;
    font-family: 'Pacifico', cursive;
    font-size: 24px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    background-color: #4c88f1;
    color: white;
    border-bottom: 5px solid #fff;
}

footer {
    font-size: 13px;
    text-align: center;
    padding: 12px;
}

h1 {
    font-size: 16px;
}

header a { color:white; text-decoration: none;}


#page-container {
    padding: 0px 4px;
    width: 94%;
    min-width: 310px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 4px;
}


.inbl {
    display: inline-block;
}

hr {
     background-color: #aaa;
     height: 1px;
     border: none;
}

#dicesBox {
    text-align: center;
    margin-bottom: 0.3em;
}
#mainDice {
    display: inline-block;
    font-size: 102px;
}
#mainDice.alchimisteDice {
    font-size:40px;
    padding: 36px 0px;
}
#otherDice {
    display: inline-block;
    font-size: 48px;
    font-weight: bold;
}
#playerDice {
    display: inline-block;
    font-size: 26px;
    font-style: italic;
    color: #393939;
    margin: 8px 0px 4px 0px;
}
#noticeDice {
    display: inline-block;
    color: #bbb;
    margin-top: 1em;
    margin-bottom: 1em;
}


.redDice {
    color: #f20000;
}
.plusSign {
    font-size: 72px;
    display: inline-block;
    position: relative;
    top:-18px;
    padding: 0px 10px;
}

.colorJaune {
    color:#ffc400;
}
.colorBleu {
    color:#2599f2;
}
.colorVert {
    color:#29b905;
}
.colorBarbares {
    color:#5f1500;
}

.infoMsg {
    padding: 3px 3px 3px 6px;
}

.errorMsg {
    border: 1px solid red;
    color: #c00;
    background-color: #ffd7d7;
}

.btn {
    display: inline-block;
    background-color: #6c87cc;
    color:#fff;
    width: 46%;
    max-width: 200px;
    height: 1.8em;
    text-align: center;
    padding-top: 0.7em;
    margin-bottom: 3px;
    border: 3px solid #fff;
    border-radius: 8px;
}
.btn-2 {
    display: inline-block;
    background-color: #6c87cc;
    color:#fff;
    /* width: 22%;
    max-width: 200px; */
    height: 1.8em;
    text-align: center;
    padding-top: 0.7em;
    margin-bottom: 3px;
    border-radius: 8px;
}

.btn-quarter {
    display: inline-block;
    background-color: #6c87cc;
    color:#fff;
    /* width: 22%;
    max-width: 100px; */
    height: 1.8em;
    text-align: center;
    padding-top: 0.7em;
    border-radius: 8px;
}

.double_btn {
    padding-top: 1.1em;
    height: 2em;
    width: 94%;
    max-width: 408px;
    font-size: larger;
    font-weight: bold;
}

#btns-container > div {
  width: 94%;
  max-width: 408px;
  margin:0 auto;
  display:flex;
  justify-content: space-between;
  gap:10px;
  margin-bottom:10px;
}
#btns-container > div > * {
  flex: 1;
  border:none;
  width: initial;
  max-width: initial;
}

.btn_save_position {
    background-color: #d24f0d;
}

.btn_disabled {
    background-color: #bbb;
}

.btn_wip {
    background-color: #eee;
    color:#bbb;
}

#joueurName {
    font-size: 14px;
    width: 98%;
}

.hidden {
	display: none;
}

/* ############################################ */
/*        Pour boîte de dialogue modale         */
/* ############################################ */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 72px; /* Location of the box */
  left: 0;
  top: 0px;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


/* Pour modale édit joueurs*/
#jAddRemove {
text-align:center;
}

#jAddRemove div, .plusMoinsBtn {
background-color:red;
display:inline-block;
width:30px; height:30px;
border-radius:15px;
text-align:center;
color:#fff;
font-size:20px;
margin:3px 6px;
}
.j_btn_disabled {
    background-color: #aaa !important;
}
.j_list_item input {
width:94%;
padding:4px;
font-size:16px;
margin-bottom:6px;
}

.configNumber { font-size: 18px; font-weight: bold; position: relative; top:3px;}

.playerTimer {
font-size:15px;
font-weight:bold;
margin-top:5px;
}

#dicesStatsDiv { margin-top:14px;}
.statsCell {
    display: inline-block;
    vertical-align:bottom;
    margin-right:1px;
    box-sizing:border-box;
    padding-top:2px;
    background-color:#aaa;
    width:20px;
    font-size:11px;
    overflow: visible;
}

.statsLabel {
    display:inline-block;
    width:20px;
    margin-right:1px;
    font-size:12px;
}






