:root {

  --prim-color: #000; /*noir*/
  --sec-color: #000E9C;
  --ter-color: #F4F4F4; /*light grey*/
  --quat-color: #000C50; /*prim dark*/
  --sev-color: rgba(0,14,156,0.24); /* light*/
  --heigth-color: rgba(0,14,156,0.19); /* xtra light*/
  --ninth-color:rgb(131, 251, 104, 0.6);
}
:root {
    --warning: rgba(140,50,40,1.00);
    --msg-color :#b8beb3;
    --simul-prim-color:#F2F2F2;
    --simul-second-color:rgb(148, 249, 253);/* turquoise std*/
    --simul-third-color:rgb(103, 173, 176);/* turquoise dark */  
    
/* remplavcer par audessus !!! */
    --bkg-box-infos:#E5F0DF;
    --tab-color-third:#E2E2E2;
    --tab-bk-color-third:rgb(103, 173, 176);/* turquoise dark */
  }
.prim-color {
  color: var(--sec-color)
}
.second-color {
  color: #808080
}
.fc_1 {
  color: #001B5D
}
.tab-color-second{color: var(--simul-third-color)}
.col-bkg-second{
    background-color: var(--simul-second-color);
}
.col-bkg-third{
    background-color: var(--simul-third-color);
}
#simulateur {
    position: relative;
    margin-bottom: 35px;
    line-height: normal

}
#simulateur button{
  margin-bottom: 5px
}
#simulateur h4{
    font-size: 1rem;
    font-weight: 700;
    margin: 0
}
#simulform {
  text-align: center;
  position: relative;
  height: auto
}
#simulform fieldset {
  background: white;
  border: 0 none;
  border-radius: 0px;
  padding: 20px 0px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;

}
/*Hide all except first fieldset*/
#simulform fieldset:not(:first-of-type) {
  display: none;
}
#simulform h2 {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
}

/*headings*/
#simulform h4 {
  text-transform: uppercase
}
h2.stepTitle {
  margin: 1rem 0 2rem !important;
}
/*.text-HL {
  color: #0F338A;
  font-weight: 600
}*/
.text-bkg-HL, h4#msg_total_investissement {
  background-color: var(--sev-color);
  color: #000;
  padding: 2px 9px;
  margin-top: 15px
}
h4#msg_total_investissement {
  font-size: 1.3rem;
  padding: 12px 8px;
  line-height: 1.8rem;
}

.note-bas-de-page{
    margin: 10px 0;
    font-style: italic;
    font-size: 80%;
}

/**slider**/
.range-slider {
  margin: 30px 0 0 0%;
}
.range-slider {
  width: 100%;
}
.range-slider__range {
  -webkit-appearance: none;
  width: calc(100% - (30px));
  height: 8px;
  border-radius: 5px;
  background: #d7dcdf;
  outline: none;
  padding: 0;
  margin: 0;
}
.range-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sec-color);
  cursor: pointer;
  transition: background .15s ease-in-out;
}
.range-slider__range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--sec-color);
  cursor: pointer;
  transition: background .15s ease-in-out;
}
.range-slider__range::-webkit-slider-thumb:hover {
  background: #000;
}
.range-slider__range:active::-webkit-slider-thumb {
  background: var(--sec-color);
}
.range-slider__range::-moz-range-thumb:hover {
  background: #000;
}
.range-slider__range:active::-moz-range-thumb {
  background: #000;
}
.range-slider__range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sec-color);
}
.range-slider__value {
  font-size: 1.2rem;
  display: inline-block;
  position: relative;
  width: Auto;
  margin-top: 1.5rem;
  color: #fff;
  line-height: 20px;
  text-align: center;
  background: var(--sec-color);
  padding: 8px 16px;

}
::-moz-range-track {
  background: #d7dcdf;
  border: 0;
}

input::-moz-focus-inner, input::-moz-focus-outer {
  border: 0;
}

/*row imposition */
#tab_pan1_row_2 .bkg-light{
    background-color:var( --heigth-color)

}
#tab_pan1_row_2 .bkg-grey{
    background-color:var(--sev-color)

}
/**/



input[type="number"].input-actions-achetees {
    font-weight: 600;
    font-size: 28px !important;
    white-space: nowrap;
   line-height: 25px; 
    max-width: 180px
}
select#actions_achetees{
    padding: 15px;
    font-size: 22px;
    border-radius: 6px
}
option:focus {
  background-color: orange !important;
}
.alert {
  background-color: #DBF2BB;
  color: #00185E;
  padding: 8px 12px
}
#simulform .col-header{
  font-size: 1rem;
  line-height: 1.1rem;
}
.devise {
  margin-left: 3px;
}
.devise.big {
  font-size: 26px;
  margin-left: 2px;
}
.number_med {
  white-space:nowrap;
  line-height: 25px;
  font-size: 100%
}
.number_xl {
  line-height: 28px;
  font-size: 126%
}

.annotation {
  font-size: 0.9rem;
  color: #808080;
  font-style: italic
}

.info{
    font-style: italic;
    font-size: 80%;
    margin-top: 15px;
    color:var(--warning)
}

.picto-attention{display: inline-block; width: 21px; height: auto;fill:var(--warning)}
.picto-attention svg{margin-bottom: 4px;}

.btn.btn-radio{
    line-height: normal !important
}

.totalcell{
   /* background-color:  var(--simul-prim-color );*/
}
.bkg-grey {
  background-color:  var(--simul-prim-color );
}

.bkg_secondary{
  background-color:  var(--tab-color-third ); 
}
.bkg_tertiary{
  background-color:  var(--bkg-box-infos); 
}

.boxed {
  background-color:  var(--ninth-color);
  padding: 15px 10px
}
.boxed p {
  margin: 0 !important;
}

.boxed.tot_apport_personnel{
    font-size: 28px;
}
.range-slider__value.number_med{
    font-size: 26px;
}
.range-slider__value.number_big{
    font-size: 28px;
}
.text-lg-nowrap{
    font-size: 20px
}
.text-sm{
    font-size: 80%;
}
.tableau  {
 line-height: 20px
}
.tableau .header {
  padding: 0.2rem 15px;
  font-weight: 600;
  height: 50px
}
.tableau .header.exemples {
  background-color: #9B9B9B;
  color: #FFF;
}
.tableau .header.monhypothese {
  background-color: var(--sec-color);
  color: #FFF;
}
.tableau .minheight {
  min-height: 66px;
  padding: 10px 15px;
  text-align: right;
  border-bottom: 2px solid rgba(255, 255, 255, 1.00);
}

.infos-investissement{
    
}
@media (min-width: 767px) {
    .tableau .minheight {
      min-height: 50px;
    }
}
.hypotheses .number_med, .mon_investissement .number_med {
}

.minheight.bottom-dark, .bottom-dark {
  border-bottom: 2px solid rgba(120, 120, 120, 0.05);
}
.top-dark{
  border-top: 2px solid rgba(120, 120, 120, 0.2);
}
.monhypothese{line-height: 1rem;font-size: 1.1rem;
}
input#input_mon_hypothese {
  width: 80px;
  height: 34px;
  margin-top: 0px;
  float: right;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
}
#calcul-resume p {
  line-height: 1.2rem
}
/*radio btn*/
.btn-check {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}
.btn{
  background-color:var(--prim-color) !important; 
  font-size: 1.3rem !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 15px inherit !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 5px 15px !important
}
.fcpe .btn{
  background-color:#FFF !important; 
  font-size: 1.1rem !important;
  color: #000 !important;
  font-weight: 400 !important;
  text-decoration: underline
}
.btn:active + .btn-radio, .btn:checked + .btn-radio, .btn.active, .btn:active, .btn:hover, .btn:focus {
  background-color: var(--sec-color) !important; 
}

input#mon_hypothese, input#mon_hypothese {
  text-align: right;
  font-weight: 700;
  font-size: 22px !important;
  height: 40px !important;
}
.btn-check:active + .btn-radio, .btn-check:checked + .btn-radio, .btn-radio.active, .btn-radio:active, .btn-radio:hover, .btn-radio:focus {
    background-color: var(--sec-color) !important;
    color:#fff !important;
    outline: none; 
    text-decoration: none !important
}
/* FR */
.fcpe .btn-check:active + .btn-radio, .fcpe .btn-check:checked + .btn-radio, .fcpe .btn-radio.active, .fcpe .btn-radio:active, .fcpe .btn-radio:hover, .fcpe .btn-radio:focus {
    background-color: none !important;
}

@media (max-width:800px) {
/**forcer largeur tableaux scrollable horizontalement*/
.mobile-width {
  min-width: 660px;
}
#simulateur.ro .mobile-width, #simulateur.ma .mobile-width{
    min-width: 700px;     
    }
.range-slider__value {
  margin-top: 2.5rem;
}
.number_med {
  font-size: 120%
}
}

@media (max-width: 941px) {

#tableau-hypotheses, .tableau .hypotheses{
 font-size: 16px
    }

#simulateur.ma #tableau-hypotheses .hypotheses,#simulateur.ro #tableau-hypotheses .hypotheses{
 font-size: 14px
    }
#tableau-hypotheses, .tableau .hypotheses .colTitre {
    font-size: 15px    
    }

}
@media (min-width:1200px) {
#simulform .col-header{
  font-size: 1.1rem;
}
}

