@charset "UTF-8";

/****** class to avoid selection of the text on a button *******/
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  not supported by any browser */
}

/****** Gutter of 10px width for bootstrap grid ***********/
.gutter-10.row {
  margin-right: -5px;
  margin-left: -5px;
}
.gutter-10 > [class^="col-"], .gutter-10 > [class^=" col-"]{
  padding-right: 5px;
  padding-left: 5px;
}

/******* Global *******/

body, input, button, select, textarea {
  font-family: "garamond-premier-pro-display",sans-serif;
}

/******* Menu *******/

#ulMenu {
  height: 36px;
}

#ulMenu li a {
  height: 36px;
}

#liLogo {
  margin-top: -5px;
}

#divLogo {
  font-family: "adobe-kaiti-std",sans-serif;
  font-size: 18px;
  color: #333;
  width: 40px;
}

#liBarbery {

}

#divBarbery {
  line-height: 14px;
}


#liAide {

}

#divAide {
  line-height: 14px;
}

#liLogo:hover a {
  background-color: #ffffff;
  border-color: #ffffff;
  height: 40px;
}

#liBarbery:hover a {
  /*background-color: #ff0000;
  border-color: #ff0000;*/
}

#liAide:hover a {
  /*background-color: #ff0000;
  border-color: #ff0000;*/
}


/******** Rymes ***********/

#options  {
}

#divWellRymes {
  background-color: rgba(228, 208, 167, 0.26);
  border: 0px;
  border-radius: 0px;
  padding-bottom: 11px;
}

#divRowFilterRymes {
  max-width: 600px;
  margin-top: -6px;
  margin-bottom: -11px;

}

.dropDownFilterFont span {
	font-size: 14px;
}

#selectFilterMode {

}

#filterRymesKeyOrtho {
	font-size: 16px;
}

#filterRymesKeyPhon {
	font-size: 16px;
}

#buttonOptionsRymes {
  margin-right: 5px;
  height: 34px;
  width: 34px;
  outline: 0px;
}

#buttonAfficherRymes {
  font-family: "adobe-kaiti-std",sans-serif;
  font-size: 16px;
  margin-left: 3px;
  height: 34px;
  width: 34px;
  outline: 0px;
}

#divAfficherRymes {
	margin-top: -1px;
	margin-left: -1px;
}

#divTitreRecherche	{
  font-family: "priori-acute-serif",sans-serif;
}

#divRowRecherche {
  max-width: 600px;
  line-height: 33px;
}

.dropDownMenuFont {
  font-size: 12px;
}

.selectSmallButton button {
  height: 30px;
}

#selectNbPhoMin {

}

#selectNbPhoMax {

}

#avoidOrth {

}

#avoidPhon {

}

#buttonReset {
  outline: 0px;
}

#divTitreAffichage	{
  font-family: "priori-acute-serif",sans-serif;
}

#divRowAffichage {
  max-width: 600px;
  line-height: 33px;
  margin-top: -11px;
}

#radioSubFilterSans + label {
  background-color: #85a38a;
  border-color: #d43f3a;
  border-radius: 3px 0px 0px 3px;
  font-size: 14px;
  font-weight: normal;
  padding: 6px 12px;
}

#radioSubFilterSans:checked + label {
  background-color: #3c6754;
}

#labelSubFilterSans {

}

#radioSubFilterAvec + label {
  background-color: #85a38a;
  border-color: #d43f3a;
  border-radius: 0px 3px 3px 0px;
  font-size: 14px;
  font-weight: normal;
  padding: 6px 12px;
}

#radioSubFilterAvec:checked + label {
  background-color: #3c6754;
}

#labelSubFilterAvec {

}

#radioDisplayModeDharma + label {
  background-color: #85a38a;
  border-color: #d43f3a;
  border-radius: 0px 3px 3px 0px;
  font-size: 14px;
  font-weight: normal;
  padding: 6px 12px;
}

#radioDisplayModeDharma:checked + label {
  background-color: #3c6754;
}

#labelDisplayModeDharma {

}

#radioDisplayModeZen + label {
  background-color: #85a38a;
  border-color: #d43f3a;
  border-radius: 3px 0px 0px 3px;
  font-size: 14px;
  font-weight: normal;
  padding: 6px 12px;
}

#radioDisplayModeZen:checked + label {
  background-color: #3c6754;
}

#labelDisplayModeZen {

}

#radioDisplayModePaon + label {
  background-color: #d9534f;
  border-color: #d43f3a;
  border-radius: 0px 3px 3px 0px;
  font-size: 14px;
  font-weight: normal;
  padding: 6px 12px;
}

#radioDisplayModePaon:checked + label {
  background-color: #c9302c;
  border-color: #ac2925;
}

#labelDisplayModePaon {

}

#checkDisplayOrth + label {
  background-color: #f0ad4e;
  border-color: #eea236;
  border-radius: 3px 3px 3px 3px;
  font-size: 12px;
  font-weight: normal;
  padding: 6px 12px;
}

#checkDisplayOrth:checked + label {
  background-color: #ec971f;
  border-color: #d58512;
}

#labelDisplayOrth {

}

#checkDisplayPhon + label {
  background-color: #f0ad4e;
  border-color: #eea236;
  border-radius: 3px 3px 3px 3px;
  font-size: 12px;
  font-weight: normal;
  padding: 6px 12px;
}

#checkDisplayPhon:checked + label {
  background-color: #ec971f;
  border-color: #d58512;
}

#labelDisplayPhon {

}

#checkDisplaySyll + label {
  background-color: #f0ad4e;
  border-color: #eea236;
  border-radius: 3px 3px 3px 3px;
  font-size: 12px;
  font-weight: normal;
  padding: 6px 12px;
}

#checkDisplaySyll:checked + label {
  background-color: #ec971f;
  border-color: #d58512;
}

#labelDisplaySyll {

}

#divRowBarberysation {
  max-width: 597px;
  line-height: 33px;
}

#checkBarberysation + label {
  background-color: #469f46;
  border-color: #3b863b;
  border-radius: 3px 3px 3px 3px;
  font-size: 12px;
  font-weight: normal;
  padding: 6px 12px;
}

#checkBarberysation:checked + label {
  background-color: #429b42;
  border-color: #378237;
}

#labelBarberysation {

}

#checkTamise + label {
  background-color: #83a0bb;
  border-color: #2b4f76;
  border-radius: 3px 3px 3px 3px;
  font-size: 12px;
  font-weight: normal;
  padding: 6px 12px;
}

#checkTamise:checked + label {
  background-color: #3e607a;
  border-color: #1e4b72;
}

#labelTamise {

}

#selectMinWord {

}

#neededWord {

}

#divContainerResultRymes {
  width: 100%;
}

#divRowResult {
  max-width: 700px;
  margin-bottom: 20px;
}

#divResultRymes {
  width: fit-content;
  height: 200px;
  overflow: auto;
  padding: 10px;
  outline: 0px solid tranparent;
  background-color: rgba(51, 122, 183, 0.09);
  border-radius: 5px;
  outline: 0px;
}

/* chaque ligne dans la liste de rymes */
.divOneRyme {
  display: inline-block;
  margin: 0px;
  padding: 0px;
  padding-left: 6px;
  padding-right: 6px;
  width: 100%;
}

/* pour controler la couleur de surlignage de la ryme selectionnee */
.divSelectedRyme {
  background-color: #ffffff;
  border-radius: 3px;
  display: none;
}

/* l'orthographe des mots dans la liste de rymes */
.spanRymeOrtho {
	font-family: "garamond-premier-pro-display", sans-serif;
	font-size: 16px;
}

/* la phonetique des mots dans la liste de rymes */
.spanRymePhon {
  color: #83a0bb;
  font-size: 12px;
}

/* le nombre de syllabes d'un mot dans la liste de rymes */
.spanRymeSyll {
  color: #88af3c;
  font-size: 10px;
}

#divContainerResultBarberysation {
  width: 100%;

}

#divResultBarberysation {
  padding: 0px 15px;
	font-family: "garamond-premier-pro-display", sans-serif;
	font-size: 18px;

  
}

/* la ligne de separation dans la liste texte des barberysation */
.tdSepLine {
  border-style: solid none none none;
  border-width: 1px;
  border-color: black;
}

#divNoResult {
  padding: 0px 15px;
  width: 250px;

}

.tableResultBarberysation {

}

.tableResultBarberysation td {
  padding: 0px 3px;
}


/****************** Div pour les messages d'erreur ****************/

#error {

}


/*************** roulette *********************/
.roulette {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  float: left;
  text-align: center; 
  height: 250px;
  width: 100px;
  overflow: hidden;
}

.rouletteViseur {
  position: relative;
  left: 0;
  height: 50px;
  width: 90px;
  margin-left: 5px;
  border-top: 1px solid #e2a830;
  border-bottom: 1px solid #e2a830;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.rouletteList {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*************** aide *********************/
#aide   {
  margin-left: 15px;
}

.tableAide  {

}

.tableAide p {
  line-height: 10px;
  margin: 0px;
}


.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
   border: 0.5px solid rgba(228, 208, 167, 0.26);
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  background-color: rgba(228, 208, 167, 0.26);
}

/*************** roulette en tambour (bandit manchot) — claude, 2026-10-20, demande de kuma ***************/
.roulette {
  background: linear-gradient(#cfc6b4 0%, #f3eee4 22%, #fffdf8 45%, #fffdf8 55%, #f3eee4 78%, #cfc6b4 100%);
  border-left: 1px solid #d8cfbd; border-right: 1px solid #d8cfbd;
  box-shadow: inset 0 14px 18px -10px rgba(0,0,0,.35), inset 0 -14px 18px -10px rgba(0,0,0,.35);
  -webkit-mask-image: linear-gradient(transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(transparent 0%, #000 18%, #000 82%, transparent 100%);
  perspective: 260px;
}
.rouletteList { transform-style: preserve-3d; }
.lbInvite { margin-top: 1em; color: #7a7166; font-size: .95em; }
.lbInvite a { color: #b8391f; }

/*************** refonte de la mise en page — claude, 2026-10-23, demande de kuma ***************
   page centrée, largeur raisonnable, typographie garamond, palette de kumado (ivoire, encre, bleu, vermillon).
   l'identité de la v2 reste : le logo 杲, le bandeau beige, les tambours aux filets or #e2a830. */
:root {
  --lb-ivoire: #faf7f2; --lb-encre: #1c1c1c; --lb-gris: #6f675c; --lb-lien: #3b5873;
  --lb-vermillon: #b8391f; --lb-or: #e2a830; --lb-beige: #f1e9da; --lb-filet: #e3d9c6;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--lb-ivoire); color: var(--lb-encre);
  font-size: 17px; line-height: 1.5; overflow-x: hidden;
}
body, input, button, select, textarea, .btn, .form-control, .dropdown-menu {
  font-family: "EB Garamond", "garamond-premier-pro-display", Garamond, serif;
}
a, a:hover, a:focus { color: var(--lb-lien); text-decoration: none; }
a:hover { color: var(--lb-vermillon); }

#divMain {
  max-width: 1080px; margin: 0 auto; padding: 28px 32px 48px;
}

/* onglets : un trait fin, pas de cases */
#ulMenu { height: auto; border-bottom: 1px solid var(--lb-filet); display: flex; align-items: flex-end; margin-bottom: 0; }
#ulMenu > li { float: none; margin-bottom: -1px; }
#ulMenu > li > a, #ulMenu li a {
  height: auto; border: 0; border-radius: 0; background: transparent; color: var(--lb-gris);
  padding: 10px 16px 9px; border-bottom: 2px solid transparent; margin: 0;
}
#ulMenu > li > a:hover, #ulMenu > li > a:focus { background: transparent; color: var(--lb-encre); }
#ulMenu > li.active > a, #ulMenu > li.active > a:hover, #ulMenu > li.active > a:focus {
  border: 0; border-bottom: 2px solid var(--lb-vermillon); background: transparent; color: var(--lb-encre);
}
#liLogo { margin-top: 0; margin-right: auto !important; }
#liLogo:hover a { background: transparent; height: auto; }
#liLogo > a { padding-left: 0; }
#divLogo { font-family: "adobe-kaiti-std", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 30px; line-height: 1; color: var(--lb-encre); width: auto; }
#divBarbery, #divAide { line-height: 1.2; font-family: "Old Standard TT", serif; font-size: 16px; letter-spacing: .04em; }
#divAide { font-size: 18px; padding: 0 2px; }

/* bandeau beige des commandes */
#divWellRymes {
  background: var(--lb-beige); border: 0; border-radius: 0; box-shadow: none;
  padding: 22px 24px; margin: 0 0 28px;
}
#divRowFilterRymes { max-width: none; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#divRowFilterRymes > [class^="col-"] { float: none; width: auto; padding: 0; }
#divRowFilterRymes > .col-sm-2:nth-child(2), #divRowFilterRymes > .col-sm-2:nth-child(3) { flex: 1 1 140px; max-width: 240px; }
#divRowFilterRymes > .col-sm-2:last-child { display: flex; gap: 8px; }
#divWellRymes > br { display: none; }

.form-control {
  height: 44px; border-radius: 0; border: 1px solid #d6cab3; box-shadow: none; background: #fffdf9;
  color: var(--lb-encre); font-size: 18px;
}
.form-control:focus { border-color: var(--lb-lien); box-shadow: none; }
#filterRymesKeyOrtho, #filterRymesKeyPhon { font-size: 19px; }
.form-control::placeholder { color: #a39a8c; font-style: italic; }

/* menus déroulants (bootstrap-select) : rectangles nets */
.bootstrap-select > .btn, .bootstrap-select > .dropdown-toggle {
  border-radius: 0; background: #fffdf9; border: 1px solid #d6cab3; color: var(--lb-encre);
  box-shadow: none !important; height: 44px; font-size: 18px; outline: 0 !important;
}
.dropDownFilterFont span { font-size: 18px; }
.bootstrap-select .dropdown-menu { border-radius: 0; border-color: #d6cab3; box-shadow: 0 6px 18px rgba(28,28,28,.08); }
.bootstrap-select .dropdown-menu li a { font-size: 17px; padding: 6px 16px; }
.bootstrap-select .dropdown-menu li.selected a, .bootstrap-select .dropdown-menu li a:hover { background: var(--lb-beige); color: var(--lb-encre); }

/* boutons carrés : options et 杲 */
#buttonOptionsRymes, #buttonAfficherRymes {
  height: 44px; width: 44px; margin: 0; border-radius: 0; box-shadow: none; outline: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
#buttonOptionsRymes { background: transparent; border: 1px solid #c9bb9f; color: var(--lb-gris); }
#buttonOptionsRymes:hover { color: var(--lb-encre); border-color: var(--lb-encre); }
#buttonAfficherRymes { background: var(--lb-encre); border: 1px solid var(--lb-encre); color: var(--lb-ivoire);
  font-family: "adobe-kaiti-std", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 22px; }
#buttonAfficherRymes:hover { background: var(--lb-vermillon); border-color: var(--lb-vermillon); }
#divAfficherRymes { margin: 0; line-height: 1; }

/* options repliées */
#options { padding-top: 18px; }
#options .row, #options [style*="max-width"] { max-width: none !important; }
#options .row { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; line-height: 1.4; }
#options .row > [class^="col-"] { float: none; width: auto; max-width: none !important; padding: 0; }
#divRowAffichage { margin-top: 10px; }
#divTitreRecherche, #divTitreAffichage {
  font-family: "Old Standard TT", serif; font-size: 13px; letter-spacing: .14em; text-transform: lowercase;
  color: var(--lb-gris); border-top: 1px solid #d9ccb2; padding-top: 12px; width: 100%;
}
#options .row:has(#divTitreRecherche), #options .row:has(#divTitreAffichage) { display: block; }
#options .form-control { height: 40px !important; margin-top: 0 !important; width: 96px !important; font-size: 17px; }
.selectSmallButton button, .selectSmallButton .bootstrap-select > .btn { height: 40px; font-size: 16px; }
.dropDownMenuFont { font-size: 16px; }
#buttonReset .btn { border-radius: 0; background: transparent; border: 1px solid #c9bb9f; color: var(--lb-gris);
  height: 40px; padding: 0 14px !important; font-size: 16px; }
#buttonReset .btn:hover { color: var(--lb-encre); border-color: var(--lb-encre); }

/* bascules (radios et cases) : segments rectangulaires, vert sombre de la v2 conservé en sourdine */
#options input[type=radio], #options input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
#options .btn-group { display: inline-flex; }
#options input + label {
  display: inline-block; margin: 0; cursor: pointer; border-radius: 0 !important;
  background: #fffdf9 !important; border: 1px solid #d6cab3 !important; color: var(--lb-gris) !important;
  font-size: 16px !important; font-weight: normal; padding: 8px 14px !important; min-height: 40px; line-height: 22px;
}
#options .btn-group input + label + input + label { margin-left: -1px; }
#options input:checked + label { background: var(--lb-encre) !important; border-color: var(--lb-encre) !important; color: var(--lb-ivoire) !important; }
#options input:focus-visible + label { outline: 2px solid var(--lb-lien); outline-offset: 2px; }

/* résultats : liste à gauche, barberysation à droite, alignées sur le bandeau */
#divZoneResult { width: 100%; }
#divRowResult { max-width: none; margin: 0 0 20px; display: flex; gap: 32px; align-items: flex-start; }
#divColRymes { flex: 0 0 auto; min-width: 200px; max-width: 300px; }
#divColBarb { flex: 1 1 auto; min-width: 0; }
#divResultRymes {
  width: auto; height: auto; max-height: 340px; overflow: auto; padding: 8px 0;
  background: transparent; border: 0; border-left: 1px solid var(--lb-filet); border-radius: 0;
}
.divOneRyme { padding: 3px 14px; cursor: pointer; line-height: 1.35; border-radius: 0 !important; }
.divOneRyme:hover { color: var(--lb-vermillon); }
.divSelectedRyme { background-color: #efe5d2; border-radius: 0; }
.spanRymeOrtho { font-family: "EB Garamond", serif; font-size: 19px; }
.spanRymePhon { color: var(--lb-lien); font-size: 14px; margin-left: 6px; font-family: "Old Standard TT", serif; }
.spanRymeSyll { color: #8a7a3c; font-size: 13px; margin-left: 4px; }
.lbInvite { margin: 12px 14px 0; color: var(--lb-gris); font-size: 16px; font-style: italic; line-height: 1.45; }
.lbInvite a { color: var(--lb-vermillon); font-style: normal; }
#divResultBarberysation { margin: 0; padding: 0; font-family: "EB Garamond", serif; font-size: 21px; }
#divNoResult { margin: 0; padding: 0; width: auto; color: var(--lb-gris); }
.tableResultBarberysation td { padding: 1px 8px; }
.tdSepLine { border-color: var(--lb-filet); }

/* tambours : filets or, ombre de cylindre plus douce */
#roulette { width: 100% !important; display: block !important; text-align: center; }
#roulette > div { display: inline-flex !important; max-width: 100%; }
.roulette {
  float: none; flex: 0 0 auto; cursor: grab; touch-action: none;
  background: linear-gradient(#e6decd 0%, #f6f1e7 20%, #fffdf8 42%, #fffdf8 58%, #f6f1e7 80%, #e6decd 100%);
  border: 0; border-left: 1px solid #eadfcb; border-right: 1px solid #eadfcb;
  box-shadow: inset 0 22px 22px -16px rgba(60,45,20,.22), inset 0 -22px 22px -16px rgba(60,45,20,.22);
  -webkit-mask-image: linear-gradient(transparent 0%, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(transparent 0%, #000 16%, #000 84%, transparent 100%);
  font-size: 21px; color: var(--lb-encre);
}
.roulette + .roulette { border-left: 0; }
.rouletteViseur { margin-left: 0; border-top: 1px solid var(--lb-or); border-bottom: 1px solid var(--lb-or);
  background: rgba(226,168,48,.06); }
#rouletteResult { margin: 18px 0 0 !important; font-size: 22px; font-style: italic; text-align: center; }

/* aide */
#aide { margin: 0; padding: 24px 0 0; max-width: 760px; font-size: 18px; }
#aide h3 { font-family: "Old Standard TT", serif; font-size: 15px; letter-spacing: .14em; text-transform: lowercase;
  color: var(--lb-gris); border-top: 1px solid var(--lb-filet); padding-top: 14px; margin: 32px 0 12px; }
#aide h4 { font-family: "EB Garamond", serif; font-style: italic; font-size: 18px; margin: 14px 0 8px; }
#aide > .row { display: flex; flex-wrap: wrap; gap: 32px; margin: 0; }
#aide > .row > [class^="col-"] { float: none; width: auto; min-width: 200px; padding: 0; }
#aide ul { padding-left: 1.1em; }
.tableAide { background: transparent; width: 100%; }
.tableAide p { line-height: 1.3; margin: 0; }
.tableAide td:first-child { font-family: "Old Standard TT", serif; color: var(--lb-lien); width: 2.6em; text-align: center; }
.table-striped > tbody > tr:nth-of-type(odd) { background: rgba(228,208,167,.18); }
.table-bordered { border: 0; }
.table-bordered > tbody > tr > td { border: 0; border-bottom: 1px solid #eee5d4; padding: 4px 8px; }

#divZoneError #error:empty { display: none; }

/* téléphones */
@media (max-width: 767px) {
  #divMain { padding: 12px 16px 36px; }
  #divWellRymes { padding: 16px; margin: 0 -16px 20px; }
  #divRowFilterRymes > .col-sm-3 { flex: 1 1 100%; }
  #divRowFilterRymes .bootstrap-select { width: 100% !important; }
  #divRowFilterRymes > .col-sm-2:nth-child(2), #divRowFilterRymes > .col-sm-2:nth-child(3) { flex: 1 1 0; max-width: none; min-width: 0; }
  #divRowResult { flex-direction: column; align-items: stretch; gap: 20px; }
  #divColBarb { width: 100%; }
  #divColRymes { max-width: none; width: 100%; }
  #divResultRymes { max-height: 220px; }
  .roulette { font-size: 18px; }
  #aide > .row { gap: 16px; }
}
