input[type="text"][min][max],
input[type="number"] {
  -webkit-appearance: none;
  -moz-appearance: textfield;
  text-align:center;
}
input[type="text"][min][max]::-webkit-outer-spin-button,
input[type="number"]::-webkit-outer-spin-button,
input[type="text"][min][max]::-webkit-inner-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* group questions */
.cnv100 table.canvas {
  width:100%;
}
div#wrapper td.qbody, div#wrapper div.qbody {
  padding-top:5px;
  padding-bottom:10px;
}
div#wrapper fieldset[data-display="date"] fieldset .qtext {
  padding-top:5px;
  padding-bottom:0px;
}
div#wrapper fieldset[data-display="date"] fieldset .qbody {
  padding-top:0px;
  padding-bottom:0px;
}
div#wrapper fieldset[data-display="time"] .qbody fieldset.ingrid {
  display:inline-block;
}
div#wrapper fieldset[data-display="time"] .qbody fieldset.ingrid[name$='.mn'] {
  margin-left:10px;
}
div#wrapper fieldset[data-display="time"] .qbody {
  display:flex;
  flex-direction: column;
  gap: 10px;
}
div#wrapper fieldset[data-display="time"] .qbody legend.grid-row-heading {
  color: #00a7df;
}

@media screen and (max-width: 480px){
  div#wrapper .qbody.qnatio table.canvas {
    width:100%;
  }
  div#wrapper .qbody.qnatio table.canvas td {
    display:inline-block;
    width:100%;
  }
  div#wrapper .qbody.qnatio table.canvas td.hv {
    padding-bottom:10px;
  }
  div#wrapper .qbody.qnatio table.canvas td span.select2-container {
    min-width:100%;
  }
}

.qbody.style_a17 .colheading {
  border-bottom:none;
}
.qbody.style_a17 .rowheading {
  padding-top:8px;
  padding-bottom:8px;
}
.qbody.style_a9 fieldset[name$='@OTH'] .qbody {
  padding-left:32px;
  padding-top:3px !important;
  padding-bottom:0px !important;
}
.qbody.style_a9 fieldset[name$='@OTH'] .qbody label span.select2-container {
  min-width:240px; 
}
.year_inscription {
  background-color:violet;
  color:#fff;
  padding-left:3px;
  padding-right:3px;
  border-radius:3px;
}
p.year_inscription {
  padding: 5px;
  margin-top: 15px;
  text-align: center;
}



.year_inscription_1 { background-color:#692eab; }
.year_inscription_2 { background-color:#701c7a; }
.year_inscription_3 { background-color:#bc3560; }
.year_inscription_4 { background-color:#e0654d; }
.year_inscription_5 { background-color:#d07526; }


.cnote-label-left, .cnote-label-right, .cnote-label-neutral, .cnote-dk { color:#00aeed; border:1px solid #00aeed; padding:3px 5px; text-align:center; }
.cnote td.hvg { min-width: 40px; width: 80px; max-width:80px; }
.cnote .rowheading { width: 480px; }
[class^='cnote-label-'].sign { font-weight:bold; font-size:120%; }
.cnote-label-left.sign { color:red; }
.cnote-label-neutral.sign { color:#00a7df; }
.cnote-label-right.sign { color:green; }

div#wrapper td.qbody.select2search,
div#wrapper div.qbody.select2search {
  padding-top:8px;
}

#qbody_disc_univ_oth span.container-border-bottom {
  width:100%;
}

.qbody.style_a34 .colheading,
.qbody.style_c8e .colheading,
.qbody.style_c8f .colheading,
.qbody.style_a34 table#canvas_c.slimmed .colheading,
.qbody.style_c8e table#canvas_c.slimmed .colheading,
.qbody.style_c8f table#canvas_c.slimmed .colheading {
  padding-top:3px !important;
  vertical-align:bottom;
  min-width:40px;
}
.qbody.style_c8e .colheading,
.qbody.style_c8e table#canvas_c.slimmed .colheading {
  max-width: 80px;
}
.qbody.style_c8e .large-colheading,
.qbody.style_c8e table#canvas_c.slimmed .large-colheading {
  min-width:80px;
}
.qbody.style_a34 .collabel,
.qbody.style_c8e .collabel,
.qbody.style_c8f .collabel {
  padding-bottom:5px;
}
.qbody.style_c8f td.hvg {
  height:30px;
}
.qbody.style_c8f table.canvas {
  max-width: 540px;
  margin: auto;
}
.qbody.style_c8e table#canvas_c.slimmed {
  margin-top:10px;
}
.qbody.style_c8e table#canvas_c.slimmed .rowspanheading[data-num="0"] {
  padding-top:15px;
}
@media screen and (max-width: 720px){
  .qbody.style_c8f .colheading {
    font-size:90%;
  }
}
@media screen and (max-width: 520px){
  .qbody.style_a34 .colheading,
  .qbody.style_c8e .colheading,
  .qbody.style_c8f .colheading {
    padding-left:1px !important;
    padding-right:1px !important;
    word-break: break-word;
   -webkit-hyphens: auto;
   -moz-hyphens: auto;
   -ms-hyphens: auto;
   -o-hyphens: auto;
    hyphens: auto;
  }
}

body.style_a11 div#wrapper fieldset[data-display="bdcom"] .qendnotes {
  margin-top:0px;
}
body.style_a11 div#wrapper .qbody {
  padding-bottom:3px;
  padding-top:3px;
}
body.style_a11 p:not(.message) {
  margin:0px;
}
body.style_a11 div#wrapper fieldset[name^='a11'][name$='.dep'] {
  margin-top:0px;
}
select.select2-hidden-accessible {
  position: absolute !important;
  left: -9999px !important;
}
body.style_a11 div#wrapper span.select2-container {
  max-width:720px;
}
body.style_b43 div#wrapper span.select2-container {
  min-width:220px;
}
body.style_a11 div#wrapper .qtext {
  color: #000;
  font-size: 1rem;
  font-weight: normal;
}
body.style_a11 li[aria-disabled="true"][id^="select2-a141"] {
  display:none;
}
@media screen and (max-width: 780px){
  body.style_a11 div#wrapper span.select2-container {
    max-width:580px;
  }
}

@media screen and (max-width: 560px){
  body.style_a11 div#wrapper span.select2-container {
    max-width:380px;
  }
}

@media screen and (max-width: 360px){
  body.style_a11 div#wrapper span.select2-container {
    max-width:295px;
  }
}
body.style_a11 div#wrapper fieldset[name^='a14_sq'] span.select2 {
  width:100% !important;
}

.qbody.style_b41 input {
  width:85px;
}
.qbody.style_b41 .price input {
  pointer-events: none;
  border:none;
  background-color:transparent;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  text-align:center;
  color:#fff;
  background-color:#e0654d;
  border-radius:5px;
  font-weight:bold;
  width:100%;
  min-width:110px;
}

@media screen and (max-width: 720px){
  div#wrapper .qbody.style_b41 td.hv {
    padding-top:5px;
    padding-bottom:5px;
    padding-right:2px;
    min-width:130px !important;
  }
}

body.style_b45 div#wrapper td.hv {
  padding:0px;
  color:#444;
}
body.style_b45 span.OR {
  color:#00a7df;
  font-style:italic;
  text-decoration:underline;
  padding-left:10px;
  padding-right:15px;
}

body.style_b45 div#wrapper td[id^='qtext_c'] {
  font-size:1.1rem;
}
body.style_b45 .qbody.b45err {
  background-color: #f5d9d9;
}
body.style_b45 .qbody.b45err td {
  border-color:transparent;
}
@media screen and (max-width: 780px){
  body.style_b45 div#wrapper td.hv {
    display:inline-block;
    width:100%;
  }
}

body.style_b82 td.hv > input:not([name*="@"]) {
  margin-left:0px !important;
}
body.style_b45 td.hv > input:not([name*="@"]) {
  margin-left:0px !important;
}

/* b82 styles */
body.style_b82 div#wrapper td.input_error,
body.style_b82 div#wrapper td.hv {
  min-width:68px;
  padding-right:2px;
  text-align:center;
  border:none;
}
body.style_b82 .colheading {
  padding-right:2px;
  font-size:0.9rem;
  width:auto;
  max-width:100px;
}
body.style_b82 input {
  width:55px;
  margin-top: 5px;
  margin-bottom: 3px;
}

/* b82b96TOT styles */
div#wrapper .qbody.style_b82b96TOT {
  padding-bottom:0px;
}
.qbody.style_b82b96TOT input {
  margin-top:2px;
  pointer-events: none;
  border:none;
  background-color:transparent;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  text-align:center;
  color:#fff;
  background-color:#e0654d;
  border-radius:5px;
  font-weight:bold;
  min-width:110px;
}

.qbody.style_b96_txt input[type="text"],
.qbody.style_b96_txt input[type="text"] {
  width:100%;
}

.smiley-label-left .signscale {
  padding-left: 5px;
  padding-bottom: 5px;
  font-size:1.2rem;
}
.smiley-label-right .signscale {
  padding-right: 5px;
  padding-bottom: 5px;
  font-size:1.2rem;
}

body.qe18 .smiley-label-neutral {
  text-align:center;
  vertical-align:bottom;
}
body.qe18 table.csmiley td.smiley-label-left {
  padding-right:20px;
}
body.qe18 table.csmiley td.smiley-label-right {
  padding-left:20px;
}

/*[data-display="slimgrid"][data-display-activate="true"] input[type='radio'],
[data-display="slimgrid"][data-display-activate="true"] input[type='checkbox'] {
  margin-top:-10px;
}*/

[data-display="slimgrid"][data-display-chiffre="yes"] div.grid-content.colheading {
  vertical-align:bottom;
}

[data-display="slimgrid"][data-display-chiffre="yes"] .chiffre {
  color:#fff;
  background-color:#00a7df;
  border-radius: 100%;
  width: 22px;
  height: 22px;
  line-height: 20px;
  margin: auto;
  text-align:center;
}

[data-display="slimgrid"][data-display-chiffre="yes"][data-display-activate="true"] .libelle,
[data-display="slimgrid"][data-display-chiffre="yes"][data-display-activate="true"] .chiffre {
  display:inline-block;
}
[data-display="slimgrid"][data-display-chiffre="yes"][data-display-activate="true"] .chiffre {
  margin-left:7px;
}
[data-display="slimgrid"][data-display-chiffre="yes"][data-display-activate="false"] .chiffre {
  margin-top: 7px;
}
[data-display="slimgrid"][data-display-chiffre="yes"][data-display-activate="false"] .qnotes .qtext {
  font-style:normal;
}

.tirage li {
  color: #00a7df;
  font-size: 120%;
  font-weight: bold;
}

fieldset[name='nais_pere@OTH'],
fieldset[name='nais_mere@OTH'] {
  margin-left: 25px;
}

fieldset[name='nais_pere@OTH'] legend,
fieldset[name='nais_mere@OTH'] legend {
  padding-top: 0px;
}

fieldset[name='nais_pere@OTH'] .select2-container--default,
fieldset[name='nais_mere@OTH'] .select2-container--default {
  min-width: 220px;
  width: 240px !important;
}

[data-display="slimgrid"][data-display-activate="true"] div.grid-content div.selectable {
  padding-top:0px;
  padding-bottom:0px;
}

.select2-results__option--highlighted {
  background-color: #00a7df !important;
  color: #fff;
}
