
/*
	BRIDGE TRAINING

	Design et styles du module de création de donnes
	Feuille de styles de la page (CSS)

	Vincent Jockin 2010-2023
*/




/*	—————————————————————————————— */
/*	Polices de caractères (fontes) */
/*	—————————————————————————————— */

@font-face {
  font-family: "PCKT";
  src: url('fonts/cards.eot');
  src: url('fonts/cards.eot?#iefix') format('embedded-opentype'),
     url('fonts/cards.woff') format('woff'),
     url('fonts/cards.ttf') format('truetype');
}



/*	—————————————————————————————————— */
/*	Généralités et classes prédéfinies */
/*	—————————————————————————————————— */

body {
  color: #000;
  background: #fff;
  min-width: 22.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: -.02rem;
}
main {
  max-width: 88rem;
}
section {
  overflow: hidden;
}

/* Titrages (headings) */
h1, h2 {
  line-height: 2rem;
  font-size: 1.35rem;
  letter-spacing: -.03rem;
}
h3 {
  line-height: 2rem;
  font-size: 1.25rem;
  letter-spacing: -.0275rem;
}
h4 {
  line-height: 2rem;
  font-size: 1.125rem;
  letter-spacing: -.025rem;
}
h5 {
  line-height: 1.5rem;
  font-size: 1rem;
  letter-spacing: -.0225rem;
}
h6 {
  line-height: 1.5rem;
}
h1, h2, h3, h4, h5 {
  margin-bottom: 0px;
  font-weight: 500;
}

/* Champs & formulaires */
input, select, optgroup, textarea, button {
  font-weight: 400;
}
select {
  padding: 0px .33rem;
  outline: none;
  height: 2rem;
  line-height: 2rem;
  vertical-align: baseline;
}

label, textarea {
  width: 100%;
  border: .0625rem solid #0079c0;
}
label {
  display: block;
  color: #fff;
  background: #0089d0;
  margin-bottom: -.0625rem;
  padding: .25rem .75rem;
  font-weight: 600;
  border-radius: .25rem .25rem 0px 0px;
}
label .glyphicons {
  vertical-align: -1px;
}
textarea,
#comment {
  background: transparent;
  line-height: 1.25rem;
  padding: .5rem .75rem;
  font-weight: 500;
  border-radius: 0px 0px .25rem .25rem;
}
textarea {
  color: #0069b0;
  width: 100%;
  height: 4rem;
  margin-bottom: -.25rem;
  outline: none;
}
textarea + label {
  margin-top: 1.5rem;
}
#bidding-comments label{
  background: #f79419;
  border: .0625rem solid #e78409;
}
#comment {
  color: #d77404;
  min-height: 4rem;
  margin-bottom: 1.5rem;
  border: .0625rem solid #e78409;
  border-width: 0 1px 1px 1px;
}

label[for="final-comment"] {
  background: #6460aa;
}
label[for="final-comment"], #toolbar, #final-comment {
  border-color: #54509a;
}
#toolbar {
  background: rgba(100,96,170,.25);
  height: 2rem;
  padding: 0px;
}
#toolbar [class^="ql-"] {
  width: 2rem;
  height: inherit;
  line-height: 2rem;
}
#toolbar .ql-bold {
  width: 1.75rem;
}
#toolbar .ql-bold, #toolbar .ql-italic {
  padding: .33rem .5rem;
}
#toolbar [class^="ql-"]:not(.ql-bold):not(.ql-italic) {
  padding: 0px;
  font-family: 'pckt';
  font-size: 1.25rem;
}
#toolbar .ql-h:not(:hover), #toolbar .ql-d:not(:hover) {
  color: #cc004c;
}
#final-comment {
  color: #44408a;
  background: transparent;
  min-height: 4rem;
  line-height: 1.25rem;
  padding: .5rem .75rem;
  font-family:inherit;
  font-size: inherit;
  font-weight: 500;
  border-radius: 0px 0px .25rem .25rem;
}
#final-comment .ql-editor {
  padding: 0px;
}




/*	————————————————————— */
/*	Navigations & boutons */
/*	————————————————————— */

/* Boutons */
button.btn,
button.btn:focus {
  color: #fff;
  background: #0089d0;
  height: 2rem;
  line-height: 1.25rem;
  padding: .25rem .75rem;
  font-weight: 600;
  border-color: #0079c0;
  box-sizing: border-box;
  transition: all .15s;
}
button.btn:focus {
  box-shadow: 0px 0px .125rem .125rem rgba(0,0,0,.25);
}
.btn-orange, .btn-orange:focus {
  background: #f79419 !important;
  border-color: #e78409 !important;
  margin-top: 1.5rem;
  width: 8rem;
}
button.btn:hover {
  color: #fff;
  background: #fcb711 !important;
  border-color: #eca701 !important;
}
button .glyphicons {
  width: 1.125rem;
  font-weight: initial;
  text-align: left;
  vertical-align: -.1rem;
}
button i,
button em {
  font-style: normal;
}
button > em {
  transition: inherit;
}

/* Bouton de validation */
#submit-wrapper {
  margin-bottom: 3rem;
  text-align: center;
}
#submit-wrapper button {
  width: 12rem;
  height: 3rem;
  line-height: 2rem;
  font-size: 1.8rem;
  letter-spacing: -.04rem;
}
#submit-wrapper button.btn-disabled {
  cursor: default !important;
  pointer-events: none !important;
  opacity: .8;
}

/* Navigation par onglets */
nav {
  margin-top: -.25rem;
}
.nav-tabs {
  border-color: #e78409;
}
.nav-tabs .nav-link {
  color: #f79419;
  background: #fff;
  margin: 0px .5rem -.0625rem .5rem;
  font-weight: 600;
  border: .0625rem solid #e78409;
  transition: color .15s, background .15s, border .15s;
}
.nav-tabs .nav-link:first-child {
  margin-left: 1rem;
}
.nav-tabs .nav-link:first-child {
  margin-right: 1rem;
}
.nav-tabs .nav-link.active {
  color: #fff;
  background: #f79419;
}
.nav-tabs .nav-link:not(.active):hover,
.nav-tabs .nav-link:not(.active):focus {
  color: #fff;
  background: #fcb711;
  border-color: #eca701;
}
.nav-tabs .nav-link:not(.active):hover em,
.nav-tabs .nav-link:not(.active):focus em {
  color: #fff;
}

/* Language switch */
nav {
  margin-top: .25rem;
}
nav .language {
  position: relative;
}
.language > div {
  height: 22px;
  position: relative;
  cursor: pointer;
  padding-bottom: 1.25em;
}
.language #indicator {
  width: 1.25em;
  vertical-align: bottom;
  display: inline;
}
.language .flag {
  width: 1.5625em;
  aspect-ratio: 600 / 400;
  display: inline-block;
}
.language ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  display: none;
}
.language div:hover ul {
  position: absolute;
  top: 1.5625em;
  left: -1.1em;
  display: block;
  background-color: #fff;
  width: 3.75em;
  padding-top: 0;
  z-index: 1;
  border-radius: 0.3125em;
  box-shadow: 0px 0px 0.8em rgba(0, 0, 0, 0.2);
}
.language li {
  position: relative;
  text-align: left;
  background: transparent;
  z-index: 2;
  color: #3c3c3c;
  text-align: center;
  border-radius: 0.3125em;
}
.language li:first-child {
  border-radius: 0.3125em 0.3125em 0 0;
}
.language li:last-child {
  border-radius: 0 0 0.3125em 0.3125em;
}
.language li a {
  text-decoration: none;
  cursor: pointer;
  color: #3c3c3c;
}
.language li a svg {
  margin: 0.75em;
}
.language li:hover,
.language li:hover a {
  background-color: #0089d0;
  color: white;
}




/*	———————————————————————————————— */
/*	Sections & conteneurs principaux */
/*	———————————————————————————————— */

.container-fluid {
  padding-left: 2rem;
  padding-right: 2rem;
}

#upload,
#picker,
article {
  display: inline-block;
  width: 100%;
}
section,
article,
#submit-wrapper {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: .0625rem solid rgba(50,48,85,.25);
}
div[id$="-comments"] {
  margin-top: 2rem;
}

#data-tab .row {
  position: relative;
  width: 100%;
  margin-left: 0px;
}

/* Header */
header.navbar {
  background: transparent;
  padding: 1rem 0px;
}
header div {
  position: relative;
}
header div,
header img {
  height: 6rem;
}
header img {
  position: absolute;
  left: 50%;
  top: 0px;
  transform: translateX(-50%);
  transition: width .25s, height .25s, left .25s;
}
header nav {
  position: absolute;
  right: 0px;
  top: 0px;
  padding-right: inherit;
}
header a,
header a:link,
header a:visited {
  color: #6460aa;
}
header a:hover,
header a:active,
header a:focus {
  color: #cc004c;
}
#baseline {
  margin: 1rem 0px 0px 0px;
  font-weight: 400;
  text-align: center;
}

/* Footer */
footer span.bt-copyright-2,
html[lang="fr"] footer .bt-en,
html:not([lang="fr"]) footer .bt-fr {
  display: none;
}
footer a,
footer a:link,
footer a:visited {
  color: #6460aa;
  font-weight: 600;
  text-decoration: none;
}
footer a:hover,
footer a:active,
footer a:focus {
  color: #cc004c;
}

/* Colonnes responsives */
#picker > div:first-child,
#board-wrapper {
  width: 50%;
}
#picker > div:last-child,
#bidding-wrapper {
  width: 50%;
}

/* Courriels */
span.bt-email {
  color: #6460aa;
  cursor: pointer;
  transition: color .15s;
}
span.bt-email:hover {
  color: #cc004c;
}
span.bt-email.bt-none {
  font-weight: 600;
}
span.bt-email:not(.bt-none)::before {
  content: attr(data-service);
}
span.bt-email:not(.bt-none)::after {
  content: 'bridge-training.com';
}




/*	————————————————————————————— */
/* 	Charger un fichier PND ou DUP */
/*	————————————————————————————— */

#upload h2 {
  font-weight: 600;
}
#upload h2::after {
  content: '\e419';
  line-height: inherit;
  padding-left: .375rem;
  font-family: 'Glyphicons Regular';
  font-size: 1.25rem;
  vertical-align: -.1rem;
}

#picker > div:first-child {
  float: left;
  padding-right: 1rem;
}
#picker > div:last-child {
  float: right;
  padding-left: 1rem;
  border-left: .0625rem dashed rgba(50,48,85,.25);
}
#picker > div > div {
  width: 100%;
}

#picker button {
  position: relative;
  width: 2rem;
}
#picker button::after {
  position: absolute;
  left: 0px;
  right: 0px;
  margin: 0px auto;
  font-family: 'Glyphicons Regular';
  font-size: 1rem;
}
#picker button[id*="prev"]::after {
  content: '\e225';
}
#picker button[id*="next"]::after {
  content: '\e224';
}
#picker select {
  max-width: 24rem;
  width: calc(100% - 4.5rem);
  margin: 0px .25rem;
}




/*	—————————————————————————— */
/*	Plateau de jeu (diagramme) */
/*	—————————————————————————— */

#board-wrapper {
  float: left;
  padding-right: 1rem;
  border-right: .0625rem dashed rgba(50,48,85,.25);
}

#board-table {
  position: relative;
  width: 100%;
  height: 26.5rem;
}
#board-table select,
#board-table button {
  z-index: 2;
  position: absolute;
}
#board-table select#pos-player {
  right: 0px;
  top: 0px;
}
#board-table button#complete-hands {
  left: 0px;
  bottom: 0px;
}
#board-table button#board-swap {
  right: 0px;
  bottom: 0px;
}

#board-notice {
  z-index: 2;
  position: absolute;
    min-width: 8rem;
  left: 0px;
  top: 0px;
  border: .0625rem solid #0079c0;
  border-radius: .25rem;
  overflow: hidden;
}
#board-notice > p {
  background: #fff;
  line-height: 2rem;
  padding-right: 0.5rem;
  margin-bottom: 0px;
}
#board-notice > p:not(:last-child) {
  border-bottom: .0625rem solid #0079c0;
}
#board-notice > p > i {
  display: inline-block;
  color: #fff;
  background: #0089d0;
  width: 4.9rem;
  margin-right: .5rem;
  padding: 0px .75rem;
  font-weight: 500;
  font-style: normal;
}

#board-contract,
#board-lead {
  display: inline-block;
  width: 2.1rem;
  line-height: 1.75rem;
  font-size: 1rem;
  letter-spacing: -.0225rem;
  text-align: center;
  vertical-align: -.0625rem;
}
#board-contract b {
  font-family: 'Arial', sans-serif;
  font-weight: 600;
}
#board-lead b {
  font-weight: 500;
}
#board-contract i,
#board-lead i {
  font-family: 'PCKT';
  font-style: normal;
}

/* Mains des joueurs (NSEO) */
#board-wrapper .board-hands {
  position: absolute;
  display: block;
  left: 0px;
  right: 0px;
  top: 0px;
  width: 30rem;
  margin: 0px auto;
}
#board-wrapper .board-hands-cell {
  float: left;
  display: block;
  width: 10rem !important;
  height: 8.6875rem;
}
#board-wrapper .board-hands-cell:nth-child(3n+1) {
  padding-right: .165rem;
}
#board-wrapper .board-hands-cell:nth-child(3n+2) {
  padding: 0px .0825rem;
}
#board-wrapper .board-hands-cell:nth-child(3n+3) {
  padding-left: .165rem;
}
#board-wrapper .board-hands-cell:nth-child(1),
#board-wrapper .board-hands-cell:nth-child(2),
#board-wrapper .board-hands-cell:nth-child(3) {
  margin-bottom: .25rem;
}
#board-wrapper .board-hands-cell:nth-child(7),
#board-wrapper .board-hands-cell:nth-child(8),
#board-wrapper .board-hands-cell:nth-child(9) {
  margin-top: .25rem;
}
#board-wrapper .board-hands-cell > span {
  display: block;
  background: #0db14b;
  width: 100%;
  height: 100%;
  border: .0625rem solid #07a13b;
  border-radius: .25rem;
}
#board-wrapper .board-hands-cell h6,
#board-wrapper .board-hands-cell ul {
  width: 100% !important;
  margin: 0px !important;
}
#board-wrapper .board-hands-cell h6 {
  color: #fff;
  padding-left: 1.5rem;
  font-size: .675rem;
  font-weight: 600;
  letter-spacing: -.015rem;
  text-transform: uppercase;
  border-radius: .25rem .25rem 0px 0px;
}
#board-wrapper .board-hands-cell:not(.bt-hand-vuln) h6 {
  background: #0db14b;
}
#board-wrapper .board-hands-cell:not(.bt-hand-vuln) h6,
#board-wrapper .board-hands-cell:not(.bt-hand-vuln) ul {
  border: .0625rem solid #07a13b;
}
#board-wrapper .board-hands-cell.bt-hand-vuln h6 {
  background: #cc004c;
}
#board-wrapper .board-hands-cell.bt-hand-vuln h6,
#board-wrapper .board-hands-cell.bt-hand-vuln ul {
  border: .0625rem solid #bc003c;
}
#board-wrapper .board-hands-cell h6 i {
  margin-left: .5rem;
  font-style: normal;
  font-weight: 400;
  text-transform: initial;
}
#board-wrapper .board-hands-cell ul {
  background: #fff;
  padding: 0px !important;
  border-top: 0px none !important;
  border-radius: 0px 0px .25rem .25rem;
  overflow: hidden;
  list-style: none;
}
.bt-error {
  border-color: #cc004c !important;
  box-shadow: 0px 0px .5rem .25rem #cc004c;
}
#board-wrapper .board-hands-cell ul li {
  width: 100%;
  height: 1.75rem;
  line-height: 1.75rem;
  font-family: 'Sofia Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -.025rem;
  word-spacing: .025rem;
  white-space: nowrap;
  list-style: none;
}
#board-wrapper .board-hands-cell ul li input {
  width: 100%;
  max-width: 79%;
  line-height: 1.625rem;
  font-size: inherit;
  border: 0px none;
  letter-spacing: inherit;
  word-spacing: inherit;
  text-transform: uppercase;
  text-decoration: none;
  outline: none;
}

/* Symboles des couleurs (PCKT) */
#board-wrapper .board-hands-cell ul li::before {
  display: inline-block;
  width: 1.5rem;
  height: inherit;
  line-height: inherit;
  text-align: center;
  font-family: 'PCKT';
  font-size: inherit;
  letter-spacing: 0px !important;
  vertical-align: -.025rem;
}
#board-wrapper .board-hands-cell ul li[id$="-s"]::before { content: 's'; font-size: 1.25rem !important; }
#board-wrapper .board-hands-cell ul li[id$="-h"]::before { content: '3'; font-size: 1.25rem !important; color: #cc004c; }
#board-wrapper .board-hands-cell ul li[id$="-d"]::before { content: '4'; font-size: 1.375rem !important; color: #cc004c; }
#board-wrapper .board-hands-cell ul li[id$="-c"]::before { content: 'c'; font-size: 1.25rem !important; }

/* Longueurs supérieures ou égales à 8 cartes */
#board-wrapper .board-hands-cell ul li.bt-at-least-8,
#board-wrapper .board-hands-cell ul li.bt-at-least-9 { letter-spacing: -.05rem; }
#board-wrapper .board-hands-cell ul li.bt-at-least-10 { letter-spacing: 0px; }
#board-wrapper .board-hands-cell ul li.bt-at-least-11 { letter-spacing: -.03rem; }
#board-wrapper .board-hands-cell ul li.bt-at-least-12 { letter-spacing: .01rem; }
#board-wrapper .board-hands-cell ul li.bt-at-least-13 { letter-spacing: -.01rem; }
#board-wrapper .board-hands-cell ul li.bt-at-least-9 { font-family: 'Sofia Sans Semi Condensed', sans-serif; }
#board-wrapper .board-hands-cell ul li.bt-at-least-10,
#board-wrapper .board-hands-cell ul li.bt-at-least-11 { font-family: 'Sofia Sans Condensed', sans-serif; }
#board-wrapper .board-hands-cell ul li.bt-at-least-12,
#board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-family: 'Sofia Sans Extra Condensed', sans-serif; }




/*	———————————————————— */
/*	Données facultatives */
/*	———————————————————— */

#data-tab form {
  margin-bottom: 2rem;
}
#data-tab form ul {
  display: table;
  margin: 0px;
  padding: 0px;
  list-style: none;
}
#data-tab form ul li {
  display: table-cell;
}
#data-tab form ul li:not(:nth-child(2)) {
  width: auto;
}
#data-tab form ul li:nth-child(2) {
  width: 100%;
  text-align: center;
}
#data-tab form ul li:last-child {
  text-align: right;
}




/*	——————————————————————————— */
/*	Enchères & boîte à enchères */
/*	——————————————————————————— */

#bidding-wrapper {
  float: right;
  padding-left: 1rem;
}
#bidding-wrapper #tab-content > div[id*="tab"] {
  padding-top: 1.5rem;
}

body.box-opened #data-tab form + .row {
  min-height: 18.125rem;
}

/* Tableau des enchères */
#bidding {
  display: block;
  width: 18rem;
  margin-right: calc(100% - 18rem);
  padding: 0px;
}
#bidding h4 {
  position: relative;
  color: #fff;
  background: #f79419;
  width: 18rem;
  margin-bottom: -.0625rem;
  font-weight: 600;
  border: .0625rem solid #e78409;
  border-radius: .25rem .25rem 0px 0px;
  text-align: center;
}
#bidding h4 .help.glyphicons {
  font-size: 1rem;
  font-weight: initial;
  vertical-align: baseline;
}
#bidding h4 #btn-delete {
  position: absolute;
  height: 2rem;
  line-height: 1.875rem;
  right: .5rem;
  top: 0px;
  font-size: 1.35rem;
  letter-spacing: -.03rem;
  cursor: pointer;
}

#bidding #players {
  color: #d77404;
  background: rgba(248,147,25,.25);
  width: 100%;
  height: 2rem;
  line-height: calc(2rem - 1px);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: -.0175rem;
  border: .0625rem solid #e78409;
  border-bottom: 0px none;
  box-sizing: border-box;
  text-transform: uppercase;
}
#bidding #players li.bt-not-vuln {
  color: #fff;
  background: #0db14b;
}
#bidding #players li.bt-vuln {
  color: #fff;
  background: #cc004c;
}
#bidding #players li {
  height: 2rem;
  cursor: pointer;
}

#bidding #sequence {
  background: #fff;
  width: 100%;
  min-height: 2.65rem;
  line-height: 2.5rem;
  margin: -.5rem 0px -.4rem 0px;
  font-family: 'Arial', sans-serif;
  font-size: 1.125rem;
  letter-spacing: -.025rem;
  border: .0625rem solid #e78409;
  border-radius: 0px 0px .25rem .25rem;
  overflow: hidden;
}
#bidding #sequence li {
  height: 2.5rem;
}
#bidding #sequence li b {
    font-weight: 600;
}

#bidding ul {
  display: inline-block;
  width: 100%;
  margin: 0px;
  padding: 0px;
}
#bidding ul li {
  display: block;
  float: left;
  width: 25%;
  text-align: center;
}
#bidding ul li i {
  font-family: 'PCKT' ;
  font-style: normal;
}

/* Passe, contre (X) et surcontre (XX) */
#bidding ul li span,
#bidding ul li.card-x b,
#bidding ul li.card-xx b {
  color: #fff;
  padding: .2rem .4rem;
  font-size: .675rem;
  font-weight: 600;
  letter-spacing: -.015rem;
  vertical-align: .25rem;
  border-radius: .25rem;
}
#bidding ul li span {
  background: #0db14b;
  border: .0625rem solid #07a13b;
}
#bidding ul li.card-x b {
  background: #cc004c;
  border: .0625rem solid #bc003c;
}
#bidding ul li.card-xx b {
  background: #353491;
  border: .0625rem solid #252481;
}

/* Alerte */
#bidding ul li.alert {
  margin: 0px;
  padding: 0px;
  border: 0px none;
}
#bidding ul li.alert::after {
  content: 'A';
  position: absolute;
  display: block;
  color: #fff;
  background: #4678b6;
  width: 1rem;
  height: 1rem;
  line-height: .875rem;
  right: .125rem;
  top: .125rem;
  font-size: .675rem;
  font-weight: 600;
  letter-spacing: -.015rem;
  border: .0625rem solid #3668a6;
  border-radius: .25rem;
}

/* Boîte à enchères */
html #box {
  background-image: url(images/bidding-box.png);
}
html[lang*="fr"] #box {
  background-image: url(images/boite-a-encheres.png);
}
#box {
  position: absolute;
  display: block;
  background-size: 100%;
  background-repeat: no-repeat;
  width: 15.125rem;
  height: 18.125rem;
  left: 20rem;
  top: 0px;
  padding: 0px;
  border: .0625rem solid rgba(50,48,85,.5);
  border-radius: .4rem;
}
#box ul {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: .4rem .4rem .2rem .2rem;
  box-shadow: .5rem .5rem .5rem 0px rgba(0,0,0,.33);
  overflow: hidden;
}
#box ul li {
  display: block;
  float: right;
  background: #fff;
  width: 20%;
  height: 12.5%;
  line-height: 12.5%;
  border: 0px none;
  border-radius: 0px;
  cursor: pointer;
  opacity: 0;
}

/* Cartons spécifiques */
#box ul li[data-bidding="XX"],
#box ul li[data-bidding ="Alert"] {
  width: 22.5%;
}
#box ul li[data-bidding ="PASS"] {
  width: 37.5%;
}
#box ul li[data-bidding ="X"] {
  width: 17.5%;
}
#box ul li:hover {
  opacity: .2;
}
#box ul li.disabled {
  cursor: default !important;
  pointer-events: none !important;
  opacity: .8;
}

#cards {
  padding: 0;
}

/* Bouton d’ouverture/fermeture */
#btn-open-box, #btn-rotate-dealer {
  background: #f79419;
  width: 8rem;
  margin-top: 1.5rem;
  border-color: #e78409;
}
#btn-open-box:hover {
  background: #fcb711;
  border-color: #eca701;
}
body.box-closed #box,
body.box-closed #btn-open-box > span:last-child,
body.box-opened #btn-open-box > span:first-child {
  display: none;
}




/*	————————— */
/*	Pédagogie */
/*	————————— */

#teacher-tab ul {
  width: 22rem;
  margin: 0px;
  padding: 0px;
}
#teacher-tab ul table {
  width: 100%;
}
#teacher-tab ul table tr:nth-child(even) {
  height: 1rem;
}
#teacher-tab ul table label {
  color: #d77404 !important;
  font-weight: 500;
  border-color: #e78409;
}
#teacher-tab ul table select {
  width: 100%;
}
#teacher-tab ul table select optgroup {
  color: #000;
}
#teacher-tab .btn-check:checked + .btn-outline-primary,
#teacher-tab .btn-check:active + .btn-outline-primary,
#teacher-tab .btn-outline-primary:active,
#teacher-tab .btn-outline-primary.active {
  color: #fff !important;
  font-weight: 600;
}
#teacher-tab .btn-check:checked + .btn-outline-primary,
#teacher-tab .btn-check:active + .btn-outline-primary,
#teacher-tab .btn-outline-primary:active,
#teacher-tab .btn-outline-primary.active {
  background: #f79419;
}
#teacher-tab .btn-check:checked + .btn-outline-primary:hover,
#teacher-tab .btn-check:checked + .btn-outline-primary:focus,
#teacher-tab .btn-check:active + .btn-outline-primary:hover,
#teacher-tab .btn-check:active + .btn-outline-primary:focus,
#teacher-tab .btn-outline-primary:hover,
#teacher-tab .btn-outline-primary:focus {
  color: #fff !important;
  background: #fcb711;
  border-color: #eca701;
}
#teacher-tab .btn-check:focus + .btn-outline-primary,
#teacher-tab .btn-outline-primary:focus {
  box-shadow: 0px 0px .125rem .125rem rgba(0,0,0,.25);
}




/*	—————————————————— */
/*	Génération du lien */
/*	—————————————————— */

#gen-url {
  margin: -1rem 0px 2rem 0px;
  text-align: center;
}
#gen-url .card {
  color: #003960;
  background: #0089d0;
  font-weight: 600;
  border-color: #0079c0;
  border-radius: .5rem;
}
#gen-url .card-body {
  padding: 1.5rem;
}
#gen-url .card-title {
  color: #003960 !important;
}
#gen-url .card-body a {
  display: inline-block;
  color: #fff !important;
}
#gen-url .card-title,
#gen-url .card-body a {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.03rem;
}
#gen-url .card-body a:hover,
#gen-url .card-body a:focus {
  color: #003960 !important;
}
#gen-url .card-body a + span {
  margin-left: .5rem;
  font-size: 2rem;
  cursor: pointer;
}
#gen-url .card-body a + span:hover {
  color: #fff;
}
#gen-url .card-body a + span::after {
  content: '';
  clear: both;
}

#gen-url #qrcode {
  position: relative;
  background: #fff;
  width: 14rem;
  height: 14rem;
  margin: 0px auto 1rem;
  padding: 3rem;
  border-radius: .375rem;
  overflow: hidden;
}
#gen-url #qrcode > *:not(span) {
  width: 100% !important;
  height: 100% !important;
}

#gen-url #qrcode > span {
  display: block;
  position: absolute;
  width: 100%;
  height: 3rem;
  line-height: 3rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  user-select: none;
}
#gen-url #qrcode > span:nth-child(2) {
  color: #0db14b;
  top: 0px;
}
#gen-url #qrcode > span:nth-child(1),
#gen-url #qrcode > span:nth-child(3) {
  top: calc(50% - 1.5rem);
  transform-origin: center;
}
#gen-url #qrcode > span:nth-child(1) {
  color: #cc004c;
  left: calc(1.5rem - 50%);
  transform: rotate(-90deg);
}
#gen-url #qrcode > span:nth-child(3) {
  color: #6460aa;
  right: calc(1.5rem - 50%);
  transform: rotate(90deg);
}
#gen-url #qrcode > span:nth-child(4) {
  bottom: 0px;
  font-size: .7rem;
}
#gen-url #qrcode > span img {
  width: auto;
  height: 60%;
}

#gen-qrcode-titles {
  display: none;
}

#gen-buttons {
  margin: 2rem 0px 0px 0px;
}
#gen-buttons button.btn,
#gen-buttons button.btn:focus {
  display: block;
  background: #0db14b;
  margin-left: auto;
  margin-right: auto;
}
#gen-buttons button.btn:not(:first-child) {
  margin-top: .5rem;
}
#gen-buttons button.btn:hover {
  background: #fcb711;
}




/*	————————————— */
/*	Divers styles */
/*	————————————— */

/* Icone d’aide */
.help.glyphicons {
  margin-left: .5rem;
  transition: color .15s;
  cursor: help;
}

/* Bulle informative (tooltip) */
.tooltip.show {
  opacity: 1;
}
.tooltip .tooltip-arrow::before {
  display: none;
}
.tooltip-inner {
  color: #fff;
  background: #cc004c;
  max-width: 32rem !important;
  min-width: 20rem !important;
  width: inherit !important;
  padding: 1rem !important;
  white-space: nowrap;
  border: .0625rem solid #bc003c;
  box-shadow: .5rem .5rem .5rem 0px rgba(0,0,0,.33);
}

/* Boîte de dialogue */
.popover {
  background: #fff;
  border-color: rgba(50,48,85,.25);
  box-shadow: .5rem .5rem .5rem 0px rgba(0,0,0,.33);
}
.popover .popover-arrow::before {
  border-right-color: rgba(50,48,85,.25);
}
.popover .popover-arrow::after {
  border-right-color: #0a1f2d;
}
.popover-body div .btn-success {
  margin-right: .5rem;
}
.popover-body div .btn-danger {
  margin-left: .5rem;
}
.popover-body textarea {
  margin-bottom: 1rem;
  border-radius: .25rem;
}

/* Couleur rouge personnalisée */
.bt-red {
  color: #cc004c;
}

.bt-hred:not(:hover) {
  color: #cc004c;
}




/*	———————————————————————— */
/*	Résolutions alternatives */
/*	———————————————————————— */

@media only screen and (min-width: 90rem)
{
  /* Colonnes responsives */
  #board-wrapper {
    padding-right: 2rem;
  }
  #bidding-wrapper {
    padding-left: 2rem;
  }
}

@media only screen and (min-width: 67.5rem) and (max-width: 90rem)
{
  /* Boutons */
  button:not(.nav-link) em {
    display: none;
  }
}

@media only screen and (min-width: 67.5rem) and (max-width: 76.25rem)
{
  /* Enchères */
  #box {
    position: relative;
    left: initial;
    top: initial;
    margin-top: -21.625rem;
  }
  body.box-opened #btn-open-box {
    margin-top: 21.125rem;
  }
}

@media only screen and (max-width: 67.5rem)
{
  /* Sections & conteneurs principaux */
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Colonnes responsives */
  #picker > div:first-child,
  #picker > div:last-child,
  #board-wrapper,
  #bidding-wrapper {
    float: initial;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    border: 0px none;
  }
  #picker > div:last-child {
    margin-top: 1rem;
  }
  #bidding-wrapper {
    margin-top: 3rem;
  }
}

@media only screen and (max-width: 50rem)
{
  /* Header */
  header div,
  header img {
    height: 5rem;
  }
  header img {
    position: relative;
    left: 0px;
    transform: translateX(0);
  }
  #baseline {
    line-height: 1.5rem;
    margin-top: 0px;
    font-size: 1.125rem;
    letter-spacing: -.025rem;
    text-align: left;
  }

  /* Footer */
  footer {
    line-height: 1rem;
    font-size: .675rem;
    letter-spacing: -.015rem;
  }
  footer span.bt-copyright-1 { display: none; }
  footer span.bt-copyright-2 { display: block; }
}

@media only screen and (max-width: 45rem)
{
  /* Boutons */
  button:not(.nav-link) em {
    display: none;
  }
}

@media only screen and (max-width: 40rem)
{
  /*	Généralités */
  h2 {
    font-size: 1.125rem;
    letter-spacing: -.025rem;
  }

  /* Sections & conteneurs prinicpaux */
  section, article {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  /* Boutons */
  button i {
    display: none;
  }

  /* Plateau de jeu */
  #board-table button .glyphicons {
    text-align: center;
  }

  /* Enchères */
  body.box-opened #data-tab h4 + .row {
    min-height: 18.5rem;
  }
  #box {
    left: 19rem;
  }
  #btn-open-box, #btn-rotate-dealer {
    margin-top: 1rem;
  }
}

@media only screen and (max-width: 36.125rem)
{
  /* Enchères */
  #bidding {
    margin: 0px calc((100% - 18rem) / 2);
    text-align: center;
  }
  #box {
    position: relative;
    left: initial;
    top: initial;
    margin: -21.125rem calc((100% - 15.125rem) / 2) 0px;
  }
  body.box-opened #btn-open-box {
    margin-top: 20.125rem;
  }

  /* Pédagogie */
  #teacher-tab ul {
    margin: 0px calc((100% - 22.5rem) / 2);
  }
}

@media only screen and (max-width: 32.5rem)
{
  /* Données facultatives */
  #data-tab form ul {
    position: relative;
    display: block;
    height: 4.5rem;
  }
  #data-tab form ul li {
    position: absolute;
    display: block;
  }
  #data-tab form ul li:not(:nth-child(2)) {
    width: 50%;
    top: 0px;
  }
  #data-tab form ul li:nth-child(2) {
    width: 100%;
    left: 0px;
    top: 2.5rem;
  }
  #data-tab form ul li:first-child {
    left: 0px;
  }
  #data-tab form ul li:last-child {
    right: 0px;
  }
}

@media only screen and (max-width: 32rem)
{
  /* Boutons */
  button em {
    display: none;
  }

  /* Plateau de jeu */
  #board-table {
    height: 26.25rem;
  }
  #board-wrapper .board-hands {
    width: calc(100vw - 2rem) !important;
    min-width: 20.5rem;
    margin: 3rem 0px 0px 0px;
  }
  #board-wrapper .board-hands-cell {
    width: calc((100vw - 2rem) / 3) !important;
    min-width: calc(20.5rem / 3);
    height: 7.5625rem;
  }
  #board-wrapper .board-hands-cell h6 {
    line-height: 1.375rem;
    padding-left: 1.375rem;
  }
  #board-wrapper .board-hands-cell h6 i {
    margin-left: .25rem;
    letter-spacing: -.025rem;
  }
  #board-wrapper .board-hands-cell ul li {
    height: 1.5rem;
    line-height: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: -.01rem;
    word-spacing: .01rem;
  }
  #board-wrapper .board-hands-cell ul li input {
    line-height: 1.4rem;
    max-width: 79%;
  }
  #board-wrapper .board-hands-cell ul li::before {
    width: 1.375rem;
  }

  /* Pédagogie */
  #teacher-tab ul {
    width: 20.5rem;
    margin: 0px calc((100% - 20.5rem) / 2);
  }
}

@media only screen and (max-width: 27rem)
{
  /* Plateau de jeu */
  #board-table {
    height: 28.25rem;
  }
  #board-wrapper .board-hands {
    margin: 5rem 0px 0px 0px;
  }
  #board-wrapper .board-hands-cell:nth-last-child(2) h6 {
    padding-left: 0px;
    text-align: center;
  }
}

@media only screen and (min-width: 31.5rem) and (max-width: 32rem)
{
  /* Longueurs supérieures ou égales à 10 cartes */
  #board-wrapper .board-hands-cell ul li.bt-at-least-10,
  #board-wrapper .board-hands-cell ul li.bt-at-least-11,
  #board-wrapper .board-hands-cell ul li.bt-at-least-12
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { word-spacing: 0px; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-10 { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.03rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-11 { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.07rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-12 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.01rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.045rem; }
}

@media only screen and (min-width: 30.5rem) and (max-width: 31.4375rem)
{
  /* Longueurs supérieures ou égales à 9 cartes */
  #board-wrapper .board-hands-cell ul li.bt-at-least-9,
  #board-wrapper .board-hands-cell ul li.bt-at-least-10,
  #board-wrapper .board-hands-cell ul li.bt-at-least-11,
  #board-wrapper .board-hands-cell ul li.bt-at-least-12
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { word-spacing: 0px; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-9  { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.01rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-10 { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.05rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-11 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: 0px; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-12 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.03rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.05rem; }
}

@media only screen and (min-width: 29.5rem) and (max-width: 30.4375rem)
{
  /* Longueurs supérieures ou égales à 9 cartes */
  #board-wrapper .board-hands-cell ul li.bt-at-least-9,
  #board-wrapper .board-hands-cell ul li.bt-at-least-10,
  #board-wrapper .board-hands-cell ul li.bt-at-least-11,
  #board-wrapper .board-hands-cell ul li.bt-at-least-12
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { word-spacing: 0px; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-9  { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.04rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-10 { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.07rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-11 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.02rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-12 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.045rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.065rem; }
}

@media only screen and (min-width: 28.5rem) and (max-width: 29.4375rem)
{
  /* Longueurs supérieures ou égales à 8 cartes */
  #board-wrapper .board-hands-cell ul li.bt-at-least-8,
  #board-wrapper .board-hands-cell ul li.bt-at-least-9,
  #board-wrapper .board-hands-cell ul li.bt-at-least-10,
  #board-wrapper .board-hands-cell ul li.bt-at-least-11,
  #board-wrapper .board-hands-cell ul li.bt-at-least-12
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { word-spacing: 0px; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-8  { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.01rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-9  { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.055rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-10 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.005rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-11 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.035rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-12 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.055rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.01rem; }
}

@media only screen and (min-width: 27.5rem) and (max-width: 28.4375rem)
{
  /* Longueurs supérieures ou égales à 8 cartes */
  #board-wrapper .board-hands-cell ul li.bt-at-least-8,
  #board-wrapper .board-hands-cell ul li.bt-at-least-9,
  #board-wrapper .board-hands-cell ul li.bt-at-least-10,
  #board-wrapper .board-hands-cell ul li.bt-at-least-11,
  #board-wrapper .board-hands-cell ul li.bt-at-least-12
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { word-spacing: 0px; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-8  { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.03rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-9  { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.075rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-10 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.025rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-11 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.05rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-12 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.075rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.025rem; }
}

@media only screen and (min-width: 26.5rem) and (max-width: 27.4375rem)
{
  /* Longueurs supérieures ou égales à 7 cartes */
  #board-wrapper .board-hands-cell ul li.bt-at-least-7,
  #board-wrapper .board-hands-cell ul li.bt-at-least-8,
  #board-wrapper .board-hands-cell ul li.bt-at-least-9,
  #board-wrapper .board-hands-cell ul li.bt-at-least-10,
  #board-wrapper .board-hands-cell ul li.bt-at-least-11,
  #board-wrapper .board-hands-cell ul li.bt-at-least-12
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { word-spacing: 0px; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-7  { letter-spacing: -.025rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-8  { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.05rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-9  { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.01rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-10 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.04rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-11 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.065rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-12 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.02rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.035rem; }
}

@media only screen and (min-width: 25.5rem) and (max-width: 26.4375rem)
{
  /* Longueurs supérieures ou égales à 7 cartes */
  #board-wrapper .board-hands-cell ul li.bt-at-least-7,
  #board-wrapper .board-hands-cell ul li.bt-at-least-8,
  #board-wrapper .board-hands-cell ul li.bt-at-least-9,
  #board-wrapper .board-hands-cell ul li.bt-at-least-10,
  #board-wrapper .board-hands-cell ul li.bt-at-least-11,
  #board-wrapper .board-hands-cell ul li.bt-at-least-12
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { word-spacing: 0px; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-7  { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.025rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-8  { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.07rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-9  { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.025rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-10 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.05rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-11 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.075rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-12 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.03rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.05rem; }
}

@media only screen and (min-width: 24.5rem) and (max-width: 25.4375rem)
{
  /* Longueurs supérieures ou égales à 7 cartes */
  #board-wrapper .board-hands-cell ul li.bt-at-least-7,
  #board-wrapper .board-hands-cell ul li.bt-at-least-8,
  #board-wrapper .board-hands-cell ul li.bt-at-least-9,
  #board-wrapper .board-hands-cell ul li.bt-at-least-10,
  #board-wrapper .board-hands-cell ul li.bt-at-least-11,
  #board-wrapper .board-hands-cell ul li.bt-at-least-12
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { word-spacing: 0px; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-7  { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.05rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-8  { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.01rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-9  { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.04rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-10 { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.07rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-11 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.025rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-12 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.045rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-family: 'Sofia Sans Extra Condensed', sans-serif; font-weight: 400; letter-spacing: -.055rem; }
}

@media only screen and (min-width: 23.5rem) and (max-width: 24.4375rem)
{
  /* Longueurs supérieures ou égales à 6 cartes */
  #board-wrapper .board-hands-cell ul li.bt-at-least-6,
  #board-wrapper .board-hands-cell ul li.bt-at-least-7,
  #board-wrapper .board-hands-cell ul li.bt-at-least-8,
  #board-wrapper .board-hands-cell ul li.bt-at-least-9,
  #board-wrapper .board-hands-cell ul li.bt-at-least-10,
  #board-wrapper .board-hands-cell ul li.bt-at-least-11,
  #board-wrapper .board-hands-cell ul li.bt-at-least-12
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { word-spacing: 0px; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-6  { letter-spacing: -.035rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-7  { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.07rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-8  { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.025rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-9  { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.06rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-10 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.02rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-11 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.04rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-12 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.055rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-family: 'Sofia Sans Extra Condensed', sans-serif; font-weight: 400; letter-spacing: -.065rem; }
}

@media only screen and (max-width: 23.4375rem)
{
  /* Longueurs supérieures ou égales à 6 cartes */
  #board-wrapper .board-hands-cell ul li.bt-at-least-6,
  #board-wrapper .board-hands-cell ul li.bt-at-least-7,
  #board-wrapper .board-hands-cell ul li.bt-at-least-8,
  #board-wrapper .board-hands-cell ul li.bt-at-least-9,
  #board-wrapper .board-hands-cell ul li.bt-at-least-10,
  #board-wrapper .board-hands-cell ul li.bt-at-least-11,
  #board-wrapper .board-hands-cell ul li.bt-at-least-12
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { word-spacing: 0px; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-10,
  #board-wrapper .board-hands-cell ul li.bt-at-least-11,
  #board-wrapper .board-hands-cell ul li.bt-at-least-12
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-weight: 400; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-6  { font-family: 'Sofia Sans Semi Condensed', sans-serif; letter-spacing: -.04rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-7  { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.01rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-8  { font-family: 'Sofia Sans Condensed', sans-serif; letter-spacing: -.045rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-9  { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.01rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-10 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.025rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-11 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.06rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-12 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.0625rem; }
  #board-wrapper .board-hands-cell ul li.bt-at-least-13 { font-family: 'Sofia Sans Extra Condensed', sans-serif; letter-spacing: -.075rem; }
}

@media only screen and (max-width: 372px)
{
  .long {
    font-size: 0;
  }
}

@media only screen and (orientation: portrait)
{
  /* Sections & conteneurs prinicpaux */
  section, article {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  /* Colonnes responsives */
  #picker > div:first-child,
  #picker > div:last-child,
  #board-wrapper,
  #bidding-wrapper {
    float: initial;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    border: 0px none;
  }
  #picker > div:last-child {
    margin-top: 1rem;
  }
  #bidding-wrapper {
    margin-top: 2rem;
  }

  /* Enchères */
  #bidding {
    margin: 0px calc((100% - 18rem) / 2);
    text-align: center;
  }
  #box {
    position: relative;
    left: initial;
    top: initial;
    margin: -21.125rem calc((100% - 15.125rem) / 2) 0px;
  }
  body.box-opened #btn-open-box {
    margin-top: 20.125rem;
  }

  /* Pédagogie */
  #teacher-tab ul {
    width: 20.5rem;
    margin: 0px calc((100% - 20.5rem) / 2);
  }
}

.ql-picker.ql-rank .ql-picker-label:before {
  font-size: medium;
  content: "♛";
}

.ql-picker.ql-rank .ql-picker-label {
  padding-right: 18px;
}

.ql-picker.ql-rank svg {
  margin-top: -8px !important;
}

.ql-picker.ql-rank .ql-picker-options {
  width: 152px;
}

.ql-picker.ql-rank .ql-picker-item {
  float: left;
  width: 16px;
  height: 16px;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
  text-align: center;
  line-height: 16px;
  vertical-align: middle;
}

.ql-picker.ql-rank .ql-picker-item[data-value="2"]:before {
  content: "2";
}
.ql-picker.ql-rank .ql-picker-item[data-value="3"]:before {
  content: "3";
}
.ql-picker.ql-rank .ql-picker-item[data-value="4"]:before {
  content: "4";
}
.ql-picker.ql-rank .ql-picker-item[data-value="5"]:before {
  content: "5";
}
.ql-picker.ql-rank .ql-picker-item[data-value="6"]:before {
  content: "6";
}
.ql-picker.ql-rank .ql-picker-item[data-value="7"]:before {
  content: "7";
}
.ql-picker.ql-rank .ql-picker-item[data-value="8"]:before {
  content: "8";
}
.ql-picker.ql-rank .ql-picker-item[data-value="9"]:before {
  content: "9";
}
.ql-picker.ql-rank .ql-picker-item[data-value="10"]:before {
  font-size: 10pt;
  content: "10";
}
.ql-picker.ql-rank .ql-picker-item[data-value="11"]:before {
  font-size: 10pt;
  content: "V";
}
.ql-picker.ql-rank .ql-picker-item[data-value="12"]:before {
  font-size: 10pt;
  content: "D";
}
.ql-picker.ql-rank .ql-picker-item[data-value="13"]:before {
  font-size: 10pt;
  content: "R";
}
.ql-picker.ql-rank .ql-picker-item[data-value="14"]:before {
  font-size: 10pt;
  content: "A";
}

@media (width <= 430px) {
  .bt-tooltip {
    font-size: small !important;
  }
}

@media (width < 400px) {
  .bt-tooltip {
    font-size: x-small !important;
  }
}