@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/******************
    INCIDENCE COLORS
******************/

.tip-was-hidden{display:none;}

/* ================= NAVBAR ================= */

.navbar-static-top, .navbar-fixed-top{
  border-top: 1rem solid #0A8666;      /* vert */
  border-bottom: 0.5rem solid #EFA936; /* jaune */
}

.navbar-inverse {
  background-color: #093144; /* bleu foncé */
  border-color: #FFF;
}

/* ================= TEXTES ================= */

.text-primary { color: #093144; }
.text-info { color: #0A8666; }
.label-info { background-color: #0A8666; }

/* ================= BOUTONS ================= */

.btn-primary {
  color: #fff;
  background-color: #093144;
  border-color: #093144;
}

.btn-primary:hover,
.btn-primary:active, .btn-primary.active,
.btn-primary:focus, .btn-primary.focus,
.open > .dropdown-toggle.btn-primary {
  background-color: #0A8666;
  border-color: #0A8666;
  color:#fff;
}
.btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, 
.btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, 
.btn-primary.disabled.focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary.focus {
  background:#0A8666;
  border-color: #0A8666;
  color:#fff;
}
.btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus{
  background:#0A8666;
  border-color: #0A8666;
  color:#fff;
}

/* ================= PROGRESS BAR ================= */

.progress-bar{background-color: #EFA936;}

/* ================= REPONSES SELECTIONNEES ================= */

#limesurvey table.ls-answers tbody tr.selected td,
#limesurvey table.ls-answers tbody tr.checked td,
#limesurvey table.ls-answers tbody tr.answer-checked td,
#limesurvey table.ls-answers tbody tr td.answer-item.answer-checked,
#limesurvey table.ls-answers tbody tr td.radio-item.answer-checked,
#limesurvey table.ls-answers tbody tr td.checkbox-item.answer-checked {
  background: #0A8666 !important;
  border-color: #0A8666 !important;
  color: #fff !important;
}

/* label radios / checkbox */
#limesurvey input[type="checkbox"]:checked + label,
#limesurvey input[type="radio"]:checked + label {
  background: #0A8666 !important;
  border-color: #0A8666 !important;
  color: #fff !important;
}

/* icône radio interne */
#limesurvey .skelvanilla-awesome .checkbox-item label::after,
#limesurvey .skelvanilla-awesome .radio-item label::after,
#limesurvey .skelvanilla-awesome .checkbox-item input[type="checkbox"]:checked + label::before,
#limesurvey .skelvanilla-awesome .radio-item input[type="radio"]:checked + label::before {
  background-color: #093144 !important;
  border-color: #093144 !important;
}

/* ranking */
.sortable-rank .ls-choice {
  background: #0A8666;
  color: #fff;
}

/* ================= QUESTIONS ================= */

#limesurvey .question-title,
#limesurvey .question-text,
#limesurvey .ls-question-title,
#limesurvey .ls-question-text,
#limesurvey .ls-label-question {
  color: #093144 !important;
}

/* texte aide */
#limesurvey .ls-questionhelp{
  color: #093144 !important;
}

/* ================= BOUTONS NAVIGATION ================= */

#limesurvey .ls-button-submit,
#limesurvey .ls-move-next,
#limesurvey .ls-move-previous,
#limesurvey .navigation-buttons .btn-primary {
  background-color: #093144 !important;
  border-color: #093144 !important;
  color:#fff !important;
}

#limesurvey .ls-button-submit:hover,
#limesurvey .ls-move-next:hover,
#limesurvey .ls-move-previous:hover{
  background-color:#06212e !important;
  border-color:#06212e !important;
}

/* ================= LIENS ================= */

#limesurvey a{ color:#0A8666 !important; }
#limesurvey a:hover{ color:#06212e !important; }

/* ================= FOCUS INPUT ================= */

#limesurvey input:focus,
#limesurvey textarea:focus,
#limesurvey select:focus{
  border-color:#0A8666 !important;
  box-shadow:0 0 0 .2rem rgba(10,134,102,.25) !important;
}

/* ================= LOGO ================= */

#limesurvey .navbar-header .logo-container img{
  height:50px !important;
  width:auto !important;
  max-height:none !important;
}
/* ======================================================
   INCIDENCE FINAL FIX
   ====================================================== */


/* ============ 1) BARRE DU HAUT : SUPPRIME ORANGE + GARDE VERT ============ */

/* LimeSurvey met l’orange ici */
.navbar,
.navbar-default,
.navbar-inverse,
.navbar-static-top,
.navbar-fixed-top{
    border-top:none !important;
    box-shadow:none !important;
}

/* notre vraie barre */
body::before{
    content:"";
    display:block;
    height:8px;
    background:#0A8666;
}


/* ============ 2) TITRE QUESTIONNAIRE EN MONTSERRAT ============ */

.navbar-brand,
.navbar-brand span,
.navbar-brand h1,
.navbar-header h1{
    font-family:"Montserrat", Arial, sans-serif !important;
    font-weight:600 !important;
    letter-spacing:0.2px;
}


/* ============ 3) AIDES : vert -> ROUGE SI ERREUR ============ */

/* aide normale */
#limesurvey .ls-questionhelp,
#limesurvey .help-block,
#limesurvey .text-info{
    color:#00A866 !important;   /* vert incidence */
}

/* aide quand invalide */
#limesurvey .has-error .help-block,
#limesurvey .text-danger,
#limesurvey .alert-danger,
#limesurvey .em-error{
    color:#EA5252 !important;   /* rouge incidence */
    font-weight:500;
}


/* ============ POLICE GLOBALE PARTOUT ============ */

body,
#limesurvey
{
    font-family:"Montserrat", Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family:"Montserrat", Arial, sans-serif;
}
/* ======================================================
   HEADER COMPACT + LIGNE JAUNE
   ====================================================== */


/* réduit la hauteur globale du header */
.navbar{
    min-height:58px !important;
    padding-top:6px !important;
    padding-bottom:6px !important;
}

/* aligne logo + titre verticalement */
.navbar-header{
    display:flex;
    align-items:center;
}

/* taille logo légèrement réduite */
.navbar-header .logo-container img{
    height:42px !important;
    width:auto !important;
}

/* réduit espace autour du titre */
.navbar-brand{
    margin-left:10px !important;
}


/* ================= LIGNE SOUS LE TITRE ================= */

/* LimeSurvey dessine la ligne via hr + border */
#limesurvey .group-container hr,
#limesurvey .question-container hr,
#limesurvey hr{
    border:0 !important;
    height:2px;
    background:#EFA936 !important; /* jaune incidence */
    opacity:1 !important;
}
/* ======================================================
   TITRES EN BLEU INCIDENCE
   ====================================================== */

/* titres des questions */
#limesurvey .question-title,
#limesurvey .ls-question-title,
#limesurvey .question-text,
#limesurvey .ls-question-text,
#limesurvey .ls-label-question{
  color:#093144 !important;
}

/* titre du groupe / page */
#limesurvey h1,
#limesurvey h2,
#limesurvey h3{
  color:#093144 !important;
}

/* uniquement le titre du header */
.navbar-header .navbar-brand,
.navbar-header .navbar-brand span,
.navbar-header .navbar-brand h1{
  color:#093144 !important;
}


.radio-list .radio-item label,.checkbox-list .checkbox-item label,.answers-list .radio-item label {
    padding-top: 0.3rem;padding-bottom: 0.3rem;   font-size:0.9rem;
}